@adyen/bento-vue2 1.73.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 +1521 -1711
- 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.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/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/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.CoqaoVnC.js → accordion-item.nQhXD2tV.js} +2 -2
- package/dist/chunks/{accordion-item.CoqaoVnC.js.map → accordion-item.nQhXD2tV.js.map} +1 -1
- package/dist/chunks/{action-bar.Bxrtx1Vj.js → action-bar.MXZTIUNk.js} +5 -5
- package/dist/chunks/{action-bar.Bxrtx1Vj.js.map → action-bar.MXZTIUNk.js.map} +1 -1
- package/dist/chunks/{ai-button.FRPkTHz6.js → ai-button.DBwtNkyS.js} +2 -2
- package/dist/chunks/{ai-button.FRPkTHz6.js.map → ai-button.DBwtNkyS.js.map} +1 -1
- package/dist/chunks/{alert.CMyL-zWT.js → alert.SZPP58tl.js} +3 -3
- package/dist/chunks/{alert.CMyL-zWT.js.map → alert.SZPP58tl.js.map} +1 -1
- package/dist/chunks/{avatar.KdcsNOsm.js → avatar.CeDqq2Z-.js} +3 -3
- package/dist/chunks/avatar.CeDqq2Z-.js.map +1 -0
- package/dist/chunks/{base-modal.DInbAZlp.js → base-modal.BMdlCSd0.js} +7 -7
- package/dist/chunks/base-modal.BMdlCSd0.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.BtWUxmSL.js → button-actions-with-menu.BFRkPi6g.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.BtWUxmSL.js.map → button-actions-with-menu.BFRkPi6g.js.map} +1 -1
- package/dist/chunks/{button-actions.55vIvDsX.js → button-actions.B81vY51z.js} +11 -14
- package/dist/chunks/button-actions.B81vY51z.js.map +1 -0
- package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
- package/dist/chunks/{button.CilT7NmM.js → button.CS_kdxYh.js} +3 -3
- package/dist/chunks/button.CS_kdxYh.js.map +1 -0
- package/dist/chunks/{calendar.M69sfyB9.js → calendar.EfqJlztU.js} +191 -187
- package/dist/chunks/calendar.EfqJlztU.js.map +1 -0
- package/dist/chunks/{card.C11dmth8.js → card.VOCKI7Ad.js} +8 -8
- package/dist/chunks/card.VOCKI7Ad.js.map +1 -0
- package/dist/chunks/{checkbox-group.B85s9nzq.js → checkbox-group.DETXTJqI.js} +4 -4
- package/dist/chunks/{checkbox-group.B85s9nzq.js.map → checkbox-group.DETXTJqI.js.map} +1 -1
- package/dist/chunks/{checkbox.BOIfb1fc.js → checkbox.BPtHAAEa.js} +18 -18
- package/dist/chunks/{checkbox.BOIfb1fc.js.map → checkbox.BPtHAAEa.js.map} +1 -1
- package/dist/chunks/{chip.omQX_Ziq.js → chip.fqEIkR-s.js} +2 -2
- package/dist/chunks/{chip.omQX_Ziq.js.map → chip.fqEIkR-s.js.map} +1 -1
- package/dist/chunks/{code-snippet.Dsc6Zuas.js → code-snippet.VtrsOTEC.js} +7 -7
- package/dist/chunks/{code-snippet.Dsc6Zuas.js.map → code-snippet.VtrsOTEC.js.map} +1 -1
- package/dist/chunks/{controls-group.CWeUgE2P.js → controls-group.82mB_GDw.js} +2 -2
- package/dist/chunks/{controls-group.CWeUgE2P.js.map → controls-group.82mB_GDw.js.map} +1 -1
- package/dist/chunks/{copy._BdbMnHK.js → copy.WQDLcs_T.js} +5 -5
- package/dist/chunks/{copy._BdbMnHK.js.map → copy.WQDLcs_T.js.map} +1 -1
- package/dist/chunks/country.CGn5WjFx.js +69 -0
- package/dist/chunks/country.CGn5WjFx.js.map +1 -0
- package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
- package/dist/chunks/{currency.MT3baDtO.js → currency.DDB4G_A8.js} +52 -35
- package/dist/chunks/currency.DDB4G_A8.js.map +1 -0
- package/dist/chunks/{dashboard-section.e7ozaS9M.js → dashboard-section.jIpBvP6X.js} +3 -3
- package/dist/chunks/{dashboard-section.e7ozaS9M.js.map → dashboard-section.jIpBvP6X.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CGU6o7ni.js → dashed-underline.K-l-7bDq.js} +3 -3
- package/dist/chunks/{dashed-underline.CGU6o7ni.js.map → dashed-underline.K-l-7bDq.js.map} +1 -1
- package/dist/chunks/{data-grid-template.BaPjUlZ2.js → data-grid-template.CozTcWQ0.js} +4 -4
- package/dist/chunks/{data-grid-template.BaPjUlZ2.js.map → data-grid-template.CozTcWQ0.js.map} +1 -1
- package/dist/chunks/{data-grid.BeClbIY3.js → data-grid.DN9xml8y.js} +334 -332
- package/dist/chunks/data-grid.DN9xml8y.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.DoYYzWcA.js +158 -0
- package/dist/chunks/date-picker.DoYYzWcA.js.map +1 -0
- package/dist/chunks/date-range-picker.C_pJ8yH5.js +917 -0
- package/dist/chunks/date-range-picker.C_pJ8yH5.js.map +1 -0
- package/dist/chunks/{date.BTdCYdkj.js → date.C1z2TXzM.js} +2 -2
- package/dist/chunks/{date.BTdCYdkj.js.map → date.C1z2TXzM.js.map} +1 -1
- package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
- package/dist/chunks/{dialog-page.LA_ZhbYa.js → dialog-page.D23qNwKW.js} +3 -3
- package/dist/chunks/dialog-page.D23qNwKW.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.CDm-PQfc.js → dropdown-default-textbox.yLeN0E2z.js} +6 -6
- package/dist/chunks/dropdown-default-textbox.yLeN0E2z.js.map +1 -0
- package/dist/chunks/dropdown-tag.DBnurtCQ.js +245 -0
- package/dist/chunks/dropdown-tag.DBnurtCQ.js.map +1 -0
- package/dist/chunks/{dropdown.B4urOhfH.js → dropdown.BOvtYKXS.js} +124 -119
- package/dist/chunks/dropdown.BOvtYKXS.js.map +1 -0
- package/dist/chunks/{empty-state.DNTrhYUm.js → empty-state.BsdRxzS2.js} +2 -2
- package/dist/chunks/{empty-state.DNTrhYUm.js.map → empty-state.BsdRxzS2.js.map} +1 -1
- package/dist/chunks/es6.MoTTyETW.js.map +1 -1
- package/dist/chunks/{field-label.BKzuCnXr.js → field-label.Auq-Pzho.js} +3 -3
- package/dist/chunks/{field-label.BKzuCnXr.js.map → field-label.Auq-Pzho.js.map} +1 -1
- package/dist/chunks/{file-uploader.BEClGxsF.js → file-uploader.BGoCYrnw.js} +27 -28
- package/dist/chunks/file-uploader.BGoCYrnw.js.map +1 -0
- package/dist/chunks/{filter-bar.B0Dl_8-M.js → filter-bar.DzHJi42d.js} +680 -746
- package/dist/chunks/filter-bar.DzHJi42d.js.map +1 -0
- package/dist/chunks/{fixed-scroller.QCXpkadN.js → fixed-scroller.CgVOf5VE.js} +3 -3
- package/dist/chunks/{fixed-scroller.QCXpkadN.js.map → fixed-scroller.CgVOf5VE.js.map} +1 -1
- package/dist/chunks/focus-trap.BJfpIboH.js.map +1 -1
- package/dist/chunks/{footer-actions.BTELM6rh.js → footer-actions.CLq_kBwY.js} +3 -3
- package/dist/chunks/{footer-actions.BTELM6rh.js.map → footer-actions.CLq_kBwY.js.map} +1 -1
- package/dist/chunks/{form-layout-title.vQNmD6vk.js → form-layout-title.DoF6ovPB.js} +3 -3
- package/dist/chunks/{form-layout-title.vQNmD6vk.js.map → form-layout-title.DoF6ovPB.js.map} +1 -1
- package/dist/chunks/get-slot-text.BQS5Olxm.js.map +1 -1
- package/dist/chunks/{header-meta.DZYH-qg-.js → header-meta.uiIO1wHP.js} +30 -27
- package/dist/chunks/{header-meta.DZYH-qg-.js.map → header-meta.uiIO1wHP.js.map} +1 -1
- package/dist/chunks/{header-with-views.BWwSFABv.js → header-with-views.t5Fr63SD.js} +87 -87
- package/dist/chunks/header-with-views.t5Fr63SD.js.map +1 -0
- package/dist/chunks/{header.CQMiTG7f.js → header.DwSyDQ68.js} +3 -3
- package/dist/chunks/{header.CQMiTG7f.js.map → header.DwSyDQ68.js.map} +1 -1
- package/dist/chunks/index.B6WW_F-J.js +31 -0
- package/dist/chunks/index.B6WW_F-J.js.map +1 -0
- package/dist/chunks/{info-icon.fB7jf3NJ.js → info-icon.Bhka3oGh.js} +3 -3
- package/dist/chunks/{info-icon.fB7jf3NJ.js.map → info-icon.Bhka3oGh.js.map} +1 -1
- package/dist/chunks/{input-field-password.BdZrUcJy.js → input-field-password.Dm3HYonF.js} +24 -24
- package/dist/chunks/input-field-password.Dm3HYonF.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.Bm0n9ycw.js → input-field-phone-number.bZauIuHJ.js} +1147 -1150
- package/dist/chunks/{input-field-phone-number.Bm0n9ycw.js.map → input-field-phone-number.bZauIuHJ.js.map} +1 -1
- package/dist/chunks/{input-field.DYVXuVxT.js → input-field.D52XYEzU.js} +5 -5
- package/dist/chunks/input-field.D52XYEzU.js.map +1 -0
- package/dist/chunks/{inspector.g3OErNAU.js → inspector.pmpheRch.js} +4 -4
- package/dist/chunks/inspector.pmpheRch.js.map +1 -0
- package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -1
- package/dist/chunks/{link.C4htMrDV.js → link.D8qpqg3W.js} +2 -2
- package/dist/chunks/{link.C4htMrDV.js.map → link.D8qpqg3W.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.UaD4kmXc.js → listbox-option-tag.Dl8GwHLT.js} +3 -3
- package/dist/chunks/listbox-option-tag.Dl8GwHLT.js.map +1 -0
- package/dist/chunks/loading-indicator.PxbRzshH.js +42 -0
- package/dist/chunks/loading-indicator.PxbRzshH.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.B-9Ke6Ya.js → modal-fullscreen.BSKm6yn_.js} +6 -6
- package/dist/chunks/{modal-fullscreen.B-9Ke6Ya.js.map → modal-fullscreen.BSKm6yn_.js.map} +1 -1
- package/dist/chunks/{modal.qybFapnI.js → modal.Bp5twyjz.js} +6 -6
- package/dist/chunks/{modal.qybFapnI.js.map → modal.Bp5twyjz.js.map} +1 -1
- package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
- package/dist/chunks/{pagination.CcH5IWXH.js → pagination.CKD9FDrA.js} +5 -5
- package/dist/chunks/pagination.CKD9FDrA.js.map +1 -0
- package/dist/chunks/popover.types.DK6opPkz.js +6 -0
- package/dist/chunks/{popover.types.iyDoIAOE.js.map → popover.types.DK6opPkz.js.map} +1 -1
- package/dist/chunks/{popper-container.C9KCAJxI.js → popper-container.agLYtGwv.js} +2 -2
- package/dist/chunks/{popper-container.C9KCAJxI.js.map → popper-container.agLYtGwv.js.map} +1 -1
- package/dist/chunks/{promo-banner.MI5NC2UT.js → promo-banner.DikQcQU2.js} +3 -3
- package/dist/chunks/promo-banner.DikQcQU2.js.map +1 -0
- package/dist/chunks/radio-group.AcYMFudv.js +177 -0
- package/dist/chunks/radio-group.AcYMFudv.js.map +1 -0
- package/dist/chunks/{rich-text-editor.EU6Dltjl.js → rich-text-editor.BZgQ578S.js} +7 -7
- package/dist/chunks/{rich-text-editor.EU6Dltjl.js.map → rich-text-editor.BZgQ578S.js.map} +1 -1
- package/dist/chunks/{search-bar.PC1n90UR.js → search-bar.c-w7Uky2.js} +4 -4
- package/dist/chunks/{search-bar.PC1n90UR.js.map → search-bar.c-w7Uky2.js.map} +1 -1
- package/dist/chunks/{secondary-nav.BXGVjZJX.js → secondary-nav.D69COlqF.js} +9 -9
- package/dist/chunks/secondary-nav.D69COlqF.js.map +1 -0
- package/dist/chunks/{segmented-control.Dc34mUMM.js → segmented-control.Cma_nu0G.js} +17 -16
- package/dist/chunks/segmented-control.Cma_nu0G.js.map +1 -0
- package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
- package/dist/chunks/{selection-card-group.VAJ3ifoH.js → selection-card-group.8UIir78G.js} +11 -11
- package/dist/chunks/selection-card-group.8UIir78G.js.map +1 -0
- package/dist/chunks/{sidepanel.uWNc58r7.js → sidepanel.A9yG4FP_.js} +12 -12
- package/dist/chunks/{sidepanel.uWNc58r7.js.map → sidepanel.A9yG4FP_.js.map} +1 -1
- package/dist/chunks/{step.D8blWwfR.js → step.TzzZSA9f.js} +4 -4
- package/dist/chunks/step.TzzZSA9f.js.map +1 -0
- package/dist/chunks/{structured-list-item.BLalgOps.js → structured-list-item.CMsVwwA6.js} +6 -6
- package/dist/chunks/{structured-list-item.BLalgOps.js.map → structured-list-item.CMsVwwA6.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.DqzYJ9_N.js → summary-grid.types.B80533d1.js} +6 -6
- package/dist/chunks/{summary-grid.types.DqzYJ9_N.js.map → summary-grid.types.B80533d1.js.map} +1 -1
- package/dist/chunks/{tab.D8YyoNFV.js → tab.CTui3j3e.js} +3 -3
- package/dist/chunks/tab.CTui3j3e.js.map +1 -0
- package/dist/chunks/{tag.Tjg4linG.js → tag.BwKc2d2E.js} +2 -2
- package/dist/chunks/{tag.Tjg4linG.js.map → tag.BwKc2d2E.js.map} +1 -1
- package/dist/chunks/textarea.CIQuLWQ8.js +165 -0
- package/dist/chunks/textarea.CIQuLWQ8.js.map +1 -0
- package/dist/chunks/{timeline-item.DaRKHndA.js → timeline-item.VSw9vKdO.js} +10 -10
- package/dist/chunks/timeline-item.VSw9vKdO.js.map +1 -0
- package/dist/chunks/{toast.gMDjItrP.js → toast.B4J4V6n-.js} +3 -3
- package/dist/chunks/{toast.gMDjItrP.js.map → toast.B4J4V6n-.js.map} +1 -1
- package/dist/chunks/toggle.BJMXpHRu.js +108 -0
- package/dist/chunks/toggle.BJMXpHRu.js.map +1 -0
- package/dist/chunks/{tooltip.DOD_4rkI.js → tooltip.D3SDcRef.js} +64 -68
- package/dist/chunks/tooltip.D3SDcRef.js.map +1 -0
- package/dist/chunks/{tutorial.BwnRyUoh.js → tutorial.B32GMtIj.js} +6 -6
- package/dist/chunks/tutorial.B32GMtIj.js.map +1 -0
- package/dist/chunks/{use-cached-selected-values.C7j6YhuC.js → use-cached-selected-values.IsfhJHxQ.js} +19 -19
- package/dist/chunks/use-cached-selected-values.IsfhJHxQ.js.map +1 -0
- package/dist/chunks/{use-country-items.DFdM2Ank.js → use-country-items.B3Cd3Tdo.js} +2 -2
- package/dist/chunks/use-country-items.B3Cd3Tdo.js.map +1 -0
- package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
- package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -1
- package/dist/chunks/use-has-slot.C9lQZ6nz.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/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- 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 +5 -2
- package/dist/styles/bento-light.css +5 -2
- package/dist/styles/bento.css +5 -2
- package/dist/styles/legacy.css +5 -2
- package/dist/styles/styleguide.css +5 -2
- 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 +1280 -1028
- package/package.json +12 -12
- package/dist/chunks/avatar.KdcsNOsm.js.map +0 -1
- package/dist/chunks/base-modal.DInbAZlp.js.map +0 -1
- package/dist/chunks/button-actions.55vIvDsX.js.map +0 -1
- package/dist/chunks/button.CilT7NmM.js.map +0 -1
- package/dist/chunks/calendar.M69sfyB9.js.map +0 -1
- package/dist/chunks/card.C11dmth8.js.map +0 -1
- package/dist/chunks/country.1yIZNjdj.js +0 -94
- package/dist/chunks/country.1yIZNjdj.js.map +0 -1
- package/dist/chunks/currency.MT3baDtO.js.map +0 -1
- package/dist/chunks/data-grid.BeClbIY3.js.map +0 -1
- package/dist/chunks/date-input.BqBdAO1E.js.map +0 -1
- package/dist/chunks/date-picker.CGTMHUNH.js +0 -240
- package/dist/chunks/date-picker.CGTMHUNH.js.map +0 -1
- package/dist/chunks/date-range-picker.DR2nDLqc.js +0 -974
- package/dist/chunks/date-range-picker.DR2nDLqc.js.map +0 -1
- package/dist/chunks/dialog-page.LA_ZhbYa.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.CDm-PQfc.js.map +0 -1
- package/dist/chunks/dropdown-tag.CUwoeCwu.js +0 -306
- package/dist/chunks/dropdown-tag.CUwoeCwu.js.map +0 -1
- package/dist/chunks/dropdown.B4urOhfH.js.map +0 -1
- package/dist/chunks/file-uploader.BEClGxsF.js.map +0 -1
- package/dist/chunks/filter-bar.B0Dl_8-M.js.map +0 -1
- package/dist/chunks/header-with-views.BWwSFABv.js.map +0 -1
- package/dist/chunks/i18n.BQkEbtPM.js +0 -31
- package/dist/chunks/i18n.BQkEbtPM.js.map +0 -1
- package/dist/chunks/input-field-password.BdZrUcJy.js.map +0 -1
- package/dist/chunks/input-field.DYVXuVxT.js.map +0 -1
- package/dist/chunks/inspector.g3OErNAU.js.map +0 -1
- package/dist/chunks/listbox-option-tag.UaD4kmXc.js.map +0 -1
- package/dist/chunks/loading-indicator.DXc7I1Lm.js +0 -48
- package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +0 -1
- package/dist/chunks/pagination.CcH5IWXH.js.map +0 -1
- package/dist/chunks/popover.types.iyDoIAOE.js +0 -6
- package/dist/chunks/promo-banner.MI5NC2UT.js.map +0 -1
- package/dist/chunks/radio-group.BuDqrwGq.js +0 -231
- package/dist/chunks/radio-group.BuDqrwGq.js.map +0 -1
- package/dist/chunks/secondary-nav.BXGVjZJX.js.map +0 -1
- package/dist/chunks/segmented-control.Dc34mUMM.js.map +0 -1
- package/dist/chunks/selection-card-group.VAJ3ifoH.js.map +0 -1
- package/dist/chunks/step.D8blWwfR.js.map +0 -1
- package/dist/chunks/tab.D8YyoNFV.js.map +0 -1
- package/dist/chunks/textarea.DUPV-I-L.js +0 -214
- package/dist/chunks/textarea.DUPV-I-L.js.map +0 -1
- package/dist/chunks/timeline-item.DaRKHndA.js.map +0 -1
- package/dist/chunks/toggle.Ct-5NUGu.js +0 -121
- package/dist/chunks/toggle.Ct-5NUGu.js.map +0 -1
- package/dist/chunks/tooltip.DOD_4rkI.js.map +0 -1
- package/dist/chunks/tutorial.BwnRyUoh.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.C7j6YhuC.js.map +0 -1
- package/dist/chunks/use-country-items.DFdM2Ank.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import { ComputedRef } from 'vue';
|
|
|
8
8
|
import { CountryCode } from 'libphonenumber-js/types';
|
|
9
9
|
import { CountryCode as CountryCode_2 } from 'libphonenumber-js';
|
|
10
10
|
import { DeepReadonly } from 'vue';
|
|
11
|
-
import { default as default_2 } from 'vue-i18n';
|
|
12
11
|
import { DefaultKeys } from 'vue/types/v3-component-props';
|
|
13
12
|
import { DefineComponent } from 'vue';
|
|
14
13
|
import { DirectiveBinding } from 'vue';
|
|
@@ -132,8 +131,22 @@ declare type __VLS_NonUndefinedable_54<T> = T extends undefined ? never : T;
|
|
|
132
131
|
|
|
133
132
|
declare type __VLS_NonUndefinedable_55<T> = T extends undefined ? never : T;
|
|
134
133
|
|
|
134
|
+
declare type __VLS_NonUndefinedable_56<T> = T extends undefined ? never : T;
|
|
135
|
+
|
|
136
|
+
declare type __VLS_NonUndefinedable_57<T> = T extends undefined ? never : T;
|
|
137
|
+
|
|
138
|
+
declare type __VLS_NonUndefinedable_58<T> = T extends undefined ? never : T;
|
|
139
|
+
|
|
140
|
+
declare type __VLS_NonUndefinedable_59<T> = T extends undefined ? never : T;
|
|
141
|
+
|
|
135
142
|
declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
|
|
136
143
|
|
|
144
|
+
declare type __VLS_NonUndefinedable_60<T> = T extends undefined ? never : T;
|
|
145
|
+
|
|
146
|
+
declare type __VLS_NonUndefinedable_61<T> = T extends undefined ? never : T;
|
|
147
|
+
|
|
148
|
+
declare type __VLS_NonUndefinedable_62<T> = T extends undefined ? never : T;
|
|
149
|
+
|
|
137
150
|
declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
|
|
138
151
|
|
|
139
152
|
declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
|
|
@@ -599,6 +612,42 @@ declare type __VLS_TypePropsToRuntimeProps_55<T> = {
|
|
|
599
612
|
};
|
|
600
613
|
};
|
|
601
614
|
|
|
615
|
+
declare type __VLS_TypePropsToRuntimeProps_56<T> = {
|
|
616
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
617
|
+
type: PropType<__VLS_NonUndefinedable_56<T[K]>>;
|
|
618
|
+
} : {
|
|
619
|
+
type: PropType<T[K]>;
|
|
620
|
+
required: true;
|
|
621
|
+
};
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
declare type __VLS_TypePropsToRuntimeProps_57<T> = {
|
|
625
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
626
|
+
type: PropType<__VLS_NonUndefinedable_57<T[K]>>;
|
|
627
|
+
} : {
|
|
628
|
+
type: PropType<T[K]>;
|
|
629
|
+
required: true;
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
declare type __VLS_TypePropsToRuntimeProps_58<T> = {
|
|
634
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
635
|
+
type: PropType<__VLS_NonUndefinedable_58<T[K]>>;
|
|
636
|
+
} : {
|
|
637
|
+
type: PropType<T[K]>;
|
|
638
|
+
required: true;
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
declare type __VLS_TypePropsToRuntimeProps_59<T> = {
|
|
643
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
644
|
+
type: PropType<__VLS_NonUndefinedable_59<T[K]>>;
|
|
645
|
+
} : {
|
|
646
|
+
type: PropType<T[K]>;
|
|
647
|
+
required: true;
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
|
|
602
651
|
declare type __VLS_TypePropsToRuntimeProps_6<T> = {
|
|
603
652
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
604
653
|
type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
|
|
@@ -608,6 +657,33 @@ declare type __VLS_TypePropsToRuntimeProps_6<T> = {
|
|
|
608
657
|
};
|
|
609
658
|
};
|
|
610
659
|
|
|
660
|
+
declare type __VLS_TypePropsToRuntimeProps_60<T> = {
|
|
661
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
662
|
+
type: PropType<__VLS_NonUndefinedable_60<T[K]>>;
|
|
663
|
+
} : {
|
|
664
|
+
type: PropType<T[K]>;
|
|
665
|
+
required: true;
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
declare type __VLS_TypePropsToRuntimeProps_61<T> = {
|
|
670
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
671
|
+
type: PropType<__VLS_NonUndefinedable_61<T[K]>>;
|
|
672
|
+
} : {
|
|
673
|
+
type: PropType<T[K]>;
|
|
674
|
+
required: true;
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
declare type __VLS_TypePropsToRuntimeProps_62<T> = {
|
|
679
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
680
|
+
type: PropType<__VLS_NonUndefinedable_62<T[K]>>;
|
|
681
|
+
} : {
|
|
682
|
+
type: PropType<T[K]>;
|
|
683
|
+
required: true;
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
|
|
611
687
|
declare type __VLS_TypePropsToRuntimeProps_7<T> = {
|
|
612
688
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
613
689
|
type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
|
|
@@ -923,6 +999,48 @@ declare type __VLS_WithDefaults_52<P, D> = {
|
|
|
923
999
|
} : P[K];
|
|
924
1000
|
};
|
|
925
1001
|
|
|
1002
|
+
declare type __VLS_WithDefaults_53<P, D> = {
|
|
1003
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1004
|
+
default: D[K];
|
|
1005
|
+
} : P[K];
|
|
1006
|
+
};
|
|
1007
|
+
|
|
1008
|
+
declare type __VLS_WithDefaults_54<P, D> = {
|
|
1009
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1010
|
+
default: D[K];
|
|
1011
|
+
} : P[K];
|
|
1012
|
+
};
|
|
1013
|
+
|
|
1014
|
+
declare type __VLS_WithDefaults_55<P, D> = {
|
|
1015
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1016
|
+
default: D[K];
|
|
1017
|
+
} : P[K];
|
|
1018
|
+
};
|
|
1019
|
+
|
|
1020
|
+
declare type __VLS_WithDefaults_56<P, D> = {
|
|
1021
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1022
|
+
default: D[K];
|
|
1023
|
+
} : P[K];
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1026
|
+
declare type __VLS_WithDefaults_57<P, D> = {
|
|
1027
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1028
|
+
default: D[K];
|
|
1029
|
+
} : P[K];
|
|
1030
|
+
};
|
|
1031
|
+
|
|
1032
|
+
declare type __VLS_WithDefaults_58<P, D> = {
|
|
1033
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1034
|
+
default: D[K];
|
|
1035
|
+
} : P[K];
|
|
1036
|
+
};
|
|
1037
|
+
|
|
1038
|
+
declare type __VLS_WithDefaults_59<P, D> = {
|
|
1039
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
1040
|
+
default: D[K];
|
|
1041
|
+
} : P[K];
|
|
1042
|
+
};
|
|
1043
|
+
|
|
926
1044
|
declare type __VLS_WithDefaults_6<P, D> = {
|
|
927
1045
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
928
1046
|
default: D[K];
|
|
@@ -1247,6 +1365,18 @@ declare type __VLS_WithTemplateSlots_54<T, S> = T & {
|
|
|
1247
1365
|
};
|
|
1248
1366
|
};
|
|
1249
1367
|
|
|
1368
|
+
declare type __VLS_WithTemplateSlots_55<T, S> = T & {
|
|
1369
|
+
new (): {
|
|
1370
|
+
$slots: S;
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1373
|
+
|
|
1374
|
+
declare type __VLS_WithTemplateSlots_56<T, S> = T & {
|
|
1375
|
+
new (): {
|
|
1376
|
+
$slots: S;
|
|
1377
|
+
};
|
|
1378
|
+
};
|
|
1379
|
+
|
|
1250
1380
|
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
1251
1381
|
new (): {
|
|
1252
1382
|
$slots: S;
|
|
@@ -1280,7 +1410,19 @@ export declare type allKeys<T> = T extends any ? keyof T : never;
|
|
|
1280
1410
|
/**
|
|
1281
1411
|
* Any function
|
|
1282
1412
|
*/
|
|
1283
|
-
export declare type AnyFn<T> = (...args: T
|
|
1413
|
+
export declare type AnyFn<T> = (...args: Array<T>) => T;
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* Private
|
|
1417
|
+
*/
|
|
1418
|
+
declare enum BaseFilterEvent {
|
|
1419
|
+
APPLY = "apply",
|
|
1420
|
+
CLEAR = "clear",
|
|
1421
|
+
OPEN = "open",
|
|
1422
|
+
CLOSE = "close",
|
|
1423
|
+
RESET = "reset",
|
|
1424
|
+
CANCEL = "cancel"
|
|
1425
|
+
}
|
|
1284
1426
|
|
|
1285
1427
|
declare interface BaseSummaryGridItemProps {
|
|
1286
1428
|
/**
|
|
@@ -1606,7 +1748,7 @@ declare interface BentoActionButton extends BentoButtonActionBase, BentoButtonPr
|
|
|
1606
1748
|
/**
|
|
1607
1749
|
* Type for the Menus passed as objects to Button Actions
|
|
1608
1750
|
*/
|
|
1609
|
-
declare type BentoActionMenu = BentoButtonActionBase &
|
|
1751
|
+
declare type BentoActionMenu = BentoButtonActionBase & OmitStrict<BentoMenuProps, 'button' | 'data'> & Partial<Pick<BentoMenuProps, 'data'>>;
|
|
1610
1752
|
|
|
1611
1753
|
/**
|
|
1612
1754
|
* AI Button component is used for cases where pressing a button starts an AI-related action.
|
|
@@ -1822,64 +1964,344 @@ export declare type BentoAvatarListboxOptionItem = Omit<BentoListboxOptionItem,
|
|
|
1822
1964
|
src?: string;
|
|
1823
1965
|
};
|
|
1824
1966
|
|
|
1825
|
-
export declare type BentoAvatarListboxOptions = BentoAvatarListboxOptionItem
|
|
1967
|
+
export declare type BentoAvatarListboxOptions = Array<BentoAvatarListboxOptionItem>;
|
|
1826
1968
|
|
|
1827
|
-
export declare
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1969
|
+
export declare const BentoBaseFilter: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoBaseFilterProps_2<BentoFilterBarValue, string>>, {
|
|
1970
|
+
appliedFiltersCount: any;
|
|
1971
|
+
buttonLabel: any;
|
|
1972
|
+
buttonSecondaryLabel: any;
|
|
1973
|
+
disabled: boolean;
|
|
1974
|
+
defaultValue: any;
|
|
1975
|
+
onlySlot: boolean;
|
|
1976
|
+
controlled: boolean;
|
|
1977
|
+
disableApplyButton: boolean;
|
|
1978
|
+
disableSecondaryButton: boolean;
|
|
1979
|
+
fitContent: any;
|
|
1980
|
+
tooltipText: any;
|
|
1981
|
+
tooltipPosition: any;
|
|
1982
|
+
value: any;
|
|
1983
|
+
}>, {
|
|
1984
|
+
closePopover: () => void;
|
|
1985
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BaseFilterEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoBaseFilterProps_2<BentoFilterBarValue, string>>, {
|
|
1986
|
+
appliedFiltersCount: any;
|
|
1987
|
+
buttonLabel: any;
|
|
1988
|
+
buttonSecondaryLabel: any;
|
|
1989
|
+
disabled: boolean;
|
|
1990
|
+
defaultValue: any;
|
|
1991
|
+
onlySlot: boolean;
|
|
1992
|
+
controlled: boolean;
|
|
1993
|
+
disableApplyButton: boolean;
|
|
1994
|
+
disableSecondaryButton: boolean;
|
|
1995
|
+
fitContent: any;
|
|
1996
|
+
tooltipText: any;
|
|
1997
|
+
tooltipPosition: any;
|
|
1998
|
+
value: any;
|
|
1999
|
+
}>>>, {
|
|
2000
|
+
value: BentoFilterBarValue;
|
|
2001
|
+
disabled: boolean;
|
|
2002
|
+
fitContent: boolean;
|
|
2003
|
+
tooltipPosition: `${BentoTooltipPosition}`;
|
|
2004
|
+
tooltipText: string;
|
|
2005
|
+
appliedFiltersCount: string | number;
|
|
2006
|
+
buttonLabel: string;
|
|
2007
|
+
buttonSecondaryLabel: string;
|
|
2008
|
+
defaultValue: BentoFilterBarValue;
|
|
2009
|
+
onlySlot: boolean;
|
|
2010
|
+
controlled: boolean;
|
|
2011
|
+
disableApplyButton: boolean;
|
|
2012
|
+
disableSecondaryButton: boolean;
|
|
2013
|
+
}>, {
|
|
2014
|
+
default: (_: {}) => any;
|
|
2015
|
+
}>;
|
|
1831
2016
|
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
2017
|
+
/**
|
|
2018
|
+
* Defines the mandatory emits that need to be defined by the implementation of any filter
|
|
2019
|
+
*
|
|
2020
|
+
* @template CustomValue Defines the type of the value being passed to the emit. Same as the type set in `BentoBaseFilterProps`
|
|
2021
|
+
*
|
|
2022
|
+
* @example
|
|
2023
|
+
* Using the interface
|
|
2024
|
+
*
|
|
2025
|
+
* ```typescript
|
|
2026
|
+
* import { type BentoBaseFilterEvents } from '..'
|
|
2027
|
+
*
|
|
2028
|
+
* defineEmits<BentoBaseFilterEvents<string>>()
|
|
2029
|
+
* ```
|
|
2030
|
+
*
|
|
2031
|
+
* @example
|
|
2032
|
+
* Using the object
|
|
2033
|
+
*
|
|
2034
|
+
* ```typescript
|
|
2035
|
+
* import { BentoBaseFilterEvents } from '..'
|
|
2036
|
+
*
|
|
2037
|
+
* defineEmits(BentoBaseFilterEvents)
|
|
2038
|
+
* ```
|
|
2039
|
+
*/
|
|
2040
|
+
export declare interface BentoBaseFilterEvents<CustomValue> {
|
|
2041
|
+
/**
|
|
2042
|
+
* Used in the All filters modal
|
|
2043
|
+
*/
|
|
2044
|
+
(e: 'input', newFilterValue: CustomValue): void;
|
|
2045
|
+
/**
|
|
2046
|
+
* Used in the Filter Bar
|
|
2047
|
+
*/
|
|
2048
|
+
(e: 'update', newFilterValue: CustomValue): void;
|
|
2049
|
+
}
|
|
1838
2050
|
|
|
1839
|
-
export declare
|
|
2051
|
+
export declare const BentoBaseFilterEvents: string[];
|
|
1840
2052
|
|
|
1841
2053
|
/**
|
|
1842
|
-
*
|
|
2054
|
+
* Defines the props used by `bento-base-filter` that must be implemented
|
|
2055
|
+
* on every filter as `defineProps`.
|
|
1843
2056
|
*
|
|
1844
|
-
*
|
|
1845
|
-
*
|
|
1846
|
-
* import { CheckMarkIcon } from '@adyen/ui-assets-icons-16';
|
|
2057
|
+
* The interface can be extended if new values are required.
|
|
2058
|
+
* The object can be extended if new values are required.
|
|
1847
2059
|
*
|
|
1848
|
-
*
|
|
1849
|
-
*
|
|
1850
|
-
* template: `
|
|
1851
|
-
* <bento-button
|
|
1852
|
-
* disabled
|
|
1853
|
-
* variant="secondary"
|
|
1854
|
-
* >
|
|
1855
|
-
* <template #iconLeft>
|
|
1856
|
-
* <check-mark svg-title="checked" />
|
|
1857
|
-
* </template>
|
|
2060
|
+
* @template CustomValue Defines the type of the `value` and `defaultValue` props.
|
|
2061
|
+
* @template CustomOptions Defines the type of the options used by the filter (default: `undefined`).
|
|
1858
2062
|
*
|
|
1859
|
-
*
|
|
2063
|
+
* @example
|
|
2064
|
+
* Using the interface
|
|
1860
2065
|
*
|
|
1861
|
-
*
|
|
1862
|
-
*
|
|
1863
|
-
*
|
|
1864
|
-
*
|
|
1865
|
-
*
|
|
2066
|
+
* ```typescript
|
|
2067
|
+
* import { type BentoBaseFilterProps } from '..'
|
|
2068
|
+
*
|
|
2069
|
+
* interface CustomOptions {
|
|
2070
|
+
* option: string;
|
|
1866
2071
|
* }
|
|
2072
|
+
*
|
|
2073
|
+
* withDefaults(defineProps<BentoBaseFilterProps<string, CustomOptions>>(), {
|
|
2074
|
+
* defaultValue: undefined,
|
|
2075
|
+
* })
|
|
2076
|
+
* ```
|
|
2077
|
+
*
|
|
2078
|
+
* @example
|
|
2079
|
+
* Using the object
|
|
2080
|
+
*
|
|
2081
|
+
* ```typescript
|
|
2082
|
+
* import { BentoBaseFilterProps } from '..'
|
|
2083
|
+
*
|
|
2084
|
+
* defineProps({
|
|
2085
|
+
* ...BentoBaseFilterProps,
|
|
2086
|
+
* options: {
|
|
2087
|
+
* type: Object,
|
|
2088
|
+
* default: () => ({
|
|
2089
|
+
* option: null
|
|
2090
|
+
* })
|
|
2091
|
+
* }
|
|
2092
|
+
* })
|
|
2093
|
+
* ```
|
|
1867
2094
|
*/
|
|
1868
|
-
export declare
|
|
1869
|
-
/**
|
|
1870
|
-
*
|
|
1871
|
-
*/
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
2095
|
+
export declare interface BentoBaseFilterProps<CustomValue, CustomOptions = undefined> {
|
|
2096
|
+
/**
|
|
2097
|
+
* Disables the filter from being interacted with.
|
|
2098
|
+
*/
|
|
2099
|
+
disabled?: boolean;
|
|
2100
|
+
/**
|
|
2101
|
+
* Default value of the filter to reset to.
|
|
2102
|
+
*/
|
|
2103
|
+
defaultValue?: CustomValue;
|
|
2104
|
+
/**
|
|
2105
|
+
* Filter name/key referencing the actual property name in the data set.
|
|
2106
|
+
* Should be unique per filter bar.
|
|
2107
|
+
*/
|
|
2108
|
+
field: string;
|
|
2109
|
+
/**
|
|
2110
|
+
* Label text to be displayed
|
|
2111
|
+
*/
|
|
2112
|
+
label: string;
|
|
2113
|
+
/**
|
|
2114
|
+
* Renders the base filter's slot content only - leaving out the button and the popover.
|
|
2115
|
+
* Used for the allFiltersModal component.
|
|
2116
|
+
*/
|
|
2117
|
+
onlySlot?: boolean;
|
|
2118
|
+
/**
|
|
2119
|
+
* List of options that are needed to setup the filter
|
|
2120
|
+
* Available options:
|
|
2121
|
+
* - firstDayOfWeek: Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
2122
|
+
* - isDateDisabled: Indicate if a date should be disabled or not
|
|
2123
|
+
* - tooltipPosition: The position of the tooltip attached to the filter button
|
|
2124
|
+
* - tooltipText: The content of the tooltip attached to the filter button
|
|
2125
|
+
*/
|
|
2126
|
+
options?: CustomOptions;
|
|
2127
|
+
/**
|
|
2128
|
+
* Current value of the filter
|
|
2129
|
+
*/
|
|
2130
|
+
value: CustomValue;
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
export declare const BentoBaseFilterProps: Readonly<{
|
|
2134
|
+
/**
|
|
2135
|
+
* Disables the filter from being interacted with.
|
|
2136
|
+
*/
|
|
2137
|
+
disabled: {
|
|
2138
|
+
type: BooleanConstructor;
|
|
2139
|
+
default: boolean;
|
|
2140
|
+
};
|
|
2141
|
+
/**
|
|
2142
|
+
* Default value of the filter to reset to.
|
|
2143
|
+
*/
|
|
2144
|
+
defaultValue: {
|
|
2145
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor | NumberConstructor)[];
|
|
2146
|
+
default: any;
|
|
2147
|
+
};
|
|
2148
|
+
/**
|
|
2149
|
+
* Filter name/key referencing the actual property name in the data set.
|
|
2150
|
+
* Should be unique per filter bar.
|
|
2151
|
+
*/
|
|
2152
|
+
field: {
|
|
2153
|
+
type: StringConstructor;
|
|
2154
|
+
required: boolean;
|
|
2155
|
+
};
|
|
2156
|
+
/**
|
|
2157
|
+
* Label text to be displayed
|
|
2158
|
+
*/
|
|
2159
|
+
label: {
|
|
2160
|
+
type: StringConstructor;
|
|
2161
|
+
required: boolean;
|
|
2162
|
+
};
|
|
2163
|
+
/**
|
|
2164
|
+
* Renders the base filter's slot content only - leaving out the button and the popover.
|
|
2165
|
+
* Used for the allFiltersModal component.
|
|
2166
|
+
*/
|
|
2167
|
+
onlySlot: {
|
|
2168
|
+
type: BooleanConstructor;
|
|
2169
|
+
default: boolean;
|
|
2170
|
+
};
|
|
2171
|
+
/**
|
|
2172
|
+
* The current value of the filter, used for v-model.
|
|
2173
|
+
*/
|
|
2174
|
+
value: {
|
|
2175
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor | NumberConstructor)[];
|
|
2176
|
+
default: any;
|
|
2177
|
+
};
|
|
2178
|
+
}>;
|
|
2179
|
+
|
|
2180
|
+
/**
|
|
2181
|
+
* Public
|
|
2182
|
+
*/
|
|
2183
|
+
declare interface BentoBaseFilterProps_2<Value, Field> {
|
|
2184
|
+
/**
|
|
2185
|
+
* Total count of applied filters
|
|
2186
|
+
*/
|
|
2187
|
+
appliedFiltersCount?: string | number;
|
|
2188
|
+
/**
|
|
2189
|
+
* Overrides the label of the popover visibility toggle button text.
|
|
2190
|
+
*/
|
|
2191
|
+
buttonLabel?: string;
|
|
2192
|
+
/**
|
|
2193
|
+
* Sets the secondary label text of the popover visibility toggle button text.
|
|
2194
|
+
*/
|
|
2195
|
+
buttonSecondaryLabel?: string;
|
|
2196
|
+
/**
|
|
2197
|
+
* Disables the filter from being interacted with.
|
|
2198
|
+
*/
|
|
2199
|
+
disabled?: boolean;
|
|
2200
|
+
/**
|
|
2201
|
+
* Default value of the filter to reset to.
|
|
2202
|
+
*/
|
|
2203
|
+
defaultValue?: Value;
|
|
2204
|
+
/**
|
|
2205
|
+
* Renders the base filter's slot content only - leaving out the button and the popover.
|
|
2206
|
+
* Used for the allFiltersModal component.
|
|
2207
|
+
*/
|
|
2208
|
+
onlySlot?: boolean;
|
|
2209
|
+
/**
|
|
2210
|
+
* Allows to handle the controls (apply/clear) from outside
|
|
2211
|
+
* of the component
|
|
2212
|
+
*/
|
|
2213
|
+
controlled?: boolean;
|
|
2214
|
+
/**
|
|
2215
|
+
* Disable the "apply" button
|
|
2216
|
+
*/
|
|
2217
|
+
disableApplyButton?: boolean;
|
|
2218
|
+
/**
|
|
2219
|
+
* Disable the secondary button action.
|
|
2220
|
+
*/
|
|
2221
|
+
disableSecondaryButton?: boolean;
|
|
2222
|
+
/**
|
|
2223
|
+
* Filter name/key referencing the actual property name in the data set.
|
|
2224
|
+
* Should be unique per filter bar.
|
|
2225
|
+
*/
|
|
2226
|
+
field: Field;
|
|
2227
|
+
/**
|
|
2228
|
+
* Label text to be displayed
|
|
2229
|
+
*/
|
|
2230
|
+
label: string;
|
|
2231
|
+
/**
|
|
2232
|
+
* Sets the size of the container to fit its content
|
|
2233
|
+
*/
|
|
2234
|
+
fitContent?: boolean;
|
|
2235
|
+
/**
|
|
2236
|
+
* Attaches a `BentoTooltip` if present. Text showed in the tooltip on hover.
|
|
2237
|
+
*/
|
|
2238
|
+
tooltipText?: string;
|
|
2239
|
+
/**
|
|
2240
|
+
* Position the tooltip should take if space is available.
|
|
2241
|
+
*/
|
|
2242
|
+
tooltipPosition?: `${BentoTooltipPosition}`;
|
|
2243
|
+
/**
|
|
2244
|
+
* The current value of the filter, used for v-model.
|
|
2245
|
+
*/
|
|
2246
|
+
value?: Value;
|
|
2247
|
+
}
|
|
2248
|
+
|
|
2249
|
+
export declare type BentoBooleanFilterOption = {
|
|
2250
|
+
label: string;
|
|
2251
|
+
value: string | boolean;
|
|
2252
|
+
};
|
|
2253
|
+
|
|
2254
|
+
export declare type BentoBooleanFilterOptions = {
|
|
2255
|
+
positiveOption?: BentoBooleanFilterOption;
|
|
2256
|
+
negativeOption?: BentoBooleanFilterOption;
|
|
2257
|
+
tooltipText?: string;
|
|
2258
|
+
tooltipPosition?: BentoTooltipPosition | `${BentoTooltipPosition}`;
|
|
2259
|
+
};
|
|
2260
|
+
|
|
2261
|
+
export declare type BentoBooleanFilterValue = string | null;
|
|
2262
|
+
|
|
2263
|
+
/**
|
|
2264
|
+
* Button component for all the various types of bento buttons.
|
|
2265
|
+
*
|
|
2266
|
+
* @example
|
|
2267
|
+
* import { BentoButton } from '../..';
|
|
2268
|
+
* import { CheckMarkIcon } from '@adyen/ui-assets-icons-16';
|
|
2269
|
+
*
|
|
2270
|
+
* export default {
|
|
2271
|
+
* components: { BentoButton },
|
|
2272
|
+
* template: `
|
|
2273
|
+
* <bento-button
|
|
2274
|
+
* disabled
|
|
2275
|
+
* variant="secondary"
|
|
2276
|
+
* >
|
|
2277
|
+
* <template #iconLeft>
|
|
2278
|
+
* <check-mark svg-title="checked" />
|
|
2279
|
+
* </template>
|
|
2280
|
+
*
|
|
2281
|
+
* Button text
|
|
2282
|
+
*
|
|
2283
|
+
* <template #iconRight>
|
|
2284
|
+
* <check-mark svg-title="checked" />
|
|
2285
|
+
* </template>
|
|
2286
|
+
* </bento-button>
|
|
2287
|
+
* `,
|
|
2288
|
+
* }
|
|
2289
|
+
*/
|
|
2290
|
+
export declare const BentoButton: __VLS_WithTemplateSlots_4<DefineComponent< {
|
|
2291
|
+
/**
|
|
2292
|
+
* Reduces sizing of button
|
|
2293
|
+
*/
|
|
2294
|
+
condensed: {
|
|
2295
|
+
type: BooleanConstructor;
|
|
2296
|
+
default: boolean;
|
|
2297
|
+
};
|
|
2298
|
+
/**
|
|
2299
|
+
* Displays button as critical
|
|
2300
|
+
*/
|
|
2301
|
+
critical: {
|
|
2302
|
+
type: BooleanConstructor;
|
|
2303
|
+
default: boolean;
|
|
2304
|
+
};
|
|
1883
2305
|
/**
|
|
1884
2306
|
* Disables button functionality
|
|
1885
2307
|
*/
|
|
@@ -2172,7 +2594,7 @@ export declare enum BentoButtonVariant {
|
|
|
2172
2594
|
* `
|
|
2173
2595
|
* };
|
|
2174
2596
|
*/
|
|
2175
|
-
export declare const BentoCard:
|
|
2597
|
+
export declare const BentoCard: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<{
|
|
2176
2598
|
/**
|
|
2177
2599
|
* List of actions that will be used to render the buttons.
|
|
2178
2600
|
* First element in the list will be rendered as "primary".
|
|
@@ -2247,7 +2669,7 @@ titleSize: BentoCardTitleSize;
|
|
|
2247
2669
|
click: () => void;
|
|
2248
2670
|
} & {
|
|
2249
2671
|
expanded: (isExpanded: boolean) => void;
|
|
2250
|
-
}, string, Readonly<ExtractPropTypes<
|
|
2672
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<{
|
|
2251
2673
|
/**
|
|
2252
2674
|
* List of actions that will be used to render the buttons.
|
|
2253
2675
|
* First element in the list will be rendered as "primary".
|
|
@@ -2324,9 +2746,9 @@ disabled: boolean;
|
|
|
2324
2746
|
background: BentoCardBackground | `${BentoCardBackground}`;
|
|
2325
2747
|
actions: BentoButtonActionsList;
|
|
2326
2748
|
actionsLayout: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
|
|
2749
|
+
clickable: boolean;
|
|
2327
2750
|
closed: boolean;
|
|
2328
2751
|
expandable: boolean;
|
|
2329
|
-
clickable: boolean;
|
|
2330
2752
|
}>, {
|
|
2331
2753
|
image: (_: {}) => any;
|
|
2332
2754
|
default: (_: {}) => any;
|
|
@@ -2483,7 +2905,7 @@ style: HTMLAttributes["style"];
|
|
|
2483
2905
|
hasSlot: (name: string) => boolean;
|
|
2484
2906
|
onChange: (newValue: BentoCheckboxType | BentoCheckboxGroupItems) => void;
|
|
2485
2907
|
getAriaHidden: (attributes: HTMLAttributes) => boolean | "true" | "false";
|
|
2486
|
-
t: (key: "required" | "optional" | "checkbox",
|
|
2908
|
+
t: (key: "required" | "optional" | "checkbox", ...args: Array<any>) => string;
|
|
2487
2909
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCheckboxEvent[], string, Readonly<ExtractPropTypes< {
|
|
2488
2910
|
/**
|
|
2489
2911
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -2584,10 +3006,10 @@ tag: any;
|
|
|
2584
3006
|
optional: boolean;
|
|
2585
3007
|
readonly: boolean;
|
|
2586
3008
|
ariaLabel: string;
|
|
2587
|
-
errorMessage: string;
|
|
2588
3009
|
indeterminate: boolean;
|
|
2589
3010
|
hasError: boolean;
|
|
2590
3011
|
modelValue: BentoCheckboxType | BentoCheckboxGroupItems;
|
|
3012
|
+
errorMessage: string;
|
|
2591
3013
|
}>;
|
|
2592
3014
|
|
|
2593
3015
|
export declare enum BentoCheckboxEvent {
|
|
@@ -2869,11 +3291,11 @@ required: boolean;
|
|
|
2869
3291
|
disabled: boolean;
|
|
2870
3292
|
optional: boolean;
|
|
2871
3293
|
readonly: boolean;
|
|
2872
|
-
tooltipText: string;
|
|
2873
|
-
hideLabel: boolean;
|
|
2874
|
-
errorMessage: string;
|
|
2875
3294
|
hasError: boolean;
|
|
2876
3295
|
modelValue: (string | number)[];
|
|
3296
|
+
errorMessage: string;
|
|
3297
|
+
tooltipText: string;
|
|
3298
|
+
hideLabel: boolean;
|
|
2877
3299
|
formId: string;
|
|
2878
3300
|
}>;
|
|
2879
3301
|
|
|
@@ -2930,7 +3352,7 @@ export declare type BentoCheckboxType = boolean | BentoMultiCheckboxType;
|
|
|
2930
3352
|
* `
|
|
2931
3353
|
* }
|
|
2932
3354
|
*/
|
|
2933
|
-
export declare const BentoChip: DefineComponent<
|
|
3355
|
+
export declare const BentoChip: DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoChipProps>, {
|
|
2934
3356
|
disabled: boolean;
|
|
2935
3357
|
readonly: boolean;
|
|
2936
3358
|
error: boolean;
|
|
@@ -2938,7 +3360,7 @@ condensed: boolean;
|
|
|
2938
3360
|
characterLimit: any;
|
|
2939
3361
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2940
3362
|
click: () => void;
|
|
2941
|
-
}, string, Readonly<ExtractPropTypes<
|
|
3363
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoChipProps>, {
|
|
2942
3364
|
disabled: boolean;
|
|
2943
3365
|
readonly: boolean;
|
|
2944
3366
|
error: boolean;
|
|
@@ -3020,7 +3442,7 @@ export declare const BentoClickOutsideDirective: {
|
|
|
3020
3442
|
* `
|
|
3021
3443
|
* }
|
|
3022
3444
|
*/
|
|
3023
|
-
export declare const BentoCodeSnippet:
|
|
3445
|
+
export declare const BentoCodeSnippet: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoCodeSnippetProps>, {
|
|
3024
3446
|
actionable: boolean;
|
|
3025
3447
|
actionableText: any;
|
|
3026
3448
|
content: string;
|
|
@@ -3030,7 +3452,7 @@ lang: BentoCodeSnippetSupportedLanguage;
|
|
|
3030
3452
|
langLabel: any;
|
|
3031
3453
|
loading: boolean;
|
|
3032
3454
|
variant: BentoCodeSnippetVariant;
|
|
3033
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<
|
|
3455
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoCodeSnippetProps>, {
|
|
3034
3456
|
actionable: boolean;
|
|
3035
3457
|
actionableText: any;
|
|
3036
3458
|
content: string;
|
|
@@ -3148,7 +3570,7 @@ declare type BentoColumnCellAction = OmitStrict<BentoButtonActionObject, 'varian
|
|
|
3148
3570
|
event?: BentoColumnCellActionEvent;
|
|
3149
3571
|
isShort?: true;
|
|
3150
3572
|
variant?: BentoColumnCellActionVariant;
|
|
3151
|
-
menuData?: BentoColumnCellActionMenuItem
|
|
3573
|
+
menuData?: Array<BentoColumnCellActionMenuItem>;
|
|
3152
3574
|
getCopyData?: (rowDataItem: BentoDatagridDataItem, columnKey: string) => string;
|
|
3153
3575
|
};
|
|
3154
3576
|
|
|
@@ -3162,7 +3584,7 @@ declare type BentoColumnCellActionMenuItem = {
|
|
|
3162
3584
|
event?: BentoColumnCellActionEvent;
|
|
3163
3585
|
} & OmitStrict<BentoMenuItem, 'handler'>;
|
|
3164
3586
|
|
|
3165
|
-
declare type BentoColumnCellActions = BentoColumnCellAction
|
|
3587
|
+
declare type BentoColumnCellActions = Array<BentoColumnCellAction>;
|
|
3166
3588
|
|
|
3167
3589
|
declare type BentoColumnCellActionsByCellDataFn = (rowDataItem: BentoDatagridDataItem, columnKey: string) => BentoColumnCellActions;
|
|
3168
3590
|
|
|
@@ -3185,7 +3607,7 @@ export declare interface BentoColumnWidthOverridesLookup {
|
|
|
3185
3607
|
* A component to display a country's label.
|
|
3186
3608
|
* The label comes in four variates: iso code, country name, phone number code or capital city.
|
|
3187
3609
|
*
|
|
3188
|
-
* @
|
|
3610
|
+
* @usage
|
|
3189
3611
|
* import { BentoCountry, BentoCountryCode } from '../..';
|
|
3190
3612
|
*
|
|
3191
3613
|
* export default {
|
|
@@ -3195,64 +3617,18 @@ export declare interface BentoColumnWidthOverridesLookup {
|
|
|
3195
3617
|
* `
|
|
3196
3618
|
* }
|
|
3197
3619
|
*/
|
|
3198
|
-
export declare const BentoCountry: DefineComponent<
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
}
|
|
3207
|
-
|
|
3208
|
-
* Custom label text.
|
|
3209
|
-
*/
|
|
3210
|
-
label: {
|
|
3211
|
-
type: StringConstructor;
|
|
3212
|
-
default: any;
|
|
3213
|
-
};
|
|
3214
|
-
/**
|
|
3215
|
-
* Which label variant to display.
|
|
3216
|
-
* @values iso, name, phone_code, capital
|
|
3217
|
-
*/
|
|
3218
|
-
variant: {
|
|
3219
|
-
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
3220
|
-
default: BentoCountryVariant;
|
|
3221
|
-
validator: (value: BentoCountryVariant) => boolean;
|
|
3222
|
-
};
|
|
3223
|
-
}, {
|
|
3224
|
-
countryName: ComputedRef<string>;
|
|
3225
|
-
countryLabel: Ref<string>;
|
|
3226
|
-
isSummaryGridLayout: boolean;
|
|
3227
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
3228
|
-
/**
|
|
3229
|
-
* Two character country code ([ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3230
|
-
*/
|
|
3231
|
-
code: {
|
|
3232
|
-
type: PropType<BentoCountryCode | `${BentoCountryCode}`>;
|
|
3233
|
-
default: BentoCountryCode;
|
|
3234
|
-
validator: (value: BentoCountryCode) => boolean;
|
|
3235
|
-
};
|
|
3236
|
-
/**
|
|
3237
|
-
* Custom label text.
|
|
3238
|
-
*/
|
|
3239
|
-
label: {
|
|
3240
|
-
type: StringConstructor;
|
|
3241
|
-
default: any;
|
|
3242
|
-
};
|
|
3243
|
-
/**
|
|
3244
|
-
* Which label variant to display.
|
|
3245
|
-
* @values iso, name, phone_code, capital
|
|
3246
|
-
*/
|
|
3247
|
-
variant: {
|
|
3248
|
-
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
3249
|
-
default: BentoCountryVariant;
|
|
3250
|
-
validator: (value: BentoCountryVariant) => boolean;
|
|
3251
|
-
};
|
|
3252
|
-
}>>, {
|
|
3253
|
-
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;
|
|
3620
|
+
export declare const BentoCountry: DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoCountryProps>, {
|
|
3621
|
+
code: BentoCountryCode;
|
|
3622
|
+
label: any;
|
|
3623
|
+
variant: BentoCountryVariant;
|
|
3624
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoCountryProps>, {
|
|
3625
|
+
code: BentoCountryCode;
|
|
3626
|
+
label: any;
|
|
3627
|
+
variant: BentoCountryVariant;
|
|
3628
|
+
}>>>, {
|
|
3629
|
+
code: BentoCountryCode | `${BentoCountryCode}`;
|
|
3254
3630
|
label: string;
|
|
3255
|
-
variant:
|
|
3631
|
+
variant: BentoCountryVariant | `${BentoCountryVariant}`;
|
|
3256
3632
|
}>;
|
|
3257
3633
|
|
|
3258
3634
|
export declare enum BentoCountryCode {
|
|
@@ -3515,7 +3891,23 @@ export declare type BentoCountryListboxOptionItem = OmitStrict<BentoListboxOptio
|
|
|
3515
3891
|
label?: string;
|
|
3516
3892
|
};
|
|
3517
3893
|
|
|
3518
|
-
export declare type BentoCountryListboxOptions = BentoCountryListboxOptionItem
|
|
3894
|
+
export declare type BentoCountryListboxOptions = Array<BentoCountryListboxOptionItem>;
|
|
3895
|
+
|
|
3896
|
+
export declare interface BentoCountryProps {
|
|
3897
|
+
/**
|
|
3898
|
+
* Two character country code ([ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3899
|
+
*/
|
|
3900
|
+
code?: BentoCountryCode | `${BentoCountryCode}`;
|
|
3901
|
+
/**
|
|
3902
|
+
* Custom label text.
|
|
3903
|
+
*/
|
|
3904
|
+
label?: string;
|
|
3905
|
+
/**
|
|
3906
|
+
* Which label variant to display.
|
|
3907
|
+
* @values iso, name, phone_code, capital
|
|
3908
|
+
*/
|
|
3909
|
+
variant?: BentoCountryVariant | `${BentoCountryVariant}`;
|
|
3910
|
+
}
|
|
3519
3911
|
|
|
3520
3912
|
/**
|
|
3521
3913
|
* @deprecated for usage with properties since version 2.0. Use the string literal instead.
|
|
@@ -3545,13 +3937,13 @@ export declare enum BentoCountryVariant {
|
|
|
3545
3937
|
* `
|
|
3546
3938
|
* }
|
|
3547
3939
|
*/
|
|
3548
|
-
export declare const BentoCurrency: DefineComponent<
|
|
3940
|
+
export declare const BentoCurrency: DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoCurrencyProps>, {
|
|
3549
3941
|
currency: BentoCurrencyISOCode;
|
|
3550
3942
|
disableTypography: boolean;
|
|
3551
3943
|
majorUnits: boolean;
|
|
3552
3944
|
value: any;
|
|
3553
3945
|
currencySign: string;
|
|
3554
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3946
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoCurrencyProps>, {
|
|
3555
3947
|
currency: BentoCurrencyISOCode;
|
|
3556
3948
|
disableTypography: boolean;
|
|
3557
3949
|
majorUnits: boolean;
|
|
@@ -3560,8 +3952,8 @@ currencySign: string;
|
|
|
3560
3952
|
}>>>, {
|
|
3561
3953
|
value: number;
|
|
3562
3954
|
disableTypography: boolean;
|
|
3563
|
-
currency: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
|
|
3564
3955
|
currencySign: Intl.NumberFormatOptions["currencySign"];
|
|
3956
|
+
currency: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
|
|
3565
3957
|
majorUnits: boolean;
|
|
3566
3958
|
}>;
|
|
3567
3959
|
|
|
@@ -3741,7 +4133,7 @@ export declare type BentoCurrencyListboxOptionItem = OmitStrict<BentoListboxOpti
|
|
|
3741
4133
|
value: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
|
|
3742
4134
|
};
|
|
3743
4135
|
|
|
3744
|
-
export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem
|
|
4136
|
+
export declare type BentoCurrencyListboxOptions = Array<BentoCurrencyListboxOptionItem>;
|
|
3745
4137
|
|
|
3746
4138
|
export declare interface BentoCurrencyProps {
|
|
3747
4139
|
/**
|
|
@@ -3798,7 +4190,7 @@ export declare interface BentoCurrencyProps {
|
|
|
3798
4190
|
* `
|
|
3799
4191
|
* }
|
|
3800
4192
|
*/
|
|
3801
|
-
export declare const BentoDashboardSection:
|
|
4193
|
+
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_55<DefineComponent<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_62<{
|
|
3802
4194
|
/**
|
|
3803
4195
|
* The header of the section
|
|
3804
4196
|
*/
|
|
@@ -3809,7 +4201,7 @@ header: BentoDashboardTemplateHeader;
|
|
|
3809
4201
|
halfWidth?: boolean;
|
|
3810
4202
|
}>, {
|
|
3811
4203
|
halfWidth: boolean;
|
|
3812
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
4204
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_62<{
|
|
3813
4205
|
/**
|
|
3814
4206
|
* The header of the section
|
|
3815
4207
|
*/
|
|
@@ -3857,7 +4249,7 @@ halfWidth: boolean;
|
|
|
3857
4249
|
* `
|
|
3858
4250
|
* }
|
|
3859
4251
|
*/
|
|
3860
|
-
export declare const BentoDashboardTemplate:
|
|
4252
|
+
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_54<DefineComponent<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_61<{
|
|
3861
4253
|
/**
|
|
3862
4254
|
* The header that goes to the top of the template
|
|
3863
4255
|
*/
|
|
@@ -3880,7 +4272,7 @@ stickyFilters?: boolean;
|
|
|
3880
4272
|
tabs: any;
|
|
3881
4273
|
stickyTabs: boolean;
|
|
3882
4274
|
stickyFilters: boolean;
|
|
3883
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
4275
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_61<{
|
|
3884
4276
|
/**
|
|
3885
4277
|
* The header that goes to the top of the template
|
|
3886
4278
|
*/
|
|
@@ -3919,7 +4311,7 @@ export declare type BentoDashboardTemplateTab = InstanceType<typeof BentoTab>['$
|
|
|
3919
4311
|
|
|
3920
4312
|
export declare type BentoDashboardTemplateTabs = {
|
|
3921
4313
|
activeTabIndex?: number;
|
|
3922
|
-
tabs: BentoDashboardTemplateTab
|
|
4314
|
+
tabs: Array<BentoDashboardTemplateTab>;
|
|
3923
4315
|
};
|
|
3924
4316
|
|
|
3925
4317
|
/**
|
|
@@ -4068,7 +4460,7 @@ default: boolean;
|
|
|
4068
4460
|
* Column definitions using 'key' to relate to data object.
|
|
4069
4461
|
*/
|
|
4070
4462
|
columns: {
|
|
4071
|
-
type: PropType<BentoColumn
|
|
4463
|
+
type: PropType<Array<BentoColumn>>;
|
|
4072
4464
|
required: true;
|
|
4073
4465
|
};
|
|
4074
4466
|
/**
|
|
@@ -4201,7 +4593,7 @@ default: boolean;
|
|
|
4201
4593
|
* Highlighted items
|
|
4202
4594
|
*/
|
|
4203
4595
|
highlightedRows: {
|
|
4204
|
-
type: PropType<BentoDatagridDataItemId
|
|
4596
|
+
type: PropType<Array<BentoDatagridDataItemId>>;
|
|
4205
4597
|
default: () => any[];
|
|
4206
4598
|
};
|
|
4207
4599
|
/**
|
|
@@ -4300,7 +4692,7 @@ default: boolean;
|
|
|
4300
4692
|
* Selected items
|
|
4301
4693
|
*/
|
|
4302
4694
|
selection: {
|
|
4303
|
-
type: PropType<BentoDatagridDataItemId
|
|
4695
|
+
type: PropType<Array<BentoDatagridDataItemId>>;
|
|
4304
4696
|
default: () => any[];
|
|
4305
4697
|
};
|
|
4306
4698
|
/**
|
|
@@ -4322,7 +4714,7 @@ default: (_item: BentoDatagridDataItem) => true;
|
|
|
4322
4714
|
* It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
|
|
4323
4715
|
*/
|
|
4324
4716
|
sortBy: {
|
|
4325
|
-
type: PropType<BentoDatagridSortByColumn
|
|
4717
|
+
type: PropType<Array<BentoDatagridSortByColumn>>;
|
|
4326
4718
|
default: () => any[];
|
|
4327
4719
|
};
|
|
4328
4720
|
/**
|
|
@@ -4388,7 +4780,7 @@ default: boolean;
|
|
|
4388
4780
|
* Column definitions using 'key' to relate to data object.
|
|
4389
4781
|
*/
|
|
4390
4782
|
columns: {
|
|
4391
|
-
type: PropType<BentoColumn
|
|
4783
|
+
type: PropType<Array<BentoColumn>>;
|
|
4392
4784
|
required: true;
|
|
4393
4785
|
};
|
|
4394
4786
|
/**
|
|
@@ -4521,7 +4913,7 @@ default: boolean;
|
|
|
4521
4913
|
* Highlighted items
|
|
4522
4914
|
*/
|
|
4523
4915
|
highlightedRows: {
|
|
4524
|
-
type: PropType<BentoDatagridDataItemId
|
|
4916
|
+
type: PropType<Array<BentoDatagridDataItemId>>;
|
|
4525
4917
|
default: () => any[];
|
|
4526
4918
|
};
|
|
4527
4919
|
/**
|
|
@@ -4620,7 +5012,7 @@ default: boolean;
|
|
|
4620
5012
|
* Selected items
|
|
4621
5013
|
*/
|
|
4622
5014
|
selection: {
|
|
4623
|
-
type: PropType<BentoDatagridDataItemId
|
|
5015
|
+
type: PropType<Array<BentoDatagridDataItemId>>;
|
|
4624
5016
|
default: () => any[];
|
|
4625
5017
|
};
|
|
4626
5018
|
/**
|
|
@@ -4642,7 +5034,7 @@ default: (_item: BentoDatagridDataItem) => true;
|
|
|
4642
5034
|
* It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
|
|
4643
5035
|
*/
|
|
4644
5036
|
sortBy: {
|
|
4645
|
-
type: PropType<BentoDatagridSortByColumn
|
|
5037
|
+
type: PropType<Array<BentoDatagridSortByColumn>>;
|
|
4646
5038
|
default: () => any[];
|
|
4647
5039
|
};
|
|
4648
5040
|
/**
|
|
@@ -4722,17 +5114,17 @@ export declare enum BentoDatagridAriaSortValue {
|
|
|
4722
5114
|
NONE = "none"
|
|
4723
5115
|
}
|
|
4724
5116
|
|
|
4725
|
-
export declare type BentoDatagridData = BentoDatagridDataItem
|
|
5117
|
+
export declare type BentoDatagridData = Array<BentoDatagridDataItem>;
|
|
4726
5118
|
|
|
4727
5119
|
export declare interface BentoDatagridDataItem {
|
|
4728
5120
|
id?: BentoDatagridDataItemId;
|
|
4729
|
-
children?: BentoDatagridDataItem
|
|
5121
|
+
children?: Array<BentoDatagridDataItem>;
|
|
4730
5122
|
[fieldName: string]: unknown;
|
|
4731
5123
|
}
|
|
4732
5124
|
|
|
4733
5125
|
export declare type BentoDatagridDataItemId = string | number;
|
|
4734
5126
|
|
|
4735
|
-
export declare type BentoDatagridEmptyStateProps =
|
|
5127
|
+
export declare type BentoDatagridEmptyStateProps = BentoEmptyStateProps;
|
|
4736
5128
|
|
|
4737
5129
|
export declare enum BentoDatagridEvent {
|
|
4738
5130
|
COLUMNS = "columns",
|
|
@@ -4769,7 +5161,7 @@ declare type BentoDataGridRowActionsFn = (rowDataItem: BentoDatagridDataItem) =>
|
|
|
4769
5161
|
|
|
4770
5162
|
declare type BentoDataGridRowActionsProp = BentoColumnCellActions | BentoDataGridRowActionsFn;
|
|
4771
5163
|
|
|
4772
|
-
export declare type BentoDatagridSelection = BentoDatagridDataItemId
|
|
5164
|
+
export declare type BentoDatagridSelection = Array<BentoDatagridDataItemId>;
|
|
4773
5165
|
|
|
4774
5166
|
export declare type BentoDatagridShouldShowNestedContentFn = (item: BentoDatagridDataItem) => boolean;
|
|
4775
5167
|
|
|
@@ -4798,7 +5190,7 @@ export declare enum BentoDatagridSortDirection {
|
|
|
4798
5190
|
* `
|
|
4799
5191
|
* }
|
|
4800
5192
|
*/
|
|
4801
|
-
export declare const BentoDataGridStaticIcon: DefineComponent<
|
|
5193
|
+
export declare const BentoDataGridStaticIcon: DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<{
|
|
4802
5194
|
/**
|
|
4803
5195
|
* Renderes the icon with color.
|
|
4804
5196
|
*/
|
|
@@ -4814,7 +5206,7 @@ variant?: BentoDataGridStaticIconVariant;
|
|
|
4814
5206
|
}>, {
|
|
4815
5207
|
variant: string;
|
|
4816
5208
|
colored: boolean;
|
|
4817
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5209
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<{
|
|
4818
5210
|
/**
|
|
4819
5211
|
* Renderes the icon with color.
|
|
4820
5212
|
*/
|
|
@@ -4864,11 +5256,11 @@ export declare enum BentoDatagridStyleState {
|
|
|
4864
5256
|
* `
|
|
4865
5257
|
* }
|
|
4866
5258
|
*/
|
|
4867
|
-
export declare const BentoDataGridSummaryCell: DefineComponent<
|
|
5259
|
+
export declare const BentoDataGridSummaryCell: DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<BentoDataGridSummaryCellProps>, {
|
|
4868
5260
|
dashedUnderline: () => {};
|
|
4869
5261
|
searchTerm: string;
|
|
4870
5262
|
tooltipText: any;
|
|
4871
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5263
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<BentoDataGridSummaryCellProps>, {
|
|
4872
5264
|
dashedUnderline: () => {};
|
|
4873
5265
|
searchTerm: string;
|
|
4874
5266
|
tooltipText: any;
|
|
@@ -4888,7 +5280,7 @@ declare interface BentoDataGridSummaryCellProps {
|
|
|
4888
5280
|
* An array of strings to display. If there is only one item, it will be displayed as plain text.
|
|
4889
5281
|
* If there are multiple items, they will be displayed in a popover.
|
|
4890
5282
|
*/
|
|
4891
|
-
items: string
|
|
5283
|
+
items: Array<string>;
|
|
4892
5284
|
/**
|
|
4893
5285
|
* Props to pass to the underlying `BentoDashedUnderline` component, allowing for customization of the popover.
|
|
4894
5286
|
*/
|
|
@@ -4926,7 +5318,7 @@ declare interface BentoDataGridSummaryCellProps {
|
|
|
4926
5318
|
* `
|
|
4927
5319
|
* }
|
|
4928
5320
|
*/
|
|
4929
|
-
export declare const BentoDataGridTemplate:
|
|
5321
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_56<DefineComponent< {
|
|
4930
5322
|
/**
|
|
4931
5323
|
* The header that goes to the top of the template
|
|
4932
5324
|
*/
|
|
@@ -5129,7 +5521,7 @@ export declare type BentoDataGridTemplateTab = InstanceType<typeof BentoTab>['$p
|
|
|
5129
5521
|
|
|
5130
5522
|
export declare type BentoDataGridTemplateTabs = {
|
|
5131
5523
|
activeTabIndex?: number;
|
|
5132
|
-
tabs: BentoDataGridTemplateTab
|
|
5524
|
+
tabs: Array<BentoDataGridTemplateTab>;
|
|
5133
5525
|
};
|
|
5134
5526
|
|
|
5135
5527
|
/**
|
|
@@ -5145,11 +5537,11 @@ export declare type BentoDataGridTemplateTabs = {
|
|
|
5145
5537
|
* `
|
|
5146
5538
|
* }
|
|
5147
5539
|
*/
|
|
5148
|
-
export declare const BentoDate: DefineComponent<
|
|
5540
|
+
export declare const BentoDate: DefineComponent<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoDateProps>, {
|
|
5149
5541
|
date: any;
|
|
5150
5542
|
format: BentoDateFormat;
|
|
5151
5543
|
disableTypography: boolean;
|
|
5152
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5544
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoDateProps>, {
|
|
5153
5545
|
date: any;
|
|
5154
5546
|
format: BentoDateFormat;
|
|
5155
5547
|
disableTypography: boolean;
|
|
@@ -5216,271 +5608,100 @@ export declare enum BentoDateFormat {
|
|
|
5216
5608
|
* }
|
|
5217
5609
|
* }
|
|
5218
5610
|
*/
|
|
5219
|
-
export declare const BentoDatePicker: DefineComponent<
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
};
|
|
5256
|
-
/**
|
|
5257
|
-
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
5258
|
-
*/
|
|
5259
|
-
min: {
|
|
5260
|
-
type: DateConstructor;
|
|
5261
|
-
default: any;
|
|
5262
|
-
};
|
|
5263
|
-
/**
|
|
5264
|
-
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
5265
|
-
*/
|
|
5266
|
-
max: {
|
|
5267
|
-
type: DateConstructor;
|
|
5268
|
-
default: any;
|
|
5269
|
-
};
|
|
5270
|
-
/**
|
|
5271
|
-
* Text that is displayed as a label above the element.
|
|
5272
|
-
*/
|
|
5273
|
-
label: {
|
|
5274
|
-
type: StringConstructor;
|
|
5275
|
-
default: any;
|
|
5276
|
-
};
|
|
5277
|
-
/**
|
|
5278
|
-
* Highlights the dropdown is optional.
|
|
5279
|
-
*/
|
|
5280
|
-
optional: {
|
|
5281
|
-
type: BooleanConstructor;
|
|
5282
|
-
default: boolean;
|
|
5283
|
-
};
|
|
5284
|
-
/**
|
|
5285
|
-
* The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date picker.
|
|
5286
|
-
*/
|
|
5287
|
-
readonly: {
|
|
5288
|
-
type: BooleanConstructor;
|
|
5289
|
-
default: boolean;
|
|
5290
|
-
};
|
|
5291
|
-
/**
|
|
5292
|
-
* Highlights the dropdown is required.
|
|
5293
|
-
*/
|
|
5294
|
-
required: {
|
|
5295
|
-
type: BooleanConstructor;
|
|
5296
|
-
default: boolean;
|
|
5297
|
-
};
|
|
5298
|
-
/**
|
|
5299
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
5300
|
-
*/
|
|
5301
|
-
tooltipText: {
|
|
5302
|
-
type: StringConstructor;
|
|
5303
|
-
default: any;
|
|
5304
|
-
};
|
|
5305
|
-
/**
|
|
5306
|
-
* Selected date
|
|
5307
|
-
*/
|
|
5308
|
-
value: {
|
|
5309
|
-
type: PropType<BentoDatePickerValue>;
|
|
5310
|
-
default: any;
|
|
5311
|
-
};
|
|
5312
|
-
/**
|
|
5313
|
-
* The type of calendar to display. Defaults to showing days.
|
|
5314
|
-
*/
|
|
5315
|
-
variant: {
|
|
5316
|
-
type: PropType<`${CalendarVariant}`>;
|
|
5317
|
-
default: any;
|
|
5318
|
-
};
|
|
5319
|
-
/**
|
|
5320
|
-
* Default start date for the calendar pane
|
|
5321
|
-
*/
|
|
5322
|
-
defaultDisplayMonth: {
|
|
5323
|
-
type: StringConstructor;
|
|
5324
|
-
default: any;
|
|
5325
|
-
validator: (value: string) => boolean;
|
|
5326
|
-
};
|
|
5327
|
-
}, {
|
|
5328
|
-
inputContainerRef: any;
|
|
5329
|
-
calendarContainerRef: any;
|
|
5330
|
-
dateDisplayValue: ComputedRef<string>;
|
|
5331
|
-
datePickerContainerId: string;
|
|
5332
|
-
descriptionConditionalClasses: ComputedRef< {
|
|
5333
|
-
'b-date-picker__description--error': string;
|
|
5334
|
-
}>;
|
|
5335
|
-
isDateIncorrect: Ref<boolean>;
|
|
5336
|
-
isDatePickerOpen: Ref<boolean>;
|
|
5337
|
-
isReadOnly: ComputedRef<boolean>;
|
|
5338
|
-
dateErrorText: ComputedRef<string>;
|
|
5339
|
-
labelId: string;
|
|
5340
|
-
descriptionId: string;
|
|
5341
|
-
errorId: string;
|
|
5342
|
-
dateErrorId: string;
|
|
5343
|
-
popoverAriaLabel: ComputedRef<string>;
|
|
5344
|
-
ariaDescribedBy: ComputedRef<string>;
|
|
5345
|
-
textInputValue: Ref<string>;
|
|
5346
|
-
initialFocusOnDatePickerOpen: any;
|
|
5347
|
-
closeDatePicker: () => void;
|
|
5348
|
-
clearDatePickerValue: () => Promise<void>;
|
|
5349
|
-
onDateSelected: (selectedDate: Date) => void;
|
|
5350
|
-
openDatePicker: () => void;
|
|
5351
|
-
onDateKeyDown: (event: KeyboardEvent) => void;
|
|
5352
|
-
onDateInputChange: (stringDate: string) => void;
|
|
5353
|
-
onSpaceBarOrEnter: (event: KeyboardEvent) => Promise<void>;
|
|
5354
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDatePickerEvent[], string, Readonly<ExtractPropTypes< {
|
|
5355
|
-
/**
|
|
5356
|
-
* Descriptive supporting text visbile underneath the dropdown.
|
|
5357
|
-
*/
|
|
5358
|
-
description: {
|
|
5359
|
-
type: StringConstructor;
|
|
5360
|
-
default: any;
|
|
5361
|
-
};
|
|
5362
|
-
/**
|
|
5363
|
-
* Disables dropdown functionality.
|
|
5364
|
-
*/
|
|
5365
|
-
disabled: {
|
|
5366
|
-
type: BooleanConstructor;
|
|
5367
|
-
default: boolean;
|
|
5368
|
-
};
|
|
5369
|
-
/**
|
|
5370
|
-
* Displays component in an error state with an error message
|
|
5371
|
-
*/
|
|
5372
|
-
errorMessage: {
|
|
5373
|
-
type: StringConstructor;
|
|
5374
|
-
default: any;
|
|
5375
|
-
};
|
|
5376
|
-
/**
|
|
5377
|
-
* Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
5378
|
-
*/
|
|
5379
|
-
firstDayOfWeek: {
|
|
5380
|
-
type: PropType<CalendarMonthFirstDayOfWeek>;
|
|
5381
|
-
default: CalendarMonthFirstDayOfWeek;
|
|
5382
|
-
validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
|
|
5383
|
-
};
|
|
5384
|
-
/**
|
|
5385
|
-
* Indicate if a date should be disabled or not
|
|
5386
|
-
*/
|
|
5387
|
-
isDateDisabled: {
|
|
5388
|
-
type: PropType<CalendarMonthIsDateDisabled>;
|
|
5389
|
-
default: any;
|
|
5390
|
-
};
|
|
5391
|
-
/**
|
|
5392
|
-
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
5393
|
-
*/
|
|
5394
|
-
min: {
|
|
5395
|
-
type: DateConstructor;
|
|
5396
|
-
default: any;
|
|
5397
|
-
};
|
|
5398
|
-
/**
|
|
5399
|
-
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
5400
|
-
*/
|
|
5401
|
-
max: {
|
|
5402
|
-
type: DateConstructor;
|
|
5403
|
-
default: any;
|
|
5404
|
-
};
|
|
5405
|
-
/**
|
|
5406
|
-
* Text that is displayed as a label above the element.
|
|
5407
|
-
*/
|
|
5408
|
-
label: {
|
|
5409
|
-
type: StringConstructor;
|
|
5410
|
-
default: any;
|
|
5411
|
-
};
|
|
5412
|
-
/**
|
|
5413
|
-
* Highlights the dropdown is optional.
|
|
5414
|
-
*/
|
|
5415
|
-
optional: {
|
|
5416
|
-
type: BooleanConstructor;
|
|
5417
|
-
default: boolean;
|
|
5418
|
-
};
|
|
5419
|
-
/**
|
|
5420
|
-
* The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date picker.
|
|
5421
|
-
*/
|
|
5422
|
-
readonly: {
|
|
5423
|
-
type: BooleanConstructor;
|
|
5424
|
-
default: boolean;
|
|
5425
|
-
};
|
|
5426
|
-
/**
|
|
5427
|
-
* Highlights the dropdown is required.
|
|
5428
|
-
*/
|
|
5429
|
-
required: {
|
|
5430
|
-
type: BooleanConstructor;
|
|
5431
|
-
default: boolean;
|
|
5432
|
-
};
|
|
5433
|
-
/**
|
|
5434
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
5435
|
-
*/
|
|
5436
|
-
tooltipText: {
|
|
5437
|
-
type: StringConstructor;
|
|
5438
|
-
default: any;
|
|
5439
|
-
};
|
|
5440
|
-
/**
|
|
5441
|
-
* Selected date
|
|
5442
|
-
*/
|
|
5443
|
-
value: {
|
|
5444
|
-
type: PropType<BentoDatePickerValue>;
|
|
5445
|
-
default: any;
|
|
5446
|
-
};
|
|
5447
|
-
/**
|
|
5448
|
-
* The type of calendar to display. Defaults to showing days.
|
|
5449
|
-
*/
|
|
5450
|
-
variant: {
|
|
5451
|
-
type: PropType<`${CalendarVariant}`>;
|
|
5452
|
-
default: any;
|
|
5453
|
-
};
|
|
5454
|
-
/**
|
|
5455
|
-
* Default start date for the calendar pane
|
|
5456
|
-
*/
|
|
5457
|
-
defaultDisplayMonth: {
|
|
5458
|
-
type: StringConstructor;
|
|
5459
|
-
default: any;
|
|
5460
|
-
validator: (value: string) => boolean;
|
|
5461
|
-
};
|
|
5462
|
-
}>>, {
|
|
5463
|
-
value: Date;
|
|
5611
|
+
export declare const BentoDatePicker: DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDatePickerProps>, {
|
|
5612
|
+
defaultDisplayMonth: any;
|
|
5613
|
+
description: any;
|
|
5614
|
+
disabled: boolean;
|
|
5615
|
+
errorMessage: any;
|
|
5616
|
+
firstDayOfWeek: number;
|
|
5617
|
+
isDateDisabled: any;
|
|
5618
|
+
label: any;
|
|
5619
|
+
max: any;
|
|
5620
|
+
min: any;
|
|
5621
|
+
optional: boolean;
|
|
5622
|
+
placeholder: any;
|
|
5623
|
+
readonly: boolean;
|
|
5624
|
+
required: boolean;
|
|
5625
|
+
tooltipText: any;
|
|
5626
|
+
value: any;
|
|
5627
|
+
variant: any;
|
|
5628
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDatePickerEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDatePickerProps>, {
|
|
5629
|
+
defaultDisplayMonth: any;
|
|
5630
|
+
description: any;
|
|
5631
|
+
disabled: boolean;
|
|
5632
|
+
errorMessage: any;
|
|
5633
|
+
firstDayOfWeek: number;
|
|
5634
|
+
isDateDisabled: any;
|
|
5635
|
+
label: any;
|
|
5636
|
+
max: any;
|
|
5637
|
+
min: any;
|
|
5638
|
+
optional: boolean;
|
|
5639
|
+
placeholder: any;
|
|
5640
|
+
readonly: boolean;
|
|
5641
|
+
required: boolean;
|
|
5642
|
+
tooltipText: any;
|
|
5643
|
+
value: any;
|
|
5644
|
+
variant: any;
|
|
5645
|
+
}>>>, {
|
|
5646
|
+
value: BentoDatePickerValue | null;
|
|
5464
5647
|
description: string;
|
|
5465
5648
|
label: string;
|
|
5466
|
-
variant:
|
|
5649
|
+
variant: `${CalendarVariant}`;
|
|
5467
5650
|
required: boolean;
|
|
5468
5651
|
disabled: boolean;
|
|
5469
5652
|
optional: boolean;
|
|
5470
5653
|
readonly: boolean;
|
|
5654
|
+
errorMessage: string;
|
|
5655
|
+
tooltipText: string;
|
|
5471
5656
|
isDateDisabled: CalendarMonthIsDateDisabled;
|
|
5472
5657
|
firstDayOfWeek: CalendarMonthFirstDayOfWeek;
|
|
5473
|
-
min: Date;
|
|
5474
|
-
max: Date;
|
|
5475
|
-
defaultDisplayMonth: string;
|
|
5476
|
-
|
|
5477
|
-
errorMessage: string;
|
|
5658
|
+
min: Date | null;
|
|
5659
|
+
max: Date | null;
|
|
5660
|
+
defaultDisplayMonth: string | null;
|
|
5661
|
+
placeholder: string;
|
|
5478
5662
|
}>;
|
|
5479
5663
|
|
|
5480
5664
|
export declare enum BentoDatePickerEvent {
|
|
5481
5665
|
INPUT = "input"
|
|
5482
5666
|
}
|
|
5483
5667
|
|
|
5668
|
+
export declare interface BentoDatePickerProps extends FormField {
|
|
5669
|
+
/**
|
|
5670
|
+
* Default start date for the calendar pane.
|
|
5671
|
+
* Expected format: YYYY-MM-DD
|
|
5672
|
+
* @default null
|
|
5673
|
+
*/
|
|
5674
|
+
defaultDisplayMonth?: string | null;
|
|
5675
|
+
/**
|
|
5676
|
+
* Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
5677
|
+
* @default 1
|
|
5678
|
+
*/
|
|
5679
|
+
firstDayOfWeek?: CalendarMonthFirstDayOfWeek;
|
|
5680
|
+
/**
|
|
5681
|
+
* Indicate if a date should be disabled or not
|
|
5682
|
+
*/
|
|
5683
|
+
isDateDisabled?: CalendarMonthIsDateDisabled;
|
|
5684
|
+
/**
|
|
5685
|
+
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
5686
|
+
* @default null
|
|
5687
|
+
*/
|
|
5688
|
+
min?: Date | null;
|
|
5689
|
+
/**
|
|
5690
|
+
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
5691
|
+
* @default null
|
|
5692
|
+
*/
|
|
5693
|
+
max?: Date | null;
|
|
5694
|
+
/**
|
|
5695
|
+
* Selected date
|
|
5696
|
+
* @default null
|
|
5697
|
+
*/
|
|
5698
|
+
value?: BentoDatePickerValue | null;
|
|
5699
|
+
/**
|
|
5700
|
+
* The type of calendar to display. Defaults to showing days.
|
|
5701
|
+
*/
|
|
5702
|
+
variant?: `${CalendarVariant}`;
|
|
5703
|
+
}
|
|
5704
|
+
|
|
5484
5705
|
export declare type BentoDatePickerValue = Date;
|
|
5485
5706
|
|
|
5486
5707
|
export declare interface BentoDateProps {
|
|
@@ -5516,374 +5737,97 @@ export declare interface BentoDateRangeFilterOptions {
|
|
|
5516
5737
|
tooltipText?: string;
|
|
5517
5738
|
tooltipPosition?: BentoTooltipPosition | `${BentoTooltipPosition}`;
|
|
5518
5739
|
}
|
|
5519
|
-
|
|
5520
|
-
export declare type BentoDateRangeFilterValue = BentoDateRangePickerValue | null;
|
|
5521
|
-
|
|
5522
|
-
/**
|
|
5523
|
-
* Date range picker selector.
|
|
5524
|
-
*
|
|
5525
|
-
* @example
|
|
5526
|
-
* import { BentoDateRangePicker } from '../..';
|
|
5527
|
-
*
|
|
5528
|
-
* export default {
|
|
5529
|
-
* components: { BentoDateRangePicker },
|
|
5530
|
-
* template: `
|
|
5531
|
-
* <bento-date-range-picker
|
|
5532
|
-
* label="Label"
|
|
5533
|
-
* description="Supporting text"
|
|
5534
|
-
* required
|
|
5535
|
-
* optional
|
|
5536
|
-
* disabled
|
|
5537
|
-
* @input="onDateChanged"
|
|
5538
|
-
* v-model="selectedDate"
|
|
5539
|
-
* />
|
|
5540
|
-
* `,
|
|
5541
|
-
* setup() {
|
|
5542
|
-
* const selectedDate = ref(new Date()); // reactive({ startDate: new Date(), endDate: new Date() })
|
|
5543
|
-
* return {
|
|
5544
|
-
* selectedDate,
|
|
5545
|
-
* }
|
|
5546
|
-
* }
|
|
5547
|
-
* }
|
|
5548
|
-
*/
|
|
5549
|
-
export declare const BentoDateRangePicker: DefineComponent< {
|
|
5550
|
-
/**
|
|
5551
|
-
* Allows user to enter time values in the form
|
|
5552
|
-
*/
|
|
5553
|
-
allowTimeInput: {
|
|
5554
|
-
type: BooleanConstructor;
|
|
5555
|
-
default: boolean;
|
|
5556
|
-
};
|
|
5557
|
-
/**
|
|
5558
|
-
* Descriptive supporting text visbile underneath the dropdown.
|
|
5559
|
-
*/
|
|
5560
|
-
description: {
|
|
5561
|
-
type: StringConstructor;
|
|
5562
|
-
default: any;
|
|
5563
|
-
};
|
|
5564
|
-
/**
|
|
5565
|
-
* Disables dropdown functionality.
|
|
5566
|
-
*/
|
|
5567
|
-
disabled: {
|
|
5568
|
-
type: BooleanConstructor;
|
|
5569
|
-
default: boolean;
|
|
5570
|
-
};
|
|
5571
|
-
/**
|
|
5572
|
-
* Displays component in an error state with an error message
|
|
5573
|
-
*/
|
|
5574
|
-
errorMessage: {
|
|
5575
|
-
type: StringConstructor;
|
|
5576
|
-
default: any;
|
|
5577
|
-
};
|
|
5578
|
-
/**
|
|
5579
|
-
* Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
5580
|
-
*/
|
|
5581
|
-
firstDayOfWeek: {
|
|
5582
|
-
type: PropType<CalendarMonthFirstDayOfWeek>;
|
|
5583
|
-
default: CalendarMonthFirstDayOfWeek;
|
|
5584
|
-
validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
|
|
5585
|
-
};
|
|
5586
|
-
/**
|
|
5587
|
-
* A list of available granularities.
|
|
5588
|
-
* If present, the date picker will display a segmented control to change granularity.
|
|
5589
|
-
*/
|
|
5590
|
-
granularities: {
|
|
5591
|
-
type: PropType<Array<BentoDateRangePickerGranularityConfig>>;
|
|
5592
|
-
default: any;
|
|
5593
|
-
};
|
|
5594
|
-
/**
|
|
5595
|
-
* Indicate if a date should be disabled or not
|
|
5596
|
-
*/
|
|
5597
|
-
isDateDisabled: {
|
|
5598
|
-
type: PropType<CalendarMonthIsDateDisabled>;
|
|
5599
|
-
default: any;
|
|
5600
|
-
};
|
|
5601
|
-
/**
|
|
5602
|
-
* Text that is displayed as a label above the element.
|
|
5603
|
-
*/
|
|
5604
|
-
label: {
|
|
5605
|
-
type: StringConstructor;
|
|
5606
|
-
default: any;
|
|
5607
|
-
};
|
|
5608
|
-
/**
|
|
5609
|
-
* Upon opening date range picker, end date's month will be pre-selected.
|
|
5610
|
-
*/
|
|
5611
|
-
showEndDateOnOpen: {
|
|
5612
|
-
type: BooleanConstructor;
|
|
5613
|
-
default: boolean;
|
|
5614
|
-
};
|
|
5615
|
-
/**
|
|
5616
|
-
* Highlights the dropdown is optional.
|
|
5617
|
-
*/
|
|
5618
|
-
optional: {
|
|
5619
|
-
type: BooleanConstructor;
|
|
5620
|
-
default: boolean;
|
|
5621
|
-
};
|
|
5622
|
-
/**
|
|
5623
|
-
* The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date range picker.
|
|
5624
|
-
*/
|
|
5625
|
-
readonly: {
|
|
5626
|
-
type: BooleanConstructor;
|
|
5627
|
-
default: boolean;
|
|
5628
|
-
};
|
|
5629
|
-
/**
|
|
5630
|
-
* Highlights the dropdown is required.
|
|
5631
|
-
*/
|
|
5632
|
-
required: {
|
|
5633
|
-
type: BooleanConstructor;
|
|
5634
|
-
default: boolean;
|
|
5635
|
-
};
|
|
5636
|
-
/**
|
|
5637
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
5638
|
-
*/
|
|
5639
|
-
tooltipText: {
|
|
5640
|
-
type: StringConstructor;
|
|
5641
|
-
default: any;
|
|
5642
|
-
};
|
|
5643
|
-
/**
|
|
5644
|
-
* Enables the range selector.
|
|
5645
|
-
* If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
|
|
5646
|
-
* `label` - label of custom range item.
|
|
5647
|
-
* `value` - a unique key of the custom range item.
|
|
5648
|
-
* `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
|
|
5649
|
-
*/
|
|
5650
|
-
quickSelectRanges: {
|
|
5651
|
-
type: PropType<DateRangePickerCalendarRangeSelectorItems>;
|
|
5652
|
-
default: any;
|
|
5653
|
-
};
|
|
5654
|
-
/**
|
|
5655
|
-
* Set a maximum number of dates to be selectable by the range.
|
|
5656
|
-
*/
|
|
5657
|
-
maxRange: {
|
|
5658
|
-
type: NumberConstructor;
|
|
5659
|
-
default: any;
|
|
5660
|
-
validator: (value: number) => boolean;
|
|
5661
|
-
};
|
|
5662
|
-
/**
|
|
5663
|
-
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
5664
|
-
*/
|
|
5665
|
-
min: {
|
|
5666
|
-
type: DateConstructor;
|
|
5667
|
-
default: any;
|
|
5668
|
-
};
|
|
5669
|
-
/**
|
|
5670
|
-
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
5671
|
-
*/
|
|
5672
|
-
max: {
|
|
5673
|
-
type: DateConstructor;
|
|
5674
|
-
default: any;
|
|
5675
|
-
};
|
|
5676
|
-
/**
|
|
5677
|
-
* Number of months rendered on pane
|
|
5678
|
-
*/
|
|
5679
|
-
numberOfMonths: {
|
|
5680
|
-
type: NumberConstructor;
|
|
5681
|
-
default: number;
|
|
5682
|
-
validator: (n: number) => boolean;
|
|
5683
|
-
};
|
|
5684
|
-
/**
|
|
5685
|
-
* Selected date
|
|
5686
|
-
*/
|
|
5687
|
-
value: {
|
|
5688
|
-
type: PropType<BentoDateRangePickerValue>;
|
|
5689
|
-
default: any;
|
|
5690
|
-
};
|
|
5691
|
-
/**
|
|
5692
|
-
* The type of calendar to display. Defaults to showing days.
|
|
5693
|
-
*/
|
|
5694
|
-
variant: {
|
|
5695
|
-
type: PropType<`${CalendarVariant}`>;
|
|
5696
|
-
default: any;
|
|
5697
|
-
};
|
|
5698
|
-
/**
|
|
5699
|
-
* Enables the date picker selection to persist until it is explicitly applied.
|
|
5700
|
-
* Displays a set of buttons: Apply and Cancel.
|
|
5701
|
-
*
|
|
5702
|
-
* @deprecated This will be the default behaviour in v2.0.0.
|
|
5703
|
-
*/
|
|
5704
|
-
hasActions: {
|
|
5705
|
-
type: BooleanConstructor;
|
|
5706
|
-
default: boolean;
|
|
5707
|
-
};
|
|
5708
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes< {
|
|
5709
|
-
/**
|
|
5710
|
-
* Allows user to enter time values in the form
|
|
5711
|
-
*/
|
|
5712
|
-
allowTimeInput: {
|
|
5713
|
-
type: BooleanConstructor;
|
|
5714
|
-
default: boolean;
|
|
5715
|
-
};
|
|
5716
|
-
/**
|
|
5717
|
-
* Descriptive supporting text visbile underneath the dropdown.
|
|
5718
|
-
*/
|
|
5719
|
-
description: {
|
|
5720
|
-
type: StringConstructor;
|
|
5721
|
-
default: any;
|
|
5722
|
-
};
|
|
5723
|
-
/**
|
|
5724
|
-
* Disables dropdown functionality.
|
|
5725
|
-
*/
|
|
5726
|
-
disabled: {
|
|
5727
|
-
type: BooleanConstructor;
|
|
5728
|
-
default: boolean;
|
|
5729
|
-
};
|
|
5730
|
-
/**
|
|
5731
|
-
* Displays component in an error state with an error message
|
|
5732
|
-
*/
|
|
5733
|
-
errorMessage: {
|
|
5734
|
-
type: StringConstructor;
|
|
5735
|
-
default: any;
|
|
5736
|
-
};
|
|
5737
|
-
/**
|
|
5738
|
-
* Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
5739
|
-
*/
|
|
5740
|
-
firstDayOfWeek: {
|
|
5741
|
-
type: PropType<CalendarMonthFirstDayOfWeek>;
|
|
5742
|
-
default: CalendarMonthFirstDayOfWeek;
|
|
5743
|
-
validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
|
|
5744
|
-
};
|
|
5745
|
-
/**
|
|
5746
|
-
* A list of available granularities.
|
|
5747
|
-
* If present, the date picker will display a segmented control to change granularity.
|
|
5748
|
-
*/
|
|
5749
|
-
granularities: {
|
|
5750
|
-
type: PropType<Array<BentoDateRangePickerGranularityConfig>>;
|
|
5751
|
-
default: any;
|
|
5752
|
-
};
|
|
5753
|
-
/**
|
|
5754
|
-
* Indicate if a date should be disabled or not
|
|
5755
|
-
*/
|
|
5756
|
-
isDateDisabled: {
|
|
5757
|
-
type: PropType<CalendarMonthIsDateDisabled>;
|
|
5758
|
-
default: any;
|
|
5759
|
-
};
|
|
5760
|
-
/**
|
|
5761
|
-
* Text that is displayed as a label above the element.
|
|
5762
|
-
*/
|
|
5763
|
-
label: {
|
|
5764
|
-
type: StringConstructor;
|
|
5765
|
-
default: any;
|
|
5766
|
-
};
|
|
5767
|
-
/**
|
|
5768
|
-
* Upon opening date range picker, end date's month will be pre-selected.
|
|
5769
|
-
*/
|
|
5770
|
-
showEndDateOnOpen: {
|
|
5771
|
-
type: BooleanConstructor;
|
|
5772
|
-
default: boolean;
|
|
5773
|
-
};
|
|
5774
|
-
/**
|
|
5775
|
-
* Highlights the dropdown is optional.
|
|
5776
|
-
*/
|
|
5777
|
-
optional: {
|
|
5778
|
-
type: BooleanConstructor;
|
|
5779
|
-
default: boolean;
|
|
5780
|
-
};
|
|
5781
|
-
/**
|
|
5782
|
-
* The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date range picker.
|
|
5783
|
-
*/
|
|
5784
|
-
readonly: {
|
|
5785
|
-
type: BooleanConstructor;
|
|
5786
|
-
default: boolean;
|
|
5787
|
-
};
|
|
5788
|
-
/**
|
|
5789
|
-
* Highlights the dropdown is required.
|
|
5790
|
-
*/
|
|
5791
|
-
required: {
|
|
5792
|
-
type: BooleanConstructor;
|
|
5793
|
-
default: boolean;
|
|
5794
|
-
};
|
|
5795
|
-
/**
|
|
5796
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
5797
|
-
*/
|
|
5798
|
-
tooltipText: {
|
|
5799
|
-
type: StringConstructor;
|
|
5800
|
-
default: any;
|
|
5801
|
-
};
|
|
5802
|
-
/**
|
|
5803
|
-
* Enables the range selector.
|
|
5804
|
-
* If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
|
|
5805
|
-
* `label` - label of custom range item.
|
|
5806
|
-
* `value` - a unique key of the custom range item.
|
|
5807
|
-
* `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
|
|
5808
|
-
*/
|
|
5809
|
-
quickSelectRanges: {
|
|
5810
|
-
type: PropType<DateRangePickerCalendarRangeSelectorItems>;
|
|
5811
|
-
default: any;
|
|
5812
|
-
};
|
|
5813
|
-
/**
|
|
5814
|
-
* Set a maximum number of dates to be selectable by the range.
|
|
5815
|
-
*/
|
|
5816
|
-
maxRange: {
|
|
5817
|
-
type: NumberConstructor;
|
|
5818
|
-
default: any;
|
|
5819
|
-
validator: (value: number) => boolean;
|
|
5820
|
-
};
|
|
5821
|
-
/**
|
|
5822
|
-
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
5823
|
-
*/
|
|
5824
|
-
min: {
|
|
5825
|
-
type: DateConstructor;
|
|
5826
|
-
default: any;
|
|
5827
|
-
};
|
|
5828
|
-
/**
|
|
5829
|
-
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
5830
|
-
*/
|
|
5831
|
-
max: {
|
|
5832
|
-
type: DateConstructor;
|
|
5833
|
-
default: any;
|
|
5834
|
-
};
|
|
5835
|
-
/**
|
|
5836
|
-
* Number of months rendered on pane
|
|
5837
|
-
*/
|
|
5838
|
-
numberOfMonths: {
|
|
5839
|
-
type: NumberConstructor;
|
|
5840
|
-
default: number;
|
|
5841
|
-
validator: (n: number) => boolean;
|
|
5842
|
-
};
|
|
5843
|
-
/**
|
|
5844
|
-
* Selected date
|
|
5845
|
-
*/
|
|
5846
|
-
value: {
|
|
5847
|
-
type: PropType<BentoDateRangePickerValue>;
|
|
5848
|
-
default: any;
|
|
5849
|
-
};
|
|
5850
|
-
/**
|
|
5851
|
-
* The type of calendar to display. Defaults to showing days.
|
|
5852
|
-
*/
|
|
5853
|
-
variant: {
|
|
5854
|
-
type: PropType<`${CalendarVariant}`>;
|
|
5855
|
-
default: any;
|
|
5856
|
-
};
|
|
5740
|
+
|
|
5741
|
+
export declare type BentoDateRangeFilterValue = BentoDateRangePickerValue | null;
|
|
5742
|
+
|
|
5857
5743
|
/**
|
|
5858
|
-
*
|
|
5859
|
-
*
|
|
5860
|
-
*
|
|
5861
|
-
*
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5744
|
+
* Date range picker selector.
|
|
5745
|
+
*
|
|
5746
|
+
* @example
|
|
5747
|
+
* import { BentoDateRangePicker } from '../..';
|
|
5748
|
+
*
|
|
5749
|
+
* export default {
|
|
5750
|
+
* components: { BentoDateRangePicker },
|
|
5751
|
+
* template: `
|
|
5752
|
+
* <bento-date-range-picker
|
|
5753
|
+
* label="Label"
|
|
5754
|
+
* description="Supporting text"
|
|
5755
|
+
* required
|
|
5756
|
+
* optional
|
|
5757
|
+
* disabled
|
|
5758
|
+
* @input="onDateChanged"
|
|
5759
|
+
* v-model="selectedDate"
|
|
5760
|
+
* />
|
|
5761
|
+
* `,
|
|
5762
|
+
* setup() {
|
|
5763
|
+
* const selectedDate = ref(new Date()); // reactive({ startDate: new Date(), endDate: new Date() })
|
|
5764
|
+
* return {
|
|
5765
|
+
* selectedDate,
|
|
5766
|
+
* }
|
|
5767
|
+
* }
|
|
5768
|
+
* }
|
|
5769
|
+
*/
|
|
5770
|
+
export declare const BentoDateRangePicker: DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDateRangePickerProps>, {
|
|
5771
|
+
description: any;
|
|
5772
|
+
disabled: boolean;
|
|
5773
|
+
errorMessage: any;
|
|
5774
|
+
firstDayOfWeek: number;
|
|
5775
|
+
hasActions: boolean;
|
|
5776
|
+
isDateDisabled: any;
|
|
5777
|
+
label: any;
|
|
5778
|
+
max: any;
|
|
5779
|
+
maxRange: any;
|
|
5780
|
+
min: any;
|
|
5781
|
+
numberOfMonths: any;
|
|
5782
|
+
optional: boolean;
|
|
5783
|
+
placeholder: any;
|
|
5784
|
+
quickSelectRanges: any;
|
|
5785
|
+
readonly: boolean;
|
|
5786
|
+
required: boolean;
|
|
5787
|
+
showEndDateOnOpen: boolean;
|
|
5788
|
+
tooltipText: any;
|
|
5789
|
+
value: any;
|
|
5790
|
+
variant: any;
|
|
5791
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDateRangePickerProps>, {
|
|
5792
|
+
description: any;
|
|
5793
|
+
disabled: boolean;
|
|
5794
|
+
errorMessage: any;
|
|
5795
|
+
firstDayOfWeek: number;
|
|
5796
|
+
hasActions: boolean;
|
|
5797
|
+
isDateDisabled: any;
|
|
5798
|
+
label: any;
|
|
5799
|
+
max: any;
|
|
5800
|
+
maxRange: any;
|
|
5801
|
+
min: any;
|
|
5802
|
+
numberOfMonths: any;
|
|
5803
|
+
optional: boolean;
|
|
5804
|
+
placeholder: any;
|
|
5805
|
+
quickSelectRanges: any;
|
|
5806
|
+
readonly: boolean;
|
|
5807
|
+
required: boolean;
|
|
5808
|
+
showEndDateOnOpen: boolean;
|
|
5809
|
+
tooltipText: any;
|
|
5810
|
+
value: any;
|
|
5811
|
+
variant: any;
|
|
5812
|
+
}>>>, {
|
|
5813
|
+
value: BentoDateRangePickerValue | null;
|
|
5869
5814
|
description: string;
|
|
5870
5815
|
label: string;
|
|
5871
|
-
variant:
|
|
5816
|
+
variant: `${CalendarVariant}`;
|
|
5872
5817
|
required: boolean;
|
|
5873
5818
|
disabled: boolean;
|
|
5874
5819
|
optional: boolean;
|
|
5875
5820
|
readonly: boolean;
|
|
5821
|
+
errorMessage: string;
|
|
5822
|
+
tooltipText: string;
|
|
5876
5823
|
isDateDisabled: CalendarMonthIsDateDisabled;
|
|
5877
|
-
firstDayOfWeek: CalendarMonthFirstDayOfWeek;
|
|
5824
|
+
firstDayOfWeek: CalendarMonthFirstDayOfWeek | number;
|
|
5878
5825
|
min: Date;
|
|
5879
5826
|
max: Date;
|
|
5880
5827
|
maxRange: number;
|
|
5881
5828
|
numberOfMonths: number;
|
|
5882
5829
|
showEndDateOnOpen: boolean;
|
|
5883
|
-
|
|
5884
|
-
errorMessage: string;
|
|
5885
|
-
allowTimeInput: boolean;
|
|
5886
|
-
granularities: BentoDateRangePickerGranularityConfig<CalendarGranularityType>[];
|
|
5830
|
+
placeholder: string;
|
|
5887
5831
|
quickSelectRanges: DateRangePickerCalendarRangeSelectorItems;
|
|
5888
5832
|
hasActions: boolean;
|
|
5889
5833
|
}>;
|
|
@@ -5899,6 +5843,69 @@ export declare interface BentoDateRangePickerGranularityConfig<T extends Calenda
|
|
|
5899
5843
|
disabled?: boolean;
|
|
5900
5844
|
}
|
|
5901
5845
|
|
|
5846
|
+
export declare interface BentoDateRangePickerProps extends FormField {
|
|
5847
|
+
/**
|
|
5848
|
+
* Allows user to enter time values in the form
|
|
5849
|
+
* @default false
|
|
5850
|
+
*/
|
|
5851
|
+
allowTimeInput?: boolean;
|
|
5852
|
+
/**
|
|
5853
|
+
* Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
5854
|
+
* @default 1
|
|
5855
|
+
*/
|
|
5856
|
+
firstDayOfWeek?: CalendarMonthFirstDayOfWeek | number;
|
|
5857
|
+
/**
|
|
5858
|
+
* A list of available granularities.
|
|
5859
|
+
* If present, the date picker will display a segmented control to change granularity.
|
|
5860
|
+
*/
|
|
5861
|
+
granularities?: Array<BentoDateRangePickerGranularityConfig>;
|
|
5862
|
+
/**
|
|
5863
|
+
* Indicate if a date should be disabled or not
|
|
5864
|
+
*/
|
|
5865
|
+
isDateDisabled?: CalendarMonthIsDateDisabled;
|
|
5866
|
+
/**
|
|
5867
|
+
* Upon opening date range picker, end date's month will be pre-selected.
|
|
5868
|
+
* @default false
|
|
5869
|
+
*/
|
|
5870
|
+
showEndDateOnOpen?: boolean;
|
|
5871
|
+
/**
|
|
5872
|
+
* Enables the range selector.
|
|
5873
|
+
* If provided, must be an array that sets the custom range dropdown items.
|
|
5874
|
+
*/
|
|
5875
|
+
quickSelectRanges?: DateRangePickerCalendarRangeSelectorItems;
|
|
5876
|
+
/**
|
|
5877
|
+
* Set a maximum number of dates to be selectable by the range.
|
|
5878
|
+
*/
|
|
5879
|
+
maxRange?: number;
|
|
5880
|
+
/**
|
|
5881
|
+
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
5882
|
+
*/
|
|
5883
|
+
min?: Date;
|
|
5884
|
+
/**
|
|
5885
|
+
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
5886
|
+
*/
|
|
5887
|
+
max?: Date;
|
|
5888
|
+
/**
|
|
5889
|
+
* Number of months rendered on pane
|
|
5890
|
+
*/
|
|
5891
|
+
numberOfMonths?: number;
|
|
5892
|
+
/**
|
|
5893
|
+
* Selected date
|
|
5894
|
+
*/
|
|
5895
|
+
value?: BentoDateRangePickerValue | null;
|
|
5896
|
+
/**
|
|
5897
|
+
* The type of calendar to display. Defaults to showing days.
|
|
5898
|
+
*/
|
|
5899
|
+
variant?: `${CalendarVariant}`;
|
|
5900
|
+
/**
|
|
5901
|
+
* Enables the date picker selection to persist until it is explicitly applied.
|
|
5902
|
+
* Displays a set of buttons: Apply and Cancel.
|
|
5903
|
+
* @deprecated This will be the default behaviour in v2.0.0.
|
|
5904
|
+
* @default false
|
|
5905
|
+
*/
|
|
5906
|
+
hasActions?: boolean;
|
|
5907
|
+
}
|
|
5908
|
+
|
|
5902
5909
|
export declare interface BentoDateRangePickerValue {
|
|
5903
5910
|
startDate: Date;
|
|
5904
5911
|
endDate: Date;
|
|
@@ -5917,9 +5924,9 @@ export declare interface BentoDateRangePickerValue {
|
|
|
5917
5924
|
* template: `<bento-divider />`
|
|
5918
5925
|
* }
|
|
5919
5926
|
*/
|
|
5920
|
-
export declare const BentoDivider: DefineComponent<
|
|
5927
|
+
export declare const BentoDivider: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoDividerProps>, {
|
|
5921
5928
|
variant: BentoDividerVariant;
|
|
5922
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5929
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoDividerProps>, {
|
|
5923
5930
|
variant: BentoDividerVariant;
|
|
5924
5931
|
}>>>, {
|
|
5925
5932
|
variant: `${BentoDividerVariant}`;
|
|
@@ -5973,7 +5980,7 @@ declare enum BentoDividerVariant {
|
|
|
5973
5980
|
* }
|
|
5974
5981
|
* }
|
|
5975
5982
|
*/
|
|
5976
|
-
export declare const BentoDropdown: __VLS_WithTemplateSlots_11<DefineComponent<
|
|
5983
|
+
export declare const BentoDropdown: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownProps>, {
|
|
5977
5984
|
ariaLabel: any;
|
|
5978
5985
|
condensed: boolean;
|
|
5979
5986
|
emptyState: any;
|
|
@@ -6008,7 +6015,9 @@ focus: () => void;
|
|
|
6008
6015
|
input: (selectedValue: any) => void;
|
|
6009
6016
|
} & {
|
|
6010
6017
|
"show-more": () => void;
|
|
6011
|
-
}
|
|
6018
|
+
} & {
|
|
6019
|
+
open: () => void;
|
|
6020
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownProps>, {
|
|
6012
6021
|
ariaLabel: any;
|
|
6013
6022
|
condensed: boolean;
|
|
6014
6023
|
emptyState: any;
|
|
@@ -6052,9 +6061,9 @@ readonly: boolean;
|
|
|
6052
6061
|
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
6053
6062
|
multiple: boolean;
|
|
6054
6063
|
ariaLabel: string;
|
|
6055
|
-
tooltipText: string;
|
|
6056
|
-
errorMessage: string;
|
|
6057
6064
|
items: BentoListboxOptions;
|
|
6065
|
+
errorMessage: string;
|
|
6066
|
+
tooltipText: string;
|
|
6058
6067
|
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
6059
6068
|
staticCategories: boolean;
|
|
6060
6069
|
hasMoreItems: boolean;
|
|
@@ -6064,8 +6073,8 @@ componentLoading: boolean;
|
|
|
6064
6073
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6065
6074
|
dynamicFiltering: boolean;
|
|
6066
6075
|
showSlotContentInMultiple: boolean;
|
|
6067
|
-
placeholder: string;
|
|
6068
6076
|
enableValueLabelPair: boolean;
|
|
6077
|
+
placeholder: string;
|
|
6069
6078
|
}>, Record<string, (_: any) => any> & Record<string, (_: any) => any> & {
|
|
6070
6079
|
description: (_: {}) => any;
|
|
6071
6080
|
}>;
|
|
@@ -6098,11 +6107,15 @@ enableValueLabelPair: boolean;
|
|
|
6098
6107
|
* }
|
|
6099
6108
|
* }
|
|
6100
6109
|
*/
|
|
6101
|
-
export declare const BentoDropdownAvatar: DefineComponent<
|
|
6110
|
+
export declare const BentoDropdownAvatar: DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownAvatarProps>, {
|
|
6102
6111
|
items: () => any[];
|
|
6103
6112
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6104
6113
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6105
|
-
}
|
|
6114
|
+
} & {
|
|
6115
|
+
"show-more": () => void;
|
|
6116
|
+
} & {
|
|
6117
|
+
open: () => void;
|
|
6118
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownAvatarProps>, {
|
|
6106
6119
|
items: () => any[];
|
|
6107
6120
|
}>>>, {
|
|
6108
6121
|
items: BentoAvatarListboxOptions;
|
|
@@ -6237,12 +6250,12 @@ type: PropType<string>;
|
|
|
6237
6250
|
} & {
|
|
6238
6251
|
default: any;
|
|
6239
6252
|
};
|
|
6240
|
-
|
|
6253
|
+
errorMessage: {
|
|
6241
6254
|
type: PropType<string>;
|
|
6242
6255
|
} & {
|
|
6243
6256
|
default: any;
|
|
6244
6257
|
};
|
|
6245
|
-
|
|
6258
|
+
tooltipText: {
|
|
6246
6259
|
type: PropType<string>;
|
|
6247
6260
|
} & {
|
|
6248
6261
|
default: any;
|
|
@@ -6292,18 +6305,22 @@ type: PropType<boolean>;
|
|
|
6292
6305
|
} & {
|
|
6293
6306
|
default: boolean;
|
|
6294
6307
|
};
|
|
6295
|
-
placeholder: {
|
|
6296
|
-
type: PropType<string>;
|
|
6297
|
-
} & {
|
|
6298
|
-
default: any;
|
|
6299
|
-
};
|
|
6300
6308
|
enableValueLabelPair: {
|
|
6301
6309
|
type: PropType<boolean>;
|
|
6302
6310
|
} & {
|
|
6303
6311
|
default: boolean;
|
|
6304
6312
|
};
|
|
6313
|
+
placeholder: {
|
|
6314
|
+
type: PropType<string>;
|
|
6315
|
+
} & {
|
|
6316
|
+
default: any;
|
|
6317
|
+
};
|
|
6305
6318
|
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6306
6319
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6320
|
+
} & {
|
|
6321
|
+
"show-more": () => void;
|
|
6322
|
+
} & {
|
|
6323
|
+
open: () => void;
|
|
6307
6324
|
}, string, Readonly<ExtractPropTypes< {
|
|
6308
6325
|
/**
|
|
6309
6326
|
* The option elements to populate the country dropdown with.
|
|
@@ -6394,12 +6411,12 @@ type: PropType<string>;
|
|
|
6394
6411
|
} & {
|
|
6395
6412
|
default: any;
|
|
6396
6413
|
};
|
|
6397
|
-
|
|
6414
|
+
errorMessage: {
|
|
6398
6415
|
type: PropType<string>;
|
|
6399
6416
|
} & {
|
|
6400
6417
|
default: any;
|
|
6401
6418
|
};
|
|
6402
|
-
|
|
6419
|
+
tooltipText: {
|
|
6403
6420
|
type: PropType<string>;
|
|
6404
6421
|
} & {
|
|
6405
6422
|
default: any;
|
|
@@ -6449,16 +6466,16 @@ type: PropType<boolean>;
|
|
|
6449
6466
|
} & {
|
|
6450
6467
|
default: boolean;
|
|
6451
6468
|
};
|
|
6452
|
-
placeholder: {
|
|
6453
|
-
type: PropType<string>;
|
|
6454
|
-
} & {
|
|
6455
|
-
default: any;
|
|
6456
|
-
};
|
|
6457
6469
|
enableValueLabelPair: {
|
|
6458
6470
|
type: PropType<boolean>;
|
|
6459
6471
|
} & {
|
|
6460
6472
|
default: boolean;
|
|
6461
6473
|
};
|
|
6474
|
+
placeholder: {
|
|
6475
|
+
type: PropType<string>;
|
|
6476
|
+
} & {
|
|
6477
|
+
default: any;
|
|
6478
|
+
};
|
|
6462
6479
|
}>>, {
|
|
6463
6480
|
search: BentoListboxSearchOptions;
|
|
6464
6481
|
value: BentoListboxSelectedValue;
|
|
@@ -6475,9 +6492,9 @@ readonly: boolean;
|
|
|
6475
6492
|
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
6476
6493
|
multiple: boolean;
|
|
6477
6494
|
ariaLabel: string;
|
|
6478
|
-
tooltipText: string;
|
|
6479
|
-
errorMessage: string;
|
|
6480
6495
|
items: BentoCountryListboxOptions;
|
|
6496
|
+
errorMessage: string;
|
|
6497
|
+
tooltipText: string;
|
|
6481
6498
|
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
6482
6499
|
staticCategories: boolean;
|
|
6483
6500
|
hasMoreItems: boolean;
|
|
@@ -6487,8 +6504,8 @@ componentLoading: boolean;
|
|
|
6487
6504
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6488
6505
|
dynamicFiltering: boolean;
|
|
6489
6506
|
showSlotContentInMultiple: boolean;
|
|
6490
|
-
placeholder: string;
|
|
6491
6507
|
enableValueLabelPair: boolean;
|
|
6508
|
+
placeholder: string;
|
|
6492
6509
|
}>;
|
|
6493
6510
|
|
|
6494
6511
|
/**
|
|
@@ -6519,11 +6536,15 @@ enableValueLabelPair: boolean;
|
|
|
6519
6536
|
* }
|
|
6520
6537
|
* }
|
|
6521
6538
|
*/
|
|
6522
|
-
export declare const BentoDropdownCurrency: DefineComponent<
|
|
6539
|
+
export declare const BentoDropdownCurrency: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDropdownCurrencyProps>, {
|
|
6523
6540
|
items: () => any[];
|
|
6524
6541
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6525
6542
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6526
|
-
}
|
|
6543
|
+
} & {
|
|
6544
|
+
"show-more": () => void;
|
|
6545
|
+
} & {
|
|
6546
|
+
open: () => void;
|
|
6547
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDropdownCurrencyProps>, {
|
|
6527
6548
|
items: () => any[];
|
|
6528
6549
|
}>>>, {
|
|
6529
6550
|
items: BentoCurrencyListboxOptions;
|
|
@@ -6567,11 +6588,15 @@ export declare interface BentoDropdownCurrencyProps extends BentoDropdownProps {
|
|
|
6567
6588
|
* }
|
|
6568
6589
|
* }
|
|
6569
6590
|
*/
|
|
6570
|
-
export declare const BentoDropdownPaymentMethod: DefineComponent<
|
|
6591
|
+
export declare const BentoDropdownPaymentMethod: DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownPaymentMethodProps>, {
|
|
6571
6592
|
items: () => any[];
|
|
6572
6593
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6573
6594
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6574
|
-
}
|
|
6595
|
+
} & {
|
|
6596
|
+
"show-more": () => void;
|
|
6597
|
+
} & {
|
|
6598
|
+
open: () => void;
|
|
6599
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownPaymentMethodProps>, {
|
|
6575
6600
|
items: () => any[];
|
|
6576
6601
|
}>>>, {
|
|
6577
6602
|
items: BentoPaymentMethodListboxOptions;
|
|
@@ -6587,7 +6612,7 @@ export declare interface BentoDropdownPaymentMethodProps extends BentoDropdownPr
|
|
|
6587
6612
|
items?: BentoPaymentMethodListboxOptions;
|
|
6588
6613
|
}
|
|
6589
6614
|
|
|
6590
|
-
export declare interface BentoDropdownProps {
|
|
6615
|
+
export declare interface BentoDropdownProps extends FormField {
|
|
6591
6616
|
/**
|
|
6592
6617
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
6593
6618
|
* Defines a string value that labels an interactive element.
|
|
@@ -6601,10 +6626,6 @@ export declare interface BentoDropdownProps {
|
|
|
6601
6626
|
* Empty state props used with the inner empty state component which is displayed when no search results are found.
|
|
6602
6627
|
*/
|
|
6603
6628
|
emptyState?: BentoListboxEmptyStateProps;
|
|
6604
|
-
/**
|
|
6605
|
-
* Disables dropdown functionality.
|
|
6606
|
-
*/
|
|
6607
|
-
disabled?: boolean;
|
|
6608
6629
|
/**
|
|
6609
6630
|
* Sets the possibility to type into the textbox.
|
|
6610
6631
|
*/
|
|
@@ -6614,14 +6635,6 @@ export declare interface BentoDropdownProps {
|
|
|
6614
6635
|
* @deprecated Use "errorMessage" prop instead
|
|
6615
6636
|
*/
|
|
6616
6637
|
error?: boolean;
|
|
6617
|
-
/**
|
|
6618
|
-
* Highlights the dropdown in an erroneous state with an error message.
|
|
6619
|
-
*/
|
|
6620
|
-
errorMessage?: string;
|
|
6621
|
-
/**
|
|
6622
|
-
* Descriptive supporting text visbile underneath the dropdown.
|
|
6623
|
-
*/
|
|
6624
|
-
description?: string;
|
|
6625
6638
|
/**
|
|
6626
6639
|
* Indicates whether there are more items to load
|
|
6627
6640
|
*/
|
|
@@ -6642,10 +6655,6 @@ export declare interface BentoDropdownProps {
|
|
|
6642
6655
|
* @property value.value - Value of the option
|
|
6643
6656
|
*/
|
|
6644
6657
|
items?: BentoListboxOptions;
|
|
6645
|
-
/**
|
|
6646
|
-
* Text that is displayed as a label above the element.
|
|
6647
|
-
*/
|
|
6648
|
-
label?: string;
|
|
6649
6658
|
/**
|
|
6650
6659
|
* Indicates if new options are lazy loading.
|
|
6651
6660
|
*/
|
|
@@ -6664,22 +6673,6 @@ export declare interface BentoDropdownProps {
|
|
|
6664
6673
|
* If enabled, the user will be able to select multiple items.
|
|
6665
6674
|
*/
|
|
6666
6675
|
multiple?: boolean;
|
|
6667
|
-
/**
|
|
6668
|
-
* Highlights the dropdown is optional.
|
|
6669
|
-
*/
|
|
6670
|
-
optional?: boolean;
|
|
6671
|
-
/**
|
|
6672
|
-
* Text that appears in the form control when it has no value set
|
|
6673
|
-
*/
|
|
6674
|
-
placeholder?: string;
|
|
6675
|
-
/**
|
|
6676
|
-
* Sets the dropdown to readonly state
|
|
6677
|
-
*/
|
|
6678
|
-
readonly?: boolean;
|
|
6679
|
-
/**
|
|
6680
|
-
* Highlights the dropdown is required.
|
|
6681
|
-
*/
|
|
6682
|
-
required?: boolean;
|
|
6683
6676
|
/**
|
|
6684
6677
|
* Dropdown search options and events.
|
|
6685
6678
|
* @see BentoDropdownSearchOptions
|
|
@@ -6697,10 +6690,6 @@ export declare interface BentoDropdownProps {
|
|
|
6697
6690
|
* If enabled, dropdown will display non-selectable, static categories
|
|
6698
6691
|
*/
|
|
6699
6692
|
staticCategories?: boolean;
|
|
6700
|
-
/**
|
|
6701
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
6702
|
-
*/
|
|
6703
|
-
tooltipText?: string;
|
|
6704
6693
|
/**
|
|
6705
6694
|
* The `input` value.
|
|
6706
6695
|
* Providing an empty string will select no options.
|
|
@@ -6762,11 +6751,15 @@ export declare enum BentoDropdownSize {
|
|
|
6762
6751
|
* }
|
|
6763
6752
|
* }
|
|
6764
6753
|
*/
|
|
6765
|
-
export declare const BentoDropdownTag: DefineComponent<
|
|
6754
|
+
export declare const BentoDropdownTag: DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoDropdownTagProps>, {
|
|
6766
6755
|
items: () => any[];
|
|
6767
6756
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6768
6757
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6769
|
-
}
|
|
6758
|
+
} & {
|
|
6759
|
+
"show-more": () => void;
|
|
6760
|
+
} & {
|
|
6761
|
+
open: () => void;
|
|
6762
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoDropdownTagProps>, {
|
|
6770
6763
|
items: () => any[];
|
|
6771
6764
|
}>>>, {
|
|
6772
6765
|
items: BentoTagListboxOptions;
|
|
@@ -6807,14 +6800,14 @@ export declare interface BentoDropdownTagProps extends BentoDropdownProps {
|
|
|
6807
6800
|
* `
|
|
6808
6801
|
* }
|
|
6809
6802
|
*/
|
|
6810
|
-
export declare const BentoEmptyState:
|
|
6803
|
+
export declare const BentoEmptyState: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoEmptyStateProps>, {
|
|
6811
6804
|
action: any;
|
|
6812
6805
|
description: any;
|
|
6813
6806
|
headingEl: any;
|
|
6814
6807
|
image: any;
|
|
6815
6808
|
title: string;
|
|
6816
6809
|
variant: string;
|
|
6817
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
6810
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoEmptyStateProps>, {
|
|
6818
6811
|
action: any;
|
|
6819
6812
|
description: any;
|
|
6820
6813
|
headingEl: any;
|
|
@@ -6927,7 +6920,7 @@ export declare enum BentoEmptyStateVariant {
|
|
|
6927
6920
|
* }
|
|
6928
6921
|
* }
|
|
6929
6922
|
*/
|
|
6930
|
-
export declare const BentoFileUploader: DefineComponent<
|
|
6923
|
+
export declare const BentoFileUploader: DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoFileUploaderProps>, {
|
|
6931
6924
|
accept: any;
|
|
6932
6925
|
description: any;
|
|
6933
6926
|
errorMessage: any;
|
|
@@ -6944,7 +6937,7 @@ input: (value?: FileList) => void;
|
|
|
6944
6937
|
"update:modelValue": (value?: FileList) => void;
|
|
6945
6938
|
} & {
|
|
6946
6939
|
"error:upload": (value: boolean) => void;
|
|
6947
|
-
}, string, Readonly<ExtractPropTypes<
|
|
6940
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoFileUploaderProps>, {
|
|
6948
6941
|
accept: any;
|
|
6949
6942
|
description: any;
|
|
6950
6943
|
errorMessage: any;
|
|
@@ -6955,9 +6948,9 @@ modelValue: any;
|
|
|
6955
6948
|
tooltipText: any;
|
|
6956
6949
|
}>>>, {
|
|
6957
6950
|
description: string;
|
|
6958
|
-
tooltipText: string;
|
|
6959
|
-
errorMessage: string;
|
|
6960
6951
|
modelValue: BentoFileUploaderValue;
|
|
6952
|
+
errorMessage: string;
|
|
6953
|
+
tooltipText: string;
|
|
6961
6954
|
accept: HTMLInputElement["accept"];
|
|
6962
6955
|
maxCount: number;
|
|
6963
6956
|
maxDimensions: any;
|
|
@@ -7049,7 +7042,7 @@ export declare type BentoFileUploaderValue = string | Array<string> | File | Arr
|
|
|
7049
7042
|
* `
|
|
7050
7043
|
* }
|
|
7051
7044
|
*/
|
|
7052
|
-
export declare const BentoFilterBar: DefineComponent<
|
|
7045
|
+
export declare const BentoFilterBar: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoFilterBarProps<any, undefined>>, {
|
|
7053
7046
|
config: () => any[];
|
|
7054
7047
|
filterValues: () => any[];
|
|
7055
7048
|
containerSizeLayout: () => {
|
|
@@ -7066,7 +7059,7 @@ isClearAllVisible: ComputedRef<boolean>;
|
|
|
7066
7059
|
clearAllFilters: () => void;
|
|
7067
7060
|
isResetAllVisible: ComputedRef<boolean>;
|
|
7068
7061
|
resetAllFilters: () => void;
|
|
7069
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<
|
|
7062
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoFilterBarProps<any, undefined>>, {
|
|
7070
7063
|
config: () => any[];
|
|
7071
7064
|
filterValues: () => any[];
|
|
7072
7065
|
containerSizeLayout: () => {
|
|
@@ -7081,7 +7074,7 @@ filterValuesObject: any;
|
|
|
7081
7074
|
}>>>, {
|
|
7082
7075
|
search: BentoFilterBarSearchBarProps;
|
|
7083
7076
|
value: BentoFilterBarModel;
|
|
7084
|
-
config: BentoFilterBarModel
|
|
7077
|
+
config: BentoFilterBarModel<undefined>;
|
|
7085
7078
|
searchTerm: BentoFilterBarSearchTerm;
|
|
7086
7079
|
filterValues: BentoFilterValues;
|
|
7087
7080
|
containerSizeLayout: {
|
|
@@ -7089,7 +7082,7 @@ medium: string;
|
|
|
7089
7082
|
small: string;
|
|
7090
7083
|
};
|
|
7091
7084
|
showAppliedHiddenFilters: boolean;
|
|
7092
|
-
filterValuesObject:
|
|
7085
|
+
filterValuesObject: any;
|
|
7093
7086
|
}>;
|
|
7094
7087
|
|
|
7095
7088
|
export declare interface BentoFilterBarContainerSizeLayout {
|
|
@@ -7109,9 +7102,9 @@ export declare enum BentoFilterBarEvent {
|
|
|
7109
7102
|
UPDATE_FILTER_VALUES_ARRAY = "update:filter-values"
|
|
7110
7103
|
}
|
|
7111
7104
|
|
|
7112
|
-
export declare type BentoFilterBarModel = Array<BentoFilterModel
|
|
7105
|
+
export declare type BentoFilterBarModel<CustomOptions = undefined> = Array<BentoFilterModel<CustomOptions>>;
|
|
7113
7106
|
|
|
7114
|
-
export declare interface BentoFilterBarProps {
|
|
7107
|
+
export declare interface BentoFilterBarProps<CustomValue = BentoFilterBarValue | any, CustomOptions = undefined> {
|
|
7115
7108
|
/**
|
|
7116
7109
|
* Array of filters based on @see {@link BentoFilterBarModel}.
|
|
7117
7110
|
* Each one of the elements in the array correspond to a filter that will
|
|
@@ -7128,7 +7121,7 @@ export declare interface BentoFilterBarProps {
|
|
|
7128
7121
|
* type: FilterType.TEXT,
|
|
7129
7122
|
* }]
|
|
7130
7123
|
*/
|
|
7131
|
-
config?: BentoFilterBarModel
|
|
7124
|
+
config?: BentoFilterBarModel<CustomOptions>;
|
|
7132
7125
|
/**
|
|
7133
7126
|
* An array of the values for each filter in the filter bar.
|
|
7134
7127
|
* @see {@link BentoFilterValues}
|
|
@@ -7204,7 +7197,7 @@ export declare interface BentoFilterBarProps {
|
|
|
7204
7197
|
* 'name': 'some text'
|
|
7205
7198
|
* },
|
|
7206
7199
|
*/
|
|
7207
|
-
filterValuesObject?: BentoFilterValueObject
|
|
7200
|
+
filterValuesObject?: BentoFilterValueObject<string, CustomValue>;
|
|
7208
7201
|
}
|
|
7209
7202
|
|
|
7210
7203
|
export declare type BentoFilterBarScreenOptionsLayout = 'one-line' | 'multi-line';
|
|
@@ -7235,14 +7228,20 @@ export declare enum BentoFilterItemType {
|
|
|
7235
7228
|
DATE_RANGE = "BentoDateRangeFilter"
|
|
7236
7229
|
}
|
|
7237
7230
|
|
|
7238
|
-
export declare interface BentoFilterModel extends BentoFilterValue {
|
|
7231
|
+
export declare interface BentoFilterModel<CustomOptions = undefined> extends BentoFilterValue {
|
|
7239
7232
|
label: string;
|
|
7240
7233
|
description?: string;
|
|
7241
|
-
|
|
7242
|
-
options?: BentoFilterOptions;
|
|
7234
|
+
options?: BentoFilterOptions | CustomOptions;
|
|
7243
7235
|
disabled?: boolean;
|
|
7244
7236
|
defaultValue?: BentoFilterBarValue;
|
|
7245
7237
|
visible?: boolean;
|
|
7238
|
+
/**
|
|
7239
|
+
* Defines the filter to be used.
|
|
7240
|
+
*
|
|
7241
|
+
* Can be one filter defined in the {@link BentoFilterItemType} enum or a
|
|
7242
|
+
* custom filter component defined as a {@link VueNodeElement}
|
|
7243
|
+
*/
|
|
7244
|
+
type: BentoFilterItemType | VueNodeElement;
|
|
7246
7245
|
/**
|
|
7247
7246
|
* @deprecated This property will be removed in version 2.0, please use `config` & `filter-values` properties.
|
|
7248
7247
|
*/
|
|
@@ -7256,7 +7255,7 @@ export declare interface BentoFilterValue {
|
|
|
7256
7255
|
value?: BentoFilterBarValue;
|
|
7257
7256
|
}
|
|
7258
7257
|
|
|
7259
|
-
export declare type BentoFilterValueObject<T extends PropertyKey = string> = Record<T,
|
|
7258
|
+
export declare type BentoFilterValueObject<T extends PropertyKey = string, CustomValue = BentoFilterBarValue> = Record<T, CustomValue>;
|
|
7260
7259
|
|
|
7261
7260
|
export declare type BentoFilterValues = Array<BentoFilterValue>;
|
|
7262
7261
|
|
|
@@ -7295,7 +7294,7 @@ export declare type BentoFilterValues = Array<BentoFilterValue>;
|
|
|
7295
7294
|
* `
|
|
7296
7295
|
* }
|
|
7297
7296
|
*/
|
|
7298
|
-
export declare const BentoFormLayout:
|
|
7297
|
+
export declare const BentoFormLayout: __VLS_WithTemplateSlots_15<DefineComponent< {
|
|
7299
7298
|
/**
|
|
7300
7299
|
* Renders the form layout as an HTML `form`
|
|
7301
7300
|
*/
|
|
@@ -7361,7 +7360,7 @@ loading: boolean;
|
|
|
7361
7360
|
* </bento-form-layout-field-tip>
|
|
7362
7361
|
* `
|
|
7363
7362
|
*/
|
|
7364
|
-
export declare const BentoFormLayoutFieldTip:
|
|
7363
|
+
export declare const BentoFormLayoutFieldTip: __VLS_WithTemplateSlots_16<DefineComponent< {
|
|
7365
7364
|
/**
|
|
7366
7365
|
* Type of a alert; set a distinctive icon and color. Defaults to highlight.
|
|
7367
7366
|
* @values highlight, success, critical, warning
|
|
@@ -7425,7 +7424,7 @@ declare type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;
|
|
|
7425
7424
|
* `
|
|
7426
7425
|
* }
|
|
7427
7426
|
*/
|
|
7428
|
-
export declare const BentoFormLayoutGroup:
|
|
7427
|
+
export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_18<DefineComponent< {
|
|
7429
7428
|
/**
|
|
7430
7429
|
* The layout of the pair group of components.
|
|
7431
7430
|
* This will render the components within the width of the proportions.
|
|
@@ -7511,7 +7510,7 @@ layout: BentoLayoutGroupProportions;
|
|
|
7511
7510
|
* `
|
|
7512
7511
|
* }
|
|
7513
7512
|
*/
|
|
7514
|
-
export declare const BentoFormLayoutTitle:
|
|
7513
|
+
export declare const BentoFormLayoutTitle: __VLS_WithTemplateSlots_17<DefineComponent< {
|
|
7515
7514
|
/**
|
|
7516
7515
|
* Defines if the Form Layout title is
|
|
7517
7516
|
* a "section" or a "subsection".
|
|
@@ -7747,7 +7746,7 @@ declare enum BentoHeaderVariant {
|
|
|
7747
7746
|
* `
|
|
7748
7747
|
* };
|
|
7749
7748
|
*/
|
|
7750
|
-
export declare const BentoHeaderWithViews:
|
|
7749
|
+
export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoHeaderWithViewsProps>, {
|
|
7751
7750
|
actions: () => any[];
|
|
7752
7751
|
additionalViewSetting: any;
|
|
7753
7752
|
title: any;
|
|
@@ -7773,7 +7772,7 @@ views: () => any[];
|
|
|
7773
7772
|
"update:view": (value: BentoHeaderWithViewsItemUpdate) => void;
|
|
7774
7773
|
} & {
|
|
7775
7774
|
"update:skip-unsaved-changes": (value: boolean) => void;
|
|
7776
|
-
}, string, Readonly<ExtractPropTypes<
|
|
7775
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoHeaderWithViewsProps>, {
|
|
7777
7776
|
actions: () => any[];
|
|
7778
7777
|
additionalViewSetting: any;
|
|
7779
7778
|
title: any;
|
|
@@ -7791,7 +7790,7 @@ lastUpdated: Date | number;
|
|
|
7791
7790
|
reloadButton: HeaderMetaProps["reloadButton"];
|
|
7792
7791
|
infoIconTooltipText: string;
|
|
7793
7792
|
additionalViewSetting: BentoHeaderWithViewsItemAdditionalConfig;
|
|
7794
|
-
views: BentoHeaderWithViewsItem
|
|
7793
|
+
views: Array<BentoHeaderWithViewsItem>;
|
|
7795
7794
|
disableCustomization: boolean;
|
|
7796
7795
|
}>, {
|
|
7797
7796
|
infoIconTooltipContent: (_: {}) => any;
|
|
@@ -7886,8 +7885,8 @@ declare enum BentoHeaderWithViewsItemIconEnum {
|
|
|
7886
7885
|
}
|
|
7887
7886
|
|
|
7888
7887
|
export declare interface BentoHeaderWithViewsItemUpdate {
|
|
7889
|
-
newViews: BentoHeaderWithViewsItem
|
|
7890
|
-
oldViews: BentoHeaderWithViewsItem
|
|
7888
|
+
newViews: Array<BentoHeaderWithViewsItem>;
|
|
7889
|
+
oldViews: Array<BentoHeaderWithViewsItem>;
|
|
7891
7890
|
targetViewLabel: BentoHeaderWithViewsItem['label'];
|
|
7892
7891
|
}
|
|
7893
7892
|
|
|
@@ -7914,7 +7913,7 @@ export declare interface BentoHeaderWithViewsProps {
|
|
|
7914
7913
|
* - `additionalViewSetting` (BentoHeaderWithViewsItemAdditionalConfig, optional): Optional configuration for an additional view setting.
|
|
7915
7914
|
* - `isFixed` (boolean, optional): Indicates if this view can be edited or deleted. * @see {@link BentoHeaderWithViewsItem}
|
|
7916
7915
|
*/
|
|
7917
|
-
views?: BentoHeaderWithViewsItem
|
|
7916
|
+
views?: Array<BentoHeaderWithViewsItem>;
|
|
7918
7917
|
/**
|
|
7919
7918
|
* Optional configuration for an additional view setting, such as a filter or option.
|
|
7920
7919
|
* Defined by the `BentoHeaderWithViewsItemAdditionalConfig` interface.
|
|
@@ -7974,10 +7973,10 @@ export declare interface BentoHeaderWithViewsProps {
|
|
|
7974
7973
|
* `
|
|
7975
7974
|
* }
|
|
7976
7975
|
*/
|
|
7977
|
-
export declare const BentoImage: DefineComponent<
|
|
7976
|
+
export declare const BentoImage: DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoImageProps>, {
|
|
7978
7977
|
aspectRatio: any;
|
|
7979
7978
|
objectFit: any;
|
|
7980
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
7979
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoImageProps>, {
|
|
7981
7980
|
aspectRatio: any;
|
|
7982
7981
|
objectFit: any;
|
|
7983
7982
|
}>>>, {
|
|
@@ -8027,11 +8026,11 @@ export declare interface BentoImageProps {
|
|
|
8027
8026
|
* import { BentoInfoIcon } from '../..';
|
|
8028
8027
|
* </scrip>
|
|
8029
8028
|
*/
|
|
8030
|
-
export declare const BentoInfoIcon: DefineComponent<
|
|
8029
|
+
export declare const BentoInfoIcon: DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInfoIconProps>, {
|
|
8031
8030
|
tooltipPosition: PopperContainerPositionExtended;
|
|
8032
8031
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8033
8032
|
mouseenter: (event: MouseEvent) => void;
|
|
8034
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8033
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInfoIconProps>, {
|
|
8035
8034
|
tooltipPosition: PopperContainerPositionExtended;
|
|
8036
8035
|
}>>>, {
|
|
8037
8036
|
tooltipPosition: PopperContainerPosition | `${PopperContainerPosition}`;
|
|
@@ -8089,7 +8088,7 @@ export declare type BentoInputDropdownProps = {
|
|
|
8089
8088
|
* >
|
|
8090
8089
|
* }
|
|
8091
8090
|
*/
|
|
8092
|
-
export declare const BentoInputField:
|
|
8091
|
+
export declare const BentoInputField: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoInputFieldProps>, {
|
|
8093
8092
|
ariaHidden: boolean;
|
|
8094
8093
|
ariaLabel: any;
|
|
8095
8094
|
condensed: boolean;
|
|
@@ -8130,7 +8129,7 @@ keydown: (event: KeyboardEvent) => void;
|
|
|
8130
8129
|
keyup: (event: KeyboardEvent) => void;
|
|
8131
8130
|
} & {
|
|
8132
8131
|
input: (inputValue: string) => void;
|
|
8133
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8132
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoInputFieldProps>, {
|
|
8134
8133
|
ariaHidden: boolean;
|
|
8135
8134
|
ariaLabel: any;
|
|
8136
8135
|
condensed: boolean;
|
|
@@ -8161,8 +8160,8 @@ error: boolean;
|
|
|
8161
8160
|
optional: boolean;
|
|
8162
8161
|
readonly: boolean;
|
|
8163
8162
|
ariaLabel: string;
|
|
8164
|
-
tooltipText: string;
|
|
8165
8163
|
errorMessage: string;
|
|
8164
|
+
tooltipText: string;
|
|
8166
8165
|
placeholder: string;
|
|
8167
8166
|
slashedZero: boolean;
|
|
8168
8167
|
dropdown: BentoInputDropdownProps;
|
|
@@ -8231,7 +8230,7 @@ export declare enum BentoInputFieldEvent {
|
|
|
8231
8230
|
* `
|
|
8232
8231
|
* }
|
|
8233
8232
|
*/
|
|
8234
|
-
export declare const BentoInputFieldPassword: DefineComponent<
|
|
8233
|
+
export declare const BentoInputFieldPassword: DefineComponent<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoInputFieldPasswordProps>, {
|
|
8235
8234
|
condensed: boolean;
|
|
8236
8235
|
debounceTime: number;
|
|
8237
8236
|
disabled: boolean;
|
|
@@ -8253,7 +8252,7 @@ focus: () => void;
|
|
|
8253
8252
|
"input:error": (errors: BentoInputFieldPasswordErrorsList) => void;
|
|
8254
8253
|
} & {
|
|
8255
8254
|
input: (value: BentoInputFieldValue) => void;
|
|
8256
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8255
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoInputFieldPasswordProps>, {
|
|
8257
8256
|
condensed: boolean;
|
|
8258
8257
|
debounceTime: number;
|
|
8259
8258
|
disabled: boolean;
|
|
@@ -8354,7 +8353,7 @@ export declare interface BentoInputFieldPasswordValidation {
|
|
|
8354
8353
|
title?: string;
|
|
8355
8354
|
suggestion?: string;
|
|
8356
8355
|
extendDefaultValidation?: boolean;
|
|
8357
|
-
list: BentoInputFieldPasswordValidationListItem
|
|
8356
|
+
list: Array<BentoInputFieldPasswordValidationListItem>;
|
|
8358
8357
|
}
|
|
8359
8358
|
|
|
8360
8359
|
/**
|
|
@@ -8363,8 +8362,8 @@ export declare interface BentoInputFieldPasswordValidation {
|
|
|
8363
8362
|
export declare interface BentoInputFieldPasswordValidationListItem {
|
|
8364
8363
|
label?: string;
|
|
8365
8364
|
key?: BentoInputFieldPasswordDefaultRuleKeys | string;
|
|
8366
|
-
validate?: (value: BentoInputFieldValue, ...args: any
|
|
8367
|
-
additionalArgs?: any
|
|
8365
|
+
validate?: (value: BentoInputFieldValue, ...args: Array<any>) => boolean;
|
|
8366
|
+
additionalArgs?: Array<any>;
|
|
8368
8367
|
disabled?: boolean;
|
|
8369
8368
|
}
|
|
8370
8369
|
|
|
@@ -8386,7 +8385,7 @@ export declare interface BentoInputFieldPasswordValidationListItem {
|
|
|
8386
8385
|
* `
|
|
8387
8386
|
* }
|
|
8388
8387
|
*/
|
|
8389
|
-
export declare const BentoInputFieldPhoneNumber:
|
|
8388
|
+
export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoInputFieldPhoneNumberProps>, {
|
|
8390
8389
|
countries: () => CountryCode_2[];
|
|
8391
8390
|
description: any;
|
|
8392
8391
|
dynamicFiltering: boolean;
|
|
@@ -8398,14 +8397,14 @@ input: (value: string) => void;
|
|
|
8398
8397
|
"update:selected-country": (country: CountryCode_2) => void;
|
|
8399
8398
|
} & {
|
|
8400
8399
|
"input:valid": (value: boolean) => void;
|
|
8401
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8400
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoInputFieldPhoneNumberProps>, {
|
|
8402
8401
|
countries: () => CountryCode_2[];
|
|
8403
8402
|
description: any;
|
|
8404
8403
|
dynamicFiltering: boolean;
|
|
8405
8404
|
}>>>, {
|
|
8406
8405
|
description: string;
|
|
8407
8406
|
dynamicFiltering: boolean;
|
|
8408
|
-
countries: CountryCode
|
|
8407
|
+
countries: Array<CountryCode>;
|
|
8409
8408
|
}>, {
|
|
8410
8409
|
default: (_: {}) => any;
|
|
8411
8410
|
description: (_: {}) => any;
|
|
@@ -8422,7 +8421,7 @@ export declare interface BentoInputFieldPhoneNumberProps extends FormField {
|
|
|
8422
8421
|
/**
|
|
8423
8422
|
* Array of country codes to show on the dropdown
|
|
8424
8423
|
*/
|
|
8425
|
-
countries?: CountryCode
|
|
8424
|
+
countries?: Array<CountryCode>;
|
|
8426
8425
|
/**
|
|
8427
8426
|
* Dropdown props for the small selectable dropdown menu.
|
|
8428
8427
|
* Properties supported:
|
|
@@ -8443,6 +8442,10 @@ export declare interface BentoInputFieldPhoneNumberProps extends FormField {
|
|
|
8443
8442
|
* Selected country code
|
|
8444
8443
|
*/
|
|
8445
8444
|
selectedCountry?: CountryCode;
|
|
8445
|
+
/**
|
|
8446
|
+
* The current value of the field.
|
|
8447
|
+
*/
|
|
8448
|
+
value?: string | number;
|
|
8446
8449
|
}
|
|
8447
8450
|
|
|
8448
8451
|
export declare interface BentoInputFieldProps {
|
|
@@ -8682,7 +8685,7 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
8682
8685
|
* `
|
|
8683
8686
|
* }
|
|
8684
8687
|
*/
|
|
8685
|
-
export declare const BentoInspector:
|
|
8688
|
+
export declare const BentoInspector: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoInspectorProps>, {
|
|
8686
8689
|
activePage: string;
|
|
8687
8690
|
expandable: boolean;
|
|
8688
8691
|
isOpen: boolean;
|
|
@@ -8696,7 +8699,7 @@ pageFocusAnchor: any;
|
|
|
8696
8699
|
"update:active-page": (value: string) => void;
|
|
8697
8700
|
} & {
|
|
8698
8701
|
expand: () => void;
|
|
8699
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8702
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoInspectorProps>, {
|
|
8700
8703
|
activePage: string;
|
|
8701
8704
|
expandable: boolean;
|
|
8702
8705
|
isOpen: boolean;
|
|
@@ -8708,8 +8711,8 @@ pageFocusAnchor: any;
|
|
|
8708
8711
|
isOpen: boolean;
|
|
8709
8712
|
loading: boolean;
|
|
8710
8713
|
size: BentoInspectorSize;
|
|
8711
|
-
activePage: string;
|
|
8712
8714
|
expandable: boolean;
|
|
8715
|
+
activePage: string;
|
|
8713
8716
|
relativeLayout: BentoInspectorRelativeLayout;
|
|
8714
8717
|
pageFocusAnchor: HTMLElement;
|
|
8715
8718
|
}>, {
|
|
@@ -8812,10 +8815,10 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
|
|
|
8812
8815
|
* `
|
|
8813
8816
|
* }
|
|
8814
8817
|
*/
|
|
8815
|
-
export declare const BentoLayout:
|
|
8818
|
+
export declare const BentoLayout: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoLayoutProps>, {
|
|
8816
8819
|
size: string;
|
|
8817
8820
|
variant: string;
|
|
8818
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8821
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoLayoutProps>, {
|
|
8819
8822
|
size: string;
|
|
8820
8823
|
variant: string;
|
|
8821
8824
|
}>>>, {
|
|
@@ -8858,9 +8861,9 @@ export declare interface BentoLayoutProps {
|
|
|
8858
8861
|
* `
|
|
8859
8862
|
* }
|
|
8860
8863
|
*/
|
|
8861
|
-
export declare const BentoLayoutRow:
|
|
8864
|
+
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoLayoutRowProps>, {
|
|
8862
8865
|
columnsLayout: string;
|
|
8863
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8866
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoLayoutRowProps>, {
|
|
8864
8867
|
columnsLayout: string;
|
|
8865
8868
|
}>>>, {
|
|
8866
8869
|
columnsLayout: BentoLayoutRowColumnLayout;
|
|
@@ -8907,12 +8910,12 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
|
8907
8910
|
* `
|
|
8908
8911
|
* }
|
|
8909
8912
|
*/
|
|
8910
|
-
export declare const BentoLink:
|
|
8913
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_25<DefineComponent<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoLinkProps>, {
|
|
8911
8914
|
target: any;
|
|
8912
8915
|
variant: BentoLinkVariant;
|
|
8913
8916
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8914
8917
|
click: (clickEvent: MouseEvent) => void;
|
|
8915
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8918
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoLinkProps>, {
|
|
8916
8919
|
target: any;
|
|
8917
8920
|
variant: BentoLinkVariant;
|
|
8918
8921
|
}>>>, {
|
|
@@ -8966,7 +8969,7 @@ declare type BentoListboxEmptyStateProps = {
|
|
|
8966
8969
|
action: {
|
|
8967
8970
|
icon?: any;
|
|
8968
8971
|
} & BentoButtonActionObject;
|
|
8969
|
-
} &
|
|
8972
|
+
} & OmitStrict<BentoEmptyStateProps, 'variant' | 'image' | 'description'>;
|
|
8970
8973
|
export { BentoListboxEmptyStateProps as BentoDropdownEmptyStateProps }
|
|
8971
8974
|
export { BentoListboxEmptyStateProps }
|
|
8972
8975
|
|
|
@@ -8998,7 +9001,7 @@ declare enum BentoListboxLazyLoadType {
|
|
|
8998
9001
|
export { BentoListboxLazyLoadType as BentoDropdownLazyLoadType }
|
|
8999
9002
|
export { BentoListboxLazyLoadType }
|
|
9000
9003
|
|
|
9001
|
-
export declare type BentoListboxMultiSelectValue = BentoListboxValue
|
|
9004
|
+
export declare type BentoListboxMultiSelectValue = Array<BentoListboxValue>;
|
|
9002
9005
|
|
|
9003
9006
|
export declare interface BentoListboxOptionItem extends BentoSearchBarItem {
|
|
9004
9007
|
data?: unknown;
|
|
@@ -9170,57 +9173,32 @@ export declare enum BentoLoadingButtonState {
|
|
|
9170
9173
|
FAIL = "fail"
|
|
9171
9174
|
}
|
|
9172
9175
|
|
|
9173
|
-
export declare const BentoLoadingIndicator: DefineComponent< {
|
|
9174
|
-
/**
|
|
9175
|
-
* Displays the loading indicator in a small size
|
|
9176
|
-
*/
|
|
9177
|
-
small: {
|
|
9178
|
-
type: BooleanConstructor;
|
|
9179
|
-
default: boolean;
|
|
9180
|
-
};
|
|
9181
|
-
/**
|
|
9182
|
-
* Displays the loading indicator in a large size
|
|
9183
|
-
*/
|
|
9184
|
-
large: {
|
|
9185
|
-
type: BooleanConstructor;
|
|
9186
|
-
default: boolean;
|
|
9187
|
-
};
|
|
9188
|
-
/**
|
|
9189
|
-
* Displays the loading indicator in a white variant
|
|
9190
|
-
*/
|
|
9191
|
-
inverse: {
|
|
9192
|
-
type: BooleanConstructor;
|
|
9193
|
-
default: boolean;
|
|
9194
|
-
};
|
|
9195
|
-
}, {
|
|
9196
|
-
conditionalClasses: ComputedRef< {
|
|
9197
|
-
'b-loading-indicator--inverse': boolean;
|
|
9198
|
-
'b-loading-indicator--small': boolean;
|
|
9199
|
-
'b-loading-indicator--large': boolean;
|
|
9200
|
-
}>;
|
|
9201
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoLoadingIndicatorEvent[], string, Readonly<ExtractPropTypes< {
|
|
9202
|
-
/**
|
|
9203
|
-
* Displays the loading indicator in a small size
|
|
9204
|
-
*/
|
|
9205
|
-
small: {
|
|
9206
|
-
type: BooleanConstructor;
|
|
9207
|
-
default: boolean;
|
|
9208
|
-
};
|
|
9209
|
-
/**
|
|
9210
|
-
* Displays the loading indicator in a large size
|
|
9211
|
-
*/
|
|
9212
|
-
large: {
|
|
9213
|
-
type: BooleanConstructor;
|
|
9214
|
-
default: boolean;
|
|
9215
|
-
};
|
|
9216
9176
|
/**
|
|
9217
|
-
*
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
|
-
|
|
9222
|
-
|
|
9223
|
-
|
|
9177
|
+
* A loading indicator component that displays a spinning animation.
|
|
9178
|
+
*
|
|
9179
|
+
* @usage
|
|
9180
|
+
* import { BentoLoadingIndicator } from '../..';
|
|
9181
|
+
*
|
|
9182
|
+
* export default {
|
|
9183
|
+
* components: { BentoLoadingIndicator },
|
|
9184
|
+
* template: `
|
|
9185
|
+
* <bento-loading-indicator :small="true" />
|
|
9186
|
+
* `
|
|
9187
|
+
* };
|
|
9188
|
+
*/
|
|
9189
|
+
export declare const BentoLoadingIndicator: DefineComponent<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoLoadingIndicatorProps>, {
|
|
9190
|
+
small: boolean;
|
|
9191
|
+
large: boolean;
|
|
9192
|
+
inverse: boolean;
|
|
9193
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9194
|
+
"loading-start": () => void;
|
|
9195
|
+
} & {
|
|
9196
|
+
"loading-end": () => void;
|
|
9197
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoLoadingIndicatorProps>, {
|
|
9198
|
+
small: boolean;
|
|
9199
|
+
large: boolean;
|
|
9200
|
+
inverse: boolean;
|
|
9201
|
+
}>>>, {
|
|
9224
9202
|
small: boolean;
|
|
9225
9203
|
large: boolean;
|
|
9226
9204
|
inverse: boolean;
|
|
@@ -9231,6 +9209,21 @@ export declare enum BentoLoadingIndicatorEvent {
|
|
|
9231
9209
|
END = "loading-end"
|
|
9232
9210
|
}
|
|
9233
9211
|
|
|
9212
|
+
export declare interface BentoLoadingIndicatorProps {
|
|
9213
|
+
/**
|
|
9214
|
+
* Displays the loading indicator in a small size
|
|
9215
|
+
*/
|
|
9216
|
+
small?: boolean;
|
|
9217
|
+
/**
|
|
9218
|
+
* Displays the loading indicator in a large size
|
|
9219
|
+
*/
|
|
9220
|
+
large?: boolean;
|
|
9221
|
+
/**
|
|
9222
|
+
* Displays the loading indicator in a white variant
|
|
9223
|
+
*/
|
|
9224
|
+
inverse?: boolean;
|
|
9225
|
+
}
|
|
9226
|
+
|
|
9234
9227
|
/**
|
|
9235
9228
|
* Menu component to render a series of buttons. Csan render nested submenus.
|
|
9236
9229
|
*
|
|
@@ -9248,7 +9241,7 @@ export declare enum BentoLoadingIndicatorEvent {
|
|
|
9248
9241
|
* />
|
|
9249
9242
|
* }
|
|
9250
9243
|
*/
|
|
9251
|
-
export declare const BentoMenu:
|
|
9244
|
+
export declare const BentoMenu: __VLS_WithTemplateSlots_26<DefineComponent<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoMenuProps>, {
|
|
9252
9245
|
button: () => BentoMenuButtonProps;
|
|
9253
9246
|
closeMenuOnItemSelect: boolean;
|
|
9254
9247
|
disableArrowDownOpeningMenu: boolean;
|
|
@@ -9271,7 +9264,7 @@ open: () => void;
|
|
|
9271
9264
|
"menu-item-click": () => void;
|
|
9272
9265
|
} & {
|
|
9273
9266
|
"click-outside": () => void;
|
|
9274
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9267
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoMenuProps>, {
|
|
9275
9268
|
button: () => BentoMenuButtonProps;
|
|
9276
9269
|
closeMenuOnItemSelect: boolean;
|
|
9277
9270
|
disableArrowDownOpeningMenu: boolean;
|
|
@@ -9359,7 +9352,7 @@ export declare interface BentoMenuProps {
|
|
|
9359
9352
|
/**
|
|
9360
9353
|
* The data to be displayed in the list
|
|
9361
9354
|
*/
|
|
9362
|
-
data: BentoMenuItem
|
|
9355
|
+
data: Array<BentoMenuItem>;
|
|
9363
9356
|
/**
|
|
9364
9357
|
* Disables opening the menu when the down arrow key is pressed.
|
|
9365
9358
|
*/
|
|
@@ -9417,7 +9410,7 @@ export declare interface BentoMenuProps {
|
|
|
9417
9410
|
* `
|
|
9418
9411
|
* };
|
|
9419
9412
|
*/
|
|
9420
|
-
export declare const BentoModal:
|
|
9413
|
+
export declare const BentoModal: __VLS_WithTemplateSlots_27<DefineComponent< {
|
|
9421
9414
|
/**
|
|
9422
9415
|
* List of actions that will be used to render the buttons.
|
|
9423
9416
|
* First element in the list will be rendered as "primary".
|
|
@@ -9755,7 +9748,7 @@ export declare enum BentoModalEvent {
|
|
|
9755
9748
|
* `
|
|
9756
9749
|
* }
|
|
9757
9750
|
*/
|
|
9758
|
-
export declare const BentoModalFullscreen:
|
|
9751
|
+
export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_29<DefineComponent< {
|
|
9759
9752
|
/**
|
|
9760
9753
|
* List of actions that will be used to render the buttons.
|
|
9761
9754
|
* First element in the list will be rendered as "primary".
|
|
@@ -9897,7 +9890,7 @@ contextualLabel: string;
|
|
|
9897
9890
|
* `
|
|
9898
9891
|
* }
|
|
9899
9892
|
*/
|
|
9900
|
-
export declare const BentoModalFullscreenPage:
|
|
9893
|
+
export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_30<DefineComponent< {
|
|
9901
9894
|
/**
|
|
9902
9895
|
* List of actions that will be used to render the buttons.
|
|
9903
9896
|
* First element in the list will be rendered as "primary".
|
|
@@ -10039,7 +10032,7 @@ contextualLabel: string;
|
|
|
10039
10032
|
* `
|
|
10040
10033
|
* }
|
|
10041
10034
|
*/
|
|
10042
|
-
export declare const BentoModalPage:
|
|
10035
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_28<DefineComponent<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoModalPageProps>, {
|
|
10043
10036
|
actions: any;
|
|
10044
10037
|
actionsLabel: any;
|
|
10045
10038
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
@@ -10048,7 +10041,7 @@ destructiveActions: boolean;
|
|
|
10048
10041
|
withColumnLayout: boolean;
|
|
10049
10042
|
pageId: any;
|
|
10050
10043
|
previousPage: any;
|
|
10051
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10044
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoModalPageProps>, {
|
|
10052
10045
|
actions: any;
|
|
10053
10046
|
actionsLabel: any;
|
|
10054
10047
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
@@ -10196,7 +10189,7 @@ export declare type BentoMultiCheckboxType = Array<string | number>;
|
|
|
10196
10189
|
* `,
|
|
10197
10190
|
* }
|
|
10198
10191
|
*/
|
|
10199
|
-
export declare const BentoPagination:
|
|
10192
|
+
export declare const BentoPagination: __VLS_WithTemplateSlots_31<DefineComponent<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoPaginationProps>, {
|
|
10200
10193
|
ariaLabel: any;
|
|
10201
10194
|
hasNext: any;
|
|
10202
10195
|
hidePageSize: boolean;
|
|
@@ -10212,7 +10205,7 @@ navigate: (page: number, items?: number) => void;
|
|
|
10212
10205
|
"update:page": (page: number) => void;
|
|
10213
10206
|
} & {
|
|
10214
10207
|
"update:size": (size: number) => void;
|
|
10215
|
-
}, string, Readonly<ExtractPropTypes<
|
|
10208
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoPaginationProps>, {
|
|
10216
10209
|
ariaLabel: any;
|
|
10217
10210
|
hasNext: any;
|
|
10218
10211
|
hidePageSize: boolean;
|
|
@@ -10278,10 +10271,10 @@ export declare interface BentoPaginationProps {
|
|
|
10278
10271
|
* `
|
|
10279
10272
|
* }
|
|
10280
10273
|
*/
|
|
10281
|
-
export declare const BentoPaymentMethod: DefineComponent<
|
|
10274
|
+
export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoPaymentMethodProps>, {
|
|
10282
10275
|
type: string;
|
|
10283
10276
|
small: boolean;
|
|
10284
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10277
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoPaymentMethodProps>, {
|
|
10285
10278
|
type: string;
|
|
10286
10279
|
small: boolean;
|
|
10287
10280
|
}>>>, {
|
|
@@ -10293,7 +10286,7 @@ export declare type BentoPaymentMethodListboxOptionItem = OmitStrict<BentoListbo
|
|
|
10293
10286
|
value: string;
|
|
10294
10287
|
};
|
|
10295
10288
|
|
|
10296
|
-
export declare type BentoPaymentMethodListboxOptions = BentoPaymentMethodListboxOptionItem
|
|
10289
|
+
export declare type BentoPaymentMethodListboxOptions = Array<BentoPaymentMethodListboxOptionItem>;
|
|
10297
10290
|
|
|
10298
10291
|
export declare interface BentoPaymentMethodProps {
|
|
10299
10292
|
/**
|
|
@@ -11473,7 +11466,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
11473
11466
|
* `
|
|
11474
11467
|
* }
|
|
11475
11468
|
*/
|
|
11476
|
-
export declare const BentoPopover:
|
|
11469
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_32<DefineComponent<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_41<BentoPopoverProps>, {
|
|
11477
11470
|
actions: any;
|
|
11478
11471
|
actionsLayout: string;
|
|
11479
11472
|
ariaLabel: any;
|
|
@@ -11497,7 +11490,7 @@ overflowVisible: boolean;
|
|
|
11497
11490
|
dismiss: () => void;
|
|
11498
11491
|
} & {
|
|
11499
11492
|
placement: (placement: Placement) => void;
|
|
11500
|
-
}, string, Readonly<ExtractPropTypes<
|
|
11493
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_41<BentoPopoverProps>, {
|
|
11501
11494
|
actions: any;
|
|
11502
11495
|
actionsLayout: string;
|
|
11503
11496
|
ariaLabel: any;
|
|
@@ -11525,7 +11518,7 @@ open: boolean;
|
|
|
11525
11518
|
position: BentoPopoverPositions | `${BentoPopoverPositions}`;
|
|
11526
11519
|
trapAll: boolean;
|
|
11527
11520
|
trapAllOptions: any;
|
|
11528
|
-
fallbackPosition: Placement
|
|
11521
|
+
fallbackPosition: Array<Placement>;
|
|
11529
11522
|
fixedPositioning: boolean;
|
|
11530
11523
|
ariaLabel: string;
|
|
11531
11524
|
actions: BentoButtonActionsList;
|
|
@@ -11534,7 +11527,7 @@ divider: boolean;
|
|
|
11534
11527
|
disableFocusTrap: boolean;
|
|
11535
11528
|
dismissible: boolean;
|
|
11536
11529
|
fitContent: boolean;
|
|
11537
|
-
modifiers: unknown
|
|
11530
|
+
modifiers: Array<unknown>;
|
|
11538
11531
|
withoutSpace: boolean;
|
|
11539
11532
|
overflowVisible: boolean;
|
|
11540
11533
|
}>, {
|
|
@@ -11625,7 +11618,7 @@ export declare interface BentoPopoverProps {
|
|
|
11625
11618
|
* Useful when not using auto as starting placement.
|
|
11626
11619
|
* https://floating-ui.com/docs/flip#fallbackplacements
|
|
11627
11620
|
*/
|
|
11628
|
-
fallbackPosition?: Placement
|
|
11621
|
+
fallbackPosition?: Array<Placement>;
|
|
11629
11622
|
/**
|
|
11630
11623
|
* Sets the size of the container to fit its content
|
|
11631
11624
|
*/
|
|
@@ -11648,7 +11641,7 @@ export declare interface BentoPopoverProps {
|
|
|
11648
11641
|
* @deprecated
|
|
11649
11642
|
* NOTE: This property no longer functions since moving to the floating-ui framework.
|
|
11650
11643
|
*/
|
|
11651
|
-
modifiers?: unknown
|
|
11644
|
+
modifiers?: Array<unknown>;
|
|
11652
11645
|
/**
|
|
11653
11646
|
* Popover's position relative to the target element.
|
|
11654
11647
|
* Possible values are:
|
|
@@ -11709,7 +11702,7 @@ export declare interface BentoPopoverProps {
|
|
|
11709
11702
|
* `
|
|
11710
11703
|
* };
|
|
11711
11704
|
*/
|
|
11712
|
-
export declare const BentoPromoBanner:
|
|
11705
|
+
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_33<DefineComponent<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_42<BentoPromoBannerProps>, {
|
|
11713
11706
|
actions: any;
|
|
11714
11707
|
color: BentoPromoBannerColor;
|
|
11715
11708
|
isDismissible: boolean;
|
|
@@ -11717,7 +11710,7 @@ dismissButtonText: any;
|
|
|
11717
11710
|
layout: BentoPromoBannerLayout;
|
|
11718
11711
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11719
11712
|
dismiss: () => void;
|
|
11720
|
-
}, string, Readonly<ExtractPropTypes<
|
|
11713
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_42<BentoPromoBannerProps>, {
|
|
11721
11714
|
actions: any;
|
|
11722
11715
|
color: BentoPromoBannerColor;
|
|
11723
11716
|
isDismissible: boolean;
|
|
@@ -11726,7 +11719,7 @@ layout: BentoPromoBannerLayout;
|
|
|
11726
11719
|
}>>>, {
|
|
11727
11720
|
color: `${BentoPromoBannerColor}`;
|
|
11728
11721
|
layout: `${BentoPromoBannerLayout}`;
|
|
11729
|
-
actions: BentoPromoBannerAction
|
|
11722
|
+
actions: Array<BentoPromoBannerAction>;
|
|
11730
11723
|
isDismissible: boolean;
|
|
11731
11724
|
dismissButtonText: string;
|
|
11732
11725
|
}>, {
|
|
@@ -11783,7 +11776,7 @@ export declare interface BentoPromoBannerProps {
|
|
|
11783
11776
|
* }]
|
|
11784
11777
|
* ```
|
|
11785
11778
|
*/
|
|
11786
|
-
actions?: BentoPromoBannerAction
|
|
11779
|
+
actions?: Array<BentoPromoBannerAction>;
|
|
11787
11780
|
/**
|
|
11788
11781
|
* Defines the color of banner's background
|
|
11789
11782
|
*/
|
|
@@ -11856,66 +11849,7 @@ export declare interface BentoPromoBannerProps {
|
|
|
11856
11849
|
* }
|
|
11857
11850
|
* }
|
|
11858
11851
|
*/
|
|
11859
|
-
export declare const BentoRadioButton:
|
|
11860
|
-
/**
|
|
11861
|
-
* Disable the radio button (optional)
|
|
11862
|
-
*/
|
|
11863
|
-
disabled: {
|
|
11864
|
-
type: BooleanConstructor;
|
|
11865
|
-
default: boolean;
|
|
11866
|
-
};
|
|
11867
|
-
/**
|
|
11868
|
-
* Shows bento-radio-button in error state (optional)
|
|
11869
|
-
*/
|
|
11870
|
-
hasError: {
|
|
11871
|
-
type: BooleanConstructor;
|
|
11872
|
-
default: boolean;
|
|
11873
|
-
};
|
|
11874
|
-
/**
|
|
11875
|
-
* This property should not be used directly.
|
|
11876
|
-
* It will be used by v-model directive on radio component.
|
|
11877
|
-
*/
|
|
11878
|
-
modelValue: {
|
|
11879
|
-
type: PropType<BentoRadioButtonValue>;
|
|
11880
|
-
default: any;
|
|
11881
|
-
};
|
|
11882
|
-
/**
|
|
11883
|
-
* Sets the radio button to readonly (optional)
|
|
11884
|
-
*/
|
|
11885
|
-
readonly: {
|
|
11886
|
-
type: BooleanConstructor;
|
|
11887
|
-
default: boolean;
|
|
11888
|
-
};
|
|
11889
|
-
/**
|
|
11890
|
-
* Sets the properties of the BentoTag component that is placed next to the label.
|
|
11891
|
-
* {@see BentoTag}
|
|
11892
|
-
*/
|
|
11893
|
-
tag: {
|
|
11894
|
-
type: PropType<BentoRadioButtonTag>;
|
|
11895
|
-
default: any;
|
|
11896
|
-
};
|
|
11897
|
-
/**
|
|
11898
|
-
* Indicates the value of the input that will be returned when it's checked
|
|
11899
|
-
*/
|
|
11900
|
-
value: {
|
|
11901
|
-
type: PropType<BentoRadioButtonValue>;
|
|
11902
|
-
required: true;
|
|
11903
|
-
};
|
|
11904
|
-
/**
|
|
11905
|
-
* Sets the name of the radio input.
|
|
11906
|
-
* Used for differentiating radio groups or accessing input via form submission.
|
|
11907
|
-
*/
|
|
11908
|
-
name: {
|
|
11909
|
-
type: StringConstructor;
|
|
11910
|
-
default: any;
|
|
11911
|
-
};
|
|
11912
|
-
}, {
|
|
11913
|
-
focus: () => void;
|
|
11914
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11915
|
-
input: (value: BentoRadioButtonValue) => void;
|
|
11916
|
-
} & {
|
|
11917
|
-
"update:model-value": (value: BentoRadioButtonValue) => void;
|
|
11918
|
-
}, string, Readonly<ExtractPropTypes< {
|
|
11852
|
+
export declare const BentoRadioButton: __VLS_WithTemplateSlots_35<DefineComponent< {
|
|
11919
11853
|
/**
|
|
11920
11854
|
* Disable the radio button (optional)
|
|
11921
11855
|
*/
|
|
@@ -11968,274 +11902,153 @@ name: {
|
|
|
11968
11902
|
type: StringConstructor;
|
|
11969
11903
|
default: any;
|
|
11970
11904
|
};
|
|
11971
|
-
}>>, {
|
|
11972
|
-
name: string;
|
|
11973
|
-
disabled: boolean;
|
|
11974
|
-
tag: any;
|
|
11975
|
-
readonly: boolean;
|
|
11976
|
-
hasError: boolean;
|
|
11977
|
-
modelValue: BentoRadioButtonValue;
|
|
11978
|
-
}>, {
|
|
11979
|
-
default: (_: {}) => any;
|
|
11980
|
-
description: (_: {}) => any;
|
|
11981
|
-
content: (_: {}) => any;
|
|
11982
|
-
}>;
|
|
11983
|
-
|
|
11984
|
-
export declare enum BentoRadioButtonStateClass {
|
|
11985
|
-
DISABLED = "disabled",
|
|
11986
|
-
READONLY = "readonly",
|
|
11987
|
-
ERROR = "error"
|
|
11988
|
-
}
|
|
11989
|
-
|
|
11990
|
-
export declare type BentoRadioButtonTag = InstanceType<typeof BentoTag>['$props'];
|
|
11991
|
-
|
|
11992
|
-
export declare type BentoRadioButtonValue = string | number;
|
|
11993
|
-
|
|
11994
|
-
/**
|
|
11995
|
-
* A radio group component should be used whenever it is necessary to use a set of radio buttons
|
|
11996
|
-
* This component conforms to the official WAI-ARIA guidelines for grouping controls: https://www.w3.org/WAI/tutorials/forms/grouping/
|
|
11997
|
-
*
|
|
11998
|
-
* import { BentoRadioGroup } from '../..';
|
|
11999
|
-
*
|
|
12000
|
-
* export default {
|
|
12001
|
-
* components: { BentoRadioGroup },
|
|
12002
|
-
* template: `
|
|
12003
|
-
* <bento-radio-group
|
|
12004
|
-
* label="Your group label"
|
|
12005
|
-
* :items="[
|
|
12006
|
-
* { value: 1, label: 'Your label' },
|
|
12007
|
-
* { value: 2, label: 'Another label', description: 'Your descriptive sub label' },
|
|
12008
|
-
* ]"
|
|
12009
|
-
* variant="horizontal"
|
|
12010
|
-
* />
|
|
12011
|
-
* `
|
|
12012
|
-
* };
|
|
12013
|
-
*/
|
|
12014
|
-
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_33<DefineComponent< {
|
|
12015
|
-
/**
|
|
12016
|
-
* Descriptive supporting text visbile underneath the label.
|
|
12017
|
-
*/
|
|
12018
|
-
description: {
|
|
12019
|
-
type: StringConstructor;
|
|
12020
|
-
default: any;
|
|
12021
|
-
};
|
|
12022
|
-
/**
|
|
12023
|
-
* If set to true, renders all bento-radio-buttons in the group in a disabled state.
|
|
12024
|
-
*/
|
|
12025
|
-
disabled: {
|
|
12026
|
-
type: BooleanConstructor;
|
|
12027
|
-
default: boolean;
|
|
12028
|
-
};
|
|
12029
|
-
/**
|
|
12030
|
-
* If passed as a prop, all bento-radio-buttons in an error state and renders the string beneath the buttons.
|
|
12031
|
-
*/
|
|
12032
|
-
errorMessage: {
|
|
12033
|
-
type: StringConstructor;
|
|
12034
|
-
default: any;
|
|
12035
|
-
};
|
|
12036
|
-
/**
|
|
12037
|
-
* The form id the radio group is associated with. Defaults to null, as a radio group can also be used standalone.
|
|
12038
|
-
*/
|
|
12039
|
-
formId: {
|
|
12040
|
-
type: StringConstructor;
|
|
12041
|
-
default: any;
|
|
12042
|
-
};
|
|
12043
|
-
/**
|
|
12044
|
-
* If set to true, renders all bento-radio-buttons in the group in an error state.
|
|
12045
|
-
*
|
|
12046
|
-
* @deprecated Use "errorMessage" prop instead
|
|
12047
|
-
*/
|
|
12048
|
-
hasError: {
|
|
12049
|
-
type: BooleanConstructor;
|
|
12050
|
-
default: boolean;
|
|
12051
|
-
};
|
|
12052
|
-
/**
|
|
12053
|
-
* Shows/hides the group label.
|
|
12054
|
-
*/
|
|
12055
|
-
hideLabel: {
|
|
12056
|
-
type: BooleanConstructor;
|
|
12057
|
-
default: any;
|
|
12058
|
-
};
|
|
12059
|
-
/**
|
|
12060
|
-
* The radio group's items.
|
|
12061
|
-
*/
|
|
12062
|
-
items: {
|
|
12063
|
-
type: PropType<BentoRadioGroupItems>;
|
|
12064
|
-
required: true;
|
|
12065
|
-
};
|
|
12066
|
-
/**
|
|
12067
|
-
* The name associated with the group. Required for accessibility purposes.
|
|
12068
|
-
*/
|
|
12069
|
-
label: {
|
|
12070
|
-
type: StringConstructor;
|
|
12071
|
-
required: true;
|
|
12072
|
-
};
|
|
12073
|
-
/**
|
|
12074
|
-
* Determines the initially selected value of the group. Corresponds to the BentoRadioButtonItem's value.
|
|
12075
|
-
* Defaults to no value selected.
|
|
12076
|
-
*/
|
|
12077
|
-
modelValue: {
|
|
12078
|
-
type: PropType<BentoRadioGroupValue>;
|
|
12079
|
-
default: any;
|
|
12080
|
-
};
|
|
12081
|
-
/**
|
|
12082
|
-
* Indicates the field is optional.
|
|
12083
|
-
*/
|
|
12084
|
-
optional: {
|
|
12085
|
-
type: BooleanConstructor;
|
|
12086
|
-
default: boolean;
|
|
12087
|
-
};
|
|
12088
|
-
/**
|
|
12089
|
-
* If set to true, renders all bento-radio-button in the group in a readonly state.
|
|
12090
|
-
*/
|
|
12091
|
-
readonly: {
|
|
12092
|
-
type: BooleanConstructor;
|
|
12093
|
-
default: boolean;
|
|
12094
|
-
};
|
|
12095
|
-
/**
|
|
12096
|
-
* Indicates the field is required.
|
|
12097
|
-
*/
|
|
12098
|
-
required: {
|
|
12099
|
-
type: BooleanConstructor;
|
|
12100
|
-
default: boolean;
|
|
12101
|
-
};
|
|
12102
|
-
/**
|
|
12103
|
-
* Tooltip message.
|
|
12104
|
-
*/
|
|
12105
|
-
tooltipText: {
|
|
12106
|
-
type: StringConstructor;
|
|
12107
|
-
default: any;
|
|
12108
|
-
};
|
|
12109
|
-
/**
|
|
12110
|
-
* The radio group's layout. It can be vertical or horizontal. Defaults to vertical.
|
|
12111
|
-
*/
|
|
12112
|
-
variant: {
|
|
12113
|
-
type: PropType<BentoRadioGroupVariant | `${BentoRadioGroupVariant}`>;
|
|
12114
|
-
default: BentoRadioGroupVariant;
|
|
12115
|
-
validator: (value: BentoRadioGroupVariant) => boolean;
|
|
12116
|
-
};
|
|
12117
11905
|
}, {
|
|
12118
11906
|
focus: () => void;
|
|
12119
11907
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12120
11908
|
input: (value: BentoRadioButtonValue) => void;
|
|
12121
|
-
} & {
|
|
12122
|
-
"update:model-value": (value: BentoRadioButtonValue) => void;
|
|
12123
|
-
}, string, Readonly<ExtractPropTypes< {
|
|
12124
|
-
/**
|
|
12125
|
-
* Descriptive supporting text visbile underneath the label.
|
|
12126
|
-
*/
|
|
12127
|
-
description: {
|
|
12128
|
-
type: StringConstructor;
|
|
12129
|
-
default: any;
|
|
12130
|
-
};
|
|
12131
|
-
/**
|
|
12132
|
-
* If set to true, renders all bento-radio-buttons in the group in a disabled state.
|
|
12133
|
-
*/
|
|
12134
|
-
disabled: {
|
|
12135
|
-
type: BooleanConstructor;
|
|
12136
|
-
default: boolean;
|
|
12137
|
-
};
|
|
12138
|
-
/**
|
|
12139
|
-
* If passed as a prop, all bento-radio-buttons in an error state and renders the string beneath the buttons.
|
|
12140
|
-
*/
|
|
12141
|
-
errorMessage: {
|
|
12142
|
-
type: StringConstructor;
|
|
12143
|
-
default: any;
|
|
12144
|
-
};
|
|
12145
|
-
/**
|
|
12146
|
-
* The form id the radio group is associated with. Defaults to null, as a radio group can also be used standalone.
|
|
12147
|
-
*/
|
|
12148
|
-
formId: {
|
|
12149
|
-
type: StringConstructor;
|
|
12150
|
-
default: any;
|
|
12151
|
-
};
|
|
12152
|
-
/**
|
|
12153
|
-
* If set to true, renders all bento-radio-buttons in the group in an error state.
|
|
12154
|
-
*
|
|
12155
|
-
* @deprecated Use "errorMessage" prop instead
|
|
12156
|
-
*/
|
|
12157
|
-
hasError: {
|
|
12158
|
-
type: BooleanConstructor;
|
|
12159
|
-
default: boolean;
|
|
12160
|
-
};
|
|
12161
|
-
/**
|
|
12162
|
-
* Shows/hides the group label.
|
|
12163
|
-
*/
|
|
12164
|
-
hideLabel: {
|
|
12165
|
-
type: BooleanConstructor;
|
|
12166
|
-
default: any;
|
|
12167
|
-
};
|
|
11909
|
+
} & {
|
|
11910
|
+
"update:model-value": (value: BentoRadioButtonValue) => void;
|
|
11911
|
+
}, string, Readonly<ExtractPropTypes< {
|
|
12168
11912
|
/**
|
|
12169
|
-
*
|
|
11913
|
+
* Disable the radio button (optional)
|
|
12170
11914
|
*/
|
|
12171
|
-
|
|
12172
|
-
type:
|
|
12173
|
-
|
|
11915
|
+
disabled: {
|
|
11916
|
+
type: BooleanConstructor;
|
|
11917
|
+
default: boolean;
|
|
12174
11918
|
};
|
|
12175
11919
|
/**
|
|
12176
|
-
*
|
|
11920
|
+
* Shows bento-radio-button in error state (optional)
|
|
12177
11921
|
*/
|
|
12178
|
-
|
|
12179
|
-
type:
|
|
12180
|
-
|
|
11922
|
+
hasError: {
|
|
11923
|
+
type: BooleanConstructor;
|
|
11924
|
+
default: boolean;
|
|
12181
11925
|
};
|
|
12182
11926
|
/**
|
|
12183
|
-
*
|
|
12184
|
-
*
|
|
11927
|
+
* This property should not be used directly.
|
|
11928
|
+
* It will be used by v-model directive on radio component.
|
|
12185
11929
|
*/
|
|
12186
11930
|
modelValue: {
|
|
12187
|
-
type: PropType<
|
|
11931
|
+
type: PropType<BentoRadioButtonValue>;
|
|
12188
11932
|
default: any;
|
|
12189
11933
|
};
|
|
12190
11934
|
/**
|
|
12191
|
-
*
|
|
11935
|
+
* Sets the radio button to readonly (optional)
|
|
12192
11936
|
*/
|
|
12193
|
-
|
|
11937
|
+
readonly: {
|
|
12194
11938
|
type: BooleanConstructor;
|
|
12195
11939
|
default: boolean;
|
|
12196
11940
|
};
|
|
12197
11941
|
/**
|
|
12198
|
-
*
|
|
11942
|
+
* Sets the properties of the BentoTag component that is placed next to the label.
|
|
11943
|
+
* {@see BentoTag}
|
|
12199
11944
|
*/
|
|
12200
|
-
|
|
12201
|
-
type:
|
|
12202
|
-
default:
|
|
11945
|
+
tag: {
|
|
11946
|
+
type: PropType<BentoRadioButtonTag>;
|
|
11947
|
+
default: any;
|
|
12203
11948
|
};
|
|
12204
11949
|
/**
|
|
12205
|
-
* Indicates the
|
|
11950
|
+
* Indicates the value of the input that will be returned when it's checked
|
|
12206
11951
|
*/
|
|
12207
|
-
|
|
12208
|
-
type:
|
|
12209
|
-
|
|
11952
|
+
value: {
|
|
11953
|
+
type: PropType<BentoRadioButtonValue>;
|
|
11954
|
+
required: true;
|
|
12210
11955
|
};
|
|
12211
11956
|
/**
|
|
12212
|
-
*
|
|
11957
|
+
* Sets the name of the radio input.
|
|
11958
|
+
* Used for differentiating radio groups or accessing input via form submission.
|
|
12213
11959
|
*/
|
|
12214
|
-
|
|
11960
|
+
name: {
|
|
12215
11961
|
type: StringConstructor;
|
|
12216
11962
|
default: any;
|
|
12217
11963
|
};
|
|
12218
|
-
/**
|
|
12219
|
-
* The radio group's layout. It can be vertical or horizontal. Defaults to vertical.
|
|
12220
|
-
*/
|
|
12221
|
-
variant: {
|
|
12222
|
-
type: PropType<BentoRadioGroupVariant | `${BentoRadioGroupVariant}`>;
|
|
12223
|
-
default: BentoRadioGroupVariant;
|
|
12224
|
-
validator: (value: BentoRadioGroupVariant) => boolean;
|
|
12225
|
-
};
|
|
12226
11964
|
}>>, {
|
|
11965
|
+
name: string;
|
|
11966
|
+
disabled: boolean;
|
|
11967
|
+
tag: any;
|
|
11968
|
+
readonly: boolean;
|
|
11969
|
+
hasError: boolean;
|
|
11970
|
+
modelValue: BentoRadioButtonValue;
|
|
11971
|
+
}>, {
|
|
11972
|
+
default: (_: {}) => any;
|
|
11973
|
+
description: (_: {}) => any;
|
|
11974
|
+
content: (_: {}) => any;
|
|
11975
|
+
}>;
|
|
11976
|
+
|
|
11977
|
+
export declare enum BentoRadioButtonStateClass {
|
|
11978
|
+
DISABLED = "disabled",
|
|
11979
|
+
READONLY = "readonly",
|
|
11980
|
+
ERROR = "error"
|
|
11981
|
+
}
|
|
11982
|
+
|
|
11983
|
+
export declare type BentoRadioButtonTag = InstanceType<typeof BentoTag>['$props'];
|
|
11984
|
+
|
|
11985
|
+
export declare type BentoRadioButtonValue = string | number;
|
|
11986
|
+
|
|
11987
|
+
/**
|
|
11988
|
+
* A radio group component should be used whenever it is necessary to use a set of radio buttons
|
|
11989
|
+
* This component conforms to the official WAI-ARIA guidelines for grouping controls: https://www.w3.org/WAI/tutorials/forms/grouping/
|
|
11990
|
+
*
|
|
11991
|
+
* import { BentoRadioGroup } from '../..';
|
|
11992
|
+
*
|
|
11993
|
+
* export default {
|
|
11994
|
+
* components: { BentoRadioGroup },
|
|
11995
|
+
* template: `
|
|
11996
|
+
* <bento-radio-group
|
|
11997
|
+
* label="Your group label"
|
|
11998
|
+
* :items="[
|
|
11999
|
+
* { value: 1, label: 'Your label' },
|
|
12000
|
+
* { value: 2, label: 'Another label', description: 'Your descriptive sub label' },
|
|
12001
|
+
* ]"
|
|
12002
|
+
* variant="horizontal"
|
|
12003
|
+
* />
|
|
12004
|
+
* `
|
|
12005
|
+
* };
|
|
12006
|
+
*/
|
|
12007
|
+
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_34<DefineComponent<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_43<BentoRadioGroupProps>, {
|
|
12008
|
+
description: any;
|
|
12009
|
+
disabled: boolean;
|
|
12010
|
+
errorMessage: any;
|
|
12011
|
+
formId: any;
|
|
12012
|
+
hasError: boolean;
|
|
12013
|
+
hideLabel: any;
|
|
12014
|
+
modelValue: any;
|
|
12015
|
+
optional: boolean;
|
|
12016
|
+
readonly: boolean;
|
|
12017
|
+
required: boolean;
|
|
12018
|
+
tooltipText: any;
|
|
12019
|
+
variant: BentoRadioGroupVariant;
|
|
12020
|
+
}>, {
|
|
12021
|
+
focus: () => void;
|
|
12022
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12023
|
+
input: (value: BentoRadioButtonValue) => void;
|
|
12024
|
+
} & {
|
|
12025
|
+
"update:model-value": (value: BentoRadioButtonValue) => void;
|
|
12026
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_43<BentoRadioGroupProps>, {
|
|
12027
|
+
description: any;
|
|
12028
|
+
disabled: boolean;
|
|
12029
|
+
errorMessage: any;
|
|
12030
|
+
formId: any;
|
|
12031
|
+
hasError: boolean;
|
|
12032
|
+
hideLabel: any;
|
|
12033
|
+
modelValue: any;
|
|
12034
|
+
optional: boolean;
|
|
12035
|
+
readonly: boolean;
|
|
12036
|
+
required: boolean;
|
|
12037
|
+
tooltipText: any;
|
|
12038
|
+
variant: BentoRadioGroupVariant;
|
|
12039
|
+
}>>>, {
|
|
12227
12040
|
description: string;
|
|
12228
|
-
variant:
|
|
12041
|
+
variant: BentoRadioGroupVariant | `${BentoRadioGroupVariant}`;
|
|
12229
12042
|
required: boolean;
|
|
12230
12043
|
disabled: boolean;
|
|
12231
12044
|
optional: boolean;
|
|
12232
12045
|
readonly: boolean;
|
|
12233
|
-
tooltipText: string;
|
|
12234
|
-
hideLabel: boolean;
|
|
12235
|
-
errorMessage: string;
|
|
12236
12046
|
hasError: boolean;
|
|
12237
|
-
modelValue:
|
|
12238
|
-
|
|
12047
|
+
modelValue: BentoRadioGroupValue | null;
|
|
12048
|
+
errorMessage: string;
|
|
12049
|
+
tooltipText: string;
|
|
12050
|
+
hideLabel: boolean | null;
|
|
12051
|
+
formId: string | null;
|
|
12239
12052
|
}>, {
|
|
12240
12053
|
content: (_: {}) => any;
|
|
12241
12054
|
description: (_: {}) => any;
|
|
@@ -12253,6 +12066,46 @@ export declare interface BentoRadioGroupItem {
|
|
|
12253
12066
|
|
|
12254
12067
|
export declare type BentoRadioGroupItems = Array<BentoRadioGroupItem>;
|
|
12255
12068
|
|
|
12069
|
+
export declare interface BentoRadioGroupProps extends FormField {
|
|
12070
|
+
/**
|
|
12071
|
+
* The form id the radio group is associated with. Defaults to null, as a radio group can also be used standalone.
|
|
12072
|
+
* @default null
|
|
12073
|
+
*/
|
|
12074
|
+
formId?: string | null;
|
|
12075
|
+
/**
|
|
12076
|
+
* If set to true, renders all bento-radio-buttons in the group in an error state.
|
|
12077
|
+
* @deprecated Use "errorMessage" prop instead
|
|
12078
|
+
* @default false
|
|
12079
|
+
*/
|
|
12080
|
+
hasError?: boolean;
|
|
12081
|
+
/**
|
|
12082
|
+
* Shows/hides the group label.
|
|
12083
|
+
* @default null
|
|
12084
|
+
*/
|
|
12085
|
+
hideLabel?: boolean | null;
|
|
12086
|
+
/**
|
|
12087
|
+
* The radio group's items.
|
|
12088
|
+
* Required.
|
|
12089
|
+
*/
|
|
12090
|
+
items: BentoRadioGroupItems;
|
|
12091
|
+
/**
|
|
12092
|
+
* The name associated with the group. Required for accessibility purposes.
|
|
12093
|
+
* Required.
|
|
12094
|
+
*/
|
|
12095
|
+
label: string;
|
|
12096
|
+
/**
|
|
12097
|
+
* Determines the initially selected value of the group. Corresponds to the BentoRadioButtonItem's value.
|
|
12098
|
+
* Defaults to no value selected.
|
|
12099
|
+
* @default null
|
|
12100
|
+
*/
|
|
12101
|
+
modelValue?: BentoRadioGroupValue | null;
|
|
12102
|
+
/**
|
|
12103
|
+
* The radio group's layout. It can be vertical or horizontal. Defaults to vertical.
|
|
12104
|
+
* @default BentoRadioGroupVariant.VERTICAL
|
|
12105
|
+
*/
|
|
12106
|
+
variant?: BentoRadioGroupVariant | `${BentoRadioGroupVariant}`;
|
|
12107
|
+
}
|
|
12108
|
+
|
|
12256
12109
|
export declare type BentoRadioGroupValue = BentoRadioButtonValue;
|
|
12257
12110
|
|
|
12258
12111
|
/**
|
|
@@ -12287,7 +12140,7 @@ export declare type BentoRangeFilterOptions = {
|
|
|
12287
12140
|
* `
|
|
12288
12141
|
* }
|
|
12289
12142
|
*/
|
|
12290
|
-
export declare const BentoRichTextEditor: DefineComponent<
|
|
12143
|
+
export declare const BentoRichTextEditor: DefineComponent<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_45<BentoRichTextEditorProps>, {
|
|
12291
12144
|
description: any;
|
|
12292
12145
|
disabled: boolean;
|
|
12293
12146
|
errorMessage: any;
|
|
@@ -12299,7 +12152,7 @@ tooltipText: any;
|
|
|
12299
12152
|
value: any;
|
|
12300
12153
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12301
12154
|
input: (value: string) => void;
|
|
12302
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12155
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_45<BentoRichTextEditorProps>, {
|
|
12303
12156
|
description: any;
|
|
12304
12157
|
disabled: boolean;
|
|
12305
12158
|
errorMessage: any;
|
|
@@ -12315,9 +12168,9 @@ description: string;
|
|
|
12315
12168
|
label: string;
|
|
12316
12169
|
required: boolean;
|
|
12317
12170
|
disabled: boolean;
|
|
12171
|
+
errorMessage: string;
|
|
12318
12172
|
tooltipText: string;
|
|
12319
12173
|
hideLabel: boolean;
|
|
12320
|
-
errorMessage: string;
|
|
12321
12174
|
mode: BentoRichTextEditorMode;
|
|
12322
12175
|
}>;
|
|
12323
12176
|
|
|
@@ -12411,7 +12264,7 @@ export declare interface BentoRichTextEditorProps {
|
|
|
12411
12264
|
* }
|
|
12412
12265
|
* }
|
|
12413
12266
|
*/
|
|
12414
|
-
export declare const BentoSearchBar: DefineComponent<
|
|
12267
|
+
export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_46<BentoSearchBarProps>, {
|
|
12415
12268
|
condensed: boolean;
|
|
12416
12269
|
debounceTime: number;
|
|
12417
12270
|
disabled: boolean;
|
|
@@ -12433,7 +12286,7 @@ clear: () => void;
|
|
|
12433
12286
|
blur: () => void;
|
|
12434
12287
|
} & {
|
|
12435
12288
|
focus: () => void;
|
|
12436
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12289
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_46<BentoSearchBarProps>, {
|
|
12437
12290
|
condensed: boolean;
|
|
12438
12291
|
debounceTime: number;
|
|
12439
12292
|
disabled: boolean;
|
|
@@ -12522,7 +12375,7 @@ export declare interface BentoSearchBarProps {
|
|
|
12522
12375
|
* }
|
|
12523
12376
|
* }
|
|
12524
12377
|
*/
|
|
12525
|
-
export declare const BentoSecondaryNav: DefineComponent<
|
|
12378
|
+
export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_47<{
|
|
12526
12379
|
/**
|
|
12527
12380
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12528
12381
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12535,7 +12388,7 @@ items: BentoSecondaryNavItems;
|
|
|
12535
12388
|
value?: string;
|
|
12536
12389
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12537
12390
|
change: (category: string) => void;
|
|
12538
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12391
|
+
}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_47<{
|
|
12539
12392
|
/**
|
|
12540
12393
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
12541
12394
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -12552,7 +12405,7 @@ export declare type BentoSecondaryNavItems = Array<BentoSecondaryNavItemsItem |
|
|
|
12552
12405
|
|
|
12553
12406
|
export declare interface BentoSecondaryNavItemsCategory {
|
|
12554
12407
|
label: string;
|
|
12555
|
-
items: BentoSecondaryNavItemsItem
|
|
12408
|
+
items: Array<BentoSecondaryNavItemsItem>;
|
|
12556
12409
|
}
|
|
12557
12410
|
|
|
12558
12411
|
export declare interface BentoSecondaryNavItemsItem {
|
|
@@ -12580,7 +12433,7 @@ export declare interface BentoSecondaryNavState {
|
|
|
12580
12433
|
* `
|
|
12581
12434
|
* }
|
|
12582
12435
|
*/
|
|
12583
|
-
export declare const BentoSegmentedControl: DefineComponent<
|
|
12436
|
+
export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_48<BentoSegmentedControlProps>, {
|
|
12584
12437
|
ariaLabel: any;
|
|
12585
12438
|
fullWidth: boolean;
|
|
12586
12439
|
wrap: boolean;
|
|
@@ -12589,7 +12442,7 @@ modelValue: any;
|
|
|
12589
12442
|
"update:model-value": (value: any) => void;
|
|
12590
12443
|
} & {
|
|
12591
12444
|
input: (value: BentoSegmentedControlValue) => void;
|
|
12592
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12445
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_48<BentoSegmentedControlProps>, {
|
|
12593
12446
|
ariaLabel: any;
|
|
12594
12447
|
fullWidth: boolean;
|
|
12595
12448
|
wrap: boolean;
|
|
@@ -12627,7 +12480,7 @@ export declare interface BentoSegmentedControlProps {
|
|
|
12627
12480
|
/**
|
|
12628
12481
|
* Items that will populate the segmented control.
|
|
12629
12482
|
*/
|
|
12630
|
-
items: BentoSegmentedControlItem
|
|
12483
|
+
items: Array<BentoSegmentedControlItem>;
|
|
12631
12484
|
/**
|
|
12632
12485
|
* Determines the selected value of the group. Corresponds to the BentoSegmentedControlItem's value.
|
|
12633
12486
|
*/
|
|
@@ -12689,6 +12542,10 @@ export declare interface BentoSelectFilterOptions {
|
|
|
12689
12542
|
* when the select filter has all items selected.
|
|
12690
12543
|
*/
|
|
12691
12544
|
messagesPersistentButtonLabelAllSelectedKey?: string;
|
|
12545
|
+
/**
|
|
12546
|
+
* The event fire when the filter is opened.
|
|
12547
|
+
*/
|
|
12548
|
+
onOpen?: () => void;
|
|
12692
12549
|
lazy?: {
|
|
12693
12550
|
/**
|
|
12694
12551
|
* Indicates whether there are more items to load
|
|
@@ -12753,6 +12610,11 @@ export declare interface BentoSelectFilterOptions {
|
|
|
12753
12610
|
* @default false
|
|
12754
12611
|
*/
|
|
12755
12612
|
enableValueLabelPair?: boolean;
|
|
12613
|
+
/**
|
|
12614
|
+
* Enables a search bar that dynamically filters values
|
|
12615
|
+
* @default true
|
|
12616
|
+
*/
|
|
12617
|
+
dynamicFiltering?: boolean;
|
|
12756
12618
|
}
|
|
12757
12619
|
|
|
12758
12620
|
export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
@@ -12775,7 +12637,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
|
12775
12637
|
* `
|
|
12776
12638
|
* }
|
|
12777
12639
|
*/
|
|
12778
|
-
export declare const BentoSelectionCard:
|
|
12640
|
+
export declare const BentoSelectionCard: __VLS_WithTemplateSlots_36<DefineComponent< {
|
|
12779
12641
|
/**
|
|
12780
12642
|
* The description of the selection card
|
|
12781
12643
|
*/
|
|
@@ -12968,7 +12830,7 @@ fullyClickable: boolean;
|
|
|
12968
12830
|
* `,
|
|
12969
12831
|
* }
|
|
12970
12832
|
*/
|
|
12971
|
-
export declare const BentoSelectionCardGroup:
|
|
12833
|
+
export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_37<DefineComponent< {
|
|
12972
12834
|
/**
|
|
12973
12835
|
* Descriptive supporting text visbile underneath the label.
|
|
12974
12836
|
*/
|
|
@@ -13023,7 +12885,7 @@ default: string;
|
|
|
13023
12885
|
* The selection card group's items.
|
|
13024
12886
|
*/
|
|
13025
12887
|
items: {
|
|
13026
|
-
type: PropType<BentoSelectionCardItem
|
|
12888
|
+
type: PropType<Array<BentoSelectionCardItem>>;
|
|
13027
12889
|
required: true;
|
|
13028
12890
|
};
|
|
13029
12891
|
/**
|
|
@@ -13136,7 +12998,7 @@ default: string;
|
|
|
13136
12998
|
* The selection card group's items.
|
|
13137
12999
|
*/
|
|
13138
13000
|
items: {
|
|
13139
|
-
type: PropType<BentoSelectionCardItem
|
|
13001
|
+
type: PropType<Array<BentoSelectionCardItem>>;
|
|
13140
13002
|
required: true;
|
|
13141
13003
|
};
|
|
13142
13004
|
/**
|
|
@@ -13198,10 +13060,10 @@ disabled: boolean;
|
|
|
13198
13060
|
optional: boolean;
|
|
13199
13061
|
readonly: boolean;
|
|
13200
13062
|
layout: BentoSelectionCardGroupLayout;
|
|
13063
|
+
modelValue: BentoSelectionCardModelValue;
|
|
13064
|
+
errorMessage: string;
|
|
13201
13065
|
tooltipText: string;
|
|
13202
13066
|
hideLabel: boolean;
|
|
13203
|
-
errorMessage: string;
|
|
13204
|
-
modelValue: BentoSelectionCardModelValue;
|
|
13205
13067
|
formId: string;
|
|
13206
13068
|
itemsPerRow: GridLayoutColumnWidth;
|
|
13207
13069
|
}>, {
|
|
@@ -13284,7 +13146,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
|
|
|
13284
13146
|
* `
|
|
13285
13147
|
* }
|
|
13286
13148
|
*/
|
|
13287
|
-
export declare const BentoSidepanel:
|
|
13149
|
+
export declare const BentoSidepanel: __VLS_WithTemplateSlots_39<DefineComponent< {
|
|
13288
13150
|
/**
|
|
13289
13151
|
* The id of the current active page
|
|
13290
13152
|
* Should be the same id as the BentoSidepanelPage to be displayed
|
|
@@ -13412,7 +13274,7 @@ export declare enum BentoSidepanelEvent {
|
|
|
13412
13274
|
* `
|
|
13413
13275
|
* }
|
|
13414
13276
|
*/
|
|
13415
|
-
export declare const BentoSidepanelPage:
|
|
13277
|
+
export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_38<DefineComponent< {
|
|
13416
13278
|
/**
|
|
13417
13279
|
* List of actions that will be used to render the buttons.
|
|
13418
13280
|
* First element in the list will be rendered as "primary".
|
|
@@ -13555,7 +13417,7 @@ destructiveActions: boolean;
|
|
|
13555
13417
|
* `
|
|
13556
13418
|
* }
|
|
13557
13419
|
*/
|
|
13558
|
-
export declare const BentoStatus:
|
|
13420
|
+
export declare const BentoStatus: __VLS_WithTemplateSlots_40<DefineComponent<__VLS_TypePropsToRuntimeProps_49<BentoStatusProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_49<BentoStatusProps>>>, {}>, {
|
|
13559
13421
|
default: (_: {}) => any;
|
|
13560
13422
|
}>;
|
|
13561
13423
|
|
|
@@ -13600,7 +13462,7 @@ export declare enum BentoStatusVariant {
|
|
|
13600
13462
|
* `
|
|
13601
13463
|
* }
|
|
13602
13464
|
*/
|
|
13603
|
-
export declare const BentoStep:
|
|
13465
|
+
export declare const BentoStep: __VLS_WithTemplateSlots_42<DefineComponent< {
|
|
13604
13466
|
/**
|
|
13605
13467
|
* Completed status. Used on non-linear steppers to indicate if the step is completed.
|
|
13606
13468
|
*/
|
|
@@ -13657,7 +13519,7 @@ substepIndex: number;
|
|
|
13657
13519
|
* `
|
|
13658
13520
|
* }
|
|
13659
13521
|
*/
|
|
13660
|
-
export declare const BentoStepper:
|
|
13522
|
+
export declare const BentoStepper: __VLS_WithTemplateSlots_41<DefineComponent< {
|
|
13661
13523
|
/**
|
|
13662
13524
|
* Type of stepper; defines how the stepper should behave. Default: linear
|
|
13663
13525
|
* @values linear, non-linear
|
|
@@ -13720,7 +13582,7 @@ export declare type BentoStepperState = Ref<{
|
|
|
13720
13582
|
latestActiveStep: number;
|
|
13721
13583
|
type: `${BentoStepperTypeOption}`;
|
|
13722
13584
|
variant: `${BentoStepperVariantOption}`;
|
|
13723
|
-
steps: HTMLElement
|
|
13585
|
+
steps: Array<HTMLElement>;
|
|
13724
13586
|
isParentStep?: boolean;
|
|
13725
13587
|
navigateToStep: (index: number) => void;
|
|
13726
13588
|
registerStep: (stepState: BentoStepperStepExposeState) => void;
|
|
@@ -13729,7 +13591,7 @@ export declare type BentoStepperState = Ref<{
|
|
|
13729
13591
|
|
|
13730
13592
|
export declare interface BentoStepperStepExposeState {
|
|
13731
13593
|
buttonElement: HTMLButtonElement | Ref<UnwrapRef<HTMLButtonElement>>;
|
|
13732
|
-
substeps: BentoStepperStepExposeState
|
|
13594
|
+
substeps: Array<BentoStepperStepExposeState> | Ref<Array<BentoStepperStepExposeState>>;
|
|
13733
13595
|
stepContent: string | ComputedRef<string>;
|
|
13734
13596
|
}
|
|
13735
13597
|
|
|
@@ -13771,7 +13633,7 @@ declare interface BentoStickyTabsOptions {
|
|
|
13771
13633
|
* `
|
|
13772
13634
|
* }
|
|
13773
13635
|
*/
|
|
13774
|
-
export declare const BentoStructuredList:
|
|
13636
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_43<DefineComponent<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_50<{
|
|
13775
13637
|
/**
|
|
13776
13638
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13777
13639
|
*/
|
|
@@ -13795,7 +13657,7 @@ layout?: BentoStructuredListLayoutOptions;
|
|
|
13795
13657
|
}>, {
|
|
13796
13658
|
labelsWidth: any;
|
|
13797
13659
|
layout: string;
|
|
13798
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
13660
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_50<{
|
|
13799
13661
|
/**
|
|
13800
13662
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
13801
13663
|
*/
|
|
@@ -13849,7 +13711,7 @@ labelsWidth: number;
|
|
|
13849
13711
|
* `
|
|
13850
13712
|
* }
|
|
13851
13713
|
*/
|
|
13852
|
-
export declare const BentoStructuredListItem:
|
|
13714
|
+
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_44<DefineComponent<__VLS_TypePropsToRuntimeProps_51<{
|
|
13853
13715
|
/**
|
|
13854
13716
|
* Label to display for the value
|
|
13855
13717
|
*/
|
|
@@ -13876,7 +13738,7 @@ searchTooltip?: string;
|
|
|
13876
13738
|
truncate?: boolean;
|
|
13877
13739
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13878
13740
|
copy: (value: string) => void;
|
|
13879
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13741
|
+
}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_51<{
|
|
13880
13742
|
/**
|
|
13881
13743
|
* Label to display for the value
|
|
13882
13744
|
*/
|
|
@@ -13931,10 +13793,10 @@ declare const BentoStructuredListLayoutOptions: string[];
|
|
|
13931
13793
|
* `
|
|
13932
13794
|
* }
|
|
13933
13795
|
*/
|
|
13934
|
-
export declare const BentoSummaryGrid:
|
|
13796
|
+
export declare const BentoSummaryGrid: __VLS_WithTemplateSlots_45<DefineComponent<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoSummaryGridProps>, {
|
|
13935
13797
|
columnWidth: any;
|
|
13936
13798
|
slashedZero: boolean;
|
|
13937
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
13799
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoSummaryGridProps>, {
|
|
13938
13800
|
columnWidth: any;
|
|
13939
13801
|
slashedZero: boolean;
|
|
13940
13802
|
}>>>, {
|
|
@@ -13969,7 +13831,7 @@ export declare interface BentoSummaryGridColumnWidth {
|
|
|
13969
13831
|
* `
|
|
13970
13832
|
* }
|
|
13971
13833
|
*/
|
|
13972
|
-
export declare const BentoSummaryGridItemAmount:
|
|
13834
|
+
export declare const BentoSummaryGridItemAmount: __VLS_WithTemplateSlots_46<DefineComponent<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<BentoSummaryGridItemAmountProps>, {
|
|
13973
13835
|
copy: any;
|
|
13974
13836
|
fitContent: boolean;
|
|
13975
13837
|
infoIconTooltipText: any;
|
|
@@ -13986,7 +13848,7 @@ underlineTooltipText: any;
|
|
|
13986
13848
|
"copy-click": (event: MouseEvent) => void;
|
|
13987
13849
|
} & {
|
|
13988
13850
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
13989
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13851
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<BentoSummaryGridItemAmountProps>, {
|
|
13990
13852
|
copy: any;
|
|
13991
13853
|
fitContent: boolean;
|
|
13992
13854
|
infoIconTooltipText: any;
|
|
@@ -14046,7 +13908,7 @@ export declare interface BentoSummaryGridItemAmountProps extends BaseSummaryGrid
|
|
|
14046
13908
|
* `
|
|
14047
13909
|
* }
|
|
14048
13910
|
*/
|
|
14049
|
-
export declare const BentoSummaryGridItemCustom:
|
|
13911
|
+
export declare const BentoSummaryGridItemCustom: __VLS_WithTemplateSlots_50<DefineComponent<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_57<BentoSummaryGridItemCustomProps>, {
|
|
14050
13912
|
copy: any;
|
|
14051
13913
|
infoIconTooltipText: any;
|
|
14052
13914
|
fitContent: boolean;
|
|
@@ -14056,7 +13918,7 @@ underlineTooltipText: any;
|
|
|
14056
13918
|
"copy-click": (event: MouseEvent) => void;
|
|
14057
13919
|
} & {
|
|
14058
13920
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
14059
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13921
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_57<BentoSummaryGridItemCustomProps>, {
|
|
14060
13922
|
copy: any;
|
|
14061
13923
|
infoIconTooltipText: any;
|
|
14062
13924
|
fitContent: boolean;
|
|
@@ -14120,7 +13982,7 @@ export declare interface BentoSummaryGridItemCustomProps {
|
|
|
14120
13982
|
* `
|
|
14121
13983
|
* }
|
|
14122
13984
|
*/
|
|
14123
|
-
export declare const BentoSummaryGridItemNumeric:
|
|
13985
|
+
export declare const BentoSummaryGridItemNumeric: __VLS_WithTemplateSlots_47<DefineComponent<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<BentoSummaryGridItemNumericProps>, {
|
|
14124
13986
|
copy: any;
|
|
14125
13987
|
fitContent: boolean;
|
|
14126
13988
|
infoIconTooltipText: any;
|
|
@@ -14136,7 +13998,7 @@ underlineTooltipText: any;
|
|
|
14136
13998
|
"copy-click": (event: MouseEvent) => void;
|
|
14137
13999
|
} & {
|
|
14138
14000
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
14139
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14001
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<BentoSummaryGridItemNumericProps>, {
|
|
14140
14002
|
copy: any;
|
|
14141
14003
|
fitContent: boolean;
|
|
14142
14004
|
infoIconTooltipText: any;
|
|
@@ -14195,7 +14057,7 @@ export declare interface BentoSummaryGridItemNumericProps extends BaseSummaryGri
|
|
|
14195
14057
|
* `
|
|
14196
14058
|
* }
|
|
14197
14059
|
*/
|
|
14198
|
-
export declare const BentoSummaryGridItemPercentage:
|
|
14060
|
+
export declare const BentoSummaryGridItemPercentage: __VLS_WithTemplateSlots_48<DefineComponent<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<BentoSummaryGridItemPercentageProps>, {
|
|
14199
14061
|
copy: any;
|
|
14200
14062
|
fitContent: boolean;
|
|
14201
14063
|
infoIconTooltipText: any;
|
|
@@ -14211,7 +14073,7 @@ underlineTooltipText: any;
|
|
|
14211
14073
|
"copy-click": (event: MouseEvent) => void;
|
|
14212
14074
|
} & {
|
|
14213
14075
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
14214
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14076
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<BentoSummaryGridItemPercentageProps>, {
|
|
14215
14077
|
copy: any;
|
|
14216
14078
|
fitContent: boolean;
|
|
14217
14079
|
infoIconTooltipText: any;
|
|
@@ -14276,7 +14138,7 @@ export declare enum BentoSummaryGridItemSize {
|
|
|
14276
14138
|
* `
|
|
14277
14139
|
* }
|
|
14278
14140
|
*/
|
|
14279
|
-
export declare const BentoSummaryGridItemText:
|
|
14141
|
+
export declare const BentoSummaryGridItemText: __VLS_WithTemplateSlots_49<DefineComponent<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_56<BentoSummaryGridItemTextProps>, {
|
|
14280
14142
|
copy: any;
|
|
14281
14143
|
fitContent: boolean;
|
|
14282
14144
|
infoIconTooltipText: any;
|
|
@@ -14286,7 +14148,7 @@ underlineTooltipText: any;
|
|
|
14286
14148
|
"copy-click": (event: MouseEvent) => void;
|
|
14287
14149
|
} & {
|
|
14288
14150
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
14289
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14151
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_56<BentoSummaryGridItemTextProps>, {
|
|
14290
14152
|
copy: any;
|
|
14291
14153
|
fitContent: boolean;
|
|
14292
14154
|
infoIconTooltipText: any;
|
|
@@ -14378,12 +14240,12 @@ export declare interface BentoSummaryGridProps {
|
|
|
14378
14240
|
* </bento-tabs>
|
|
14379
14241
|
* </template>
|
|
14380
14242
|
*/
|
|
14381
|
-
export declare const BentoTab:
|
|
14243
|
+
export declare const BentoTab: __VLS_WithTemplateSlots_51<DefineComponent<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<BentoTabProps>, {
|
|
14382
14244
|
counter: any;
|
|
14383
14245
|
disabled: boolean;
|
|
14384
14246
|
hidden: boolean;
|
|
14385
14247
|
withNotificationIndicator: boolean;
|
|
14386
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14248
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<BentoTabProps>, {
|
|
14387
14249
|
counter: any;
|
|
14388
14250
|
disabled: boolean;
|
|
14389
14251
|
hidden: boolean;
|
|
@@ -14405,7 +14267,7 @@ declare interface BentoTab_2 {
|
|
|
14405
14267
|
disabled: Ref<boolean>;
|
|
14406
14268
|
hidden: Ref<boolean>;
|
|
14407
14269
|
id: string;
|
|
14408
|
-
title:
|
|
14270
|
+
title: MaybeRef_2<string>;
|
|
14409
14271
|
withNotificationIndicator: Ref<boolean>;
|
|
14410
14272
|
}
|
|
14411
14273
|
|
|
@@ -14532,11 +14394,11 @@ declare enum BentoTabsEvent {
|
|
|
14532
14394
|
ACTIVE_TAB_INDEX = "update:active-tab-index"
|
|
14533
14395
|
}
|
|
14534
14396
|
|
|
14535
|
-
export declare const BentoTag: DefineComponent<
|
|
14397
|
+
export declare const BentoTag: DefineComponent<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_44<BentoTagProps>, {
|
|
14536
14398
|
label: any;
|
|
14537
14399
|
truncate: any;
|
|
14538
14400
|
variant: BentoTagVariant;
|
|
14539
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14401
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_44<BentoTagProps>, {
|
|
14540
14402
|
label: any;
|
|
14541
14403
|
truncate: any;
|
|
14542
14404
|
variant: BentoTagVariant;
|
|
@@ -14550,7 +14412,7 @@ export declare type BentoTagListboxOptionItem = OmitStrict<BentoListboxOptionIte
|
|
|
14550
14412
|
variant: BentoTagVariant | `${BentoTagVariant}`;
|
|
14551
14413
|
};
|
|
14552
14414
|
|
|
14553
|
-
export declare type BentoTagListboxOptions = BentoTagListboxOptionItem
|
|
14415
|
+
export declare type BentoTagListboxOptions = Array<BentoTagListboxOptionItem>;
|
|
14554
14416
|
|
|
14555
14417
|
export declare interface BentoTagProps {
|
|
14556
14418
|
/**
|
|
@@ -14593,114 +14455,23 @@ declare interface BentoTeleportProps {
|
|
|
14593
14455
|
to?: string;
|
|
14594
14456
|
}
|
|
14595
14457
|
|
|
14596
|
-
export declare const BentoTextarea: DefineComponent<
|
|
14597
|
-
|
|
14598
|
-
|
|
14599
|
-
|
|
14600
|
-
|
|
14601
|
-
|
|
14602
|
-
|
|
14603
|
-
|
|
14604
|
-
|
|
14605
|
-
|
|
14606
|
-
|
|
14607
|
-
|
|
14608
|
-
|
|
14609
|
-
|
|
14610
|
-
|
|
14611
|
-
|
|
14612
|
-
|
|
14613
|
-
*/
|
|
14614
|
-
description: {
|
|
14615
|
-
type: StringConstructor;
|
|
14616
|
-
default: string;
|
|
14617
|
-
};
|
|
14618
|
-
/**
|
|
14619
|
-
* Disables the possibility of changing value in the textarea
|
|
14620
|
-
*/
|
|
14621
|
-
disabled: {
|
|
14622
|
-
type: BooleanConstructor;
|
|
14623
|
-
default: boolean;
|
|
14624
|
-
};
|
|
14625
|
-
/**
|
|
14626
|
-
* If set to true, shows a button to clear all the text
|
|
14627
|
-
*/
|
|
14628
|
-
clearable: {
|
|
14629
|
-
type: BooleanConstructor;
|
|
14630
|
-
default: boolean;
|
|
14631
|
-
};
|
|
14632
|
-
/**
|
|
14633
|
-
* Adds error text
|
|
14634
|
-
*/
|
|
14635
|
-
errorMessage: {
|
|
14636
|
-
type: StringConstructor;
|
|
14637
|
-
default: string;
|
|
14638
|
-
};
|
|
14639
|
-
/**
|
|
14640
|
-
* Sets the height of the textarea, e.g 200px OR 20vh
|
|
14641
|
-
*/
|
|
14642
|
-
height: {
|
|
14643
|
-
type: StringConstructor;
|
|
14644
|
-
default: any;
|
|
14645
|
-
};
|
|
14646
|
-
/**
|
|
14647
|
-
* Text displayed as the label of the textarea
|
|
14648
|
-
*/
|
|
14649
|
-
label: {
|
|
14650
|
-
type: StringConstructor;
|
|
14651
|
-
default: string;
|
|
14652
|
-
};
|
|
14653
|
-
/**
|
|
14654
|
-
* Highlights the textarea is optional.
|
|
14655
|
-
*/
|
|
14656
|
-
optional: {
|
|
14657
|
-
type: BooleanConstructor;
|
|
14658
|
-
default: boolean;
|
|
14659
|
-
};
|
|
14660
|
-
/**
|
|
14661
|
-
* Text displayed as the placeholder of the textarea
|
|
14662
|
-
*/
|
|
14663
|
-
placeholder: {
|
|
14664
|
-
type: StringConstructor;
|
|
14665
|
-
default: string;
|
|
14666
|
-
};
|
|
14667
|
-
/**
|
|
14668
|
-
* Set the textarea to read only state.
|
|
14669
|
-
*/
|
|
14670
|
-
readonly: {
|
|
14671
|
-
type: BooleanConstructor;
|
|
14672
|
-
default: boolean;
|
|
14673
|
-
};
|
|
14674
|
-
/**
|
|
14675
|
-
* Indicates the possibility of resize the textarea
|
|
14676
|
-
*/
|
|
14677
|
-
resizable: {
|
|
14678
|
-
type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
|
|
14679
|
-
default: BentoTextareaResizeOption;
|
|
14680
|
-
validator: (value: BentoTextareaResizeOption) => boolean;
|
|
14681
|
-
};
|
|
14682
|
-
/**
|
|
14683
|
-
* Highlights the textarea is required.
|
|
14684
|
-
*/
|
|
14685
|
-
required: {
|
|
14686
|
-
type: BooleanConstructor;
|
|
14687
|
-
default: boolean;
|
|
14688
|
-
};
|
|
14689
|
-
/**
|
|
14690
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
14691
|
-
*/
|
|
14692
|
-
tooltipText: {
|
|
14693
|
-
type: StringConstructor;
|
|
14694
|
-
default: any;
|
|
14695
|
-
};
|
|
14696
|
-
/**
|
|
14697
|
-
* Text displayed as the value of the textarea
|
|
14698
|
-
*/
|
|
14699
|
-
value: {
|
|
14700
|
-
type: StringConstructor;
|
|
14701
|
-
default: string;
|
|
14702
|
-
};
|
|
14703
|
-
}, {
|
|
14458
|
+
export declare const BentoTextarea: DefineComponent<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_59<BentoTextareaProps>, {
|
|
14459
|
+
ariaLabel: any;
|
|
14460
|
+
characterLimit: any;
|
|
14461
|
+
description: string;
|
|
14462
|
+
disabled: boolean;
|
|
14463
|
+
clearable: boolean;
|
|
14464
|
+
errorMessage: string;
|
|
14465
|
+
height: any;
|
|
14466
|
+
label: string;
|
|
14467
|
+
optional: boolean;
|
|
14468
|
+
placeholder: string;
|
|
14469
|
+
readonly: boolean;
|
|
14470
|
+
resizable: string;
|
|
14471
|
+
required: boolean;
|
|
14472
|
+
tooltipText: any;
|
|
14473
|
+
value: string;
|
|
14474
|
+
}>, {
|
|
14704
14475
|
focus: () => void;
|
|
14705
14476
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14706
14477
|
blur: () => void;
|
|
@@ -14718,114 +14489,23 @@ input: (value: string) => void;
|
|
|
14718
14489
|
keydown: (event: KeyboardEvent) => void;
|
|
14719
14490
|
} & {
|
|
14720
14491
|
keyup: (event: KeyboardEvent) => void;
|
|
14721
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14722
|
-
|
|
14723
|
-
|
|
14724
|
-
|
|
14725
|
-
|
|
14726
|
-
|
|
14727
|
-
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
|
|
14731
|
-
|
|
14732
|
-
|
|
14733
|
-
|
|
14734
|
-
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
|
|
14738
|
-
*/
|
|
14739
|
-
description: {
|
|
14740
|
-
type: StringConstructor;
|
|
14741
|
-
default: string;
|
|
14742
|
-
};
|
|
14743
|
-
/**
|
|
14744
|
-
* Disables the possibility of changing value in the textarea
|
|
14745
|
-
*/
|
|
14746
|
-
disabled: {
|
|
14747
|
-
type: BooleanConstructor;
|
|
14748
|
-
default: boolean;
|
|
14749
|
-
};
|
|
14750
|
-
/**
|
|
14751
|
-
* If set to true, shows a button to clear all the text
|
|
14752
|
-
*/
|
|
14753
|
-
clearable: {
|
|
14754
|
-
type: BooleanConstructor;
|
|
14755
|
-
default: boolean;
|
|
14756
|
-
};
|
|
14757
|
-
/**
|
|
14758
|
-
* Adds error text
|
|
14759
|
-
*/
|
|
14760
|
-
errorMessage: {
|
|
14761
|
-
type: StringConstructor;
|
|
14762
|
-
default: string;
|
|
14763
|
-
};
|
|
14764
|
-
/**
|
|
14765
|
-
* Sets the height of the textarea, e.g 200px OR 20vh
|
|
14766
|
-
*/
|
|
14767
|
-
height: {
|
|
14768
|
-
type: StringConstructor;
|
|
14769
|
-
default: any;
|
|
14770
|
-
};
|
|
14771
|
-
/**
|
|
14772
|
-
* Text displayed as the label of the textarea
|
|
14773
|
-
*/
|
|
14774
|
-
label: {
|
|
14775
|
-
type: StringConstructor;
|
|
14776
|
-
default: string;
|
|
14777
|
-
};
|
|
14778
|
-
/**
|
|
14779
|
-
* Highlights the textarea is optional.
|
|
14780
|
-
*/
|
|
14781
|
-
optional: {
|
|
14782
|
-
type: BooleanConstructor;
|
|
14783
|
-
default: boolean;
|
|
14784
|
-
};
|
|
14785
|
-
/**
|
|
14786
|
-
* Text displayed as the placeholder of the textarea
|
|
14787
|
-
*/
|
|
14788
|
-
placeholder: {
|
|
14789
|
-
type: StringConstructor;
|
|
14790
|
-
default: string;
|
|
14791
|
-
};
|
|
14792
|
-
/**
|
|
14793
|
-
* Set the textarea to read only state.
|
|
14794
|
-
*/
|
|
14795
|
-
readonly: {
|
|
14796
|
-
type: BooleanConstructor;
|
|
14797
|
-
default: boolean;
|
|
14798
|
-
};
|
|
14799
|
-
/**
|
|
14800
|
-
* Indicates the possibility of resize the textarea
|
|
14801
|
-
*/
|
|
14802
|
-
resizable: {
|
|
14803
|
-
type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
|
|
14804
|
-
default: BentoTextareaResizeOption;
|
|
14805
|
-
validator: (value: BentoTextareaResizeOption) => boolean;
|
|
14806
|
-
};
|
|
14807
|
-
/**
|
|
14808
|
-
* Highlights the textarea is required.
|
|
14809
|
-
*/
|
|
14810
|
-
required: {
|
|
14811
|
-
type: BooleanConstructor;
|
|
14812
|
-
default: boolean;
|
|
14813
|
-
};
|
|
14814
|
-
/**
|
|
14815
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
14816
|
-
*/
|
|
14817
|
-
tooltipText: {
|
|
14818
|
-
type: StringConstructor;
|
|
14819
|
-
default: any;
|
|
14820
|
-
};
|
|
14821
|
-
/**
|
|
14822
|
-
* Text displayed as the value of the textarea
|
|
14823
|
-
*/
|
|
14824
|
-
value: {
|
|
14825
|
-
type: StringConstructor;
|
|
14826
|
-
default: string;
|
|
14827
|
-
};
|
|
14828
|
-
}>>, {
|
|
14492
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_59<BentoTextareaProps>, {
|
|
14493
|
+
ariaLabel: any;
|
|
14494
|
+
characterLimit: any;
|
|
14495
|
+
description: string;
|
|
14496
|
+
disabled: boolean;
|
|
14497
|
+
clearable: boolean;
|
|
14498
|
+
errorMessage: string;
|
|
14499
|
+
height: any;
|
|
14500
|
+
label: string;
|
|
14501
|
+
optional: boolean;
|
|
14502
|
+
placeholder: string;
|
|
14503
|
+
readonly: boolean;
|
|
14504
|
+
resizable: string;
|
|
14505
|
+
required: boolean;
|
|
14506
|
+
tooltipText: any;
|
|
14507
|
+
value: string;
|
|
14508
|
+
}>>>, {
|
|
14829
14509
|
value: string;
|
|
14830
14510
|
description: string;
|
|
14831
14511
|
label: string;
|
|
@@ -14833,16 +14513,49 @@ required: boolean;
|
|
|
14833
14513
|
disabled: boolean;
|
|
14834
14514
|
optional: boolean;
|
|
14835
14515
|
readonly: boolean;
|
|
14836
|
-
height: string;
|
|
14516
|
+
height: string | null;
|
|
14837
14517
|
ariaLabel: string;
|
|
14838
|
-
tooltipText: string;
|
|
14839
14518
|
errorMessage: string;
|
|
14519
|
+
tooltipText: string;
|
|
14840
14520
|
characterLimit: number;
|
|
14841
14521
|
placeholder: string;
|
|
14842
14522
|
clearable: boolean;
|
|
14843
|
-
resizable:
|
|
14523
|
+
resizable: BentoTextareaResizeOption | `${BentoTextareaResizeOption}`;
|
|
14844
14524
|
}>;
|
|
14845
14525
|
|
|
14526
|
+
declare interface BentoTextareaProps extends FormField {
|
|
14527
|
+
/**
|
|
14528
|
+
* Text that labels the input element
|
|
14529
|
+
* @default undefined
|
|
14530
|
+
*/
|
|
14531
|
+
ariaLabel?: string;
|
|
14532
|
+
/**
|
|
14533
|
+
* Text that shows number of characters in textarea
|
|
14534
|
+
* @default undefined
|
|
14535
|
+
*/
|
|
14536
|
+
characterLimit?: number;
|
|
14537
|
+
/**
|
|
14538
|
+
* If set to true, shows a button to clear all the text
|
|
14539
|
+
* @default false
|
|
14540
|
+
*/
|
|
14541
|
+
clearable?: boolean;
|
|
14542
|
+
/**
|
|
14543
|
+
* Sets the height of the textarea, e.g 200px OR 20vh
|
|
14544
|
+
* @default null
|
|
14545
|
+
*/
|
|
14546
|
+
height?: string | null;
|
|
14547
|
+
/**
|
|
14548
|
+
* Indicates the possibility of resize the textarea.
|
|
14549
|
+
* Accepts the Enum or the string literal version.
|
|
14550
|
+
* @default BentoTextareaResizeOption.BOTH
|
|
14551
|
+
*/
|
|
14552
|
+
resizable?: BentoTextareaResizeOption | `${BentoTextareaResizeOption}`;
|
|
14553
|
+
/**
|
|
14554
|
+
* Text displayed as the value of the textarea
|
|
14555
|
+
*/
|
|
14556
|
+
value?: string;
|
|
14557
|
+
}
|
|
14558
|
+
|
|
14846
14559
|
/**
|
|
14847
14560
|
* @deprecated for usage with properties since version 2.0. Use the string literal instead.
|
|
14848
14561
|
*/
|
|
@@ -14935,127 +14648,155 @@ updateNoteContent: (newTimelineNoteContent: string) => void;
|
|
|
14935
14648
|
addNoteToTimeline: () => void;
|
|
14936
14649
|
showAddNoteTextArea: Ref<boolean>;
|
|
14937
14650
|
addNoteTextareaRef: Ref<Vue3Instance< {}, Readonly<ExtractPropTypes< {
|
|
14938
|
-
|
|
14939
|
-
type:
|
|
14940
|
-
|
|
14941
|
-
|
|
14942
|
-
characterLimit: {
|
|
14943
|
-
type: NumberConstructor;
|
|
14944
|
-
default: any;
|
|
14651
|
+
value: {
|
|
14652
|
+
type: PropType<string>;
|
|
14653
|
+
} & {
|
|
14654
|
+
default: string;
|
|
14945
14655
|
};
|
|
14946
14656
|
description: {
|
|
14947
|
-
type:
|
|
14657
|
+
type: PropType<string>;
|
|
14658
|
+
} & {
|
|
14659
|
+
default: string;
|
|
14660
|
+
};
|
|
14661
|
+
label: {
|
|
14662
|
+
type: PropType<string>;
|
|
14663
|
+
} & {
|
|
14948
14664
|
default: string;
|
|
14949
14665
|
};
|
|
14666
|
+
required: {
|
|
14667
|
+
type: PropType<boolean>;
|
|
14668
|
+
} & {
|
|
14669
|
+
default: boolean;
|
|
14670
|
+
};
|
|
14950
14671
|
disabled: {
|
|
14951
|
-
type:
|
|
14672
|
+
type: PropType<boolean>;
|
|
14673
|
+
} & {
|
|
14952
14674
|
default: boolean;
|
|
14953
14675
|
};
|
|
14954
|
-
|
|
14955
|
-
type:
|
|
14676
|
+
optional: {
|
|
14677
|
+
type: PropType<boolean>;
|
|
14678
|
+
} & {
|
|
14956
14679
|
default: boolean;
|
|
14957
14680
|
};
|
|
14958
|
-
|
|
14959
|
-
type:
|
|
14960
|
-
|
|
14681
|
+
readonly: {
|
|
14682
|
+
type: PropType<boolean>;
|
|
14683
|
+
} & {
|
|
14684
|
+
default: boolean;
|
|
14961
14685
|
};
|
|
14962
14686
|
height: {
|
|
14963
|
-
type:
|
|
14687
|
+
type: PropType<string>;
|
|
14688
|
+
} & {
|
|
14964
14689
|
default: any;
|
|
14965
14690
|
};
|
|
14966
|
-
|
|
14967
|
-
type:
|
|
14691
|
+
ariaLabel: {
|
|
14692
|
+
type: PropType<string>;
|
|
14693
|
+
} & {
|
|
14694
|
+
default: any;
|
|
14695
|
+
};
|
|
14696
|
+
errorMessage: {
|
|
14697
|
+
type: PropType<string>;
|
|
14698
|
+
} & {
|
|
14968
14699
|
default: string;
|
|
14969
14700
|
};
|
|
14970
|
-
|
|
14971
|
-
type:
|
|
14972
|
-
|
|
14701
|
+
tooltipText: {
|
|
14702
|
+
type: PropType<string>;
|
|
14703
|
+
} & {
|
|
14704
|
+
default: any;
|
|
14705
|
+
};
|
|
14706
|
+
characterLimit: {
|
|
14707
|
+
type: PropType<number>;
|
|
14708
|
+
} & {
|
|
14709
|
+
default: any;
|
|
14973
14710
|
};
|
|
14974
14711
|
placeholder: {
|
|
14975
|
-
type:
|
|
14712
|
+
type: PropType<string>;
|
|
14713
|
+
} & {
|
|
14976
14714
|
default: string;
|
|
14977
14715
|
};
|
|
14978
|
-
|
|
14979
|
-
type:
|
|
14716
|
+
clearable: {
|
|
14717
|
+
type: PropType<boolean>;
|
|
14718
|
+
} & {
|
|
14980
14719
|
default: boolean;
|
|
14981
14720
|
};
|
|
14982
14721
|
resizable: {
|
|
14983
|
-
type: PropType<
|
|
14984
|
-
|
|
14985
|
-
validator: (value: BentoTextareaResizeOption) => boolean;
|
|
14986
|
-
};
|
|
14987
|
-
required: {
|
|
14988
|
-
type: BooleanConstructor;
|
|
14989
|
-
default: boolean;
|
|
14990
|
-
};
|
|
14991
|
-
tooltipText: {
|
|
14992
|
-
type: StringConstructor;
|
|
14993
|
-
default: any;
|
|
14994
|
-
};
|
|
14995
|
-
value: {
|
|
14996
|
-
type: StringConstructor;
|
|
14722
|
+
type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
|
|
14723
|
+
} & {
|
|
14997
14724
|
default: string;
|
|
14998
14725
|
};
|
|
14999
14726
|
}>>, Readonly<ExtractPropTypes< {
|
|
15000
|
-
|
|
15001
|
-
type:
|
|
15002
|
-
|
|
15003
|
-
|
|
15004
|
-
characterLimit: {
|
|
15005
|
-
type: NumberConstructor;
|
|
15006
|
-
default: any;
|
|
14727
|
+
value: {
|
|
14728
|
+
type: PropType<string>;
|
|
14729
|
+
} & {
|
|
14730
|
+
default: string;
|
|
15007
14731
|
};
|
|
15008
14732
|
description: {
|
|
15009
|
-
type:
|
|
14733
|
+
type: PropType<string>;
|
|
14734
|
+
} & {
|
|
14735
|
+
default: string;
|
|
14736
|
+
};
|
|
14737
|
+
label: {
|
|
14738
|
+
type: PropType<string>;
|
|
14739
|
+
} & {
|
|
15010
14740
|
default: string;
|
|
15011
14741
|
};
|
|
14742
|
+
required: {
|
|
14743
|
+
type: PropType<boolean>;
|
|
14744
|
+
} & {
|
|
14745
|
+
default: boolean;
|
|
14746
|
+
};
|
|
15012
14747
|
disabled: {
|
|
15013
|
-
type:
|
|
14748
|
+
type: PropType<boolean>;
|
|
14749
|
+
} & {
|
|
15014
14750
|
default: boolean;
|
|
15015
14751
|
};
|
|
15016
|
-
|
|
15017
|
-
type:
|
|
14752
|
+
optional: {
|
|
14753
|
+
type: PropType<boolean>;
|
|
14754
|
+
} & {
|
|
14755
|
+
default: boolean;
|
|
14756
|
+
};
|
|
14757
|
+
readonly: {
|
|
14758
|
+
type: PropType<boolean>;
|
|
14759
|
+
} & {
|
|
15018
14760
|
default: boolean;
|
|
15019
14761
|
};
|
|
14762
|
+
height: {
|
|
14763
|
+
type: PropType<string>;
|
|
14764
|
+
} & {
|
|
14765
|
+
default: any;
|
|
14766
|
+
};
|
|
14767
|
+
ariaLabel: {
|
|
14768
|
+
type: PropType<string>;
|
|
14769
|
+
} & {
|
|
14770
|
+
default: any;
|
|
14771
|
+
};
|
|
15020
14772
|
errorMessage: {
|
|
15021
|
-
type:
|
|
14773
|
+
type: PropType<string>;
|
|
14774
|
+
} & {
|
|
15022
14775
|
default: string;
|
|
15023
14776
|
};
|
|
15024
|
-
|
|
15025
|
-
type:
|
|
14777
|
+
tooltipText: {
|
|
14778
|
+
type: PropType<string>;
|
|
14779
|
+
} & {
|
|
15026
14780
|
default: any;
|
|
15027
14781
|
};
|
|
15028
|
-
|
|
15029
|
-
type:
|
|
15030
|
-
|
|
15031
|
-
|
|
15032
|
-
optional: {
|
|
15033
|
-
type: BooleanConstructor;
|
|
15034
|
-
default: boolean;
|
|
14782
|
+
characterLimit: {
|
|
14783
|
+
type: PropType<number>;
|
|
14784
|
+
} & {
|
|
14785
|
+
default: any;
|
|
15035
14786
|
};
|
|
15036
14787
|
placeholder: {
|
|
15037
|
-
type:
|
|
14788
|
+
type: PropType<string>;
|
|
14789
|
+
} & {
|
|
15038
14790
|
default: string;
|
|
15039
14791
|
};
|
|
15040
|
-
|
|
15041
|
-
type:
|
|
14792
|
+
clearable: {
|
|
14793
|
+
type: PropType<boolean>;
|
|
14794
|
+
} & {
|
|
15042
14795
|
default: boolean;
|
|
15043
14796
|
};
|
|
15044
14797
|
resizable: {
|
|
15045
|
-
type: PropType<
|
|
15046
|
-
|
|
15047
|
-
validator: (value: BentoTextareaResizeOption) => boolean;
|
|
15048
|
-
};
|
|
15049
|
-
required: {
|
|
15050
|
-
type: BooleanConstructor;
|
|
15051
|
-
default: boolean;
|
|
15052
|
-
};
|
|
15053
|
-
tooltipText: {
|
|
15054
|
-
type: StringConstructor;
|
|
15055
|
-
default: any;
|
|
15056
|
-
};
|
|
15057
|
-
value: {
|
|
15058
|
-
type: StringConstructor;
|
|
14798
|
+
type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
|
|
14799
|
+
} & {
|
|
15059
14800
|
default: string;
|
|
15060
14801
|
};
|
|
15061
14802
|
}>>, {
|
|
@@ -15082,138 +14823,166 @@ required: boolean;
|
|
|
15082
14823
|
disabled: boolean;
|
|
15083
14824
|
optional: boolean;
|
|
15084
14825
|
readonly: boolean;
|
|
15085
|
-
height: string;
|
|
14826
|
+
height: string | null;
|
|
15086
14827
|
ariaLabel: string;
|
|
15087
|
-
tooltipText: string;
|
|
15088
14828
|
errorMessage: string;
|
|
14829
|
+
tooltipText: string;
|
|
15089
14830
|
characterLimit: number;
|
|
15090
14831
|
placeholder: string;
|
|
15091
14832
|
clearable: boolean;
|
|
15092
|
-
resizable:
|
|
14833
|
+
resizable: BentoTextareaResizeOption | `${BentoTextareaResizeOption}`;
|
|
15093
14834
|
}, true, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<ExtractPropTypes< {
|
|
15094
|
-
|
|
15095
|
-
type:
|
|
15096
|
-
|
|
15097
|
-
|
|
15098
|
-
characterLimit: {
|
|
15099
|
-
type: NumberConstructor;
|
|
15100
|
-
default: any;
|
|
14835
|
+
value: {
|
|
14836
|
+
type: PropType<string>;
|
|
14837
|
+
} & {
|
|
14838
|
+
default: string;
|
|
15101
14839
|
};
|
|
15102
14840
|
description: {
|
|
15103
|
-
type:
|
|
14841
|
+
type: PropType<string>;
|
|
14842
|
+
} & {
|
|
14843
|
+
default: string;
|
|
14844
|
+
};
|
|
14845
|
+
label: {
|
|
14846
|
+
type: PropType<string>;
|
|
14847
|
+
} & {
|
|
15104
14848
|
default: string;
|
|
15105
14849
|
};
|
|
14850
|
+
required: {
|
|
14851
|
+
type: PropType<boolean>;
|
|
14852
|
+
} & {
|
|
14853
|
+
default: boolean;
|
|
14854
|
+
};
|
|
15106
14855
|
disabled: {
|
|
15107
|
-
type:
|
|
14856
|
+
type: PropType<boolean>;
|
|
14857
|
+
} & {
|
|
15108
14858
|
default: boolean;
|
|
15109
14859
|
};
|
|
15110
|
-
|
|
15111
|
-
type:
|
|
14860
|
+
optional: {
|
|
14861
|
+
type: PropType<boolean>;
|
|
14862
|
+
} & {
|
|
15112
14863
|
default: boolean;
|
|
15113
14864
|
};
|
|
15114
|
-
|
|
15115
|
-
type:
|
|
15116
|
-
|
|
14865
|
+
readonly: {
|
|
14866
|
+
type: PropType<boolean>;
|
|
14867
|
+
} & {
|
|
14868
|
+
default: boolean;
|
|
15117
14869
|
};
|
|
15118
14870
|
height: {
|
|
15119
|
-
type:
|
|
14871
|
+
type: PropType<string>;
|
|
14872
|
+
} & {
|
|
15120
14873
|
default: any;
|
|
15121
14874
|
};
|
|
15122
|
-
|
|
15123
|
-
type:
|
|
14875
|
+
ariaLabel: {
|
|
14876
|
+
type: PropType<string>;
|
|
14877
|
+
} & {
|
|
14878
|
+
default: any;
|
|
14879
|
+
};
|
|
14880
|
+
errorMessage: {
|
|
14881
|
+
type: PropType<string>;
|
|
14882
|
+
} & {
|
|
15124
14883
|
default: string;
|
|
15125
14884
|
};
|
|
15126
|
-
|
|
15127
|
-
type:
|
|
15128
|
-
|
|
14885
|
+
tooltipText: {
|
|
14886
|
+
type: PropType<string>;
|
|
14887
|
+
} & {
|
|
14888
|
+
default: any;
|
|
14889
|
+
};
|
|
14890
|
+
characterLimit: {
|
|
14891
|
+
type: PropType<number>;
|
|
14892
|
+
} & {
|
|
14893
|
+
default: any;
|
|
15129
14894
|
};
|
|
15130
14895
|
placeholder: {
|
|
15131
|
-
type:
|
|
14896
|
+
type: PropType<string>;
|
|
14897
|
+
} & {
|
|
15132
14898
|
default: string;
|
|
15133
14899
|
};
|
|
15134
|
-
|
|
15135
|
-
type:
|
|
14900
|
+
clearable: {
|
|
14901
|
+
type: PropType<boolean>;
|
|
14902
|
+
} & {
|
|
15136
14903
|
default: boolean;
|
|
15137
14904
|
};
|
|
15138
14905
|
resizable: {
|
|
15139
|
-
type: PropType<
|
|
15140
|
-
|
|
15141
|
-
validator: (value: BentoTextareaResizeOption) => boolean;
|
|
15142
|
-
};
|
|
15143
|
-
required: {
|
|
15144
|
-
type: BooleanConstructor;
|
|
15145
|
-
default: boolean;
|
|
15146
|
-
};
|
|
15147
|
-
tooltipText: {
|
|
15148
|
-
type: StringConstructor;
|
|
15149
|
-
default: any;
|
|
15150
|
-
};
|
|
15151
|
-
value: {
|
|
15152
|
-
type: StringConstructor;
|
|
14906
|
+
type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
|
|
14907
|
+
} & {
|
|
15153
14908
|
default: string;
|
|
15154
14909
|
};
|
|
15155
14910
|
}>>> & ShallowUnwrapRef< {
|
|
15156
14911
|
focus: () => void;
|
|
15157
14912
|
}> & ExtractComputedReturns< {}> & ComponentCustomProperties & Readonly<ExtractPropTypes< {
|
|
15158
|
-
|
|
15159
|
-
type:
|
|
15160
|
-
|
|
15161
|
-
|
|
15162
|
-
characterLimit: {
|
|
15163
|
-
type: NumberConstructor;
|
|
15164
|
-
default: any;
|
|
14913
|
+
value: {
|
|
14914
|
+
type: PropType<string>;
|
|
14915
|
+
} & {
|
|
14916
|
+
default: string;
|
|
15165
14917
|
};
|
|
15166
14918
|
description: {
|
|
15167
|
-
type:
|
|
14919
|
+
type: PropType<string>;
|
|
14920
|
+
} & {
|
|
14921
|
+
default: string;
|
|
14922
|
+
};
|
|
14923
|
+
label: {
|
|
14924
|
+
type: PropType<string>;
|
|
14925
|
+
} & {
|
|
15168
14926
|
default: string;
|
|
15169
14927
|
};
|
|
14928
|
+
required: {
|
|
14929
|
+
type: PropType<boolean>;
|
|
14930
|
+
} & {
|
|
14931
|
+
default: boolean;
|
|
14932
|
+
};
|
|
15170
14933
|
disabled: {
|
|
15171
|
-
type:
|
|
14934
|
+
type: PropType<boolean>;
|
|
14935
|
+
} & {
|
|
15172
14936
|
default: boolean;
|
|
15173
14937
|
};
|
|
15174
|
-
|
|
15175
|
-
type:
|
|
14938
|
+
optional: {
|
|
14939
|
+
type: PropType<boolean>;
|
|
14940
|
+
} & {
|
|
15176
14941
|
default: boolean;
|
|
15177
14942
|
};
|
|
15178
|
-
|
|
15179
|
-
type:
|
|
15180
|
-
|
|
14943
|
+
readonly: {
|
|
14944
|
+
type: PropType<boolean>;
|
|
14945
|
+
} & {
|
|
14946
|
+
default: boolean;
|
|
15181
14947
|
};
|
|
15182
14948
|
height: {
|
|
15183
|
-
type:
|
|
14949
|
+
type: PropType<string>;
|
|
14950
|
+
} & {
|
|
15184
14951
|
default: any;
|
|
15185
14952
|
};
|
|
15186
|
-
|
|
15187
|
-
type:
|
|
14953
|
+
ariaLabel: {
|
|
14954
|
+
type: PropType<string>;
|
|
14955
|
+
} & {
|
|
14956
|
+
default: any;
|
|
14957
|
+
};
|
|
14958
|
+
errorMessage: {
|
|
14959
|
+
type: PropType<string>;
|
|
14960
|
+
} & {
|
|
15188
14961
|
default: string;
|
|
15189
14962
|
};
|
|
15190
|
-
|
|
15191
|
-
type:
|
|
15192
|
-
|
|
14963
|
+
tooltipText: {
|
|
14964
|
+
type: PropType<string>;
|
|
14965
|
+
} & {
|
|
14966
|
+
default: any;
|
|
14967
|
+
};
|
|
14968
|
+
characterLimit: {
|
|
14969
|
+
type: PropType<number>;
|
|
14970
|
+
} & {
|
|
14971
|
+
default: any;
|
|
15193
14972
|
};
|
|
15194
14973
|
placeholder: {
|
|
15195
|
-
type:
|
|
14974
|
+
type: PropType<string>;
|
|
14975
|
+
} & {
|
|
15196
14976
|
default: string;
|
|
15197
14977
|
};
|
|
15198
|
-
|
|
15199
|
-
type:
|
|
14978
|
+
clearable: {
|
|
14979
|
+
type: PropType<boolean>;
|
|
14980
|
+
} & {
|
|
15200
14981
|
default: boolean;
|
|
15201
14982
|
};
|
|
15202
14983
|
resizable: {
|
|
15203
|
-
type: PropType<
|
|
15204
|
-
|
|
15205
|
-
validator: (value: BentoTextareaResizeOption) => boolean;
|
|
15206
|
-
};
|
|
15207
|
-
required: {
|
|
15208
|
-
type: BooleanConstructor;
|
|
15209
|
-
default: boolean;
|
|
15210
|
-
};
|
|
15211
|
-
tooltipText: {
|
|
15212
|
-
type: StringConstructor;
|
|
15213
|
-
default: any;
|
|
15214
|
-
};
|
|
15215
|
-
value: {
|
|
15216
|
-
type: StringConstructor;
|
|
14984
|
+
type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
|
|
14985
|
+
} & {
|
|
15217
14986
|
default: string;
|
|
15218
14987
|
};
|
|
15219
14988
|
}>>>;
|
|
@@ -15395,9 +15164,9 @@ export declare interface BentoTimelineConfigData {
|
|
|
15395
15164
|
showAll: Ref<boolean>;
|
|
15396
15165
|
showMoreIndex: Ref<number>;
|
|
15397
15166
|
hiddenItems: Ref<number>;
|
|
15398
|
-
visibleIndexes: Ref<number
|
|
15167
|
+
visibleIndexes: Ref<Array<number>>;
|
|
15399
15168
|
timegapLimit: Ref<BentoTimelineGapObject>;
|
|
15400
|
-
timelineEntries: Ref<BentoTimelineEntry
|
|
15169
|
+
timelineEntries: Ref<Array<BentoTimelineEntry>>;
|
|
15401
15170
|
}
|
|
15402
15171
|
|
|
15403
15172
|
export declare type BentoTimelineDataList = Array<BentoTimelineDataListObject>;
|
|
@@ -15541,7 +15310,7 @@ timegapAriaLabel: ComputedRef<string>;
|
|
|
15541
15310
|
isLastItem: ComputedRef<boolean>;
|
|
15542
15311
|
generateUid: (value: string) => string;
|
|
15543
15312
|
hasSlot: (name: string) => boolean;
|
|
15544
|
-
t: (key: "showMore" | "showLess" | "timegap",
|
|
15313
|
+
t: (key: "showMore" | "showLess" | "timegap", ...args: Array<any>) => string;
|
|
15545
15314
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
15546
15315
|
/**
|
|
15547
15316
|
* Additional timestamp of the event
|
|
@@ -15717,7 +15486,7 @@ export declare type BentoToastItemsList = Array<BentoToastItem>;
|
|
|
15717
15486
|
* `,
|
|
15718
15487
|
* }
|
|
15719
15488
|
*/
|
|
15720
|
-
export declare const BentoToggle: DefineComponent< {
|
|
15489
|
+
export declare const BentoToggle: __VLS_WithTemplateSlots_52<DefineComponent< {
|
|
15721
15490
|
/**
|
|
15722
15491
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
15723
15492
|
*/
|
|
@@ -15758,20 +15527,9 @@ value: {
|
|
|
15758
15527
|
type: BooleanConstructor;
|
|
15759
15528
|
default: boolean;
|
|
15760
15529
|
};
|
|
15761
|
-
}, {
|
|
15762
|
-
|
|
15763
|
-
|
|
15764
|
-
computedDescription: ComputedRef<string>;
|
|
15765
|
-
defaultSlotValue: string;
|
|
15766
|
-
descriptionSlotValue: string;
|
|
15767
|
-
conditionalClasses: ComputedRef< {
|
|
15768
|
-
[key: string]: boolean;
|
|
15769
|
-
}>;
|
|
15770
|
-
descriptionId: string;
|
|
15771
|
-
hasSlot: (name: string) => boolean;
|
|
15772
|
-
onChange: (event: Event) => void;
|
|
15773
|
-
onClick: (event: Event) => void;
|
|
15774
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "input"[], string, Readonly<ExtractPropTypes< {
|
|
15530
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15531
|
+
input: (value: boolean) => void;
|
|
15532
|
+
}, string, Readonly<ExtractPropTypes< {
|
|
15775
15533
|
/**
|
|
15776
15534
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
15777
15535
|
*/
|
|
@@ -15818,6 +15576,9 @@ disabled: boolean;
|
|
|
15818
15576
|
readonly: boolean;
|
|
15819
15577
|
ariaLabel: string;
|
|
15820
15578
|
labelPosition: "after" | "before" | BentoToggleLabelPosition;
|
|
15579
|
+
}>, {
|
|
15580
|
+
default: (_: {}) => any;
|
|
15581
|
+
description: (_: {}) => any;
|
|
15821
15582
|
}>;
|
|
15822
15583
|
|
|
15823
15584
|
/**
|
|
@@ -16045,9 +15806,9 @@ default: any;
|
|
|
16045
15806
|
*
|
|
16046
15807
|
*/
|
|
16047
15808
|
steps: {
|
|
16048
|
-
type: PropType<BentoTutorialStep
|
|
15809
|
+
type: PropType<Array<BentoTutorialStep>>;
|
|
16049
15810
|
required: true;
|
|
16050
|
-
validator: (value: BentoTutorialStep
|
|
15811
|
+
validator: (value: Array<BentoTutorialStep>) => boolean;
|
|
16051
15812
|
};
|
|
16052
15813
|
/**
|
|
16053
15814
|
* Options to control the scroll into view behavior.
|
|
@@ -16073,9 +15834,9 @@ default: any;
|
|
|
16073
15834
|
*
|
|
16074
15835
|
*/
|
|
16075
15836
|
steps: {
|
|
16076
|
-
type: PropType<BentoTutorialStep
|
|
15837
|
+
type: PropType<Array<BentoTutorialStep>>;
|
|
16077
15838
|
required: true;
|
|
16078
|
-
validator: (value: BentoTutorialStep
|
|
15839
|
+
validator: (value: Array<BentoTutorialStep>) => boolean;
|
|
16079
15840
|
};
|
|
16080
15841
|
/**
|
|
16081
15842
|
* Options to control the scroll into view behavior.
|
|
@@ -16120,7 +15881,7 @@ export declare interface BentoTutorialStep {
|
|
|
16120
15881
|
* `
|
|
16121
15882
|
* }
|
|
16122
15883
|
*/
|
|
16123
|
-
export declare const BentoTypography:
|
|
15884
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_53<DefineComponent<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_60<{
|
|
16124
15885
|
/**
|
|
16125
15886
|
* Sets the HTML DOM element.
|
|
16126
15887
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16168,7 +15929,7 @@ stronger: boolean;
|
|
|
16168
15929
|
strongest: boolean;
|
|
16169
15930
|
variant: BentoTypographyVariant;
|
|
16170
15931
|
wide: boolean;
|
|
16171
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
15932
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_60<{
|
|
16172
15933
|
/**
|
|
16173
15934
|
* Sets the HTML DOM element.
|
|
16174
15935
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -16335,7 +16096,7 @@ declare interface DateRangePickerCalendarRangeSelectorItem {
|
|
|
16335
16096
|
|
|
16336
16097
|
declare type DateRangePickerCalendarRangeSelectorItems = Array<DateRangePickerCalendarRangeSelectorItem>;
|
|
16337
16098
|
|
|
16338
|
-
declare type DropdownProps =
|
|
16099
|
+
declare type DropdownProps = BentoDropdownProps;
|
|
16339
16100
|
|
|
16340
16101
|
declare type Element_2 = HTMLElement & {
|
|
16341
16102
|
__onClickOutside_stop?: () => void;
|
|
@@ -16360,56 +16121,43 @@ export declare type Expand<T> = T extends infer O ? {
|
|
|
16360
16121
|
*/
|
|
16361
16122
|
export declare type Fn = () => void;
|
|
16362
16123
|
|
|
16363
|
-
declare interface FormField {
|
|
16124
|
+
export declare interface FormField {
|
|
16364
16125
|
/**
|
|
16365
16126
|
* If set, displays a description text for the input.
|
|
16366
16127
|
*/
|
|
16367
16128
|
description?: string;
|
|
16368
|
-
|
|
16369
16129
|
/**
|
|
16370
16130
|
* If true, disables user interaction with the field.
|
|
16371
16131
|
*/
|
|
16372
16132
|
disabled?: boolean;
|
|
16373
|
-
|
|
16374
16133
|
/**
|
|
16375
16134
|
* If set, displays an error message and applies error styling to the field.
|
|
16376
16135
|
*/
|
|
16377
16136
|
errorMessage?: string;
|
|
16378
|
-
|
|
16379
16137
|
/**
|
|
16380
16138
|
* The text label displayed for the field.
|
|
16381
16139
|
*/
|
|
16382
16140
|
label?: string;
|
|
16383
|
-
|
|
16384
16141
|
/**
|
|
16385
16142
|
* If true, indicates that the field is optional.
|
|
16386
16143
|
*/
|
|
16387
16144
|
optional?: boolean;
|
|
16388
|
-
|
|
16389
16145
|
/**
|
|
16390
16146
|
* The placeholder text displayed when the field is empty.
|
|
16391
16147
|
*/
|
|
16392
16148
|
placeholder?: string;
|
|
16393
|
-
|
|
16394
16149
|
/**
|
|
16395
16150
|
* If true, makes the field's value readonly, preventing user modification.
|
|
16396
16151
|
*/
|
|
16397
16152
|
readonly?: boolean;
|
|
16398
|
-
|
|
16399
16153
|
/**
|
|
16400
16154
|
* If true, indicates that the field is required.
|
|
16401
16155
|
*/
|
|
16402
16156
|
required?: boolean;
|
|
16403
|
-
|
|
16404
16157
|
/**
|
|
16405
16158
|
* If set, displays an info icon with this tooltip message next to the label.
|
|
16406
16159
|
*/
|
|
16407
16160
|
tooltipText?: string;
|
|
16408
|
-
|
|
16409
|
-
/**
|
|
16410
|
-
* The current value of the field.
|
|
16411
|
-
*/
|
|
16412
|
-
value?: string | number;
|
|
16413
16161
|
}
|
|
16414
16162
|
|
|
16415
16163
|
declare interface GridLayoutColumnWidth {
|
|
@@ -16501,6 +16249,13 @@ export declare type MaybeReadonlyRef<T> = (() => T) | ComputedRef<T>;
|
|
|
16501
16249
|
*/
|
|
16502
16250
|
export declare type MaybeRef<T> = T | Ref<T> | Ref<UnwrapRef<T>>;
|
|
16503
16251
|
|
|
16252
|
+
/**
|
|
16253
|
+
* As recommmended by the vue community to use this type when you are not sure
|
|
16254
|
+
* if the argument is a ref.
|
|
16255
|
+
* Source: https://github.com/vueuse/vueuse/blob/main/packages/shared/utils/types.ts#L28
|
|
16256
|
+
*/
|
|
16257
|
+
declare type MaybeRef_2<T> = T | Ref<T>;
|
|
16258
|
+
|
|
16504
16259
|
/**
|
|
16505
16260
|
* Validates if the length of the provided value is greater than or equal to the specified length.
|
|
16506
16261
|
*
|
|
@@ -16512,15 +16267,13 @@ export declare function minLength(value: BentoInputFieldValue, length?: number):
|
|
|
16512
16267
|
|
|
16513
16268
|
export declare type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
16514
16269
|
|
|
16515
|
-
declare type OmitStrict_2<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
16516
|
-
|
|
16517
16270
|
declare type OnClickOutsideHandler = (evt: PointerEvent | FocusEvent) => void;
|
|
16518
16271
|
|
|
16519
16272
|
declare interface OnClickOutsideOptions {
|
|
16520
16273
|
/**
|
|
16521
16274
|
* List of elements that should not trigger the event.
|
|
16522
16275
|
*/
|
|
16523
|
-
ignore?:
|
|
16276
|
+
ignore?: Array<MaybeElementRef | string>;
|
|
16524
16277
|
/**
|
|
16525
16278
|
* Use capturing phase for internal event listener.
|
|
16526
16279
|
* @default true
|
|
@@ -16635,6 +16388,63 @@ export declare interface ToastStack {
|
|
|
16635
16388
|
*/
|
|
16636
16389
|
export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
|
|
16637
16390
|
|
|
16391
|
+
/**
|
|
16392
|
+
* A composable to wire the `bento-base-filter` component for the mandatory fields and events.
|
|
16393
|
+
*
|
|
16394
|
+
* @usage
|
|
16395
|
+
* ```vue
|
|
16396
|
+
* <template>
|
|
16397
|
+
* <bento-base-filter
|
|
16398
|
+
* :disable-apply-button="isApplyButtonDisabled"
|
|
16399
|
+
* :disable-secondary-button="isSecondaryButtonDisabled"
|
|
16400
|
+
* @ apply="updateFilter"
|
|
16401
|
+
* @ clear="clearFilter(updateFilter)"
|
|
16402
|
+
* @ open="openFilter"
|
|
16403
|
+
* @ reset="resetFilter(updateFilter)"
|
|
16404
|
+
* >
|
|
16405
|
+
* <!-- CONTENT HERE -->
|
|
16406
|
+
* </bento-base-filter>
|
|
16407
|
+
* </template>
|
|
16408
|
+
* <script>
|
|
16409
|
+
* import { ref } from 'vue'
|
|
16410
|
+
* import { useBentoBaseFilter, BentoBaseFilter, BentoBaseFilterProps } from '../..'
|
|
16411
|
+
*
|
|
16412
|
+
* type CustomFilterValue = boolean
|
|
16413
|
+
* const props = defineProps<BentoBaseFilterProps<CustomFilterValue>>();
|
|
16414
|
+
*
|
|
16415
|
+
* const {
|
|
16416
|
+
* // Values
|
|
16417
|
+
* internalFilterValue,
|
|
16418
|
+
* isSecondaryButtonDisabled,
|
|
16419
|
+
* isApplyButtonDisabled,
|
|
16420
|
+
*
|
|
16421
|
+
* // Methods
|
|
16422
|
+
* clearFilter,
|
|
16423
|
+
* resetFilter,
|
|
16424
|
+
* openFilter,
|
|
16425
|
+
* } = useBentoBaseFilter<CustomFilterValue>(toRef(props, 'value'), toRef(props, 'defaultValue'));
|
|
16426
|
+
* </script>
|
|
16427
|
+
* ```
|
|
16428
|
+
*
|
|
16429
|
+
* @param appliedFilter The currently applied filter value.
|
|
16430
|
+
* @param defaultFilter The default filter value (if available).
|
|
16431
|
+
* @returns An object containing refs and functions:
|
|
16432
|
+
* - `internalFilterValue`: The temporary state of the filter before it's applied.
|
|
16433
|
+
* - `isSecondaryButtonDisabled`: `true` if the secondary (clear/reset) button should be disabled.
|
|
16434
|
+
* - `isApplyButtonDisabled`: `true` if the apply button should be disabled.
|
|
16435
|
+
* - `clearFilter`: Clears the filter to its initial or default state.
|
|
16436
|
+
* - `resetFilter`: Resets the filter to its default state.
|
|
16437
|
+
* - `openFilter`: Syncs the internal state with the applied filter.
|
|
16438
|
+
*/
|
|
16439
|
+
export declare function useBentoBaseFilter<T>(appliedFilter: Ref<T>, defaultFilter: Ref<T>): {
|
|
16440
|
+
internalFilterValue: Ref<T>;
|
|
16441
|
+
isSecondaryButtonDisabled: ComputedRef<boolean>;
|
|
16442
|
+
isApplyButtonDisabled: ComputedRef<boolean>;
|
|
16443
|
+
clearFilter: (callback?: (newValue: T) => void) => void;
|
|
16444
|
+
resetFilter: (callback?: (newValue: T) => void) => void;
|
|
16445
|
+
openFilter: (callback?: (newValue: T) => void) => void;
|
|
16446
|
+
};
|
|
16447
|
+
|
|
16638
16448
|
export declare interface UseBentoTheme {
|
|
16639
16449
|
getTheme: () => string;
|
|
16640
16450
|
setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;
|
|
@@ -16680,14 +16490,14 @@ export declare const useClickOutside: <T extends OnClickOutsideOptions>(target:
|
|
|
16680
16490
|
*
|
|
16681
16491
|
* @returns a translated country name
|
|
16682
16492
|
*/
|
|
16683
|
-
export declare const useCountryCapital: (code:
|
|
16493
|
+
export declare const useCountryCapital: (code: MaybeRef_2<string>, locale: MaybeRef_2<string>, useFallback?: boolean) => ComputedRef<string>;
|
|
16684
16494
|
|
|
16685
16495
|
/**
|
|
16686
16496
|
* Maps an ISO code to it's translated country name.
|
|
16687
16497
|
*
|
|
16688
16498
|
* @returns a translated country name
|
|
16689
16499
|
*/
|
|
16690
|
-
export declare const useCountryName: (code:
|
|
16500
|
+
export declare const useCountryName: (code: MaybeRef_2<string>, locale: MaybeRef_2<string>, useFallback?: boolean) => ComputedRef<string>;
|
|
16691
16501
|
|
|
16692
16502
|
/**
|
|
16693
16503
|
* Retrieves a country's phone number code.
|
|
@@ -16695,7 +16505,7 @@ export declare const useCountryName: (code: MaybeRef<string>, locale: MaybeRef<s
|
|
|
16695
16505
|
* @param countryCode 2 character code in ISO 3166-1 alpha-2 format
|
|
16696
16506
|
* @returns Country's phone code
|
|
16697
16507
|
*/
|
|
16698
|
-
export declare const useCountryPhoneCode: (countryCode:
|
|
16508
|
+
export declare const useCountryPhoneCode: (countryCode: MaybeRef_2<string>) => ComputedRef<string>;
|
|
16699
16509
|
|
|
16700
16510
|
/**
|
|
16701
16511
|
* useForm composable configuration object
|
|
@@ -16750,7 +16560,7 @@ export declare interface UseForm<T> {
|
|
|
16750
16560
|
*/
|
|
16751
16561
|
export declare function useForm<T extends ZodSchema>({ validationSchema, }: UseForm<T>): {
|
|
16752
16562
|
errorBag: Ref<{
|
|
16753
|
-
[P in allKeys<(typeof validationSchema)['_type']>]?: string
|
|
16563
|
+
[P in allKeys<(typeof validationSchema)['_type']>]?: Array<string>;
|
|
16754
16564
|
}>;
|
|
16755
16565
|
errors: Ref<{
|
|
16756
16566
|
[P in allKeys<(typeof validationSchema)['_type']>]?: string;
|
|
@@ -16769,7 +16579,7 @@ export declare function useForm<T extends ZodSchema>({ validationSchema, }: UseF
|
|
|
16769
16579
|
* @returns {Ref<BentoSearchBarData>} New instance of the array filtered by the {@param searchTerm} text
|
|
16770
16580
|
* @param {Ref<Boolean>} ignoreGroups - Boolean that determines if search returns items with subitems
|
|
16771
16581
|
*/
|
|
16772
|
-
export declare function useSearchBarFilter<T extends BentoSearchBarItem>(searchTerm: Ref<string>, data: Ref<T
|
|
16582
|
+
export declare function useSearchBarFilter<T extends BentoSearchBarItem>(searchTerm: Ref<string>, data: Ref<Array<T>>, searchEvent?: (searchValue: string) => void, ignoreGroups?: Ref<boolean>): ComputedRef<any>;
|
|
16773
16583
|
|
|
16774
16584
|
declare type UseVirtualListItemHeight = number | ((index: number) => number);
|
|
16775
16585
|
|
|
@@ -16782,6 +16592,6 @@ export declare type VueInstance = ComponentPublicInstance;
|
|
|
16782
16592
|
* type Vue | Element | (Vue | Element)[] | undefined
|
|
16783
16593
|
* ```
|
|
16784
16594
|
*/
|
|
16785
|
-
export declare type VueNodeElement = Component | Element |
|
|
16595
|
+
export declare type VueNodeElement = Component | Element | Array<Component | Element> | undefined;
|
|
16786
16596
|
|
|
16787
16597
|
export { }
|