@adyen/bento-vue2 1.59.0 → 1.60.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/package.json +12 -8
- package/dist/@types/components.d.ts +0 -201
- package/dist/@types/index.d.ts +0 -17671
- package/dist/accordion.js +0 -6
- package/dist/accordion.js.map +0 -1
- package/dist/action-bar.js +0 -5
- package/dist/action-bar.js.map +0 -1
- package/dist/alert.js +0 -8
- package/dist/alert.js.map +0 -1
- package/dist/assets/accordion-item.css +0 -1
- package/dist/assets/action-bar.css +0 -1
- package/dist/assets/alert.css +0 -1
- package/dist/assets/avatar.css +0 -1
- package/dist/assets/base-button.css +0 -1
- package/dist/assets/base-modal.css +0 -1
- package/dist/assets/button-actions-with-menu.css +0 -1
- package/dist/assets/button-actions.css +0 -1
- package/dist/assets/button.css +0 -1
- package/dist/assets/calendar.css +0 -1
- package/dist/assets/card.css +0 -1
- package/dist/assets/checkbox-group.css +0 -1
- package/dist/assets/checkbox-input.css +0 -1
- package/dist/assets/checkbox.css +0 -1
- package/dist/assets/chip.css +0 -1
- package/dist/assets/code-snippet.css +0 -1
- package/dist/assets/controls-group.css +0 -1
- package/dist/assets/copy.css +0 -1
- package/dist/assets/country.css +0 -1
- package/dist/assets/currency.css +0 -1
- package/dist/assets/dashboard-section.css +0 -1
- package/dist/assets/dashed-underline.css +0 -1
- package/dist/assets/data-grid-template.css +0 -1
- package/dist/assets/data-grid.css +0 -1
- package/dist/assets/date-picker.css +0 -1
- package/dist/assets/date-range-picker.css +0 -1
- package/dist/assets/date.css +0 -1
- package/dist/assets/dialog-page.css +0 -1
- package/dist/assets/divider.css +0 -1
- package/dist/assets/dropdown-default-textbox.css +0 -1
- package/dist/assets/dropdown-tag.css +0 -1
- package/dist/assets/dropdown.css +0 -1
- package/dist/assets/empty-state.css +0 -1
- package/dist/assets/error-message.css +0 -1
- package/dist/assets/file-uploader.css +0 -1
- package/dist/assets/filter-bar.css +0 -1
- package/dist/assets/fixed-scroller.css +0 -1
- package/dist/assets/focus-trap.css +0 -1
- package/dist/assets/footer-actions.css +0 -1
- package/dist/assets/form-layout-title.css +0 -1
- package/dist/assets/grid-layout.css +0 -1
- package/dist/assets/header-with-views.css +0 -1
- package/dist/assets/header.css +0 -1
- package/dist/assets/info-icon-with-popover.css +0 -1
- package/dist/assets/info-icon.css +0 -1
- package/dist/assets/input-field-password.css +0 -1
- package/dist/assets/input-field-phone-number.css +0 -1
- package/dist/assets/input-field.css +0 -1
- package/dist/assets/inspector.css +0 -1
- package/dist/assets/layout-row.css +0 -1
- package/dist/assets/link.css +0 -1
- package/dist/assets/listbox-option-tag.css +0 -1
- package/dist/assets/loading-indicator.css +0 -1
- package/dist/assets/main.css +0 -1
- package/dist/assets/menu.css +0 -1
- package/dist/assets/modal-fullscreen.css +0 -1
- package/dist/assets/pagination.css +0 -1
- package/dist/assets/payment-method.css +0 -1
- package/dist/assets/popover.css +0 -1
- package/dist/assets/popper-container.css +0 -1
- package/dist/assets/promo-banner.css +0 -1
- package/dist/assets/radio-group.css +0 -1
- package/dist/assets/radio-input.css +0 -1
- package/dist/assets/rich-text-editor.css +0 -1
- package/dist/assets/search-bar.css +0 -1
- package/dist/assets/secondary-nav.css +0 -1
- package/dist/assets/segmented-control.css +0 -1
- package/dist/assets/selection-card-group.css +0 -1
- package/dist/assets/sidepanel.css +0 -1
- package/dist/assets/status.css +0 -1
- package/dist/assets/step.css +0 -1
- package/dist/assets/structured-list-item.css +0 -1
- package/dist/assets/summary-grid.css +0 -1
- package/dist/assets/tabs.css +0 -1
- package/dist/assets/tag.css +0 -1
- package/dist/assets/teleport.css +0 -1
- package/dist/assets/textarea.css +0 -1
- package/dist/assets/timeline-item.css +0 -1
- package/dist/assets/toast.css +0 -1
- package/dist/assets/toggle-button.css +0 -1
- package/dist/assets/toggle.css +0 -1
- package/dist/assets/tooltip.css +0 -1
- package/dist/assets/tutorial.css +0 -1
- package/dist/assets/typography.css +0 -1
- package/dist/assets/use-cached-selected-values.css +0 -1
- package/dist/avatar.js +0 -5
- package/dist/avatar.js.map +0 -1
- package/dist/button.js +0 -16
- package/dist/button.js.map +0 -1
- package/dist/card.js +0 -7
- package/dist/card.js.map +0 -1
- package/dist/checkbox.js +0 -11
- package/dist/checkbox.js.map +0 -1
- package/dist/chip.js +0 -5
- package/dist/chip.js.map +0 -1
- package/dist/chunks/1-generic-use.CZhwP2Yc.js +0 -5
- package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +0 -1
- package/dist/chunks/1-generic-use.R6x8PEGA.js +0 -5
- package/dist/chunks/1-generic-use.R6x8PEGA.js.map +0 -1
- package/dist/chunks/2-generic-use.CNKjB4B7.js +0 -5
- package/dist/chunks/2-generic-use.CNKjB4B7.js.map +0 -1
- package/dist/chunks/2-generic-use.w0fUhovx.js +0 -5
- package/dist/chunks/2-generic-use.w0fUhovx.js.map +0 -1
- package/dist/chunks/3-generic-use.BLEzR04g.js +0 -5
- package/dist/chunks/3-generic-use.BLEzR04g.js.map +0 -1
- package/dist/chunks/3-generic-use.D3NFHgI4.js +0 -5
- package/dist/chunks/3-generic-use.D3NFHgI4.js.map +0 -1
- package/dist/chunks/4-generic-use.CULEpvgj.js +0 -5
- package/dist/chunks/4-generic-use.CULEpvgj.js.map +0 -1
- package/dist/chunks/4-generic-use.D82y3n39.js +0 -5
- package/dist/chunks/4-generic-use.D82y3n39.js.map +0 -1
- package/dist/chunks/_commonjsHelpers.C6fGbg64.js +0 -7
- package/dist/chunks/_commonjsHelpers.C6fGbg64.js.map +0 -1
- package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +0 -11
- package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +0 -1
- package/dist/chunks/accordion-item.C4tyRMCt.js +0 -116
- package/dist/chunks/accordion-item.C4tyRMCt.js.map +0 -1
- package/dist/chunks/action-bar.CHVePTM6.js +0 -161
- package/dist/chunks/action-bar.CHVePTM6.js.map +0 -1
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js +0 -5
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +0 -1
- package/dist/chunks/adding-payment-methods.Dle8zt43.js +0 -5
- package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +0 -1
- package/dist/chunks/adyen-giving.Ffw_DlJK.js +0 -5
- package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +0 -1
- package/dist/chunks/adyen-giving.LiKHj_jY.js +0 -5
- package/dist/chunks/adyen-giving.LiKHj_jY.js.map +0 -1
- package/dist/chunks/alert.Du9NfW-V.js +0 -103
- package/dist/chunks/alert.Du9NfW-V.js.map +0 -1
- package/dist/chunks/aria-label.CaUURpnB.js +0 -13
- package/dist/chunks/aria-label.CaUURpnB.js.map +0 -1
- package/dist/chunks/avatar.BgwjpLQO.js +0 -71
- package/dist/chunks/avatar.BgwjpLQO.js.map +0 -1
- package/dist/chunks/base-button.-gx_u8Bd.js +0 -86
- package/dist/chunks/base-button.-gx_u8Bd.js.map +0 -1
- package/dist/chunks/base-modal.DxywEyGO.js +0 -373
- package/dist/chunks/base-modal.DxywEyGO.js.map +0 -1
- package/dist/chunks/base-modal.keys.C2PQXcE2.js +0 -5
- package/dist/chunks/base-modal.keys.C2PQXcE2.js.map +0 -1
- package/dist/chunks/bin.DuebwJYu.js +0 -24
- package/dist/chunks/bin.DuebwJYu.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.Bh5D7sgB.js +0 -166
- package/dist/chunks/button-actions-with-menu.Bh5D7sgB.js.map +0 -1
- package/dist/chunks/button-actions.V0te_IrY.js +0 -194
- package/dist/chunks/button-actions.V0te_IrY.js.map +0 -1
- package/dist/chunks/button.BuD-IsW5.js +0 -99
- package/dist/chunks/button.BuD-IsW5.js.map +0 -1
- package/dist/chunks/calendar.C4vFYvsY.js +0 -1166
- package/dist/chunks/calendar.C4vFYvsY.js.map +0 -1
- package/dist/chunks/card.CC4BEw-7.js +0 -123
- package/dist/chunks/card.CC4BEw-7.js.map +0 -1
- package/dist/chunks/checkbox-group.BfPZ_Eec.js +0 -152
- package/dist/chunks/checkbox-group.BfPZ_Eec.js.map +0 -1
- package/dist/chunks/checkbox-input.Dr1GS2BZ.js +0 -137
- package/dist/chunks/checkbox-input.Dr1GS2BZ.js.map +0 -1
- package/dist/chunks/checkbox.CTeT6JEP.js +0 -176
- package/dist/chunks/checkbox.CTeT6JEP.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js +0 -24
- package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js.map +0 -1
- package/dist/chunks/checkmark-small.C8T8ISN6.js +0 -24
- package/dist/chunks/checkmark-small.C8T8ISN6.js.map +0 -1
- package/dist/chunks/chevron-left.DOMTgGel.js +0 -43
- package/dist/chunks/chevron-left.DOMTgGel.js.map +0 -1
- package/dist/chunks/chevron-up.CSVyoaTy.js +0 -43
- package/dist/chunks/chevron-up.CSVyoaTy.js.map +0 -1
- package/dist/chunks/chip.bZEhHfIk.js +0 -63
- package/dist/chunks/chip.bZEhHfIk.js.map +0 -1
- package/dist/chunks/click-outside.C1Ud8AA2.js +0 -23
- package/dist/chunks/click-outside.C1Ud8AA2.js.map +0 -1
- package/dist/chunks/code-snippet.0x8O1dkV.js +0 -259
- package/dist/chunks/code-snippet.0x8O1dkV.js.map +0 -1
- package/dist/chunks/codemirror.Zv80n3Z2.js +0 -14628
- package/dist/chunks/codemirror.Zv80n3Z2.js.map +0 -1
- package/dist/chunks/controls-group.CvpddKxq.js +0 -81
- package/dist/chunks/controls-group.CvpddKxq.js.map +0 -1
- package/dist/chunks/copy.TvI9Au3G.js +0 -129
- package/dist/chunks/copy.TvI9Au3G.js.map +0 -1
- package/dist/chunks/country.Df7erZov.js +0 -94
- package/dist/chunks/country.Df7erZov.js.map +0 -1
- package/dist/chunks/country.types.C0Q_hhgJ.js +0 -269
- package/dist/chunks/country.types.C0Q_hhgJ.js.map +0 -1
- package/dist/chunks/cross-circle-fill-small.YhLgeipP.js +0 -24
- package/dist/chunks/cross-circle-fill-small.YhLgeipP.js.map +0 -1
- package/dist/chunks/cross-circle-fill.Ra0-PIUo.js +0 -24
- package/dist/chunks/cross-circle-fill.Ra0-PIUo.js.map +0 -1
- package/dist/chunks/cross-small.CZqsjZDz.js +0 -24
- package/dist/chunks/cross-small.CZqsjZDz.js.map +0 -1
- package/dist/chunks/cross.CJ5EEL2c.js +0 -24
- package/dist/chunks/cross.CJ5EEL2c.js.map +0 -1
- package/dist/chunks/currency.B1F9YOIx.js +0 -106
- package/dist/chunks/currency.B1F9YOIx.js.map +0 -1
- package/dist/chunks/dashboard-section.C5zXN82c.js +0 -102
- package/dist/chunks/dashboard-section.C5zXN82c.js.map +0 -1
- package/dist/chunks/dashed-underline.pd87ohFZ.js +0 -65
- package/dist/chunks/dashed-underline.pd87ohFZ.js.map +0 -1
- package/dist/chunks/data-grid-template.keys.2_AkxuNT.js +0 -5
- package/dist/chunks/data-grid-template.keys.2_AkxuNT.js.map +0 -1
- package/dist/chunks/data-grid-template.l-aJapU0.js +0 -84
- package/dist/chunks/data-grid-template.l-aJapU0.js.map +0 -1
- package/dist/chunks/data-grid.vFEU_kt8.js +0 -2782
- package/dist/chunks/data-grid.vFEU_kt8.js.map +0 -1
- package/dist/chunks/date-input.BqBdAO1E.js +0 -17
- package/dist/chunks/date-input.BqBdAO1E.js.map +0 -1
- package/dist/chunks/date-picker.DjbZAEcj.js +0 -235
- package/dist/chunks/date-picker.DjbZAEcj.js.map +0 -1
- package/dist/chunks/date-range-picker.C1ijTRdf.js +0 -966
- package/dist/chunks/date-range-picker.C1ijTRdf.js.map +0 -1
- package/dist/chunks/date.dYFFEunA.js +0 -987
- package/dist/chunks/date.dYFFEunA.js.map +0 -1
- package/dist/chunks/debounce.DUTu11PS.js +0 -10
- package/dist/chunks/debounce.DUTu11PS.js.map +0 -1
- package/dist/chunks/dialog-page.uGh0kYDL.js +0 -131
- package/dist/chunks/dialog-page.uGh0kYDL.js.map +0 -1
- package/dist/chunks/directive.Cbdox5VL.js +0 -23
- package/dist/chunks/directive.Cbdox5VL.js.map +0 -1
- package/dist/chunks/divider.Cc4JFWG_.js +0 -35
- package/dist/chunks/divider.Cc4JFWG_.js.map +0 -1
- package/dist/chunks/dot.CnkXzRn3.js +0 -24
- package/dist/chunks/dot.CnkXzRn3.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.AUsF-RIc.js +0 -348
- package/dist/chunks/dropdown-default-textbox.AUsF-RIc.js.map +0 -1
- package/dist/chunks/dropdown-tag.CXY_WiRj.js +0 -215
- package/dist/chunks/dropdown-tag.CXY_WiRj.js.map +0 -1
- package/dist/chunks/dropdown.DYN8Okpo.js +0 -818
- package/dist/chunks/dropdown.DYN8Okpo.js.map +0 -1
- package/dist/chunks/empty-state.IvvHHQ35.js +0 -151
- package/dist/chunks/empty-state.IvvHHQ35.js.map +0 -1
- package/dist/chunks/error-message.BM8Y6-u5.js +0 -121
- package/dist/chunks/error-message.BM8Y6-u5.js.map +0 -1
- package/dist/chunks/es6.BA9GH7QZ.js +0 -11
- package/dist/chunks/es6.BA9GH7QZ.js.map +0 -1
- package/dist/chunks/events.CMzGybJJ.js +0 -47
- package/dist/chunks/events.CMzGybJJ.js.map +0 -1
- package/dist/chunks/expand.C263WARj.js +0 -24
- package/dist/chunks/expand.C263WARj.js.map +0 -1
- package/dist/chunks/file-uploader.pWrwnN-c.js +0 -1913
- package/dist/chunks/file-uploader.pWrwnN-c.js.map +0 -1
- package/dist/chunks/filter-bar.BYHzhAr8.js +0 -2288
- package/dist/chunks/filter-bar.BYHzhAr8.js.map +0 -1
- package/dist/chunks/fixed-scroller.D0a6q8_i.js +0 -106
- package/dist/chunks/fixed-scroller.D0a6q8_i.js.map +0 -1
- package/dist/chunks/focus-trap.DKT1Fe6X.js +0 -499
- package/dist/chunks/focus-trap.DKT1Fe6X.js.map +0 -1
- package/dist/chunks/footer-actions.Cn-793_Z.js +0 -96
- package/dist/chunks/footer-actions.Cn-793_Z.js.map +0 -1
- package/dist/chunks/form-layout-title.DBCY18f8.js +0 -190
- package/dist/chunks/form-layout-title.DBCY18f8.js.map +0 -1
- package/dist/chunks/form-layout.types.D3EKzbE7.js +0 -5
- package/dist/chunks/form-layout.types.D3EKzbE7.js.map +0 -1
- package/dist/chunks/generate-uid.NJ8tVoha.js +0 -32
- package/dist/chunks/generate-uid.NJ8tVoha.js.map +0 -1
- package/dist/chunks/get-date-locale.BN8xEjY0.js +0 -1735
- package/dist/chunks/get-date-locale.BN8xEjY0.js.map +0 -1
- package/dist/chunks/get-slot-text.BQS5Olxm.js +0 -12
- package/dist/chunks/get-slot-text.BQS5Olxm.js.map +0 -1
- package/dist/chunks/grid-layout.HvTAa4to.js +0 -76
- package/dist/chunks/grid-layout.HvTAa4to.js.map +0 -1
- package/dist/chunks/header-with-views.Cqd864mp.js +0 -1536
- package/dist/chunks/header-with-views.Cqd864mp.js.map +0 -1
- package/dist/chunks/header.Ds1iyTzn.js +0 -187
- package/dist/chunks/header.Ds1iyTzn.js.map +0 -1
- package/dist/chunks/i18n.BQkEbtPM.js +0 -31
- package/dist/chunks/i18n.BQkEbtPM.js.map +0 -1
- package/dist/chunks/image.C2D2hKat.js +0 -56
- package/dist/chunks/image.C2D2hKat.js.map +0 -1
- package/dist/chunks/index.BDuTpjD8.js +0 -40
- package/dist/chunks/index.BDuTpjD8.js.map +0 -1
- package/dist/chunks/index.BxBB1rsx.js +0 -15
- package/dist/chunks/index.BxBB1rsx.js.map +0 -1
- package/dist/chunks/index.Cl4_42j5.js +0 -8
- package/dist/chunks/index.Cl4_42j5.js.map +0 -1
- package/dist/chunks/index.DD7TppDb.js +0 -10
- package/dist/chunks/index.DD7TppDb.js.map +0 -1
- package/dist/chunks/index.oJzeCMPe.js +0 -529
- package/dist/chunks/index.oJzeCMPe.js.map +0 -1
- package/dist/chunks/info-icon-with-popover.yLETQrb9.js +0 -71
- package/dist/chunks/info-icon-with-popover.yLETQrb9.js.map +0 -1
- package/dist/chunks/info-icon.G9FAlO4C.js +0 -41
- package/dist/chunks/info-icon.G9FAlO4C.js.map +0 -1
- package/dist/chunks/info.4d_mJHvT.js +0 -24
- package/dist/chunks/info.4d_mJHvT.js.map +0 -1
- package/dist/chunks/input-field-password.C1OF1nmo.js +0 -251
- package/dist/chunks/input-field-password.C1OF1nmo.js.map +0 -1
- package/dist/chunks/input-field-phone-number.Dfa1fxvS.js +0 -3097
- package/dist/chunks/input-field-phone-number.Dfa1fxvS.js.map +0 -1
- package/dist/chunks/input-field.C9-4Xo4h.js +0 -152
- package/dist/chunks/input-field.C9-4Xo4h.js.map +0 -1
- package/dist/chunks/inspector.types.NVDCPiVL.js +0 -104
- package/dist/chunks/inspector.types.NVDCPiVL.js.map +0 -1
- package/dist/chunks/internal-error.BLZodVBE.js +0 -5
- package/dist/chunks/internal-error.BLZodVBE.js.map +0 -1
- package/dist/chunks/internal-error.BmrwJFpR.js +0 -5
- package/dist/chunks/internal-error.BmrwJFpR.js.map +0 -1
- package/dist/chunks/keyboard-navigation.pB8weElW.js +0 -66
- package/dist/chunks/keyboard-navigation.pB8weElW.js.map +0 -1
- package/dist/chunks/layout-row.c0ugsIw6.js +0 -87
- package/dist/chunks/layout-row.c0ugsIw6.js.map +0 -1
- package/dist/chunks/link.D0P79Toh.js +0 -95
- package/dist/chunks/link.D0P79Toh.js.map +0 -1
- package/dist/chunks/listbox-option-tag.BcLYsizL.js +0 -44
- package/dist/chunks/listbox-option-tag.BcLYsizL.js.map +0 -1
- package/dist/chunks/loading-indicator.z8COalOc.js +0 -48
- package/dist/chunks/loading-indicator.z8COalOc.js.map +0 -1
- package/dist/chunks/menu.DDXB-L8u.js +0 -601
- package/dist/chunks/menu.DDXB-L8u.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-fullscreen.os2jZ30i.js +0 -202
- package/dist/chunks/modal-fullscreen.os2jZ30i.js.map +0 -1
- package/dist/chunks/modal.D5OesJnF.js +0 -445
- package/dist/chunks/modal.D5OesJnF.js.map +0 -1
- package/dist/chunks/no-results-found.Bg_ZcEid.js +0 -5
- package/dist/chunks/no-results-found.Bg_ZcEid.js.map +0 -1
- package/dist/chunks/no-results-found.BqvYsBR6.js +0 -5
- package/dist/chunks/no-results-found.BqvYsBR6.js.map +0 -1
- package/dist/chunks/notifications-cleared.BMZk37uf.js +0 -5
- package/dist/chunks/notifications-cleared.BMZk37uf.js.map +0 -1
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js +0 -5
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +0 -1
- package/dist/chunks/on-click-outside.D9aY9g8G.js +0 -101
- package/dist/chunks/on-click-outside.D9aY9g8G.js.map +0 -1
- package/dist/chunks/page-not-found.COJLPVaU.js +0 -5
- package/dist/chunks/page-not-found.COJLPVaU.js.map +0 -1
- package/dist/chunks/page-not-found.DWW6W-PZ.js +0 -5
- package/dist/chunks/page-not-found.DWW6W-PZ.js.map +0 -1
- package/dist/chunks/pagination.BoWzbJVF.js +0 -338
- package/dist/chunks/pagination.BoWzbJVF.js.map +0 -1
- package/dist/chunks/payment-method.Cx4nPDtE.js +0 -76
- package/dist/chunks/payment-method.Cx4nPDtE.js.map +0 -1
- package/dist/chunks/payment-method.types.BqtH7RM2.js +0 -5
- package/dist/chunks/payment-method.types.BqtH7RM2.js.map +0 -1
- package/dist/chunks/planned-maintenance.C61sWB9h.js +0 -5
- package/dist/chunks/planned-maintenance.C61sWB9h.js.map +0 -1
- package/dist/chunks/planned-maintenance.jmWYTdet.js +0 -5
- package/dist/chunks/planned-maintenance.jmWYTdet.js.map +0 -1
- package/dist/chunks/popover.K53VtitI.js +0 -295
- package/dist/chunks/popover.K53VtitI.js.map +0 -1
- package/dist/chunks/popper-container.DUNt7nKd.js +0 -1393
- package/dist/chunks/popper-container.DUNt7nKd.js.map +0 -1
- package/dist/chunks/promo-banner.BpLrkuMc.js +0 -70
- package/dist/chunks/promo-banner.BpLrkuMc.js.map +0 -1
- package/dist/chunks/radio-group.BE8gvwsL.js +0 -229
- package/dist/chunks/radio-group.BE8gvwsL.js.map +0 -1
- package/dist/chunks/radio-input.uJAhxKRs.js +0 -90
- package/dist/chunks/radio-input.uJAhxKRs.js.map +0 -1
- package/dist/chunks/referrals.BvtT-kQS.js +0 -5
- package/dist/chunks/referrals.BvtT-kQS.js.map +0 -1
- package/dist/chunks/referrals.aX8WZigH.js +0 -5
- package/dist/chunks/referrals.aX8WZigH.js.map +0 -1
- package/dist/chunks/refresh.Bc9FzGjJ.js +0 -24
- package/dist/chunks/refresh.Bc9FzGjJ.js.map +0 -1
- package/dist/chunks/resize.Bqks3WUm.js +0 -15
- package/dist/chunks/resize.Bqks3WUm.js.map +0 -1
- package/dist/chunks/rich-text-editor.CP_xdt6R.js +0 -6203
- package/dist/chunks/rich-text-editor.CP_xdt6R.js.map +0 -1
- package/dist/chunks/search-bar.I2f0f4fU.js +0 -97
- package/dist/chunks/search-bar.I2f0f4fU.js.map +0 -1
- package/dist/chunks/search.DLtglc02.js +0 -24
- package/dist/chunks/search.DLtglc02.js.map +0 -1
- package/dist/chunks/secondary-nav.D1-GnlU-.js +0 -112
- package/dist/chunks/secondary-nav.D1-GnlU-.js.map +0 -1
- package/dist/chunks/segmented-control.A2eatwIG.js +0 -112
- package/dist/chunks/segmented-control.A2eatwIG.js.map +0 -1
- package/dist/chunks/segmented-control.types.BHRLV8KU.js +0 -5
- package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +0 -1
- package/dist/chunks/selection-card-group.CFNCbcRU.js +0 -299
- package/dist/chunks/selection-card-group.CFNCbcRU.js.map +0 -1
- package/dist/chunks/show.e4LEpZKG.js +0 -43
- package/dist/chunks/show.e4LEpZKG.js.map +0 -1
- package/dist/chunks/sidepanel.CGGRp0oL.js +0 -210
- package/dist/chunks/sidepanel.CGGRp0oL.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 +0 -36
- package/dist/chunks/status.types.p_TCvoo0.js.map +0 -1
- package/dist/chunks/step.CuOpi-Ye.js +0 -217
- package/dist/chunks/step.CuOpi-Ye.js.map +0 -1
- package/dist/chunks/structured-list-item.C8K371Ss.js +0 -87
- package/dist/chunks/structured-list-item.C8K371Ss.js.map +0 -1
- package/dist/chunks/success.DhioLvPD.js +0 -5
- package/dist/chunks/success.DhioLvPD.js.map +0 -1
- package/dist/chunks/success.nNwxJRBS.js +0 -5
- package/dist/chunks/success.nNwxJRBS.js.map +0 -1
- package/dist/chunks/summary-grid.keys.CxTf_FOc.js +0 -6
- package/dist/chunks/summary-grid.keys.CxTf_FOc.js.map +0 -1
- package/dist/chunks/summary-grid.types.DdghLR6f.js +0 -301
- package/dist/chunks/summary-grid.types.DdghLR6f.js.map +0 -1
- package/dist/chunks/tabs.DX_Gq12z.js +0 -205
- package/dist/chunks/tabs.DX_Gq12z.js.map +0 -1
- package/dist/chunks/tabs.keys.Bc2pSKRw.js +0 -7
- package/dist/chunks/tabs.keys.Bc2pSKRw.js.map +0 -1
- package/dist/chunks/tag.B2vxWwV1.js +0 -44
- package/dist/chunks/tag.B2vxWwV1.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.DPa9t8Jw.js +0 -200
- package/dist/chunks/textarea.DPa9t8Jw.js.map +0 -1
- package/dist/chunks/timeline-item.D2534IA9.js +0 -386
- package/dist/chunks/timeline-item.D2534IA9.js.map +0 -1
- package/dist/chunks/toast.B2u2W_TQ.js +0 -171
- package/dist/chunks/toast.B2u2W_TQ.js.map +0 -1
- package/dist/chunks/toggle-button.ChDbeBZ8.js +0 -83
- package/dist/chunks/toggle-button.ChDbeBZ8.js.map +0 -1
- package/dist/chunks/toggle.Q52IIKfi.js +0 -121
- package/dist/chunks/toggle.Q52IIKfi.js.map +0 -1
- package/dist/chunks/tooltip.B8nCejpo.js +0 -189
- package/dist/chunks/tooltip.B8nCejpo.js.map +0 -1
- package/dist/chunks/truncate.BfIl_-71.js +0 -8
- package/dist/chunks/truncate.BfIl_-71.js.map +0 -1
- package/dist/chunks/tutorial.X3GhtKlY.js +0 -348
- package/dist/chunks/tutorial.X3GhtKlY.js.map +0 -1
- package/dist/chunks/typography.J1v_SPG3.js +0 -87
- package/dist/chunks/typography.J1v_SPG3.js.map +0 -1
- package/dist/chunks/upload-files.5wQwbfkp.js +0 -5
- package/dist/chunks/upload-files.5wQwbfkp.js.map +0 -1
- package/dist/chunks/upload-files.jTQY6y2X.js +0 -5
- package/dist/chunks/upload-files.jTQY6y2X.js.map +0 -1
- package/dist/chunks/use-bento-toast-controller.Cn_2Eogn.js +0 -52
- package/dist/chunks/use-bento-toast-controller.Cn_2Eogn.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.C6VRhL5_.js +0 -1177
- package/dist/chunks/use-cached-selected-values.C6VRhL5_.js.map +0 -1
- package/dist/chunks/use-click-outside.BnhTgpSt.js +0 -14
- package/dist/chunks/use-click-outside.BnhTgpSt.js.map +0 -1
- package/dist/chunks/use-country-items.HFnjuDsG.js +0 -30
- package/dist/chunks/use-country-items.HFnjuDsG.js.map +0 -1
- package/dist/chunks/use-country-phon-code.DVgE19zT.js +0 -5610
- package/dist/chunks/use-country-phon-code.DVgE19zT.js.map +0 -1
- package/dist/chunks/use-default-slot-validator.BDn0wkYP.js +0 -13
- package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +0 -1
- package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +0 -17
- package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +0 -1
- package/dist/chunks/use-form-layout-loading.D3lALhtC.js +0 -12
- package/dist/chunks/use-form-layout-loading.D3lALhtC.js.map +0 -1
- package/dist/chunks/use-has-slot.C9lQZ6nz.js +0 -6
- package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +0 -1
- package/dist/chunks/warning-filled.Cd0kVWwa.js +0 -24
- package/dist/chunks/warning-filled.Cd0kVWwa.js.map +0 -1
- package/dist/chunks/wrong-environment.BOsyKdRI.js +0 -5
- package/dist/chunks/wrong-environment.BOsyKdRI.js.map +0 -1
- package/dist/chunks/wrong-environment.BiHTPtbJ.js +0 -5
- package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +0 -1
- package/dist/click-outside.js +0 -5
- package/dist/click-outside.js.map +0 -1
- package/dist/code-snippet.js +0 -8
- package/dist/code-snippet.js.map +0 -1
- package/dist/country.js +0 -12
- package/dist/country.js.map +0 -1
- package/dist/currency.js +0 -6
- package/dist/currency.js.map +0 -1
- package/dist/dashboard-template.js +0 -6
- package/dist/dashboard-template.js.map +0 -1
- package/dist/dashed-underline.js +0 -5
- package/dist/dashed-underline.js.map +0 -1
- package/dist/data-grid-template.js +0 -5
- package/dist/data-grid-template.js.map +0 -1
- package/dist/data-grid.js +0 -11
- package/dist/data-grid.js.map +0 -1
- package/dist/date-picker.js +0 -8
- package/dist/date-picker.js.map +0 -1
- package/dist/date-range-picker.js +0 -8
- package/dist/date-range-picker.js.map +0 -1
- package/dist/date.js +0 -6
- package/dist/date.js.map +0 -1
- package/dist/divider.js +0 -5
- package/dist/divider.js.map +0 -1
- package/dist/dropdown.js +0 -16
- package/dist/dropdown.js.map +0 -1
- package/dist/empty-state.js +0 -8
- package/dist/empty-state.js.map +0 -1
- package/dist/file-uploader.js +0 -5
- package/dist/file-uploader.js.map +0 -1
- package/dist/filter-bar.js +0 -8
- package/dist/filter-bar.js.map +0 -1
- package/dist/focus-trap.js +0 -5
- package/dist/focus-trap.js.map +0 -1
- package/dist/fonts/fonts.css +0 -2
- package/dist/form-layout.js +0 -8
- package/dist/form-layout.js.map +0 -1
- package/dist/header-with-views.js +0 -5
- package/dist/header-with-views.js.map +0 -1
- package/dist/header.js +0 -5
- package/dist/header.js.map +0 -1
- package/dist/image.js +0 -7
- package/dist/image.js.map +0 -1
- package/dist/index.js +0 -371
- package/dist/index.js.map +0 -1
- package/dist/info-icon.js +0 -5
- package/dist/info-icon.js.map +0 -1
- package/dist/input-field-password.js +0 -10
- package/dist/input-field-password.js.map +0 -1
- package/dist/input-field-phone-number.js +0 -5
- package/dist/input-field-phone-number.js.map +0 -1
- package/dist/input-field.js +0 -10
- package/dist/input-field.js.map +0 -1
- package/dist/inspector.js +0 -6
- package/dist/inspector.js.map +0 -1
- package/dist/internal.js +0 -43
- package/dist/internal.js.map +0 -1
- package/dist/layout.js +0 -6
- package/dist/layout.js.map +0 -1
- package/dist/link.js +0 -6
- package/dist/link.js.map +0 -1
- package/dist/loading-indicator.js +0 -6
- package/dist/loading-indicator.js.map +0 -1
- package/dist/menu.js +0 -6
- package/dist/menu.js.map +0 -1
- package/dist/modal-fullscreen.js +0 -6
- package/dist/modal-fullscreen.js.map +0 -1
- package/dist/modal.js +0 -14
- package/dist/modal.js.map +0 -1
- package/dist/pagination.js +0 -5
- package/dist/pagination.js.map +0 -1
- package/dist/payment-method.js +0 -7
- package/dist/payment-method.js.map +0 -1
- package/dist/popover.js +0 -6
- package/dist/popover.js.map +0 -1
- package/dist/popper-container.js +0 -9
- package/dist/popper-container.js.map +0 -1
- package/dist/promo-banner.js +0 -7
- package/dist/promo-banner.js.map +0 -1
- package/dist/radio-group.js +0 -9
- package/dist/radio-group.js.map +0 -1
- package/dist/rich-text-editor.js +0 -5
- package/dist/rich-text-editor.js.map +0 -1
- package/dist/search-bar.js +0 -9
- package/dist/search-bar.js.map +0 -1
- package/dist/secondary-nav.js +0 -5
- package/dist/secondary-nav.js.map +0 -1
- package/dist/segmented-control.js +0 -7
- package/dist/segmented-control.js.map +0 -1
- package/dist/selection-card.js +0 -7
- package/dist/selection-card.js.map +0 -1
- package/dist/sidepanel.js +0 -7
- package/dist/sidepanel.js.map +0 -1
- package/dist/status.js +0 -6
- package/dist/status.js.map +0 -1
- package/dist/stepper.js +0 -8
- package/dist/stepper.js.map +0 -1
- package/dist/structured-list.js +0 -6
- package/dist/structured-list.js.map +0 -1
- package/dist/styles/bento-dark.css +0 -2055
- package/dist/styles/bento-light.css +0 -2054
- package/dist/styles/bento.css +0 -2054
- package/dist/styles/legacy.css +0 -2209
- package/dist/styles/styleguide.css +0 -2109
- package/dist/styles/utility.css +0 -987
- package/dist/summary-grid.js +0 -12
- package/dist/summary-grid.js.map +0 -1
- package/dist/tabs.js +0 -6
- package/dist/tabs.js.map +0 -1
- package/dist/tag.js +0 -6
- package/dist/tag.js.map +0 -1
- package/dist/textarea.js +0 -5
- package/dist/textarea.js.map +0 -1
- package/dist/timeline.js +0 -10
- package/dist/timeline.js.map +0 -1
- package/dist/toast.js +0 -5
- package/dist/toast.js.map +0 -1
- package/dist/toggle.js +0 -7
- package/dist/toggle.js.map +0 -1
- package/dist/tutorial.js +0 -5
- package/dist/tutorial.js.map +0 -1
- package/dist/typography.js +0 -8
- package/dist/typography.js.map +0 -1
- package/dist/use-form-v4.js +0 -8300
- package/dist/use-form-v4.js.map +0 -1
- package/dist/web-types.json +0 -15172
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, provide as R, toRef as $, computed as s, useSlots as x, inject as E, ref as _, watch as S, nextTick as g, onMounted as z } from "vue";
|
|
2
|
-
import { n as w } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
3
|
-
import { B as T } from "./typography.J1v_SPG3.js";
|
|
4
|
-
import { u as B } from "./use-has-slot.C9lQZ6nz.js";
|
|
5
|
-
import { e as I } from "./index.oJzeCMPe.js";
|
|
6
|
-
import "../assets/layout-row.css";
|
|
7
|
-
const h = Symbol("Layout size inject key"), O = {}, P = /* @__PURE__ */ y({
|
|
8
|
-
...O,
|
|
9
|
-
__name: "layout",
|
|
10
|
-
props: {
|
|
11
|
-
variant: { default: "page" },
|
|
12
|
-
size: { default: "full-width" }
|
|
13
|
-
},
|
|
14
|
-
setup(n) {
|
|
15
|
-
const o = n;
|
|
16
|
-
R(h, $(o, "size"));
|
|
17
|
-
const l = s(() => ({
|
|
18
|
-
"b-layout--component": o.variant === "component"
|
|
19
|
-
})), t = o.variant === "page" ? "main" : "div";
|
|
20
|
-
return { __sfc: !0, props: o, conditionalClasses: l, wrapperElement: t };
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
var k = function() {
|
|
24
|
-
var o = this, l = o._self._c, t = o._self._setupProxy;
|
|
25
|
-
return l(t.wrapperElement, { tag: "component", staticClass: "b-layout", class: t.conditionalClasses }, [o._t("default")], 2);
|
|
26
|
-
}, F = [], M = /* @__PURE__ */ w(
|
|
27
|
-
P,
|
|
28
|
-
k,
|
|
29
|
-
F,
|
|
30
|
-
!1,
|
|
31
|
-
null,
|
|
32
|
-
"6a60a8fd"
|
|
33
|
-
);
|
|
34
|
-
const Z = M.exports, W = ["3-9", "9-3", "4-8", "8-4", "6-6"], j = {}, N = /* @__PURE__ */ y({
|
|
35
|
-
...j,
|
|
36
|
-
__name: "layout-row",
|
|
37
|
-
props: {
|
|
38
|
-
columnsLayout: { default: "6-6" }
|
|
39
|
-
},
|
|
40
|
-
setup(n) {
|
|
41
|
-
const o = n, l = x(), t = B(l), e = E(h, _("full-width")), a = _(null), m = _(null), f = _(null), u = s(() => e.value === "full-width"), d = s(() => W.includes(o.columnsLayout)), C = s(() => `b-layout-row--${e.value}`), b = s(() => ({
|
|
42
|
-
"b-layout-row__column-wrapper": u.value
|
|
43
|
-
})), L = s(() => {
|
|
44
|
-
const c = d.value ? o.columnsLayout.split("-") : [6, 6], r = (i) => u.value ? c[i] : e.value;
|
|
45
|
-
return {
|
|
46
|
-
col1: `b-layout-row__column--${r(0)}`,
|
|
47
|
-
col2: `b-layout-row__column--${r(1)}`
|
|
48
|
-
};
|
|
49
|
-
});
|
|
50
|
-
return S(
|
|
51
|
-
I("(min-width: 768px)"),
|
|
52
|
-
async (c) => {
|
|
53
|
-
var i, p, v;
|
|
54
|
-
await g();
|
|
55
|
-
const r = ((i = a.value) == null ? void 0 : i.firstChild) === m.value;
|
|
56
|
-
c && !r ? (p = a.value) == null || p.prepend(m.value) : !c && (o.columnsLayout === "3-9" || o.columnsLayout === "4-8") && ((v = a.value) == null || v.prepend(f.value));
|
|
57
|
-
},
|
|
58
|
-
{ immediate: !0 }
|
|
59
|
-
), z(() => {
|
|
60
|
-
if (!u.value && (t("col-1") || t("col-2")))
|
|
61
|
-
throw new Error(
|
|
62
|
-
"Column slots can only be used with the `full-width` size. Please check documentation for more info."
|
|
63
|
-
);
|
|
64
|
-
if (!d.value)
|
|
65
|
-
throw new Error(
|
|
66
|
-
`${o.columnsLayout} is not a valid column layout. Please refer to the documentation for the list of available column layouts.`
|
|
67
|
-
);
|
|
68
|
-
}), { __sfc: !0, props: o, slots: l, hasSlot: t, size: e, row: a, col1: m, col2: f, isFullWidth: u, isValidColumnLayout: d, conditionalRowClass: C, conditionalRowWithColumnsClass: b, conditionalColumnClass: L, BentoTypography: T };
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
var Y = function() {
|
|
72
|
-
var o = this, l = o._self._c, t = o._self._setupProxy;
|
|
73
|
-
return l(t.BentoTypography, { staticClass: "b-layout-row", class: t.conditionalRowClass, attrs: { el: "div" } }, [t.hasSlot("default") ? l("div", [o._t("default")], 2) : t.hasSlot("col-1") && t.hasSlot("col-2") ? l("div", { ref: "row", class: t.conditionalRowWithColumnsClass }, [l("div", { ref: "col1", class: t.conditionalColumnClass.col1 }, [o._t("col-1")], 2), l("div", { ref: "col2", class: t.conditionalColumnClass.col2 }, [o._t("col-2")], 2)]) : o._e()]);
|
|
74
|
-
}, A = [], H = /* @__PURE__ */ w(
|
|
75
|
-
N,
|
|
76
|
-
Y,
|
|
77
|
-
A,
|
|
78
|
-
!1,
|
|
79
|
-
null,
|
|
80
|
-
"3dbcb27f"
|
|
81
|
-
);
|
|
82
|
-
const q = H.exports;
|
|
83
|
-
export {
|
|
84
|
-
q as a,
|
|
85
|
-
Z as l
|
|
86
|
-
};
|
|
87
|
-
//# sourceMappingURL=layout-row.c0ugsIw6.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layout-row.c0ugsIw6.js","sources":["../../src/components/layout/layout.keys.ts","../../src/components/layout/layout.vue","../../src/components/layout/layout.types.ts","../../src/components/layout/components/layout-row/layout-row.vue"],"sourcesContent":["export const LAYOUT_SIZE_INJECTION_KEY = Symbol('Layout size inject key');\n","<template>\n <component :is=\"wrapperElement\" class=\"b-layout\" :class=\"conditionalClasses\">\n <slot />\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, provide, toRef } from 'vue';\n import { BentoLayoutProps } from './layout.types';\n import { LAYOUT_SIZE_INJECTION_KEY } from '@/components/layout/layout.keys';\n\n const props = defineProps({\n variant: { default: 'page' },\n size: { default: 'full-width' }\n});\n\n provide(LAYOUT_SIZE_INJECTION_KEY, toRef(props, 'size'));\n\n const conditionalClasses = computed(() => ({\n 'b-layout--component': props.variant === 'component',\n }));\n\n const wrapperElement = props.variant === 'page' ? 'main' : 'div';\n</script>\n\n<script lang=\"ts\">\n /**\n * Layout is a basic scaffolding of a page that defines spacing, some functionality and responsive behaviour of its top level sections.\n *\n * @example\n * import { BentoLayout, BentoLayoutRow } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoLayout, BentoLayoutRow },\n * template: `\n * <bento-layout size=\"narrow\">\n * <bento-layout-row>\n * Row 1\n * </bento-layout-row>\n * <bento-layout-row>\n * Row 2\n * </bento-layout-row>\n * </bento-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./layout.scss\" />\n","/**\n * @private\n */\nexport const BentoLayoutVariantOptions = ['page', 'component'] as const;\nexport const BentoLayoutSizeOptions = ['full-width', 'narrow', 'half-width'] as const;\nexport const BentoLayoutRowColumnLayoutOptions = ['3-9', '9-3', '4-8', '8-4', '6-6'] as const;\n\n// Public\nexport type BentoLayoutVariant = (typeof BentoLayoutVariantOptions)[number];\nexport type BentoLayoutSize = (typeof BentoLayoutSizeOptions)[number];\nexport type BentoLayoutRowColumnLayout = (typeof BentoLayoutRowColumnLayoutOptions)[number];\n\nexport interface BentoLayoutProps {\n /** Defines if the layout is used in a page or only a section */\n variant?: BentoLayoutVariant;\n /** Defines the size of the page */\n size?: BentoLayoutSize;\n}\n\nexport interface BentoLayoutRowProps {\n /** Sets the layout of the columns when multiple columns are used */\n columnsLayout?: BentoLayoutRowColumnLayout;\n}\n","<template>\n <bento-typography el=\"div\" class=\"b-layout-row\" :class=\"conditionalRowClass\">\n <div v-if=\"hasSlot('default')\">\n <slot />\n </div>\n <div v-else-if=\"hasSlot('col-1') && hasSlot('col-2')\" ref=\"row\" :class=\"conditionalRowWithColumnsClass\">\n <div ref=\"col1\" :class=\"conditionalColumnClass.col1\">\n <slot name=\"col-1\"></slot>\n </div>\n <div ref=\"col2\" :class=\"conditionalColumnClass.col2\">\n <slot name=\"col-2\"></slot>\n </div>\n </div>\n </bento-typography>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, nextTick, onMounted, ref, Ref, useSlots, watch } from 'vue';\n import { BentoTypography } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n import {\n BentoLayoutRowColumnLayoutOptions,\n type BentoLayoutRowProps,\n type BentoLayoutSize,\n } from '../../layout.types';\n import { useMediaQuery } from '@vueuse/core';\n\n import { LAYOUT_SIZE_INJECTION_KEY } from '@/components/layout/layout.keys';\n\n const props = defineProps({\n columnsLayout: { default: '6-6' }\n});\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n const size = inject<Ref<BentoLayoutSize>>(LAYOUT_SIZE_INJECTION_KEY, ref('full-width'));\n\n const row = ref<HTMLElement>(null);\n const col1 = ref<HTMLElement>(null);\n const col2 = ref<HTMLElement>(null);\n\n const isFullWidth = computed(() => size.value === 'full-width');\n const isValidColumnLayout = computed(() => BentoLayoutRowColumnLayoutOptions.includes(props.columnsLayout));\n\n const conditionalRowClass = computed(() => `b-layout-row--${size.value}`);\n\n const conditionalRowWithColumnsClass = computed(() => ({\n 'b-layout-row__column-wrapper': isFullWidth.value,\n }));\n\n const conditionalColumnClass = computed(() => {\n const columns = isValidColumnLayout.value ? props.columnsLayout.split('-') : [6, 6];\n const getColumnModifier = index => (isFullWidth.value ? columns[index] : size.value);\n\n return {\n col1: `b-layout-row__column--${getColumnModifier(0)}`,\n col2: `b-layout-row__column--${getColumnModifier(1)}`,\n };\n });\n\n watch(\n useMediaQuery('(min-width: 768px)'),\n async isLargeScreen => {\n await nextTick();\n const areColumnsInTheRightOrder = row.value?.firstChild === col1.value;\n if (isLargeScreen && !areColumnsInTheRightOrder) {\n row.value?.prepend(col1.value);\n } else if (!isLargeScreen && (props.columnsLayout === '3-9' || props.columnsLayout === '4-8')) {\n row.value?.prepend(col2.value);\n }\n },\n { immediate: true }\n );\n\n onMounted(() => {\n if (!isFullWidth.value && (hasSlot('col-1') || hasSlot('col-2'))) {\n throw new Error(\n 'Column slots can only be used with the `full-width` size. Please check documentation for more info.'\n );\n }\n\n if (!isValidColumnLayout.value) {\n throw new Error(\n `${props.columnsLayout} is not a valid column layout. Please refer to the documentation for the list of available column layouts.`\n );\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Page row is subcomponent of Layout meant to be used to generate the row layout.\n *\n * @example\n * import { BentoLayout, BentoLayoutRow } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoLayout, BentoLayoutRow },\n * template: `\n * <bento-layout>\n * <bento-layout-row columns-layout=\"3-9\">\n * <template #col-1>Narrow 3-9</template>\n * <template #col-2>Wide 3-9</template>\n * </bento-layout-row>\n * <bento-layout-row>\n * <template #col-1>6-6</template>\n * <template #col-2>6-6</template>\n * </bento-layout-row>\n * </bento-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./layout-row.scss\" />\n"],"names":["LAYOUT_SIZE_INJECTION_KEY","__default__$1","provide","toRef","props","conditionalClasses","computed","wrapperElement","BentoLayoutRowColumnLayoutOptions","__default__","slots","useSlots","hasSlot","useHasSlot","size","inject","ref","row","col1","col2","isFullWidth","isValidColumnLayout","conditionalRowClass","conditionalRowWithColumnsClass","conditionalColumnClass","columns","getColumnModifier","index","watch","useMediaQuery","isLargeScreen","nextTick","areColumnsInTheRightOrder","_a","_b","_c","onMounted"],"mappings":";;;;;;AAAa,MAAAA,IAAA,OAAA,wBAAA,GC8CTC,IAAA,CAAA;;;;;;;;;AA9BA,IAAAC,EAAAF,GAAAG,EAAAC,GAAA,MAAA,CAAA;AAEA,UAAAC,IAAAC,EAAA,OAAA;AAAA,MAA2C,uBAAAF,EAAA,YAAA;AAAA,IACE,EAAA,GAG7CG,IAAAH,EAAA,YAAA,SAAA,SAAA;;;;;;;;;;;;;;;qBCjBGI,IAAA,CAAA,OAAA,OAAA,OAAA,OAAA,KAAA,GC2GHC,IAAA,CAAA;;;;;;;iBA/EAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GACAI,IAAAC,EAAAf,GAAAgB,EAAA,YAAA,CAAA,GAEAC,IAAAD,EAAA,IAAA,GACAE,IAAAF,EAAA,IAAA,GACAG,IAAAH,EAAA,IAAA,GAEAI,IAAAd,EAAA,MAAAQ,EAAA,UAAA,YAAA,GACAO,IAAAf,EAAA,MAAAE,EAAA,SAAAJ,EAAA,aAAA,CAAA,GAEAkB,IAAAhB,EAAA,MAAA,iBAAAQ,EAAA,KAAA,EAAA,GAEAS,IAAAjB,EAAA,OAAA;AAAA,MAAuD,gCAAAc,EAAA;AAAA,IACP,EAAA,GAGhDI,IAAAlB,EAAA,MAAA;AACI,YAAAmB,IAAAJ,EAAA,QAAAjB,EAAA,cAAA,MAAA,GAAA,IAAA,CAAA,GAAA,CAAA,GACAsB,IAAA,CAAAC,MAAAP,EAAA,QAAAK,EAAAE,CAAA,IAAAb,EAAA;AAEA,aAAA;AAAA,QAAO,MAAA,yBAAAY,EAAA,CAAA,CAAA;AAAA,QACgD,MAAA,yBAAAA,EAAA,CAAA,CAAA;AAAA,MACA;AAAA,IACvD,CAAA;AAGJ,WAAAE;AAAA,MAAAC,EAAA,oBAAA;AAAA,MACsC,OAAAC,MAAA;;AAE9B,cAAAC,EAAA;AACA,cAAAC,MAAAC,IAAAhB,EAAA,UAAA,gBAAAgB,EAAA,gBAAAf,EAAA;AACA,QAAAY,KAAA,CAAAE,KACIE,IAAAjB,EAAA,UAAA,QAAAiB,EAAA,QAAAhB,EAAA,SAA6B,CAAAY,MAAA1B,EAAA,kBAAA,SAAAA,EAAA,kBAAA,YAE7B+B,IAAAlB,EAAA,UAAA,QAAAkB,EAAA,QAAAhB,EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB,GAGtBiB,EAAA,MAAA;AACI,UAAA,CAAAhB,EAAA,UAAAR,EAAA,OAAA,KAAAA,EAAA,OAAA;AACI,cAAA,IAAA;AAAA,UAAU;AAAA,QACN;AAIR,UAAA,CAAAS,EAAA;AACI,cAAA,IAAA;AAAA,UAAU,GAAAjB,EAAA,aAAA;AAAA,QACgB;AAAA,IAE9B,CAAA;;;;;;;;;;;;;;;"}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, computed as r } from "vue";
|
|
2
|
-
import { RouterLink as m } from "vue-router";
|
|
3
|
-
import { g as y } from "./generate-uid.NJ8tVoha.js";
|
|
4
|
-
import { B as k } from "./typography.J1v_SPG3.js";
|
|
5
|
-
import { u as b } from "./i18n.BQkEbtPM.js";
|
|
6
|
-
/* empty css */
|
|
7
|
-
import { n as p } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
8
|
-
import "../assets/link.css";
|
|
9
|
-
var s = /* @__PURE__ */ ((a) => (a.DEFAULT = "default", a.QUIET = "quiet", a))(s || {});
|
|
10
|
-
let c = 0;
|
|
11
|
-
const x = {
|
|
12
|
-
beforeCreate() {
|
|
13
|
-
this.uuid = c.toString(), c += 1;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
var h = function() {
|
|
17
|
-
var t = this, e = t._self._c;
|
|
18
|
-
return e("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? e("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), e("path", { attrs: { fill: "#00112C", d: "M2.93933 11.9999L10.1893 4.74989H5.24999V3.24989H12.75V10.7499H11.25V5.81055L3.99999 13.0605L2.93933 11.9999Z" } })]);
|
|
19
|
-
}, C = [], B = /* @__PURE__ */ p(
|
|
20
|
-
x,
|
|
21
|
-
h,
|
|
22
|
-
C,
|
|
23
|
-
!1,
|
|
24
|
-
null,
|
|
25
|
-
null
|
|
26
|
-
);
|
|
27
|
-
const T = B.exports, L = {
|
|
28
|
-
"en-US": {
|
|
29
|
-
opensInNewTab: "Opens in new tab"
|
|
30
|
-
}
|
|
31
|
-
}, $ = {
|
|
32
|
-
name: "bento-link",
|
|
33
|
-
inheritAttrs: !1,
|
|
34
|
-
i18n: { messages: L }
|
|
35
|
-
}, I = /* @__PURE__ */ v({
|
|
36
|
-
...$,
|
|
37
|
-
props: {
|
|
38
|
-
to: null,
|
|
39
|
-
replace: { type: Boolean },
|
|
40
|
-
append: { type: Boolean },
|
|
41
|
-
tag: null,
|
|
42
|
-
activeClass: null,
|
|
43
|
-
exact: { type: Boolean },
|
|
44
|
-
exactPath: { type: Boolean },
|
|
45
|
-
exactPathActiveClass: null,
|
|
46
|
-
event: null,
|
|
47
|
-
exactActiveClass: null,
|
|
48
|
-
ariaCurrentValue: null,
|
|
49
|
-
disableTypography: { type: Boolean },
|
|
50
|
-
external: { type: Boolean },
|
|
51
|
-
isButton: { type: Boolean },
|
|
52
|
-
isNotRouting: { type: Boolean },
|
|
53
|
-
target: { default: null },
|
|
54
|
-
truncate: { type: Boolean },
|
|
55
|
-
variant: { default: s.DEFAULT }
|
|
56
|
-
},
|
|
57
|
-
emits: ["click"],
|
|
58
|
-
setup(a, { emit: t }) {
|
|
59
|
-
const e = a, { t: n } = b(), i = {
|
|
60
|
-
variant: void 0,
|
|
61
|
-
isButton: void 0,
|
|
62
|
-
truncate: void 0,
|
|
63
|
-
disableTypography: void 0,
|
|
64
|
-
external: void 0,
|
|
65
|
-
isNotRouting: void 0
|
|
66
|
-
}, u = y("external-link"), _ = (o) => o, d = r(() => ({
|
|
67
|
-
"b-link": !e.isButton,
|
|
68
|
-
[`b-link--${s.QUIET}`]: e.variant === s.QUIET,
|
|
69
|
-
"b-link--truncate": e.truncate
|
|
70
|
-
})), f = r(() => e.external ? e.target ?? "_blank" : e.target), g = r(() => !(e.isButton || e.isNotRouting));
|
|
71
|
-
return { __sfc: !0, t: n, props: e, nonForwardedProps: i, externalLinkId: u, getAttributeTitle: _, conditionalClasses: d, computedTarget: f, showExternalLinkIcon: g, emit: t, onClick: (o, l) => {
|
|
72
|
-
t("click", o), l && l();
|
|
73
|
-
}, RouterLink: m, BentoTypography: k, ExternalLinkIcon: T };
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
var w = function() {
|
|
77
|
-
var t = this, e = t._self._c, n = t._self._setupProxy;
|
|
78
|
-
return t.external || t.isNotRouting ? e("a", t._b({ class: n.conditionalClasses, attrs: { "aria-describedby": n.externalLinkId, href: t.$props.to.toString(), title: n.getAttributeTitle(t.$attrs.title), target: n.computedTarget }, on: { click: n.onClick } }, "a", t.$attrs, !1), [t.disableTypography ? t._t("default") : e(n.BentoTypography, { staticClass: "b-link__text", attrs: { el: "span", variant: "body" } }, [t._t("default")], 2), n.showExternalLinkIcon ? e("span", { staticClass: "b-link__external-link-icon", attrs: { "aria-hidden": "true" } }, [e(n.ExternalLinkIcon)], 1) : t._e(), t.external ? e("span", { staticClass: "b-link--visually-hidden", attrs: { id: n.externalLinkId } }, [t._v(t._s(n.t("opensInNewTab")))]) : t._e()], 2) : e(n.RouterLink, t._b({ class: n.conditionalClasses, attrs: { target: t.target, to: n.props.to, custom: "" }, nativeOn: { click: function(i) {
|
|
79
|
-
return n.onClick.apply(null, arguments);
|
|
80
|
-
} } }, "router-link", { ...t.$attrs, ...t.$props, ...n.nonForwardedProps }, !1), [t.disableTypography ? t._t("default") : e(n.BentoTypography, { staticClass: "b-link__text", attrs: { el: "span", variant: "body" } }, [t._t("default")], 2)], 2);
|
|
81
|
-
}, E = [], R = /* @__PURE__ */ p(
|
|
82
|
-
I,
|
|
83
|
-
w,
|
|
84
|
-
E,
|
|
85
|
-
!1,
|
|
86
|
-
null,
|
|
87
|
-
"6817077a"
|
|
88
|
-
);
|
|
89
|
-
const V = R.exports;
|
|
90
|
-
export {
|
|
91
|
-
V as B,
|
|
92
|
-
T as E,
|
|
93
|
-
s as a
|
|
94
|
-
};
|
|
95
|
-
//# sourceMappingURL=link.D0P79Toh.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"link.D0P79Toh.js","sources":["../../../core/src/components/link/link.types.ts","../../../ui-assets/icons-16/dist/vue/external-link.vue","../../src/components/link/link.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoLinkVariant {\n DEFAULT = 'default',\n QUIET = 'quiet',\n}\n\nexport interface LinkProps {\n /**\n * Disable the default typography for the component. Only use this when the component is inside another typography component.\n */\n disableTypography?: boolean;\n\n /**\n * Set the rendered link to a regular external anchor link and renders an external link icon.\n */\n external?: boolean;\n\n /**\n * Set to true if used inside a `BentoButton` component.\n */\n isButton?: boolean;\n\n /**\n * Set the rendered link to a regular external anchor link.\n */\n isNotRouting?: boolean;\n\n /**\n * Sets the target of the rendered link.\n */\n target?: string;\n\n /**\n * Set to true to truncate link. Doesn't work with disableTypography.\n */\n truncate?: boolean;\n\n /**\n * Link variant type affecting visual style.\n * @values default, quiet\n */\n variant?: BentoLinkVariant | `${BentoLinkVariant}`;\n}\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#00112C\" d=\"M2.93933 11.9999L10.1893 4.74989H5.24999V3.24989H12.75V10.7499H11.25V5.81055L3.99999 13.0605L2.93933 11.9999Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <a\n v-if=\"external || isNotRouting\"\n :class=\"conditionalClasses\"\n v-bind=\"$attrs\"\n :aria-describedby=\"externalLinkId\"\n :href=\"$props.to.toString()\"\n :title=\"getAttributeTitle($attrs.title)\"\n :target=\"computedTarget\"\n @click=\"onClick\"\n >\n <bento-typography v-if=\"!disableTypography\" class=\"b-link__text\" el=\"span\" variant=\"body\">\n <slot />\n </bento-typography>\n <slot v-else />\n <span v-if=\"showExternalLinkIcon\" aria-hidden=\"true\" class=\"b-link__external-link-icon\">\n <external-link-icon />\n </span>\n <span v-if=\"external\" :id=\"externalLinkId\" class=\"b-link--visually-hidden\">{{ t('opensInNewTab') }}</span>\n </a>\n <router-link\n v-else\n v-bind=\"{ ...$attrs, ...$props, ...nonForwardedProps }\"\n :class=\"conditionalClasses\"\n :target=\"target\"\n :to=\"props.to\"\n custom\n @click.native=\"onClick\"\n >\n <bento-typography v-if=\"!disableTypography\" class=\"b-link__text\" el=\"span\" variant=\"body\">\n <slot />\n </bento-typography>\n <slot v-else />\n </router-link>\n</template>\n\n<script setup lang=\"ts\">\n import { RouterLink } from 'vue-router';\n import { computed } from 'vue';\n import { generateUid } from '@/core/utils/ts';\n import { BentoTypography } from '@/components/typography';\n import { BentoLinkVariant } from '@/core/components/link/link.types';\n import { useI18n } from '@/utils/ts/i18n';\n import type { RouterLinkSlotArgument } from 'vue-router/types/router.d.ts';\n import ExternalLinkIcon from '@adyen/ui-assets-icons-16/vue/external-link';\n import type { BentoLinkProps } from './link.types';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const props = defineProps({\n to: null,\n replace: { type: Boolean },\n append: { type: Boolean },\n tag: null,\n activeClass: null,\n exact: { type: Boolean },\n exactPath: { type: Boolean },\n exactPathActiveClass: null,\n event: null,\n exactActiveClass: null,\n ariaCurrentValue: null,\n disableTypography: { type: Boolean },\n external: { type: Boolean },\n isButton: { type: Boolean },\n isNotRouting: { type: Boolean },\n target: { default: null },\n truncate: { type: Boolean },\n variant: { default: BentoLinkVariant.DEFAULT }\n});\n\n // Props that should not be forwarded to the underlying anchor element\n const nonForwardedProps = {\n variant: undefined,\n isButton: undefined,\n truncate: undefined,\n disableTypography: undefined,\n external: undefined,\n isNotRouting: undefined,\n };\n\n const externalLinkId = generateUid('external-link');\n\n const getAttributeTitle = (attributesTitle: unknown) => attributesTitle as string;\n\n const conditionalClasses = computed(() => ({\n 'b-link': !props.isButton,\n [`b-link--${BentoLinkVariant.QUIET}`]: props.variant === BentoLinkVariant.QUIET,\n [`b-link--truncate`]: props.truncate,\n }));\n\n const computedTarget = computed(() => (props.external ? (props.target ?? '_blank') : props.target));\n const showExternalLinkIcon = computed(() => !(props.isButton || props.isNotRouting));\n\n const emit = defineEmits([\"click\"]);\n\n const onClick = (e: MouseEvent, navigateCallback?: RouterLinkSlotArgument['navigate']) => {\n emit('click', e);\n if (navigateCallback) {\n navigateCallback();\n }\n };\n</script>\n\n<script lang=\"ts\">\n /**\n * Extends the `router-link` from the `vue-router` NPM package.\n *\n * @example\n * import { BentoLink } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoLink },\n * template: `\n * <bento-link to=\"/\">\n * link\n * </bento-link>\n * `\n * }\n */\n export default {\n name: 'bento-link',\n inheritAttrs: false,\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/link/link.scss\" />\n"],"names":["BentoLinkVariant","BentoLinkVariant2","uuid","_sfc_main$1","__default__","messages","t","useI18n","nonForwardedProps","externalLinkId","generateUid","getAttributeTitle","attributesTitle","conditionalClasses","computed","props","computedTarget","showExternalLinkIcon","e","navigateCallback","emit"],"mappings":";;;;;;;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,QAAA,SAFQA,IAAAD,KAAA,CAAA,CAAA;ACIZ,IAAAE,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;GC4GIE,IAAA;AAAA,EAAe,MAAA;AAAA,EACL,cAAA;AAAA,EACQ,MAAA,EAAA,UAAAC,EAAA;AAElB;;;;;;;;;;;;;;;;;;;;;;;;iBA5EA,EAAA,GAAAC,EAAA,IAAAC,EAAA,GAwBAC,IAAA;AAAA,MAA0B,SAAA;AAAA,MACb,UAAA;AAAA,MACC,UAAA;AAAA,MACA,mBAAA;AAAA,MACS,UAAA;AAAA,MACT,cAAA;AAAA,IACI,GAGlBC,IAAAC,EAAA,eAAA,GAEAC,IAAA,CAAAC,MAAAA,GAEAC,IAAAC,EAAA,OAAA;AAAA,MAA2C,UAAA,CAAAC,EAAA;AAAA,MACtB,CAAA,WAAAf,EAAA,KAAA,EAAA,GAAAe,EAAA,YAAAf,EAAA;AAAA,MACyD,oBAAAe,EAAA;AAAA,IAC9C,EAAA,GAGhCC,IAAAF,EAAA,MAAAC,EAAA,WAAAA,EAAA,UAAA,WAAAA,EAAA,MAAA,GACAE,IAAAH,EAAA,MAAA,EAAAC,EAAA,YAAAA,EAAA,aAAA;4LAIA,CAAAG,GAAAC,MAAA;AACI,MAAAC,EAAA,SAAAF,CAAA,GACAC,KACIA,EAAA;AAAA,IACJ;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, computed as e } from "vue";
|
|
2
|
-
import { B as r } from "./tag.B2vxWwV1.js";
|
|
3
|
-
import { B as s } from "./typography.J1v_SPG3.js";
|
|
4
|
-
import { n as i } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
5
|
-
import "../assets/listbox-option-tag.css";
|
|
6
|
-
const p = n({
|
|
7
|
-
name: "listbox-tag-option",
|
|
8
|
-
components: {
|
|
9
|
-
BentoTag: r,
|
|
10
|
-
BentoTypography: s
|
|
11
|
-
},
|
|
12
|
-
props: {
|
|
13
|
-
/**
|
|
14
|
-
* The option item that contains all the option item's data.
|
|
15
|
-
* @type {BentoListboxOptionItem}
|
|
16
|
-
*/
|
|
17
|
-
option: {
|
|
18
|
-
type: Object,
|
|
19
|
-
required: !0
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
setup(a) {
|
|
23
|
-
return {
|
|
24
|
-
// Values
|
|
25
|
-
variant: e(() => a.option.data)
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
var l = function() {
|
|
30
|
-
var t = this, o = t._self._c;
|
|
31
|
-
return t._self._setupProxy, o("span", { staticClass: "b-listbox-tag-option" }, [o("span", { attrs: { "aria-hidden": "true" } }, [o("bento-tag", { staticClass: "b-listbox-tag-option__tag", attrs: { label: t.option.value.toString(), variant: t.variant } })], 1), t.option.label ? o("bento-typography", { staticClass: "b-listbox-tag-option__label", attrs: { el: "span" } }, [t._v(" " + t._s(t.option.label) + " ")]) : t._e()], 1);
|
|
32
|
-
}, _ = [], m = /* @__PURE__ */ i(
|
|
33
|
-
p,
|
|
34
|
-
l,
|
|
35
|
-
_,
|
|
36
|
-
!1,
|
|
37
|
-
null,
|
|
38
|
-
"83a3d6e2"
|
|
39
|
-
);
|
|
40
|
-
const u = m.exports;
|
|
41
|
-
export {
|
|
42
|
-
u as L
|
|
43
|
-
};
|
|
44
|
-
//# sourceMappingURL=listbox-option-tag.BcLYsizL.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listbox-option-tag.BcLYsizL.js","sources":["../../src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue"],"sourcesContent":["<template>\n <span class=\"b-listbox-tag-option\">\n <span aria-hidden=\"true\">\n <bento-tag class=\"b-listbox-tag-option__tag\" :label=\"option.value.toString()\" :variant=\"variant\" />\n </span>\n <bento-typography v-if=\"option.label\" el=\"span\" class=\"b-listbox-tag-option__label\">\n {{ option.label }}\n </bento-typography>\n </span>\n</template>\n<script lang=\"ts\">\n import { computed, defineComponent, PropType } from 'vue';\n import type { BentoListboxOptionItem } from '@/types';\n import { BentoTag, BentoTagVariant } from '@/components/tag';\n import { BentoTypography } from '@/components/typography';\n\n /**\n * A Tag Dropdown option item used in the Dropdown and Filter components.\n */\n export default defineComponent({\n name: 'listbox-tag-option',\n components: {\n BentoTag,\n BentoTypography,\n },\n props: {\n /**\n * The option item that contains all the option item's data.\n * @type {BentoListboxOptionItem}\n */\n option: {\n type: Object as PropType<BentoListboxOptionItem>,\n required: true,\n },\n },\n setup(props) {\n const variant = computed(() => props.option.data as BentoTagVariant);\n\n return {\n // Values\n variant,\n };\n },\n });\n</script>\n<style lang=\"scss\" scoped src=\"./listbox-option-tag.scss\" />\n"],"names":["_sfc_main","defineComponent","BentoTag","BentoTypography","props","computed"],"mappings":";;;;;AAmBA,MAAAA,IAAAC,EAAA;AAAA,EAAA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,UAAAC;AAAA,IACA,iBAAAC;AAAA,EACA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IACA,QAAA;AAAA,MAKA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,MAAAC,GAAA;AAIA,WAAA;AAAA;AAAA,MAAA,SAFAC,EAAA,MAAAD,EAAA,OAAA,IAAA;AAAA,IAIA;AAAA,EACA;AAEA,CAAA;;;;;;;;;;;;;"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, onMounted as s, onUnmounted as i, computed as l } from "vue";
|
|
2
|
-
import { n as r } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
3
|
-
import "../assets/loading-indicator.css";
|
|
4
|
-
var e = /* @__PURE__ */ ((a) => (a.START = "loading-start", a.END = "loading-end", a))(e || {});
|
|
5
|
-
const d = t({
|
|
6
|
-
name: "bento-loading-indicator",
|
|
7
|
-
props: {
|
|
8
|
-
/**
|
|
9
|
-
* Displays the loading indicator in a small size
|
|
10
|
-
*/
|
|
11
|
-
small: { type: Boolean, default: !1 },
|
|
12
|
-
/**
|
|
13
|
-
* Displays the loading indicator in a large size
|
|
14
|
-
*/
|
|
15
|
-
large: { type: Boolean, default: !1 },
|
|
16
|
-
/**
|
|
17
|
-
* Displays the loading indicator in a white variant
|
|
18
|
-
*/
|
|
19
|
-
inverse: { type: Boolean, default: !1 }
|
|
20
|
-
},
|
|
21
|
-
emits: [e.START, e.END],
|
|
22
|
-
setup(a, { emit: n }) {
|
|
23
|
-
return s(() => n(e.START)), i(() => n(e.END)), {
|
|
24
|
-
conditionalClasses: l(() => ({
|
|
25
|
-
"b-loading-indicator--inverse": a.inverse,
|
|
26
|
-
"b-loading-indicator--small": a.small,
|
|
27
|
-
"b-loading-indicator--large": a.large
|
|
28
|
-
}))
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
var c = function() {
|
|
33
|
-
var n = this, o = n._self._c;
|
|
34
|
-
return n._self._setupProxy, o("div", { staticClass: "b-loading-indicator", class: n.conditionalClasses, attrs: { "aria-hidden": "true", "data-testid": "loading-indicator" } });
|
|
35
|
-
}, m = [], f = /* @__PURE__ */ r(
|
|
36
|
-
d,
|
|
37
|
-
c,
|
|
38
|
-
m,
|
|
39
|
-
!1,
|
|
40
|
-
null,
|
|
41
|
-
"496bc682"
|
|
42
|
-
);
|
|
43
|
-
const p = f.exports;
|
|
44
|
-
export {
|
|
45
|
-
p as B,
|
|
46
|
-
e as a
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=loading-indicator.z8COalOc.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loading-indicator.z8COalOc.js","sources":["../../../core/src/components/loading-indicator/loading-indicator.types.ts","../../src/components/loading-indicator/loading-indicator.vue"],"sourcesContent":["export enum BentoLoadingIndicatorEvent {\n START = 'loading-start',\n END = 'loading-end',\n}\n","<template>\n <div class=\"b-loading-indicator\" :class=\"conditionalClasses\" aria-hidden=\"true\" data-testid=\"loading-indicator\" />\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, onMounted, onUnmounted } from 'vue';\n import { BentoLoadingIndicatorEvent } from '@/core/components/loading-indicator/loading-indicator.types';\n\n export default defineComponent({\n name: 'bento-loading-indicator',\n props: {\n /**\n * Displays the loading indicator in a small size\n */\n small: { type: Boolean, default: false },\n /**\n * Displays the loading indicator in a large size\n */\n large: { type: Boolean, default: false },\n /**\n * Displays the loading indicator in a white variant\n */\n inverse: { type: Boolean, default: false },\n },\n emits: [BentoLoadingIndicatorEvent.START, BentoLoadingIndicatorEvent.END],\n setup(props, { emit }) {\n onMounted(() => emit(BentoLoadingIndicatorEvent.START));\n\n onUnmounted(() => emit(BentoLoadingIndicatorEvent.END));\n\n const conditionalClasses = computed(() => ({\n 'b-loading-indicator--inverse': props.inverse,\n 'b-loading-indicator--small': props.small,\n 'b-loading-indicator--large': props.large,\n }));\n\n return {\n conditionalClasses,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/loading-indicator/loading-indicator.scss\" />\n"],"names":["BentoLoadingIndicatorEvent","BentoLoadingIndicatorEvent2","_sfc_main","defineComponent","props","emit","onMounted","onUnmounted","computed"],"mappings":";;;AAAY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,QAAA,iBACAA,EAAA,MAAA,eAFQA,IAAAD,KAAA,CAAA,CAAA;ACQZ,MAAAE,IAAAC,EAAA;AAAA,EAAA,MAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA,IACA,OAAA,EAAA,MAAA,SAAA,SAAA,GAAA;AAAA;AAAA;AAAA;AAAA,IAIA,OAAA,EAAA,MAAA,SAAA,SAAA,GAAA;AAAA;AAAA;AAAA;AAAA,IAIA,SAAA,EAAA,MAAA,SAAA,SAAA,GAAA;AAAA,EAIA;AAAA,EACA,OAAA,CAAAH,EAAA,OAAAA,EAAA,GAAA;AAAA,EACA,MAAAI,GAAA,EAAA,MAAAC,EAAA,GAAA;AAEA,WAAAC,EAAA,MAAAD,EAAAL,EAAA,KAAA,CAAA,GAEAO,EAAA,MAAAF,EAAAL,EAAA,GAAA,CAAA,GAQA;AAAA,MAAA,oBANAQ,EAAA,OAAA;AAAA,QAAA,gCAAAJ,EAAA;AAAA,QACA,8BAAAA,EAAA;AAAA,QACA,8BAAAA,EAAA;AAAA,MACA,EAAA;AAAA,IAIA;AAAA,EACA;AAEA,CAAA;;;;;;;;;;;;;"}
|