@adyen/bento-vue3 1.72.0 → 1.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +2 -10
- package/dist/@types/index.d.ts +1543 -1703
- package/dist/@types/use-form-v4.d.ts +1 -1
- 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/avatar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.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/country.css +1 -1
- package/dist/assets/currency.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/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown-tag.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/header-meta.css +1 -1
- package/dist/assets/header-with-views.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/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/popper-container.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/radio-input.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/step.css +1 -1
- package/dist/assets/tab.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.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/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.6etqAJV9.js → accordion-item.Bd3v6erb.js} +2 -2
- package/dist/chunks/{accordion-item.6etqAJV9.js.map → accordion-item.Bd3v6erb.js.map} +1 -1
- package/dist/chunks/{action-bar.DDLTN9TB.js → action-bar.BZ04Y7Yi.js} +5 -5
- package/dist/chunks/{action-bar.DDLTN9TB.js.map → action-bar.BZ04Y7Yi.js.map} +1 -1
- package/dist/chunks/{ai-button.DsNrcgpK.js → ai-button.DaRuea3x.js} +2 -2
- package/dist/chunks/{ai-button.DsNrcgpK.js.map → ai-button.DaRuea3x.js.map} +1 -1
- package/dist/chunks/{alert.Dzx5MzgE.js → alert.C2pusd-_.js} +3 -3
- package/dist/chunks/{alert.Dzx5MzgE.js.map → alert.C2pusd-_.js.map} +1 -1
- package/dist/chunks/{avatar.Dq59yj6m.js → avatar.P2Fkz2I6.js} +27 -26
- package/dist/chunks/avatar.P2Fkz2I6.js.map +1 -0
- package/dist/chunks/{base-modal.Djw4pVal.js → base-modal.UA93s_8c.js} +7 -7
- package/dist/chunks/base-modal.UA93s_8c.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.DaKPEgPd.js → button-actions-with-menu.BeQ-j1bv.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.DaKPEgPd.js.map → button-actions-with-menu.BeQ-j1bv.js.map} +1 -1
- package/dist/chunks/{button-actions.D1eBtYgZ.js → button-actions.BQ3AFQqt.js} +13 -16
- package/dist/chunks/button-actions.BQ3AFQqt.js.map +1 -0
- package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
- package/dist/chunks/{button.C-MAa6ut.js → button.DhcxX2GJ.js} +2 -2
- package/dist/chunks/button.DhcxX2GJ.js.map +1 -0
- package/dist/chunks/{calendar.B1a_mV-Q.js → calendar.Cqjyxc69.js} +314 -310
- package/dist/chunks/calendar.Cqjyxc69.js.map +1 -0
- package/dist/chunks/{card.B9lWURmF.js → card.GxkxfBoV.js} +23 -23
- package/dist/chunks/card.GxkxfBoV.js.map +1 -0
- package/dist/chunks/{checkbox-group.CcgOK4yt.js → checkbox-group.8ebmaHsA.js} +4 -4
- package/dist/chunks/{checkbox-group.CcgOK4yt.js.map → checkbox-group.8ebmaHsA.js.map} +1 -1
- package/dist/chunks/{checkbox.73QYC0y8.js → checkbox.BI0dqARY.js} +4 -4
- package/dist/chunks/{checkbox.73QYC0y8.js.map → checkbox.BI0dqARY.js.map} +1 -1
- package/dist/chunks/{chip.CUwVpPVo.js → chip.DuLyhNCy.js} +2 -2
- package/dist/chunks/{chip.CUwVpPVo.js.map → chip.DuLyhNCy.js.map} +1 -1
- package/dist/chunks/{code-snippet.DL_1HNKV.js → code-snippet.CO78Nfj0.js} +7 -7
- package/dist/chunks/{code-snippet.DL_1HNKV.js.map → code-snippet.CO78Nfj0.js.map} +1 -1
- package/dist/chunks/{controls-group.CdTg-WDi.js → controls-group.cbGiHr7n.js} +2 -2
- package/dist/chunks/{controls-group.CdTg-WDi.js.map → controls-group.cbGiHr7n.js.map} +1 -1
- package/dist/chunks/{copy.Da1OGFTr.js → copy.ClKnDjMI.js} +5 -5
- package/dist/chunks/{copy.Da1OGFTr.js.map → copy.ClKnDjMI.js.map} +1 -1
- package/dist/chunks/country.DmnN9YIW.js +69 -0
- package/dist/chunks/country.DmnN9YIW.js.map +1 -0
- package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
- package/dist/chunks/{currency.CN4UnCx8.js → currency.CBZMwm21.js} +55 -38
- package/dist/chunks/currency.CBZMwm21.js.map +1 -0
- package/dist/chunks/{dashboard-section.BXE7_Y9R.js → dashboard-section.CVttsom5.js} +3 -3
- package/dist/chunks/{dashboard-section.BXE7_Y9R.js.map → dashboard-section.CVttsom5.js.map} +1 -1
- package/dist/chunks/{dashed-underline.28J-9i5D.js → dashed-underline.r62L_XBr.js} +3 -3
- package/dist/chunks/{dashed-underline.28J-9i5D.js.map → dashed-underline.r62L_XBr.js.map} +1 -1
- package/dist/chunks/{data-grid-template.B13OrA1T.js → data-grid-template.CFt1NV_4.js} +4 -4
- package/dist/chunks/{data-grid-template.B13OrA1T.js.map → data-grid-template.CFt1NV_4.js.map} +1 -1
- package/dist/chunks/data-grid.BjPdbx50.js +4071 -0
- package/dist/chunks/data-grid.BjPdbx50.js.map +1 -0
- package/dist/chunks/{date-input.BqBdAO1E.js → date-format.B8RU7D42.js} +6 -6
- package/dist/chunks/date-format.B8RU7D42.js.map +1 -0
- package/dist/chunks/date-picker.DSkvT_CA.js +234 -0
- package/dist/chunks/date-picker.DSkvT_CA.js.map +1 -0
- package/dist/chunks/date-range-picker.cmg75lC-.js +1117 -0
- package/dist/chunks/date-range-picker.cmg75lC-.js.map +1 -0
- package/dist/chunks/{date.4GAXrgy5.js → date.DZvVL-uz.js} +3 -3
- package/dist/chunks/{date.4GAXrgy5.js.map → date.DZvVL-uz.js.map} +1 -1
- package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
- package/dist/chunks/{dialog-page.1ZVnUqpT.js → dialog-page.zWrBSgBD.js} +3 -3
- package/dist/chunks/dialog-page.zWrBSgBD.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.CGsOngY1.js → dropdown-default-textbox.MkU0tMf1.js} +29 -29
- package/dist/chunks/dropdown-default-textbox.MkU0tMf1.js.map +1 -0
- package/dist/chunks/{dropdown-tag.hIiGmmBD.js → dropdown-tag.DvQQIJsw.js} +134 -122
- package/dist/chunks/dropdown-tag.DvQQIJsw.js.map +1 -0
- package/dist/chunks/{dropdown.GyDAswAO.js → dropdown.bLsoTZbw.js} +350 -339
- package/dist/chunks/dropdown.bLsoTZbw.js.map +1 -0
- package/dist/chunks/{empty-state.BsKJ-1pT.js → empty-state.Be6M8ivH.js} +2 -2
- package/dist/chunks/{empty-state.BsKJ-1pT.js.map → empty-state.Be6M8ivH.js.map} +1 -1
- package/dist/chunks/es6.MoTTyETW.js.map +1 -1
- package/dist/chunks/{field-label.DSeawpYh.js → field-label.C97CrBI_.js} +3 -3
- package/dist/chunks/{field-label.DSeawpYh.js.map → field-label.C97CrBI_.js.map} +1 -1
- package/dist/chunks/{file-uploader.DELe6_NM.js → file-uploader.By0MTfKk.js} +87 -88
- package/dist/chunks/file-uploader.By0MTfKk.js.map +1 -0
- package/dist/chunks/filter-bar.nX73NKNC.js +2948 -0
- package/dist/chunks/filter-bar.nX73NKNC.js.map +1 -0
- package/dist/chunks/{fixed-scroller.BASYH576.js → fixed-scroller.Dmg8r9QP.js} +3 -3
- package/dist/chunks/{fixed-scroller.BASYH576.js.map → fixed-scroller.Dmg8r9QP.js.map} +1 -1
- package/dist/chunks/focus-trap.CpNGD7PH.js.map +1 -1
- package/dist/chunks/{footer-actions.Bqn-Jp0p.js → footer-actions.BO52wpv-.js} +3 -3
- package/dist/chunks/{footer-actions.Bqn-Jp0p.js.map → footer-actions.BO52wpv-.js.map} +1 -1
- package/dist/chunks/{form-layout-title.DdRqnXXi.js → form-layout-title.61ESsGAY.js} +20 -12
- package/dist/chunks/form-layout-title.61ESsGAY.js.map +1 -0
- package/dist/chunks/get-slot-text.DQlZEsId.js.map +1 -1
- package/dist/chunks/{header-meta.BXOpbsSR.js → header-meta.C4iaUsfq.js} +13 -10
- package/dist/chunks/{header-meta.BXOpbsSR.js.map → header-meta.C4iaUsfq.js.map} +1 -1
- package/dist/chunks/{header-with-views.afPw_Czi.js → header-with-views.BLW817ZC.js} +207 -207
- package/dist/chunks/header-with-views.BLW817ZC.js.map +1 -0
- package/dist/chunks/{header.9kRuPR3K.js → header.DARVAeE9.js} +3 -3
- package/dist/chunks/{header.9kRuPR3K.js.map → header.DARVAeE9.js.map} +1 -1
- package/dist/chunks/index.pdBj0KQU.js +15 -0
- package/dist/chunks/index.pdBj0KQU.js.map +1 -0
- package/dist/chunks/{info-icon.CRnO5lpq.js → info-icon.BhOm72U4.js} +3 -3
- package/dist/chunks/{info-icon.CRnO5lpq.js.map → info-icon.BhOm72U4.js.map} +1 -1
- package/dist/chunks/{input-field-password.JZkGOiMd.js → input-field-password.BtM3-txc.js} +8 -8
- package/dist/chunks/input-field-password.BtM3-txc.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.CF5P0_yu.js → input-field-phone-number.oaNB69nM.js} +631 -631
- package/dist/chunks/{input-field-phone-number.CF5P0_yu.js.map → input-field-phone-number.oaNB69nM.js.map} +1 -1
- package/dist/chunks/{input-field.2S8zBviE.js → input-field.D_tADgPG.js} +5 -5
- package/dist/chunks/input-field.D_tADgPG.js.map +1 -0
- package/dist/chunks/{inspector.C-yVhM15.js → inspector.BKP15cx6.js} +4 -4
- package/dist/chunks/inspector.BKP15cx6.js.map +1 -0
- package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -1
- package/dist/chunks/{listbox-option-tag.CtJUykfB.js → listbox-option-tag.uHSB7MO6.js} +9 -9
- package/dist/chunks/listbox-option-tag.uHSB7MO6.js.map +1 -0
- package/dist/chunks/loading-indicator.Db794TT5.js +33 -0
- package/dist/chunks/loading-indicator.Db794TT5.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.CIxazX33.js → modal-fullscreen.DTT-5rQX.js} +6 -6
- package/dist/chunks/{modal-fullscreen.CIxazX33.js.map → modal-fullscreen.DTT-5rQX.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.D4TJY7o_.js → modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js} +6 -6
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.D4TJY7o_.js.map → modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js.map} +1 -1
- package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
- package/dist/chunks/{pagination.NDwXq6fh.js → pagination.D1Gdo5to.js} +5 -5
- package/dist/chunks/pagination.D1Gdo5to.js.map +1 -0
- package/dist/chunks/popover.types.BFFy1ChU.js +6 -0
- package/dist/chunks/{popover.types.Bp97CGc4.js.map → popover.types.BFFy1ChU.js.map} +1 -1
- package/dist/chunks/{popper-container.5cq-eu41.js → popper-container.Uod3yjsR.js} +2 -2
- package/dist/chunks/{popper-container.5cq-eu41.js.map → popper-container.Uod3yjsR.js.map} +1 -1
- package/dist/chunks/{promo-banner.ChT2zKkO.js → promo-banner.B-TLTLEd.js} +3 -3
- package/dist/chunks/promo-banner.B-TLTLEd.js.map +1 -0
- package/dist/chunks/radio-group.DWNqrkZ3.js +277 -0
- package/dist/chunks/radio-group.DWNqrkZ3.js.map +1 -0
- package/dist/chunks/{radio-input.odN9FOyr.js → radio-input.CBNE-AkM.js} +13 -14
- package/dist/chunks/radio-input.CBNE-AkM.js.map +1 -0
- package/dist/chunks/{rich-text-editor.D770fUpS.js → rich-text-editor.BK9AivIm.js} +6 -6
- package/dist/chunks/{rich-text-editor.D770fUpS.js.map → rich-text-editor.BK9AivIm.js.map} +1 -1
- package/dist/chunks/{search-bar.rZ_38y4j.js → search-bar.BD_R-vgA.js} +4 -4
- package/dist/chunks/{search-bar.rZ_38y4j.js.map → search-bar.BD_R-vgA.js.map} +1 -1
- package/dist/chunks/{secondary-nav.BBE8HyDR.js → secondary-nav.Du2PL7Ok.js} +5 -5
- package/dist/chunks/secondary-nav.Du2PL7Ok.js.map +1 -0
- package/dist/chunks/{segmented-control.D0SoqGlC.js → segmented-control.BCHGDSrf.js} +47 -45
- package/dist/chunks/segmented-control.BCHGDSrf.js.map +1 -0
- package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
- package/dist/chunks/{selection-card-group.KK9ZPqiU.js → selection-card-group._RgLiMyQ.js} +5 -5
- package/dist/chunks/selection-card-group._RgLiMyQ.js.map +1 -0
- package/dist/chunks/{sidepanel.CyPW8jxA.js → sidepanel.CS9CfAWZ.js} +19 -19
- package/dist/chunks/{sidepanel.CyPW8jxA.js.map → sidepanel.CS9CfAWZ.js.map} +1 -1
- package/dist/chunks/{step.Ci-e1V9E.js → step.CoSuGK16.js} +4 -4
- package/dist/chunks/step.CoSuGK16.js.map +1 -0
- package/dist/chunks/{structured-list-item.CSkcduKn.js → structured-list-item.BTPh7SPj.js} +6 -6
- package/dist/chunks/{structured-list-item.CSkcduKn.js.map → structured-list-item.BTPh7SPj.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.C-gcwqwB.js → summary-grid.types.ByQ4u19J.js} +6 -6
- package/dist/chunks/{summary-grid.types.C-gcwqwB.js.map → summary-grid.types.ByQ4u19J.js.map} +1 -1
- package/dist/chunks/{tab.8bEkiAkk.js → tab.CD5Eu6ql.js} +3 -3
- package/dist/chunks/tab.CD5Eu6ql.js.map +1 -0
- package/dist/chunks/{tag.BFYNxO6t.js → tag.CEmpyuYX.js} +2 -2
- package/dist/chunks/{tag.BFYNxO6t.js.map → tag.CEmpyuYX.js.map} +1 -1
- package/dist/chunks/textarea.C1jkfowf.js +246 -0
- package/dist/chunks/textarea.C1jkfowf.js.map +1 -0
- package/dist/chunks/{timeline-item.BiivSMPD.js → timeline-item.C8PA_w7m.js} +9 -9
- package/dist/chunks/timeline-item.C8PA_w7m.js.map +1 -0
- package/dist/chunks/{toast.DIhABAW8.js → toast.6oJx7SNq.js} +3 -3
- package/dist/chunks/{toast.DIhABAW8.js.map → toast.6oJx7SNq.js.map} +1 -1
- package/dist/chunks/toggle.Dd_NA8eH.js +143 -0
- package/dist/chunks/toggle.Dd_NA8eH.js.map +1 -0
- package/dist/chunks/tooltip.Dp9_ESm_.js +202 -0
- package/dist/chunks/tooltip.Dp9_ESm_.js.map +1 -0
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BDCDB169.js → tutorial.vue_vue_type_script_setup_true_lang.KvlJ_dl9.js} +6 -6
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.KvlJ_dl9.js.map +1 -0
- package/dist/chunks/{use-cached-selected-values.CBOWMI4O.js → use-cached-selected-values.C32tjNKy.js} +114 -114
- package/dist/chunks/use-cached-selected-values.C32tjNKy.js.map +1 -0
- package/dist/chunks/{use-country-items.D_kamcYy.js → use-country-items.Dzbl2UsO.js} +7 -7
- package/dist/chunks/use-country-items.Dzbl2UsO.js.map +1 -0
- package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
- package/dist/chunks/use-default-slot-validator.O02rzsob.js.map +1 -1
- package/dist/chunks/use-has-slot.B7eQSabc.js.map +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +1 -1
- 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 +5 -4
- package/dist/date-range-picker.js +5 -4
- package/dist/date.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 +5 -4
- 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 +405 -329
- 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 +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +12 -12
- 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/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/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +25 -15
- package/dist/styles/bento-light.css +9 -3
- package/dist/styles/bento.css +9 -3
- package/dist/styles/legacy.css +9 -3
- package/dist/styles/styleguide.css +9 -3
- 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/use-form-v4.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +14 -12
- package/dist/chunks/avatar.Dq59yj6m.js.map +0 -1
- package/dist/chunks/base-modal.Djw4pVal.js.map +0 -1
- package/dist/chunks/button-actions.D1eBtYgZ.js.map +0 -1
- package/dist/chunks/button.C-MAa6ut.js.map +0 -1
- package/dist/chunks/calendar.B1a_mV-Q.js.map +0 -1
- package/dist/chunks/card.B9lWURmF.js.map +0 -1
- package/dist/chunks/country.RVvsGwuV.js +0 -99
- package/dist/chunks/country.RVvsGwuV.js.map +0 -1
- package/dist/chunks/currency.CN4UnCx8.js.map +0 -1
- package/dist/chunks/data-grid._xo6LEB-.js +0 -4010
- package/dist/chunks/data-grid._xo6LEB-.js.map +0 -1
- package/dist/chunks/date-input.BqBdAO1E.js.map +0 -1
- package/dist/chunks/date-picker.Bkz4GmyC.js +0 -319
- package/dist/chunks/date-picker.Bkz4GmyC.js.map +0 -1
- package/dist/chunks/date-range-picker.9Zlg9xnH.js +0 -1171
- package/dist/chunks/date-range-picker.9Zlg9xnH.js.map +0 -1
- package/dist/chunks/dialog-page.1ZVnUqpT.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.CGsOngY1.js.map +0 -1
- package/dist/chunks/dropdown-tag.hIiGmmBD.js.map +0 -1
- package/dist/chunks/dropdown.GyDAswAO.js.map +0 -1
- package/dist/chunks/file-uploader.DELe6_NM.js.map +0 -1
- package/dist/chunks/filter-bar.BLhRZzJa.js +0 -3005
- package/dist/chunks/filter-bar.BLhRZzJa.js.map +0 -1
- package/dist/chunks/form-layout-title.DdRqnXXi.js.map +0 -1
- package/dist/chunks/header-with-views.afPw_Czi.js.map +0 -1
- package/dist/chunks/i18n.B6g5VX0q.js +0 -3131
- package/dist/chunks/i18n.B6g5VX0q.js.map +0 -1
- package/dist/chunks/input-field-password.JZkGOiMd.js.map +0 -1
- package/dist/chunks/input-field.2S8zBviE.js.map +0 -1
- package/dist/chunks/inspector.C-yVhM15.js.map +0 -1
- package/dist/chunks/listbox-option-tag.CtJUykfB.js.map +0 -1
- package/dist/chunks/loading-indicator.VHi5tbZa.js +0 -44
- package/dist/chunks/loading-indicator.VHi5tbZa.js.map +0 -1
- package/dist/chunks/pagination.NDwXq6fh.js.map +0 -1
- package/dist/chunks/popover.types.Bp97CGc4.js +0 -6
- package/dist/chunks/promo-banner.ChT2zKkO.js.map +0 -1
- package/dist/chunks/radio-group.BNiif4On.js +0 -329
- package/dist/chunks/radio-group.BNiif4On.js.map +0 -1
- package/dist/chunks/radio-input.odN9FOyr.js.map +0 -1
- package/dist/chunks/secondary-nav.BBE8HyDR.js.map +0 -1
- package/dist/chunks/segmented-control.D0SoqGlC.js.map +0 -1
- package/dist/chunks/selection-card-group.KK9ZPqiU.js.map +0 -1
- package/dist/chunks/step.Ci-e1V9E.js.map +0 -1
- package/dist/chunks/tab.8bEkiAkk.js.map +0 -1
- package/dist/chunks/textarea.C7RmLKEx.js +0 -295
- package/dist/chunks/textarea.C7RmLKEx.js.map +0 -1
- package/dist/chunks/timeline-item.BiivSMPD.js.map +0 -1
- package/dist/chunks/toggle.C8k7NQ7y.js +0 -161
- package/dist/chunks/toggle.C8k7NQ7y.js.map +0 -1
- package/dist/chunks/tooltip.CEHc6lzU.js +0 -211
- package/dist/chunks/tooltip.CEHc6lzU.js.map +0 -1
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.BDCDB169.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.CBOWMI4O.js.map +0 -1
- package/dist/chunks/use-country-items.D_kamcYy.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { ComputedRef } from 'vue';
|
|
|
9
9
|
import { CountryCode } from 'libphonenumber-js/types';
|
|
10
10
|
import { CountryCode as CountryCode_2 } from 'libphonenumber-js';
|
|
11
11
|
import { DeepReadonly } from 'vue';
|
|
12
|
-
import { default as default_2 } from 'vue-i18n';
|
|
13
12
|
import { DefaultKeys } from 'vue/types/v3-component-props';
|
|
14
13
|
import { DefineComponent } from 'vue';
|
|
15
14
|
import { DirectiveBinding } from 'vue';
|
|
@@ -18,6 +17,7 @@ import { ExtractComputedReturns } from 'vue/types/v3-component-options';
|
|
|
18
17
|
import { ExtractPropTypes } from 'vue';
|
|
19
18
|
import { HTMLAttributes } from 'vue';
|
|
20
19
|
import type { MaybeElementRef as MaybeElementRef_2 } from '@/types/elements';
|
|
20
|
+
import type { OmitStrict as OmitStrict_2 } from '@/types/omit-strict';
|
|
21
21
|
import type { Options } from 'focus-trap/index';
|
|
22
22
|
import type { Placement } from '@floating-ui/vue';
|
|
23
23
|
import type { Plugin } from 'vue';
|
|
@@ -136,8 +136,22 @@ declare type __VLS_NonUndefinedable_54<T> = T extends undefined ? never : T;
|
|
|
136
136
|
|
|
137
137
|
declare type __VLS_NonUndefinedable_55<T> = T extends undefined ? never : T;
|
|
138
138
|
|
|
139
|
+
declare type __VLS_NonUndefinedable_56<T> = T extends undefined ? never : T;
|
|
140
|
+
|
|
141
|
+
declare type __VLS_NonUndefinedable_57<T> = T extends undefined ? never : T;
|
|
142
|
+
|
|
143
|
+
declare type __VLS_NonUndefinedable_58<T> = T extends undefined ? never : T;
|
|
144
|
+
|
|
145
|
+
declare type __VLS_NonUndefinedable_59<T> = T extends undefined ? never : T;
|
|
146
|
+
|
|
139
147
|
declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
|
|
140
148
|
|
|
149
|
+
declare type __VLS_NonUndefinedable_60<T> = T extends undefined ? never : T;
|
|
150
|
+
|
|
151
|
+
declare type __VLS_NonUndefinedable_61<T> = T extends undefined ? never : T;
|
|
152
|
+
|
|
153
|
+
declare type __VLS_NonUndefinedable_62<T> = T extends undefined ? never : T;
|
|
154
|
+
|
|
141
155
|
declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
|
|
142
156
|
|
|
143
157
|
declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
|
|
@@ -603,6 +617,42 @@ declare type __VLS_TypePropsToRuntimeProps_55<T> = {
|
|
|
603
617
|
};
|
|
604
618
|
};
|
|
605
619
|
|
|
620
|
+
declare type __VLS_TypePropsToRuntimeProps_56<T> = {
|
|
621
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
622
|
+
type: PropType<__VLS_NonUndefinedable_56<T[K]>>;
|
|
623
|
+
} : {
|
|
624
|
+
type: PropType<T[K]>;
|
|
625
|
+
required: true;
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
declare type __VLS_TypePropsToRuntimeProps_57<T> = {
|
|
630
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
631
|
+
type: PropType<__VLS_NonUndefinedable_57<T[K]>>;
|
|
632
|
+
} : {
|
|
633
|
+
type: PropType<T[K]>;
|
|
634
|
+
required: true;
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
declare type __VLS_TypePropsToRuntimeProps_58<T> = {
|
|
639
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
640
|
+
type: PropType<__VLS_NonUndefinedable_58<T[K]>>;
|
|
641
|
+
} : {
|
|
642
|
+
type: PropType<T[K]>;
|
|
643
|
+
required: true;
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
declare type __VLS_TypePropsToRuntimeProps_59<T> = {
|
|
648
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
649
|
+
type: PropType<__VLS_NonUndefinedable_59<T[K]>>;
|
|
650
|
+
} : {
|
|
651
|
+
type: PropType<T[K]>;
|
|
652
|
+
required: true;
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
|
|
606
656
|
declare type __VLS_TypePropsToRuntimeProps_6<T> = {
|
|
607
657
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
608
658
|
type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
|
|
@@ -612,6 +662,33 @@ declare type __VLS_TypePropsToRuntimeProps_6<T> = {
|
|
|
612
662
|
};
|
|
613
663
|
};
|
|
614
664
|
|
|
665
|
+
declare type __VLS_TypePropsToRuntimeProps_60<T> = {
|
|
666
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
667
|
+
type: PropType<__VLS_NonUndefinedable_60<T[K]>>;
|
|
668
|
+
} : {
|
|
669
|
+
type: PropType<T[K]>;
|
|
670
|
+
required: true;
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
|
|
674
|
+
declare type __VLS_TypePropsToRuntimeProps_61<T> = {
|
|
675
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
676
|
+
type: PropType<__VLS_NonUndefinedable_61<T[K]>>;
|
|
677
|
+
} : {
|
|
678
|
+
type: PropType<T[K]>;
|
|
679
|
+
required: true;
|
|
680
|
+
};
|
|
681
|
+
};
|
|
682
|
+
|
|
683
|
+
declare type __VLS_TypePropsToRuntimeProps_62<T> = {
|
|
684
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
685
|
+
type: PropType<__VLS_NonUndefinedable_62<T[K]>>;
|
|
686
|
+
} : {
|
|
687
|
+
type: PropType<T[K]>;
|
|
688
|
+
required: true;
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
|
|
615
692
|
declare type __VLS_TypePropsToRuntimeProps_7<T> = {
|
|
616
693
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
617
694
|
type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
|
|
@@ -927,6 +1004,48 @@ declare type __VLS_WithDefaults_52<P, D> = {
|
|
|
927
1004
|
} : P[K];
|
|
928
1005
|
};
|
|
929
1006
|
|
|
1007
|
+
declare type __VLS_WithDefaults_53<P, D> = {
|
|
1008
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1009
|
+
default: D[K];
|
|
1010
|
+
} : P[K];
|
|
1011
|
+
};
|
|
1012
|
+
|
|
1013
|
+
declare type __VLS_WithDefaults_54<P, D> = {
|
|
1014
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1015
|
+
default: D[K];
|
|
1016
|
+
} : P[K];
|
|
1017
|
+
};
|
|
1018
|
+
|
|
1019
|
+
declare type __VLS_WithDefaults_55<P, D> = {
|
|
1020
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1021
|
+
default: D[K];
|
|
1022
|
+
} : P[K];
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
declare type __VLS_WithDefaults_56<P, D> = {
|
|
1026
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1027
|
+
default: D[K];
|
|
1028
|
+
} : P[K];
|
|
1029
|
+
};
|
|
1030
|
+
|
|
1031
|
+
declare type __VLS_WithDefaults_57<P, D> = {
|
|
1032
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1033
|
+
default: D[K];
|
|
1034
|
+
} : P[K];
|
|
1035
|
+
};
|
|
1036
|
+
|
|
1037
|
+
declare type __VLS_WithDefaults_58<P, D> = {
|
|
1038
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1039
|
+
default: D[K];
|
|
1040
|
+
} : P[K];
|
|
1041
|
+
};
|
|
1042
|
+
|
|
1043
|
+
declare type __VLS_WithDefaults_59<P, D> = {
|
|
1044
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1045
|
+
default: D[K];
|
|
1046
|
+
} : P[K];
|
|
1047
|
+
};
|
|
1048
|
+
|
|
930
1049
|
declare type __VLS_WithDefaults_6<P, D> = {
|
|
931
1050
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
932
1051
|
default: D[K];
|
|
@@ -1251,6 +1370,18 @@ declare type __VLS_WithTemplateSlots_54<T, S> = T & {
|
|
|
1251
1370
|
};
|
|
1252
1371
|
};
|
|
1253
1372
|
|
|
1373
|
+
declare type __VLS_WithTemplateSlots_55<T, S> = T & {
|
|
1374
|
+
new (): {
|
|
1375
|
+
$slots: S;
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
|
|
1379
|
+
declare type __VLS_WithTemplateSlots_56<T, S> = T & {
|
|
1380
|
+
new (): {
|
|
1381
|
+
$slots: S;
|
|
1382
|
+
};
|
|
1383
|
+
};
|
|
1384
|
+
|
|
1254
1385
|
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
1255
1386
|
new (): {
|
|
1256
1387
|
$slots: S;
|
|
@@ -1284,7 +1415,19 @@ export declare type allKeys<T> = T extends any ? keyof T : never;
|
|
|
1284
1415
|
/**
|
|
1285
1416
|
* Any function
|
|
1286
1417
|
*/
|
|
1287
|
-
export declare type AnyFn<T> = (...args: T
|
|
1418
|
+
export declare type AnyFn<T> = (...args: Array<T>) => T;
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* Private
|
|
1422
|
+
*/
|
|
1423
|
+
declare enum BaseFilterEvent {
|
|
1424
|
+
APPLY = "apply",
|
|
1425
|
+
CLEAR = "clear",
|
|
1426
|
+
OPEN = "open",
|
|
1427
|
+
CLOSE = "close",
|
|
1428
|
+
RESET = "reset",
|
|
1429
|
+
CANCEL = "cancel"
|
|
1430
|
+
}
|
|
1288
1431
|
|
|
1289
1432
|
declare interface BaseSummaryGridItemProps {
|
|
1290
1433
|
/**
|
|
@@ -1619,7 +1762,7 @@ declare interface BentoActionButton_2 extends BentoButtonActionBase_2, BentoButt
|
|
|
1619
1762
|
/**
|
|
1620
1763
|
* Type for the Menus passed as objects to Button Actions
|
|
1621
1764
|
*/
|
|
1622
|
-
declare type BentoActionMenu = BentoButtonActionBase &
|
|
1765
|
+
declare type BentoActionMenu = BentoButtonActionBase & OmitStrict<BentoMenuProps, 'button' | 'data'> & Partial<Pick<BentoMenuProps, 'data'>>;
|
|
1623
1766
|
|
|
1624
1767
|
/**
|
|
1625
1768
|
* Type for the Menus passed as objects to Button Actions
|
|
@@ -1842,64 +1985,344 @@ export declare type BentoAvatarListboxOptionItem = Omit<BentoListboxOptionItem,
|
|
|
1842
1985
|
src?: string;
|
|
1843
1986
|
};
|
|
1844
1987
|
|
|
1845
|
-
export declare type BentoAvatarListboxOptions = BentoAvatarListboxOptionItem
|
|
1988
|
+
export declare type BentoAvatarListboxOptions = Array<BentoAvatarListboxOptionItem>;
|
|
1846
1989
|
|
|
1847
|
-
export declare
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1990
|
+
export declare const BentoBaseFilter: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoBaseFilterProps_2<BentoFilterBarValue, string>>, {
|
|
1991
|
+
appliedFiltersCount: any;
|
|
1992
|
+
buttonLabel: any;
|
|
1993
|
+
buttonSecondaryLabel: any;
|
|
1994
|
+
disabled: boolean;
|
|
1995
|
+
defaultValue: any;
|
|
1996
|
+
onlySlot: boolean;
|
|
1997
|
+
controlled: boolean;
|
|
1998
|
+
disableApplyButton: boolean;
|
|
1999
|
+
disableSecondaryButton: boolean;
|
|
2000
|
+
fitContent: any;
|
|
2001
|
+
tooltipText: any;
|
|
2002
|
+
tooltipPosition: any;
|
|
2003
|
+
value: any;
|
|
2004
|
+
}>, {
|
|
2005
|
+
closePopover: () => void;
|
|
2006
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BaseFilterEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoBaseFilterProps_2<BentoFilterBarValue, string>>, {
|
|
2007
|
+
appliedFiltersCount: any;
|
|
2008
|
+
buttonLabel: any;
|
|
2009
|
+
buttonSecondaryLabel: any;
|
|
2010
|
+
disabled: boolean;
|
|
2011
|
+
defaultValue: any;
|
|
2012
|
+
onlySlot: boolean;
|
|
2013
|
+
controlled: boolean;
|
|
2014
|
+
disableApplyButton: boolean;
|
|
2015
|
+
disableSecondaryButton: boolean;
|
|
2016
|
+
fitContent: any;
|
|
2017
|
+
tooltipText: any;
|
|
2018
|
+
tooltipPosition: any;
|
|
2019
|
+
value: any;
|
|
2020
|
+
}>>>, {
|
|
2021
|
+
value: BentoFilterBarValue;
|
|
2022
|
+
disabled: boolean;
|
|
2023
|
+
fitContent: boolean;
|
|
2024
|
+
tooltipPosition: `${BentoTooltipPosition_3}`;
|
|
2025
|
+
tooltipText: string;
|
|
2026
|
+
appliedFiltersCount: string | number;
|
|
2027
|
+
buttonLabel: string;
|
|
2028
|
+
buttonSecondaryLabel: string;
|
|
2029
|
+
defaultValue: BentoFilterBarValue;
|
|
2030
|
+
onlySlot: boolean;
|
|
2031
|
+
controlled: boolean;
|
|
2032
|
+
disableApplyButton: boolean;
|
|
2033
|
+
disableSecondaryButton: boolean;
|
|
2034
|
+
}>, {
|
|
2035
|
+
default: (_: {}) => any;
|
|
2036
|
+
}>;
|
|
1851
2037
|
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
2038
|
+
/**
|
|
2039
|
+
* Defines the mandatory emits that need to be defined by the implementation of any filter
|
|
2040
|
+
*
|
|
2041
|
+
* @template CustomValue Defines the type of the value being passed to the emit. Same as the type set in `BentoBaseFilterProps`
|
|
2042
|
+
*
|
|
2043
|
+
* @example
|
|
2044
|
+
* Using the interface
|
|
2045
|
+
*
|
|
2046
|
+
* ```typescript
|
|
2047
|
+
* import { type BentoBaseFilterEvents } from '@adyen/bento-vue2'
|
|
2048
|
+
*
|
|
2049
|
+
* defineEmits<BentoBaseFilterEvents<string>>()
|
|
2050
|
+
* ```
|
|
2051
|
+
*
|
|
2052
|
+
* @example
|
|
2053
|
+
* Using the object
|
|
2054
|
+
*
|
|
2055
|
+
* ```typescript
|
|
2056
|
+
* import { BentoBaseFilterEvents } from '@adyen/bento-vue2'
|
|
2057
|
+
*
|
|
2058
|
+
* defineEmits(BentoBaseFilterEvents)
|
|
2059
|
+
* ```
|
|
2060
|
+
*/
|
|
2061
|
+
export declare interface BentoBaseFilterEvents<CustomValue> {
|
|
2062
|
+
/**
|
|
2063
|
+
* Used in the All filters modal
|
|
2064
|
+
*/
|
|
2065
|
+
(e: 'input', newFilterValue: CustomValue): void;
|
|
2066
|
+
/**
|
|
2067
|
+
* Used in the Filter Bar
|
|
2068
|
+
*/
|
|
2069
|
+
(e: 'update', newFilterValue: CustomValue): void;
|
|
2070
|
+
}
|
|
1858
2071
|
|
|
1859
|
-
export declare
|
|
2072
|
+
export declare const BentoBaseFilterEvents: string[];
|
|
1860
2073
|
|
|
1861
2074
|
/**
|
|
1862
|
-
*
|
|
2075
|
+
* Defines the props used by `bento-base-filter` that must be implemented
|
|
2076
|
+
* on every filter as `defineProps`.
|
|
1863
2077
|
*
|
|
1864
|
-
*
|
|
1865
|
-
*
|
|
1866
|
-
* import { CheckMarkIcon } from '@adyen/ui-assets-icons-16';
|
|
2078
|
+
* The interface can be extended if new values are required.
|
|
2079
|
+
* The object can be extended if new values are required.
|
|
1867
2080
|
*
|
|
1868
|
-
*
|
|
1869
|
-
*
|
|
1870
|
-
* template: `
|
|
1871
|
-
* <bento-button
|
|
1872
|
-
* disabled
|
|
1873
|
-
* variant="secondary"
|
|
1874
|
-
* >
|
|
1875
|
-
* <template #iconLeft>
|
|
1876
|
-
* <check-mark svg-title="checked" />
|
|
1877
|
-
* </template>
|
|
2081
|
+
* @template CustomValue Defines the type of the `value` and `defaultValue` props.
|
|
2082
|
+
* @template CustomOptions Defines the type of the options used by the filter (default: `undefined`).
|
|
1878
2083
|
*
|
|
1879
|
-
*
|
|
2084
|
+
* @example
|
|
2085
|
+
* Using the interface
|
|
1880
2086
|
*
|
|
1881
|
-
*
|
|
1882
|
-
*
|
|
1883
|
-
*
|
|
1884
|
-
*
|
|
1885
|
-
*
|
|
2087
|
+
* ```typescript
|
|
2088
|
+
* import { type BentoBaseFilterProps } from '@adyen/bento-vue2'
|
|
2089
|
+
*
|
|
2090
|
+
* interface CustomOptions {
|
|
2091
|
+
* option: string;
|
|
1886
2092
|
* }
|
|
2093
|
+
*
|
|
2094
|
+
* withDefaults(defineProps<BentoBaseFilterProps<string, CustomOptions>>(), {
|
|
2095
|
+
* defaultValue: undefined,
|
|
2096
|
+
* })
|
|
2097
|
+
* ```
|
|
2098
|
+
*
|
|
2099
|
+
* @example
|
|
2100
|
+
* Using the object
|
|
2101
|
+
*
|
|
2102
|
+
* ```typescript
|
|
2103
|
+
* import { BentoBaseFilterProps } from '@adyen/bento-vue2'
|
|
2104
|
+
*
|
|
2105
|
+
* defineProps({
|
|
2106
|
+
* ...BentoBaseFilterProps,
|
|
2107
|
+
* options: {
|
|
2108
|
+
* type: Object,
|
|
2109
|
+
* default: () => ({
|
|
2110
|
+
* option: null
|
|
2111
|
+
* })
|
|
2112
|
+
* }
|
|
2113
|
+
* })
|
|
2114
|
+
* ```
|
|
1887
2115
|
*/
|
|
1888
|
-
export declare
|
|
1889
|
-
/**
|
|
1890
|
-
*
|
|
1891
|
-
*/
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
2116
|
+
export declare interface BentoBaseFilterProps<CustomValue, CustomOptions = undefined> {
|
|
2117
|
+
/**
|
|
2118
|
+
* Disables the filter from being interacted with.
|
|
2119
|
+
*/
|
|
2120
|
+
disabled?: boolean;
|
|
2121
|
+
/**
|
|
2122
|
+
* Default value of the filter to reset to.
|
|
2123
|
+
*/
|
|
2124
|
+
defaultValue?: CustomValue;
|
|
2125
|
+
/**
|
|
2126
|
+
* Filter name/key referencing the actual property name in the data set.
|
|
2127
|
+
* Should be unique per filter bar.
|
|
2128
|
+
*/
|
|
2129
|
+
field: string;
|
|
2130
|
+
/**
|
|
2131
|
+
* Label text to be displayed
|
|
2132
|
+
*/
|
|
2133
|
+
label: string;
|
|
2134
|
+
/**
|
|
2135
|
+
* Renders the base filter's slot content only - leaving out the button and the popover.
|
|
2136
|
+
* Used for the allFiltersModal component.
|
|
2137
|
+
*/
|
|
2138
|
+
onlySlot?: boolean;
|
|
2139
|
+
/**
|
|
2140
|
+
* List of options that are needed to setup the filter
|
|
2141
|
+
* Available options:
|
|
2142
|
+
* - firstDayOfWeek: Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
2143
|
+
* - isDateDisabled: Indicate if a date should be disabled or not
|
|
2144
|
+
* - tooltipPosition: The position of the tooltip attached to the filter button
|
|
2145
|
+
* - tooltipText: The content of the tooltip attached to the filter button
|
|
2146
|
+
*/
|
|
2147
|
+
options?: CustomOptions;
|
|
2148
|
+
/**
|
|
2149
|
+
* Current value of the filter
|
|
2150
|
+
*/
|
|
2151
|
+
value: CustomValue;
|
|
2152
|
+
}
|
|
2153
|
+
|
|
2154
|
+
export declare const BentoBaseFilterProps: Readonly<{
|
|
2155
|
+
/**
|
|
2156
|
+
* Disables the filter from being interacted with.
|
|
2157
|
+
*/
|
|
2158
|
+
disabled: {
|
|
2159
|
+
type: BooleanConstructor;
|
|
2160
|
+
default: boolean;
|
|
2161
|
+
};
|
|
2162
|
+
/**
|
|
2163
|
+
* Default value of the filter to reset to.
|
|
2164
|
+
*/
|
|
2165
|
+
defaultValue: {
|
|
2166
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor | NumberConstructor)[];
|
|
2167
|
+
default: any;
|
|
2168
|
+
};
|
|
2169
|
+
/**
|
|
2170
|
+
* Filter name/key referencing the actual property name in the data set.
|
|
2171
|
+
* Should be unique per filter bar.
|
|
2172
|
+
*/
|
|
2173
|
+
field: {
|
|
2174
|
+
type: StringConstructor;
|
|
2175
|
+
required: boolean;
|
|
2176
|
+
};
|
|
2177
|
+
/**
|
|
2178
|
+
* Label text to be displayed
|
|
2179
|
+
*/
|
|
2180
|
+
label: {
|
|
2181
|
+
type: StringConstructor;
|
|
2182
|
+
required: boolean;
|
|
2183
|
+
};
|
|
2184
|
+
/**
|
|
2185
|
+
* Renders the base filter's slot content only - leaving out the button and the popover.
|
|
2186
|
+
* Used for the allFiltersModal component.
|
|
2187
|
+
*/
|
|
2188
|
+
onlySlot: {
|
|
2189
|
+
type: BooleanConstructor;
|
|
2190
|
+
default: boolean;
|
|
2191
|
+
};
|
|
2192
|
+
/**
|
|
2193
|
+
* The current value of the filter, used for v-model.
|
|
2194
|
+
*/
|
|
2195
|
+
value: {
|
|
2196
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor | NumberConstructor)[];
|
|
2197
|
+
default: any;
|
|
2198
|
+
};
|
|
2199
|
+
}>;
|
|
2200
|
+
|
|
2201
|
+
/**
|
|
2202
|
+
* Public
|
|
2203
|
+
*/
|
|
2204
|
+
declare interface BentoBaseFilterProps_2<Value, Field> {
|
|
2205
|
+
/**
|
|
2206
|
+
* Total count of applied filters
|
|
2207
|
+
*/
|
|
2208
|
+
appliedFiltersCount?: string | number;
|
|
2209
|
+
/**
|
|
2210
|
+
* Overrides the label of the popover visibility toggle button text.
|
|
2211
|
+
*/
|
|
2212
|
+
buttonLabel?: string;
|
|
2213
|
+
/**
|
|
2214
|
+
* Sets the secondary label text of the popover visibility toggle button text.
|
|
2215
|
+
*/
|
|
2216
|
+
buttonSecondaryLabel?: string;
|
|
2217
|
+
/**
|
|
2218
|
+
* Disables the filter from being interacted with.
|
|
2219
|
+
*/
|
|
2220
|
+
disabled?: boolean;
|
|
2221
|
+
/**
|
|
2222
|
+
* Default value of the filter to reset to.
|
|
2223
|
+
*/
|
|
2224
|
+
defaultValue?: Value;
|
|
2225
|
+
/**
|
|
2226
|
+
* Renders the base filter's slot content only - leaving out the button and the popover.
|
|
2227
|
+
* Used for the allFiltersModal component.
|
|
2228
|
+
*/
|
|
2229
|
+
onlySlot?: boolean;
|
|
2230
|
+
/**
|
|
2231
|
+
* Allows to handle the controls (apply/clear) from outside
|
|
2232
|
+
* of the component
|
|
2233
|
+
*/
|
|
2234
|
+
controlled?: boolean;
|
|
2235
|
+
/**
|
|
2236
|
+
* Disable the "apply" button
|
|
2237
|
+
*/
|
|
2238
|
+
disableApplyButton?: boolean;
|
|
2239
|
+
/**
|
|
2240
|
+
* Disable the secondary button action.
|
|
2241
|
+
*/
|
|
2242
|
+
disableSecondaryButton?: boolean;
|
|
2243
|
+
/**
|
|
2244
|
+
* Filter name/key referencing the actual property name in the data set.
|
|
2245
|
+
* Should be unique per filter bar.
|
|
2246
|
+
*/
|
|
2247
|
+
field: Field;
|
|
2248
|
+
/**
|
|
2249
|
+
* Label text to be displayed
|
|
2250
|
+
*/
|
|
2251
|
+
label: string;
|
|
2252
|
+
/**
|
|
2253
|
+
* Sets the size of the container to fit its content
|
|
2254
|
+
*/
|
|
2255
|
+
fitContent?: boolean;
|
|
2256
|
+
/**
|
|
2257
|
+
* Attaches a `BentoTooltip` if present. Text showed in the tooltip on hover.
|
|
2258
|
+
*/
|
|
2259
|
+
tooltipText?: string;
|
|
2260
|
+
/**
|
|
2261
|
+
* Position the tooltip should take if space is available.
|
|
2262
|
+
*/
|
|
2263
|
+
tooltipPosition?: `${BentoTooltipPosition}`;
|
|
2264
|
+
/**
|
|
2265
|
+
* The current value of the filter, used for v-model.
|
|
2266
|
+
*/
|
|
2267
|
+
value?: Value;
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
export declare type BentoBooleanFilterOption = {
|
|
2271
|
+
label: string;
|
|
2272
|
+
value: string | boolean;
|
|
2273
|
+
};
|
|
2274
|
+
|
|
2275
|
+
export declare type BentoBooleanFilterOptions = {
|
|
2276
|
+
positiveOption?: BentoBooleanFilterOption;
|
|
2277
|
+
negativeOption?: BentoBooleanFilterOption;
|
|
2278
|
+
tooltipText?: string;
|
|
2279
|
+
tooltipPosition?: BentoTooltipPosition | `${BentoTooltipPosition}`;
|
|
2280
|
+
};
|
|
2281
|
+
|
|
2282
|
+
export declare type BentoBooleanFilterValue = string | null;
|
|
2283
|
+
|
|
2284
|
+
/**
|
|
2285
|
+
* Button component for all the various types of bento buttons.
|
|
2286
|
+
*
|
|
2287
|
+
* @example
|
|
2288
|
+
* import { BentoButton } from '@adyen/bento-vue2';
|
|
2289
|
+
* import { CheckMarkIcon } from '@adyen/ui-assets-icons-16';
|
|
2290
|
+
*
|
|
2291
|
+
* export default {
|
|
2292
|
+
* components: { BentoButton },
|
|
2293
|
+
* template: `
|
|
2294
|
+
* <bento-button
|
|
2295
|
+
* disabled
|
|
2296
|
+
* variant="secondary"
|
|
2297
|
+
* >
|
|
2298
|
+
* <template #iconLeft>
|
|
2299
|
+
* <check-mark svg-title="checked" />
|
|
2300
|
+
* </template>
|
|
2301
|
+
*
|
|
2302
|
+
* Button text
|
|
2303
|
+
*
|
|
2304
|
+
* <template #iconRight>
|
|
2305
|
+
* <check-mark svg-title="checked" />
|
|
2306
|
+
* </template>
|
|
2307
|
+
* </bento-button>
|
|
2308
|
+
* `,
|
|
2309
|
+
* }
|
|
2310
|
+
*/
|
|
2311
|
+
export declare const BentoButton: __VLS_WithTemplateSlots_4<DefineComponent< {
|
|
2312
|
+
/**
|
|
2313
|
+
* Reduces sizing of button
|
|
2314
|
+
*/
|
|
2315
|
+
condensed: {
|
|
2316
|
+
type: BooleanConstructor;
|
|
2317
|
+
default: boolean;
|
|
2318
|
+
};
|
|
2319
|
+
/**
|
|
2320
|
+
* Displays button as critical
|
|
2321
|
+
*/
|
|
2322
|
+
critical: {
|
|
2323
|
+
type: BooleanConstructor;
|
|
2324
|
+
default: boolean;
|
|
2325
|
+
};
|
|
1903
2326
|
/**
|
|
1904
2327
|
* Disables button functionality
|
|
1905
2328
|
*/
|
|
@@ -2403,9 +2826,9 @@ disabled: boolean;
|
|
|
2403
2826
|
background: BentoCardBackground | `${BentoCardBackground}`;
|
|
2404
2827
|
actions: BentoButtonActionsList;
|
|
2405
2828
|
actionsLayout: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
|
|
2829
|
+
clickable: boolean;
|
|
2406
2830
|
closed: boolean;
|
|
2407
2831
|
expandable: boolean;
|
|
2408
|
-
clickable: boolean;
|
|
2409
2832
|
}>, {
|
|
2410
2833
|
image: (_: {}) => any;
|
|
2411
2834
|
default: (_: {}) => any;
|
|
@@ -2562,7 +2985,7 @@ style: HTMLAttributes["style"];
|
|
|
2562
2985
|
hasSlot: (name: string) => boolean;
|
|
2563
2986
|
onChange: (newValue: BentoCheckboxType | BentoCheckboxGroupItems) => void;
|
|
2564
2987
|
getAriaHidden: (attributes: HTMLAttributes) => boolean | "true" | "false";
|
|
2565
|
-
t: (key: "required" | "optional" | "checkbox",
|
|
2988
|
+
t: (key: "required" | "optional" | "checkbox", ...args: Array<any>) => string;
|
|
2566
2989
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCheckboxEvent[], string, Readonly<ExtractPropTypes< {
|
|
2567
2990
|
/**
|
|
2568
2991
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -2663,10 +3086,10 @@ tag: any;
|
|
|
2663
3086
|
optional: boolean;
|
|
2664
3087
|
readonly: boolean;
|
|
2665
3088
|
ariaLabel: string;
|
|
2666
|
-
errorMessage: string;
|
|
2667
3089
|
indeterminate: boolean;
|
|
2668
3090
|
hasError: boolean;
|
|
2669
3091
|
modelValue: BentoCheckboxType | BentoCheckboxGroupItems;
|
|
3092
|
+
errorMessage: string;
|
|
2670
3093
|
}>;
|
|
2671
3094
|
|
|
2672
3095
|
export declare enum BentoCheckboxEvent {
|
|
@@ -2948,11 +3371,11 @@ required: boolean;
|
|
|
2948
3371
|
disabled: boolean;
|
|
2949
3372
|
optional: boolean;
|
|
2950
3373
|
readonly: boolean;
|
|
2951
|
-
tooltipText: string;
|
|
2952
|
-
hideLabel: boolean;
|
|
2953
|
-
errorMessage: string;
|
|
2954
3374
|
hasError: boolean;
|
|
2955
3375
|
modelValue: (string | number)[];
|
|
3376
|
+
errorMessage: string;
|
|
3377
|
+
tooltipText: string;
|
|
3378
|
+
hideLabel: boolean;
|
|
2956
3379
|
formId: string;
|
|
2957
3380
|
}>;
|
|
2958
3381
|
|
|
@@ -3009,7 +3432,7 @@ export declare type BentoCheckboxType = boolean | BentoMultiCheckboxType;
|
|
|
3009
3432
|
* `
|
|
3010
3433
|
* }
|
|
3011
3434
|
*/
|
|
3012
|
-
export declare const BentoChip: DefineComponent<
|
|
3435
|
+
export declare const BentoChip: DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoChipProps>, {
|
|
3013
3436
|
disabled: boolean;
|
|
3014
3437
|
readonly: boolean;
|
|
3015
3438
|
error: boolean;
|
|
@@ -3017,7 +3440,7 @@ condensed: boolean;
|
|
|
3017
3440
|
characterLimit: any;
|
|
3018
3441
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3019
3442
|
click: () => void;
|
|
3020
|
-
}, string, Readonly<ExtractPropTypes<
|
|
3443
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoChipProps>, {
|
|
3021
3444
|
disabled: boolean;
|
|
3022
3445
|
readonly: boolean;
|
|
3023
3446
|
error: boolean;
|
|
@@ -3099,7 +3522,7 @@ export declare const BentoClickOutsideDirective: {
|
|
|
3099
3522
|
* `
|
|
3100
3523
|
* }
|
|
3101
3524
|
*/
|
|
3102
|
-
export declare const BentoCodeSnippet:
|
|
3525
|
+
export declare const BentoCodeSnippet: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoCodeSnippetProps>, {
|
|
3103
3526
|
actionable: boolean;
|
|
3104
3527
|
actionableText: any;
|
|
3105
3528
|
content: string;
|
|
@@ -3109,7 +3532,7 @@ lang: BentoCodeSnippetSupportedLanguage;
|
|
|
3109
3532
|
langLabel: any;
|
|
3110
3533
|
loading: boolean;
|
|
3111
3534
|
variant: BentoCodeSnippetVariant;
|
|
3112
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<
|
|
3535
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoCodeSnippetProps>, {
|
|
3113
3536
|
actionable: boolean;
|
|
3114
3537
|
actionableText: any;
|
|
3115
3538
|
content: string;
|
|
@@ -3227,7 +3650,7 @@ declare type BentoColumnCellAction = OmitStrict<BentoButtonActionObject, 'varian
|
|
|
3227
3650
|
event?: BentoColumnCellActionEvent;
|
|
3228
3651
|
isShort?: true;
|
|
3229
3652
|
variant?: BentoColumnCellActionVariant;
|
|
3230
|
-
menuData?: BentoColumnCellActionMenuItem
|
|
3653
|
+
menuData?: Array<BentoColumnCellActionMenuItem>;
|
|
3231
3654
|
getCopyData?: (rowDataItem: BentoDatagridDataItem, columnKey: string) => string;
|
|
3232
3655
|
};
|
|
3233
3656
|
|
|
@@ -3241,7 +3664,7 @@ declare type BentoColumnCellActionMenuItem = {
|
|
|
3241
3664
|
event?: BentoColumnCellActionEvent;
|
|
3242
3665
|
} & OmitStrict<BentoMenuItem, 'handler'>;
|
|
3243
3666
|
|
|
3244
|
-
declare type BentoColumnCellActions = BentoColumnCellAction
|
|
3667
|
+
declare type BentoColumnCellActions = Array<BentoColumnCellAction>;
|
|
3245
3668
|
|
|
3246
3669
|
declare type BentoColumnCellActionsByCellDataFn = (rowDataItem: BentoDatagridDataItem, columnKey: string) => BentoColumnCellActions;
|
|
3247
3670
|
|
|
@@ -3264,7 +3687,7 @@ export declare interface BentoColumnWidthOverridesLookup {
|
|
|
3264
3687
|
* A component to display a country's label.
|
|
3265
3688
|
* The label comes in four variates: iso code, country name, phone number code or capital city.
|
|
3266
3689
|
*
|
|
3267
|
-
* @
|
|
3690
|
+
* @usage
|
|
3268
3691
|
* import { BentoCountry, BentoCountryCode } from '@adyen/bento-vue2';
|
|
3269
3692
|
*
|
|
3270
3693
|
* export default {
|
|
@@ -3274,64 +3697,18 @@ export declare interface BentoColumnWidthOverridesLookup {
|
|
|
3274
3697
|
* `
|
|
3275
3698
|
* }
|
|
3276
3699
|
*/
|
|
3277
|
-
export declare const BentoCountry: DefineComponent<
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
}
|
|
3286
|
-
|
|
3287
|
-
* Custom label text.
|
|
3288
|
-
*/
|
|
3289
|
-
label: {
|
|
3290
|
-
type: StringConstructor;
|
|
3291
|
-
default: any;
|
|
3292
|
-
};
|
|
3293
|
-
/**
|
|
3294
|
-
* Which label variant to display.
|
|
3295
|
-
* @values iso, name, phone_code, capital
|
|
3296
|
-
*/
|
|
3297
|
-
variant: {
|
|
3298
|
-
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
3299
|
-
default: BentoCountryVariant;
|
|
3300
|
-
validator: (value: BentoCountryVariant) => boolean;
|
|
3301
|
-
};
|
|
3302
|
-
}, {
|
|
3303
|
-
countryName: ComputedRef<string>;
|
|
3304
|
-
countryLabel: Ref<string>;
|
|
3305
|
-
isSummaryGridLayout: boolean;
|
|
3306
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
3307
|
-
/**
|
|
3308
|
-
* Two character country code ([ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3309
|
-
*/
|
|
3310
|
-
code: {
|
|
3311
|
-
type: PropType<BentoCountryCode | `${BentoCountryCode}`>;
|
|
3312
|
-
default: BentoCountryCode;
|
|
3313
|
-
validator: (value: BentoCountryCode) => boolean;
|
|
3314
|
-
};
|
|
3315
|
-
/**
|
|
3316
|
-
* Custom label text.
|
|
3317
|
-
*/
|
|
3318
|
-
label: {
|
|
3319
|
-
type: StringConstructor;
|
|
3320
|
-
default: any;
|
|
3321
|
-
};
|
|
3322
|
-
/**
|
|
3323
|
-
* Which label variant to display.
|
|
3324
|
-
* @values iso, name, phone_code, capital
|
|
3325
|
-
*/
|
|
3326
|
-
variant: {
|
|
3327
|
-
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
3328
|
-
default: BentoCountryVariant;
|
|
3329
|
-
validator: (value: BentoCountryVariant) => boolean;
|
|
3330
|
-
};
|
|
3331
|
-
}>>, {
|
|
3332
|
-
code: "MM" | "BD" | "BE" | "BF" | "BG" | "BA" | "BB" | "WF" | "BL" | "BM" | "BN" | "BO" | "BH" | "BI" | "BJ" | "BT" | "JM" | "BV" | "BW" | "WS" | "BQ" | "BR" | "BS" | "JE" | "BY" | "BZ" | "RU" | "RW" | "RS" | "TL" | "RE" | "TM" | "TJ" | "RO" | "TK" | "GW" | "GU" | "GT" | "GS" | "GR" | "GQ" | "GP" | "JP" | "GY" | "GG" | "GF" | "GE" | "GD" | "GB" | "GA" | "SV" | "GN" | "GM" | "GL" | "GI" | "GH" | "OM" | "TN" | "JO" | "HR" | "HT" | "HU" | "HK" | "HN" | "HM" | "VE" | "PR" | "PS" | "PW" | "PT" | "SJ" | "PY" | "IQ" | "PA" | "PF" | "PG" | "PE" | "PK" | "PH" | "PN" | "PL" | "PM" | "ZM" | "EH" | "EE" | "EG" | "ZA" | "EC" | "IT" | "VN" | "SB" | "ET" | "SO" | "ZW" | "SA" | "ES" | "ER" | "ME" | "MD" | "MG" | "MF" | "MA" | "MC" | "UZ" | "ML" | "MO" | "MN" | "MH" | "MK" | "MU" | "MT" | "MW" | "MV" | "MQ" | "MP" | "MS" | "MR" | "IM" | "UG" | "TZ" | "MY" | "MX" | "IL" | "FR" | "IO" | "SH" | "FI" | "FJ" | "FK" | "FM" | "FO" | "NI" | "NL" | "NO" | "NA" | "VU" | "NC" | "NE" | "NF" | "NG" | "NZ" | "NP" | "NR" | "NU" | "CK" | "XK" | "CI" | "CH" | "CO" | "CN" | "CM" | "CL" | "CC" | "CA" | "CG" | "CF" | "CD" | "CZ" | "CY" | "CX" | "CR" | "CW" | "CV" | "CU" | "SZ" | "SY" | "SX" | "KG" | "KE" | "SS" | "SR" | "KI" | "KH" | "KN" | "KM" | "ST" | "SK" | "KR" | "SI" | "KP" | "KW" | "SN" | "SM" | "SL" | "SC" | "KZ" | "KY" | "SG" | "SE" | "SD" | "DO" | "DM" | "DJ" | "DK" | "VG" | "DE" | "YE" | "DZ" | "US" | "UY" | "YT" | "UM" | "LB" | "LC" | "LA" | "TV" | "TW" | "TT" | "TR" | "LK" | "LI" | "LV" | "TO" | "LT" | "LU" | "LR" | "LS" | "TH" | "TF" | "TG" | "TD" | "TC" | "LY" | "VA" | "VC" | "AE" | "AD" | "AG" | "AF" | "AI" | "VI" | "IS" | "IR" | "AM" | "AL" | "AO" | "AQ" | "AS" | "AR" | "AU" | "AT" | "AW" | "IN" | "AX" | "AZ" | "IE" | "ID" | "UA" | "QA" | "MZ" | "ZZ" | BentoCountryCode;
|
|
3700
|
+
export declare const BentoCountry: DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoCountryProps>, {
|
|
3701
|
+
code: BentoCountryCode;
|
|
3702
|
+
label: any;
|
|
3703
|
+
variant: BentoCountryVariant;
|
|
3704
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoCountryProps>, {
|
|
3705
|
+
code: BentoCountryCode;
|
|
3706
|
+
label: any;
|
|
3707
|
+
variant: BentoCountryVariant;
|
|
3708
|
+
}>>>, {
|
|
3709
|
+
code: BentoCountryCode | `${BentoCountryCode}`;
|
|
3333
3710
|
label: string;
|
|
3334
|
-
variant:
|
|
3711
|
+
variant: BentoCountryVariant | `${BentoCountryVariant}`;
|
|
3335
3712
|
}>;
|
|
3336
3713
|
|
|
3337
3714
|
export declare enum BentoCountryCode {
|
|
@@ -3594,7 +3971,23 @@ export declare type BentoCountryListboxOptionItem = OmitStrict<BentoListboxOptio
|
|
|
3594
3971
|
label?: string;
|
|
3595
3972
|
};
|
|
3596
3973
|
|
|
3597
|
-
export declare type BentoCountryListboxOptions = BentoCountryListboxOptionItem
|
|
3974
|
+
export declare type BentoCountryListboxOptions = Array<BentoCountryListboxOptionItem>;
|
|
3975
|
+
|
|
3976
|
+
export declare interface BentoCountryProps {
|
|
3977
|
+
/**
|
|
3978
|
+
* Two character country code ([ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3979
|
+
*/
|
|
3980
|
+
code?: BentoCountryCode | `${BentoCountryCode}`;
|
|
3981
|
+
/**
|
|
3982
|
+
* Custom label text.
|
|
3983
|
+
*/
|
|
3984
|
+
label?: string;
|
|
3985
|
+
/**
|
|
3986
|
+
* Which label variant to display.
|
|
3987
|
+
* @values iso, name, phone_code, capital
|
|
3988
|
+
*/
|
|
3989
|
+
variant?: BentoCountryVariant | `${BentoCountryVariant}`;
|
|
3990
|
+
}
|
|
3598
3991
|
|
|
3599
3992
|
/**
|
|
3600
3993
|
* @deprecated for usage with properties since version 2.0. Use the string literal instead.
|
|
@@ -3624,13 +4017,13 @@ export declare enum BentoCountryVariant {
|
|
|
3624
4017
|
* `
|
|
3625
4018
|
* }
|
|
3626
4019
|
*/
|
|
3627
|
-
export declare const BentoCurrency: DefineComponent<
|
|
4020
|
+
export declare const BentoCurrency: DefineComponent<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoCurrencyProps>, {
|
|
3628
4021
|
currency: BentoCurrencyISOCode;
|
|
3629
4022
|
disableTypography: boolean;
|
|
3630
4023
|
majorUnits: boolean;
|
|
3631
4024
|
value: any;
|
|
3632
4025
|
currencySign: string;
|
|
3633
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
4026
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoCurrencyProps>, {
|
|
3634
4027
|
currency: BentoCurrencyISOCode;
|
|
3635
4028
|
disableTypography: boolean;
|
|
3636
4029
|
majorUnits: boolean;
|
|
@@ -3639,8 +4032,8 @@ currencySign: string;
|
|
|
3639
4032
|
}>>>, {
|
|
3640
4033
|
value: number;
|
|
3641
4034
|
disableTypography: boolean;
|
|
3642
|
-
currency: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
|
|
3643
4035
|
currencySign: Intl.NumberFormatOptions["currencySign"];
|
|
4036
|
+
currency: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
|
|
3644
4037
|
majorUnits: boolean;
|
|
3645
4038
|
}>;
|
|
3646
4039
|
|
|
@@ -3820,7 +4213,7 @@ export declare type BentoCurrencyListboxOptionItem = OmitStrict<BentoListboxOpti
|
|
|
3820
4213
|
value: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
|
|
3821
4214
|
};
|
|
3822
4215
|
|
|
3823
|
-
export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem
|
|
4216
|
+
export declare type BentoCurrencyListboxOptions = Array<BentoCurrencyListboxOptionItem>;
|
|
3824
4217
|
|
|
3825
4218
|
export declare interface BentoCurrencyProps {
|
|
3826
4219
|
/**
|
|
@@ -3877,7 +4270,7 @@ export declare interface BentoCurrencyProps {
|
|
|
3877
4270
|
* `
|
|
3878
4271
|
* }
|
|
3879
4272
|
*/
|
|
3880
|
-
export declare const BentoDashboardSection:
|
|
4273
|
+
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_55<DefineComponent<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_62<{
|
|
3881
4274
|
/**
|
|
3882
4275
|
* The header of the section
|
|
3883
4276
|
*/
|
|
@@ -3888,7 +4281,7 @@ header: BentoDashboardTemplateHeader;
|
|
|
3888
4281
|
halfWidth?: boolean;
|
|
3889
4282
|
}>, {
|
|
3890
4283
|
halfWidth: boolean;
|
|
3891
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
4284
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_62<{
|
|
3892
4285
|
/**
|
|
3893
4286
|
* The header of the section
|
|
3894
4287
|
*/
|
|
@@ -3936,7 +4329,7 @@ halfWidth: boolean;
|
|
|
3936
4329
|
* `
|
|
3937
4330
|
* }
|
|
3938
4331
|
*/
|
|
3939
|
-
export declare const BentoDashboardTemplate:
|
|
4332
|
+
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_54<DefineComponent<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_61<{
|
|
3940
4333
|
/**
|
|
3941
4334
|
* The header that goes to the top of the template
|
|
3942
4335
|
*/
|
|
@@ -3959,7 +4352,7 @@ stickyFilters?: boolean;
|
|
|
3959
4352
|
tabs: any;
|
|
3960
4353
|
stickyTabs: boolean;
|
|
3961
4354
|
stickyFilters: boolean;
|
|
3962
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
4355
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_61<{
|
|
3963
4356
|
/**
|
|
3964
4357
|
* The header that goes to the top of the template
|
|
3965
4358
|
*/
|
|
@@ -3998,7 +4391,7 @@ export declare type BentoDashboardTemplateTab = InstanceType<typeof BentoTab>['$
|
|
|
3998
4391
|
|
|
3999
4392
|
export declare type BentoDashboardTemplateTabs = {
|
|
4000
4393
|
activeTabIndex?: number;
|
|
4001
|
-
tabs: BentoDashboardTemplateTab
|
|
4394
|
+
tabs: Array<BentoDashboardTemplateTab>;
|
|
4002
4395
|
};
|
|
4003
4396
|
|
|
4004
4397
|
/**
|
|
@@ -4117,7 +4510,7 @@ declare interface BentoDashedUnderlineProps_2 {
|
|
|
4117
4510
|
/**
|
|
4118
4511
|
* Position the tooltip should take if space is available.
|
|
4119
4512
|
*/
|
|
4120
|
-
tooltipPosition?:
|
|
4513
|
+
tooltipPosition?: BentoTooltipPosition_4 | `${BentoTooltipPosition_4}`;
|
|
4121
4514
|
}
|
|
4122
4515
|
|
|
4123
4516
|
export declare type BentoDashedUnderlineTeleport = BentoTeleportProps;
|
|
@@ -4187,7 +4580,7 @@ default: boolean;
|
|
|
4187
4580
|
* Column definitions using 'key' to relate to data object.
|
|
4188
4581
|
*/
|
|
4189
4582
|
columns: {
|
|
4190
|
-
type: PropType<BentoColumn
|
|
4583
|
+
type: PropType<Array<BentoColumn>>;
|
|
4191
4584
|
required: true;
|
|
4192
4585
|
};
|
|
4193
4586
|
/**
|
|
@@ -4320,7 +4713,7 @@ default: boolean;
|
|
|
4320
4713
|
* Highlighted items
|
|
4321
4714
|
*/
|
|
4322
4715
|
highlightedRows: {
|
|
4323
|
-
type: PropType<BentoDatagridDataItemId
|
|
4716
|
+
type: PropType<Array<BentoDatagridDataItemId>>;
|
|
4324
4717
|
default: () => any[];
|
|
4325
4718
|
};
|
|
4326
4719
|
/**
|
|
@@ -4372,6 +4765,7 @@ default: any;
|
|
|
4372
4765
|
};
|
|
4373
4766
|
/**
|
|
4374
4767
|
* Adds an extra option when selecting all items that allows user to select items in other pages too.
|
|
4768
|
+
* Needs pagination.totalCount to be set.
|
|
4375
4769
|
*/
|
|
4376
4770
|
selectableAcrossPages: {
|
|
4377
4771
|
type: BooleanConstructor;
|
|
@@ -4418,7 +4812,7 @@ default: boolean;
|
|
|
4418
4812
|
* Selected items
|
|
4419
4813
|
*/
|
|
4420
4814
|
selection: {
|
|
4421
|
-
type: PropType<BentoDatagridDataItemId
|
|
4815
|
+
type: PropType<Array<BentoDatagridDataItemId>>;
|
|
4422
4816
|
default: () => any[];
|
|
4423
4817
|
};
|
|
4424
4818
|
/**
|
|
@@ -4440,7 +4834,7 @@ default: (_item: BentoDatagridDataItem) => true;
|
|
|
4440
4834
|
* It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
|
|
4441
4835
|
*/
|
|
4442
4836
|
sortBy: {
|
|
4443
|
-
type: PropType<BentoDatagridSortByColumn
|
|
4837
|
+
type: PropType<Array<BentoDatagridSortByColumn>>;
|
|
4444
4838
|
default: () => any[];
|
|
4445
4839
|
};
|
|
4446
4840
|
/**
|
|
@@ -4506,7 +4900,7 @@ default: boolean;
|
|
|
4506
4900
|
* Column definitions using 'key' to relate to data object.
|
|
4507
4901
|
*/
|
|
4508
4902
|
columns: {
|
|
4509
|
-
type: PropType<BentoColumn
|
|
4903
|
+
type: PropType<Array<BentoColumn>>;
|
|
4510
4904
|
required: true;
|
|
4511
4905
|
};
|
|
4512
4906
|
/**
|
|
@@ -4639,7 +5033,7 @@ default: boolean;
|
|
|
4639
5033
|
* Highlighted items
|
|
4640
5034
|
*/
|
|
4641
5035
|
highlightedRows: {
|
|
4642
|
-
type: PropType<BentoDatagridDataItemId
|
|
5036
|
+
type: PropType<Array<BentoDatagridDataItemId>>;
|
|
4643
5037
|
default: () => any[];
|
|
4644
5038
|
};
|
|
4645
5039
|
/**
|
|
@@ -4691,6 +5085,7 @@ default: any;
|
|
|
4691
5085
|
};
|
|
4692
5086
|
/**
|
|
4693
5087
|
* Adds an extra option when selecting all items that allows user to select items in other pages too.
|
|
5088
|
+
* Needs pagination.totalCount to be set.
|
|
4694
5089
|
*/
|
|
4695
5090
|
selectableAcrossPages: {
|
|
4696
5091
|
type: BooleanConstructor;
|
|
@@ -4737,7 +5132,7 @@ default: boolean;
|
|
|
4737
5132
|
* Selected items
|
|
4738
5133
|
*/
|
|
4739
5134
|
selection: {
|
|
4740
|
-
type: PropType<BentoDatagridDataItemId
|
|
5135
|
+
type: PropType<Array<BentoDatagridDataItemId>>;
|
|
4741
5136
|
default: () => any[];
|
|
4742
5137
|
};
|
|
4743
5138
|
/**
|
|
@@ -4759,7 +5154,7 @@ default: (_item: BentoDatagridDataItem) => true;
|
|
|
4759
5154
|
* It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
|
|
4760
5155
|
*/
|
|
4761
5156
|
sortBy: {
|
|
4762
|
-
type: PropType<BentoDatagridSortByColumn
|
|
5157
|
+
type: PropType<Array<BentoDatagridSortByColumn>>;
|
|
4763
5158
|
default: () => any[];
|
|
4764
5159
|
};
|
|
4765
5160
|
/**
|
|
@@ -4839,17 +5234,17 @@ export declare enum BentoDatagridAriaSortValue {
|
|
|
4839
5234
|
NONE = "none"
|
|
4840
5235
|
}
|
|
4841
5236
|
|
|
4842
|
-
export declare type BentoDatagridData = BentoDatagridDataItem
|
|
5237
|
+
export declare type BentoDatagridData = Array<BentoDatagridDataItem>;
|
|
4843
5238
|
|
|
4844
5239
|
export declare interface BentoDatagridDataItem {
|
|
4845
5240
|
id?: BentoDatagridDataItemId;
|
|
4846
|
-
children?: BentoDatagridDataItem
|
|
5241
|
+
children?: Array<BentoDatagridDataItem>;
|
|
4847
5242
|
[fieldName: string]: unknown;
|
|
4848
5243
|
}
|
|
4849
5244
|
|
|
4850
5245
|
export declare type BentoDatagridDataItemId = string | number;
|
|
4851
5246
|
|
|
4852
|
-
export declare type BentoDatagridEmptyStateProps =
|
|
5247
|
+
export declare type BentoDatagridEmptyStateProps = BentoEmptyStateProps;
|
|
4853
5248
|
|
|
4854
5249
|
export declare enum BentoDatagridEvent {
|
|
4855
5250
|
COLUMNS = "columns",
|
|
@@ -4886,7 +5281,7 @@ declare type BentoDataGridRowActionsFn = (rowDataItem: BentoDatagridDataItem) =>
|
|
|
4886
5281
|
|
|
4887
5282
|
declare type BentoDataGridRowActionsProp = BentoColumnCellActions | BentoDataGridRowActionsFn;
|
|
4888
5283
|
|
|
4889
|
-
export declare type BentoDatagridSelection = BentoDatagridDataItemId
|
|
5284
|
+
export declare type BentoDatagridSelection = Array<BentoDatagridDataItemId>;
|
|
4890
5285
|
|
|
4891
5286
|
export declare type BentoDatagridShouldShowNestedContentFn = (item: BentoDatagridDataItem) => boolean;
|
|
4892
5287
|
|
|
@@ -4915,7 +5310,7 @@ export declare enum BentoDatagridSortDirection {
|
|
|
4915
5310
|
* `
|
|
4916
5311
|
* }
|
|
4917
5312
|
*/
|
|
4918
|
-
export declare const BentoDataGridStaticIcon: DefineComponent<
|
|
5313
|
+
export declare const BentoDataGridStaticIcon: DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<{
|
|
4919
5314
|
/**
|
|
4920
5315
|
* Renderes the icon with color.
|
|
4921
5316
|
*/
|
|
@@ -4931,7 +5326,7 @@ variant?: BentoDataGridStaticIconVariant;
|
|
|
4931
5326
|
}>, {
|
|
4932
5327
|
variant: string;
|
|
4933
5328
|
colored: boolean;
|
|
4934
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5329
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<{
|
|
4935
5330
|
/**
|
|
4936
5331
|
* Renderes the icon with color.
|
|
4937
5332
|
*/
|
|
@@ -4981,11 +5376,11 @@ export declare enum BentoDatagridStyleState {
|
|
|
4981
5376
|
* `
|
|
4982
5377
|
* }
|
|
4983
5378
|
*/
|
|
4984
|
-
export declare const BentoDataGridSummaryCell: DefineComponent<
|
|
5379
|
+
export declare const BentoDataGridSummaryCell: DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<BentoDataGridSummaryCellProps>, {
|
|
4985
5380
|
dashedUnderline: () => {};
|
|
4986
5381
|
searchTerm: string;
|
|
4987
5382
|
tooltipText: any;
|
|
4988
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5383
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<BentoDataGridSummaryCellProps>, {
|
|
4989
5384
|
dashedUnderline: () => {};
|
|
4990
5385
|
searchTerm: string;
|
|
4991
5386
|
tooltipText: any;
|
|
@@ -5005,7 +5400,7 @@ declare interface BentoDataGridSummaryCellProps {
|
|
|
5005
5400
|
* An array of strings to display. If there is only one item, it will be displayed as plain text.
|
|
5006
5401
|
* If there are multiple items, they will be displayed in a popover.
|
|
5007
5402
|
*/
|
|
5008
|
-
items: string
|
|
5403
|
+
items: Array<string>;
|
|
5009
5404
|
/**
|
|
5010
5405
|
* Props to pass to the underlying `BentoDashedUnderline` component, allowing for customization of the popover.
|
|
5011
5406
|
*/
|
|
@@ -5043,7 +5438,7 @@ declare interface BentoDataGridSummaryCellProps {
|
|
|
5043
5438
|
* `
|
|
5044
5439
|
* }
|
|
5045
5440
|
*/
|
|
5046
|
-
export declare const BentoDataGridTemplate:
|
|
5441
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_56<DefineComponent< {
|
|
5047
5442
|
/**
|
|
5048
5443
|
* The header that goes to the top of the template
|
|
5049
5444
|
*/
|
|
@@ -5246,7 +5641,7 @@ export declare type BentoDataGridTemplateTab = InstanceType<typeof BentoTab>['$p
|
|
|
5246
5641
|
|
|
5247
5642
|
export declare type BentoDataGridTemplateTabs = {
|
|
5248
5643
|
activeTabIndex?: number;
|
|
5249
|
-
tabs: BentoDataGridTemplateTab
|
|
5644
|
+
tabs: Array<BentoDataGridTemplateTab>;
|
|
5250
5645
|
};
|
|
5251
5646
|
|
|
5252
5647
|
/**
|
|
@@ -5262,11 +5657,11 @@ export declare type BentoDataGridTemplateTabs = {
|
|
|
5262
5657
|
* `
|
|
5263
5658
|
* }
|
|
5264
5659
|
*/
|
|
5265
|
-
export declare const BentoDate: DefineComponent<
|
|
5660
|
+
export declare const BentoDate: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoDateProps>, {
|
|
5266
5661
|
date: any;
|
|
5267
5662
|
format: BentoDateFormat;
|
|
5268
5663
|
disableTypography: boolean;
|
|
5269
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5664
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoDateProps>, {
|
|
5270
5665
|
date: any;
|
|
5271
5666
|
format: BentoDateFormat;
|
|
5272
5667
|
disableTypography: boolean;
|
|
@@ -5333,271 +5728,100 @@ export declare enum BentoDateFormat {
|
|
|
5333
5728
|
* }
|
|
5334
5729
|
* }
|
|
5335
5730
|
*/
|
|
5336
|
-
export declare const BentoDatePicker: DefineComponent<
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
};
|
|
5373
|
-
/**
|
|
5374
|
-
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
5375
|
-
*/
|
|
5376
|
-
min: {
|
|
5377
|
-
type: DateConstructor;
|
|
5378
|
-
default: any;
|
|
5379
|
-
};
|
|
5380
|
-
/**
|
|
5381
|
-
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
5382
|
-
*/
|
|
5383
|
-
max: {
|
|
5384
|
-
type: DateConstructor;
|
|
5385
|
-
default: any;
|
|
5386
|
-
};
|
|
5387
|
-
/**
|
|
5388
|
-
* Text that is displayed as a label above the element.
|
|
5389
|
-
*/
|
|
5390
|
-
label: {
|
|
5391
|
-
type: StringConstructor;
|
|
5392
|
-
default: any;
|
|
5393
|
-
};
|
|
5394
|
-
/**
|
|
5395
|
-
* Highlights the dropdown is optional.
|
|
5396
|
-
*/
|
|
5397
|
-
optional: {
|
|
5398
|
-
type: BooleanConstructor;
|
|
5399
|
-
default: boolean;
|
|
5400
|
-
};
|
|
5401
|
-
/**
|
|
5402
|
-
* The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date picker.
|
|
5403
|
-
*/
|
|
5404
|
-
readonly: {
|
|
5405
|
-
type: BooleanConstructor;
|
|
5406
|
-
default: boolean;
|
|
5407
|
-
};
|
|
5408
|
-
/**
|
|
5409
|
-
* Highlights the dropdown is required.
|
|
5410
|
-
*/
|
|
5411
|
-
required: {
|
|
5412
|
-
type: BooleanConstructor;
|
|
5413
|
-
default: boolean;
|
|
5414
|
-
};
|
|
5415
|
-
/**
|
|
5416
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
5417
|
-
*/
|
|
5418
|
-
tooltipText: {
|
|
5419
|
-
type: StringConstructor;
|
|
5420
|
-
default: any;
|
|
5421
|
-
};
|
|
5422
|
-
/**
|
|
5423
|
-
* Selected date
|
|
5424
|
-
*/
|
|
5425
|
-
value: {
|
|
5426
|
-
type: PropType<BentoDatePickerValue>;
|
|
5427
|
-
default: any;
|
|
5428
|
-
};
|
|
5429
|
-
/**
|
|
5430
|
-
* The type of calendar to display. Defaults to showing days.
|
|
5431
|
-
*/
|
|
5432
|
-
variant: {
|
|
5433
|
-
type: PropType<`${CalendarVariant}`>;
|
|
5434
|
-
default: any;
|
|
5435
|
-
};
|
|
5436
|
-
/**
|
|
5437
|
-
* Default start date for the calendar pane
|
|
5438
|
-
*/
|
|
5439
|
-
defaultDisplayMonth: {
|
|
5440
|
-
type: StringConstructor;
|
|
5441
|
-
default: any;
|
|
5442
|
-
validator: (value: string) => boolean;
|
|
5443
|
-
};
|
|
5444
|
-
}, {
|
|
5445
|
-
inputContainerRef: any;
|
|
5446
|
-
calendarContainerRef: any;
|
|
5447
|
-
dateDisplayValue: ComputedRef<string>;
|
|
5448
|
-
datePickerContainerId: string;
|
|
5449
|
-
descriptionConditionalClasses: ComputedRef< {
|
|
5450
|
-
'b-date-picker__description--error': string;
|
|
5451
|
-
}>;
|
|
5452
|
-
isDateIncorrect: Ref<boolean>;
|
|
5453
|
-
isDatePickerOpen: Ref<boolean>;
|
|
5454
|
-
isReadOnly: ComputedRef<boolean>;
|
|
5455
|
-
dateErrorText: ComputedRef<string>;
|
|
5456
|
-
labelId: string;
|
|
5457
|
-
descriptionId: string;
|
|
5458
|
-
errorId: string;
|
|
5459
|
-
dateErrorId: string;
|
|
5460
|
-
popoverAriaLabel: ComputedRef<string>;
|
|
5461
|
-
ariaDescribedBy: ComputedRef<string>;
|
|
5462
|
-
textInputValue: Ref<string>;
|
|
5463
|
-
initialFocusOnDatePickerOpen: any;
|
|
5464
|
-
closeDatePicker: () => void;
|
|
5465
|
-
clearDatePickerValue: () => Promise<void>;
|
|
5466
|
-
onDateSelected: (selectedDate: Date) => void;
|
|
5467
|
-
openDatePicker: () => void;
|
|
5468
|
-
onDateKeyDown: (event: KeyboardEvent) => void;
|
|
5469
|
-
onDateInputChange: (stringDate: string) => void;
|
|
5470
|
-
onSpaceBarOrEnter: (event: KeyboardEvent) => Promise<void>;
|
|
5471
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDatePickerEvent[], string, Readonly<ExtractPropTypes< {
|
|
5472
|
-
/**
|
|
5473
|
-
* Descriptive supporting text visbile underneath the dropdown.
|
|
5474
|
-
*/
|
|
5475
|
-
description: {
|
|
5476
|
-
type: StringConstructor;
|
|
5477
|
-
default: any;
|
|
5478
|
-
};
|
|
5479
|
-
/**
|
|
5480
|
-
* Disables dropdown functionality.
|
|
5481
|
-
*/
|
|
5482
|
-
disabled: {
|
|
5483
|
-
type: BooleanConstructor;
|
|
5484
|
-
default: boolean;
|
|
5485
|
-
};
|
|
5486
|
-
/**
|
|
5487
|
-
* Displays component in an error state with an error message
|
|
5488
|
-
*/
|
|
5489
|
-
errorMessage: {
|
|
5490
|
-
type: StringConstructor;
|
|
5491
|
-
default: any;
|
|
5492
|
-
};
|
|
5493
|
-
/**
|
|
5494
|
-
* Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
5495
|
-
*/
|
|
5496
|
-
firstDayOfWeek: {
|
|
5497
|
-
type: PropType<CalendarMonthFirstDayOfWeek>;
|
|
5498
|
-
default: CalendarMonthFirstDayOfWeek;
|
|
5499
|
-
validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
|
|
5500
|
-
};
|
|
5501
|
-
/**
|
|
5502
|
-
* Indicate if a date should be disabled or not
|
|
5503
|
-
*/
|
|
5504
|
-
isDateDisabled: {
|
|
5505
|
-
type: PropType<CalendarMonthIsDateDisabled>;
|
|
5506
|
-
default: any;
|
|
5507
|
-
};
|
|
5508
|
-
/**
|
|
5509
|
-
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
5510
|
-
*/
|
|
5511
|
-
min: {
|
|
5512
|
-
type: DateConstructor;
|
|
5513
|
-
default: any;
|
|
5514
|
-
};
|
|
5515
|
-
/**
|
|
5516
|
-
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
5517
|
-
*/
|
|
5518
|
-
max: {
|
|
5519
|
-
type: DateConstructor;
|
|
5520
|
-
default: any;
|
|
5521
|
-
};
|
|
5522
|
-
/**
|
|
5523
|
-
* Text that is displayed as a label above the element.
|
|
5524
|
-
*/
|
|
5525
|
-
label: {
|
|
5526
|
-
type: StringConstructor;
|
|
5527
|
-
default: any;
|
|
5528
|
-
};
|
|
5529
|
-
/**
|
|
5530
|
-
* Highlights the dropdown is optional.
|
|
5531
|
-
*/
|
|
5532
|
-
optional: {
|
|
5533
|
-
type: BooleanConstructor;
|
|
5534
|
-
default: boolean;
|
|
5535
|
-
};
|
|
5536
|
-
/**
|
|
5537
|
-
* The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date picker.
|
|
5538
|
-
*/
|
|
5539
|
-
readonly: {
|
|
5540
|
-
type: BooleanConstructor;
|
|
5541
|
-
default: boolean;
|
|
5542
|
-
};
|
|
5543
|
-
/**
|
|
5544
|
-
* Highlights the dropdown is required.
|
|
5545
|
-
*/
|
|
5546
|
-
required: {
|
|
5547
|
-
type: BooleanConstructor;
|
|
5548
|
-
default: boolean;
|
|
5549
|
-
};
|
|
5550
|
-
/**
|
|
5551
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
5552
|
-
*/
|
|
5553
|
-
tooltipText: {
|
|
5554
|
-
type: StringConstructor;
|
|
5555
|
-
default: any;
|
|
5556
|
-
};
|
|
5557
|
-
/**
|
|
5558
|
-
* Selected date
|
|
5559
|
-
*/
|
|
5560
|
-
value: {
|
|
5561
|
-
type: PropType<BentoDatePickerValue>;
|
|
5562
|
-
default: any;
|
|
5563
|
-
};
|
|
5564
|
-
/**
|
|
5565
|
-
* The type of calendar to display. Defaults to showing days.
|
|
5566
|
-
*/
|
|
5567
|
-
variant: {
|
|
5568
|
-
type: PropType<`${CalendarVariant}`>;
|
|
5569
|
-
default: any;
|
|
5570
|
-
};
|
|
5571
|
-
/**
|
|
5572
|
-
* Default start date for the calendar pane
|
|
5573
|
-
*/
|
|
5574
|
-
defaultDisplayMonth: {
|
|
5575
|
-
type: StringConstructor;
|
|
5576
|
-
default: any;
|
|
5577
|
-
validator: (value: string) => boolean;
|
|
5578
|
-
};
|
|
5579
|
-
}>>, {
|
|
5580
|
-
value: Date;
|
|
5731
|
+
export declare const BentoDatePicker: DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDatePickerProps>, {
|
|
5732
|
+
defaultDisplayMonth: any;
|
|
5733
|
+
description: any;
|
|
5734
|
+
disabled: boolean;
|
|
5735
|
+
errorMessage: any;
|
|
5736
|
+
firstDayOfWeek: number;
|
|
5737
|
+
isDateDisabled: any;
|
|
5738
|
+
label: any;
|
|
5739
|
+
max: any;
|
|
5740
|
+
min: any;
|
|
5741
|
+
optional: boolean;
|
|
5742
|
+
placeholder: any;
|
|
5743
|
+
readonly: boolean;
|
|
5744
|
+
required: boolean;
|
|
5745
|
+
tooltipText: any;
|
|
5746
|
+
value: any;
|
|
5747
|
+
variant: any;
|
|
5748
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDatePickerEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDatePickerProps>, {
|
|
5749
|
+
defaultDisplayMonth: any;
|
|
5750
|
+
description: any;
|
|
5751
|
+
disabled: boolean;
|
|
5752
|
+
errorMessage: any;
|
|
5753
|
+
firstDayOfWeek: number;
|
|
5754
|
+
isDateDisabled: any;
|
|
5755
|
+
label: any;
|
|
5756
|
+
max: any;
|
|
5757
|
+
min: any;
|
|
5758
|
+
optional: boolean;
|
|
5759
|
+
placeholder: any;
|
|
5760
|
+
readonly: boolean;
|
|
5761
|
+
required: boolean;
|
|
5762
|
+
tooltipText: any;
|
|
5763
|
+
value: any;
|
|
5764
|
+
variant: any;
|
|
5765
|
+
}>>>, {
|
|
5766
|
+
value: BentoDatePickerValue | null;
|
|
5581
5767
|
description: string;
|
|
5582
5768
|
label: string;
|
|
5583
|
-
variant:
|
|
5769
|
+
variant: `${CalendarVariant}`;
|
|
5584
5770
|
required: boolean;
|
|
5585
5771
|
disabled: boolean;
|
|
5586
5772
|
optional: boolean;
|
|
5587
5773
|
readonly: boolean;
|
|
5774
|
+
errorMessage: string;
|
|
5775
|
+
tooltipText: string;
|
|
5588
5776
|
isDateDisabled: CalendarMonthIsDateDisabled;
|
|
5589
5777
|
firstDayOfWeek: CalendarMonthFirstDayOfWeek;
|
|
5590
|
-
min: Date;
|
|
5591
|
-
max: Date;
|
|
5592
|
-
defaultDisplayMonth: string;
|
|
5593
|
-
|
|
5594
|
-
errorMessage: string;
|
|
5778
|
+
min: Date | null;
|
|
5779
|
+
max: Date | null;
|
|
5780
|
+
defaultDisplayMonth: string | null;
|
|
5781
|
+
placeholder: string;
|
|
5595
5782
|
}>;
|
|
5596
5783
|
|
|
5597
5784
|
export declare enum BentoDatePickerEvent {
|
|
5598
5785
|
INPUT = "input"
|
|
5599
5786
|
}
|
|
5600
5787
|
|
|
5788
|
+
export declare interface BentoDatePickerProps extends FormField {
|
|
5789
|
+
/**
|
|
5790
|
+
* Default start date for the calendar pane.
|
|
5791
|
+
* Expected format: YYYY-MM-DD
|
|
5792
|
+
* @default null
|
|
5793
|
+
*/
|
|
5794
|
+
defaultDisplayMonth?: string | null;
|
|
5795
|
+
/**
|
|
5796
|
+
* Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
5797
|
+
* @default 1
|
|
5798
|
+
*/
|
|
5799
|
+
firstDayOfWeek?: CalendarMonthFirstDayOfWeek;
|
|
5800
|
+
/**
|
|
5801
|
+
* Indicate if a date should be disabled or not
|
|
5802
|
+
*/
|
|
5803
|
+
isDateDisabled?: CalendarMonthIsDateDisabled;
|
|
5804
|
+
/**
|
|
5805
|
+
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
5806
|
+
* @default null
|
|
5807
|
+
*/
|
|
5808
|
+
min?: Date | null;
|
|
5809
|
+
/**
|
|
5810
|
+
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
5811
|
+
* @default null
|
|
5812
|
+
*/
|
|
5813
|
+
max?: Date | null;
|
|
5814
|
+
/**
|
|
5815
|
+
* Selected date
|
|
5816
|
+
* @default null
|
|
5817
|
+
*/
|
|
5818
|
+
value?: BentoDatePickerValue | null;
|
|
5819
|
+
/**
|
|
5820
|
+
* The type of calendar to display. Defaults to showing days.
|
|
5821
|
+
*/
|
|
5822
|
+
variant?: `${CalendarVariant}`;
|
|
5823
|
+
}
|
|
5824
|
+
|
|
5601
5825
|
export declare type BentoDatePickerValue = Date;
|
|
5602
5826
|
|
|
5603
5827
|
export declare interface BentoDateProps {
|
|
@@ -5639,368 +5863,91 @@ export declare type BentoDateRangeFilterValue = BentoDateRangePickerValue | null
|
|
|
5639
5863
|
/**
|
|
5640
5864
|
* Date range picker selector.
|
|
5641
5865
|
*
|
|
5642
|
-
* @example
|
|
5643
|
-
* import { BentoDateRangePicker } from '@adyen/bento-vue2';
|
|
5644
|
-
*
|
|
5645
|
-
* export default {
|
|
5646
|
-
* components: { BentoDateRangePicker },
|
|
5647
|
-
* template: `
|
|
5648
|
-
* <bento-date-range-picker
|
|
5649
|
-
* label="Label"
|
|
5650
|
-
* description="Supporting text"
|
|
5651
|
-
* required
|
|
5652
|
-
* optional
|
|
5653
|
-
* disabled
|
|
5654
|
-
* @input="onDateChanged"
|
|
5655
|
-
* v-model="selectedDate"
|
|
5656
|
-
* />
|
|
5657
|
-
* `,
|
|
5658
|
-
* setup() {
|
|
5659
|
-
* const selectedDate = ref(new Date()); // reactive({ startDate: new Date(), endDate: new Date() })
|
|
5660
|
-
* return {
|
|
5661
|
-
* selectedDate,
|
|
5662
|
-
* }
|
|
5663
|
-
* }
|
|
5664
|
-
* }
|
|
5665
|
-
*/
|
|
5666
|
-
export declare const BentoDateRangePicker: DefineComponent<
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
}
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
};
|
|
5711
|
-
/**
|
|
5712
|
-
* Indicate if a date should be disabled or not
|
|
5713
|
-
*/
|
|
5714
|
-
isDateDisabled: {
|
|
5715
|
-
type: PropType<CalendarMonthIsDateDisabled>;
|
|
5716
|
-
default: any;
|
|
5717
|
-
};
|
|
5718
|
-
/**
|
|
5719
|
-
* Text that is displayed as a label above the element.
|
|
5720
|
-
*/
|
|
5721
|
-
label: {
|
|
5722
|
-
type: StringConstructor;
|
|
5723
|
-
default: any;
|
|
5724
|
-
};
|
|
5725
|
-
/**
|
|
5726
|
-
* Upon opening date range picker, end date's month will be pre-selected.
|
|
5727
|
-
*/
|
|
5728
|
-
showEndDateOnOpen: {
|
|
5729
|
-
type: BooleanConstructor;
|
|
5730
|
-
default: boolean;
|
|
5731
|
-
};
|
|
5732
|
-
/**
|
|
5733
|
-
* Highlights the dropdown is optional.
|
|
5734
|
-
*/
|
|
5735
|
-
optional: {
|
|
5736
|
-
type: BooleanConstructor;
|
|
5737
|
-
default: boolean;
|
|
5738
|
-
};
|
|
5739
|
-
/**
|
|
5740
|
-
* The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date range picker.
|
|
5741
|
-
*/
|
|
5742
|
-
readonly: {
|
|
5743
|
-
type: BooleanConstructor;
|
|
5744
|
-
default: boolean;
|
|
5745
|
-
};
|
|
5746
|
-
/**
|
|
5747
|
-
* Highlights the dropdown is required.
|
|
5748
|
-
*/
|
|
5749
|
-
required: {
|
|
5750
|
-
type: BooleanConstructor;
|
|
5751
|
-
default: boolean;
|
|
5752
|
-
};
|
|
5753
|
-
/**
|
|
5754
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
5755
|
-
*/
|
|
5756
|
-
tooltipText: {
|
|
5757
|
-
type: StringConstructor;
|
|
5758
|
-
default: any;
|
|
5759
|
-
};
|
|
5760
|
-
/**
|
|
5761
|
-
* Enables the range selector.
|
|
5762
|
-
* If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
|
|
5763
|
-
* `label` - label of custom range item.
|
|
5764
|
-
* `value` - a unique key of the custom range item.
|
|
5765
|
-
* `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
|
|
5766
|
-
*/
|
|
5767
|
-
quickSelectRanges: {
|
|
5768
|
-
type: PropType<DateRangePickerCalendarRangeSelectorItems>;
|
|
5769
|
-
default: any;
|
|
5770
|
-
};
|
|
5771
|
-
/**
|
|
5772
|
-
* Set a maximum number of dates to be selectable by the range.
|
|
5773
|
-
*/
|
|
5774
|
-
maxRange: {
|
|
5775
|
-
type: NumberConstructor;
|
|
5776
|
-
default: any;
|
|
5777
|
-
validator: (value: number) => boolean;
|
|
5778
|
-
};
|
|
5779
|
-
/**
|
|
5780
|
-
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
5781
|
-
*/
|
|
5782
|
-
min: {
|
|
5783
|
-
type: DateConstructor;
|
|
5784
|
-
default: any;
|
|
5785
|
-
};
|
|
5786
|
-
/**
|
|
5787
|
-
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
5788
|
-
*/
|
|
5789
|
-
max: {
|
|
5790
|
-
type: DateConstructor;
|
|
5791
|
-
default: any;
|
|
5792
|
-
};
|
|
5793
|
-
/**
|
|
5794
|
-
* Number of months rendered on pane
|
|
5795
|
-
*/
|
|
5796
|
-
numberOfMonths: {
|
|
5797
|
-
type: NumberConstructor;
|
|
5798
|
-
default: number;
|
|
5799
|
-
validator: (n: number) => boolean;
|
|
5800
|
-
};
|
|
5801
|
-
/**
|
|
5802
|
-
* Selected date
|
|
5803
|
-
*/
|
|
5804
|
-
value: {
|
|
5805
|
-
type: PropType<BentoDateRangePickerValue>;
|
|
5806
|
-
default: any;
|
|
5807
|
-
};
|
|
5808
|
-
/**
|
|
5809
|
-
* The type of calendar to display. Defaults to showing days.
|
|
5810
|
-
*/
|
|
5811
|
-
variant: {
|
|
5812
|
-
type: PropType<`${CalendarVariant}`>;
|
|
5813
|
-
default: any;
|
|
5814
|
-
};
|
|
5815
|
-
/**
|
|
5816
|
-
* Enables the date picker selection to persist until it is explicitly applied.
|
|
5817
|
-
* Displays a set of buttons: Apply and Cancel.
|
|
5818
|
-
*
|
|
5819
|
-
* @deprecated This will be the default behaviour in v2.0.0.
|
|
5820
|
-
*/
|
|
5821
|
-
hasActions: {
|
|
5822
|
-
type: BooleanConstructor;
|
|
5823
|
-
default: boolean;
|
|
5824
|
-
};
|
|
5825
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes< {
|
|
5826
|
-
/**
|
|
5827
|
-
* Allows user to enter time values in the form
|
|
5828
|
-
*/
|
|
5829
|
-
allowTimeInput: {
|
|
5830
|
-
type: BooleanConstructor;
|
|
5831
|
-
default: boolean;
|
|
5832
|
-
};
|
|
5833
|
-
/**
|
|
5834
|
-
* Descriptive supporting text visbile underneath the dropdown.
|
|
5835
|
-
*/
|
|
5836
|
-
description: {
|
|
5837
|
-
type: StringConstructor;
|
|
5838
|
-
default: any;
|
|
5839
|
-
};
|
|
5840
|
-
/**
|
|
5841
|
-
* Disables dropdown functionality.
|
|
5842
|
-
*/
|
|
5843
|
-
disabled: {
|
|
5844
|
-
type: BooleanConstructor;
|
|
5845
|
-
default: boolean;
|
|
5846
|
-
};
|
|
5847
|
-
/**
|
|
5848
|
-
* Displays component in an error state with an error message
|
|
5849
|
-
*/
|
|
5850
|
-
errorMessage: {
|
|
5851
|
-
type: StringConstructor;
|
|
5852
|
-
default: any;
|
|
5853
|
-
};
|
|
5854
|
-
/**
|
|
5855
|
-
* Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
5856
|
-
*/
|
|
5857
|
-
firstDayOfWeek: {
|
|
5858
|
-
type: PropType<CalendarMonthFirstDayOfWeek>;
|
|
5859
|
-
default: CalendarMonthFirstDayOfWeek;
|
|
5860
|
-
validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
|
|
5861
|
-
};
|
|
5862
|
-
/**
|
|
5863
|
-
* A list of available granularities.
|
|
5864
|
-
* If present, the date picker will display a segmented control to change granularity.
|
|
5865
|
-
*/
|
|
5866
|
-
granularities: {
|
|
5867
|
-
type: PropType<Array<BentoDateRangePickerGranularityConfig>>;
|
|
5868
|
-
default: any;
|
|
5869
|
-
};
|
|
5870
|
-
/**
|
|
5871
|
-
* Indicate if a date should be disabled or not
|
|
5872
|
-
*/
|
|
5873
|
-
isDateDisabled: {
|
|
5874
|
-
type: PropType<CalendarMonthIsDateDisabled>;
|
|
5875
|
-
default: any;
|
|
5876
|
-
};
|
|
5877
|
-
/**
|
|
5878
|
-
* Text that is displayed as a label above the element.
|
|
5879
|
-
*/
|
|
5880
|
-
label: {
|
|
5881
|
-
type: StringConstructor;
|
|
5882
|
-
default: any;
|
|
5883
|
-
};
|
|
5884
|
-
/**
|
|
5885
|
-
* Upon opening date range picker, end date's month will be pre-selected.
|
|
5886
|
-
*/
|
|
5887
|
-
showEndDateOnOpen: {
|
|
5888
|
-
type: BooleanConstructor;
|
|
5889
|
-
default: boolean;
|
|
5890
|
-
};
|
|
5891
|
-
/**
|
|
5892
|
-
* Highlights the dropdown is optional.
|
|
5893
|
-
*/
|
|
5894
|
-
optional: {
|
|
5895
|
-
type: BooleanConstructor;
|
|
5896
|
-
default: boolean;
|
|
5897
|
-
};
|
|
5898
|
-
/**
|
|
5899
|
-
* The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date range picker.
|
|
5900
|
-
*/
|
|
5901
|
-
readonly: {
|
|
5902
|
-
type: BooleanConstructor;
|
|
5903
|
-
default: boolean;
|
|
5904
|
-
};
|
|
5905
|
-
/**
|
|
5906
|
-
* Highlights the dropdown is required.
|
|
5907
|
-
*/
|
|
5908
|
-
required: {
|
|
5909
|
-
type: BooleanConstructor;
|
|
5910
|
-
default: boolean;
|
|
5911
|
-
};
|
|
5912
|
-
/**
|
|
5913
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
5914
|
-
*/
|
|
5915
|
-
tooltipText: {
|
|
5916
|
-
type: StringConstructor;
|
|
5917
|
-
default: any;
|
|
5918
|
-
};
|
|
5919
|
-
/**
|
|
5920
|
-
* Enables the range selector.
|
|
5921
|
-
* If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
|
|
5922
|
-
* `label` - label of custom range item.
|
|
5923
|
-
* `value` - a unique key of the custom range item.
|
|
5924
|
-
* `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
|
|
5925
|
-
*/
|
|
5926
|
-
quickSelectRanges: {
|
|
5927
|
-
type: PropType<DateRangePickerCalendarRangeSelectorItems>;
|
|
5928
|
-
default: any;
|
|
5929
|
-
};
|
|
5930
|
-
/**
|
|
5931
|
-
* Set a maximum number of dates to be selectable by the range.
|
|
5932
|
-
*/
|
|
5933
|
-
maxRange: {
|
|
5934
|
-
type: NumberConstructor;
|
|
5935
|
-
default: any;
|
|
5936
|
-
validator: (value: number) => boolean;
|
|
5937
|
-
};
|
|
5938
|
-
/**
|
|
5939
|
-
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
5940
|
-
*/
|
|
5941
|
-
min: {
|
|
5942
|
-
type: DateConstructor;
|
|
5943
|
-
default: any;
|
|
5944
|
-
};
|
|
5945
|
-
/**
|
|
5946
|
-
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
5947
|
-
*/
|
|
5948
|
-
max: {
|
|
5949
|
-
type: DateConstructor;
|
|
5950
|
-
default: any;
|
|
5951
|
-
};
|
|
5952
|
-
/**
|
|
5953
|
-
* Number of months rendered on pane
|
|
5954
|
-
*/
|
|
5955
|
-
numberOfMonths: {
|
|
5956
|
-
type: NumberConstructor;
|
|
5957
|
-
default: number;
|
|
5958
|
-
validator: (n: number) => boolean;
|
|
5959
|
-
};
|
|
5960
|
-
/**
|
|
5961
|
-
* Selected date
|
|
5962
|
-
*/
|
|
5963
|
-
value: {
|
|
5964
|
-
type: PropType<BentoDateRangePickerValue>;
|
|
5965
|
-
default: any;
|
|
5966
|
-
};
|
|
5967
|
-
/**
|
|
5968
|
-
* The type of calendar to display. Defaults to showing days.
|
|
5969
|
-
*/
|
|
5970
|
-
variant: {
|
|
5971
|
-
type: PropType<`${CalendarVariant}`>;
|
|
5972
|
-
default: any;
|
|
5973
|
-
};
|
|
5974
|
-
/**
|
|
5975
|
-
* Enables the date picker selection to persist until it is explicitly applied.
|
|
5976
|
-
* Displays a set of buttons: Apply and Cancel.
|
|
5977
|
-
*
|
|
5978
|
-
* @deprecated This will be the default behaviour in v2.0.0.
|
|
5979
|
-
*/
|
|
5980
|
-
hasActions: {
|
|
5981
|
-
type: BooleanConstructor;
|
|
5982
|
-
default: boolean;
|
|
5983
|
-
};
|
|
5984
|
-
}>>, {
|
|
5985
|
-
value: BentoDateRangePickerValue;
|
|
5866
|
+
* @example
|
|
5867
|
+
* import { BentoDateRangePicker } from '@adyen/bento-vue2';
|
|
5868
|
+
*
|
|
5869
|
+
* export default {
|
|
5870
|
+
* components: { BentoDateRangePicker },
|
|
5871
|
+
* template: `
|
|
5872
|
+
* <bento-date-range-picker
|
|
5873
|
+
* label="Label"
|
|
5874
|
+
* description="Supporting text"
|
|
5875
|
+
* required
|
|
5876
|
+
* optional
|
|
5877
|
+
* disabled
|
|
5878
|
+
* @input="onDateChanged"
|
|
5879
|
+
* v-model="selectedDate"
|
|
5880
|
+
* />
|
|
5881
|
+
* `,
|
|
5882
|
+
* setup() {
|
|
5883
|
+
* const selectedDate = ref(new Date()); // reactive({ startDate: new Date(), endDate: new Date() })
|
|
5884
|
+
* return {
|
|
5885
|
+
* selectedDate,
|
|
5886
|
+
* }
|
|
5887
|
+
* }
|
|
5888
|
+
* }
|
|
5889
|
+
*/
|
|
5890
|
+
export declare const BentoDateRangePicker: DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDateRangePickerProps>, {
|
|
5891
|
+
description: any;
|
|
5892
|
+
disabled: boolean;
|
|
5893
|
+
errorMessage: any;
|
|
5894
|
+
firstDayOfWeek: number;
|
|
5895
|
+
hasActions: boolean;
|
|
5896
|
+
isDateDisabled: any;
|
|
5897
|
+
label: any;
|
|
5898
|
+
max: any;
|
|
5899
|
+
maxRange: any;
|
|
5900
|
+
min: any;
|
|
5901
|
+
numberOfMonths: any;
|
|
5902
|
+
optional: boolean;
|
|
5903
|
+
placeholder: any;
|
|
5904
|
+
quickSelectRanges: any;
|
|
5905
|
+
readonly: boolean;
|
|
5906
|
+
required: boolean;
|
|
5907
|
+
showEndDateOnOpen: boolean;
|
|
5908
|
+
tooltipText: any;
|
|
5909
|
+
value: any;
|
|
5910
|
+
variant: any;
|
|
5911
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDateRangePickerProps>, {
|
|
5912
|
+
description: any;
|
|
5913
|
+
disabled: boolean;
|
|
5914
|
+
errorMessage: any;
|
|
5915
|
+
firstDayOfWeek: number;
|
|
5916
|
+
hasActions: boolean;
|
|
5917
|
+
isDateDisabled: any;
|
|
5918
|
+
label: any;
|
|
5919
|
+
max: any;
|
|
5920
|
+
maxRange: any;
|
|
5921
|
+
min: any;
|
|
5922
|
+
numberOfMonths: any;
|
|
5923
|
+
optional: boolean;
|
|
5924
|
+
placeholder: any;
|
|
5925
|
+
quickSelectRanges: any;
|
|
5926
|
+
readonly: boolean;
|
|
5927
|
+
required: boolean;
|
|
5928
|
+
showEndDateOnOpen: boolean;
|
|
5929
|
+
tooltipText: any;
|
|
5930
|
+
value: any;
|
|
5931
|
+
variant: any;
|
|
5932
|
+
}>>>, {
|
|
5933
|
+
value: BentoDateRangePickerValue | null;
|
|
5986
5934
|
description: string;
|
|
5987
5935
|
label: string;
|
|
5988
|
-
variant:
|
|
5936
|
+
variant: `${CalendarVariant}`;
|
|
5989
5937
|
required: boolean;
|
|
5990
5938
|
disabled: boolean;
|
|
5991
5939
|
optional: boolean;
|
|
5992
5940
|
readonly: boolean;
|
|
5941
|
+
errorMessage: string;
|
|
5942
|
+
tooltipText: string;
|
|
5993
5943
|
isDateDisabled: CalendarMonthIsDateDisabled;
|
|
5994
|
-
firstDayOfWeek: CalendarMonthFirstDayOfWeek;
|
|
5944
|
+
firstDayOfWeek: CalendarMonthFirstDayOfWeek | number;
|
|
5995
5945
|
min: Date;
|
|
5996
5946
|
max: Date;
|
|
5997
5947
|
maxRange: number;
|
|
5998
5948
|
numberOfMonths: number;
|
|
5999
5949
|
showEndDateOnOpen: boolean;
|
|
6000
|
-
|
|
6001
|
-
errorMessage: string;
|
|
6002
|
-
allowTimeInput: boolean;
|
|
6003
|
-
granularities: BentoDateRangePickerGranularityConfig<CalendarGranularityType>[];
|
|
5950
|
+
placeholder: string;
|
|
6004
5951
|
quickSelectRanges: DateRangePickerCalendarRangeSelectorItems;
|
|
6005
5952
|
hasActions: boolean;
|
|
6006
5953
|
}>;
|
|
@@ -6016,6 +5963,69 @@ export declare interface BentoDateRangePickerGranularityConfig<T extends Calenda
|
|
|
6016
5963
|
disabled?: boolean;
|
|
6017
5964
|
}
|
|
6018
5965
|
|
|
5966
|
+
export declare interface BentoDateRangePickerProps extends FormField {
|
|
5967
|
+
/**
|
|
5968
|
+
* Allows user to enter time values in the form
|
|
5969
|
+
* @default false
|
|
5970
|
+
*/
|
|
5971
|
+
allowTimeInput?: boolean;
|
|
5972
|
+
/**
|
|
5973
|
+
* Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
5974
|
+
* @default 1
|
|
5975
|
+
*/
|
|
5976
|
+
firstDayOfWeek?: CalendarMonthFirstDayOfWeek | number;
|
|
5977
|
+
/**
|
|
5978
|
+
* A list of available granularities.
|
|
5979
|
+
* If present, the date picker will display a segmented control to change granularity.
|
|
5980
|
+
*/
|
|
5981
|
+
granularities?: Array<BentoDateRangePickerGranularityConfig>;
|
|
5982
|
+
/**
|
|
5983
|
+
* Indicate if a date should be disabled or not
|
|
5984
|
+
*/
|
|
5985
|
+
isDateDisabled?: CalendarMonthIsDateDisabled;
|
|
5986
|
+
/**
|
|
5987
|
+
* Upon opening date range picker, end date's month will be pre-selected.
|
|
5988
|
+
* @default false
|
|
5989
|
+
*/
|
|
5990
|
+
showEndDateOnOpen?: boolean;
|
|
5991
|
+
/**
|
|
5992
|
+
* Enables the range selector.
|
|
5993
|
+
* If provided, must be an array that sets the custom range dropdown items.
|
|
5994
|
+
*/
|
|
5995
|
+
quickSelectRanges?: DateRangePickerCalendarRangeSelectorItems;
|
|
5996
|
+
/**
|
|
5997
|
+
* Set a maximum number of dates to be selectable by the range.
|
|
5998
|
+
*/
|
|
5999
|
+
maxRange?: number;
|
|
6000
|
+
/**
|
|
6001
|
+
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
6002
|
+
*/
|
|
6003
|
+
min?: Date;
|
|
6004
|
+
/**
|
|
6005
|
+
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
6006
|
+
*/
|
|
6007
|
+
max?: Date;
|
|
6008
|
+
/**
|
|
6009
|
+
* Number of months rendered on pane
|
|
6010
|
+
*/
|
|
6011
|
+
numberOfMonths?: number;
|
|
6012
|
+
/**
|
|
6013
|
+
* Selected date
|
|
6014
|
+
*/
|
|
6015
|
+
value?: BentoDateRangePickerValue | null;
|
|
6016
|
+
/**
|
|
6017
|
+
* The type of calendar to display. Defaults to showing days.
|
|
6018
|
+
*/
|
|
6019
|
+
variant?: `${CalendarVariant}`;
|
|
6020
|
+
/**
|
|
6021
|
+
* Enables the date picker selection to persist until it is explicitly applied.
|
|
6022
|
+
* Displays a set of buttons: Apply and Cancel.
|
|
6023
|
+
* @deprecated This will be the default behaviour in v2.0.0.
|
|
6024
|
+
* @default false
|
|
6025
|
+
*/
|
|
6026
|
+
hasActions?: boolean;
|
|
6027
|
+
}
|
|
6028
|
+
|
|
6019
6029
|
export declare interface BentoDateRangePickerValue {
|
|
6020
6030
|
startDate: Date;
|
|
6021
6031
|
endDate: Date;
|
|
@@ -6034,9 +6044,9 @@ export declare interface BentoDateRangePickerValue {
|
|
|
6034
6044
|
* template: `<bento-divider />`
|
|
6035
6045
|
* }
|
|
6036
6046
|
*/
|
|
6037
|
-
export declare const BentoDivider: DefineComponent<
|
|
6047
|
+
export declare const BentoDivider: DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoDividerProps>, {
|
|
6038
6048
|
variant: BentoDividerVariant;
|
|
6039
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
6049
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoDividerProps>, {
|
|
6040
6050
|
variant: BentoDividerVariant;
|
|
6041
6051
|
}>>>, {
|
|
6042
6052
|
variant: `${BentoDividerVariant}`;
|
|
@@ -6090,7 +6100,7 @@ declare enum BentoDividerVariant {
|
|
|
6090
6100
|
* }
|
|
6091
6101
|
* }
|
|
6092
6102
|
*/
|
|
6093
|
-
export declare const BentoDropdown:
|
|
6103
|
+
export declare const BentoDropdown: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownProps>, {
|
|
6094
6104
|
ariaLabel: any;
|
|
6095
6105
|
condensed: boolean;
|
|
6096
6106
|
emptyState: any;
|
|
@@ -6125,7 +6135,9 @@ focus: () => void;
|
|
|
6125
6135
|
input: (selectedValue: any) => void;
|
|
6126
6136
|
} & {
|
|
6127
6137
|
"show-more": () => void;
|
|
6128
|
-
}
|
|
6138
|
+
} & {
|
|
6139
|
+
open: () => void;
|
|
6140
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownProps>, {
|
|
6129
6141
|
ariaLabel: any;
|
|
6130
6142
|
condensed: boolean;
|
|
6131
6143
|
emptyState: any;
|
|
@@ -6169,9 +6181,9 @@ readonly: boolean;
|
|
|
6169
6181
|
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
6170
6182
|
multiple: boolean;
|
|
6171
6183
|
ariaLabel: string;
|
|
6172
|
-
tooltipText: string;
|
|
6173
|
-
errorMessage: string;
|
|
6174
6184
|
items: BentoListboxOptions;
|
|
6185
|
+
errorMessage: string;
|
|
6186
|
+
tooltipText: string;
|
|
6175
6187
|
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
6176
6188
|
staticCategories: boolean;
|
|
6177
6189
|
hasMoreItems: boolean;
|
|
@@ -6181,8 +6193,8 @@ componentLoading: boolean;
|
|
|
6181
6193
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6182
6194
|
dynamicFiltering: boolean;
|
|
6183
6195
|
showSlotContentInMultiple: boolean;
|
|
6184
|
-
placeholder: string;
|
|
6185
6196
|
enableValueLabelPair: boolean;
|
|
6197
|
+
placeholder: string;
|
|
6186
6198
|
}>, Record<string, (_: any) => any> & Record<string, (_: any) => any> & {
|
|
6187
6199
|
description: (_: {}) => any;
|
|
6188
6200
|
}>;
|
|
@@ -6215,11 +6227,15 @@ enableValueLabelPair: boolean;
|
|
|
6215
6227
|
* }
|
|
6216
6228
|
* }
|
|
6217
6229
|
*/
|
|
6218
|
-
export declare const BentoDropdownAvatar: DefineComponent<
|
|
6230
|
+
export declare const BentoDropdownAvatar: DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownAvatarProps>, {
|
|
6219
6231
|
items: () => any[];
|
|
6220
6232
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6221
6233
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6222
|
-
}
|
|
6234
|
+
} & {
|
|
6235
|
+
"show-more": () => void;
|
|
6236
|
+
} & {
|
|
6237
|
+
open: () => void;
|
|
6238
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownAvatarProps>, {
|
|
6223
6239
|
items: () => any[];
|
|
6224
6240
|
}>>>, {
|
|
6225
6241
|
items: BentoAvatarListboxOptions;
|
|
@@ -6354,12 +6370,12 @@ type: PropType<string>;
|
|
|
6354
6370
|
} & {
|
|
6355
6371
|
default: any;
|
|
6356
6372
|
};
|
|
6357
|
-
|
|
6373
|
+
errorMessage: {
|
|
6358
6374
|
type: PropType<string>;
|
|
6359
6375
|
} & {
|
|
6360
6376
|
default: any;
|
|
6361
6377
|
};
|
|
6362
|
-
|
|
6378
|
+
tooltipText: {
|
|
6363
6379
|
type: PropType<string>;
|
|
6364
6380
|
} & {
|
|
6365
6381
|
default: any;
|
|
@@ -6409,18 +6425,22 @@ type: PropType<boolean>;
|
|
|
6409
6425
|
} & {
|
|
6410
6426
|
default: boolean;
|
|
6411
6427
|
};
|
|
6412
|
-
placeholder: {
|
|
6413
|
-
type: PropType<string>;
|
|
6414
|
-
} & {
|
|
6415
|
-
default: any;
|
|
6416
|
-
};
|
|
6417
6428
|
enableValueLabelPair: {
|
|
6418
6429
|
type: PropType<boolean>;
|
|
6419
6430
|
} & {
|
|
6420
6431
|
default: boolean;
|
|
6421
6432
|
};
|
|
6433
|
+
placeholder: {
|
|
6434
|
+
type: PropType<string>;
|
|
6435
|
+
} & {
|
|
6436
|
+
default: any;
|
|
6437
|
+
};
|
|
6422
6438
|
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6423
6439
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6440
|
+
} & {
|
|
6441
|
+
"show-more": () => void;
|
|
6442
|
+
} & {
|
|
6443
|
+
open: () => void;
|
|
6424
6444
|
}, string, Readonly<ExtractPropTypes< {
|
|
6425
6445
|
/**
|
|
6426
6446
|
* The option elements to populate the country dropdown with.
|
|
@@ -6511,12 +6531,12 @@ type: PropType<string>;
|
|
|
6511
6531
|
} & {
|
|
6512
6532
|
default: any;
|
|
6513
6533
|
};
|
|
6514
|
-
|
|
6534
|
+
errorMessage: {
|
|
6515
6535
|
type: PropType<string>;
|
|
6516
6536
|
} & {
|
|
6517
6537
|
default: any;
|
|
6518
6538
|
};
|
|
6519
|
-
|
|
6539
|
+
tooltipText: {
|
|
6520
6540
|
type: PropType<string>;
|
|
6521
6541
|
} & {
|
|
6522
6542
|
default: any;
|
|
@@ -6566,16 +6586,16 @@ type: PropType<boolean>;
|
|
|
6566
6586
|
} & {
|
|
6567
6587
|
default: boolean;
|
|
6568
6588
|
};
|
|
6569
|
-
placeholder: {
|
|
6570
|
-
type: PropType<string>;
|
|
6571
|
-
} & {
|
|
6572
|
-
default: any;
|
|
6573
|
-
};
|
|
6574
6589
|
enableValueLabelPair: {
|
|
6575
6590
|
type: PropType<boolean>;
|
|
6576
6591
|
} & {
|
|
6577
6592
|
default: boolean;
|
|
6578
6593
|
};
|
|
6594
|
+
placeholder: {
|
|
6595
|
+
type: PropType<string>;
|
|
6596
|
+
} & {
|
|
6597
|
+
default: any;
|
|
6598
|
+
};
|
|
6579
6599
|
}>>, {
|
|
6580
6600
|
search: BentoListboxSearchOptions;
|
|
6581
6601
|
value: BentoListboxSelectedValue;
|
|
@@ -6592,9 +6612,9 @@ readonly: boolean;
|
|
|
6592
6612
|
size: BentoDropdownSize_2 | `${BentoDropdownSize_2}`;
|
|
6593
6613
|
multiple: boolean;
|
|
6594
6614
|
ariaLabel: string;
|
|
6595
|
-
tooltipText: string;
|
|
6596
|
-
errorMessage: string;
|
|
6597
6615
|
items: BentoCountryListboxOptions;
|
|
6616
|
+
errorMessage: string;
|
|
6617
|
+
tooltipText: string;
|
|
6598
6618
|
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
6599
6619
|
staticCategories: boolean;
|
|
6600
6620
|
hasMoreItems: boolean;
|
|
@@ -6604,8 +6624,8 @@ componentLoading: boolean;
|
|
|
6604
6624
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6605
6625
|
dynamicFiltering: boolean;
|
|
6606
6626
|
showSlotContentInMultiple: boolean;
|
|
6607
|
-
placeholder: string;
|
|
6608
6627
|
enableValueLabelPair: boolean;
|
|
6628
|
+
placeholder: string;
|
|
6609
6629
|
}>;
|
|
6610
6630
|
|
|
6611
6631
|
/**
|
|
@@ -6636,11 +6656,15 @@ enableValueLabelPair: boolean;
|
|
|
6636
6656
|
* }
|
|
6637
6657
|
* }
|
|
6638
6658
|
*/
|
|
6639
|
-
export declare const BentoDropdownCurrency: DefineComponent<
|
|
6659
|
+
export declare const BentoDropdownCurrency: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDropdownCurrencyProps>, {
|
|
6640
6660
|
items: () => any[];
|
|
6641
6661
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6642
6662
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6643
|
-
}
|
|
6663
|
+
} & {
|
|
6664
|
+
"show-more": () => void;
|
|
6665
|
+
} & {
|
|
6666
|
+
open: () => void;
|
|
6667
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDropdownCurrencyProps>, {
|
|
6644
6668
|
items: () => any[];
|
|
6645
6669
|
}>>>, {
|
|
6646
6670
|
items: BentoCurrencyListboxOptions;
|
|
@@ -6684,11 +6708,15 @@ export declare interface BentoDropdownCurrencyProps extends BentoDropdownProps {
|
|
|
6684
6708
|
* }
|
|
6685
6709
|
* }
|
|
6686
6710
|
*/
|
|
6687
|
-
export declare const BentoDropdownPaymentMethod: DefineComponent<
|
|
6711
|
+
export declare const BentoDropdownPaymentMethod: DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownPaymentMethodProps>, {
|
|
6688
6712
|
items: () => any[];
|
|
6689
6713
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6690
6714
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6691
|
-
}
|
|
6715
|
+
} & {
|
|
6716
|
+
"show-more": () => void;
|
|
6717
|
+
} & {
|
|
6718
|
+
open: () => void;
|
|
6719
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownPaymentMethodProps>, {
|
|
6692
6720
|
items: () => any[];
|
|
6693
6721
|
}>>>, {
|
|
6694
6722
|
items: BentoPaymentMethodListboxOptions;
|
|
@@ -6704,7 +6732,7 @@ export declare interface BentoDropdownPaymentMethodProps extends BentoDropdownPr
|
|
|
6704
6732
|
items?: BentoPaymentMethodListboxOptions;
|
|
6705
6733
|
}
|
|
6706
6734
|
|
|
6707
|
-
export declare interface BentoDropdownProps {
|
|
6735
|
+
export declare interface BentoDropdownProps extends FormField {
|
|
6708
6736
|
/**
|
|
6709
6737
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
6710
6738
|
* Defines a string value that labels an interactive element.
|
|
@@ -6718,10 +6746,6 @@ export declare interface BentoDropdownProps {
|
|
|
6718
6746
|
* Empty state props used with the inner empty state component which is displayed when no search results are found.
|
|
6719
6747
|
*/
|
|
6720
6748
|
emptyState?: BentoListboxEmptyStateProps;
|
|
6721
|
-
/**
|
|
6722
|
-
* Disables dropdown functionality.
|
|
6723
|
-
*/
|
|
6724
|
-
disabled?: boolean;
|
|
6725
6749
|
/**
|
|
6726
6750
|
* Sets the possibility to type into the textbox.
|
|
6727
6751
|
*/
|
|
@@ -6731,14 +6755,6 @@ export declare interface BentoDropdownProps {
|
|
|
6731
6755
|
* @deprecated Use "errorMessage" prop instead
|
|
6732
6756
|
*/
|
|
6733
6757
|
error?: boolean;
|
|
6734
|
-
/**
|
|
6735
|
-
* Highlights the dropdown in an erroneous state with an error message.
|
|
6736
|
-
*/
|
|
6737
|
-
errorMessage?: string;
|
|
6738
|
-
/**
|
|
6739
|
-
* Descriptive supporting text visbile underneath the dropdown.
|
|
6740
|
-
*/
|
|
6741
|
-
description?: string;
|
|
6742
6758
|
/**
|
|
6743
6759
|
* Indicates whether there are more items to load
|
|
6744
6760
|
*/
|
|
@@ -6759,10 +6775,6 @@ export declare interface BentoDropdownProps {
|
|
|
6759
6775
|
* @property value.value - Value of the option
|
|
6760
6776
|
*/
|
|
6761
6777
|
items?: BentoListboxOptions;
|
|
6762
|
-
/**
|
|
6763
|
-
* Text that is displayed as a label above the element.
|
|
6764
|
-
*/
|
|
6765
|
-
label?: string;
|
|
6766
6778
|
/**
|
|
6767
6779
|
* Indicates if new options are lazy loading.
|
|
6768
6780
|
*/
|
|
@@ -6781,22 +6793,6 @@ export declare interface BentoDropdownProps {
|
|
|
6781
6793
|
* If enabled, the user will be able to select multiple items.
|
|
6782
6794
|
*/
|
|
6783
6795
|
multiple?: boolean;
|
|
6784
|
-
/**
|
|
6785
|
-
* Highlights the dropdown is optional.
|
|
6786
|
-
*/
|
|
6787
|
-
optional?: boolean;
|
|
6788
|
-
/**
|
|
6789
|
-
* Text that appears in the form control when it has no value set
|
|
6790
|
-
*/
|
|
6791
|
-
placeholder?: string;
|
|
6792
|
-
/**
|
|
6793
|
-
* Sets the dropdown to readonly state
|
|
6794
|
-
*/
|
|
6795
|
-
readonly?: boolean;
|
|
6796
|
-
/**
|
|
6797
|
-
* Highlights the dropdown is required.
|
|
6798
|
-
*/
|
|
6799
|
-
required?: boolean;
|
|
6800
6796
|
/**
|
|
6801
6797
|
* Dropdown search options and events.
|
|
6802
6798
|
* @see BentoDropdownSearchOptions
|
|
@@ -6814,10 +6810,6 @@ export declare interface BentoDropdownProps {
|
|
|
6814
6810
|
* If enabled, dropdown will display non-selectable, static categories
|
|
6815
6811
|
*/
|
|
6816
6812
|
staticCategories?: boolean;
|
|
6817
|
-
/**
|
|
6818
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
6819
|
-
*/
|
|
6820
|
-
tooltipText?: string;
|
|
6821
6813
|
/**
|
|
6822
6814
|
* The `input` value.
|
|
6823
6815
|
* Providing an empty string will select no options.
|
|
@@ -6887,11 +6879,15 @@ declare enum BentoDropdownSize_2 {
|
|
|
6887
6879
|
* }
|
|
6888
6880
|
* }
|
|
6889
6881
|
*/
|
|
6890
|
-
export declare const BentoDropdownTag: DefineComponent<
|
|
6882
|
+
export declare const BentoDropdownTag: DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoDropdownTagProps>, {
|
|
6891
6883
|
items: () => any[];
|
|
6892
6884
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6893
6885
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6894
|
-
}
|
|
6886
|
+
} & {
|
|
6887
|
+
"show-more": () => void;
|
|
6888
|
+
} & {
|
|
6889
|
+
open: () => void;
|
|
6890
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoDropdownTagProps>, {
|
|
6895
6891
|
items: () => any[];
|
|
6896
6892
|
}>>>, {
|
|
6897
6893
|
items: BentoTagListboxOptions;
|
|
@@ -6932,14 +6928,14 @@ export declare interface BentoDropdownTagProps extends BentoDropdownProps {
|
|
|
6932
6928
|
* `
|
|
6933
6929
|
* }
|
|
6934
6930
|
*/
|
|
6935
|
-
export declare const BentoEmptyState:
|
|
6931
|
+
export declare const BentoEmptyState: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoEmptyStateProps>, {
|
|
6936
6932
|
action: any;
|
|
6937
6933
|
description: any;
|
|
6938
6934
|
headingEl: any;
|
|
6939
6935
|
image: any;
|
|
6940
6936
|
title: string;
|
|
6941
6937
|
variant: string;
|
|
6942
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
6938
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoEmptyStateProps>, {
|
|
6943
6939
|
action: any;
|
|
6944
6940
|
description: any;
|
|
6945
6941
|
headingEl: any;
|
|
@@ -7052,7 +7048,7 @@ export declare enum BentoEmptyStateVariant {
|
|
|
7052
7048
|
* }
|
|
7053
7049
|
* }
|
|
7054
7050
|
*/
|
|
7055
|
-
export declare const BentoFileUploader: DefineComponent<
|
|
7051
|
+
export declare const BentoFileUploader: DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoFileUploaderProps>, {
|
|
7056
7052
|
accept: any;
|
|
7057
7053
|
description: any;
|
|
7058
7054
|
errorMessage: any;
|
|
@@ -7069,7 +7065,7 @@ input: (value?: FileList) => void;
|
|
|
7069
7065
|
"update:modelValue": (value?: FileList) => void;
|
|
7070
7066
|
} & {
|
|
7071
7067
|
"error:upload": (value: boolean) => void;
|
|
7072
|
-
}, string, Readonly<ExtractPropTypes<
|
|
7068
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoFileUploaderProps>, {
|
|
7073
7069
|
accept: any;
|
|
7074
7070
|
description: any;
|
|
7075
7071
|
errorMessage: any;
|
|
@@ -7080,9 +7076,9 @@ modelValue: any;
|
|
|
7080
7076
|
tooltipText: any;
|
|
7081
7077
|
}>>>, {
|
|
7082
7078
|
description: string;
|
|
7083
|
-
tooltipText: string;
|
|
7084
|
-
errorMessage: string;
|
|
7085
7079
|
modelValue: BentoFileUploaderValue;
|
|
7080
|
+
errorMessage: string;
|
|
7081
|
+
tooltipText: string;
|
|
7086
7082
|
accept: HTMLInputElement["accept"];
|
|
7087
7083
|
maxCount: number;
|
|
7088
7084
|
maxDimensions: any;
|
|
@@ -7174,7 +7170,7 @@ export declare type BentoFileUploaderValue = string | Array<string> | File | Arr
|
|
|
7174
7170
|
* `
|
|
7175
7171
|
* }
|
|
7176
7172
|
*/
|
|
7177
|
-
export declare const BentoFilterBar: DefineComponent<
|
|
7173
|
+
export declare const BentoFilterBar: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoFilterBarProps<any, undefined>>, {
|
|
7178
7174
|
config: () => any[];
|
|
7179
7175
|
filterValues: () => any[];
|
|
7180
7176
|
containerSizeLayout: () => {
|
|
@@ -7191,7 +7187,7 @@ isClearAllVisible: ComputedRef<boolean>;
|
|
|
7191
7187
|
clearAllFilters: () => void;
|
|
7192
7188
|
isResetAllVisible: ComputedRef<boolean>;
|
|
7193
7189
|
resetAllFilters: () => void;
|
|
7194
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<
|
|
7190
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoFilterBarProps<any, undefined>>, {
|
|
7195
7191
|
config: () => any[];
|
|
7196
7192
|
filterValues: () => any[];
|
|
7197
7193
|
containerSizeLayout: () => {
|
|
@@ -7206,7 +7202,7 @@ filterValuesObject: any;
|
|
|
7206
7202
|
}>>>, {
|
|
7207
7203
|
search: BentoFilterBarSearchBarProps;
|
|
7208
7204
|
value: BentoFilterBarModel;
|
|
7209
|
-
config: BentoFilterBarModel
|
|
7205
|
+
config: BentoFilterBarModel<undefined>;
|
|
7210
7206
|
searchTerm: BentoFilterBarSearchTerm;
|
|
7211
7207
|
filterValues: BentoFilterValues;
|
|
7212
7208
|
containerSizeLayout: {
|
|
@@ -7214,7 +7210,7 @@ medium: string;
|
|
|
7214
7210
|
small: string;
|
|
7215
7211
|
};
|
|
7216
7212
|
showAppliedHiddenFilters: boolean;
|
|
7217
|
-
filterValuesObject:
|
|
7213
|
+
filterValuesObject: any;
|
|
7218
7214
|
}>;
|
|
7219
7215
|
|
|
7220
7216
|
export declare interface BentoFilterBarContainerSizeLayout {
|
|
@@ -7234,9 +7230,9 @@ export declare enum BentoFilterBarEvent {
|
|
|
7234
7230
|
UPDATE_FILTER_VALUES_ARRAY = "update:filter-values"
|
|
7235
7231
|
}
|
|
7236
7232
|
|
|
7237
|
-
export declare type BentoFilterBarModel = Array<BentoFilterModel
|
|
7233
|
+
export declare type BentoFilterBarModel<CustomOptions = undefined> = Array<BentoFilterModel<CustomOptions>>;
|
|
7238
7234
|
|
|
7239
|
-
export declare interface BentoFilterBarProps {
|
|
7235
|
+
export declare interface BentoFilterBarProps<CustomValue = BentoFilterBarValue | any, CustomOptions = undefined> {
|
|
7240
7236
|
/**
|
|
7241
7237
|
* Array of filters based on @see {@link BentoFilterBarModel}.
|
|
7242
7238
|
* Each one of the elements in the array correspond to a filter that will
|
|
@@ -7253,7 +7249,7 @@ export declare interface BentoFilterBarProps {
|
|
|
7253
7249
|
* type: FilterType.TEXT,
|
|
7254
7250
|
* }]
|
|
7255
7251
|
*/
|
|
7256
|
-
config?: BentoFilterBarModel
|
|
7252
|
+
config?: BentoFilterBarModel<CustomOptions>;
|
|
7257
7253
|
/**
|
|
7258
7254
|
* An array of the values for each filter in the filter bar.
|
|
7259
7255
|
* @see {@link BentoFilterValues}
|
|
@@ -7329,7 +7325,7 @@ export declare interface BentoFilterBarProps {
|
|
|
7329
7325
|
* 'name': 'some text'
|
|
7330
7326
|
* },
|
|
7331
7327
|
*/
|
|
7332
|
-
filterValuesObject?: BentoFilterValueObject
|
|
7328
|
+
filterValuesObject?: BentoFilterValueObject<string, CustomValue>;
|
|
7333
7329
|
}
|
|
7334
7330
|
|
|
7335
7331
|
export declare type BentoFilterBarScreenOptionsLayout = 'one-line' | 'multi-line';
|
|
@@ -7360,14 +7356,20 @@ export declare enum BentoFilterItemType {
|
|
|
7360
7356
|
DATE_RANGE = "BentoDateRangeFilter"
|
|
7361
7357
|
}
|
|
7362
7358
|
|
|
7363
|
-
export declare interface BentoFilterModel extends BentoFilterValue {
|
|
7359
|
+
export declare interface BentoFilterModel<CustomOptions = undefined> extends BentoFilterValue {
|
|
7364
7360
|
label: string;
|
|
7365
7361
|
description?: string;
|
|
7366
|
-
|
|
7367
|
-
options?: BentoFilterOptions;
|
|
7362
|
+
options?: BentoFilterOptions | CustomOptions;
|
|
7368
7363
|
disabled?: boolean;
|
|
7369
7364
|
defaultValue?: BentoFilterBarValue;
|
|
7370
7365
|
visible?: boolean;
|
|
7366
|
+
/**
|
|
7367
|
+
* Defines the filter to be used.
|
|
7368
|
+
*
|
|
7369
|
+
* Can be one filter defined in the {@link BentoFilterItemType} enum or a
|
|
7370
|
+
* custom filter component defined as a {@link VueNodeElement}
|
|
7371
|
+
*/
|
|
7372
|
+
type: BentoFilterItemType | VueNodeElement;
|
|
7371
7373
|
/**
|
|
7372
7374
|
* @deprecated This property will be removed in version 2.0, please use `config` & `filter-values` properties.
|
|
7373
7375
|
*/
|
|
@@ -7381,7 +7383,7 @@ export declare interface BentoFilterValue {
|
|
|
7381
7383
|
value?: BentoFilterBarValue;
|
|
7382
7384
|
}
|
|
7383
7385
|
|
|
7384
|
-
export declare type BentoFilterValueObject<T extends PropertyKey = string> = Record<T,
|
|
7386
|
+
export declare type BentoFilterValueObject<T extends PropertyKey = string, CustomValue = BentoFilterBarValue> = Record<T, CustomValue>;
|
|
7385
7387
|
|
|
7386
7388
|
export declare type BentoFilterValues = Array<BentoFilterValue>;
|
|
7387
7389
|
|
|
@@ -7420,7 +7422,7 @@ export declare type BentoFilterValues = Array<BentoFilterValue>;
|
|
|
7420
7422
|
* `
|
|
7421
7423
|
* }
|
|
7422
7424
|
*/
|
|
7423
|
-
export declare const BentoFormLayout:
|
|
7425
|
+
export declare const BentoFormLayout: __VLS_WithTemplateSlots_15<DefineComponent< {
|
|
7424
7426
|
/**
|
|
7425
7427
|
* Renders the form layout as an HTML `form`
|
|
7426
7428
|
*/
|
|
@@ -7486,7 +7488,7 @@ loading: boolean;
|
|
|
7486
7488
|
* </bento-form-layout-field-tip>
|
|
7487
7489
|
* `
|
|
7488
7490
|
*/
|
|
7489
|
-
export declare const BentoFormLayoutFieldTip:
|
|
7491
|
+
export declare const BentoFormLayoutFieldTip: __VLS_WithTemplateSlots_16<DefineComponent< {
|
|
7490
7492
|
/**
|
|
7491
7493
|
* Type of a alert; set a distinctive icon and color. Defaults to highlight.
|
|
7492
7494
|
* @values highlight, success, critical, warning
|
|
@@ -7496,6 +7498,13 @@ type: PropType<BentoFormLayoutFieldTipTypeOption>;
|
|
|
7496
7498
|
default: string;
|
|
7497
7499
|
validator: (value: BentoFormLayoutFieldTipTypeOption) => boolean;
|
|
7498
7500
|
};
|
|
7501
|
+
/**
|
|
7502
|
+
* Unique identifier to the form field. Used for accessibility.
|
|
7503
|
+
*/
|
|
7504
|
+
id: {
|
|
7505
|
+
type: StringConstructor;
|
|
7506
|
+
default: any;
|
|
7507
|
+
};
|
|
7499
7508
|
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
7500
7509
|
/**
|
|
7501
7510
|
* Type of a alert; set a distinctive icon and color. Defaults to highlight.
|
|
@@ -7506,8 +7515,16 @@ type: PropType<BentoFormLayoutFieldTipTypeOption>;
|
|
|
7506
7515
|
default: string;
|
|
7507
7516
|
validator: (value: BentoFormLayoutFieldTipTypeOption) => boolean;
|
|
7508
7517
|
};
|
|
7518
|
+
/**
|
|
7519
|
+
* Unique identifier to the form field. Used for accessibility.
|
|
7520
|
+
*/
|
|
7521
|
+
id: {
|
|
7522
|
+
type: StringConstructor;
|
|
7523
|
+
default: any;
|
|
7524
|
+
};
|
|
7509
7525
|
}>>, {
|
|
7510
7526
|
type: "critical" | "success" | "warning" | "highlight";
|
|
7527
|
+
id: string;
|
|
7511
7528
|
}>, {
|
|
7512
7529
|
default: (_: {}) => any;
|
|
7513
7530
|
message: (_: {}) => any;
|
|
@@ -7535,7 +7552,7 @@ declare type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;
|
|
|
7535
7552
|
* `
|
|
7536
7553
|
* }
|
|
7537
7554
|
*/
|
|
7538
|
-
export declare const BentoFormLayoutGroup:
|
|
7555
|
+
export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_18<DefineComponent< {
|
|
7539
7556
|
/**
|
|
7540
7557
|
* The layout of the pair group of components.
|
|
7541
7558
|
* This will render the components within the width of the proportions.
|
|
@@ -7621,7 +7638,7 @@ layout: BentoLayoutGroupProportions;
|
|
|
7621
7638
|
* `
|
|
7622
7639
|
* }
|
|
7623
7640
|
*/
|
|
7624
|
-
export declare const BentoFormLayoutTitle:
|
|
7641
|
+
export declare const BentoFormLayoutTitle: __VLS_WithTemplateSlots_17<DefineComponent< {
|
|
7625
7642
|
/**
|
|
7626
7643
|
* Defines if the Form Layout title is
|
|
7627
7644
|
* a "section" or a "subsection".
|
|
@@ -7857,7 +7874,7 @@ declare enum BentoHeaderVariant {
|
|
|
7857
7874
|
* `
|
|
7858
7875
|
* };
|
|
7859
7876
|
*/
|
|
7860
|
-
export declare const BentoHeaderWithViews:
|
|
7877
|
+
export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoHeaderWithViewsProps>, {
|
|
7861
7878
|
actions: () => any[];
|
|
7862
7879
|
additionalViewSetting: any;
|
|
7863
7880
|
title: any;
|
|
@@ -7883,7 +7900,7 @@ views: () => any[];
|
|
|
7883
7900
|
"update:view": (value: BentoHeaderWithViewsItemUpdate) => void;
|
|
7884
7901
|
} & {
|
|
7885
7902
|
"update:skip-unsaved-changes": (value: boolean) => void;
|
|
7886
|
-
}, string, Readonly<ExtractPropTypes<
|
|
7903
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoHeaderWithViewsProps>, {
|
|
7887
7904
|
actions: () => any[];
|
|
7888
7905
|
additionalViewSetting: any;
|
|
7889
7906
|
title: any;
|
|
@@ -7901,7 +7918,7 @@ lastUpdated: Date | number;
|
|
|
7901
7918
|
reloadButton: HeaderMetaProps["reloadButton"];
|
|
7902
7919
|
infoIconTooltipText: string;
|
|
7903
7920
|
additionalViewSetting: BentoHeaderWithViewsItemAdditionalConfig;
|
|
7904
|
-
views: BentoHeaderWithViewsItem
|
|
7921
|
+
views: Array<BentoHeaderWithViewsItem>;
|
|
7905
7922
|
disableCustomization: boolean;
|
|
7906
7923
|
}>, {
|
|
7907
7924
|
infoIconTooltipContent: (_: {}) => any;
|
|
@@ -7996,8 +8013,8 @@ declare enum BentoHeaderWithViewsItemIconEnum {
|
|
|
7996
8013
|
}
|
|
7997
8014
|
|
|
7998
8015
|
export declare interface BentoHeaderWithViewsItemUpdate {
|
|
7999
|
-
newViews: BentoHeaderWithViewsItem
|
|
8000
|
-
oldViews: BentoHeaderWithViewsItem
|
|
8016
|
+
newViews: Array<BentoHeaderWithViewsItem>;
|
|
8017
|
+
oldViews: Array<BentoHeaderWithViewsItem>;
|
|
8001
8018
|
targetViewLabel: BentoHeaderWithViewsItem['label'];
|
|
8002
8019
|
}
|
|
8003
8020
|
|
|
@@ -8024,7 +8041,7 @@ export declare interface BentoHeaderWithViewsProps {
|
|
|
8024
8041
|
* - `additionalViewSetting` (BentoHeaderWithViewsItemAdditionalConfig, optional): Optional configuration for an additional view setting.
|
|
8025
8042
|
* - `isFixed` (boolean, optional): Indicates if this view can be edited or deleted. * @see {@link BentoHeaderWithViewsItem}
|
|
8026
8043
|
*/
|
|
8027
|
-
views?: BentoHeaderWithViewsItem
|
|
8044
|
+
views?: Array<BentoHeaderWithViewsItem>;
|
|
8028
8045
|
/**
|
|
8029
8046
|
* Optional configuration for an additional view setting, such as a filter or option.
|
|
8030
8047
|
* Defined by the `BentoHeaderWithViewsItemAdditionalConfig` interface.
|
|
@@ -8084,10 +8101,10 @@ export declare interface BentoHeaderWithViewsProps {
|
|
|
8084
8101
|
* `
|
|
8085
8102
|
* }
|
|
8086
8103
|
*/
|
|
8087
|
-
export declare const BentoImage: DefineComponent<
|
|
8104
|
+
export declare const BentoImage: DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoImageProps>, {
|
|
8088
8105
|
aspectRatio: any;
|
|
8089
8106
|
objectFit: any;
|
|
8090
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8107
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoImageProps>, {
|
|
8091
8108
|
aspectRatio: any;
|
|
8092
8109
|
objectFit: any;
|
|
8093
8110
|
}>>>, {
|
|
@@ -8137,11 +8154,11 @@ export declare interface BentoImageProps {
|
|
|
8137
8154
|
* import { BentoInfoIcon } from '@adyen/bento-vue2';
|
|
8138
8155
|
* </scrip>
|
|
8139
8156
|
*/
|
|
8140
|
-
export declare const BentoInfoIcon: DefineComponent<
|
|
8157
|
+
export declare const BentoInfoIcon: DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInfoIconProps>, {
|
|
8141
8158
|
tooltipPosition: PopperContainerPositionExtended;
|
|
8142
8159
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8143
8160
|
mouseenter: (event: MouseEvent) => void;
|
|
8144
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8161
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInfoIconProps>, {
|
|
8145
8162
|
tooltipPosition: PopperContainerPositionExtended;
|
|
8146
8163
|
}>>>, {
|
|
8147
8164
|
tooltipPosition: PopperContainerPosition | `${PopperContainerPosition}`;
|
|
@@ -8199,7 +8216,7 @@ export declare type BentoInputDropdownProps = {
|
|
|
8199
8216
|
* >
|
|
8200
8217
|
* }
|
|
8201
8218
|
*/
|
|
8202
|
-
export declare const BentoInputField:
|
|
8219
|
+
export declare const BentoInputField: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoInputFieldProps>, {
|
|
8203
8220
|
ariaHidden: boolean;
|
|
8204
8221
|
ariaLabel: any;
|
|
8205
8222
|
condensed: boolean;
|
|
@@ -8240,7 +8257,7 @@ keydown: (event: KeyboardEvent) => void;
|
|
|
8240
8257
|
keyup: (event: KeyboardEvent) => void;
|
|
8241
8258
|
} & {
|
|
8242
8259
|
input: (inputValue: string) => void;
|
|
8243
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8260
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoInputFieldProps>, {
|
|
8244
8261
|
ariaHidden: boolean;
|
|
8245
8262
|
ariaLabel: any;
|
|
8246
8263
|
condensed: boolean;
|
|
@@ -8271,8 +8288,8 @@ error: boolean;
|
|
|
8271
8288
|
optional: boolean;
|
|
8272
8289
|
readonly: boolean;
|
|
8273
8290
|
ariaLabel: string;
|
|
8274
|
-
tooltipText: string;
|
|
8275
8291
|
errorMessage: string;
|
|
8292
|
+
tooltipText: string;
|
|
8276
8293
|
placeholder: string;
|
|
8277
8294
|
slashedZero: boolean;
|
|
8278
8295
|
dropdown: BentoInputDropdownProps;
|
|
@@ -8341,7 +8358,7 @@ export declare enum BentoInputFieldEvent {
|
|
|
8341
8358
|
* `
|
|
8342
8359
|
* }
|
|
8343
8360
|
*/
|
|
8344
|
-
export declare const BentoInputFieldPassword: DefineComponent<
|
|
8361
|
+
export declare const BentoInputFieldPassword: DefineComponent<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoInputFieldPasswordProps>, {
|
|
8345
8362
|
condensed: boolean;
|
|
8346
8363
|
debounceTime: number;
|
|
8347
8364
|
disabled: boolean;
|
|
@@ -8363,7 +8380,7 @@ focus: () => void;
|
|
|
8363
8380
|
"input:error": (errors: BentoInputFieldPasswordErrorsList) => void;
|
|
8364
8381
|
} & {
|
|
8365
8382
|
input: (value: BentoInputFieldValue) => void;
|
|
8366
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8383
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoInputFieldPasswordProps>, {
|
|
8367
8384
|
condensed: boolean;
|
|
8368
8385
|
debounceTime: number;
|
|
8369
8386
|
disabled: boolean;
|
|
@@ -8464,7 +8481,7 @@ export declare interface BentoInputFieldPasswordValidation {
|
|
|
8464
8481
|
title?: string;
|
|
8465
8482
|
suggestion?: string;
|
|
8466
8483
|
extendDefaultValidation?: boolean;
|
|
8467
|
-
list: BentoInputFieldPasswordValidationListItem
|
|
8484
|
+
list: Array<BentoInputFieldPasswordValidationListItem>;
|
|
8468
8485
|
}
|
|
8469
8486
|
|
|
8470
8487
|
/**
|
|
@@ -8473,8 +8490,8 @@ export declare interface BentoInputFieldPasswordValidation {
|
|
|
8473
8490
|
export declare interface BentoInputFieldPasswordValidationListItem {
|
|
8474
8491
|
label?: string;
|
|
8475
8492
|
key?: BentoInputFieldPasswordDefaultRuleKeys | string;
|
|
8476
|
-
validate?: (value: BentoInputFieldValue, ...args: any
|
|
8477
|
-
additionalArgs?: any
|
|
8493
|
+
validate?: (value: BentoInputFieldValue, ...args: Array<any>) => boolean;
|
|
8494
|
+
additionalArgs?: Array<any>;
|
|
8478
8495
|
disabled?: boolean;
|
|
8479
8496
|
}
|
|
8480
8497
|
|
|
@@ -8496,8 +8513,9 @@ export declare interface BentoInputFieldPasswordValidationListItem {
|
|
|
8496
8513
|
* `
|
|
8497
8514
|
* }
|
|
8498
8515
|
*/
|
|
8499
|
-
export declare const BentoInputFieldPhoneNumber:
|
|
8516
|
+
export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoInputFieldPhoneNumberProps>, {
|
|
8500
8517
|
countries: () => CountryCode_2[];
|
|
8518
|
+
description: any;
|
|
8501
8519
|
dynamicFiltering: boolean;
|
|
8502
8520
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8503
8521
|
blur: () => void;
|
|
@@ -8507,12 +8525,14 @@ input: (value: string) => void;
|
|
|
8507
8525
|
"update:selected-country": (country: CountryCode_2) => void;
|
|
8508
8526
|
} & {
|
|
8509
8527
|
"input:valid": (value: boolean) => void;
|
|
8510
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8528
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoInputFieldPhoneNumberProps>, {
|
|
8511
8529
|
countries: () => CountryCode_2[];
|
|
8530
|
+
description: any;
|
|
8512
8531
|
dynamicFiltering: boolean;
|
|
8513
8532
|
}>>>, {
|
|
8533
|
+
description: string;
|
|
8514
8534
|
dynamicFiltering: boolean;
|
|
8515
|
-
countries: CountryCode
|
|
8535
|
+
countries: Array<CountryCode>;
|
|
8516
8536
|
}>, {
|
|
8517
8537
|
default: (_: {}) => any;
|
|
8518
8538
|
description: (_: {}) => any;
|
|
@@ -8529,7 +8549,7 @@ export declare interface BentoInputFieldPhoneNumberProps extends FormField {
|
|
|
8529
8549
|
/**
|
|
8530
8550
|
* Array of country codes to show on the dropdown
|
|
8531
8551
|
*/
|
|
8532
|
-
countries?: CountryCode
|
|
8552
|
+
countries?: Array<CountryCode>;
|
|
8533
8553
|
/**
|
|
8534
8554
|
* Dropdown props for the small selectable dropdown menu.
|
|
8535
8555
|
* Properties supported:
|
|
@@ -8550,6 +8570,10 @@ export declare interface BentoInputFieldPhoneNumberProps extends FormField {
|
|
|
8550
8570
|
* Selected country code
|
|
8551
8571
|
*/
|
|
8552
8572
|
selectedCountry?: CountryCode;
|
|
8573
|
+
/**
|
|
8574
|
+
* The current value of the field.
|
|
8575
|
+
*/
|
|
8576
|
+
value?: string | number;
|
|
8553
8577
|
}
|
|
8554
8578
|
|
|
8555
8579
|
export declare interface BentoInputFieldProps {
|
|
@@ -8789,7 +8813,7 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
8789
8813
|
* `
|
|
8790
8814
|
* }
|
|
8791
8815
|
*/
|
|
8792
|
-
export declare const BentoInspector:
|
|
8816
|
+
export declare const BentoInspector: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoInspectorProps>, {
|
|
8793
8817
|
activePage: string;
|
|
8794
8818
|
expandable: boolean;
|
|
8795
8819
|
isOpen: boolean;
|
|
@@ -8803,7 +8827,7 @@ pageFocusAnchor: any;
|
|
|
8803
8827
|
"update:active-page": (value: string) => void;
|
|
8804
8828
|
} & {
|
|
8805
8829
|
expand: () => void;
|
|
8806
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8830
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoInspectorProps>, {
|
|
8807
8831
|
activePage: string;
|
|
8808
8832
|
expandable: boolean;
|
|
8809
8833
|
isOpen: boolean;
|
|
@@ -8815,8 +8839,8 @@ pageFocusAnchor: any;
|
|
|
8815
8839
|
isOpen: boolean;
|
|
8816
8840
|
loading: boolean;
|
|
8817
8841
|
size: BentoInspectorSize;
|
|
8818
|
-
activePage: string;
|
|
8819
8842
|
expandable: boolean;
|
|
8843
|
+
activePage: string;
|
|
8820
8844
|
relativeLayout: BentoInspectorRelativeLayout;
|
|
8821
8845
|
pageFocusAnchor: HTMLElement;
|
|
8822
8846
|
}>, {
|
|
@@ -8919,10 +8943,10 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
|
|
|
8919
8943
|
* `
|
|
8920
8944
|
* }
|
|
8921
8945
|
*/
|
|
8922
|
-
export declare const BentoLayout:
|
|
8946
|
+
export declare const BentoLayout: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoLayoutProps>, {
|
|
8923
8947
|
size: string;
|
|
8924
8948
|
variant: string;
|
|
8925
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8949
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoLayoutProps>, {
|
|
8926
8950
|
size: string;
|
|
8927
8951
|
variant: string;
|
|
8928
8952
|
}>>>, {
|
|
@@ -8965,9 +8989,9 @@ export declare interface BentoLayoutProps {
|
|
|
8965
8989
|
* `
|
|
8966
8990
|
* }
|
|
8967
8991
|
*/
|
|
8968
|
-
export declare const BentoLayoutRow:
|
|
8992
|
+
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoLayoutRowProps>, {
|
|
8969
8993
|
columnsLayout: string;
|
|
8970
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8994
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoLayoutRowProps>, {
|
|
8971
8995
|
columnsLayout: string;
|
|
8972
8996
|
}>>>, {
|
|
8973
8997
|
columnsLayout: BentoLayoutRowColumnLayout;
|
|
@@ -8999,10 +9023,10 @@ declare const BentoLayoutVariantOptions: readonly ["page", "component"];
|
|
|
8999
9023
|
|
|
9000
9024
|
export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
9001
9025
|
|
|
9002
|
-
export declare const BentoLink:
|
|
9026
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_25<DefineComponent<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoLinkProps>, {
|
|
9003
9027
|
target: any;
|
|
9004
9028
|
variant: BentoLinkVariant;
|
|
9005
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes<
|
|
9029
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoLinkProps>, {
|
|
9006
9030
|
target: any;
|
|
9007
9031
|
variant: BentoLinkVariant;
|
|
9008
9032
|
}>>> & Readonly<{
|
|
@@ -9036,7 +9060,7 @@ declare type BentoListboxEmptyStateProps = {
|
|
|
9036
9060
|
action: {
|
|
9037
9061
|
icon?: any;
|
|
9038
9062
|
} & BentoButtonActionObject;
|
|
9039
|
-
} &
|
|
9063
|
+
} & OmitStrict<BentoEmptyStateProps, 'variant' | 'image' | 'description'>;
|
|
9040
9064
|
export { BentoListboxEmptyStateProps as BentoDropdownEmptyStateProps }
|
|
9041
9065
|
export { BentoListboxEmptyStateProps }
|
|
9042
9066
|
|
|
@@ -9068,7 +9092,7 @@ declare enum BentoListboxLazyLoadType {
|
|
|
9068
9092
|
export { BentoListboxLazyLoadType as BentoDropdownLazyLoadType }
|
|
9069
9093
|
export { BentoListboxLazyLoadType }
|
|
9070
9094
|
|
|
9071
|
-
export declare type BentoListboxMultiSelectValue = BentoListboxValue
|
|
9095
|
+
export declare type BentoListboxMultiSelectValue = Array<BentoListboxValue>;
|
|
9072
9096
|
|
|
9073
9097
|
export declare interface BentoListboxOptionItem extends BentoSearchBarItem {
|
|
9074
9098
|
data?: unknown;
|
|
@@ -9247,57 +9271,32 @@ declare enum BentoLoadingButtonState_2 {
|
|
|
9247
9271
|
FAIL = 'fail',
|
|
9248
9272
|
}
|
|
9249
9273
|
|
|
9250
|
-
export declare const BentoLoadingIndicator: DefineComponent< {
|
|
9251
|
-
/**
|
|
9252
|
-
* Displays the loading indicator in a small size
|
|
9253
|
-
*/
|
|
9254
|
-
small: {
|
|
9255
|
-
type: BooleanConstructor;
|
|
9256
|
-
default: boolean;
|
|
9257
|
-
};
|
|
9258
|
-
/**
|
|
9259
|
-
* Displays the loading indicator in a large size
|
|
9260
|
-
*/
|
|
9261
|
-
large: {
|
|
9262
|
-
type: BooleanConstructor;
|
|
9263
|
-
default: boolean;
|
|
9264
|
-
};
|
|
9265
|
-
/**
|
|
9266
|
-
* Displays the loading indicator in a white variant
|
|
9267
|
-
*/
|
|
9268
|
-
inverse: {
|
|
9269
|
-
type: BooleanConstructor;
|
|
9270
|
-
default: boolean;
|
|
9271
|
-
};
|
|
9272
|
-
}, {
|
|
9273
|
-
conditionalClasses: ComputedRef< {
|
|
9274
|
-
'b-loading-indicator--inverse': boolean;
|
|
9275
|
-
'b-loading-indicator--small': boolean;
|
|
9276
|
-
'b-loading-indicator--large': boolean;
|
|
9277
|
-
}>;
|
|
9278
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoLoadingIndicatorEvent[], string, Readonly<ExtractPropTypes< {
|
|
9279
|
-
/**
|
|
9280
|
-
* Displays the loading indicator in a small size
|
|
9281
|
-
*/
|
|
9282
|
-
small: {
|
|
9283
|
-
type: BooleanConstructor;
|
|
9284
|
-
default: boolean;
|
|
9285
|
-
};
|
|
9286
|
-
/**
|
|
9287
|
-
* Displays the loading indicator in a large size
|
|
9288
|
-
*/
|
|
9289
|
-
large: {
|
|
9290
|
-
type: BooleanConstructor;
|
|
9291
|
-
default: boolean;
|
|
9292
|
-
};
|
|
9293
9274
|
/**
|
|
9294
|
-
*
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
|
|
9275
|
+
* A loading indicator component that displays a spinning animation.
|
|
9276
|
+
*
|
|
9277
|
+
* @usage
|
|
9278
|
+
* import { BentoLoadingIndicator } from '@adyen/bento-vue2';
|
|
9279
|
+
*
|
|
9280
|
+
* export default {
|
|
9281
|
+
* components: { BentoLoadingIndicator },
|
|
9282
|
+
* template: `
|
|
9283
|
+
* <bento-loading-indicator :small="true" />
|
|
9284
|
+
* `
|
|
9285
|
+
* };
|
|
9286
|
+
*/
|
|
9287
|
+
export declare const BentoLoadingIndicator: DefineComponent<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoLoadingIndicatorProps>, {
|
|
9288
|
+
small: boolean;
|
|
9289
|
+
large: boolean;
|
|
9290
|
+
inverse: boolean;
|
|
9291
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9292
|
+
"loading-start": () => void;
|
|
9293
|
+
} & {
|
|
9294
|
+
"loading-end": () => void;
|
|
9295
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoLoadingIndicatorProps>, {
|
|
9296
|
+
small: boolean;
|
|
9297
|
+
large: boolean;
|
|
9298
|
+
inverse: boolean;
|
|
9299
|
+
}>>>, {
|
|
9301
9300
|
small: boolean;
|
|
9302
9301
|
large: boolean;
|
|
9303
9302
|
inverse: boolean;
|
|
@@ -9308,6 +9307,21 @@ export declare enum BentoLoadingIndicatorEvent {
|
|
|
9308
9307
|
END = "loading-end"
|
|
9309
9308
|
}
|
|
9310
9309
|
|
|
9310
|
+
export declare interface BentoLoadingIndicatorProps {
|
|
9311
|
+
/**
|
|
9312
|
+
* Displays the loading indicator in a small size
|
|
9313
|
+
*/
|
|
9314
|
+
small?: boolean;
|
|
9315
|
+
/**
|
|
9316
|
+
* Displays the loading indicator in a large size
|
|
9317
|
+
*/
|
|
9318
|
+
large?: boolean;
|
|
9319
|
+
/**
|
|
9320
|
+
* Displays the loading indicator in a white variant
|
|
9321
|
+
*/
|
|
9322
|
+
inverse?: boolean;
|
|
9323
|
+
}
|
|
9324
|
+
|
|
9311
9325
|
/**
|
|
9312
9326
|
* Menu component to render a series of buttons. Csan render nested submenus.
|
|
9313
9327
|
*
|
|
@@ -9325,7 +9339,7 @@ export declare enum BentoLoadingIndicatorEvent {
|
|
|
9325
9339
|
* />
|
|
9326
9340
|
* }
|
|
9327
9341
|
*/
|
|
9328
|
-
export declare const BentoMenu:
|
|
9342
|
+
export declare const BentoMenu: __VLS_WithTemplateSlots_26<DefineComponent<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoMenuProps>, {
|
|
9329
9343
|
button: () => BentoMenuButtonProps;
|
|
9330
9344
|
closeMenuOnItemSelect: boolean;
|
|
9331
9345
|
disableArrowDownOpeningMenu: boolean;
|
|
@@ -9348,7 +9362,7 @@ open: () => void;
|
|
|
9348
9362
|
"menu-item-click": () => void;
|
|
9349
9363
|
} & {
|
|
9350
9364
|
"click-outside": () => void;
|
|
9351
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9365
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoMenuProps>, {
|
|
9352
9366
|
button: () => BentoMenuButtonProps;
|
|
9353
9367
|
closeMenuOnItemSelect: boolean;
|
|
9354
9368
|
disableArrowDownOpeningMenu: boolean;
|
|
@@ -9464,7 +9478,7 @@ export declare interface BentoMenuProps {
|
|
|
9464
9478
|
/**
|
|
9465
9479
|
* The data to be displayed in the list
|
|
9466
9480
|
*/
|
|
9467
|
-
data: BentoMenuItem
|
|
9481
|
+
data: Array<BentoMenuItem>;
|
|
9468
9482
|
/**
|
|
9469
9483
|
* Disables opening the menu when the down arrow key is pressed.
|
|
9470
9484
|
*/
|
|
@@ -9515,7 +9529,7 @@ declare interface BentoMenuProps_2 {
|
|
|
9515
9529
|
/**
|
|
9516
9530
|
* The data to be displayed in the list
|
|
9517
9531
|
*/
|
|
9518
|
-
data: BentoMenuItem_2
|
|
9532
|
+
data: Array<BentoMenuItem_2>;
|
|
9519
9533
|
/**
|
|
9520
9534
|
* Disables opening the menu when the down arrow key is pressed.
|
|
9521
9535
|
*/
|
|
@@ -9573,7 +9587,7 @@ declare interface BentoMenuProps_2 {
|
|
|
9573
9587
|
* `
|
|
9574
9588
|
* };
|
|
9575
9589
|
*/
|
|
9576
|
-
export declare const BentoModal:
|
|
9590
|
+
export declare const BentoModal: __VLS_WithTemplateSlots_27<DefineComponent< {
|
|
9577
9591
|
/**
|
|
9578
9592
|
* List of actions that will be used to render the buttons.
|
|
9579
9593
|
* First element in the list will be rendered as "primary".
|
|
@@ -9911,7 +9925,7 @@ export declare enum BentoModalEvent {
|
|
|
9911
9925
|
* `
|
|
9912
9926
|
* }
|
|
9913
9927
|
*/
|
|
9914
|
-
export declare const BentoModalFullscreen:
|
|
9928
|
+
export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_29<DefineComponent< {
|
|
9915
9929
|
/**
|
|
9916
9930
|
* List of actions that will be used to render the buttons.
|
|
9917
9931
|
* First element in the list will be rendered as "primary".
|
|
@@ -10053,7 +10067,7 @@ contextualLabel: string;
|
|
|
10053
10067
|
* `
|
|
10054
10068
|
* }
|
|
10055
10069
|
*/
|
|
10056
|
-
export declare const BentoModalFullscreenPage:
|
|
10070
|
+
export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_30<DefineComponent< {
|
|
10057
10071
|
/**
|
|
10058
10072
|
* List of actions that will be used to render the buttons.
|
|
10059
10073
|
* First element in the list will be rendered as "primary".
|
|
@@ -10195,7 +10209,7 @@ contextualLabel: string;
|
|
|
10195
10209
|
* `
|
|
10196
10210
|
* }
|
|
10197
10211
|
*/
|
|
10198
|
-
export declare const BentoModalPage:
|
|
10212
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_28<DefineComponent<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoModalPageProps>, {
|
|
10199
10213
|
actions: any;
|
|
10200
10214
|
actionsLabel: any;
|
|
10201
10215
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
@@ -10204,7 +10218,7 @@ destructiveActions: boolean;
|
|
|
10204
10218
|
withColumnLayout: boolean;
|
|
10205
10219
|
pageId: any;
|
|
10206
10220
|
previousPage: any;
|
|
10207
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10221
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoModalPageProps>, {
|
|
10208
10222
|
actions: any;
|
|
10209
10223
|
actionsLabel: any;
|
|
10210
10224
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
@@ -10352,7 +10366,7 @@ export declare type BentoMultiCheckboxType = Array<string | number>;
|
|
|
10352
10366
|
* `,
|
|
10353
10367
|
* }
|
|
10354
10368
|
*/
|
|
10355
|
-
export declare const BentoPagination:
|
|
10369
|
+
export declare const BentoPagination: __VLS_WithTemplateSlots_31<DefineComponent<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoPaginationProps>, {
|
|
10356
10370
|
ariaLabel: any;
|
|
10357
10371
|
hasNext: any;
|
|
10358
10372
|
hidePageSize: boolean;
|
|
@@ -10368,7 +10382,7 @@ navigate: (page: number, items?: number) => void;
|
|
|
10368
10382
|
"update:page": (page: number) => void;
|
|
10369
10383
|
} & {
|
|
10370
10384
|
"update:size": (size: number) => void;
|
|
10371
|
-
}, string, Readonly<ExtractPropTypes<
|
|
10385
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoPaginationProps>, {
|
|
10372
10386
|
ariaLabel: any;
|
|
10373
10387
|
hasNext: any;
|
|
10374
10388
|
hidePageSize: boolean;
|
|
@@ -10434,10 +10448,10 @@ export declare interface BentoPaginationProps {
|
|
|
10434
10448
|
* `
|
|
10435
10449
|
* }
|
|
10436
10450
|
*/
|
|
10437
|
-
export declare const BentoPaymentMethod: DefineComponent<
|
|
10451
|
+
export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoPaymentMethodProps>, {
|
|
10438
10452
|
type: string;
|
|
10439
10453
|
small: boolean;
|
|
10440
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10454
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoPaymentMethodProps>, {
|
|
10441
10455
|
type: string;
|
|
10442
10456
|
small: boolean;
|
|
10443
10457
|
}>>>, {
|
|
@@ -10449,7 +10463,7 @@ export declare type BentoPaymentMethodListboxOptionItem = OmitStrict<BentoListbo
|
|
|
10449
10463
|
value: string;
|
|
10450
10464
|
};
|
|
10451
10465
|
|
|
10452
|
-
export declare type BentoPaymentMethodListboxOptions = BentoPaymentMethodListboxOptionItem
|
|
10466
|
+
export declare type BentoPaymentMethodListboxOptions = Array<BentoPaymentMethodListboxOptionItem>;
|
|
10453
10467
|
|
|
10454
10468
|
export declare interface BentoPaymentMethodProps {
|
|
10455
10469
|
/**
|
|
@@ -11629,7 +11643,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
11629
11643
|
* `
|
|
11630
11644
|
* }
|
|
11631
11645
|
*/
|
|
11632
|
-
export declare const BentoPopover:
|
|
11646
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_32<DefineComponent<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_41<BentoPopoverProps>, {
|
|
11633
11647
|
actions: any;
|
|
11634
11648
|
actionsLayout: string;
|
|
11635
11649
|
ariaLabel: any;
|
|
@@ -11653,7 +11667,7 @@ overflowVisible: boolean;
|
|
|
11653
11667
|
dismiss: () => void;
|
|
11654
11668
|
} & {
|
|
11655
11669
|
placement: (placement: Placement) => void;
|
|
11656
|
-
}, string, Readonly<ExtractPropTypes<
|
|
11670
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_41<BentoPopoverProps>, {
|
|
11657
11671
|
actions: any;
|
|
11658
11672
|
actionsLayout: string;
|
|
11659
11673
|
ariaLabel: any;
|
|
@@ -11681,7 +11695,7 @@ open: boolean;
|
|
|
11681
11695
|
position: BentoPopoverPositions | `${BentoPopoverPositions}`;
|
|
11682
11696
|
trapAll: boolean;
|
|
11683
11697
|
trapAllOptions: any;
|
|
11684
|
-
fallbackPosition: Placement
|
|
11698
|
+
fallbackPosition: Array<Placement>;
|
|
11685
11699
|
fixedPositioning: boolean;
|
|
11686
11700
|
ariaLabel: string;
|
|
11687
11701
|
actions: BentoButtonActionsList_2;
|
|
@@ -11690,7 +11704,7 @@ divider: boolean;
|
|
|
11690
11704
|
disableFocusTrap: boolean;
|
|
11691
11705
|
dismissible: boolean;
|
|
11692
11706
|
fitContent: boolean;
|
|
11693
|
-
modifiers: unknown
|
|
11707
|
+
modifiers: Array<unknown>;
|
|
11694
11708
|
withoutSpace: boolean;
|
|
11695
11709
|
overflowVisible: boolean;
|
|
11696
11710
|
}>, {
|
|
@@ -11788,7 +11802,7 @@ export declare interface BentoPopoverProps {
|
|
|
11788
11802
|
* Useful when not using auto as starting placement.
|
|
11789
11803
|
* https://floating-ui.com/docs/flip#fallbackplacements
|
|
11790
11804
|
*/
|
|
11791
|
-
fallbackPosition?: Placement
|
|
11805
|
+
fallbackPosition?: Array<Placement>;
|
|
11792
11806
|
/**
|
|
11793
11807
|
* Sets the size of the container to fit its content
|
|
11794
11808
|
*/
|
|
@@ -11811,7 +11825,7 @@ export declare interface BentoPopoverProps {
|
|
|
11811
11825
|
* @deprecated
|
|
11812
11826
|
* NOTE: This property no longer functions since moving to the floating-ui framework.
|
|
11813
11827
|
*/
|
|
11814
|
-
modifiers?: unknown
|
|
11828
|
+
modifiers?: Array<unknown>;
|
|
11815
11829
|
/**
|
|
11816
11830
|
* Popover's position relative to the target element.
|
|
11817
11831
|
* Possible values are:
|
|
@@ -11872,7 +11886,7 @@ export declare interface BentoPopoverProps {
|
|
|
11872
11886
|
* `
|
|
11873
11887
|
* };
|
|
11874
11888
|
*/
|
|
11875
|
-
export declare const BentoPromoBanner:
|
|
11889
|
+
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_33<DefineComponent<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_42<BentoPromoBannerProps>, {
|
|
11876
11890
|
actions: any;
|
|
11877
11891
|
color: BentoPromoBannerColor;
|
|
11878
11892
|
isDismissible: boolean;
|
|
@@ -11880,7 +11894,7 @@ dismissButtonText: any;
|
|
|
11880
11894
|
layout: BentoPromoBannerLayout;
|
|
11881
11895
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11882
11896
|
dismiss: () => void;
|
|
11883
|
-
}, string, Readonly<ExtractPropTypes<
|
|
11897
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_42<BentoPromoBannerProps>, {
|
|
11884
11898
|
actions: any;
|
|
11885
11899
|
color: BentoPromoBannerColor;
|
|
11886
11900
|
isDismissible: boolean;
|
|
@@ -11889,7 +11903,7 @@ layout: BentoPromoBannerLayout;
|
|
|
11889
11903
|
}>>>, {
|
|
11890
11904
|
color: `${BentoPromoBannerColor}`;
|
|
11891
11905
|
layout: `${BentoPromoBannerLayout}`;
|
|
11892
|
-
actions: BentoPromoBannerAction
|
|
11906
|
+
actions: Array<BentoPromoBannerAction>;
|
|
11893
11907
|
isDismissible: boolean;
|
|
11894
11908
|
dismissButtonText: string;
|
|
11895
11909
|
}>, {
|
|
@@ -11946,7 +11960,7 @@ export declare interface BentoPromoBannerProps {
|
|
|
11946
11960
|
* }]
|
|
11947
11961
|
* ```
|
|
11948
11962
|
*/
|
|
11949
|
-
actions?: BentoPromoBannerAction
|
|
11963
|
+
actions?: Array<BentoPromoBannerAction>;
|
|
11950
11964
|
/**
|
|
11951
11965
|
* Defines the color of banner's background
|
|
11952
11966
|
*/
|
|
@@ -12019,66 +12033,7 @@ export declare interface BentoPromoBannerProps {
|
|
|
12019
12033
|
* }
|
|
12020
12034
|
* }
|
|
12021
12035
|
*/
|
|
12022
|
-
export declare const BentoRadioButton:
|
|
12023
|
-
/**
|
|
12024
|
-
* Disable the radio button (optional)
|
|
12025
|
-
*/
|
|
12026
|
-
disabled: {
|
|
12027
|
-
type: BooleanConstructor;
|
|
12028
|
-
default: boolean;
|
|
12029
|
-
};
|
|
12030
|
-
/**
|
|
12031
|
-
* Shows bento-radio-button in error state (optional)
|
|
12032
|
-
*/
|
|
12033
|
-
hasError: {
|
|
12034
|
-
type: BooleanConstructor;
|
|
12035
|
-
default: boolean;
|
|
12036
|
-
};
|
|
12037
|
-
/**
|
|
12038
|
-
* This property should not be used directly.
|
|
12039
|
-
* It will be used by v-model directive on radio component.
|
|
12040
|
-
*/
|
|
12041
|
-
modelValue: {
|
|
12042
|
-
type: PropType<BentoRadioButtonValue>;
|
|
12043
|
-
default: any;
|
|
12044
|
-
};
|
|
12045
|
-
/**
|
|
12046
|
-
* Sets the radio button to readonly (optional)
|
|
12047
|
-
*/
|
|
12048
|
-
readonly: {
|
|
12049
|
-
type: BooleanConstructor;
|
|
12050
|
-
default: boolean;
|
|
12051
|
-
};
|
|
12052
|
-
/**
|
|
12053
|
-
* Sets the properties of the BentoTag component that is placed next to the label.
|
|
12054
|
-
* {@see BentoTag}
|
|
12055
|
-
*/
|
|
12056
|
-
tag: {
|
|
12057
|
-
type: PropType<BentoRadioButtonTag>;
|
|
12058
|
-
default: any;
|
|
12059
|
-
};
|
|
12060
|
-
/**
|
|
12061
|
-
* Indicates the value of the input that will be returned when it's checked
|
|
12062
|
-
*/
|
|
12063
|
-
value: {
|
|
12064
|
-
type: PropType<BentoRadioButtonValue>;
|
|
12065
|
-
required: true;
|
|
12066
|
-
};
|
|
12067
|
-
/**
|
|
12068
|
-
* Sets the name of the radio input.
|
|
12069
|
-
* Used for differentiating radio groups or accessing input via form submission.
|
|
12070
|
-
*/
|
|
12071
|
-
name: {
|
|
12072
|
-
type: StringConstructor;
|
|
12073
|
-
default: any;
|
|
12074
|
-
};
|
|
12075
|
-
}, {
|
|
12076
|
-
focus: () => void;
|
|
12077
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12078
|
-
input: (value: BentoRadioButtonValue) => void;
|
|
12079
|
-
} & {
|
|
12080
|
-
"update:model-value": (value: BentoRadioButtonValue) => void;
|
|
12081
|
-
}, string, Readonly<ExtractPropTypes< {
|
|
12036
|
+
export declare const BentoRadioButton: __VLS_WithTemplateSlots_35<DefineComponent< {
|
|
12082
12037
|
/**
|
|
12083
12038
|
* Disable the radio button (optional)
|
|
12084
12039
|
*/
|
|
@@ -12131,274 +12086,153 @@ name: {
|
|
|
12131
12086
|
type: StringConstructor;
|
|
12132
12087
|
default: any;
|
|
12133
12088
|
};
|
|
12134
|
-
}>>, {
|
|
12135
|
-
name: string;
|
|
12136
|
-
disabled: boolean;
|
|
12137
|
-
tag: any;
|
|
12138
|
-
readonly: boolean;
|
|
12139
|
-
hasError: boolean;
|
|
12140
|
-
modelValue: BentoRadioButtonValue;
|
|
12141
|
-
}>, {
|
|
12142
|
-
default: (_: {}) => any;
|
|
12143
|
-
description: (_: {}) => any;
|
|
12144
|
-
content: (_: {}) => any;
|
|
12145
|
-
}>;
|
|
12146
|
-
|
|
12147
|
-
export declare enum BentoRadioButtonStateClass {
|
|
12148
|
-
DISABLED = "disabled",
|
|
12149
|
-
READONLY = "readonly",
|
|
12150
|
-
ERROR = "error"
|
|
12151
|
-
}
|
|
12152
|
-
|
|
12153
|
-
export declare type BentoRadioButtonTag = InstanceType<typeof BentoTag>['$props'];
|
|
12154
|
-
|
|
12155
|
-
export declare type BentoRadioButtonValue = string | number;
|
|
12156
|
-
|
|
12157
|
-
/**
|
|
12158
|
-
* A radio group component should be used whenever it is necessary to use a set of radio buttons
|
|
12159
|
-
* This component conforms to the official WAI-ARIA guidelines for grouping controls: https://www.w3.org/WAI/tutorials/forms/grouping/
|
|
12160
|
-
*
|
|
12161
|
-
* import { BentoRadioGroup } from '@adyen/bento-vue2/';
|
|
12162
|
-
*
|
|
12163
|
-
* export default {
|
|
12164
|
-
* components: { BentoRadioGroup },
|
|
12165
|
-
* template: `
|
|
12166
|
-
* <bento-radio-group
|
|
12167
|
-
* label="Your group label"
|
|
12168
|
-
* :items="[
|
|
12169
|
-
* { value: 1, label: 'Your label' },
|
|
12170
|
-
* { value: 2, label: 'Another label', description: 'Your descriptive sub label' },
|
|
12171
|
-
* ]"
|
|
12172
|
-
* variant="horizontal"
|
|
12173
|
-
* />
|
|
12174
|
-
* `
|
|
12175
|
-
* };
|
|
12176
|
-
*/
|
|
12177
|
-
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_33<DefineComponent< {
|
|
12178
|
-
/**
|
|
12179
|
-
* Descriptive supporting text visbile underneath the label.
|
|
12180
|
-
*/
|
|
12181
|
-
description: {
|
|
12182
|
-
type: StringConstructor;
|
|
12183
|
-
default: any;
|
|
12184
|
-
};
|
|
12185
|
-
/**
|
|
12186
|
-
* If set to true, renders all bento-radio-buttons in the group in a disabled state.
|
|
12187
|
-
*/
|
|
12188
|
-
disabled: {
|
|
12189
|
-
type: BooleanConstructor;
|
|
12190
|
-
default: boolean;
|
|
12191
|
-
};
|
|
12192
|
-
/**
|
|
12193
|
-
* If passed as a prop, all bento-radio-buttons in an error state and renders the string beneath the buttons.
|
|
12194
|
-
*/
|
|
12195
|
-
errorMessage: {
|
|
12196
|
-
type: StringConstructor;
|
|
12197
|
-
default: any;
|
|
12198
|
-
};
|
|
12199
|
-
/**
|
|
12200
|
-
* The form id the radio group is associated with. Defaults to null, as a radio group can also be used standalone.
|
|
12201
|
-
*/
|
|
12202
|
-
formId: {
|
|
12203
|
-
type: StringConstructor;
|
|
12204
|
-
default: any;
|
|
12205
|
-
};
|
|
12206
|
-
/**
|
|
12207
|
-
* If set to true, renders all bento-radio-buttons in the group in an error state.
|
|
12208
|
-
*
|
|
12209
|
-
* @deprecated Use "errorMessage" prop instead
|
|
12210
|
-
*/
|
|
12211
|
-
hasError: {
|
|
12212
|
-
type: BooleanConstructor;
|
|
12213
|
-
default: boolean;
|
|
12214
|
-
};
|
|
12215
|
-
/**
|
|
12216
|
-
* Shows/hides the group label.
|
|
12217
|
-
*/
|
|
12218
|
-
hideLabel: {
|
|
12219
|
-
type: BooleanConstructor;
|
|
12220
|
-
default: any;
|
|
12221
|
-
};
|
|
12222
|
-
/**
|
|
12223
|
-
* The radio group's items.
|
|
12224
|
-
*/
|
|
12225
|
-
items: {
|
|
12226
|
-
type: PropType<BentoRadioGroupItems>;
|
|
12227
|
-
required: true;
|
|
12228
|
-
};
|
|
12229
|
-
/**
|
|
12230
|
-
* The name associated with the group. Required for accessibility purposes.
|
|
12231
|
-
*/
|
|
12232
|
-
label: {
|
|
12233
|
-
type: StringConstructor;
|
|
12234
|
-
required: true;
|
|
12235
|
-
};
|
|
12236
|
-
/**
|
|
12237
|
-
* Determines the initially selected value of the group. Corresponds to the BentoRadioButtonItem's value.
|
|
12238
|
-
* Defaults to no value selected.
|
|
12239
|
-
*/
|
|
12240
|
-
modelValue: {
|
|
12241
|
-
type: PropType<BentoRadioGroupValue>;
|
|
12242
|
-
default: any;
|
|
12243
|
-
};
|
|
12244
|
-
/**
|
|
12245
|
-
* Indicates the field is optional.
|
|
12246
|
-
*/
|
|
12247
|
-
optional: {
|
|
12248
|
-
type: BooleanConstructor;
|
|
12249
|
-
default: boolean;
|
|
12250
|
-
};
|
|
12251
|
-
/**
|
|
12252
|
-
* If set to true, renders all bento-radio-button in the group in a readonly state.
|
|
12253
|
-
*/
|
|
12254
|
-
readonly: {
|
|
12255
|
-
type: BooleanConstructor;
|
|
12256
|
-
default: boolean;
|
|
12257
|
-
};
|
|
12258
|
-
/**
|
|
12259
|
-
* Indicates the field is required.
|
|
12260
|
-
*/
|
|
12261
|
-
required: {
|
|
12262
|
-
type: BooleanConstructor;
|
|
12263
|
-
default: boolean;
|
|
12264
|
-
};
|
|
12265
|
-
/**
|
|
12266
|
-
* Tooltip message.
|
|
12267
|
-
*/
|
|
12268
|
-
tooltipText: {
|
|
12269
|
-
type: StringConstructor;
|
|
12270
|
-
default: any;
|
|
12271
|
-
};
|
|
12272
|
-
/**
|
|
12273
|
-
* The radio group's layout. It can be vertical or horizontal. Defaults to vertical.
|
|
12274
|
-
*/
|
|
12275
|
-
variant: {
|
|
12276
|
-
type: PropType<BentoRadioGroupVariant | `${BentoRadioGroupVariant}`>;
|
|
12277
|
-
default: BentoRadioGroupVariant;
|
|
12278
|
-
validator: (value: BentoRadioGroupVariant) => boolean;
|
|
12279
|
-
};
|
|
12280
12089
|
}, {
|
|
12281
12090
|
focus: () => void;
|
|
12282
12091
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12283
12092
|
input: (value: BentoRadioButtonValue) => void;
|
|
12284
12093
|
} & {
|
|
12285
12094
|
"update:model-value": (value: BentoRadioButtonValue) => void;
|
|
12286
|
-
}, string, Readonly<ExtractPropTypes< {
|
|
12287
|
-
/**
|
|
12288
|
-
* Descriptive supporting text visbile underneath the label.
|
|
12289
|
-
*/
|
|
12290
|
-
description: {
|
|
12291
|
-
type: StringConstructor;
|
|
12292
|
-
default: any;
|
|
12293
|
-
};
|
|
12294
|
-
/**
|
|
12295
|
-
* If set to true, renders all bento-radio-buttons in the group in a disabled state.
|
|
12296
|
-
*/
|
|
12297
|
-
disabled: {
|
|
12298
|
-
type: BooleanConstructor;
|
|
12299
|
-
default: boolean;
|
|
12300
|
-
};
|
|
12301
|
-
/**
|
|
12302
|
-
* If passed as a prop, all bento-radio-buttons in an error state and renders the string beneath the buttons.
|
|
12303
|
-
*/
|
|
12304
|
-
errorMessage: {
|
|
12305
|
-
type: StringConstructor;
|
|
12306
|
-
default: any;
|
|
12307
|
-
};
|
|
12308
|
-
/**
|
|
12309
|
-
* The form id the radio group is associated with. Defaults to null, as a radio group can also be used standalone.
|
|
12310
|
-
*/
|
|
12311
|
-
formId: {
|
|
12312
|
-
type: StringConstructor;
|
|
12313
|
-
default: any;
|
|
12314
|
-
};
|
|
12315
|
-
/**
|
|
12316
|
-
* If set to true, renders all bento-radio-buttons in the group in an error state.
|
|
12317
|
-
*
|
|
12318
|
-
* @deprecated Use "errorMessage" prop instead
|
|
12319
|
-
*/
|
|
12320
|
-
hasError: {
|
|
12321
|
-
type: BooleanConstructor;
|
|
12322
|
-
default: boolean;
|
|
12323
|
-
};
|
|
12324
|
-
/**
|
|
12325
|
-
* Shows/hides the group label.
|
|
12326
|
-
*/
|
|
12327
|
-
hideLabel: {
|
|
12328
|
-
type: BooleanConstructor;
|
|
12329
|
-
default: any;
|
|
12330
|
-
};
|
|
12095
|
+
}, string, Readonly<ExtractPropTypes< {
|
|
12331
12096
|
/**
|
|
12332
|
-
*
|
|
12097
|
+
* Disable the radio button (optional)
|
|
12333
12098
|
*/
|
|
12334
|
-
|
|
12335
|
-
type:
|
|
12336
|
-
|
|
12099
|
+
disabled: {
|
|
12100
|
+
type: BooleanConstructor;
|
|
12101
|
+
default: boolean;
|
|
12337
12102
|
};
|
|
12338
12103
|
/**
|
|
12339
|
-
*
|
|
12104
|
+
* Shows bento-radio-button in error state (optional)
|
|
12340
12105
|
*/
|
|
12341
|
-
|
|
12342
|
-
type:
|
|
12343
|
-
|
|
12106
|
+
hasError: {
|
|
12107
|
+
type: BooleanConstructor;
|
|
12108
|
+
default: boolean;
|
|
12344
12109
|
};
|
|
12345
12110
|
/**
|
|
12346
|
-
*
|
|
12347
|
-
*
|
|
12111
|
+
* This property should not be used directly.
|
|
12112
|
+
* It will be used by v-model directive on radio component.
|
|
12348
12113
|
*/
|
|
12349
12114
|
modelValue: {
|
|
12350
|
-
type: PropType<
|
|
12115
|
+
type: PropType<BentoRadioButtonValue>;
|
|
12351
12116
|
default: any;
|
|
12352
12117
|
};
|
|
12353
12118
|
/**
|
|
12354
|
-
*
|
|
12119
|
+
* Sets the radio button to readonly (optional)
|
|
12355
12120
|
*/
|
|
12356
|
-
|
|
12121
|
+
readonly: {
|
|
12357
12122
|
type: BooleanConstructor;
|
|
12358
12123
|
default: boolean;
|
|
12359
12124
|
};
|
|
12360
12125
|
/**
|
|
12361
|
-
*
|
|
12126
|
+
* Sets the properties of the BentoTag component that is placed next to the label.
|
|
12127
|
+
* {@see BentoTag}
|
|
12362
12128
|
*/
|
|
12363
|
-
|
|
12364
|
-
type:
|
|
12365
|
-
default:
|
|
12129
|
+
tag: {
|
|
12130
|
+
type: PropType<BentoRadioButtonTag>;
|
|
12131
|
+
default: any;
|
|
12366
12132
|
};
|
|
12367
12133
|
/**
|
|
12368
|
-
* Indicates the
|
|
12134
|
+
* Indicates the value of the input that will be returned when it's checked
|
|
12369
12135
|
*/
|
|
12370
|
-
|
|
12371
|
-
type:
|
|
12372
|
-
|
|
12136
|
+
value: {
|
|
12137
|
+
type: PropType<BentoRadioButtonValue>;
|
|
12138
|
+
required: true;
|
|
12373
12139
|
};
|
|
12374
12140
|
/**
|
|
12375
|
-
*
|
|
12141
|
+
* Sets the name of the radio input.
|
|
12142
|
+
* Used for differentiating radio groups or accessing input via form submission.
|
|
12376
12143
|
*/
|
|
12377
|
-
|
|
12144
|
+
name: {
|
|
12378
12145
|
type: StringConstructor;
|
|
12379
12146
|
default: any;
|
|
12380
12147
|
};
|
|
12381
|
-
/**
|
|
12382
|
-
* The radio group's layout. It can be vertical or horizontal. Defaults to vertical.
|
|
12383
|
-
*/
|
|
12384
|
-
variant: {
|
|
12385
|
-
type: PropType<BentoRadioGroupVariant | `${BentoRadioGroupVariant}`>;
|
|
12386
|
-
default: BentoRadioGroupVariant;
|
|
12387
|
-
validator: (value: BentoRadioGroupVariant) => boolean;
|
|
12388
|
-
};
|
|
12389
12148
|
}>>, {
|
|
12149
|
+
name: string;
|
|
12150
|
+
disabled: boolean;
|
|
12151
|
+
tag: any;
|
|
12152
|
+
readonly: boolean;
|
|
12153
|
+
hasError: boolean;
|
|
12154
|
+
modelValue: BentoRadioButtonValue;
|
|
12155
|
+
}>, {
|
|
12156
|
+
default: (_: {}) => any;
|
|
12157
|
+
description: (_: {}) => any;
|
|
12158
|
+
content: (_: {}) => any;
|
|
12159
|
+
}>;
|
|
12160
|
+
|
|
12161
|
+
export declare enum BentoRadioButtonStateClass {
|
|
12162
|
+
DISABLED = "disabled",
|
|
12163
|
+
READONLY = "readonly",
|
|
12164
|
+
ERROR = "error"
|
|
12165
|
+
}
|
|
12166
|
+
|
|
12167
|
+
export declare type BentoRadioButtonTag = InstanceType<typeof BentoTag>['$props'];
|
|
12168
|
+
|
|
12169
|
+
export declare type BentoRadioButtonValue = string | number;
|
|
12170
|
+
|
|
12171
|
+
/**
|
|
12172
|
+
* A radio group component should be used whenever it is necessary to use a set of radio buttons
|
|
12173
|
+
* This component conforms to the official WAI-ARIA guidelines for grouping controls: https://www.w3.org/WAI/tutorials/forms/grouping/
|
|
12174
|
+
*
|
|
12175
|
+
* import { BentoRadioGroup } from '@adyen/bento-vue2/';
|
|
12176
|
+
*
|
|
12177
|
+
* export default {
|
|
12178
|
+
* components: { BentoRadioGroup },
|
|
12179
|
+
* template: `
|
|
12180
|
+
* <bento-radio-group
|
|
12181
|
+
* label="Your group label"
|
|
12182
|
+
* :items="[
|
|
12183
|
+
* { value: 1, label: 'Your label' },
|
|
12184
|
+
* { value: 2, label: 'Another label', description: 'Your descriptive sub label' },
|
|
12185
|
+
* ]"
|
|
12186
|
+
* variant="horizontal"
|
|
12187
|
+
* />
|
|
12188
|
+
* `
|
|
12189
|
+
* };
|
|
12190
|
+
*/
|
|
12191
|
+
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_34<DefineComponent<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_43<BentoRadioGroupProps>, {
|
|
12192
|
+
description: any;
|
|
12193
|
+
disabled: boolean;
|
|
12194
|
+
errorMessage: any;
|
|
12195
|
+
formId: any;
|
|
12196
|
+
hasError: boolean;
|
|
12197
|
+
hideLabel: any;
|
|
12198
|
+
modelValue: any;
|
|
12199
|
+
optional: boolean;
|
|
12200
|
+
readonly: boolean;
|
|
12201
|
+
required: boolean;
|
|
12202
|
+
tooltipText: any;
|
|
12203
|
+
variant: BentoRadioGroupVariant;
|
|
12204
|
+
}>, {
|
|
12205
|
+
focus: () => void;
|
|
12206
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12207
|
+
input: (value: BentoRadioButtonValue) => void;
|
|
12208
|
+
} & {
|
|
12209
|
+
"update:model-value": (value: BentoRadioButtonValue) => void;
|
|
12210
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_43<BentoRadioGroupProps>, {
|
|
12211
|
+
description: any;
|
|
12212
|
+
disabled: boolean;
|
|
12213
|
+
errorMessage: any;
|
|
12214
|
+
formId: any;
|
|
12215
|
+
hasError: boolean;
|
|
12216
|
+
hideLabel: any;
|
|
12217
|
+
modelValue: any;
|
|
12218
|
+
optional: boolean;
|
|
12219
|
+
readonly: boolean;
|
|
12220
|
+
required: boolean;
|
|
12221
|
+
tooltipText: any;
|
|
12222
|
+
variant: BentoRadioGroupVariant;
|
|
12223
|
+
}>>>, {
|
|
12390
12224
|
description: string;
|
|
12391
|
-
variant:
|
|
12225
|
+
variant: BentoRadioGroupVariant | `${BentoRadioGroupVariant}`;
|
|
12392
12226
|
required: boolean;
|
|
12393
12227
|
disabled: boolean;
|
|
12394
12228
|
optional: boolean;
|
|
12395
12229
|
readonly: boolean;
|
|
12396
|
-
tooltipText: string;
|
|
12397
|
-
hideLabel: boolean;
|
|
12398
|
-
errorMessage: string;
|
|
12399
12230
|
hasError: boolean;
|
|
12400
|
-
modelValue:
|
|
12401
|
-
|
|
12231
|
+
modelValue: BentoRadioGroupValue | null;
|
|
12232
|
+
errorMessage: string;
|
|
12233
|
+
tooltipText: string;
|
|
12234
|
+
hideLabel: boolean | null;
|
|
12235
|
+
formId: string | null;
|
|
12402
12236
|
}>, {
|
|
12403
12237
|
content: (_: {}) => any;
|
|
12404
12238
|
description: (_: {}) => any;
|
|
@@ -12416,6 +12250,46 @@ export declare interface BentoRadioGroupItem {
|
|
|
12416
12250
|
|
|
12417
12251
|
export declare type BentoRadioGroupItems = Array<BentoRadioGroupItem>;
|
|
12418
12252
|
|
|
12253
|
+
export declare interface BentoRadioGroupProps extends FormField {
|
|
12254
|
+
/**
|
|
12255
|
+
* The form id the radio group is associated with. Defaults to null, as a radio group can also be used standalone.
|
|
12256
|
+
* @default null
|
|
12257
|
+
*/
|
|
12258
|
+
formId?: string | null;
|
|
12259
|
+
/**
|
|
12260
|
+
* If set to true, renders all bento-radio-buttons in the group in an error state.
|
|
12261
|
+
* @deprecated Use "errorMessage" prop instead
|
|
12262
|
+
* @default false
|
|
12263
|
+
*/
|
|
12264
|
+
hasError?: boolean;
|
|
12265
|
+
/**
|
|
12266
|
+
* Shows/hides the group label.
|
|
12267
|
+
* @default null
|
|
12268
|
+
*/
|
|
12269
|
+
hideLabel?: boolean | null;
|
|
12270
|
+
/**
|
|
12271
|
+
* The radio group's items.
|
|
12272
|
+
* Required.
|
|
12273
|
+
*/
|
|
12274
|
+
items: BentoRadioGroupItems;
|
|
12275
|
+
/**
|
|
12276
|
+
* The name associated with the group. Required for accessibility purposes.
|
|
12277
|
+
* Required.
|
|
12278
|
+
*/
|
|
12279
|
+
label: string;
|
|
12280
|
+
/**
|
|
12281
|
+
* Determines the initially selected value of the group. Corresponds to the BentoRadioButtonItem's value.
|
|
12282
|
+
* Defaults to no value selected.
|
|
12283
|
+
* @default null
|
|
12284
|
+
*/
|
|
12285
|
+
modelValue?: BentoRadioGroupValue | null;
|
|
12286
|
+
/**
|
|
12287
|
+
* The radio group's layout. It can be vertical or horizontal. Defaults to vertical.
|
|
12288
|
+
* @default BentoRadioGroupVariant.VERTICAL
|
|
12289
|
+
*/
|
|
12290
|
+
variant?: BentoRadioGroupVariant | `${BentoRadioGroupVariant}`;
|
|
12291
|
+
}
|
|
12292
|
+
|
|
12419
12293
|
export declare type BentoRadioGroupValue = BentoRadioButtonValue;
|
|
12420
12294
|
|
|
12421
12295
|
/**
|
|
@@ -12450,7 +12324,7 @@ export declare type BentoRangeFilterOptions = {
|
|
|
12450
12324
|
* `
|
|
12451
12325
|
* }
|
|
12452
12326
|
*/
|
|
12453
|
-
export declare const BentoRichTextEditor: DefineComponent<
|
|
12327
|
+
export declare const BentoRichTextEditor: DefineComponent<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_45<BentoRichTextEditorProps>, {
|
|
12454
12328
|
description: any;
|
|
12455
12329
|
disabled: boolean;
|
|
12456
12330
|
errorMessage: any;
|
|
@@ -12462,7 +12336,7 @@ tooltipText: any;
|
|
|
12462
12336
|
value: any;
|
|
12463
12337
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12464
12338
|
input: (value: string) => void;
|
|
12465
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12339
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_45<BentoRichTextEditorProps>, {
|
|
12466
12340
|
description: any;
|
|
12467
12341
|
disabled: boolean;
|
|
12468
12342
|
errorMessage: any;
|
|
@@ -12478,9 +12352,9 @@ description: string;
|
|
|
12478
12352
|
label: string;
|
|
12479
12353
|
required: boolean;
|
|
12480
12354
|
disabled: boolean;
|
|
12355
|
+
errorMessage: string;
|
|
12481
12356
|
tooltipText: string;
|
|
12482
12357
|
hideLabel: boolean;
|
|
12483
|
-
errorMessage: string;
|
|
12484
12358
|
mode: BentoRichTextEditorMode;
|
|
12485
12359
|
}>;
|
|
12486
12360
|
|
|
@@ -12574,7 +12448,7 @@ export declare interface BentoRichTextEditorProps {
|
|
|
12574
12448
|
* }
|
|
12575
12449
|
* }
|
|
12576
12450
|
*/
|
|
12577
|
-
export declare const BentoSearchBar: DefineComponent<
|
|
12451
|
+
export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_46<BentoSearchBarProps>, {
|
|
12578
12452
|
condensed: boolean;
|
|
12579
12453
|
debounceTime: number;
|
|
12580
12454
|
disabled: boolean;
|
|
@@ -12596,7 +12470,7 @@ clear: () => void;
|
|
|
12596
12470
|
blur: () => void;
|
|
12597
12471
|
} & {
|
|
12598
12472
|
focus: () => void;
|
|
12599
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12473
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_46<BentoSearchBarProps>, {
|
|
12600
12474
|
condensed: boolean;
|
|
12601
12475
|
debounceTime: number;
|
|
12602
12476
|
disabled: boolean;
|
|
@@ -12685,7 +12559,7 @@ export declare interface BentoSearchBarProps {
|
|
|
12685
12559
|
* }
|
|
12686
12560
|
* }
|
|
12687
12561
|
*/
|
|
12688
|
-
export declare const BentoSecondaryNav: DefineComponent<
|
|
12562
|
+
export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_47<{
|
|
12689
12563
|
/**
|
|
12690
12564
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12691
12565
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12698,7 +12572,7 @@ items: BentoSecondaryNavItems;
|
|
|
12698
12572
|
value?: string;
|
|
12699
12573
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12700
12574
|
change: (category: string) => void;
|
|
12701
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12575
|
+
}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_47<{
|
|
12702
12576
|
/**
|
|
12703
12577
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12704
12578
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12715,7 +12589,7 @@ export declare type BentoSecondaryNavItems = Array<BentoSecondaryNavItemsItem |
|
|
|
12715
12589
|
|
|
12716
12590
|
export declare interface BentoSecondaryNavItemsCategory {
|
|
12717
12591
|
label: string;
|
|
12718
|
-
items: BentoSecondaryNavItemsItem
|
|
12592
|
+
items: Array<BentoSecondaryNavItemsItem>;
|
|
12719
12593
|
}
|
|
12720
12594
|
|
|
12721
12595
|
export declare interface BentoSecondaryNavItemsItem {
|
|
@@ -12743,7 +12617,7 @@ export declare interface BentoSecondaryNavState {
|
|
|
12743
12617
|
* `
|
|
12744
12618
|
* }
|
|
12745
12619
|
*/
|
|
12746
|
-
export declare const BentoSegmentedControl: DefineComponent<
|
|
12620
|
+
export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_48<BentoSegmentedControlProps>, {
|
|
12747
12621
|
ariaLabel: any;
|
|
12748
12622
|
fullWidth: boolean;
|
|
12749
12623
|
wrap: boolean;
|
|
@@ -12752,7 +12626,7 @@ modelValue: any;
|
|
|
12752
12626
|
"update:model-value": (value: any) => void;
|
|
12753
12627
|
} & {
|
|
12754
12628
|
input: (value: BentoSegmentedControlValue) => void;
|
|
12755
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12629
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_48<BentoSegmentedControlProps>, {
|
|
12756
12630
|
ariaLabel: any;
|
|
12757
12631
|
fullWidth: boolean;
|
|
12758
12632
|
wrap: boolean;
|
|
@@ -12790,7 +12664,7 @@ export declare interface BentoSegmentedControlProps {
|
|
|
12790
12664
|
/**
|
|
12791
12665
|
* Items that will populate the segmented control.
|
|
12792
12666
|
*/
|
|
12793
|
-
items: BentoSegmentedControlItem
|
|
12667
|
+
items: Array<BentoSegmentedControlItem>;
|
|
12794
12668
|
/**
|
|
12795
12669
|
* Determines the selected value of the group. Corresponds to the BentoSegmentedControlItem's value.
|
|
12796
12670
|
*/
|
|
@@ -12852,6 +12726,10 @@ export declare interface BentoSelectFilterOptions {
|
|
|
12852
12726
|
* when the select filter has all items selected.
|
|
12853
12727
|
*/
|
|
12854
12728
|
messagesPersistentButtonLabelAllSelectedKey?: string;
|
|
12729
|
+
/**
|
|
12730
|
+
* The event fire when the filter is opened.
|
|
12731
|
+
*/
|
|
12732
|
+
onOpen?: () => void;
|
|
12855
12733
|
lazy?: {
|
|
12856
12734
|
/**
|
|
12857
12735
|
* Indicates whether there are more items to load
|
|
@@ -12916,6 +12794,11 @@ export declare interface BentoSelectFilterOptions {
|
|
|
12916
12794
|
* @default false
|
|
12917
12795
|
*/
|
|
12918
12796
|
enableValueLabelPair?: boolean;
|
|
12797
|
+
/**
|
|
12798
|
+
* Enables a search bar that dynamically filters values
|
|
12799
|
+
* @default true
|
|
12800
|
+
*/
|
|
12801
|
+
dynamicFiltering?: boolean;
|
|
12919
12802
|
}
|
|
12920
12803
|
|
|
12921
12804
|
export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
@@ -12938,7 +12821,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
|
12938
12821
|
* `
|
|
12939
12822
|
* }
|
|
12940
12823
|
*/
|
|
12941
|
-
export declare const BentoSelectionCard:
|
|
12824
|
+
export declare const BentoSelectionCard: __VLS_WithTemplateSlots_36<DefineComponent< {
|
|
12942
12825
|
/**
|
|
12943
12826
|
* The description of the selection card
|
|
12944
12827
|
*/
|
|
@@ -13131,7 +13014,7 @@ fullyClickable: boolean;
|
|
|
13131
13014
|
* `,
|
|
13132
13015
|
* }
|
|
13133
13016
|
*/
|
|
13134
|
-
export declare const BentoSelectionCardGroup:
|
|
13017
|
+
export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_37<DefineComponent< {
|
|
13135
13018
|
/**
|
|
13136
13019
|
* Descriptive supporting text visbile underneath the label.
|
|
13137
13020
|
*/
|
|
@@ -13186,7 +13069,7 @@ default: string;
|
|
|
13186
13069
|
* The selection card group's items.
|
|
13187
13070
|
*/
|
|
13188
13071
|
items: {
|
|
13189
|
-
type: PropType<BentoSelectionCardItem
|
|
13072
|
+
type: PropType<Array<BentoSelectionCardItem>>;
|
|
13190
13073
|
required: true;
|
|
13191
13074
|
};
|
|
13192
13075
|
/**
|
|
@@ -13299,7 +13182,7 @@ default: string;
|
|
|
13299
13182
|
* The selection card group's items.
|
|
13300
13183
|
*/
|
|
13301
13184
|
items: {
|
|
13302
|
-
type: PropType<BentoSelectionCardItem
|
|
13185
|
+
type: PropType<Array<BentoSelectionCardItem>>;
|
|
13303
13186
|
required: true;
|
|
13304
13187
|
};
|
|
13305
13188
|
/**
|
|
@@ -13361,10 +13244,10 @@ disabled: boolean;
|
|
|
13361
13244
|
optional: boolean;
|
|
13362
13245
|
readonly: boolean;
|
|
13363
13246
|
layout: BentoSelectionCardGroupLayout;
|
|
13247
|
+
modelValue: BentoSelectionCardModelValue;
|
|
13248
|
+
errorMessage: string;
|
|
13364
13249
|
tooltipText: string;
|
|
13365
13250
|
hideLabel: boolean;
|
|
13366
|
-
errorMessage: string;
|
|
13367
|
-
modelValue: BentoSelectionCardModelValue;
|
|
13368
13251
|
formId: string;
|
|
13369
13252
|
itemsPerRow: GridLayoutColumnWidth;
|
|
13370
13253
|
}>, {
|
|
@@ -13447,7 +13330,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
|
|
|
13447
13330
|
* `
|
|
13448
13331
|
* }
|
|
13449
13332
|
*/
|
|
13450
|
-
export declare const BentoSidepanel:
|
|
13333
|
+
export declare const BentoSidepanel: __VLS_WithTemplateSlots_39<DefineComponent< {
|
|
13451
13334
|
/**
|
|
13452
13335
|
* The id of the current active page
|
|
13453
13336
|
* Should be the same id as the BentoSidepanelPage to be displayed
|
|
@@ -13575,7 +13458,7 @@ export declare enum BentoSidepanelEvent {
|
|
|
13575
13458
|
* `
|
|
13576
13459
|
* }
|
|
13577
13460
|
*/
|
|
13578
|
-
export declare const BentoSidepanelPage:
|
|
13461
|
+
export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_38<DefineComponent< {
|
|
13579
13462
|
/**
|
|
13580
13463
|
* List of actions that will be used to render the buttons.
|
|
13581
13464
|
* First element in the list will be rendered as "primary".
|
|
@@ -13718,7 +13601,7 @@ destructiveActions: boolean;
|
|
|
13718
13601
|
* `
|
|
13719
13602
|
* }
|
|
13720
13603
|
*/
|
|
13721
|
-
export declare const BentoStatus:
|
|
13604
|
+
export declare const BentoStatus: __VLS_WithTemplateSlots_40<DefineComponent<__VLS_TypePropsToRuntimeProps_49<BentoStatusProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_49<BentoStatusProps>>>, {}>, {
|
|
13722
13605
|
default: (_: {}) => any;
|
|
13723
13606
|
}>;
|
|
13724
13607
|
|
|
@@ -13763,7 +13646,7 @@ export declare enum BentoStatusVariant {
|
|
|
13763
13646
|
* `
|
|
13764
13647
|
* }
|
|
13765
13648
|
*/
|
|
13766
|
-
export declare const BentoStep:
|
|
13649
|
+
export declare const BentoStep: __VLS_WithTemplateSlots_42<DefineComponent< {
|
|
13767
13650
|
/**
|
|
13768
13651
|
* Completed status. Used on non-linear steppers to indicate if the step is completed.
|
|
13769
13652
|
*/
|
|
@@ -13820,7 +13703,7 @@ substepIndex: number;
|
|
|
13820
13703
|
* `
|
|
13821
13704
|
* }
|
|
13822
13705
|
*/
|
|
13823
|
-
export declare const BentoStepper:
|
|
13706
|
+
export declare const BentoStepper: __VLS_WithTemplateSlots_41<DefineComponent< {
|
|
13824
13707
|
/**
|
|
13825
13708
|
* Type of stepper; defines how the stepper should behave. Default: linear
|
|
13826
13709
|
* @values linear, non-linear
|
|
@@ -13883,7 +13766,7 @@ export declare type BentoStepperState = Ref<{
|
|
|
13883
13766
|
latestActiveStep: number;
|
|
13884
13767
|
type: `${BentoStepperTypeOption}`;
|
|
13885
13768
|
variant: `${BentoStepperVariantOption}`;
|
|
13886
|
-
steps: HTMLElement
|
|
13769
|
+
steps: Array<HTMLElement>;
|
|
13887
13770
|
isParentStep?: boolean;
|
|
13888
13771
|
navigateToStep: (index: number) => void;
|
|
13889
13772
|
registerStep: (stepState: BentoStepperStepExposeState) => void;
|
|
@@ -13892,7 +13775,7 @@ export declare type BentoStepperState = Ref<{
|
|
|
13892
13775
|
|
|
13893
13776
|
export declare interface BentoStepperStepExposeState {
|
|
13894
13777
|
buttonElement: HTMLButtonElement | Ref<UnwrapRef<HTMLButtonElement>>;
|
|
13895
|
-
substeps: BentoStepperStepExposeState
|
|
13778
|
+
substeps: Array<BentoStepperStepExposeState> | Ref<Array<BentoStepperStepExposeState>>;
|
|
13896
13779
|
stepContent: string | ComputedRef<string>;
|
|
13897
13780
|
}
|
|
13898
13781
|
|
|
@@ -13934,7 +13817,7 @@ declare interface BentoStickyTabsOptions {
|
|
|
13934
13817
|
* `
|
|
13935
13818
|
* }
|
|
13936
13819
|
*/
|
|
13937
|
-
export declare const BentoStructuredList:
|
|
13820
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_43<DefineComponent<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_50<{
|
|
13938
13821
|
/**
|
|
13939
13822
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13940
13823
|
*/
|
|
@@ -13958,7 +13841,7 @@ layout?: BentoStructuredListLayoutOptions;
|
|
|
13958
13841
|
}>, {
|
|
13959
13842
|
labelsWidth: any;
|
|
13960
13843
|
layout: string;
|
|
13961
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
13844
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_50<{
|
|
13962
13845
|
/**
|
|
13963
13846
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13964
13847
|
*/
|
|
@@ -14012,7 +13895,7 @@ labelsWidth: number;
|
|
|
14012
13895
|
* `
|
|
14013
13896
|
* }
|
|
14014
13897
|
*/
|
|
14015
|
-
export declare const BentoStructuredListItem:
|
|
13898
|
+
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_44<DefineComponent<__VLS_TypePropsToRuntimeProps_51<{
|
|
14016
13899
|
/**
|
|
14017
13900
|
* Label to display for the value
|
|
14018
13901
|
*/
|
|
@@ -14039,7 +13922,7 @@ searchTooltip?: string;
|
|
|
14039
13922
|
truncate?: boolean;
|
|
14040
13923
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14041
13924
|
copy: (value: string) => void;
|
|
14042
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13925
|
+
}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_51<{
|
|
14043
13926
|
/**
|
|
14044
13927
|
* Label to display for the value
|
|
14045
13928
|
*/
|
|
@@ -14094,10 +13977,10 @@ declare const BentoStructuredListLayoutOptions: string[];
|
|
|
14094
13977
|
* `
|
|
14095
13978
|
* }
|
|
14096
13979
|
*/
|
|
14097
|
-
export declare const BentoSummaryGrid:
|
|
13980
|
+
export declare const BentoSummaryGrid: __VLS_WithTemplateSlots_45<DefineComponent<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoSummaryGridProps>, {
|
|
14098
13981
|
columnWidth: any;
|
|
14099
13982
|
slashedZero: boolean;
|
|
14100
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
13983
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoSummaryGridProps>, {
|
|
14101
13984
|
columnWidth: any;
|
|
14102
13985
|
slashedZero: boolean;
|
|
14103
13986
|
}>>>, {
|
|
@@ -14132,7 +14015,7 @@ export declare interface BentoSummaryGridColumnWidth {
|
|
|
14132
14015
|
* `
|
|
14133
14016
|
* }
|
|
14134
14017
|
*/
|
|
14135
|
-
export declare const BentoSummaryGridItemAmount:
|
|
14018
|
+
export declare const BentoSummaryGridItemAmount: __VLS_WithTemplateSlots_46<DefineComponent<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<BentoSummaryGridItemAmountProps>, {
|
|
14136
14019
|
copy: any;
|
|
14137
14020
|
fitContent: boolean;
|
|
14138
14021
|
infoIconTooltipText: any;
|
|
@@ -14149,7 +14032,7 @@ underlineTooltipText: any;
|
|
|
14149
14032
|
"copy-click": (event: MouseEvent) => void;
|
|
14150
14033
|
} & {
|
|
14151
14034
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
14152
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14035
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<BentoSummaryGridItemAmountProps>, {
|
|
14153
14036
|
copy: any;
|
|
14154
14037
|
fitContent: boolean;
|
|
14155
14038
|
infoIconTooltipText: any;
|
|
@@ -14209,7 +14092,7 @@ export declare interface BentoSummaryGridItemAmountProps extends BaseSummaryGrid
|
|
|
14209
14092
|
* `
|
|
14210
14093
|
* }
|
|
14211
14094
|
*/
|
|
14212
|
-
export declare const BentoSummaryGridItemCustom:
|
|
14095
|
+
export declare const BentoSummaryGridItemCustom: __VLS_WithTemplateSlots_50<DefineComponent<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_57<BentoSummaryGridItemCustomProps>, {
|
|
14213
14096
|
copy: any;
|
|
14214
14097
|
infoIconTooltipText: any;
|
|
14215
14098
|
fitContent: boolean;
|
|
@@ -14219,7 +14102,7 @@ underlineTooltipText: any;
|
|
|
14219
14102
|
"copy-click": (event: MouseEvent) => void;
|
|
14220
14103
|
} & {
|
|
14221
14104
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
14222
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14105
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_57<BentoSummaryGridItemCustomProps>, {
|
|
14223
14106
|
copy: any;
|
|
14224
14107
|
infoIconTooltipText: any;
|
|
14225
14108
|
fitContent: boolean;
|
|
@@ -14283,7 +14166,7 @@ export declare interface BentoSummaryGridItemCustomProps {
|
|
|
14283
14166
|
* `
|
|
14284
14167
|
* }
|
|
14285
14168
|
*/
|
|
14286
|
-
export declare const BentoSummaryGridItemNumeric:
|
|
14169
|
+
export declare const BentoSummaryGridItemNumeric: __VLS_WithTemplateSlots_47<DefineComponent<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<BentoSummaryGridItemNumericProps>, {
|
|
14287
14170
|
copy: any;
|
|
14288
14171
|
fitContent: boolean;
|
|
14289
14172
|
infoIconTooltipText: any;
|
|
@@ -14299,7 +14182,7 @@ underlineTooltipText: any;
|
|
|
14299
14182
|
"copy-click": (event: MouseEvent) => void;
|
|
14300
14183
|
} & {
|
|
14301
14184
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
14302
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14185
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<BentoSummaryGridItemNumericProps>, {
|
|
14303
14186
|
copy: any;
|
|
14304
14187
|
fitContent: boolean;
|
|
14305
14188
|
infoIconTooltipText: any;
|
|
@@ -14358,7 +14241,7 @@ export declare interface BentoSummaryGridItemNumericProps extends BaseSummaryGri
|
|
|
14358
14241
|
* `
|
|
14359
14242
|
* }
|
|
14360
14243
|
*/
|
|
14361
|
-
export declare const BentoSummaryGridItemPercentage:
|
|
14244
|
+
export declare const BentoSummaryGridItemPercentage: __VLS_WithTemplateSlots_48<DefineComponent<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<BentoSummaryGridItemPercentageProps>, {
|
|
14362
14245
|
copy: any;
|
|
14363
14246
|
fitContent: boolean;
|
|
14364
14247
|
infoIconTooltipText: any;
|
|
@@ -14374,7 +14257,7 @@ underlineTooltipText: any;
|
|
|
14374
14257
|
"copy-click": (event: MouseEvent) => void;
|
|
14375
14258
|
} & {
|
|
14376
14259
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
14377
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14260
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<BentoSummaryGridItemPercentageProps>, {
|
|
14378
14261
|
copy: any;
|
|
14379
14262
|
fitContent: boolean;
|
|
14380
14263
|
infoIconTooltipText: any;
|
|
@@ -14448,7 +14331,7 @@ declare enum BentoSummaryGridItemSize_2 {
|
|
|
14448
14331
|
* `
|
|
14449
14332
|
* }
|
|
14450
14333
|
*/
|
|
14451
|
-
export declare const BentoSummaryGridItemText:
|
|
14334
|
+
export declare const BentoSummaryGridItemText: __VLS_WithTemplateSlots_49<DefineComponent<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_56<BentoSummaryGridItemTextProps>, {
|
|
14452
14335
|
copy: any;
|
|
14453
14336
|
fitContent: boolean;
|
|
14454
14337
|
infoIconTooltipText: any;
|
|
@@ -14458,7 +14341,7 @@ underlineTooltipText: any;
|
|
|
14458
14341
|
"copy-click": (event: MouseEvent) => void;
|
|
14459
14342
|
} & {
|
|
14460
14343
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
14461
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14344
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_56<BentoSummaryGridItemTextProps>, {
|
|
14462
14345
|
copy: any;
|
|
14463
14346
|
fitContent: boolean;
|
|
14464
14347
|
infoIconTooltipText: any;
|
|
@@ -14559,12 +14442,12 @@ export declare interface BentoSummaryGridProps {
|
|
|
14559
14442
|
* </bento-tabs>
|
|
14560
14443
|
* </template>
|
|
14561
14444
|
*/
|
|
14562
|
-
export declare const BentoTab:
|
|
14445
|
+
export declare const BentoTab: __VLS_WithTemplateSlots_51<DefineComponent<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<BentoTabProps>, {
|
|
14563
14446
|
counter: any;
|
|
14564
14447
|
disabled: boolean;
|
|
14565
14448
|
hidden: boolean;
|
|
14566
14449
|
withNotificationIndicator: boolean;
|
|
14567
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14450
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<BentoTabProps>, {
|
|
14568
14451
|
counter: any;
|
|
14569
14452
|
disabled: boolean;
|
|
14570
14453
|
hidden: boolean;
|
|
@@ -14586,7 +14469,7 @@ declare interface BentoTab_2 {
|
|
|
14586
14469
|
disabled: Ref<boolean>;
|
|
14587
14470
|
hidden: Ref<boolean>;
|
|
14588
14471
|
id: string;
|
|
14589
|
-
title:
|
|
14472
|
+
title: MaybeRef_2<string>;
|
|
14590
14473
|
withNotificationIndicator: Ref<boolean>;
|
|
14591
14474
|
}
|
|
14592
14475
|
|
|
@@ -14713,11 +14596,11 @@ declare enum BentoTabsEvent {
|
|
|
14713
14596
|
ACTIVE_TAB_INDEX = "update:active-tab-index"
|
|
14714
14597
|
}
|
|
14715
14598
|
|
|
14716
|
-
export declare const BentoTag: DefineComponent<
|
|
14599
|
+
export declare const BentoTag: DefineComponent<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_44<BentoTagProps>, {
|
|
14717
14600
|
label: any;
|
|
14718
14601
|
truncate: any;
|
|
14719
14602
|
variant: BentoTagVariant;
|
|
14720
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14603
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_44<BentoTagProps>, {
|
|
14721
14604
|
label: any;
|
|
14722
14605
|
truncate: any;
|
|
14723
14606
|
variant: BentoTagVariant;
|
|
@@ -14731,7 +14614,7 @@ export declare type BentoTagListboxOptionItem = OmitStrict<BentoListboxOptionIte
|
|
|
14731
14614
|
variant: BentoTagVariant | `${BentoTagVariant}`;
|
|
14732
14615
|
};
|
|
14733
14616
|
|
|
14734
|
-
export declare type BentoTagListboxOptions = BentoTagListboxOptionItem
|
|
14617
|
+
export declare type BentoTagListboxOptions = Array<BentoTagListboxOptionItem>;
|
|
14735
14618
|
|
|
14736
14619
|
export declare interface BentoTagProps {
|
|
14737
14620
|
/**
|
|
@@ -14791,114 +14674,23 @@ declare interface BentoTeleportProps_2 {
|
|
|
14791
14674
|
// NOTE: "where" is not added as it doesn't exist in Vue3
|
|
14792
14675
|
}
|
|
14793
14676
|
|
|
14794
|
-
export declare const BentoTextarea: DefineComponent<
|
|
14795
|
-
|
|
14796
|
-
|
|
14797
|
-
|
|
14798
|
-
|
|
14799
|
-
|
|
14800
|
-
|
|
14801
|
-
|
|
14802
|
-
|
|
14803
|
-
|
|
14804
|
-
|
|
14805
|
-
|
|
14806
|
-
|
|
14807
|
-
|
|
14808
|
-
|
|
14809
|
-
|
|
14810
|
-
|
|
14811
|
-
*/
|
|
14812
|
-
description: {
|
|
14813
|
-
type: StringConstructor;
|
|
14814
|
-
default: string;
|
|
14815
|
-
};
|
|
14816
|
-
/**
|
|
14817
|
-
* Disables the possibility of changing value in the textarea
|
|
14818
|
-
*/
|
|
14819
|
-
disabled: {
|
|
14820
|
-
type: BooleanConstructor;
|
|
14821
|
-
default: boolean;
|
|
14822
|
-
};
|
|
14823
|
-
/**
|
|
14824
|
-
* If set to true, shows a button to clear all the text
|
|
14825
|
-
*/
|
|
14826
|
-
clearable: {
|
|
14827
|
-
type: BooleanConstructor;
|
|
14828
|
-
default: boolean;
|
|
14829
|
-
};
|
|
14830
|
-
/**
|
|
14831
|
-
* Adds error text
|
|
14832
|
-
*/
|
|
14833
|
-
errorMessage: {
|
|
14834
|
-
type: StringConstructor;
|
|
14835
|
-
default: string;
|
|
14836
|
-
};
|
|
14837
|
-
/**
|
|
14838
|
-
* Sets the height of the textarea, e.g 200px OR 20vh
|
|
14839
|
-
*/
|
|
14840
|
-
height: {
|
|
14841
|
-
type: StringConstructor;
|
|
14842
|
-
default: any;
|
|
14843
|
-
};
|
|
14844
|
-
/**
|
|
14845
|
-
* Text displayed as the label of the textarea
|
|
14846
|
-
*/
|
|
14847
|
-
label: {
|
|
14848
|
-
type: StringConstructor;
|
|
14849
|
-
default: string;
|
|
14850
|
-
};
|
|
14851
|
-
/**
|
|
14852
|
-
* Highlights the textarea is optional.
|
|
14853
|
-
*/
|
|
14854
|
-
optional: {
|
|
14855
|
-
type: BooleanConstructor;
|
|
14856
|
-
default: boolean;
|
|
14857
|
-
};
|
|
14858
|
-
/**
|
|
14859
|
-
* Text displayed as the placeholder of the textarea
|
|
14860
|
-
*/
|
|
14861
|
-
placeholder: {
|
|
14862
|
-
type: StringConstructor;
|
|
14863
|
-
default: string;
|
|
14864
|
-
};
|
|
14865
|
-
/**
|
|
14866
|
-
* Set the textarea to read only state.
|
|
14867
|
-
*/
|
|
14868
|
-
readonly: {
|
|
14869
|
-
type: BooleanConstructor;
|
|
14870
|
-
default: boolean;
|
|
14871
|
-
};
|
|
14872
|
-
/**
|
|
14873
|
-
* Indicates the possibility of resize the textarea
|
|
14874
|
-
*/
|
|
14875
|
-
resizable: {
|
|
14876
|
-
type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
|
|
14877
|
-
default: BentoTextareaResizeOption;
|
|
14878
|
-
validator: (value: BentoTextareaResizeOption) => boolean;
|
|
14879
|
-
};
|
|
14880
|
-
/**
|
|
14881
|
-
* Highlights the textarea is required.
|
|
14882
|
-
*/
|
|
14883
|
-
required: {
|
|
14884
|
-
type: BooleanConstructor;
|
|
14885
|
-
default: boolean;
|
|
14886
|
-
};
|
|
14887
|
-
/**
|
|
14888
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
14889
|
-
*/
|
|
14890
|
-
tooltipText: {
|
|
14891
|
-
type: StringConstructor;
|
|
14892
|
-
default: any;
|
|
14893
|
-
};
|
|
14894
|
-
/**
|
|
14895
|
-
* Text displayed as the value of the textarea
|
|
14896
|
-
*/
|
|
14897
|
-
value: {
|
|
14898
|
-
type: StringConstructor;
|
|
14899
|
-
default: string;
|
|
14900
|
-
};
|
|
14901
|
-
}, {
|
|
14677
|
+
export declare const BentoTextarea: DefineComponent<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_59<BentoTextareaProps>, {
|
|
14678
|
+
ariaLabel: any;
|
|
14679
|
+
characterLimit: any;
|
|
14680
|
+
description: string;
|
|
14681
|
+
disabled: boolean;
|
|
14682
|
+
clearable: boolean;
|
|
14683
|
+
errorMessage: string;
|
|
14684
|
+
height: any;
|
|
14685
|
+
label: string;
|
|
14686
|
+
optional: boolean;
|
|
14687
|
+
placeholder: string;
|
|
14688
|
+
readonly: boolean;
|
|
14689
|
+
resizable: string;
|
|
14690
|
+
required: boolean;
|
|
14691
|
+
tooltipText: any;
|
|
14692
|
+
value: string;
|
|
14693
|
+
}>, {
|
|
14902
14694
|
focus: () => void;
|
|
14903
14695
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14904
14696
|
blur: () => void;
|
|
@@ -14916,114 +14708,23 @@ input: (value: string) => void;
|
|
|
14916
14708
|
keydown: (event: KeyboardEvent) => void;
|
|
14917
14709
|
} & {
|
|
14918
14710
|
keyup: (event: KeyboardEvent) => void;
|
|
14919
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14920
|
-
|
|
14921
|
-
|
|
14922
|
-
|
|
14923
|
-
|
|
14924
|
-
|
|
14925
|
-
|
|
14926
|
-
|
|
14927
|
-
|
|
14928
|
-
|
|
14929
|
-
|
|
14930
|
-
|
|
14931
|
-
|
|
14932
|
-
|
|
14933
|
-
|
|
14934
|
-
|
|
14935
|
-
|
|
14936
|
-
*/
|
|
14937
|
-
description: {
|
|
14938
|
-
type: StringConstructor;
|
|
14939
|
-
default: string;
|
|
14940
|
-
};
|
|
14941
|
-
/**
|
|
14942
|
-
* Disables the possibility of changing value in the textarea
|
|
14943
|
-
*/
|
|
14944
|
-
disabled: {
|
|
14945
|
-
type: BooleanConstructor;
|
|
14946
|
-
default: boolean;
|
|
14947
|
-
};
|
|
14948
|
-
/**
|
|
14949
|
-
* If set to true, shows a button to clear all the text
|
|
14950
|
-
*/
|
|
14951
|
-
clearable: {
|
|
14952
|
-
type: BooleanConstructor;
|
|
14953
|
-
default: boolean;
|
|
14954
|
-
};
|
|
14955
|
-
/**
|
|
14956
|
-
* Adds error text
|
|
14957
|
-
*/
|
|
14958
|
-
errorMessage: {
|
|
14959
|
-
type: StringConstructor;
|
|
14960
|
-
default: string;
|
|
14961
|
-
};
|
|
14962
|
-
/**
|
|
14963
|
-
* Sets the height of the textarea, e.g 200px OR 20vh
|
|
14964
|
-
*/
|
|
14965
|
-
height: {
|
|
14966
|
-
type: StringConstructor;
|
|
14967
|
-
default: any;
|
|
14968
|
-
};
|
|
14969
|
-
/**
|
|
14970
|
-
* Text displayed as the label of the textarea
|
|
14971
|
-
*/
|
|
14972
|
-
label: {
|
|
14973
|
-
type: StringConstructor;
|
|
14974
|
-
default: string;
|
|
14975
|
-
};
|
|
14976
|
-
/**
|
|
14977
|
-
* Highlights the textarea is optional.
|
|
14978
|
-
*/
|
|
14979
|
-
optional: {
|
|
14980
|
-
type: BooleanConstructor;
|
|
14981
|
-
default: boolean;
|
|
14982
|
-
};
|
|
14983
|
-
/**
|
|
14984
|
-
* Text displayed as the placeholder of the textarea
|
|
14985
|
-
*/
|
|
14986
|
-
placeholder: {
|
|
14987
|
-
type: StringConstructor;
|
|
14988
|
-
default: string;
|
|
14989
|
-
};
|
|
14990
|
-
/**
|
|
14991
|
-
* Set the textarea to read only state.
|
|
14992
|
-
*/
|
|
14993
|
-
readonly: {
|
|
14994
|
-
type: BooleanConstructor;
|
|
14995
|
-
default: boolean;
|
|
14996
|
-
};
|
|
14997
|
-
/**
|
|
14998
|
-
* Indicates the possibility of resize the textarea
|
|
14999
|
-
*/
|
|
15000
|
-
resizable: {
|
|
15001
|
-
type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
|
|
15002
|
-
default: BentoTextareaResizeOption;
|
|
15003
|
-
validator: (value: BentoTextareaResizeOption) => boolean;
|
|
15004
|
-
};
|
|
15005
|
-
/**
|
|
15006
|
-
* Highlights the textarea is required.
|
|
15007
|
-
*/
|
|
15008
|
-
required: {
|
|
15009
|
-
type: BooleanConstructor;
|
|
15010
|
-
default: boolean;
|
|
15011
|
-
};
|
|
15012
|
-
/**
|
|
15013
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
15014
|
-
*/
|
|
15015
|
-
tooltipText: {
|
|
15016
|
-
type: StringConstructor;
|
|
15017
|
-
default: any;
|
|
15018
|
-
};
|
|
15019
|
-
/**
|
|
15020
|
-
* Text displayed as the value of the textarea
|
|
15021
|
-
*/
|
|
15022
|
-
value: {
|
|
15023
|
-
type: StringConstructor;
|
|
15024
|
-
default: string;
|
|
15025
|
-
};
|
|
15026
|
-
}>>, {
|
|
14711
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_59<BentoTextareaProps>, {
|
|
14712
|
+
ariaLabel: any;
|
|
14713
|
+
characterLimit: any;
|
|
14714
|
+
description: string;
|
|
14715
|
+
disabled: boolean;
|
|
14716
|
+
clearable: boolean;
|
|
14717
|
+
errorMessage: string;
|
|
14718
|
+
height: any;
|
|
14719
|
+
label: string;
|
|
14720
|
+
optional: boolean;
|
|
14721
|
+
placeholder: string;
|
|
14722
|
+
readonly: boolean;
|
|
14723
|
+
resizable: string;
|
|
14724
|
+
required: boolean;
|
|
14725
|
+
tooltipText: any;
|
|
14726
|
+
value: string;
|
|
14727
|
+
}>>>, {
|
|
15027
14728
|
value: string;
|
|
15028
14729
|
description: string;
|
|
15029
14730
|
label: string;
|
|
@@ -15031,16 +14732,49 @@ required: boolean;
|
|
|
15031
14732
|
disabled: boolean;
|
|
15032
14733
|
optional: boolean;
|
|
15033
14734
|
readonly: boolean;
|
|
15034
|
-
height: string;
|
|
14735
|
+
height: string | null;
|
|
15035
14736
|
ariaLabel: string;
|
|
15036
|
-
tooltipText: string;
|
|
15037
14737
|
errorMessage: string;
|
|
14738
|
+
tooltipText: string;
|
|
15038
14739
|
characterLimit: number;
|
|
15039
14740
|
placeholder: string;
|
|
15040
14741
|
clearable: boolean;
|
|
15041
|
-
resizable:
|
|
14742
|
+
resizable: BentoTextareaResizeOption | `${BentoTextareaResizeOption}`;
|
|
15042
14743
|
}>;
|
|
15043
14744
|
|
|
14745
|
+
declare interface BentoTextareaProps extends FormField {
|
|
14746
|
+
/**
|
|
14747
|
+
* Text that labels the input element
|
|
14748
|
+
* @default undefined
|
|
14749
|
+
*/
|
|
14750
|
+
ariaLabel?: string;
|
|
14751
|
+
/**
|
|
14752
|
+
* Text that shows number of characters in textarea
|
|
14753
|
+
* @default undefined
|
|
14754
|
+
*/
|
|
14755
|
+
characterLimit?: number;
|
|
14756
|
+
/**
|
|
14757
|
+
* If set to true, shows a button to clear all the text
|
|
14758
|
+
* @default false
|
|
14759
|
+
*/
|
|
14760
|
+
clearable?: boolean;
|
|
14761
|
+
/**
|
|
14762
|
+
* Sets the height of the textarea, e.g 200px OR 20vh
|
|
14763
|
+
* @default null
|
|
14764
|
+
*/
|
|
14765
|
+
height?: string | null;
|
|
14766
|
+
/**
|
|
14767
|
+
* Indicates the possibility of resize the textarea.
|
|
14768
|
+
* Accepts the Enum or the string literal version.
|
|
14769
|
+
* @default BentoTextareaResizeOption.BOTH
|
|
14770
|
+
*/
|
|
14771
|
+
resizable?: BentoTextareaResizeOption | `${BentoTextareaResizeOption}`;
|
|
14772
|
+
/**
|
|
14773
|
+
* Text displayed as the value of the textarea
|
|
14774
|
+
*/
|
|
14775
|
+
value?: string;
|
|
14776
|
+
}
|
|
14777
|
+
|
|
15044
14778
|
/**
|
|
15045
14779
|
* @deprecated for usage with properties since version 2.0. Use the string literal instead.
|
|
15046
14780
|
*/
|
|
@@ -15133,127 +14867,155 @@ updateNoteContent: (newTimelineNoteContent: string) => void;
|
|
|
15133
14867
|
addNoteToTimeline: () => void;
|
|
15134
14868
|
showAddNoteTextArea: Ref<boolean>;
|
|
15135
14869
|
addNoteTextareaRef: Ref<Vue3Instance< {}, Readonly<ExtractPropTypes< {
|
|
15136
|
-
|
|
15137
|
-
type:
|
|
15138
|
-
|
|
15139
|
-
|
|
15140
|
-
characterLimit: {
|
|
15141
|
-
type: NumberConstructor;
|
|
15142
|
-
default: any;
|
|
14870
|
+
value: {
|
|
14871
|
+
type: PropType<string>;
|
|
14872
|
+
} & {
|
|
14873
|
+
default: string;
|
|
15143
14874
|
};
|
|
15144
14875
|
description: {
|
|
15145
|
-
type:
|
|
14876
|
+
type: PropType<string>;
|
|
14877
|
+
} & {
|
|
14878
|
+
default: string;
|
|
14879
|
+
};
|
|
14880
|
+
label: {
|
|
14881
|
+
type: PropType<string>;
|
|
14882
|
+
} & {
|
|
15146
14883
|
default: string;
|
|
15147
14884
|
};
|
|
14885
|
+
required: {
|
|
14886
|
+
type: PropType<boolean>;
|
|
14887
|
+
} & {
|
|
14888
|
+
default: boolean;
|
|
14889
|
+
};
|
|
15148
14890
|
disabled: {
|
|
15149
|
-
type:
|
|
14891
|
+
type: PropType<boolean>;
|
|
14892
|
+
} & {
|
|
15150
14893
|
default: boolean;
|
|
15151
14894
|
};
|
|
15152
|
-
|
|
15153
|
-
type:
|
|
14895
|
+
optional: {
|
|
14896
|
+
type: PropType<boolean>;
|
|
14897
|
+
} & {
|
|
15154
14898
|
default: boolean;
|
|
15155
14899
|
};
|
|
15156
|
-
|
|
15157
|
-
type:
|
|
15158
|
-
|
|
14900
|
+
readonly: {
|
|
14901
|
+
type: PropType<boolean>;
|
|
14902
|
+
} & {
|
|
14903
|
+
default: boolean;
|
|
15159
14904
|
};
|
|
15160
14905
|
height: {
|
|
15161
|
-
type:
|
|
14906
|
+
type: PropType<string>;
|
|
14907
|
+
} & {
|
|
15162
14908
|
default: any;
|
|
15163
14909
|
};
|
|
15164
|
-
|
|
15165
|
-
type:
|
|
14910
|
+
ariaLabel: {
|
|
14911
|
+
type: PropType<string>;
|
|
14912
|
+
} & {
|
|
14913
|
+
default: any;
|
|
14914
|
+
};
|
|
14915
|
+
errorMessage: {
|
|
14916
|
+
type: PropType<string>;
|
|
14917
|
+
} & {
|
|
15166
14918
|
default: string;
|
|
15167
14919
|
};
|
|
15168
|
-
|
|
15169
|
-
type:
|
|
15170
|
-
|
|
14920
|
+
tooltipText: {
|
|
14921
|
+
type: PropType<string>;
|
|
14922
|
+
} & {
|
|
14923
|
+
default: any;
|
|
14924
|
+
};
|
|
14925
|
+
characterLimit: {
|
|
14926
|
+
type: PropType<number>;
|
|
14927
|
+
} & {
|
|
14928
|
+
default: any;
|
|
15171
14929
|
};
|
|
15172
14930
|
placeholder: {
|
|
15173
|
-
type:
|
|
14931
|
+
type: PropType<string>;
|
|
14932
|
+
} & {
|
|
15174
14933
|
default: string;
|
|
15175
14934
|
};
|
|
15176
|
-
|
|
15177
|
-
type:
|
|
14935
|
+
clearable: {
|
|
14936
|
+
type: PropType<boolean>;
|
|
14937
|
+
} & {
|
|
15178
14938
|
default: boolean;
|
|
15179
14939
|
};
|
|
15180
14940
|
resizable: {
|
|
15181
|
-
type: PropType<
|
|
15182
|
-
|
|
15183
|
-
validator: (value: BentoTextareaResizeOption) => boolean;
|
|
15184
|
-
};
|
|
15185
|
-
required: {
|
|
15186
|
-
type: BooleanConstructor;
|
|
15187
|
-
default: boolean;
|
|
15188
|
-
};
|
|
15189
|
-
tooltipText: {
|
|
15190
|
-
type: StringConstructor;
|
|
15191
|
-
default: any;
|
|
15192
|
-
};
|
|
15193
|
-
value: {
|
|
15194
|
-
type: StringConstructor;
|
|
14941
|
+
type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
|
|
14942
|
+
} & {
|
|
15195
14943
|
default: string;
|
|
15196
14944
|
};
|
|
15197
14945
|
}>>, Readonly<ExtractPropTypes< {
|
|
15198
|
-
|
|
15199
|
-
type:
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
characterLimit: {
|
|
15203
|
-
type: NumberConstructor;
|
|
15204
|
-
default: any;
|
|
14946
|
+
value: {
|
|
14947
|
+
type: PropType<string>;
|
|
14948
|
+
} & {
|
|
14949
|
+
default: string;
|
|
15205
14950
|
};
|
|
15206
14951
|
description: {
|
|
15207
|
-
type:
|
|
14952
|
+
type: PropType<string>;
|
|
14953
|
+
} & {
|
|
15208
14954
|
default: string;
|
|
15209
14955
|
};
|
|
14956
|
+
label: {
|
|
14957
|
+
type: PropType<string>;
|
|
14958
|
+
} & {
|
|
14959
|
+
default: string;
|
|
14960
|
+
};
|
|
14961
|
+
required: {
|
|
14962
|
+
type: PropType<boolean>;
|
|
14963
|
+
} & {
|
|
14964
|
+
default: boolean;
|
|
14965
|
+
};
|
|
15210
14966
|
disabled: {
|
|
15211
|
-
type:
|
|
14967
|
+
type: PropType<boolean>;
|
|
14968
|
+
} & {
|
|
15212
14969
|
default: boolean;
|
|
15213
14970
|
};
|
|
15214
|
-
|
|
15215
|
-
type:
|
|
14971
|
+
optional: {
|
|
14972
|
+
type: PropType<boolean>;
|
|
14973
|
+
} & {
|
|
15216
14974
|
default: boolean;
|
|
15217
14975
|
};
|
|
15218
|
-
|
|
15219
|
-
type:
|
|
15220
|
-
|
|
14976
|
+
readonly: {
|
|
14977
|
+
type: PropType<boolean>;
|
|
14978
|
+
} & {
|
|
14979
|
+
default: boolean;
|
|
15221
14980
|
};
|
|
15222
14981
|
height: {
|
|
15223
|
-
type:
|
|
14982
|
+
type: PropType<string>;
|
|
14983
|
+
} & {
|
|
14984
|
+
default: any;
|
|
14985
|
+
};
|
|
14986
|
+
ariaLabel: {
|
|
14987
|
+
type: PropType<string>;
|
|
14988
|
+
} & {
|
|
15224
14989
|
default: any;
|
|
15225
14990
|
};
|
|
15226
|
-
|
|
15227
|
-
type:
|
|
14991
|
+
errorMessage: {
|
|
14992
|
+
type: PropType<string>;
|
|
14993
|
+
} & {
|
|
15228
14994
|
default: string;
|
|
15229
14995
|
};
|
|
15230
|
-
|
|
15231
|
-
type:
|
|
15232
|
-
|
|
14996
|
+
tooltipText: {
|
|
14997
|
+
type: PropType<string>;
|
|
14998
|
+
} & {
|
|
14999
|
+
default: any;
|
|
15000
|
+
};
|
|
15001
|
+
characterLimit: {
|
|
15002
|
+
type: PropType<number>;
|
|
15003
|
+
} & {
|
|
15004
|
+
default: any;
|
|
15233
15005
|
};
|
|
15234
15006
|
placeholder: {
|
|
15235
|
-
type:
|
|
15007
|
+
type: PropType<string>;
|
|
15008
|
+
} & {
|
|
15236
15009
|
default: string;
|
|
15237
15010
|
};
|
|
15238
|
-
|
|
15239
|
-
type:
|
|
15011
|
+
clearable: {
|
|
15012
|
+
type: PropType<boolean>;
|
|
15013
|
+
} & {
|
|
15240
15014
|
default: boolean;
|
|
15241
15015
|
};
|
|
15242
15016
|
resizable: {
|
|
15243
|
-
type: PropType<
|
|
15244
|
-
|
|
15245
|
-
validator: (value: BentoTextareaResizeOption) => boolean;
|
|
15246
|
-
};
|
|
15247
|
-
required: {
|
|
15248
|
-
type: BooleanConstructor;
|
|
15249
|
-
default: boolean;
|
|
15250
|
-
};
|
|
15251
|
-
tooltipText: {
|
|
15252
|
-
type: StringConstructor;
|
|
15253
|
-
default: any;
|
|
15254
|
-
};
|
|
15255
|
-
value: {
|
|
15256
|
-
type: StringConstructor;
|
|
15017
|
+
type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
|
|
15018
|
+
} & {
|
|
15257
15019
|
default: string;
|
|
15258
15020
|
};
|
|
15259
15021
|
}>>, {
|
|
@@ -15280,138 +15042,166 @@ required: boolean;
|
|
|
15280
15042
|
disabled: boolean;
|
|
15281
15043
|
optional: boolean;
|
|
15282
15044
|
readonly: boolean;
|
|
15283
|
-
height: string;
|
|
15045
|
+
height: string | null;
|
|
15284
15046
|
ariaLabel: string;
|
|
15285
|
-
tooltipText: string;
|
|
15286
15047
|
errorMessage: string;
|
|
15048
|
+
tooltipText: string;
|
|
15287
15049
|
characterLimit: number;
|
|
15288
15050
|
placeholder: string;
|
|
15289
15051
|
clearable: boolean;
|
|
15290
|
-
resizable:
|
|
15052
|
+
resizable: BentoTextareaResizeOption | `${BentoTextareaResizeOption}`;
|
|
15291
15053
|
}, true, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<ExtractPropTypes< {
|
|
15292
|
-
|
|
15293
|
-
type:
|
|
15294
|
-
|
|
15295
|
-
|
|
15296
|
-
characterLimit: {
|
|
15297
|
-
type: NumberConstructor;
|
|
15298
|
-
default: any;
|
|
15054
|
+
value: {
|
|
15055
|
+
type: PropType<string>;
|
|
15056
|
+
} & {
|
|
15057
|
+
default: string;
|
|
15299
15058
|
};
|
|
15300
15059
|
description: {
|
|
15301
|
-
type:
|
|
15060
|
+
type: PropType<string>;
|
|
15061
|
+
} & {
|
|
15062
|
+
default: string;
|
|
15063
|
+
};
|
|
15064
|
+
label: {
|
|
15065
|
+
type: PropType<string>;
|
|
15066
|
+
} & {
|
|
15302
15067
|
default: string;
|
|
15303
15068
|
};
|
|
15069
|
+
required: {
|
|
15070
|
+
type: PropType<boolean>;
|
|
15071
|
+
} & {
|
|
15072
|
+
default: boolean;
|
|
15073
|
+
};
|
|
15304
15074
|
disabled: {
|
|
15305
|
-
type:
|
|
15075
|
+
type: PropType<boolean>;
|
|
15076
|
+
} & {
|
|
15306
15077
|
default: boolean;
|
|
15307
15078
|
};
|
|
15308
|
-
|
|
15309
|
-
type:
|
|
15079
|
+
optional: {
|
|
15080
|
+
type: PropType<boolean>;
|
|
15081
|
+
} & {
|
|
15310
15082
|
default: boolean;
|
|
15311
15083
|
};
|
|
15312
|
-
|
|
15313
|
-
type:
|
|
15314
|
-
|
|
15084
|
+
readonly: {
|
|
15085
|
+
type: PropType<boolean>;
|
|
15086
|
+
} & {
|
|
15087
|
+
default: boolean;
|
|
15315
15088
|
};
|
|
15316
15089
|
height: {
|
|
15317
|
-
type:
|
|
15090
|
+
type: PropType<string>;
|
|
15091
|
+
} & {
|
|
15318
15092
|
default: any;
|
|
15319
15093
|
};
|
|
15320
|
-
|
|
15321
|
-
type:
|
|
15094
|
+
ariaLabel: {
|
|
15095
|
+
type: PropType<string>;
|
|
15096
|
+
} & {
|
|
15097
|
+
default: any;
|
|
15098
|
+
};
|
|
15099
|
+
errorMessage: {
|
|
15100
|
+
type: PropType<string>;
|
|
15101
|
+
} & {
|
|
15322
15102
|
default: string;
|
|
15323
15103
|
};
|
|
15324
|
-
|
|
15325
|
-
type:
|
|
15326
|
-
|
|
15104
|
+
tooltipText: {
|
|
15105
|
+
type: PropType<string>;
|
|
15106
|
+
} & {
|
|
15107
|
+
default: any;
|
|
15108
|
+
};
|
|
15109
|
+
characterLimit: {
|
|
15110
|
+
type: PropType<number>;
|
|
15111
|
+
} & {
|
|
15112
|
+
default: any;
|
|
15327
15113
|
};
|
|
15328
15114
|
placeholder: {
|
|
15329
|
-
type:
|
|
15115
|
+
type: PropType<string>;
|
|
15116
|
+
} & {
|
|
15330
15117
|
default: string;
|
|
15331
15118
|
};
|
|
15332
|
-
|
|
15333
|
-
type:
|
|
15119
|
+
clearable: {
|
|
15120
|
+
type: PropType<boolean>;
|
|
15121
|
+
} & {
|
|
15334
15122
|
default: boolean;
|
|
15335
15123
|
};
|
|
15336
15124
|
resizable: {
|
|
15337
|
-
type: PropType<
|
|
15338
|
-
|
|
15339
|
-
validator: (value: BentoTextareaResizeOption) => boolean;
|
|
15340
|
-
};
|
|
15341
|
-
required: {
|
|
15342
|
-
type: BooleanConstructor;
|
|
15343
|
-
default: boolean;
|
|
15344
|
-
};
|
|
15345
|
-
tooltipText: {
|
|
15346
|
-
type: StringConstructor;
|
|
15347
|
-
default: any;
|
|
15348
|
-
};
|
|
15349
|
-
value: {
|
|
15350
|
-
type: StringConstructor;
|
|
15125
|
+
type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
|
|
15126
|
+
} & {
|
|
15351
15127
|
default: string;
|
|
15352
15128
|
};
|
|
15353
15129
|
}>>> & ShallowUnwrapRef< {
|
|
15354
15130
|
focus: () => void;
|
|
15355
15131
|
}> & ExtractComputedReturns< {}> & ComponentCustomProperties & Readonly<ExtractPropTypes< {
|
|
15356
|
-
|
|
15357
|
-
type:
|
|
15358
|
-
|
|
15359
|
-
|
|
15360
|
-
characterLimit: {
|
|
15361
|
-
type: NumberConstructor;
|
|
15362
|
-
default: any;
|
|
15132
|
+
value: {
|
|
15133
|
+
type: PropType<string>;
|
|
15134
|
+
} & {
|
|
15135
|
+
default: string;
|
|
15363
15136
|
};
|
|
15364
15137
|
description: {
|
|
15365
|
-
type:
|
|
15138
|
+
type: PropType<string>;
|
|
15139
|
+
} & {
|
|
15366
15140
|
default: string;
|
|
15367
15141
|
};
|
|
15142
|
+
label: {
|
|
15143
|
+
type: PropType<string>;
|
|
15144
|
+
} & {
|
|
15145
|
+
default: string;
|
|
15146
|
+
};
|
|
15147
|
+
required: {
|
|
15148
|
+
type: PropType<boolean>;
|
|
15149
|
+
} & {
|
|
15150
|
+
default: boolean;
|
|
15151
|
+
};
|
|
15368
15152
|
disabled: {
|
|
15369
|
-
type:
|
|
15153
|
+
type: PropType<boolean>;
|
|
15154
|
+
} & {
|
|
15370
15155
|
default: boolean;
|
|
15371
15156
|
};
|
|
15372
|
-
|
|
15373
|
-
type:
|
|
15157
|
+
optional: {
|
|
15158
|
+
type: PropType<boolean>;
|
|
15159
|
+
} & {
|
|
15374
15160
|
default: boolean;
|
|
15375
15161
|
};
|
|
15376
|
-
|
|
15377
|
-
type:
|
|
15378
|
-
|
|
15162
|
+
readonly: {
|
|
15163
|
+
type: PropType<boolean>;
|
|
15164
|
+
} & {
|
|
15165
|
+
default: boolean;
|
|
15379
15166
|
};
|
|
15380
15167
|
height: {
|
|
15381
|
-
type:
|
|
15168
|
+
type: PropType<string>;
|
|
15169
|
+
} & {
|
|
15382
15170
|
default: any;
|
|
15383
15171
|
};
|
|
15384
|
-
|
|
15385
|
-
type:
|
|
15172
|
+
ariaLabel: {
|
|
15173
|
+
type: PropType<string>;
|
|
15174
|
+
} & {
|
|
15175
|
+
default: any;
|
|
15176
|
+
};
|
|
15177
|
+
errorMessage: {
|
|
15178
|
+
type: PropType<string>;
|
|
15179
|
+
} & {
|
|
15386
15180
|
default: string;
|
|
15387
15181
|
};
|
|
15388
|
-
|
|
15389
|
-
type:
|
|
15390
|
-
|
|
15182
|
+
tooltipText: {
|
|
15183
|
+
type: PropType<string>;
|
|
15184
|
+
} & {
|
|
15185
|
+
default: any;
|
|
15186
|
+
};
|
|
15187
|
+
characterLimit: {
|
|
15188
|
+
type: PropType<number>;
|
|
15189
|
+
} & {
|
|
15190
|
+
default: any;
|
|
15391
15191
|
};
|
|
15392
15192
|
placeholder: {
|
|
15393
|
-
type:
|
|
15193
|
+
type: PropType<string>;
|
|
15194
|
+
} & {
|
|
15394
15195
|
default: string;
|
|
15395
15196
|
};
|
|
15396
|
-
|
|
15397
|
-
type:
|
|
15197
|
+
clearable: {
|
|
15198
|
+
type: PropType<boolean>;
|
|
15199
|
+
} & {
|
|
15398
15200
|
default: boolean;
|
|
15399
15201
|
};
|
|
15400
15202
|
resizable: {
|
|
15401
|
-
type: PropType<
|
|
15402
|
-
|
|
15403
|
-
validator: (value: BentoTextareaResizeOption) => boolean;
|
|
15404
|
-
};
|
|
15405
|
-
required: {
|
|
15406
|
-
type: BooleanConstructor;
|
|
15407
|
-
default: boolean;
|
|
15408
|
-
};
|
|
15409
|
-
tooltipText: {
|
|
15410
|
-
type: StringConstructor;
|
|
15411
|
-
default: any;
|
|
15412
|
-
};
|
|
15413
|
-
value: {
|
|
15414
|
-
type: StringConstructor;
|
|
15203
|
+
type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
|
|
15204
|
+
} & {
|
|
15415
15205
|
default: string;
|
|
15416
15206
|
};
|
|
15417
15207
|
}>>>;
|
|
@@ -15593,9 +15383,9 @@ export declare interface BentoTimelineConfigData {
|
|
|
15593
15383
|
showAll: Ref<boolean>;
|
|
15594
15384
|
showMoreIndex: Ref<number>;
|
|
15595
15385
|
hiddenItems: Ref<number>;
|
|
15596
|
-
visibleIndexes: Ref<number
|
|
15386
|
+
visibleIndexes: Ref<Array<number>>;
|
|
15597
15387
|
timegapLimit: Ref<BentoTimelineGapObject>;
|
|
15598
|
-
timelineEntries: Ref<BentoTimelineEntry
|
|
15388
|
+
timelineEntries: Ref<Array<BentoTimelineEntry>>;
|
|
15599
15389
|
}
|
|
15600
15390
|
|
|
15601
15391
|
export declare type BentoTimelineDataList = Array<BentoTimelineDataListObject>;
|
|
@@ -15739,7 +15529,7 @@ timegapAriaLabel: ComputedRef<string>;
|
|
|
15739
15529
|
isLastItem: ComputedRef<boolean>;
|
|
15740
15530
|
generateUid: (value: string) => string;
|
|
15741
15531
|
hasSlot: (name: string) => boolean;
|
|
15742
|
-
t: (key: "showMore" | "showLess" | "timegap",
|
|
15532
|
+
t: (key: "showMore" | "showLess" | "timegap", ...args: Array<any>) => string;
|
|
15743
15533
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
15744
15534
|
/**
|
|
15745
15535
|
* Additional timestamp of the event
|
|
@@ -15915,7 +15705,7 @@ export declare type BentoToastItemsList = Array<BentoToastItem>;
|
|
|
15915
15705
|
* `,
|
|
15916
15706
|
* }
|
|
15917
15707
|
*/
|
|
15918
|
-
export declare const BentoToggle: DefineComponent< {
|
|
15708
|
+
export declare const BentoToggle: __VLS_WithTemplateSlots_52<DefineComponent< {
|
|
15919
15709
|
/**
|
|
15920
15710
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
15921
15711
|
*/
|
|
@@ -15956,20 +15746,9 @@ value: {
|
|
|
15956
15746
|
type: BooleanConstructor;
|
|
15957
15747
|
default: boolean;
|
|
15958
15748
|
};
|
|
15959
|
-
}, {
|
|
15960
|
-
|
|
15961
|
-
|
|
15962
|
-
computedDescription: ComputedRef<string>;
|
|
15963
|
-
defaultSlotValue: string;
|
|
15964
|
-
descriptionSlotValue: string;
|
|
15965
|
-
conditionalClasses: ComputedRef< {
|
|
15966
|
-
[key: string]: boolean;
|
|
15967
|
-
}>;
|
|
15968
|
-
descriptionId: string;
|
|
15969
|
-
hasSlot: (name: string) => boolean;
|
|
15970
|
-
onChange: (event: Event) => void;
|
|
15971
|
-
onClick: (event: Event) => void;
|
|
15972
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "input"[], string, Readonly<ExtractPropTypes< {
|
|
15749
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15750
|
+
input: (value: boolean) => void;
|
|
15751
|
+
}, string, Readonly<ExtractPropTypes< {
|
|
15973
15752
|
/**
|
|
15974
15753
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
15975
15754
|
*/
|
|
@@ -16016,6 +15795,9 @@ disabled: boolean;
|
|
|
16016
15795
|
readonly: boolean;
|
|
16017
15796
|
ariaLabel: string;
|
|
16018
15797
|
labelPosition: "after" | "before" | BentoToggleLabelPosition;
|
|
15798
|
+
}>, {
|
|
15799
|
+
default: (_: {}) => any;
|
|
15800
|
+
description: (_: {}) => any;
|
|
16019
15801
|
}>;
|
|
16020
15802
|
|
|
16021
15803
|
/**
|
|
@@ -16196,6 +15978,10 @@ declare const BentoTooltipPosition_3 = { ...PopperContainerPositionBasic };
|
|
|
16196
15978
|
|
|
16197
15979
|
declare type BentoTooltipPosition_3 = PopperContainerPositionBasic_2;
|
|
16198
15980
|
|
|
15981
|
+
declare const BentoTooltipPosition_4 = { ...PopperContainerPositionBasic };
|
|
15982
|
+
|
|
15983
|
+
declare type BentoTooltipPosition_4 = PopperContainerPositionBasic_2;
|
|
15984
|
+
|
|
16199
15985
|
export declare enum BentoTooltipState {
|
|
16200
15986
|
HIDDEN = "hidden"
|
|
16201
15987
|
}
|
|
@@ -16247,9 +16033,9 @@ default: any;
|
|
|
16247
16033
|
*
|
|
16248
16034
|
*/
|
|
16249
16035
|
steps: {
|
|
16250
|
-
type: PropType<BentoTutorialStep
|
|
16036
|
+
type: PropType<Array<BentoTutorialStep>>;
|
|
16251
16037
|
required: true;
|
|
16252
|
-
validator: (value: BentoTutorialStep
|
|
16038
|
+
validator: (value: Array<BentoTutorialStep>) => boolean;
|
|
16253
16039
|
};
|
|
16254
16040
|
/**
|
|
16255
16041
|
* Options to control the scroll into view behavior.
|
|
@@ -16275,9 +16061,9 @@ default: any;
|
|
|
16275
16061
|
*
|
|
16276
16062
|
*/
|
|
16277
16063
|
steps: {
|
|
16278
|
-
type: PropType<BentoTutorialStep
|
|
16064
|
+
type: PropType<Array<BentoTutorialStep>>;
|
|
16279
16065
|
required: true;
|
|
16280
|
-
validator: (value: BentoTutorialStep
|
|
16066
|
+
validator: (value: Array<BentoTutorialStep>) => boolean;
|
|
16281
16067
|
};
|
|
16282
16068
|
/**
|
|
16283
16069
|
* Options to control the scroll into view behavior.
|
|
@@ -16322,7 +16108,7 @@ export declare interface BentoTutorialStep {
|
|
|
16322
16108
|
* `
|
|
16323
16109
|
* }
|
|
16324
16110
|
*/
|
|
16325
|
-
export declare const BentoTypography:
|
|
16111
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_53<DefineComponent<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_60<{
|
|
16326
16112
|
/**
|
|
16327
16113
|
* Sets the HTML DOM element.
|
|
16328
16114
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16370,7 +16156,7 @@ stronger: boolean;
|
|
|
16370
16156
|
strongest: boolean;
|
|
16371
16157
|
variant: BentoTypographyVariant;
|
|
16372
16158
|
wide: boolean;
|
|
16373
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
16159
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_60<{
|
|
16374
16160
|
/**
|
|
16375
16161
|
* Sets the HTML DOM element.
|
|
16376
16162
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16537,7 +16323,7 @@ declare interface DateRangePickerCalendarRangeSelectorItem {
|
|
|
16537
16323
|
|
|
16538
16324
|
declare type DateRangePickerCalendarRangeSelectorItems = Array<DateRangePickerCalendarRangeSelectorItem>;
|
|
16539
16325
|
|
|
16540
|
-
declare type DropdownProps =
|
|
16326
|
+
declare type DropdownProps = BentoDropdownProps;
|
|
16541
16327
|
|
|
16542
16328
|
declare type Element_2 = HTMLElement & {
|
|
16543
16329
|
__onClickOutside_stop?: () => void;
|
|
@@ -16562,51 +16348,43 @@ export declare type Expand<T> = T extends infer O ? {
|
|
|
16562
16348
|
*/
|
|
16563
16349
|
export declare type Fn = () => void;
|
|
16564
16350
|
|
|
16565
|
-
declare interface FormField {
|
|
16351
|
+
export declare interface FormField {
|
|
16352
|
+
/**
|
|
16353
|
+
* If set, displays a description text for the input.
|
|
16354
|
+
*/
|
|
16355
|
+
description?: string;
|
|
16566
16356
|
/**
|
|
16567
16357
|
* If true, disables user interaction with the field.
|
|
16568
16358
|
*/
|
|
16569
16359
|
disabled?: boolean;
|
|
16570
|
-
|
|
16571
16360
|
/**
|
|
16572
16361
|
* If set, displays an error message and applies error styling to the field.
|
|
16573
16362
|
*/
|
|
16574
16363
|
errorMessage?: string;
|
|
16575
|
-
|
|
16576
16364
|
/**
|
|
16577
16365
|
* The text label displayed for the field.
|
|
16578
16366
|
*/
|
|
16579
16367
|
label?: string;
|
|
16580
|
-
|
|
16581
16368
|
/**
|
|
16582
16369
|
* If true, indicates that the field is optional.
|
|
16583
16370
|
*/
|
|
16584
16371
|
optional?: boolean;
|
|
16585
|
-
|
|
16586
16372
|
/**
|
|
16587
16373
|
* The placeholder text displayed when the field is empty.
|
|
16588
16374
|
*/
|
|
16589
16375
|
placeholder?: string;
|
|
16590
|
-
|
|
16591
16376
|
/**
|
|
16592
16377
|
* If true, makes the field's value readonly, preventing user modification.
|
|
16593
16378
|
*/
|
|
16594
16379
|
readonly?: boolean;
|
|
16595
|
-
|
|
16596
16380
|
/**
|
|
16597
16381
|
* If true, indicates that the field is required.
|
|
16598
16382
|
*/
|
|
16599
16383
|
required?: boolean;
|
|
16600
|
-
|
|
16601
16384
|
/**
|
|
16602
16385
|
* If set, displays an info icon with this tooltip message next to the label.
|
|
16603
16386
|
*/
|
|
16604
16387
|
tooltipText?: string;
|
|
16605
|
-
|
|
16606
|
-
/**
|
|
16607
|
-
* The current value of the field.
|
|
16608
|
-
*/
|
|
16609
|
-
value?: string | number;
|
|
16610
16388
|
}
|
|
16611
16389
|
|
|
16612
16390
|
declare interface GridLayoutColumnWidth {
|
|
@@ -16768,6 +16546,13 @@ export declare type MaybeReadonlyRef<T> = (() => T) | ComputedRef<T>;
|
|
|
16768
16546
|
*/
|
|
16769
16547
|
export declare type MaybeRef<T> = T | Ref<T> | Ref<UnwrapRef<T>>;
|
|
16770
16548
|
|
|
16549
|
+
/**
|
|
16550
|
+
* As recommmended by the vue community to use this type when you are not sure
|
|
16551
|
+
* if the argument is a ref.
|
|
16552
|
+
* Source: https://github.com/vueuse/vueuse/blob/main/packages/shared/utils/types.ts#L28
|
|
16553
|
+
*/
|
|
16554
|
+
declare type MaybeRef_2<T> = T | Ref<T>;
|
|
16555
|
+
|
|
16771
16556
|
/**
|
|
16772
16557
|
* Validates if the length of the provided value is greater than or equal to the specified length.
|
|
16773
16558
|
*
|
|
@@ -16779,15 +16564,13 @@ export declare function minLength(value: BentoInputFieldValue, length?: number):
|
|
|
16779
16564
|
|
|
16780
16565
|
export declare type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
16781
16566
|
|
|
16782
|
-
declare type OmitStrict_2<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
16783
|
-
|
|
16784
16567
|
declare type OnClickOutsideHandler = (evt: PointerEvent | FocusEvent) => void;
|
|
16785
16568
|
|
|
16786
16569
|
declare interface OnClickOutsideOptions {
|
|
16787
16570
|
/**
|
|
16788
16571
|
* List of elements that should not trigger the event.
|
|
16789
16572
|
*/
|
|
16790
|
-
ignore?:
|
|
16573
|
+
ignore?: Array<MaybeElementRef | string>;
|
|
16791
16574
|
/**
|
|
16792
16575
|
* Use capturing phase for internal event listener.
|
|
16793
16576
|
* @default true
|
|
@@ -16805,7 +16588,7 @@ declare interface OnClickOutsideOptions_2 {
|
|
|
16805
16588
|
/**
|
|
16806
16589
|
* List of elements that should not trigger the event.
|
|
16807
16590
|
*/
|
|
16808
|
-
ignore?:
|
|
16591
|
+
ignore?: Array<MaybeElementRef_2 | string>;
|
|
16809
16592
|
/**
|
|
16810
16593
|
* Use capturing phase for internal event listener.
|
|
16811
16594
|
* @default true
|
|
@@ -16951,6 +16734,63 @@ export declare interface ToastStack {
|
|
|
16951
16734
|
*/
|
|
16952
16735
|
export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
|
|
16953
16736
|
|
|
16737
|
+
/**
|
|
16738
|
+
* A composable to wire the `bento-base-filter` component for the mandatory fields and events.
|
|
16739
|
+
*
|
|
16740
|
+
* @usage
|
|
16741
|
+
* ```vue
|
|
16742
|
+
* <template>
|
|
16743
|
+
* <bento-base-filter
|
|
16744
|
+
* :disable-apply-button="isApplyButtonDisabled"
|
|
16745
|
+
* :disable-secondary-button="isSecondaryButtonDisabled"
|
|
16746
|
+
* @ apply="updateFilter"
|
|
16747
|
+
* @ clear="clearFilter(updateFilter)"
|
|
16748
|
+
* @ open="openFilter"
|
|
16749
|
+
* @ reset="resetFilter(updateFilter)"
|
|
16750
|
+
* >
|
|
16751
|
+
* <!-- CONTENT HERE -->
|
|
16752
|
+
* </bento-base-filter>
|
|
16753
|
+
* </template>
|
|
16754
|
+
* <script>
|
|
16755
|
+
* import { ref } from 'vue'
|
|
16756
|
+
* import { useBentoBaseFilter, BentoBaseFilter, BentoBaseFilterProps } from '@adyen/bento-vue2'
|
|
16757
|
+
*
|
|
16758
|
+
* type CustomFilterValue = boolean
|
|
16759
|
+
* const props = defineProps<BentoBaseFilterProps<CustomFilterValue>>();
|
|
16760
|
+
*
|
|
16761
|
+
* const {
|
|
16762
|
+
* // Values
|
|
16763
|
+
* internalFilterValue,
|
|
16764
|
+
* isSecondaryButtonDisabled,
|
|
16765
|
+
* isApplyButtonDisabled,
|
|
16766
|
+
*
|
|
16767
|
+
* // Methods
|
|
16768
|
+
* clearFilter,
|
|
16769
|
+
* resetFilter,
|
|
16770
|
+
* openFilter,
|
|
16771
|
+
* } = useBentoBaseFilter<CustomFilterValue>(toRef(props, 'value'), toRef(props, 'defaultValue'));
|
|
16772
|
+
* </script>
|
|
16773
|
+
* ```
|
|
16774
|
+
*
|
|
16775
|
+
* @param appliedFilter The currently applied filter value.
|
|
16776
|
+
* @param defaultFilter The default filter value (if available).
|
|
16777
|
+
* @returns An object containing refs and functions:
|
|
16778
|
+
* - `internalFilterValue`: The temporary state of the filter before it's applied.
|
|
16779
|
+
* - `isSecondaryButtonDisabled`: `true` if the secondary (clear/reset) button should be disabled.
|
|
16780
|
+
* - `isApplyButtonDisabled`: `true` if the apply button should be disabled.
|
|
16781
|
+
* - `clearFilter`: Clears the filter to its initial or default state.
|
|
16782
|
+
* - `resetFilter`: Resets the filter to its default state.
|
|
16783
|
+
* - `openFilter`: Syncs the internal state with the applied filter.
|
|
16784
|
+
*/
|
|
16785
|
+
export declare function useBentoBaseFilter<T>(appliedFilter: Ref<T>, defaultFilter: Ref<T>): {
|
|
16786
|
+
internalFilterValue: Ref<T>;
|
|
16787
|
+
isSecondaryButtonDisabled: ComputedRef<boolean>;
|
|
16788
|
+
isApplyButtonDisabled: ComputedRef<boolean>;
|
|
16789
|
+
clearFilter: (callback?: (newValue: T) => void) => void;
|
|
16790
|
+
resetFilter: (callback?: (newValue: T) => void) => void;
|
|
16791
|
+
openFilter: (callback?: (newValue: T) => void) => void;
|
|
16792
|
+
};
|
|
16793
|
+
|
|
16954
16794
|
export declare interface UseBentoTheme {
|
|
16955
16795
|
getTheme: () => string;
|
|
16956
16796
|
setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;
|
|
@@ -16996,14 +16836,14 @@ export declare const useClickOutside: <T extends OnClickOutsideOptions>(target:
|
|
|
16996
16836
|
*
|
|
16997
16837
|
* @returns a translated country name
|
|
16998
16838
|
*/
|
|
16999
|
-
export declare const useCountryCapital: (code:
|
|
16839
|
+
export declare const useCountryCapital: (code: MaybeRef_2<string>, locale: MaybeRef_2<string>, useFallback?: boolean) => ComputedRef<string>;
|
|
17000
16840
|
|
|
17001
16841
|
/**
|
|
17002
16842
|
* Maps an ISO code to it's translated country name.
|
|
17003
16843
|
*
|
|
17004
16844
|
* @returns a translated country name
|
|
17005
16845
|
*/
|
|
17006
|
-
export declare const useCountryName: (code:
|
|
16846
|
+
export declare const useCountryName: (code: MaybeRef_2<string>, locale: MaybeRef_2<string>, useFallback?: boolean) => ComputedRef<string>;
|
|
17007
16847
|
|
|
17008
16848
|
/**
|
|
17009
16849
|
* Retrieves a country's phone number code.
|
|
@@ -17011,7 +16851,7 @@ export declare const useCountryName: (code: MaybeRef<string>, locale: MaybeRef<s
|
|
|
17011
16851
|
* @param countryCode 2 character code in ISO 3166-1 alpha-2 format
|
|
17012
16852
|
* @returns Country's phone code
|
|
17013
16853
|
*/
|
|
17014
|
-
export declare const useCountryPhoneCode: (countryCode:
|
|
16854
|
+
export declare const useCountryPhoneCode: (countryCode: MaybeRef_2<string>) => ComputedRef<string>;
|
|
17015
16855
|
|
|
17016
16856
|
/**
|
|
17017
16857
|
* useForm composable configuration object
|
|
@@ -17066,7 +16906,7 @@ export declare interface UseForm<T> {
|
|
|
17066
16906
|
*/
|
|
17067
16907
|
export declare function useForm<T extends ZodSchema>({ validationSchema, }: UseForm<T>): {
|
|
17068
16908
|
errorBag: Ref<{
|
|
17069
|
-
[P in allKeys<(typeof validationSchema)['_type']>]?: string
|
|
16909
|
+
[P in allKeys<(typeof validationSchema)['_type']>]?: Array<string>;
|
|
17070
16910
|
}>;
|
|
17071
16911
|
errors: Ref<{
|
|
17072
16912
|
[P in allKeys<(typeof validationSchema)['_type']>]?: string;
|
|
@@ -17085,7 +16925,7 @@ export declare function useForm<T extends ZodSchema>({ validationSchema, }: UseF
|
|
|
17085
16925
|
* @returns {Ref<BentoSearchBarData>} New instance of the array filtered by the {@param searchTerm} text
|
|
17086
16926
|
* @param {Ref<Boolean>} ignoreGroups - Boolean that determines if search returns items with subitems
|
|
17087
16927
|
*/
|
|
17088
|
-
export declare function useSearchBarFilter<T extends BentoSearchBarItem>(searchTerm: Ref<string>, data: Ref<T
|
|
16928
|
+
export declare function useSearchBarFilter<T extends BentoSearchBarItem>(searchTerm: Ref<string>, data: Ref<Array<T>>, searchEvent?: (searchValue: string) => void, ignoreGroups?: Ref<boolean>): ComputedRef<any>;
|
|
17089
16929
|
|
|
17090
16930
|
declare type UseVirtualListItemHeight = number | ((index: number) => number);
|
|
17091
16931
|
|
|
@@ -17098,6 +16938,6 @@ export declare type VueInstance = ComponentPublicInstance;
|
|
|
17098
16938
|
* type Vue | Element | (Vue | Element)[] | undefined
|
|
17099
16939
|
* ```
|
|
17100
16940
|
*/
|
|
17101
|
-
export declare type VueNodeElement = Component | Element |
|
|
16941
|
+
export declare type VueNodeElement = Component | Element | Array<Component | Element> | undefined;
|
|
17102
16942
|
|
|
17103
16943
|
export { }
|