@adyen/bento-vue2 1.68.2 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +1 -0
- package/dist/@types/index.d.ts +625 -1274
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-button.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-group.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/chip.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/country.css +1 -1
- package/dist/assets/currency.css +1 -1
- package/dist/assets/dashed-underline.css +1 -1
- package/dist/assets/data-grid-template.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/divider.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown-tag.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/empty-state.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/focus-trap.css +1 -1
- package/dist/assets/footer-actions.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/grid-layout.css +1 -1
- package/dist/assets/header-meta.css +1 -1
- package/dist/assets/header-with-views.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/info-icon.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field-phone-number.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/layout-row.css +1 -1
- package/dist/assets/link.css +1 -1
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/loading-indicator.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/payment-method.css +1 -1
- package/dist/assets/popper-container.css +1 -1
- package/dist/assets/promo-banner.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/rich-text-editor.css +1 -1
- package/dist/assets/search-bar.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/segmented-control.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/status.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/assets/structured-list-item.css +1 -1
- package/dist/assets/tab.css +1 -1
- package/dist/assets/tag.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/toast.css +1 -1
- package/dist/assets/toggle-button.css +1 -1
- package/dist/assets/toggle.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/assets/tutorial.css +1 -1
- package/dist/assets/typography.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +9 -9
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.BNtdoVto.js → accordion-item.NSQ50RyR.js} +3 -3
- package/dist/chunks/accordion-item.NSQ50RyR.js.map +1 -0
- package/dist/chunks/{action-bar.DQb7WVVd.js → action-bar.Dhi6k0CP.js} +18 -19
- package/dist/chunks/action-bar.Dhi6k0CP.js.map +1 -0
- package/dist/chunks/{alert.c1rhDDrU.js → alert.Dx9P_L2k.js} +3 -3
- package/dist/chunks/{alert.c1rhDDrU.js.map → alert.Dx9P_L2k.js.map} +1 -1
- package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
- package/dist/chunks/{avatar.BgwjpLQO.js → avatar.CWmZ2n1W.js} +2 -2
- package/dist/chunks/avatar.CWmZ2n1W.js.map +1 -0
- package/dist/chunks/{base-button.-gx_u8Bd.js → base-button.BPZ_qSAu.js} +6 -6
- package/dist/chunks/base-button.BPZ_qSAu.js.map +1 -0
- package/dist/chunks/{base-modal.CkkfT6r6.js → base-modal.Cehud1uW.js} +19 -19
- package/dist/chunks/base-modal.Cehud1uW.js.map +1 -0
- package/dist/chunks/button-actions-with-menu.DIpUg6BF.js +85 -0
- package/dist/chunks/button-actions-with-menu.DIpUg6BF.js.map +1 -0
- package/dist/chunks/button-actions.types.BptAXjD8.js +8 -0
- package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -0
- package/dist/chunks/{button.hF-nD1Og.js → button.B0hSQWOR.js} +4 -4
- package/dist/chunks/button.B0hSQWOR.js.map +1 -0
- package/dist/chunks/{calendar.DvIQEYwN.js → calendar.BuAVH2aU.js} +8 -8
- package/dist/chunks/calendar.BuAVH2aU.js.map +1 -0
- package/dist/chunks/{card.CASAAsuJ.js → card.DLRC9V0Q.js} +20 -19
- package/dist/chunks/card.DLRC9V0Q.js.map +1 -0
- package/dist/chunks/{checkbox-group.QdX-NrSG.js → checkbox-group.Cdt2Ik2_.js} +6 -6
- package/dist/chunks/checkbox-group.Cdt2Ik2_.js.map +1 -0
- package/dist/chunks/{checkbox-input.CNWigbX4.js → checkbox-input.C9vmlMZe.js} +7 -7
- package/dist/chunks/checkbox-input.C9vmlMZe.js.map +1 -0
- package/dist/chunks/{checkbox.DCD6SSXC.js → checkbox.JhfbjDfJ.js} +6 -6
- package/dist/chunks/checkbox.JhfbjDfJ.js.map +1 -0
- package/dist/chunks/{chip.OV0EWIP3.js → chip.Cn68PNxA.js} +10 -10
- package/dist/chunks/chip.Cn68PNxA.js.map +1 -0
- package/dist/chunks/{code-snippet.dIKi0D7d.js → code-snippet.hYghglvk.js} +8 -8
- package/dist/chunks/code-snippet.hYghglvk.js.map +1 -0
- package/dist/chunks/{controls-group.CccuLkgP.js → controls-group.B1cxRdIA.js} +3 -3
- package/dist/chunks/{controls-group.CccuLkgP.js.map → controls-group.B1cxRdIA.js.map} +1 -1
- package/dist/chunks/{copy.CF8Fzu2Y.js → copy.UbMV4m6b.js} +14 -14
- package/dist/chunks/copy.UbMV4m6b.js.map +1 -0
- package/dist/chunks/{country.melpzEsY.js → country.CZQYhKpE.js} +6 -6
- package/dist/chunks/country.CZQYhKpE.js.map +1 -0
- package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
- package/dist/chunks/{currency.BM9OXTqe.js → currency.Oq7zcRM5.js} +3 -3
- package/dist/chunks/currency.Oq7zcRM5.js.map +1 -0
- package/dist/chunks/{dashboard-section.BIe6eVHq.js → dashboard-section.BRnRO3AZ.js} +4 -4
- package/dist/chunks/{dashboard-section.BIe6eVHq.js.map → dashboard-section.BRnRO3AZ.js.map} +1 -1
- package/dist/chunks/{dashed-underline.BbH6Lnd2.js → dashed-underline.BN_whJrR.js} +12 -13
- package/dist/chunks/dashed-underline.BN_whJrR.js.map +1 -0
- package/dist/chunks/{data-grid-template.Co0Ecr79.js → data-grid-template.BlRKgkX6.js} +5 -5
- package/dist/chunks/data-grid-template.BlRKgkX6.js.map +1 -0
- package/dist/chunks/{data-grid.erxjh5TN.js → data-grid.B0bOXr4p.js} +1218 -1166
- package/dist/chunks/data-grid.B0bOXr4p.js.map +1 -0
- package/dist/chunks/{date-picker.DGIS6Pp-.js → date-picker.Dyf6HJwP.js} +11 -11
- package/dist/chunks/date-picker.Dyf6HJwP.js.map +1 -0
- package/dist/chunks/date-range-picker.-FSh7RLm.js +967 -0
- package/dist/chunks/date-range-picker.-FSh7RLm.js.map +1 -0
- package/dist/chunks/{date.BfyWX2PY.js → date.w2Ya6_lp.js} +2 -2
- package/dist/chunks/{date.BfyWX2PY.js.map → date.w2Ya6_lp.js.map} +1 -1
- package/dist/chunks/{dialog-page.CLHZqQeU.js → dialog-page.CdJloGXQ.js} +9 -9
- package/dist/chunks/dialog-page.CdJloGXQ.js.map +1 -0
- package/dist/chunks/{divider.Cc4JFWG_.js → divider.CFbtmKeQ.js} +6 -6
- package/dist/chunks/divider.CFbtmKeQ.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.94q6opSD.js → dropdown-default-textbox.DzpZoK-P.js} +81 -80
- package/dist/chunks/dropdown-default-textbox.DzpZoK-P.js.map +1 -0
- package/dist/chunks/dropdown-tag.CRbOHBPK.js +273 -0
- package/dist/chunks/dropdown-tag.CRbOHBPK.js.map +1 -0
- package/dist/chunks/{dropdown.DazYAy4B.js → dropdown.DB_MlO1F.js} +43 -43
- package/dist/chunks/dropdown.DB_MlO1F.js.map +1 -0
- package/dist/chunks/{empty-state.mtXfb1BB.js → empty-state.BqMgiQAu.js} +6 -6
- package/dist/chunks/empty-state.BqMgiQAu.js.map +1 -0
- package/dist/chunks/{error-message.BgxnwPLF.js → error-message.PWgUfpvo.js} +3 -3
- package/dist/chunks/{error-message.BgxnwPLF.js.map → error-message.PWgUfpvo.js.map} +1 -1
- package/dist/chunks/es6.MoTTyETW.js +12 -0
- package/dist/chunks/es6.MoTTyETW.js.map +1 -0
- package/dist/chunks/events.CMzGybJJ.js.map +1 -1
- package/dist/chunks/{file-uploader.BPslxGI8.js → file-uploader.llBOTc1s.js} +41 -41
- package/dist/chunks/file-uploader.llBOTc1s.js.map +1 -0
- package/dist/chunks/{filter-bar.DL19SXF1.js → filter-bar.8rNB7K2X.js} +189 -192
- package/dist/chunks/filter-bar.8rNB7K2X.js.map +1 -0
- package/dist/chunks/{fixed-scroller.XN-jvWqb.js → fixed-scroller.CRnBrXfk.js} +2 -2
- package/dist/chunks/{fixed-scroller.XN-jvWqb.js.map → fixed-scroller.CRnBrXfk.js.map} +1 -1
- package/dist/chunks/{focus-trap.C-wIQqpO.js → focus-trap.B4C5TXxl.js} +2 -2
- package/dist/chunks/focus-trap.B4C5TXxl.js.map +1 -0
- package/dist/chunks/{footer-actions.BE_zzX-e.js → footer-actions.C9ZYDWNU.js} +12 -12
- package/dist/chunks/footer-actions.C9ZYDWNU.js.map +1 -0
- package/dist/chunks/{form-layout-title.CIynHgCF.js → form-layout-title.CboZDCN9.js} +5 -5
- package/dist/chunks/form-layout-title.CboZDCN9.js.map +1 -0
- package/dist/chunks/{grid-layout.HvTAa4to.js → grid-layout.1aIiz2N_.js} +4 -4
- package/dist/chunks/grid-layout.1aIiz2N_.js.map +1 -0
- package/dist/chunks/{header-meta.CfloYa86.js → header-meta.C75OXHwb.js} +26 -27
- package/dist/chunks/{header-meta.CfloYa86.js.map → header-meta.C75OXHwb.js.map} +1 -1
- package/dist/chunks/{header-with-views.BUQ-MlAq.js → header-with-views.Dzifal09.js} +129 -133
- package/dist/chunks/header-with-views.Dzifal09.js.map +1 -0
- package/dist/chunks/{header.uyxNdQa3.js → header.DAcRpRch.js} +8 -8
- package/dist/chunks/header.DAcRpRch.js.map +1 -0
- package/dist/chunks/image.C2D2hKat.js.map +1 -1
- package/dist/chunks/{info-icon.CYOXx8CL.js → info-icon.B4P_Zi58.js} +10 -10
- package/dist/chunks/info-icon.B4P_Zi58.js.map +1 -0
- package/dist/chunks/{input-field-password.C1zTapiN.js → input-field-password.DsslmTb_.js} +29 -29
- package/dist/chunks/input-field-password.DsslmTb_.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.K8BYjWfa.js → input-field-phone-number.D2T8jzAr.js} +8 -7
- package/dist/chunks/{input-field-phone-number.K8BYjWfa.js.map → input-field-phone-number.D2T8jzAr.js.map} +1 -1
- package/dist/chunks/{input-field.5S-pUNxA.js → input-field.DnnXXill.js} +5 -5
- package/dist/chunks/input-field.DnnXXill.js.map +1 -0
- package/dist/chunks/{inspector.BI28vKQz.js → inspector.H05UI3LY.js} +6 -6
- package/dist/chunks/inspector.H05UI3LY.js.map +1 -0
- package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -1
- package/dist/chunks/{layout-row.C_F2wX6d.js → layout-row.BWxn-eQ-.js} +12 -12
- package/dist/chunks/layout-row.BWxn-eQ-.js.map +1 -0
- package/dist/chunks/{link.CXy_LoFI.js → link.B3F22FTY.js} +3 -3
- package/dist/chunks/link.B3F22FTY.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.D0Cql_R3.js → listbox-option-tag.On3eD2RE.js} +4 -4
- package/dist/chunks/listbox-option-tag.On3eD2RE.js.map +1 -0
- package/dist/chunks/{loading-indicator.z8COalOc.js → loading-indicator.Iy1CVr_T.js} +2 -2
- package/dist/chunks/loading-indicator.Iy1CVr_T.js.map +1 -0
- package/dist/chunks/minus-small.DJacLGTw.js.map +1 -1
- package/dist/chunks/{modal-fullscreen.DHotw1RI.js → modal-fullscreen.BgmKDCl4.js} +31 -32
- package/dist/chunks/modal-fullscreen.BgmKDCl4.js.map +1 -0
- package/dist/chunks/{modal.eoNQ6E3U.js → modal.DMqbIDcX.js} +6 -6
- package/dist/chunks/modal.DMqbIDcX.js.map +1 -0
- package/dist/chunks/{pagination.4J7ZMyf5.js → pagination.38ahUAk8.js} +5 -5
- package/dist/chunks/pagination.38ahUAk8.js.map +1 -0
- package/dist/chunks/{payment-method.Cx4nPDtE.js → payment-method.CRluCp_L.js} +3 -3
- package/dist/chunks/payment-method.CRluCp_L.js.map +1 -0
- package/dist/chunks/popover.types.B1HUQoCG.js +6 -0
- package/dist/chunks/popover.types.B1HUQoCG.js.map +1 -0
- package/dist/chunks/{popper-container.DIFqmRsp.js → popper-container.Bu75g2nc.js} +3 -3
- package/dist/chunks/popper-container.Bu75g2nc.js.map +1 -0
- package/dist/chunks/{promo-banner.Bbc2U3S3.js → promo-banner.BGMV3nRn.js} +6 -6
- package/dist/chunks/promo-banner.BGMV3nRn.js.map +1 -0
- package/dist/chunks/{radio-group.4_KKjvAm.js → radio-group.BVLoYrgU.js} +8 -8
- package/dist/chunks/radio-group.BVLoYrgU.js.map +1 -0
- package/dist/chunks/{radio-input.uJAhxKRs.js → radio-input.BRceOAA4.js} +7 -7
- package/dist/chunks/radio-input.BRceOAA4.js.map +1 -0
- package/dist/chunks/{rich-text-editor.BUKLdRkN.js → rich-text-editor.BZ6CyBsK.js} +8 -8
- package/dist/chunks/rich-text-editor.BZ6CyBsK.js.map +1 -0
- package/dist/chunks/{search-bar.CuBj5FAE.js → search-bar.VfZoy5FX.js} +6 -5
- package/dist/chunks/search-bar.VfZoy5FX.js.map +1 -0
- package/dist/chunks/{secondary-nav.C6usurfD.js → secondary-nav.BXXKo5HE.js} +9 -9
- package/dist/chunks/secondary-nav.BXXKo5HE.js.map +1 -0
- package/dist/chunks/{segmented-control.DHZEfmT-.js → segmented-control.CGBrRBLL.js} +11 -11
- package/dist/chunks/segmented-control.CGBrRBLL.js.map +1 -0
- package/dist/chunks/{selection-card-group.0o5T4tab.js → selection-card-group.DgQLQ4Wo.js} +10 -10
- package/dist/chunks/selection-card-group.DgQLQ4Wo.js.map +1 -0
- package/dist/chunks/{sidepanel.DyThBUgV.js → sidepanel.BR0coAJl.js} +9 -9
- package/dist/chunks/sidepanel.BR0coAJl.js.map +1 -0
- package/dist/chunks/{status.types.p_TCvoo0.js → status.types.DBYsEsiT.js} +3 -3
- package/dist/chunks/status.types.DBYsEsiT.js.map +1 -0
- package/dist/chunks/{step.DMMofD4B.js → step.DJkLl2s4.js} +5 -5
- package/dist/chunks/step.DJkLl2s4.js.map +1 -0
- package/dist/chunks/{structured-list-item.Bnn6-Z3q.js → structured-list-item.CACpjdy4.js} +7 -7
- package/dist/chunks/structured-list-item.CACpjdy4.js.map +1 -0
- package/dist/chunks/{summary-grid.types.D_FU3sUq.js → summary-grid.types.CVuvqM3p.js} +7 -7
- package/dist/chunks/{summary-grid.types.D_FU3sUq.js.map → summary-grid.types.CVuvqM3p.js.map} +1 -1
- package/dist/chunks/{tab.BhWPBxcB.js → tab.D33__imf.js} +5 -5
- package/dist/chunks/tab.D33__imf.js.map +1 -0
- package/dist/chunks/{tag.CGkclKVL.js → tag.DfHE26ZN.js} +4 -4
- package/dist/chunks/tag.DfHE26ZN.js.map +1 -0
- package/dist/chunks/textarea.D7uQzuRr.js +214 -0
- package/dist/chunks/textarea.D7uQzuRr.js.map +1 -0
- package/dist/chunks/{timeline-item.DqLhj0Lb.js → timeline-item.QOBiWKEL.js} +11 -11
- package/dist/chunks/timeline-item.QOBiWKEL.js.map +1 -0
- package/dist/chunks/{toast.BOyeuS19.js → toast.CZxRRsPl.js} +5 -5
- package/dist/chunks/toast.CZxRRsPl.js.map +1 -0
- package/dist/chunks/toggle-button.DeECoGRn.js +1031 -0
- package/dist/chunks/toggle-button.DeECoGRn.js.map +1 -0
- package/dist/chunks/{toggle.DyXL09-x.js → toggle.hylSNOmz.js} +8 -8
- package/dist/chunks/toggle.hylSNOmz.js.map +1 -0
- package/dist/chunks/{tooltip.wQsyAwkC.js → tooltip.BYj8cc9F.js} +66 -62
- package/dist/chunks/tooltip.BYj8cc9F.js.map +1 -0
- package/dist/chunks/{tutorial.CxrGhLS7.js → tutorial.BkAXmyzV.js} +29 -31
- package/dist/chunks/tutorial.BkAXmyzV.js.map +1 -0
- package/dist/chunks/{typography.J1v_SPG3.js → typography.w3m-EY4E.js} +7 -7
- package/dist/chunks/typography.w3m-EY4E.js.map +1 -0
- package/dist/chunks/{use-bento-toast-controller.Cn_2Eogn.js → use-bento-toast-controller.uglKlMjv.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.Cn_2Eogn.js.map → use-bento-toast-controller.uglKlMjv.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.0EeyFfyF.js → use-cached-selected-values.CI9xi8dE.js} +12 -12
- package/dist/chunks/use-cached-selected-values.CI9xi8dE.js.map +1 -0
- package/dist/chunks/use-country-items.BllTb5MK.js.map +1 -1
- package/dist/chunks/use-country-phon-code.BOaJ9PDl.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 +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +175 -177
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +3 -2
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +33 -32
- package/dist/internal.js.map +1 -1
- package/dist/layout.js +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +2 -2
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +17 -4
- package/dist/styles/bento-light.css +17 -4
- package/dist/styles/bento.css +17 -4
- package/dist/styles/legacy.css +17 -4
- package/dist/styles/styleguide.css +17 -4
- package/dist/styles/utility.css +3 -0
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/typography.js +1 -1
- package/dist/use-form-v4.js.map +1 -1
- package/dist/web-types.json +934 -363
- package/package.json +7 -7
- package/dist/assets/button-actions.css +0 -1
- package/dist/assets/menu.css +0 -1
- package/dist/assets/popover.css +0 -1
- package/dist/assets/teleport.css +0 -1
- package/dist/chunks/accordion-item.BNtdoVto.js.map +0 -1
- package/dist/chunks/action-bar.DQb7WVVd.js.map +0 -1
- package/dist/chunks/avatar.BgwjpLQO.js.map +0 -1
- package/dist/chunks/base-button.-gx_u8Bd.js.map +0 -1
- package/dist/chunks/base-modal.CkkfT6r6.js.map +0 -1
- package/dist/chunks/base-modal.keys.C2PQXcE2.js +0 -5
- package/dist/chunks/base-modal.keys.C2PQXcE2.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.nPj7sdGE.js +0 -83
- package/dist/chunks/button-actions-with-menu.nPj7sdGE.js.map +0 -1
- package/dist/chunks/button-actions.Ju27CRNG.js +0 -194
- package/dist/chunks/button-actions.Ju27CRNG.js.map +0 -1
- package/dist/chunks/button.hF-nD1Og.js.map +0 -1
- package/dist/chunks/calendar.DvIQEYwN.js.map +0 -1
- package/dist/chunks/card.CASAAsuJ.js.map +0 -1
- package/dist/chunks/checkbox-group.QdX-NrSG.js.map +0 -1
- package/dist/chunks/checkbox-input.CNWigbX4.js.map +0 -1
- package/dist/chunks/checkbox.DCD6SSXC.js.map +0 -1
- package/dist/chunks/chip.OV0EWIP3.js.map +0 -1
- package/dist/chunks/code-snippet.dIKi0D7d.js.map +0 -1
- package/dist/chunks/copy.CF8Fzu2Y.js.map +0 -1
- package/dist/chunks/country.melpzEsY.js.map +0 -1
- package/dist/chunks/currency.BM9OXTqe.js.map +0 -1
- package/dist/chunks/dashed-underline.BbH6Lnd2.js.map +0 -1
- package/dist/chunks/data-grid-template.Co0Ecr79.js.map +0 -1
- package/dist/chunks/data-grid.erxjh5TN.js.map +0 -1
- package/dist/chunks/date-picker.DGIS6Pp-.js.map +0 -1
- package/dist/chunks/date-range-picker.CIaKRXIQ.js +0 -1021
- package/dist/chunks/date-range-picker.CIaKRXIQ.js.map +0 -1
- package/dist/chunks/dialog-page.CLHZqQeU.js.map +0 -1
- package/dist/chunks/divider.Cc4JFWG_.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.94q6opSD.js.map +0 -1
- package/dist/chunks/dropdown-tag.BaosvGGZ.js +0 -240
- package/dist/chunks/dropdown-tag.BaosvGGZ.js.map +0 -1
- package/dist/chunks/dropdown.DazYAy4B.js.map +0 -1
- package/dist/chunks/empty-state.mtXfb1BB.js.map +0 -1
- package/dist/chunks/es6.n1ewaW31.js +0 -11
- package/dist/chunks/es6.n1ewaW31.js.map +0 -1
- package/dist/chunks/file-uploader.BPslxGI8.js.map +0 -1
- package/dist/chunks/filter-bar.DL19SXF1.js.map +0 -1
- package/dist/chunks/focus-trap.C-wIQqpO.js.map +0 -1
- package/dist/chunks/footer-actions.BE_zzX-e.js.map +0 -1
- package/dist/chunks/form-layout-title.CIynHgCF.js.map +0 -1
- package/dist/chunks/grid-layout.HvTAa4to.js.map +0 -1
- package/dist/chunks/header-with-views.BUQ-MlAq.js.map +0 -1
- package/dist/chunks/header.uyxNdQa3.js.map +0 -1
- package/dist/chunks/info-icon.CYOXx8CL.js.map +0 -1
- package/dist/chunks/input-field-password.C1zTapiN.js.map +0 -1
- package/dist/chunks/input-field.5S-pUNxA.js.map +0 -1
- package/dist/chunks/inspector.BI28vKQz.js.map +0 -1
- package/dist/chunks/layout-row.C_F2wX6d.js.map +0 -1
- package/dist/chunks/link.CXy_LoFI.js.map +0 -1
- package/dist/chunks/listbox-option-tag.D0Cql_R3.js.map +0 -1
- package/dist/chunks/loading-indicator.z8COalOc.js.map +0 -1
- package/dist/chunks/menu.D0OQgk40.js +0 -515
- package/dist/chunks/menu.D0OQgk40.js.map +0 -1
- package/dist/chunks/modal-fullscreen.DHotw1RI.js.map +0 -1
- package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js +0 -5
- package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js.map +0 -1
- package/dist/chunks/modal.eoNQ6E3U.js.map +0 -1
- package/dist/chunks/pagination.4J7ZMyf5.js.map +0 -1
- package/dist/chunks/payment-method.Cx4nPDtE.js.map +0 -1
- package/dist/chunks/popover.Bo4Bkudr.js +0 -145
- package/dist/chunks/popover.Bo4Bkudr.js.map +0 -1
- package/dist/chunks/popover.types.CBqyA4ly.js +0 -6
- package/dist/chunks/popover.types.CBqyA4ly.js.map +0 -1
- package/dist/chunks/popper-container.DIFqmRsp.js.map +0 -1
- package/dist/chunks/promo-banner.Bbc2U3S3.js.map +0 -1
- package/dist/chunks/radio-group.4_KKjvAm.js.map +0 -1
- package/dist/chunks/radio-input.uJAhxKRs.js.map +0 -1
- package/dist/chunks/rich-text-editor.BUKLdRkN.js.map +0 -1
- package/dist/chunks/search-bar.CuBj5FAE.js.map +0 -1
- package/dist/chunks/secondary-nav.C6usurfD.js.map +0 -1
- package/dist/chunks/segmented-control.DHZEfmT-.js.map +0 -1
- package/dist/chunks/selection-card-group.0o5T4tab.js.map +0 -1
- package/dist/chunks/sidepanel.DyThBUgV.js.map +0 -1
- package/dist/chunks/sidepanel.keys.R0DKQuYx.js +0 -5
- package/dist/chunks/sidepanel.keys.R0DKQuYx.js.map +0 -1
- package/dist/chunks/status.types.p_TCvoo0.js.map +0 -1
- package/dist/chunks/step.DMMofD4B.js.map +0 -1
- package/dist/chunks/structured-list-item.Bnn6-Z3q.js.map +0 -1
- package/dist/chunks/tab.BhWPBxcB.js.map +0 -1
- package/dist/chunks/tag.CGkclKVL.js.map +0 -1
- package/dist/chunks/teleport.BV6zrDjA.js +0 -128
- package/dist/chunks/teleport.BV6zrDjA.js.map +0 -1
- package/dist/chunks/textarea.UPM6N9V1.js +0 -203
- package/dist/chunks/textarea.UPM6N9V1.js.map +0 -1
- package/dist/chunks/timeline-item.DqLhj0Lb.js.map +0 -1
- package/dist/chunks/toast.BOyeuS19.js.map +0 -1
- package/dist/chunks/toggle-button.DEVVvpkw.js +0 -83
- package/dist/chunks/toggle-button.DEVVvpkw.js.map +0 -1
- package/dist/chunks/toggle.DyXL09-x.js.map +0 -1
- package/dist/chunks/tooltip.wQsyAwkC.js.map +0 -1
- package/dist/chunks/tutorial.CxrGhLS7.js.map +0 -1
- package/dist/chunks/typography.J1v_SPG3.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.0EeyFfyF.js.map +0 -1
- package/dist/chunks/use-click-outside.BnhTgpSt.js +0 -14
- package/dist/chunks/use-click-outside.BnhTgpSt.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,92 +1,89 @@
|
|
|
1
1
|
import "./chunks/index.Cl4_42j5.js";
|
|
2
|
-
import { c as T, t as y } from "./chunks/use-bento-toast-controller.
|
|
3
|
-
import { u as N } from "./chunks/use-bento-toast-controller.
|
|
4
|
-
import { p as g, d } from "./chunks/typography.
|
|
5
|
-
import { B as _, c as Y, b as j, a as U } from "./chunks/typography.
|
|
6
|
-
import { a as K, b as H } from "./chunks/accordion-item.
|
|
7
|
-
import { B as W } from "./chunks/action-bar.
|
|
8
|
-
import { B as J, c as Q, b as X, a as $ } from "./chunks/alert.
|
|
9
|
-
import { B as te } from "./chunks/avatar.
|
|
10
|
-
import { B as ae, b as ne, a as re } from "./chunks/button.
|
|
11
|
-
import { B as Be } from "./chunks/dashed-underline.
|
|
12
|
-
import { B as me, d as pe, a as ue, b as de, g as le, f as ce, e as fe, c as xe } from "./chunks/data-grid.
|
|
13
|
-
import { c as Te, B as ye, a as ge } from "./chunks/card.
|
|
14
|
-
import { B as be, a as Ee } from "./chunks/date-picker.
|
|
15
|
-
import { B as De, a as Ie } from "./chunks/date-range-picker.
|
|
16
|
-
import { B as Le, u as Pe } from "./chunks/dropdown.
|
|
17
|
-
import { B as Ge } from "./chunks/dropdown-default-textbox.
|
|
18
|
-
import { B as ke, a as we } from "./chunks/checkbox.
|
|
19
|
-
import { B as Ve } from "./chunks/chip.
|
|
2
|
+
import { c as T, t as y } from "./chunks/use-bento-toast-controller.uglKlMjv.js";
|
|
3
|
+
import { u as N } from "./chunks/use-bento-toast-controller.uglKlMjv.js";
|
|
4
|
+
import { p as g, d } from "./chunks/typography.w3m-EY4E.js";
|
|
5
|
+
import { B as _, c as Y, b as j, a as U } from "./chunks/typography.w3m-EY4E.js";
|
|
6
|
+
import { a as K, b as H } from "./chunks/accordion-item.NSQ50RyR.js";
|
|
7
|
+
import { B as W } from "./chunks/action-bar.Dhi6k0CP.js";
|
|
8
|
+
import { B as J, c as Q, b as X, a as $ } from "./chunks/alert.Dx9P_L2k.js";
|
|
9
|
+
import { B as te } from "./chunks/avatar.CWmZ2n1W.js";
|
|
10
|
+
import { B as ae, b as ne, a as re } from "./chunks/button.B0hSQWOR.js";
|
|
11
|
+
import { B as Be } from "./chunks/dashed-underline.BN_whJrR.js";
|
|
12
|
+
import { B as me, d as pe, a as ue, b as de, g as le, f as ce, e as fe, c as xe } from "./chunks/data-grid.B0bOXr4p.js";
|
|
13
|
+
import { c as Te, B as ye, a as ge } from "./chunks/card.DLRC9V0Q.js";
|
|
14
|
+
import { B as be, a as Ee } from "./chunks/date-picker.Dyf6HJwP.js";
|
|
15
|
+
import { B as De, a as Ie } from "./chunks/date-range-picker.-FSh7RLm.js";
|
|
16
|
+
import { B as Le, u as Pe } from "./chunks/dropdown.DB_MlO1F.js";
|
|
17
|
+
import { B as Ge } from "./chunks/dropdown-default-textbox.DzpZoK-P.js";
|
|
18
|
+
import { B as ke, a as we } from "./chunks/checkbox.JhfbjDfJ.js";
|
|
19
|
+
import { B as Ve } from "./chunks/chip.Cn68PNxA.js";
|
|
20
20
|
import { B as Ne } from "./chunks/click-outside.C1Ud8AA2.js";
|
|
21
|
-
import { c as _e, b as Ye, a as je, B as Ue } from "./chunks/code-snippet.
|
|
22
|
-
import { c as Ke } from "./chunks/country.
|
|
21
|
+
import { c as _e, b as Ye, a as je, B as Ue } from "./chunks/code-snippet.hYghglvk.js";
|
|
22
|
+
import { c as Ke } from "./chunks/country.CZQYhKpE.js";
|
|
23
23
|
import { a as qe, B as We, u as Ze } from "./chunks/country.types.C0Q_hhgJ.js";
|
|
24
|
-
import { c as Qe, B as Xe } from "./chunks/currency.
|
|
25
|
-
import { B as et, a as tt } from "./chunks/date.
|
|
26
|
-
import { B as at } from "./chunks/divider.
|
|
27
|
-
import { B as rt, b as st, c as Bt, a as it } from "./chunks/empty-state.
|
|
28
|
-
import { f as pt } from "./chunks/file-uploader.
|
|
29
|
-
import { B as dt, b as lt, a as ct, c as ft } from "./chunks/filter-bar.
|
|
30
|
-
import { f as St, a as Tt, c as yt, b as gt } from "./chunks/form-layout-title.
|
|
31
|
-
import { h as bt } from "./chunks/header-with-views.
|
|
24
|
+
import { c as Qe, B as Xe } from "./chunks/currency.Oq7zcRM5.js";
|
|
25
|
+
import { B as et, a as tt } from "./chunks/date.w2Ya6_lp.js";
|
|
26
|
+
import { B as at } from "./chunks/divider.CFbtmKeQ.js";
|
|
27
|
+
import { B as rt, b as st, c as Bt, a as it } from "./chunks/empty-state.BqMgiQAu.js";
|
|
28
|
+
import { f as pt } from "./chunks/file-uploader.llBOTc1s.js";
|
|
29
|
+
import { B as dt, b as lt, a as ct, c as ft } from "./chunks/filter-bar.8rNB7K2X.js";
|
|
30
|
+
import { f as St, a as Tt, c as yt, b as gt } from "./chunks/form-layout-title.CboZDCN9.js";
|
|
31
|
+
import { h as bt } from "./chunks/header-with-views.Dzifal09.js";
|
|
32
32
|
import { B as Ct, a as Dt, b as It } from "./chunks/image.C2D2hKat.js";
|
|
33
|
-
import { B as Lt } from "./chunks/info-icon.
|
|
34
|
-
import { B as Ft, b as Gt, e as Ot, c as kt, d as wt, a as Mt } from "./chunks/input-field.
|
|
35
|
-
import { i as At, m as Nt, r as Rt, b as _t, c as Yt, a as jt } from "./chunks/input-field-password.
|
|
36
|
-
import { i as zt } from "./chunks/input-field-phone-number.
|
|
37
|
-
import { B as
|
|
38
|
-
import { B as
|
|
39
|
-
import { l as
|
|
40
|
-
import { B as
|
|
41
|
-
import { B as
|
|
42
|
-
import { B as
|
|
43
|
-
import { B as
|
|
44
|
-
import { c as
|
|
45
|
-
import { m as
|
|
46
|
-
import { B as
|
|
47
|
-
import { B as
|
|
48
|
-
import { B as
|
|
49
|
-
import { B as
|
|
50
|
-
import { B as
|
|
51
|
-
import { B as
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import { s as
|
|
57
|
-
import { B as
|
|
58
|
-
import { B as
|
|
59
|
-
import { B as
|
|
60
|
-
import {
|
|
61
|
-
import { s as
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import { B as
|
|
67
|
-
import { B as
|
|
68
|
-
import { t as
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import { B as
|
|
76
|
-
import {
|
|
77
|
-
import { a as xn, B as Sn, a as Tn, B as yn } from "./chunks/use-cached-selected-values.0EeyFfyF.js";
|
|
78
|
-
import { d as hn, a as bn, b as En, c as Cn, e as Dn } from "./chunks/dropdown-tag.BaosvGGZ.js";
|
|
33
|
+
import { B as Lt } from "./chunks/info-icon.B4P_Zi58.js";
|
|
34
|
+
import { B as Ft, b as Gt, e as Ot, c as kt, d as wt, a as Mt } from "./chunks/input-field.DnnXXill.js";
|
|
35
|
+
import { i as At, m as Nt, r as Rt, b as _t, c as Yt, a as jt } from "./chunks/input-field-password.DsslmTb_.js";
|
|
36
|
+
import { i as zt, B as Kt } from "./chunks/input-field-phone-number.D2T8jzAr.js";
|
|
37
|
+
import { B as qt } from "./chunks/inspector.H05UI3LY.js";
|
|
38
|
+
import { B as Zt } from "./chunks/inspector.types.DyHwE18g.js";
|
|
39
|
+
import { l as Qt, a as Xt } from "./chunks/layout-row.BWxn-eQ-.js";
|
|
40
|
+
import { B as eo, a as to } from "./chunks/loading-indicator.Iy1CVr_T.js";
|
|
41
|
+
import { B as ao, a as no } from "./chunks/link.B3F22FTY.js";
|
|
42
|
+
import { B as so, a as Bo, b as io, f as mo, g as po, h as uo, c as lo, u as co } from "./chunks/toggle-button.DeECoGRn.js";
|
|
43
|
+
import { B as xo } from "./chunks/modal.DMqbIDcX.js";
|
|
44
|
+
import { c as To, e as yo, f as go, g as ho, d as bo, b as Eo, B as Co, a as Do } from "./chunks/base-modal.Cehud1uW.js";
|
|
45
|
+
import { m as vo, B as Lo } from "./chunks/modal-fullscreen.BgmKDCl4.js";
|
|
46
|
+
import { B as Fo } from "./chunks/header.DAcRpRch.js";
|
|
47
|
+
import { B as Oo } from "./chunks/pagination.38ahUAk8.js";
|
|
48
|
+
import { B as wo } from "./chunks/payment-method.CRluCp_L.js";
|
|
49
|
+
import { B as Vo } from "./chunks/payment-method.types.BqtH7RM2.js";
|
|
50
|
+
import { B as No } from "./chunks/popover.types.B1HUQoCG.js";
|
|
51
|
+
import { p as _o, B as Yo, a as jo } from "./chunks/promo-banner.BGMV3nRn.js";
|
|
52
|
+
import { b as zo, B as Ko, a as Ho } from "./chunks/radio-group.BVLoYrgU.js";
|
|
53
|
+
import { r as Wo } from "./chunks/rich-text-editor.BZ6CyBsK.js";
|
|
54
|
+
import { B as Jo, b as Qo, a as Xo } from "./chunks/search-bar.VfZoy5FX.js";
|
|
55
|
+
import { s as ea } from "./chunks/secondary-nav.BXXKo5HE.js";
|
|
56
|
+
import { B as oa, s as aa, a as na } from "./chunks/selection-card-group.DgQLQ4Wo.js";
|
|
57
|
+
import { B as sa } from "./chunks/segmented-control.CGBrRBLL.js";
|
|
58
|
+
import { B as ia } from "./chunks/segmented-control.types.BHRLV8KU.js";
|
|
59
|
+
import { a as pa, B as ua, s as da } from "./chunks/sidepanel.BR0coAJl.js";
|
|
60
|
+
import { s as ca, B as fa } from "./chunks/status.types.DBYsEsiT.js";
|
|
61
|
+
import { a as Sa, s as Ta, B as ya, b as ga } from "./chunks/step.DJkLl2s4.js";
|
|
62
|
+
import { B as ba, a as Ea } from "./chunks/structured-list-item.CACpjdy4.js";
|
|
63
|
+
import { s as Da, a as Ia, e as va, b as La, c as Pa, B as Fa, d as Ga, f as Oa } from "./chunks/summary-grid.types.CVuvqM3p.js";
|
|
64
|
+
import { a as wa, B as Ma } from "./chunks/tab.D33__imf.js";
|
|
65
|
+
import { B as Aa, a as Na } from "./chunks/tag.DfHE26ZN.js";
|
|
66
|
+
import { B as _a } from "./chunks/textarea.D7uQzuRr.js";
|
|
67
|
+
import { t as ja, b as Ua, a as za, c as Ka, B as Ha, d as qa } from "./chunks/timeline-item.QOBiWKEL.js";
|
|
68
|
+
import { t as Za } from "./chunks/toast.CZxRRsPl.js";
|
|
69
|
+
import { B as Qa, b as Xa, a as $a } from "./chunks/toggle.hylSNOmz.js";
|
|
70
|
+
import { t as tn } from "./chunks/tutorial.BkAXmyzV.js";
|
|
71
|
+
import { a as an, d as nn } from "./chunks/dashboard-section.BRnRO3AZ.js";
|
|
72
|
+
import { d as sn } from "./chunks/data-grid-template.BlRKgkX6.js";
|
|
73
|
+
import { B as mn, a as pn, b as un } from "./chunks/button-actions.types.BptAXjD8.js";
|
|
74
|
+
import { C as ln, C as cn } from "./chunks/calendar.BuAVH2aU.js";
|
|
75
|
+
import { a as xn, B as Sn, a as Tn, B as yn } from "./chunks/use-cached-selected-values.CI9xi8dE.js";
|
|
76
|
+
import { d as hn, a as bn, b as En, c as Cn, e as Dn } from "./chunks/dropdown-tag.CRbOHBPK.js";
|
|
79
77
|
import { C as vn } from "./chunks/minus-small.DJacLGTw.js";
|
|
80
|
-
import { c as Pn, B as Fn } from "./chunks/checkbox-group.
|
|
78
|
+
import { c as Pn, B as Fn } from "./chunks/checkbox-group.Cdt2Ik2_.js";
|
|
81
79
|
import { u as On, a as kn } from "./chunks/use-country-phon-code.BOaJ9PDl.js";
|
|
82
|
-
import { R as Mn } from "./chunks/radio-input.
|
|
80
|
+
import { R as Mn } from "./chunks/radio-input.BRceOAA4.js";
|
|
83
81
|
import { shallowRef as h, ref as l, getCurrentInstance as b } from "vue";
|
|
84
82
|
import * as s from "zod";
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import { B as Hn, a as qn, b as Wn } from "./chunks/tooltip.wQsyAwkC.js";
|
|
83
|
+
import { D as An } from "./chunks/date-input.BqBdAO1E.js";
|
|
84
|
+
import { a as Rn, B as _n } from "./chunks/keyboard-navigation.pB8weElW.js";
|
|
85
|
+
import { B as jn } from "./chunks/directive.Cbdox5VL.js";
|
|
86
|
+
import { b as zn, c as Kn, d as Hn } from "./chunks/tooltip.BYj8cc9F.js";
|
|
90
87
|
function O(e) {
|
|
91
88
|
return e;
|
|
92
89
|
}
|
|
@@ -177,10 +174,10 @@ export {
|
|
|
177
174
|
$ as BentoAlertVariant,
|
|
178
175
|
te as BentoAvatar,
|
|
179
176
|
ae as BentoButton,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
177
|
+
so as BentoButtonActions,
|
|
178
|
+
mn as BentoButtonActionsLayout,
|
|
179
|
+
pn as BentoButtonActionsLayoutBasic,
|
|
180
|
+
un as BentoButtonActionsLayoutExtended,
|
|
184
181
|
ne as BentoButtonPropClass,
|
|
185
182
|
re as BentoButtonVariant,
|
|
186
183
|
Te as BentoCard,
|
|
@@ -193,7 +190,7 @@ export {
|
|
|
193
190
|
vn as BentoCheckboxState,
|
|
194
191
|
Ve as BentoChip,
|
|
195
192
|
Ne as BentoClickOutside,
|
|
196
|
-
|
|
193
|
+
jn as BentoClickOutsideDirective,
|
|
197
194
|
_e as BentoCodeSnippet,
|
|
198
195
|
Ye as BentoCodeSnippetEvent,
|
|
199
196
|
je as BentoCodeSnippetSupportedLanguage,
|
|
@@ -204,13 +201,13 @@ export {
|
|
|
204
201
|
We as BentoCountryVariant,
|
|
205
202
|
Qe as BentoCurrency,
|
|
206
203
|
Xe as BentoCurrencyISOCode,
|
|
207
|
-
|
|
208
|
-
|
|
204
|
+
an as BentoDashboardSection,
|
|
205
|
+
nn as BentoDashboardTemplate,
|
|
209
206
|
Be as BentoDashedUnderline,
|
|
210
207
|
pe as BentoDataGrid,
|
|
211
208
|
ue as BentoDataGridStaticIcon,
|
|
212
209
|
de as BentoDataGridSummaryCell,
|
|
213
|
-
|
|
210
|
+
sn as BentoDataGridTemplate,
|
|
214
211
|
le as BentoDatagridAriaSortValue,
|
|
215
212
|
ce as BentoDatagridEvent,
|
|
216
213
|
fe as BentoDatagridSortDirection,
|
|
@@ -246,7 +243,7 @@ export {
|
|
|
246
243
|
Tt as BentoFormLayoutFieldTip,
|
|
247
244
|
yt as BentoFormLayoutGroup,
|
|
248
245
|
gt as BentoFormLayoutTitle,
|
|
249
|
-
|
|
246
|
+
Fo as BentoHeader,
|
|
250
247
|
bt as BentoHeaderWithViews,
|
|
251
248
|
Ct as BentoImage,
|
|
252
249
|
Dt as BentoImageAspectRatio,
|
|
@@ -257,103 +254,104 @@ export {
|
|
|
257
254
|
Ot as BentoInputFieldEvent,
|
|
258
255
|
At as BentoInputFieldPassword,
|
|
259
256
|
zt as BentoInputFieldPhoneNumber,
|
|
257
|
+
Kt as BentoInputFieldPhoneNumberCountries,
|
|
260
258
|
kt as BentoInputFieldStateClass,
|
|
261
259
|
wt as BentoInputFieldType,
|
|
262
260
|
Mt as BentoInputFieldVariant,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
261
|
+
qt as BentoInspector,
|
|
262
|
+
Zt as BentoInspectorSizeOptions,
|
|
263
|
+
Rn as BentoKeyboardNavigationDirective,
|
|
264
|
+
_n as BentoKeyboardNavigationKeyDownEvent,
|
|
265
|
+
Qt as BentoLayout,
|
|
266
|
+
Xt as BentoLayoutRow,
|
|
267
|
+
ao as BentoLink,
|
|
268
|
+
no as BentoLinkVariant,
|
|
271
269
|
Tn as BentoListboxEvent,
|
|
272
270
|
yn as BentoListboxLazyLoadType,
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
271
|
+
Bo as BentoLoadingButton,
|
|
272
|
+
io as BentoLoadingButtonState,
|
|
273
|
+
eo as BentoLoadingIndicator,
|
|
274
|
+
to as BentoLoadingIndicatorEvent,
|
|
275
|
+
mo as BentoMenu,
|
|
276
|
+
po as BentoMenuEvent,
|
|
277
|
+
xo as BentoModal,
|
|
278
|
+
To as BentoModalColumnLayoutVariant,
|
|
279
|
+
yo as BentoModalDialogType,
|
|
280
|
+
go as BentoModalEvent,
|
|
281
|
+
vo as BentoModalFullscreen,
|
|
282
|
+
Lo as BentoModalFullscreenPage,
|
|
283
|
+
ho as BentoModalPage,
|
|
284
|
+
bo as BentoModalRole,
|
|
285
|
+
Eo as BentoModalSize,
|
|
286
|
+
Co as BentoModalVariant,
|
|
287
|
+
Do as BentoModalVariantMapping,
|
|
288
|
+
Oo as BentoPagination,
|
|
289
|
+
wo as BentoPaymentMethod,
|
|
290
|
+
Vo as BentoPaymentMethodType,
|
|
291
|
+
uo as BentoPopover,
|
|
292
|
+
No as BentoPopoverPositions,
|
|
293
|
+
_o as BentoPromoBanner,
|
|
294
|
+
Yo as BentoPromoBannerColor,
|
|
295
|
+
jo as BentoPromoBannerLayout,
|
|
296
|
+
zo as BentoRadioButton,
|
|
299
297
|
Mn as BentoRadioButtonStateClass,
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
298
|
+
Ko as BentoRadioGroup,
|
|
299
|
+
Ho as BentoRadioGroupVariant,
|
|
300
|
+
Wo as BentoRichTextEditor,
|
|
301
|
+
Jo as BentoSearchBar,
|
|
302
|
+
Qo as BentoSearchBarEvent,
|
|
303
|
+
Xo as BentoSearchBarInternalEvent,
|
|
304
|
+
ea as BentoSecondaryNav,
|
|
305
|
+
sa as BentoSegmentedControl,
|
|
306
|
+
ia as BentoSegmentedControlEvent,
|
|
307
|
+
oa as BentoSelectionCard,
|
|
308
|
+
aa as BentoSelectionCardGroup,
|
|
309
|
+
na as BentoSelectionCardState,
|
|
310
|
+
pa as BentoSidepanel,
|
|
311
|
+
ua as BentoSidepanelEvent,
|
|
312
|
+
da as BentoSidepanelPage,
|
|
313
|
+
ca as BentoStatus,
|
|
314
|
+
fa as BentoStatusVariant,
|
|
315
|
+
Sa as BentoStep,
|
|
316
|
+
Ta as BentoStepper,
|
|
317
|
+
ya as BentoStepperTypeOption,
|
|
318
|
+
ga as BentoStepperVariantOption,
|
|
319
|
+
ba as BentoStructuredList,
|
|
320
|
+
Ea as BentoStructuredListItem,
|
|
321
|
+
Da as BentoSummaryGrid,
|
|
322
|
+
Ia as BentoSummaryGridItemAmount,
|
|
323
|
+
va as BentoSummaryGridItemCustom,
|
|
324
|
+
La as BentoSummaryGridItemNumeric,
|
|
325
|
+
Pa as BentoSummaryGridItemPercentage,
|
|
326
|
+
Fa as BentoSummaryGridItemSize,
|
|
327
|
+
Ga as BentoSummaryGridItemText,
|
|
328
|
+
Oa as BentoSummaryGridItemTrendDirection,
|
|
329
|
+
wa as BentoTab,
|
|
330
|
+
Ma as BentoTabs,
|
|
331
|
+
Aa as BentoTag,
|
|
332
|
+
Na as BentoTagVariant,
|
|
333
|
+
_a as BentoTextarea,
|
|
336
334
|
o as BentoTheme,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
335
|
+
ja as BentoTimeline,
|
|
336
|
+
Ua as BentoTimelineGapUnit,
|
|
337
|
+
za as BentoTimelineItem,
|
|
338
|
+
Ka as BentoTimelineItemVariant,
|
|
339
|
+
Ha as BentoTimelineShowMorePlacement,
|
|
340
|
+
qa as BentoTimelineStatus,
|
|
341
|
+
Za as BentoToast,
|
|
342
|
+
Qa as BentoToggle,
|
|
343
|
+
lo as BentoToggleButton,
|
|
344
|
+
Xa as BentoToggleLabelPosition,
|
|
345
|
+
$a as BentoTogglePropClass,
|
|
346
|
+
zn as BentoTooltipDirective,
|
|
347
|
+
Kn as BentoTooltipPosition,
|
|
348
|
+
Hn as BentoTooltipState,
|
|
349
|
+
tn as BentoTutorial,
|
|
352
350
|
_ as BentoTypography,
|
|
353
351
|
Y as BentoTypographyElement,
|
|
354
352
|
j as BentoTypographyModifier,
|
|
355
353
|
U as BentoTypographyVariant,
|
|
356
|
-
|
|
354
|
+
An as DateFormat,
|
|
357
355
|
M as default,
|
|
358
356
|
Nt as minLength,
|
|
359
357
|
Rt as requireLowercase,
|
|
@@ -364,7 +362,7 @@ export {
|
|
|
364
362
|
w as useBentoTheme,
|
|
365
363
|
c as useBentoThemeKey,
|
|
366
364
|
N as useBentoToastController,
|
|
367
|
-
|
|
365
|
+
co as useClickOutside,
|
|
368
366
|
Ze as useCountryCapital,
|
|
369
367
|
On as useCountryName,
|
|
370
368
|
kn as useCountryPhoneCode,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/composables/use-form-validate/use-form.ts","../src/composables/use-bento-theme/use-bento-theme.types.ts","../src/composables/use-bento-theme/use-bento-theme.ts","../src/composables/use-bento-toast-controller/install.ts","../src/composables/use-bento-theme/install.ts","../src/install.ts"],"sourcesContent":["import { type Ref, ref, shallowRef } from 'vue';\nimport * as z from 'zod';\nimport type { ZodSchema } from 'zod';\nimport { allKeys, ErrorBag, UseForm } from './use-form.types';\n\n/**\n * Composable that tansforms a Zod schema into a Typed Schema that can be used alongside with {@see useForm}.\n *\n * This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.\n * Function that transform Zod’s schemas into something that can be understood by vee-validate\n *\n * @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.\n *\n * @param formSchema Zod schema to be transformed into a `vee-validate` schema\n * @returns Schema transformed\n */\nexport function toTypedSchema<T extends ZodSchema>(formSchema: T) {\n return formSchema;\n}\n\n/**\n * Finds and returns the initial values of each of the values defined in the schema so that they\n * can be transformed into a reactive element.\n * @param schema Zod validation schema containing the definitions of each value to be used in the form\n * @returns Object with the items defined in the schema and their (default) values\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n * getInitialFormValues(validationSchema)\n *\n * Will return:\n *\n * {\n * name: 'Joe'\n * }\n *\n */\nfunction getInitialFormValues<T extends ZodSchema>(schema: T): z.infer<typeof schema> {\n if (!!z && schema instanceof z.ZodObject) {\n return Object.fromEntries(\n Object.entries(schema.shape).map(([key, value]) => {\n if (!!z && value instanceof z.ZodDefault) {\n // eslint-disable-next-line no-underscore-dangle\n return [key, value._def.defaultValue()];\n }\n\n if (!!z && value instanceof z.ZodObject) {\n return [key, getInitialFormValues(value)];\n }\n\n return [key, undefined];\n })\n ) as z.infer<typeof schema>;\n }\n\n return undefined;\n}\n\n/**\n * Constructs a path with dot paths for arrays to use brackets to be compatible with vee-validate path syntax\n * @param issue List of nested path elements\n * @returns Path with dots\n */\nfunction normalizeFormPath(issue: z.ZodIssue) {\n return issue.path.join('.');\n}\n\n/**\n * Composable that facilitates validating form data for Vue2 & Vue3 implementations with FormLayout\n * to ease the migration to Vue3.\n *\n * For Vue3 implementations use Vee-Validate.\n *\n * This provides a simplified version of Vee-Validate v4 implemented with Zod to validate a form schema.\n * It returns reactive values that can be used directly in form input elements with 'v-model' alongside\n * with functions to \"reset\" the data (sets values to default value) and a function to execute the\n * successful form validation process (through a callback).\n *\n * @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.\n *\n * @param props Form configuration object\n * @param extends ZodSchema} props.validationSchema Zod typed validation schema\n * @returns response - Composable with reactive form values and errors, and functions to handle the reactive data\n * @returns response.errorBag Object with all the form values and an array of each one of the errors (if any) per value\n * @returns response.errors Object with all the form values and the first error found for that field (if any)\n * @returns response.values Object with all the form values and their current value\n * @returns response.handleReset Resets the form values to default (initial values) when it gets called\n * @returns response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.\n * When the validation is successful it calls the callback so the submit process can continue\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n *\n * const { values, errors, errorBag, submitForm, handleReset } = useForm({\n * validationSchema\n * });\n * const handleSubmit = submitForm(() => {\n * // Send data to API here\n * })\n *\n */\nexport function useForm<T extends ZodSchema>({\n validationSchema,\n}: UseForm<T>): {\n errorBag: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string[];\n }>;\n errors: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string;\n }>;\n values: Ref<(typeof validationSchema)['_type']>;\n handleReset: () => void;\n submitForm: (submitted: any) => () => void;\n} {\n // Errors per field\n const errors = shallowRef<z.infer<typeof validationSchema>>({});\n // All errors per field\n const errorBag: Ref<ErrorBag<z.infer<typeof validationSchema>>> = ref({});\n const values: Ref<z.TypeOf<T>> = ref(getInitialFormValues<T>(validationSchema));\n\n const cleanErrors = () => {\n errors.value = {};\n errorBag.value = {};\n };\n\n const resetForm = () => {\n cleanErrors();\n values.value = getInitialFormValues<T>(validationSchema);\n };\n\n const submitForm = submitted => () => {\n cleanErrors();\n\n // Run validations on the form data through the schema\n const validSchema = validationSchema.safeParse(values.value);\n\n // Update errors\n if (!validSchema.success) {\n (validSchema as z.SafeParseError<T>).error.issues.forEach(error => {\n const path = normalizeFormPath(error);\n\n // Add the first ocurrance of a fild error to the \"errors\" object\n if (!errors.value[path]) {\n errors.value[path] = error.message;\n }\n\n // Add each error to the \"errorBag\" per field array\n if (!errorBag.value[path]) {\n errorBag.value[path] = [error.message];\n } else {\n errorBag.value[path].push(error.message);\n }\n });\n } else {\n submitted(values.value);\n }\n };\n\n return {\n // Values\n errorBag,\n errors,\n values,\n\n // Methods\n handleReset: () => resetForm(),\n submitForm,\n };\n}\n","import { BentoTheme } from './install';\n\nexport const useBentoThemeKey = Symbol('use-bento-theme');\n\nexport interface UseBentoTheme {\n getTheme: () => string;\n setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;\n}\n","import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\nimport { getCurrentInstance, inject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport { UseBentoTheme, useBentoThemeKey } from './use-bento-theme.types';\n\n/**\n * Composable that handles theming-related capabilities for the Bento component library.\n * Requires the use of `BentoPlugin`.\n *\n * @example\n * <script setup lang=\"ts\">\n * import { useBentoTheme, BentoTheme } from '@adyen/bento-vue2';\n *\n * const { setTheme } = useBentoTheme();\n *\n * setTheme(BentoTheme.BENTO_DARK)\n * </script>\n *\n * @returns {UseBentoTheme} An object with getter and setter method for the Bento theme.\n * @returns {Function} getTheme - Returns the current theme in the string form of BentoTheme enum.\n * @returns {Function} setTheme - Sets the theme of the Bento component library.\n *\n */\nexport function useBentoTheme(): UseBentoTheme {\n const bentoThemeController = isVue2\n ? getCurrentInstance()?.proxy[useBentoThemeKey]\n : inject(useBentoThemeKey, null);\n\n if (!bentoThemeController) {\n printDevelopmentWarning('useBentoTheme does not work without Vue.use(BentoPlugin)');\n\n // Return placeholder functions so client code won't break, but theme won't toggle\n return {\n getTheme: () => undefined,\n setTheme: () => undefined,\n };\n }\n\n // Return a new object so unintentional reassigning its properties won't override a global state\n return { ...bentoThemeController };\n}\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { createToastStack, toastStackInjectionKey } from './toast-stack';\n\n/**\n * This function is used to create and register global reactive state necessary fro the Toasts to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n if (isVue2) {\n // Add toast stack as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[toastStackInjectionKey] = createToastStack();\n } else {\n (Vue as App).provide(toastStackInjectionKey, createToastStack());\n }\n};\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { useBentoThemeKey } from './use-bento-theme.types';\n\nconst getTheme = () => document.body.className.match(/b-\\w+-theme/)?.[0] ?? '';\nconst getThemeForSystemPreference = () => {\n const preferredDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;\n\n if (preferredDarkMode) {\n return BentoTheme.BENTO_DARK;\n }\n\n return BentoTheme.BENTO_LIGHT;\n};\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n\n /**\n * @deprecated in favor of {@link BENTO_LIGHT}. To be removed in v2.0.0.\n */\n BENTO = '',\n\n BENTO_LIGHT = 'b-light-theme',\n BENTO_DARK = 'b-dark-theme',\n BENTO_SYSTEM = 'b-system',\n}\n\nexport const setTheme = (theme: BentoTheme) => {\n const currentTheme = getTheme();\n const systemTheme = getThemeForSystemPreference();\n const themeToSet = theme === BentoTheme.BENTO_SYSTEM ? systemTheme : theme;\n\n if (themeToSet === BentoTheme.BENTO_LIGHT || themeToSet === BentoTheme.BENTO) {\n document.documentElement.style.colorScheme = 'light';\n } else if (themeToSet === BentoTheme.BENTO_DARK) {\n document.documentElement.style.colorScheme = 'dark';\n }\n\n // if theme is different from current and it is not `BentoTheme.BENTO`\n if (currentTheme.length && currentTheme !== themeToSet) {\n document.body.classList.remove(currentTheme);\n }\n\n // if theme is not `BentoTheme.BENTO`\n if (themeToSet.length) {\n document.body.classList.add(themeToSet);\n }\n};\n\n/**\n * This function is used to create and register global reactive state necessary for theme to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n const themeProvider = {\n getTheme,\n setTheme,\n };\n\n if (isVue2) {\n // Add theme as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[useBentoThemeKey] = themeProvider;\n } else {\n (Vue as App).provide(useBentoThemeKey, themeProvider);\n }\n};\n","import type { PluginObject } from 'vue';\nimport installToast from './composables/use-bento-toast-controller/install';\nimport installTheme, { BentoTheme, setTheme } from './composables/use-bento-theme/install';\nimport { deprecate } from './utils/ts/deprecate';\n\ninterface BentoVuePlugin {\n theme?: BentoTheme;\n withToast?: boolean;\n withUtilityClasses?: boolean;\n withDesignTokensCSSInjection?: boolean;\n}\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n name: 'BentoVue',\n install: async (\n Vue,\n {\n theme = BentoTheme.BENTO_LIGHT,\n withToast = false,\n withUtilityClasses = false,\n withDesignTokensCSSInjection = true,\n }: BentoVuePlugin\n ) => {\n installTheme(Vue);\n\n if (withToast) {\n installToast(Vue);\n }\n if (withDesignTokensCSSInjection) {\n deprecate(\n 'Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin',\n 'Please disable CSS injection by setting withDesignTokensCSSInjection to false in BentoVue plugin options as highlighted here:\\nhttps://adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables',\n '2.0.0'\n );\n // Make sure to put all awaited CSS imports below this point and not above!\n if (theme === BentoTheme.LEGACY) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (theme === BentoTheme.STYLEGUIDE) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n }\n\n if (theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n } else if (theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n } else if (theme === BentoTheme.BENTO_SYSTEM) {\n setTheme(BentoTheme.BENTO_SYSTEM);\n } else if (theme === BentoTheme.BENTO_DARK) {\n setTheme(BentoTheme.BENTO_DARK);\n } else if (theme === BentoTheme.BENTO) {\n deprecate('Using `BentoTheme.BENTO`', 'Please use `BentoTheme.BENTO_LIGHT` instead', '2.0.0');\n setTheme(BentoTheme.BENTO_LIGHT);\n } else {\n setTheme(BentoTheme.BENTO_LIGHT);\n }\n },\n};\n\nexport { BentoTheme };\nexport default plugin;\n"],"names":["toTypedSchema","formSchema","getInitialFormValues","schema","z","key","value","normalizeFormPath","issue","useForm","validationSchema","errors","shallowRef","errorBag","ref","values","cleanErrors","resetForm","validSchema","submitted","error","path","useBentoThemeKey","useBentoTheme","bentoThemeController","_a","getCurrentInstance","printDevelopmentWarning","installToast","Vue","toastStackInjectionKey","createToastStack","getTheme","getThemeForSystemPreference","BentoTheme","setTheme","theme","currentTheme","systemTheme","themeToSet","installTheme","themeProvider","plugin","withToast","withUtilityClasses","withDesignTokensCSSInjection","deprecate"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/composables/use-form-validate/use-form.ts","../src/composables/use-bento-theme/use-bento-theme.types.ts","../src/composables/use-bento-theme/use-bento-theme.ts","../src/composables/use-bento-toast-controller/install.ts","../src/composables/use-bento-theme/install.ts","../src/install.ts"],"sourcesContent":["import { type Ref, ref, shallowRef } from 'vue';\nimport * as z from 'zod';\nimport type { ZodSchema } from 'zod';\nimport { type allKeys, type ErrorBag, type UseForm } from './use-form.types';\n\n/**\n * Composable that tansforms a Zod schema into a Typed Schema that can be used alongside with {@see useForm}.\n *\n * This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.\n * Function that transform Zod’s schemas into something that can be understood by vee-validate\n *\n * @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.\n *\n * @param formSchema Zod schema to be transformed into a `vee-validate` schema\n * @returns Schema transformed\n */\nexport function toTypedSchema<T extends ZodSchema>(formSchema: T) {\n return formSchema;\n}\n\n/**\n * Finds and returns the initial values of each of the values defined in the schema so that they\n * can be transformed into a reactive element.\n * @param schema Zod validation schema containing the definitions of each value to be used in the form\n * @returns Object with the items defined in the schema and their (default) values\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n * getInitialFormValues(validationSchema)\n *\n * Will return:\n *\n * {\n * name: 'Joe'\n * }\n *\n */\nfunction getInitialFormValues<T extends ZodSchema>(schema: T): z.infer<typeof schema> {\n if (!!z && schema instanceof z.ZodObject) {\n return Object.fromEntries(\n Object.entries(schema.shape).map(([key, value]) => {\n if (!!z && value instanceof z.ZodDefault) {\n // eslint-disable-next-line no-underscore-dangle\n return [key, value._def.defaultValue()];\n }\n\n if (!!z && value instanceof z.ZodObject) {\n return [key, getInitialFormValues(value)];\n }\n\n return [key, undefined];\n })\n ) as z.infer<typeof schema>;\n }\n\n return undefined;\n}\n\n/**\n * Constructs a path with dot paths for arrays to use brackets to be compatible with vee-validate path syntax\n * @param issue List of nested path elements\n * @returns Path with dots\n */\nfunction normalizeFormPath(issue: z.ZodIssue) {\n return issue.path.join('.');\n}\n\n/**\n * Composable that facilitates validating form data for Vue2 & Vue3 implementations with FormLayout\n * to ease the migration to Vue3.\n *\n * For Vue3 implementations use Vee-Validate.\n *\n * This provides a simplified version of Vee-Validate v4 implemented with Zod to validate a form schema.\n * It returns reactive values that can be used directly in form input elements with 'v-model' alongside\n * with functions to \"reset\" the data (sets values to default value) and a function to execute the\n * successful form validation process (through a callback).\n *\n * @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.\n *\n * @param props Form configuration object\n * @param extends ZodSchema} props.validationSchema Zod typed validation schema\n * @returns response - Composable with reactive form values and errors, and functions to handle the reactive data\n * @returns response.errorBag Object with all the form values and an array of each one of the errors (if any) per value\n * @returns response.errors Object with all the form values and the first error found for that field (if any)\n * @returns response.values Object with all the form values and their current value\n * @returns response.handleReset Resets the form values to default (initial values) when it gets called\n * @returns response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.\n * When the validation is successful it calls the callback so the submit process can continue\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n *\n * const { values, errors, errorBag, submitForm, handleReset } = useForm({\n * validationSchema\n * });\n * const handleSubmit = submitForm(() => {\n * // Send data to API here\n * })\n *\n */\nexport function useForm<T extends ZodSchema>({\n validationSchema,\n}: UseForm<T>): {\n errorBag: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string[];\n }>;\n errors: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string;\n }>;\n values: Ref<(typeof validationSchema)['_type']>;\n handleReset: () => void;\n submitForm: (submitted: any) => () => void;\n} {\n // Errors per field\n const errors = shallowRef<z.infer<typeof validationSchema>>({});\n // All errors per field\n const errorBag: Ref<ErrorBag<z.infer<typeof validationSchema>>> = ref({});\n const values: Ref<z.TypeOf<T>> = ref(getInitialFormValues<T>(validationSchema));\n\n const cleanErrors = () => {\n errors.value = {};\n errorBag.value = {};\n };\n\n const resetForm = () => {\n cleanErrors();\n values.value = getInitialFormValues<T>(validationSchema);\n };\n\n const submitForm = submitted => () => {\n cleanErrors();\n\n // Run validations on the form data through the schema\n const validSchema = validationSchema.safeParse(values.value);\n\n // Update errors\n if (!validSchema.success) {\n (validSchema as z.SafeParseError<T>).error.issues.forEach(error => {\n const path = normalizeFormPath(error);\n\n // Add the first ocurrance of a fild error to the \"errors\" object\n if (!errors.value[path]) {\n errors.value[path] = error.message;\n }\n\n // Add each error to the \"errorBag\" per field array\n if (!errorBag.value[path]) {\n errorBag.value[path] = [error.message];\n } else {\n errorBag.value[path].push(error.message);\n }\n });\n } else {\n submitted(values.value);\n }\n };\n\n return {\n // Values\n errorBag,\n errors,\n values,\n\n // Methods\n handleReset: () => resetForm(),\n submitForm,\n };\n}\n","import { type BentoTheme } from './install';\n\nexport const useBentoThemeKey = Symbol('use-bento-theme');\n\nexport interface UseBentoTheme {\n getTheme: () => string;\n setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;\n}\n","import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\nimport { getCurrentInstance, inject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport { type UseBentoTheme, useBentoThemeKey } from './use-bento-theme.types';\n\n/**\n * Composable that handles theming-related capabilities for the Bento component library.\n * Requires the use of `BentoPlugin`.\n *\n * @example\n * <script setup lang=\"ts\">\n * import { useBentoTheme, BentoTheme } from '@adyen/bento-vue2';\n *\n * const { setTheme } = useBentoTheme();\n *\n * setTheme(BentoTheme.BENTO_DARK)\n * </script>\n *\n * @returns {UseBentoTheme} An object with getter and setter method for the Bento theme.\n * @returns {Function} getTheme - Returns the current theme in the string form of BentoTheme enum.\n * @returns {Function} setTheme - Sets the theme of the Bento component library.\n *\n */\nexport function useBentoTheme(): UseBentoTheme {\n const bentoThemeController = isVue2\n ? getCurrentInstance()?.proxy[useBentoThemeKey]\n : inject(useBentoThemeKey, null);\n\n if (!bentoThemeController) {\n printDevelopmentWarning('useBentoTheme does not work without Vue.use(BentoPlugin)');\n\n // Return placeholder functions so client code won't break, but theme won't toggle\n return {\n getTheme: () => undefined,\n setTheme: () => undefined,\n };\n }\n\n // Return a new object so unintentional reassigning its properties won't override a global state\n return { ...bentoThemeController };\n}\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { createToastStack, toastStackInjectionKey } from './toast-stack';\n\n/**\n * This function is used to create and register global reactive state necessary fro the Toasts to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n if (isVue2) {\n // Add toast stack as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[toastStackInjectionKey] = createToastStack();\n } else {\n (Vue as App).provide(toastStackInjectionKey, createToastStack());\n }\n};\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { useBentoThemeKey } from './use-bento-theme.types';\n\nconst getTheme = () => document.body.className.match(/b-\\w+-theme/)?.[0] ?? '';\nconst getThemeForSystemPreference = () => {\n const preferredDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;\n\n if (preferredDarkMode) {\n return BentoTheme.BENTO_DARK;\n }\n\n return BentoTheme.BENTO_LIGHT;\n};\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n\n /**\n * @deprecated in favor of {@link BENTO_LIGHT}. To be removed in v2.0.0.\n */\n BENTO = '',\n\n BENTO_LIGHT = 'b-light-theme',\n BENTO_DARK = 'b-dark-theme',\n BENTO_SYSTEM = 'b-system',\n}\n\nexport const setTheme = (theme: BentoTheme) => {\n const currentTheme = getTheme();\n const systemTheme = getThemeForSystemPreference();\n const themeToSet = theme === BentoTheme.BENTO_SYSTEM ? systemTheme : theme;\n\n if (themeToSet === BentoTheme.BENTO_LIGHT || themeToSet === BentoTheme.BENTO) {\n document.documentElement.style.colorScheme = 'light';\n } else if (themeToSet === BentoTheme.BENTO_DARK) {\n document.documentElement.style.colorScheme = 'dark';\n }\n\n // if theme is different from current and it is not `BentoTheme.BENTO`\n if (currentTheme.length && currentTheme !== themeToSet) {\n document.body.classList.remove(currentTheme);\n }\n\n // if theme is not `BentoTheme.BENTO`\n if (themeToSet.length) {\n document.body.classList.add(themeToSet);\n }\n};\n\n/**\n * This function is used to create and register global reactive state necessary for theme to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n const themeProvider = {\n getTheme,\n setTheme,\n };\n\n if (isVue2) {\n // Add theme as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[useBentoThemeKey] = themeProvider;\n } else {\n (Vue as App).provide(useBentoThemeKey, themeProvider);\n }\n};\n","import type { PluginObject } from 'vue';\nimport installToast from './composables/use-bento-toast-controller/install';\nimport installTheme, { BentoTheme, setTheme } from './composables/use-bento-theme/install';\nimport { deprecate } from './utils/ts/deprecate';\n\ninterface BentoVuePlugin {\n theme?: BentoTheme;\n withToast?: boolean;\n withUtilityClasses?: boolean;\n withDesignTokensCSSInjection?: boolean;\n}\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n name: 'BentoVue',\n install: async (\n Vue,\n {\n theme = BentoTheme.BENTO_LIGHT,\n withToast = false,\n withUtilityClasses = false,\n withDesignTokensCSSInjection = true,\n }: BentoVuePlugin\n ) => {\n installTheme(Vue);\n\n if (withToast) {\n installToast(Vue);\n }\n if (withDesignTokensCSSInjection) {\n deprecate(\n 'Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin',\n 'Please disable CSS injection by setting withDesignTokensCSSInjection to false in BentoVue plugin options as highlighted here:\\nhttps://adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables',\n '2.0.0'\n );\n // Make sure to put all awaited CSS imports below this point and not above!\n if (theme === BentoTheme.LEGACY) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (theme === BentoTheme.STYLEGUIDE) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n }\n\n if (theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n } else if (theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n } else if (theme === BentoTheme.BENTO_SYSTEM) {\n setTheme(BentoTheme.BENTO_SYSTEM);\n } else if (theme === BentoTheme.BENTO_DARK) {\n setTheme(BentoTheme.BENTO_DARK);\n } else if (theme === BentoTheme.BENTO) {\n deprecate('Using `BentoTheme.BENTO`', 'Please use `BentoTheme.BENTO_LIGHT` instead', '2.0.0');\n setTheme(BentoTheme.BENTO_LIGHT);\n } else {\n setTheme(BentoTheme.BENTO_LIGHT);\n }\n },\n};\n\nexport { BentoTheme };\nexport default plugin;\n"],"names":["toTypedSchema","formSchema","getInitialFormValues","schema","z","key","value","normalizeFormPath","issue","useForm","validationSchema","errors","shallowRef","errorBag","ref","values","cleanErrors","resetForm","validSchema","submitted","error","path","useBentoThemeKey","useBentoTheme","bentoThemeController","_a","getCurrentInstance","printDevelopmentWarning","installToast","Vue","toastStackInjectionKey","createToastStack","getTheme","getThemeForSystemPreference","BentoTheme","setTheme","theme","currentTheme","systemTheme","themeToSet","installTheme","themeProvider","plugin","withToast","withUtilityClasses","withDesignTokensCSSInjection","deprecate"],"mappings":"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"}
|
package/dist/info-icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as a, m as s, r as i, b as c, c as u, a as o } from "./chunks/input-field-password.
|
|
1
|
+
import { i as a, m as s, r as i, b as c, c as u, a as o } from "./chunks/input-field-password.DsslmTb_.js";
|
|
2
2
|
export {
|
|
3
3
|
a as BentoInputFieldPassword,
|
|
4
4
|
s as minLength,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { i as
|
|
1
|
+
import { i as o, B as t } from "./chunks/input-field-phone-number.D2T8jzAr.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
o as BentoInputFieldPhoneNumber,
|
|
4
|
+
t as BentoInputFieldPhoneNumberCountries
|
|
4
5
|
};
|
|
5
6
|
//# sourceMappingURL=input-field-phone-number.js.map
|
package/dist/input-field.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as n, b as a, e as o, c as i, d as s, a as l } from "./chunks/input-field.
|
|
1
|
+
import { B as n, b as a, e as o, c as i, d as s, a as l } from "./chunks/input-field.DnnXXill.js";
|
|
2
2
|
export {
|
|
3
3
|
n as BentoInputField,
|
|
4
4
|
a as BentoInputFieldElementPosition,
|
package/dist/inspector.js
CHANGED