@adyen/bento-vue2 1.28.0 → 1.29.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 +4 -0
- package/dist/@types/index.d.ts +364 -107
- package/dist/accordion.js +101 -3
- package/dist/accordion.js.map +1 -1
- package/dist/action-bar.js +146 -2
- package/dist/action-bar.js.map +1 -1
- package/dist/alert.js +95 -3
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/{data-grid.css → index11.css} +1 -1
- package/dist/assets/index14.css +1 -0
- package/dist/assets/index18.css +1 -0
- package/dist/assets/index19.css +1 -0
- package/dist/assets/{secondary-nav.css → index21.css} +1 -1
- package/dist/assets/index22.css +1 -0
- package/dist/assets/{action-bar.css → index23.css} +1 -1
- package/dist/assets/{sidepanel.css → index24.css} +1 -1
- package/dist/assets/index28.css +1 -0
- package/dist/assets/{accordion-item.css → index3.css} +1 -1
- package/dist/assets/index30.css +1 -0
- package/dist/assets/index33.css +1 -0
- package/dist/assets/{modal-fullscreen.css → index36.css} +1 -1
- package/dist/assets/{menu.css → index38.css} +1 -1
- package/dist/assets/index39.css +1 -0
- package/dist/assets/{popover.css → index40.css} +1 -1
- package/dist/assets/index42.css +1 -0
- package/dist/assets/index43.css +1 -0
- package/dist/assets/index45.css +1 -0
- package/dist/assets/{dashboard-section.css → index47.css} +1 -1
- package/dist/assets/index48.css +1 -0
- package/dist/assets/{card.css → index5.css} +1 -1
- package/dist/assets/index7.css +1 -0
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/loading-button.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/segmented-control.css +1 -1
- package/dist/avatar.js +75 -0
- package/dist/avatar.js.map +1 -0
- package/dist/badge.js +24 -22
- package/dist/badge.js.map +1 -1
- package/dist/button.js +94 -14
- package/dist/button.js.map +1 -1
- package/dist/card.js +114 -4
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +155 -8
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/1-generic-use.3ea646cd.js +5 -0
- package/dist/chunks/1-generic-use.3ea646cd.js.map +1 -0
- package/dist/chunks/1-generic-use.ccca5813.js +5 -0
- package/dist/chunks/1-generic-use.ccca5813.js.map +1 -0
- package/dist/chunks/2-generic-use.443db127.js +5 -0
- package/dist/chunks/2-generic-use.443db127.js.map +1 -0
- package/dist/chunks/2-generic-use.d69d7c08.js +5 -0
- package/dist/chunks/2-generic-use.d69d7c08.js.map +1 -0
- package/dist/chunks/3-generic-use.9f74667f.js +5 -0
- package/dist/chunks/3-generic-use.9f74667f.js.map +1 -0
- package/dist/chunks/3-generic-use.fe7ae2ce.js +5 -0
- package/dist/chunks/3-generic-use.fe7ae2ce.js.map +1 -0
- package/dist/chunks/4-generic-use.0356f4a1.js +5 -0
- package/dist/chunks/4-generic-use.0356f4a1.js.map +1 -0
- package/dist/chunks/4-generic-use.cd04bad0.js +5 -0
- package/dist/chunks/4-generic-use.cd04bad0.js.map +1 -0
- package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js +33 -0
- package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js.map +1 -0
- package/dist/chunks/adding-payment-methods.d570e03e.js +5 -0
- package/dist/chunks/adding-payment-methods.d570e03e.js.map +1 -0
- package/dist/chunks/adding-payment-methods.e419d6c0.js +5 -0
- package/dist/chunks/adding-payment-methods.e419d6c0.js.map +1 -0
- package/dist/chunks/adyen-giving.480913b5.js +5 -0
- package/dist/chunks/adyen-giving.480913b5.js.map +1 -0
- package/dist/chunks/adyen-giving.54ed984c.js +5 -0
- package/dist/chunks/adyen-giving.54ed984c.js.map +1 -0
- package/dist/chunks/{aria-label.CaUURpnB.js → aria-label.ac9651a5.js} +1 -1
- package/dist/chunks/{aria-label.CaUURpnB.js.map → aria-label.ac9651a5.js.map} +1 -1
- package/dist/chunks/base-button.852204dc.js +88 -0
- package/dist/chunks/{base-button.DER7_IsF.js.map → base-button.852204dc.js.map} +1 -1
- package/dist/chunks/{base-modal.C5I7bR0d.js → base-modal.00322d31.js} +46 -42
- package/dist/chunks/{base-modal.C5I7bR0d.js.map → base-modal.00322d31.js.map} +1 -1
- package/dist/chunks/{base-modal.keys.C2PQXcE2.js → base-modal.keys.b08a6bdf.js} +1 -1
- package/dist/chunks/{base-modal.keys.C2PQXcE2.js.map → base-modal.keys.b08a6bdf.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.f3yuLK-L.js → button-actions-with-menu.bc66bc0a.js} +27 -25
- package/dist/chunks/{button-actions-with-menu.f3yuLK-L.js.map → button-actions-with-menu.bc66bc0a.js.map} +1 -1
- package/dist/chunks/{button-actions.Bg9ey0p6.js → button-actions.430d7510.js} +31 -29
- package/dist/chunks/{button-actions.Bg9ey0p6.js.map → button-actions.430d7510.js.map} +1 -1
- package/dist/chunks/{button.DhAUh5JA.js → button.9184ade9.js} +24 -22
- package/dist/chunks/{button.DhAUh5JA.js.map → button.9184ade9.js.map} +1 -1
- package/dist/chunks/{calendar.B69z8gjb.js → calendar.bea81953.js} +332 -287
- package/dist/chunks/{calendar.B69z8gjb.js.map → calendar.bea81953.js.map} +1 -1
- package/dist/chunks/{checkbox-input.DwDwI2BD.js → checkbox-input.5ab6ebe7.js} +32 -28
- package/dist/chunks/{checkbox-input.DwDwI2BD.js.map → checkbox-input.5ab6ebe7.js.map} +1 -1
- package/dist/chunks/{checkbox.Bi2RDBEZ.js → checkbox.192e921e.js} +23 -21
- package/dist/chunks/{checkbox.Bi2RDBEZ.js.map → checkbox.192e921e.js.map} +1 -1
- package/dist/chunks/checkmark-circle-fill.382e27e2.js +26 -0
- package/dist/chunks/{checkmark-circle-fill.DVl6QSwm.js.map → checkmark-circle-fill.382e27e2.js.map} +1 -1
- package/dist/chunks/{checkmark-small.BtF8b2gE.js → checkmark-small.6f444bd7.js} +9 -7
- package/dist/chunks/{checkmark-small.BtF8b2gE.js.map → checkmark-small.6f444bd7.js.map} +1 -1
- package/dist/chunks/{chevron-left.CtnrsqUy.js → chevron-left.3cd9eeee.js} +18 -14
- package/dist/chunks/{chevron-left.CtnrsqUy.js.map → chevron-left.3cd9eeee.js.map} +1 -1
- package/dist/chunks/{chevron-up.B2uWhZf7.js → chevron-up.bade9c77.js} +19 -15
- package/dist/chunks/{chevron-up.B2uWhZf7.js.map → chevron-up.bade9c77.js.map} +1 -1
- package/dist/chunks/{controls-group.cSRFiEVO.js → controls-group.6b05fbb4.js} +19 -17
- package/dist/chunks/{controls-group.cSRFiEVO.js.map → controls-group.6b05fbb4.js.map} +1 -1
- package/dist/chunks/{copy.BtFWFG3q.js → copy.d5dd2b60.js} +19 -15
- package/dist/chunks/{copy.BtFWFG3q.js.map → copy.d5dd2b60.js.map} +1 -1
- package/dist/chunks/{country.types.Br0AjxGy.js → country.types.002caff2.js} +5 -5
- package/dist/chunks/{country.types.Br0AjxGy.js.map → country.types.002caff2.js.map} +1 -1
- package/dist/chunks/cross-circle-fill-small.b0310bd6.js +26 -0
- package/dist/chunks/cross-circle-fill-small.b0310bd6.js.map +1 -0
- package/dist/chunks/{cross-circle-fill.CnYH4R_h.js → cross-circle-fill.dd300d4c.js} +10 -8
- package/dist/chunks/{cross-circle-fill.CnYH4R_h.js.map → cross-circle-fill.dd300d4c.js.map} +1 -1
- package/dist/chunks/{cross-small.BLUwtRB-.js → cross-small.3bb94ec7.js} +12 -10
- package/dist/chunks/{cross-small.BLUwtRB-.js.map → cross-small.3bb94ec7.js.map} +1 -1
- package/dist/chunks/{cross.CsUPDmaA.js → cross.f47f6b7f.js} +12 -10
- package/dist/chunks/{cross.CsUPDmaA.js.map → cross.f47f6b7f.js.map} +1 -1
- package/dist/chunks/{data-grid-template.keys.2_AkxuNT.js → data-grid-template.keys.a819a991.js} +1 -1
- package/dist/chunks/{data-grid-template.keys.2_AkxuNT.js.map → data-grid-template.keys.a819a991.js.map} +1 -1
- package/dist/chunks/{date-input.BqBdAO1E.js → date-input.9186a0bf.js} +1 -1
- package/dist/chunks/{date-input.BqBdAO1E.js.map → date-input.9186a0bf.js.map} +1 -1
- package/dist/chunks/{debounce.DUTu11PS.js → debounce.b5ef6acf.js} +1 -1
- package/dist/chunks/{debounce.DUTu11PS.js.map → debounce.b5ef6acf.js.map} +1 -1
- package/dist/chunks/{dialog-page.DAh0M4mT.js → dialog-page.c663c657.js} +24 -20
- package/dist/chunks/{dialog-page.DAh0M4mT.js.map → dialog-page.c663c657.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.CKOkl_Qa.js → dropdown-default-textbox.346c40ea.js} +64 -51
- package/dist/chunks/dropdown-default-textbox.346c40ea.js.map +1 -0
- package/dist/chunks/{dropdown.yhhQCKve.js → dropdown.9bee6e1d.js} +248 -230
- package/dist/chunks/dropdown.9bee6e1d.js.map +1 -0
- package/dist/chunks/error-message.af88c25f.js +111 -0
- package/dist/chunks/{error-message.BSxUoE3_.js.map → error-message.af88c25f.js.map} +1 -1
- package/dist/chunks/es6.cf6b43e9.js +9 -0
- package/dist/chunks/es6.cf6b43e9.js.map +1 -0
- package/dist/chunks/events.f14a214b.js +50 -0
- package/dist/chunks/{events.CMzGybJJ.js.map → events.f14a214b.js.map} +1 -1
- package/dist/chunks/expand.d0ccfcfe.js +26 -0
- package/dist/chunks/expand.d0ccfcfe.js.map +1 -0
- package/dist/chunks/{fixed-scroller.Bq1AgPnw.js → fixed-scroller.5e51ffb3.js} +20 -18
- package/dist/chunks/{fixed-scroller.Bq1AgPnw.js.map → fixed-scroller.5e51ffb3.js.map} +1 -1
- package/dist/chunks/{footer-actions.DqMRmlV_.js → footer-actions.b4fe4fdb.js} +13 -11
- package/dist/chunks/{footer-actions.DqMRmlV_.js.map → footer-actions.b4fe4fdb.js.map} +1 -1
- package/dist/chunks/{form-layout.types.D3EKzbE7.js → form-layout.types.a7a1438d.js} +1 -1
- package/dist/chunks/{form-layout.types.D3EKzbE7.js.map → form-layout.types.a7a1438d.js.map} +1 -1
- package/dist/chunks/{get-slot-text.Cgn-E48s.js → get-slot-text.99c3d860.js} +2 -2
- package/dist/chunks/{get-slot-text.Cgn-E48s.js.map → get-slot-text.99c3d860.js.map} +1 -1
- package/dist/chunks/{grid-layout.HvTAa4to.js → grid-layout.e0025286.js} +13 -11
- package/dist/chunks/{grid-layout.HvTAa4to.js.map → grid-layout.e0025286.js.map} +1 -1
- package/dist/chunks/{i18n.BQkEbtPM.js → i18n.eb5b985b.js} +2 -2
- package/dist/chunks/{i18n.BQkEbtPM.js.map → i18n.eb5b985b.js.map} +1 -1
- package/dist/chunks/{structured-list-item.C9NTVDvT.js → index.1c8f9245.js} +22 -18
- package/dist/chunks/index.1c8f9245.js.map +1 -0
- package/dist/chunks/{popover.B8YH92W8.js → index.40b77741.js} +37 -31
- package/dist/chunks/index.40b77741.js.map +1 -0
- package/dist/chunks/index.4afa7b19.js +32 -0
- package/dist/chunks/index.4afa7b19.js.map +1 -0
- package/dist/chunks/{index.Cl4_42j5.js → index.4c062058.js} +1 -1
- package/dist/chunks/{index.Cl4_42j5.js.map → index.4c062058.js.map} +1 -1
- package/dist/chunks/{date.DKjxxR6P.js → index.614a5138.js} +51 -44
- package/dist/chunks/index.614a5138.js.map +1 -0
- package/dist/chunks/index.6584f75e.js +183 -0
- package/dist/chunks/{index.OCPp3NST.js.map → index.6584f75e.js.map} +1 -1
- package/dist/chunks/{index.xqFSZOAb.js → index.86453263.js} +2 -2
- package/dist/chunks/{index.xqFSZOAb.js.map → index.86453263.js.map} +1 -1
- package/dist/chunks/{menu.2TwUMlA9.js → index.8a037a95.js} +94 -82
- package/dist/chunks/index.8a037a95.js.map +1 -0
- package/dist/chunks/{focus-trap.DSkLNO_i.js → index.ba69cab6.js} +37 -35
- package/dist/chunks/index.ba69cab6.js.map +1 -0
- package/dist/chunks/{popper-container.Bt02N3o1.js → index.bad400d5.js} +436 -381
- package/dist/chunks/index.bad400d5.js.map +1 -0
- package/dist/chunks/{index.Z84QE0E2.js → index.d80206ed.js} +2 -2
- package/dist/chunks/{index.Z84QE0E2.js.map → index.d80206ed.js.map} +1 -1
- package/dist/chunks/{typography.Bjtu3Gca.js → index.e29a6907.js} +32 -30
- package/dist/chunks/index.e29a6907.js.map +1 -0
- package/dist/chunks/{link.DJ1A53gF.js → index.f46e4190.js} +24 -20
- package/dist/chunks/index.f46e4190.js.map +1 -0
- package/dist/chunks/{index.B_UZQ6qF.js → index.f55fdc32.js} +243 -209
- package/dist/chunks/{index.B_UZQ6qF.js.map → index.f55fdc32.js.map} +1 -1
- package/dist/chunks/{date-range-picker.DrnklTJ-.js → index.fc70e413.js} +117 -113
- package/dist/chunks/index.fc70e413.js.map +1 -0
- package/dist/chunks/{index.B_EJflcs.js → index.fdf12170.js} +2 -2
- package/dist/chunks/{index.B_EJflcs.js.map → index.fdf12170.js.map} +1 -1
- package/dist/chunks/{info.CyeBsLgt.js → info.a549470f.js} +12 -10
- package/dist/chunks/{info.CyeBsLgt.js.map → info.a549470f.js.map} +1 -1
- package/dist/chunks/internal-error.35cbb071.js +5 -0
- package/dist/chunks/internal-error.35cbb071.js.map +1 -0
- package/dist/chunks/internal-error.9a4823ed.js +5 -0
- package/dist/chunks/internal-error.9a4823ed.js.map +1 -0
- package/dist/chunks/{keyboard-navigation.Clz1jOaA.js → keyboard-navigation.bbc3d15c.js} +2 -2
- package/dist/chunks/{keyboard-navigation.Clz1jOaA.js.map → keyboard-navigation.bbc3d15c.js.map} +1 -1
- package/dist/chunks/listbox-option-tag.bac3121a.js +46 -0
- package/dist/chunks/listbox-option-tag.bac3121a.js.map +1 -0
- package/dist/chunks/loading-button.b5dca406.js +101 -0
- package/dist/chunks/loading-button.b5dca406.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.keys.CMba3hYp.js → modal-fullscreen.keys.b9f31632.js} +1 -1
- package/dist/chunks/{modal-fullscreen.keys.CMba3hYp.js.map → modal-fullscreen.keys.b9f31632.js.map} +1 -1
- package/dist/chunks/no-results-found.58856d70.js +5 -0
- package/dist/chunks/no-results-found.58856d70.js.map +1 -0
- package/dist/chunks/no-results-found.cbb12f78.js +5 -0
- package/dist/chunks/no-results-found.cbb12f78.js.map +1 -0
- package/dist/chunks/notifications-cleared.71025c22.js +5 -0
- package/dist/chunks/notifications-cleared.71025c22.js.map +1 -0
- package/dist/chunks/notifications-cleared.c4f4bed4.js +5 -0
- package/dist/chunks/notifications-cleared.c4f4bed4.js.map +1 -0
- package/dist/chunks/{on-click-outside.CcNG5w7_.js → on-click-outside.3e0c3e2a.js} +1 -1
- package/dist/chunks/{on-click-outside.CcNG5w7_.js.map → on-click-outside.3e0c3e2a.js.map} +1 -1
- package/dist/chunks/page-not-found.a500440d.js +5 -0
- package/dist/chunks/page-not-found.a500440d.js.map +1 -0
- package/dist/chunks/page-not-found.d1a84ba7.js +5 -0
- package/dist/chunks/page-not-found.d1a84ba7.js.map +1 -0
- package/dist/chunks/{payment-method.D9Qx-s4V.js → payment-method.c55dd352.js} +21 -19
- package/dist/chunks/{payment-method.D9Qx-s4V.js.map → payment-method.c55dd352.js.map} +1 -1
- package/dist/chunks/planned-maintenance.7fa5ac16.js +5 -0
- package/dist/chunks/planned-maintenance.7fa5ac16.js.map +1 -0
- package/dist/chunks/planned-maintenance.cff01aed.js +5 -0
- package/dist/chunks/planned-maintenance.cff01aed.js.map +1 -0
- package/dist/chunks/{radio-input.BQcC0INR.js → radio-input.e34c0fa8.js} +17 -15
- package/dist/chunks/{radio-input.BQcC0INR.js.map → radio-input.e34c0fa8.js.map} +1 -1
- package/dist/chunks/referrals.178ce0eb.js +5 -0
- package/dist/chunks/referrals.178ce0eb.js.map +1 -0
- package/dist/chunks/referrals.599047da.js +5 -0
- package/dist/chunks/referrals.599047da.js.map +1 -0
- package/dist/chunks/{refresh.BKI9WwKh.js → refresh.2ef3d8a9.js} +10 -8
- package/dist/chunks/{refresh.BKI9WwKh.js.map → refresh.2ef3d8a9.js.map} +1 -1
- package/dist/chunks/{resize.Bqks3WUm.js → resize.a041304d.js} +1 -1
- package/dist/chunks/{resize.Bqks3WUm.js.map → resize.a041304d.js.map} +1 -1
- package/dist/chunks/{search.CBKhp7zB.js → search.83bba8e3.js} +13 -11
- package/dist/chunks/{search.CBKhp7zB.js.map → search.83bba8e3.js.map} +1 -1
- package/dist/chunks/{segmented-control.DGjIC7Ab.js → segmented-control.9f657859.js} +31 -27
- package/dist/chunks/{segmented-control.DGjIC7Ab.js.map → segmented-control.9f657859.js.map} +1 -1
- package/dist/chunks/{sidepanel.keys.R0DKQuYx.js → sidepanel.keys.1ed8a57c.js} +1 -1
- package/dist/chunks/{sidepanel.keys.R0DKQuYx.js.map → sidepanel.keys.1ed8a57c.js.map} +1 -1
- package/dist/chunks/success.41981fe8.js +5 -0
- package/dist/chunks/success.41981fe8.js.map +1 -0
- package/dist/chunks/success.77fac78b.js +5 -0
- package/dist/chunks/success.77fac78b.js.map +1 -0
- package/dist/chunks/{summary-grid.keys.BBbFrFGF.js → summary-grid.keys.1d1028c2.js} +1 -1
- package/dist/chunks/{summary-grid.keys.BBbFrFGF.js.map → summary-grid.keys.1d1028c2.js.map} +1 -1
- package/dist/chunks/{tabs.keys.Bc2pSKRw.js → tabs.keys.358742f2.js} +1 -1
- package/dist/chunks/{tabs.keys.Bc2pSKRw.js.map → tabs.keys.358742f2.js.map} +1 -1
- package/dist/chunks/{teleport.CQKBJZU5.js → teleport.84b0f20b.js} +16 -14
- package/dist/chunks/{teleport.CQKBJZU5.js.map → teleport.84b0f20b.js.map} +1 -1
- package/dist/chunks/{tooltip.DR8rbIYw.js → tooltip.77610390.js} +32 -29
- package/dist/chunks/{tooltip.DR8rbIYw.js.map → tooltip.77610390.js.map} +1 -1
- package/dist/chunks/{unique-id.XFfoKuc2.js → unique-id.a2a2b458.js} +20 -14
- package/dist/chunks/{unique-id.XFfoKuc2.js.map → unique-id.a2a2b458.js.map} +1 -1
- package/dist/chunks/upload-files.2708eca7.js +5 -0
- package/dist/chunks/upload-files.2708eca7.js.map +1 -0
- package/dist/chunks/upload-files.b4cd9f8b.js +5 -0
- package/dist/chunks/upload-files.b4cd9f8b.js.map +1 -0
- package/dist/chunks/{use-bento-toast-controller.BifdE4ak.js → use-bento-toast-controller.5dac1f3c.js} +4 -4
- package/dist/chunks/{use-bento-toast-controller.BifdE4ak.js.map → use-bento-toast-controller.5dac1f3c.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.CVLzxvTi.js → use-cached-selected-values.148bfd7c.js} +237 -217
- package/dist/chunks/use-cached-selected-values.148bfd7c.js.map +1 -0
- package/dist/chunks/{use-click-outside.DbjR7Lh4.js → use-click-outside.941d1600.js} +2 -2
- package/dist/chunks/{use-click-outside.DbjR7Lh4.js.map → use-click-outside.941d1600.js.map} +1 -1
- package/dist/chunks/{use-country-items.C25TI6tp.js → use-country-items.6b7985bf.js} +4 -4
- package/dist/chunks/{use-country-items.C25TI6tp.js.map → use-country-items.6b7985bf.js.map} +1 -1
- package/dist/chunks/{use-default-slot-validator.BDn0wkYP.js → use-default-slot-validator.b9bff4c6.js} +2 -2
- package/dist/chunks/{use-default-slot-validator.BDn0wkYP.js.map → use-default-slot-validator.b9bff4c6.js.map} +1 -1
- package/dist/chunks/{use-expandable-content-height.GkjjbmPy.js → use-expandable-content-height.62fc84e5.js} +1 -1
- package/dist/chunks/{use-expandable-content-height.GkjjbmPy.js.map → use-expandable-content-height.62fc84e5.js.map} +1 -1
- package/dist/chunks/{use-form-layout-loading.D3lALhtC.js → use-form-layout-loading.d03e5d48.js} +2 -2
- package/dist/chunks/{use-form-layout-loading.D3lALhtC.js.map → use-form-layout-loading.d03e5d48.js.map} +1 -1
- package/dist/chunks/use-has-slot.fbeb19ec.js +6 -0
- package/dist/chunks/{use-has-slot.C9lQZ6nz.js.map → use-has-slot.fbeb19ec.js.map} +1 -1
- package/dist/chunks/{warning-filled.CLKRzGMT.js → warning-filled.1ced4163.js} +12 -10
- package/dist/chunks/{warning-filled.CLKRzGMT.js.map → warning-filled.1ced4163.js.map} +1 -1
- package/dist/chunks/wrong-environment.c73b0bc0.js +5 -0
- package/dist/chunks/wrong-environment.c73b0bc0.js.map +1 -0
- package/dist/chunks/wrong-environment.f890a237.js +5 -0
- package/dist/chunks/wrong-environment.f890a237.js.map +1 -0
- package/dist/click-outside.js +20 -2
- package/dist/click-outside.js.map +1 -1
- package/dist/code-snippet.js +2034 -5
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +97 -8
- package/dist/country.js.map +1 -1
- package/dist/currency.js +112 -3
- package/dist/currency.js.map +1 -1
- package/dist/dashboard-template.js +106 -3
- package/dist/dashboard-template.js.map +1 -1
- package/dist/dashed-underline.js +58 -2
- package/dist/dashed-underline.js.map +1 -1
- package/dist/data-grid-template.js +65 -2
- package/dist/data-grid-template.js.map +1 -1
- package/dist/data-grid.js +2057 -8
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +197 -5
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +228 -12
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +143 -5
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +2164 -5
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +192 -5
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +246 -2
- package/dist/header.js.map +1 -1
- package/dist/image.js +81 -4
- package/dist/image.js.map +1 -1
- package/dist/index.js +279 -274
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +40 -2
- package/dist/info-icon.js.map +1 -1
- package/dist/input-field.js +224 -7
- package/dist/input-field.js.map +1 -1
- package/dist/inspector.js +64 -0
- package/dist/inspector.js.map +1 -0
- package/dist/internal.js +29 -30
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +47 -3
- package/dist/loading-indicator.js.map +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +197 -3
- package/dist/modal-fullscreen.js.map +1 -1
- package/dist/modal.js +451 -11
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +507 -2
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +4 -4
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +213 -6
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +101 -6
- package/dist/search-bar.js.map +1 -1
- package/dist/secondary-nav.js +115 -2
- package/dist/secondary-nav.js.map +1 -1
- package/dist/segmented-control.js +4 -4
- package/dist/segmented-control.js.map +1 -1
- package/dist/selection-card.js +248 -4
- package/dist/selection-card.js.map +1 -1
- package/dist/sidepanel.js +189 -4
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +35 -3
- package/dist/status.js.map +1 -1
- package/dist/stepper.js +237 -5
- package/dist/stepper.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +584 -9
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +141 -3
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +63 -3
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +190 -2
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +369 -7
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +168 -2
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +120 -4
- package/dist/toggle.js.map +1 -1
- package/dist/tutorial.js +340 -2
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +142 -9
- package/package.json +3 -3
- package/dist/assets/avatar-image.css +0 -1
- package/dist/assets/code-snippet.css +0 -1
- package/dist/assets/filter-bar.css +0 -1
- package/dist/assets/input-field.css +0 -1
- package/dist/assets/radio-group.css +0 -1
- package/dist/assets/search-bar.css +0 -1
- package/dist/assets/selection-card-group.css +0 -1
- package/dist/assets/structured-list-item.css +0 -1
- package/dist/assets/textarea.css +0 -1
- package/dist/assets/timeline-item.css +0 -1
- package/dist/assets/toggle.css +0 -1
- package/dist/assets/tutorial.css +0 -1
- package/dist/avatar-image.js +0 -7
- package/dist/avatar-image.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/_plugin-vue2_normalizer.CeySl7Fu.js +0 -11
- package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +0 -1
- package/dist/chunks/accordion-item.DmnrjNzw.js +0 -100
- package/dist/chunks/accordion-item.DmnrjNzw.js.map +0 -1
- package/dist/chunks/action-bar.Bebh6PHI.js +0 -147
- package/dist/chunks/action-bar.Bebh6PHI.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.CJyTM4Az.js +0 -96
- package/dist/chunks/alert.CJyTM4Az.js.map +0 -1
- package/dist/chunks/avatar-image.DhlR-7Yg.js +0 -47
- package/dist/chunks/avatar-image.DhlR-7Yg.js.map +0 -1
- package/dist/chunks/base-button.DER7_IsF.js +0 -86
- package/dist/chunks/card.70Xvba2C.js +0 -115
- package/dist/chunks/card.70Xvba2C.js.map +0 -1
- package/dist/chunks/checkbox-group.B-KdeRXC.js +0 -152
- package/dist/chunks/checkbox-group.B-KdeRXC.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.DVl6QSwm.js +0 -24
- package/dist/chunks/click-outside.DABh6NLr.js +0 -23
- package/dist/chunks/click-outside.DABh6NLr.js.map +0 -1
- package/dist/chunks/code-snippet.C4IbjAhH.js +0 -968
- package/dist/chunks/code-snippet.C4IbjAhH.js.map +0 -1
- package/dist/chunks/country.KayLT0zy.js +0 -93
- package/dist/chunks/country.KayLT0zy.js.map +0 -1
- package/dist/chunks/currency.H7n7RQiX.js +0 -113
- package/dist/chunks/currency.H7n7RQiX.js.map +0 -1
- package/dist/chunks/dashboard-section.BcH-_en7.js +0 -105
- package/dist/chunks/dashboard-section.BcH-_en7.js.map +0 -1
- package/dist/chunks/dashed-underline.ChUlcFJR.js +0 -59
- package/dist/chunks/dashed-underline.ChUlcFJR.js.map +0 -1
- package/dist/chunks/data-grid-template.DqG5bNeD.js +0 -66
- package/dist/chunks/data-grid-template.DqG5bNeD.js.map +0 -1
- package/dist/chunks/data-grid.CvHAdmvs.js +0 -2022
- package/dist/chunks/data-grid.CvHAdmvs.js.map +0 -1
- package/dist/chunks/date-picker.ByP2Wpo0.js +0 -196
- package/dist/chunks/date-picker.ByP2Wpo0.js.map +0 -1
- package/dist/chunks/date-range-picker.DrnklTJ-.js.map +0 -1
- package/dist/chunks/date.DKjxxR6P.js.map +0 -1
- package/dist/chunks/divider.BZfeYmB9.js +0 -30
- package/dist/chunks/divider.BZfeYmB9.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.CKOkl_Qa.js.map +0 -1
- package/dist/chunks/dropdown-tag.DCMKQy-E.js +0 -214
- package/dist/chunks/dropdown-tag.DCMKQy-E.js.map +0 -1
- package/dist/chunks/dropdown.yhhQCKve.js.map +0 -1
- package/dist/chunks/empty-state.BqVOj4v1.js +0 -151
- package/dist/chunks/empty-state.BqVOj4v1.js.map +0 -1
- package/dist/chunks/error-message.BSxUoE3_.js +0 -107
- package/dist/chunks/events.CMzGybJJ.js +0 -47
- package/dist/chunks/filter-bar.AhsOPMZ1.js +0 -2119
- package/dist/chunks/filter-bar.AhsOPMZ1.js.map +0 -1
- package/dist/chunks/focus-trap.DSkLNO_i.js.map +0 -1
- package/dist/chunks/form-layout-title.BzNU0B72.js +0 -187
- package/dist/chunks/form-layout-title.BzNU0B72.js.map +0 -1
- package/dist/chunks/header.DmKHCmXh.js +0 -245
- package/dist/chunks/header.DmKHCmXh.js.map +0 -1
- package/dist/chunks/image.B3uqhFjl.js +0 -82
- package/dist/chunks/image.B3uqhFjl.js.map +0 -1
- package/dist/chunks/index.OCPp3NST.js +0 -126
- package/dist/chunks/info-icon.CLguYHRt.js +0 -41
- package/dist/chunks/info-icon.CLguYHRt.js.map +0 -1
- package/dist/chunks/input-field.BnlEPPYr.js +0 -218
- package/dist/chunks/input-field.BnlEPPYr.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/link.DJ1A53gF.js.map +0 -1
- package/dist/chunks/listbox-option-tag.BDjsYOE1.js +0 -75
- package/dist/chunks/listbox-option-tag.BDjsYOE1.js.map +0 -1
- package/dist/chunks/loading-button.CoF1IhEU.js +0 -97
- package/dist/chunks/loading-button.CoF1IhEU.js.map +0 -1
- package/dist/chunks/loading-indicator.DXc7I1Lm.js +0 -48
- package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +0 -1
- package/dist/chunks/menu.2TwUMlA9.js.map +0 -1
- package/dist/chunks/modal-fullscreen.BB_8EMNo.js +0 -196
- package/dist/chunks/modal-fullscreen.BB_8EMNo.js.map +0 -1
- package/dist/chunks/modal.DLwvcaRx.js +0 -439
- package/dist/chunks/modal.DLwvcaRx.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/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.BXjbVe4Z.js +0 -494
- package/dist/chunks/pagination.BXjbVe4Z.js.map +0 -1
- package/dist/chunks/payment-method.types.CJKfZQN5.js +0 -5
- package/dist/chunks/payment-method.types.CJKfZQN5.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.B8YH92W8.js.map +0 -1
- package/dist/chunks/popper-container.Bt02N3o1.js.map +0 -1
- package/dist/chunks/radio-group.CPbBFTzB.js +0 -211
- package/dist/chunks/radio-group.CPbBFTzB.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/search-bar.CsAgO-t5.js +0 -89
- package/dist/chunks/search-bar.CsAgO-t5.js.map +0 -1
- package/dist/chunks/secondary-nav.CNgpPxUU.js +0 -97
- package/dist/chunks/secondary-nav.CNgpPxUU.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.DlOs8BkR.js +0 -247
- package/dist/chunks/selection-card-group.DlOs8BkR.js.map +0 -1
- package/dist/chunks/sidepanel.BBjm2QvZ.js +0 -187
- package/dist/chunks/sidepanel.BBjm2QvZ.js.map +0 -1
- package/dist/chunks/status.types.BhbOYpZx.js +0 -36
- package/dist/chunks/status.types.BhbOYpZx.js.map +0 -1
- package/dist/chunks/step.DY8Txb6a.js +0 -234
- package/dist/chunks/step.DY8Txb6a.js.map +0 -1
- package/dist/chunks/structured-list-item.C9NTVDvT.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-item-custom.CJpDnoPw.js +0 -573
- package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js.map +0 -1
- package/dist/chunks/tabs.CE65f3E_.js +0 -140
- package/dist/chunks/tabs.CE65f3E_.js.map +0 -1
- package/dist/chunks/tag.bhKrZHTU.js +0 -64
- package/dist/chunks/tag.bhKrZHTU.js.map +0 -1
- package/dist/chunks/textarea.CcKbtQBs.js +0 -208
- package/dist/chunks/textarea.CcKbtQBs.js.map +0 -1
- package/dist/chunks/timeline-item.ScTrUBKC.js +0 -364
- package/dist/chunks/timeline-item.ScTrUBKC.js.map +0 -1
- package/dist/chunks/toast.0EYDj8o-.js +0 -165
- package/dist/chunks/toast.0EYDj8o-.js.map +0 -1
- package/dist/chunks/toggle-button.2U-vbQhk.js +0 -83
- package/dist/chunks/toggle-button.2U-vbQhk.js.map +0 -1
- package/dist/chunks/toggle.CiOVTWlk.js +0 -121
- package/dist/chunks/toggle.CiOVTWlk.js.map +0 -1
- package/dist/chunks/tutorial.DMm12L0S.js +0 -335
- package/dist/chunks/tutorial.DMm12L0S.js.map +0 -1
- package/dist/chunks/typography.Bjtu3Gca.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-cached-selected-values.CVLzxvTi.js.map +0 -1
- package/dist/chunks/use-has-slot.C9lQZ6nz.js +0 -6
- 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/assets/{badge.css → index.css} +0 -0
- /package/dist/assets/{tabs.css → index10.css} +0 -0
- /package/dist/assets/{date-picker.css → index12.css} +0 -0
- /package/dist/assets/{empty-state.css → index13.css} +0 -0
- /package/dist/assets/{focus-trap.css → index15.css} +0 -0
- /package/dist/assets/{form-layout-title.css → index16.css} +0 -0
- /package/dist/assets/{info-icon.css → index17.css} +0 -0
- /package/dist/assets/{dashed-underline.css → index2.css} +0 -0
- /package/dist/assets/{date-range-picker.css → index20.css} +0 -0
- /package/dist/assets/{status.css → index25.css} +0 -0
- /package/dist/assets/{step.css → index26.css} +0 -0
- /package/dist/assets/{link.css → index27.css} +0 -0
- /package/dist/assets/{alert.css → index29.css} +0 -0
- /package/dist/assets/{header.css → index31.css} +0 -0
- /package/dist/assets/{loading-indicator.css → index32.css} +0 -0
- /package/dist/assets/{dropdown-tag.css → index34.css} +0 -0
- /package/dist/assets/{popper-container.css → index35.css} +0 -0
- /package/dist/assets/{summary-grid-item-custom.css → index37.css} +0 -0
- /package/dist/assets/{toggle-button.css → index4.css} +0 -0
- /package/dist/assets/{tag.css → index41.css} +0 -0
- /package/dist/assets/{toast.css → index44.css} +0 -0
- /package/dist/assets/{typography.css → index46.css} +0 -0
- /package/dist/assets/{data-grid-template.css → index49.css} +0 -0
- /package/dist/assets/{pagination.css → index50.css} +0 -0
- /package/dist/assets/{checkbox-group.css → index6.css} +0 -0
- /package/dist/assets/{country.css → index8.css} +0 -0
- /package/dist/assets/{divider.css → index9.css} +0 -0
- /package/dist/assets/{cross.css → refresh.css} +0 -0
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, useSlots as B, onMounted as O, toRefs as k, ref as r, computed as F, watch as M, nextTick as T, provide as d } from "vue";
|
|
2
|
-
import { B as D } from "./button.DhAUh5JA.js";
|
|
3
|
-
import { B as N } from "./focus-trap.DSkLNO_i.js";
|
|
4
|
-
import { B as w } from "./typography.Bjtu3Gca.js";
|
|
5
|
-
import { u as E } from "./use-has-slot.C9lQZ6nz.js";
|
|
6
|
-
import { D as G, B as R, b as J, a as K } from "./dialog-page.DAh0M4mT.js";
|
|
7
|
-
import { B as U } from "./button-actions.Bg9ey0p6.js";
|
|
8
|
-
import { n as I } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
9
|
-
import { C as Y } from "./cross.CsUPDmaA.js";
|
|
10
|
-
import { u as $ } from "./i18n.BQkEbtPM.js";
|
|
11
|
-
import { g as z } from "./unique-id.XFfoKuc2.js";
|
|
12
|
-
import { M as H } from "./modal-fullscreen.keys.CMba3hYp.js";
|
|
13
|
-
import "../assets/modal-fullscreen.css";
|
|
14
|
-
const V = {}, j = /* @__PURE__ */ C({
|
|
15
|
-
...V,
|
|
16
|
-
__name: "modal-fullscreen-page",
|
|
17
|
-
props: {
|
|
18
|
-
/**
|
|
19
|
-
* List of actions that will be used to render the buttons.
|
|
20
|
-
* First element in the list will be rendered as "primary".
|
|
21
|
-
* All elements after the first will be rendered as "secondary".
|
|
22
|
-
*
|
|
23
|
-
* Each object in the list should have a `title`, an `event` and
|
|
24
|
-
* (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
|
|
25
|
-
*
|
|
26
|
-
* @see BentoButton for a list of all the other props supported by each button action.
|
|
27
|
-
*/
|
|
28
|
-
actions: {
|
|
29
|
-
type: Array,
|
|
30
|
-
default: null
|
|
31
|
-
},
|
|
32
|
-
/**
|
|
33
|
-
* Label shown next to the modal actions
|
|
34
|
-
*/
|
|
35
|
-
contextualLabel: {
|
|
36
|
-
type: String,
|
|
37
|
-
default: null
|
|
38
|
-
},
|
|
39
|
-
/**
|
|
40
|
-
* Identifier of the page, used with activePage prop to handle sidepanel navigation
|
|
41
|
-
*/
|
|
42
|
-
pageId: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: void 0
|
|
45
|
-
},
|
|
46
|
-
/**
|
|
47
|
-
* ID of the page for the back button to navigate to. Only use it to overwrite the default back behavior
|
|
48
|
-
* Used when the back button should not take the user to the natural previous page
|
|
49
|
-
* Set to `null` to hide back button in the page
|
|
50
|
-
*/
|
|
51
|
-
previousPage: {
|
|
52
|
-
type: String,
|
|
53
|
-
default: void 0
|
|
54
|
-
},
|
|
55
|
-
/**
|
|
56
|
-
* Title of the modal
|
|
57
|
-
*/
|
|
58
|
-
title: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: null
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
setup(i) {
|
|
64
|
-
const e = i, a = B(), t = E(a);
|
|
65
|
-
return O(() => {
|
|
66
|
-
if (e.actions && e.actions.length > 2)
|
|
67
|
-
throw new Error("Not more than 2 action buttons may be provided in Bento Modal Fullscreen");
|
|
68
|
-
}), { __sfc: !0, props: e, slots: a, hasSlot: t, BentoButtonActions: U, BentoTypography: w, DialogPage: G };
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
var q = function() {
|
|
72
|
-
var e = this, a = e._self._c, t = e._self._setupProxy;
|
|
73
|
-
return a(t.DialogPage, { staticClass: "b-modal-fullscreen-page", attrs: { "page-id": e.pageId, "previous-page": e.previousPage, "always-show-border": "" }, scopedSlots: e._u([{ key: "header", fn: function() {
|
|
74
|
-
return [a("div", { staticClass: "b-modal-fullscreen-page__header" }, [a("div", { staticClass: "b-modal-fullscreen-page__header-section b-modal-fullscreen-page__header-section--title" }, [e.title ? a(t.BentoTypography, { staticClass: "b-modal-fullscreen-page__title", attrs: { el: "h2", variant: "title", title: e.title } }, [e._v(e._s(e.title))]) : e._e()], 1), t.hasSlot("header") ? a("div", { staticClass: "b-modal-fullscreen-page__header-section b-modal-fullscreen-page__header-section--slot" }, [e._t("header")], 2) : e._e(), a("div", { staticClass: "b-modal-fullscreen-page__header-section b-modal-fullscreen-page__header-section--actions" }, [e.contextualLabel ? a(t.BentoTypography, { staticClass: "b-modal-fullscreen-page__contextual-label", attrs: { el: "span", title: e.contextualLabel } }, [e._v(e._s(e.contextualLabel))]) : e._e(), e.actions ? a(t.BentoButtonActions, { staticClass: "b-modal-fullscreen-page__actions", attrs: { actions: e.actions } }) : e._e(), a("div", { staticClass: "b-modal-fullscreen-page__separator" })], 1)])];
|
|
75
|
-
}, proxy: !0 }, { key: "content", fn: function() {
|
|
76
|
-
return [a("div", { staticClass: "b-modal-fullscreen-page__content" }, [e._t("default")], 2)];
|
|
77
|
-
}, proxy: !0 }], null, !0) });
|
|
78
|
-
}, Q = [], W = /* @__PURE__ */ I(
|
|
79
|
-
j,
|
|
80
|
-
q,
|
|
81
|
-
Q,
|
|
82
|
-
!1,
|
|
83
|
-
null,
|
|
84
|
-
"30654f2c"
|
|
85
|
-
);
|
|
86
|
-
const X = W.exports, Z = {
|
|
87
|
-
"en-US": {
|
|
88
|
-
close: "Close"
|
|
89
|
-
}
|
|
90
|
-
}, ee = {
|
|
91
|
-
i18n: { messages: Z }
|
|
92
|
-
}, te = /* @__PURE__ */ C({
|
|
93
|
-
...ee,
|
|
94
|
-
__name: "modal-fullscreen",
|
|
95
|
-
props: {
|
|
96
|
-
/**
|
|
97
|
-
* List of actions that will be used to render the buttons.
|
|
98
|
-
* First element in the list will be rendered as "primary".
|
|
99
|
-
* All elements after the first will be rendered as "secondary".
|
|
100
|
-
*
|
|
101
|
-
* Each object in the list should have a `title`, an `event` and
|
|
102
|
-
* (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
|
|
103
|
-
*
|
|
104
|
-
* @see BentoButton for a list of all the other props supported by each button action.
|
|
105
|
-
*/
|
|
106
|
-
actions: {
|
|
107
|
-
type: Array,
|
|
108
|
-
default: null
|
|
109
|
-
},
|
|
110
|
-
/**
|
|
111
|
-
* The id of the current active page
|
|
112
|
-
* Should be the same as the pageId of the BentoModalFullscreenPage to be displayed
|
|
113
|
-
*/
|
|
114
|
-
activePage: {
|
|
115
|
-
type: String,
|
|
116
|
-
default: null
|
|
117
|
-
},
|
|
118
|
-
/**
|
|
119
|
-
* Label shown next to the modal actions
|
|
120
|
-
*/
|
|
121
|
-
contextualLabel: {
|
|
122
|
-
type: String,
|
|
123
|
-
default: null
|
|
124
|
-
},
|
|
125
|
-
/**
|
|
126
|
-
* Controls the modal's state from the outside. Set it to true to open the modal
|
|
127
|
-
*/
|
|
128
|
-
isOpen: {
|
|
129
|
-
type: Boolean,
|
|
130
|
-
default: null
|
|
131
|
-
},
|
|
132
|
-
/**
|
|
133
|
-
* Title of the modal
|
|
134
|
-
*/
|
|
135
|
-
title: {
|
|
136
|
-
type: String,
|
|
137
|
-
default: null
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
emits: ["update:is-open", "update:active-page"],
|
|
141
|
-
setup(i, { emit: e }) {
|
|
142
|
-
const a = i, { activePage: t, isOpen: l } = k(a), { t: P } = $(), n = r(null), u = r(!1), _ = z("modal-fullscreen"), p = r(!1), f = B(), S = E(f), x = F(() => ({
|
|
143
|
-
"b-modal-fullscreen--hide": u.value
|
|
144
|
-
})), A = () => {
|
|
145
|
-
u.value && (n.value.close(), s.value[0] && e("update:active-page", s.value[0]), s.value = [], u.value = !1, p.value = !1, e("update:is-open", !1));
|
|
146
|
-
}, m = () => {
|
|
147
|
-
n.value.open && (u.value = !0);
|
|
148
|
-
};
|
|
149
|
-
M(
|
|
150
|
-
() => l.value,
|
|
151
|
-
async () => {
|
|
152
|
-
await T(), n.value && (l.value ? (p.value = !0, n.value.showModal(), s.value.length || s.value.push(t.value)) : n.value.open && m());
|
|
153
|
-
},
|
|
154
|
-
{ immediate: !0 }
|
|
155
|
-
), d(H, _);
|
|
156
|
-
const g = r(R.TRANSITION_LEVEL_DEEPER), c = r([]), s = r([]), v = (o) => e("update:active-page", o);
|
|
157
|
-
d(J, {
|
|
158
|
-
activePage: t,
|
|
159
|
-
animation: g,
|
|
160
|
-
isOpen: p,
|
|
161
|
-
pages: c,
|
|
162
|
-
previousPages: s,
|
|
163
|
-
updatePage: v
|
|
164
|
-
});
|
|
165
|
-
const y = (o) => () => {
|
|
166
|
-
var b;
|
|
167
|
-
c.value = (b = c.value) == null ? void 0 : b.filter((L) => L !== o);
|
|
168
|
-
}, h = (o) => (o && c.value.push(o), { unregisterPage: y(o) });
|
|
169
|
-
return d(K, h), { __sfc: !0, props: a, emit: e, activePage: t, isOpen: l, t: P, modal: n, isClosing: u, modalFullscreenId: _, internalIsOpen: p, slots: f, hasSlot: S, conditionalClasses: x, closeModalAfterAnimation: A, startCloseModalAnimation: m, animation: g, pages: c, previousPages: s, updatePage: v, unregisterPage: y, registerPage: h, BentoButton: D, BentoFocusTrap: N, BentoModalFullscreenPage: X, CrossIcon: Y };
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
var ae = function() {
|
|
173
|
-
var e = this, a = e._self._c, t = e._self._setupProxy;
|
|
174
|
-
return a("dialog", { ref: "modal", staticClass: "b-modal-fullscreen", class: t.conditionalClasses, attrs: { id: t.modalFullscreenId }, on: { animationend: t.closeModalAfterAnimation, keydown: function(l) {
|
|
175
|
-
return !l.type.indexOf("key") && e._k(l.keyCode, "esc", 27, l.key, ["Esc", "Escape"]) ? null : (l.preventDefault(), t.startCloseModalAnimation.apply(null, arguments));
|
|
176
|
-
} } }, [t.internalIsOpen ? a(t.BentoFocusTrap, { staticClass: "b-modal-fullscreen__wrapper" }, [t.props.activePage ? [e._t("default")] : a(t.BentoModalFullscreenPage, { attrs: { actions: e.actions, "contextual-label": e.contextualLabel, title: e.title }, scopedSlots: e._u([t.hasSlot("default") ? { key: "default", fn: function() {
|
|
177
|
-
return [e._t("default")];
|
|
178
|
-
}, proxy: !0 } : null, t.hasSlot("header") ? { key: "header", fn: function() {
|
|
179
|
-
return [e._t("header")];
|
|
180
|
-
}, proxy: !0 } : null], null, !0) }), a("div", { staticClass: "b-modal-fullscreen__close-button" }, [a(t.BentoButton, { attrs: { variant: "tertiary", "aria-label": t.t("close") }, on: { click: t.startCloseModalAnimation }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
|
|
181
|
-
return [a(t.CrossIcon, { attrs: { "aria-hidden": !0 } })];
|
|
182
|
-
}, proxy: !0 }], null, !1, 4214210411) })], 1)], 2) : e._e()], 1);
|
|
183
|
-
}, le = [], se = /* @__PURE__ */ I(
|
|
184
|
-
te,
|
|
185
|
-
ae,
|
|
186
|
-
le,
|
|
187
|
-
!1,
|
|
188
|
-
null,
|
|
189
|
-
"222ed9fd"
|
|
190
|
-
);
|
|
191
|
-
const ve = se.exports;
|
|
192
|
-
export {
|
|
193
|
-
X as B,
|
|
194
|
-
ve as m
|
|
195
|
-
};
|
|
196
|
-
//# sourceMappingURL=modal-fullscreen.BB_8EMNo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modal-fullscreen.BB_8EMNo.js","sources":["../../src/components/modal-fullscreen/components/modal-fullscreen-page.vue","../../src/components/modal-fullscreen/modal-fullscreen.vue"],"sourcesContent":["<template>\n <dialog-page class=\"b-modal-fullscreen-page\" :page-id=\"pageId\" :previous-page=\"previousPage\" always-show-border>\n <template #header>\n <div class=\"b-modal-fullscreen-page__header\">\n <div class=\"b-modal-fullscreen-page__header-section b-modal-fullscreen-page__header-section--title\">\n <bento-typography\n v-if=\"title\"\n el=\"h2\"\n variant=\"title\"\n class=\"b-modal-fullscreen-page__title\"\n :title=\"title\"\n >{{ title }}</bento-typography\n >\n </div>\n <div\n v-if=\"hasSlot('header')\"\n class=\"b-modal-fullscreen-page__header-section b-modal-fullscreen-page__header-section--slot\"\n >\n <slot name=\"header\" />\n </div>\n <div class=\"b-modal-fullscreen-page__header-section b-modal-fullscreen-page__header-section--actions\">\n <bento-typography\n v-if=\"contextualLabel\"\n class=\"b-modal-fullscreen-page__contextual-label\"\n el=\"span\"\n :title=\"contextualLabel\"\n >{{ contextualLabel }}</bento-typography\n >\n <bento-button-actions v-if=\"actions\" class=\"b-modal-fullscreen-page__actions\" :actions=\"actions\" />\n <div class=\"b-modal-fullscreen-page__separator\"></div>\n </div>\n </div>\n </template>\n <template #content>\n <div class=\"b-modal-fullscreen-page__content\">\n <slot />\n </div>\n </template>\n </dialog-page>\n</template>\n\n<script setup lang=\"ts\">\n import { onMounted, PropType, useSlots } from 'vue';\n\n import { BentoButtonActions, BentoButtonActionsList } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n import { DialogPage } from '@/internal';\n\n import { useHasSlot } from '@/composables';\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * @see BentoButton for a list of all the other props supported by each button action.\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Label shown next to the modal actions\n */\n contextualLabel: {\n type: String,\n default: null,\n },\n\n /**\n * Identifier of the page, used with activePage prop to handle sidepanel navigation\n */\n pageId: {\n type: String,\n default: undefined,\n },\n\n /**\n * ID of the page for the back button to navigate to. Only use it to overwrite the default back behavior\n * Used when the back button should not take the user to the natural previous page\n * Set to `null` to hide back button in the page\n */\n previousPage: {\n type: String,\n default: undefined,\n },\n\n /**\n * Title of the modal\n */\n title: {\n type: String,\n default: null,\n },\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n onMounted(() => {\n if (props.actions && props.actions.length > 2) {\n throw new Error('Not more than 2 action buttons may be provided in Bento Modal Fullscreen');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * ModalFullscreenPage is used to render different pages of ModalFullscreen component\n *\n * @example\n * import { BentoModalFullscreen, BentoModalFullscreenPage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoModalFullscreen, BentoModalFullscreenPage },\n * template: `\n * <bento-modal-fullscreen active-page='page1' is-open='true'>\n * <bento-modal-fullscreen-page\n * title='Page 1'\n * pageId='page1'\n * contextual-label='Move to next page'\n * :actions=\"[\n * {\n * title: 'Next page',\n * event: () => {\n * activePage.value = 'page2';\n * },\n * }]\">\n * Page 1 info\n * </bento-modal-fullscreen-page>\n * <bento-modal-fullscreen-page\n * title='Page 2'\n * pageId='page2'\n * :actions=\"[\n * {\n * title: 'Save',\n * event: () => {},\n * }]\">\n * Page 2 info\n * </bento-modal-fullscreen-page>\n * </bento-modal-fullscreen>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./modal-fullscreen-page.scss\" />\n","<template>\n <dialog\n :id=\"modalFullscreenId\"\n ref=\"modal\"\n class=\"b-modal-fullscreen\"\n :class=\"conditionalClasses\"\n @animationend=\"closeModalAfterAnimation\"\n @keydown.esc.prevent=\"startCloseModalAnimation\"\n >\n <bento-focus-trap v-if=\"internalIsOpen\" class=\"b-modal-fullscreen__wrapper\">\n <template v-if=\"props.activePage\">\n <slot />\n </template>\n <bento-modal-fullscreen-page v-else :actions=\"actions\" :contextual-label=\"contextualLabel\" :title=\"title\">\n <template v-if=\"hasSlot('default')\" #default>\n <slot name=\"default\"></slot>\n </template>\n <template v-if=\"hasSlot('header')\" #header>\n <slot name=\"header\"></slot>\n </template>\n </bento-modal-fullscreen-page>\n <div class=\"b-modal-fullscreen__close-button\">\n <bento-button variant=\"tertiary\" :aria-label=\"t('close')\" @click=\"startCloseModalAnimation\">\n <template #iconLeft><cross-icon :aria-hidden=\"true\" /></template>\n </bento-button>\n </div>\n </bento-focus-trap>\n </dialog>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, PropType, provide, ref, toRefs, useSlots, watch } from 'vue';\n\n import { BentoButton, BentoButtonActionsList } from '@/components/button';\n import { BentoFocusTrap } from '@/components/focus-trap';\n import BentoModalFullscreenPage from './components/modal-fullscreen-page.vue';\n\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { useI18n } from '@/utils/ts/i18n';\n import { generateUid } from '@/utils/ts/unique-id';\n import { useHasSlot } from '@/composables';\n import { MODAL_FULLSCREEN_DIALOG_ID_INJECTION_KEY } from '@/components/modal-fullscreen/modal-fullscreen.keys';\n\n import messages from './messages.json';\n import {\n BentoDialogPageAnimation,\n BentoDialogPageConfigData,\n BentoDialogPageRegisterPage,\n DIALOG_PAGE_CONFIG_INJECTION_KEY,\n DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY,\n } from '@/internal';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * @see BentoButton for a list of all the other props supported by each button action.\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * The id of the current active page\n * Should be the same as the pageId of the BentoModalFullscreenPage to be displayed\n */\n activePage: {\n type: String,\n default: null,\n },\n\n /**\n * Label shown next to the modal actions\n */\n contextualLabel: {\n type: String,\n default: null,\n },\n /**\n * Controls the modal's state from the outside. Set it to true to open the modal\n */\n isOpen: {\n type: Boolean,\n default: null,\n },\n /**\n * Title of the modal\n */\n title: {\n type: String,\n default: null,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emits 'update:is-open' event when the modal is closed\n */\n (e: 'update:is-open', isOpen: boolean): void;\n /**\n * Emits update event when page is changed internally\n */\n (e: 'update:active-page', page: string): void;\n }>();\n\n // Refs\n const { activePage, isOpen } = toRefs(props);\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const modal = ref(null);\n const isClosing = ref(false);\n const modalFullscreenId = generateUid('modal-fullscreen');\n const internalIsOpen = ref(false);\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n // Animation styling\n const conditionalClasses = computed(() => ({\n 'b-modal-fullscreen--hide': isClosing.value,\n }));\n\n // Handle closing and closing animation for dialog element\n const closeModalAfterAnimation = () => {\n if (isClosing.value) {\n modal.value.close();\n if (previousPages.value[0]) {\n emit('update:active-page', previousPages.value[0]);\n }\n previousPages.value = [];\n isClosing.value = false;\n internalIsOpen.value = false;\n emit('update:is-open', false);\n }\n };\n\n const startCloseModalAnimation = () => {\n if (!modal.value.open) {\n return;\n }\n isClosing.value = true;\n };\n\n // Watching isOpen prop to toggle open/close the dialog element\n watch(\n () => isOpen.value,\n async () => {\n // Wait for modal ref to be created\n await nextTick();\n\n if (!modal.value) {\n return;\n }\n\n if (isOpen.value) {\n internalIsOpen.value = true;\n modal.value.showModal();\n if (!previousPages.value.length) {\n previousPages.value.push(activePage.value);\n }\n } else if (modal.value.open) {\n startCloseModalAnimation();\n }\n },\n { immediate: true }\n );\n\n // lets children components know they are inside a Modal (dialog element)\n provide(MODAL_FULLSCREEN_DIALOG_ID_INJECTION_KEY, modalFullscreenId);\n\n // Pages\n const animation = ref(BentoDialogPageAnimation.TRANSITION_LEVEL_DEEPER);\n const pages = ref<string[]>([]);\n const previousPages = ref([]);\n const updatePage = page => emit('update:active-page', page);\n\n provide<BentoDialogPageConfigData>(DIALOG_PAGE_CONFIG_INJECTION_KEY, {\n activePage,\n animation,\n isOpen: internalIsOpen,\n pages,\n previousPages,\n updatePage,\n });\n\n // unregister page if removed / destroyed\n const unregisterPage = (pageIdToRemove: string) => () => {\n pages.value = pages.value?.filter(pageId => pageId !== pageIdToRemove);\n };\n\n // Provide data and function to register page to subcomponent\n const registerPage: BentoDialogPageRegisterPage = pageId => {\n if (pageId) {\n pages.value.push(pageId);\n }\n\n return { unregisterPage: unregisterPage(pageId) };\n };\n\n provide(DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY, registerPage);\n</script>\n\n<script lang=\"ts\">\n /**\n * Fullscreen modal takes full available space (no content underneath is visible) and focuses the user's attention exclusively on one complex task or piece of complex information.\n *\n * @example\n * import { BentoModalFullscreen } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoModalFullscreen },\n * template: `\n * <bento-modal-fullscreen\n * :is-open=\"isOpen\"\n * @update:is-open=\"isOpen = $event\"\n * title='Fullscreen modal title'\n * contextual-label='Contextual label'\n * :actions=\"[{ title: 'Action', event: () => {}]\"\n * >\n * <template #header>{{ header slot }}</template>\n * {{ content }}\n * </bento-modal-fullscreen>\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./modal-fullscreen.scss\" />\n"],"names":["__default__$1","slots","useSlots","hasSlot","useHasSlot","onMounted","props","__default__","messages","activePage","isOpen","toRefs","t","useI18n","modal","ref","isClosing","modalFullscreenId","generateUid","internalIsOpen","conditionalClasses","computed","closeModalAfterAnimation","previousPages","emit","startCloseModalAnimation","watch","nextTick","provide","MODAL_FULLSCREEN_DIALOG_ID_INJECTION_KEY","animation","BentoDialogPageAnimation","pages","updatePage","page","DIALOG_PAGE_CONFIG_INJECTION_KEY","unregisterPage","pageIdToRemove","_a","pageId","registerPage","DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY"],"mappings":";;;;;;;;;;;;;AAqJI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAhDAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;AAEA,WAAAI,EAAA,MAAA;AACI,UAAAC,EAAA,WAAAA,EAAA,QAAA,SAAA;AACI,cAAA,IAAA,MAAA,0EAAA;AAAA,IACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;GC8HJC,KAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAxHA,EAAA,YAAAC,GAAA,QAAAC,EAAA,IAAAC,EAAAL,CAAA,GACA,EAAA,GAAAM,EAAA,IAAAC,EAAA,GACAC,IAAAC,EAAA,IAAA,GACAC,IAAAD,EAAA,EAAA,GACAE,IAAAC,EAAA,kBAAA,GACAC,IAAAJ,EAAA,EAAA,GAEAd,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAGAmB,IAAAC,EAAA,OAAA;AAAA,MAA2C,4BAAAL,EAAA;AAAA,IACD,EAAA,GAI1CM,IAAA,MAAA;AACI,MAAAN,EAAA,UACIF,EAAA,MAAA,MAAA,GACAS,EAAA,MAAA,CAAA,KACIC,EAAA,sBAAAD,EAAA,MAAA,CAAA,CAAA,GAEJA,EAAA,QAAA,CAAA,GACAP,EAAA,QAAA,IACAG,EAAA,QAAA,IACAK,EAAA,kBAAA,EAAA;AAAA,IACJ,GAGJC,IAAA,MAAA;AACI,MAAAX,EAAA,MAAA,SAGAE,EAAA,QAAA;AAAA,IAAkB;AAItB,IAAAU;AAAA,MAAA,MAAAhB,EAAA;AAAA,MACiB,YAAA;AAKT,QAFA,MAAAiB,EAAA,GAEAb,EAAA,UAIAJ,EAAA,SACIS,EAAA,QAAA,IACAL,EAAA,MAAA,UAAA,GACAS,EAAA,MAAA,UACIA,EAAA,MAAA,KAAAd,EAAA,KAAA,KACJK,EAAA,MAAA,QAEAW,EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB,GAItBG,EAAAC,GAAAZ,CAAA;AAGA,UAAAa,IAAAf,EAAAgB,EAAA,uBAAA,GACAC,IAAAjB,EAAA,CAAA,CAAA,GACAQ,IAAAR,EAAA,CAAA,CAAA,GACAkB,IAAA,CAAAC,MAAAV,EAAA,sBAAAU,CAAA;AAEA,IAAAN,EAAAO,GAAA;AAAA,MAAqE,YAAA1B;AAAA,MACjE,WAAAqB;AAAA,MACA,QAAAX;AAAA,MACQ,OAAAa;AAAA,MACR,eAAAT;AAAA,MACA,YAAAU;AAAA,IACA,CAAA;AAIJ,UAAAG,IAAA,CAAAC,MAAA,MAAA;;AACI,MAAAL,EAAA,SAAAM,IAAAN,EAAA,UAAA,gBAAAM,EAAA,OAAA,CAAAC,MAAAA,MAAAF;AAAA,IAAqE,GAIzEG,IAAA,CAAAD,OACIA,KACIP,EAAA,MAAA,KAAAO,CAAA,GAGJ,EAAA,gBAAAH,EAAAG,CAAA,EAAA;AAGJ,WAAAX,EAAAa,GAAAD,CAAA;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,439 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, useSlots as B, onMounted as A, toRefs as E, ref as L, computed as f, useAttrs as x, watch as P } from "vue";
|
|
2
|
-
import { d as g, h as O, f as d, e as T, c as C, a as k, b as v } from "./base-modal.C5I7bR0d.js";
|
|
3
|
-
import { u as b } from "./use-has-slot.C9lQZ6nz.js";
|
|
4
|
-
import { F as R } from "./footer-actions.DqMRmlV_.js";
|
|
5
|
-
import { n as S } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
6
|
-
import { a as M } from "./button.DhAUh5JA.js";
|
|
7
|
-
import { u as z } from "./i18n.BQkEbtPM.js";
|
|
8
|
-
import { B as N } from "./button-actions.Bg9ey0p6.js";
|
|
9
|
-
import { d as $ } from "./typography.Bjtu3Gca.js";
|
|
10
|
-
const F = p({
|
|
11
|
-
name: "bento-modal-default"
|
|
12
|
-
}), q = /* @__PURE__ */ p({
|
|
13
|
-
...F,
|
|
14
|
-
props: {
|
|
15
|
-
/**
|
|
16
|
-
* List of actions that will be used to render the buttons.
|
|
17
|
-
* First element in the list will be rendered as "primary".
|
|
18
|
-
* All elements after the first will be rendered as "secondary".
|
|
19
|
-
* But you may change the color of 1-st action to red with 'critial' key
|
|
20
|
-
* Not more than 3 action buttons can be provided
|
|
21
|
-
* Or 2 action buttons and 1 Label for them
|
|
22
|
-
*
|
|
23
|
-
* Each object in the list should have a `title`, an `event` and
|
|
24
|
-
* (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
|
|
25
|
-
*
|
|
26
|
-
* `title`: Button's text.
|
|
27
|
-
*
|
|
28
|
-
* `event`: Event triggered when clicking the Button.
|
|
29
|
-
*
|
|
30
|
-
* `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
|
|
31
|
-
*
|
|
32
|
-
* ```
|
|
33
|
-
* [{
|
|
34
|
-
* title: 'Primary',2
|
|
35
|
-
* event: () => { ... },
|
|
36
|
-
* icon: FourPeopleIcon
|
|
37
|
-
* }, {
|
|
38
|
-
* title: 'Secondary',
|
|
39
|
-
* event: () => { ... }
|
|
40
|
-
* }]
|
|
41
|
-
* ```
|
|
42
|
-
*/
|
|
43
|
-
actions: {
|
|
44
|
-
type: Array,
|
|
45
|
-
default: null
|
|
46
|
-
},
|
|
47
|
-
/**
|
|
48
|
-
* Text label that is displayed left to the action buttons
|
|
49
|
-
*/
|
|
50
|
-
actionsLabel: { type: String, default: null },
|
|
51
|
-
/**
|
|
52
|
-
* The id of the current active page
|
|
53
|
-
* Should be the same id as the BentoModalPage to be displayed
|
|
54
|
-
*/
|
|
55
|
-
activePage: {
|
|
56
|
-
type: String,
|
|
57
|
-
default: null
|
|
58
|
-
},
|
|
59
|
-
/**
|
|
60
|
-
* If provided, manages the padding of the whole modal container
|
|
61
|
-
*/
|
|
62
|
-
customPadding: { type: String, default: null },
|
|
63
|
-
/**
|
|
64
|
-
* If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.
|
|
65
|
-
*/
|
|
66
|
-
columnsSize: {
|
|
67
|
-
type: String,
|
|
68
|
-
default: g.SMALLER
|
|
69
|
-
},
|
|
70
|
-
/**
|
|
71
|
-
* If passed - sets first button color to red
|
|
72
|
-
*/
|
|
73
|
-
destructiveActions: { type: Boolean, default: !1 },
|
|
74
|
-
/**
|
|
75
|
-
* Hides a cross icon on the right side of the title
|
|
76
|
-
*/
|
|
77
|
-
hideCloseButton: { type: Boolean, default: !1 },
|
|
78
|
-
/**
|
|
79
|
-
* Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.
|
|
80
|
-
*/
|
|
81
|
-
initiallyOpen: { type: Boolean, default: !1 },
|
|
82
|
-
/**
|
|
83
|
-
* If set to true, it allows the modal to be closed by clicking outside of it
|
|
84
|
-
*/
|
|
85
|
-
isDismissible: { type: Boolean, required: !0 },
|
|
86
|
-
/**
|
|
87
|
-
* Controls the modal's state from the outside. Set it to true to open the modal
|
|
88
|
-
*/
|
|
89
|
-
isOpen: { type: Boolean, required: !0 },
|
|
90
|
-
/**
|
|
91
|
-
* Sets the width of the modal
|
|
92
|
-
*/
|
|
93
|
-
size: {
|
|
94
|
-
type: String,
|
|
95
|
-
required: !0
|
|
96
|
-
},
|
|
97
|
-
/**
|
|
98
|
-
* If provided, renders the modal's content in a two-column layout an wth dividers separating its content
|
|
99
|
-
*/
|
|
100
|
-
withColumnLayout: { type: Boolean, default: !1 }
|
|
101
|
-
},
|
|
102
|
-
emits: ["update:active-page", "close-modal"],
|
|
103
|
-
setup(a, { emit: t }) {
|
|
104
|
-
const o = a, e = B(), l = b(e), i = () => {
|
|
105
|
-
t("close-modal");
|
|
106
|
-
};
|
|
107
|
-
return A(() => {
|
|
108
|
-
if (!(l("content") || l("content-col-1") && l("content-col-2")) && !o.activePage)
|
|
109
|
-
throw new Error("Bento Modal default variant requires content slot or column slots");
|
|
110
|
-
}), { __sfc: !0, slots: e, hasSlot: l, emit: t, props: o, onCloseModal: i, FooterActions: R, BaseModal: O };
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
var j = function() {
|
|
114
|
-
var t = this, o = t._self._c, e = t._self._setupProxy;
|
|
115
|
-
return o(e.BaseModal, t._b({ staticClass: "b-modal-default", attrs: { actions: t.actions, "active-page": t.activePage, size: t.size, "hide-close-button": t.hideCloseButton, "columns-size": t.columnsSize, "custom-padding": t.customPadding, "is-dismissible": t.isDismissible, "is-open": t.isOpen, "with-column-layout": t.withColumnLayout, "initially-open": t.initiallyOpen }, on: { "update:active-page": function(l) {
|
|
116
|
-
return e.emit("update:active-page", l);
|
|
117
|
-
}, "close-modal": e.onCloseModal }, scopedSlots: t._u([e.hasSlot("default") ? { key: "default", fn: function() {
|
|
118
|
-
return [t._t("default")];
|
|
119
|
-
}, proxy: !0 } : null, e.hasSlot("content-col-1") ? { key: "content-col-1", fn: function() {
|
|
120
|
-
return [t._t("content-col-1")];
|
|
121
|
-
}, proxy: !0 } : null, e.hasSlot("content-col-2") ? { key: "content-col-2", fn: function() {
|
|
122
|
-
return [t._t("content-col-2")];
|
|
123
|
-
}, proxy: !0 } : null, e.hasSlot("content") ? { key: "content", fn: function() {
|
|
124
|
-
return [t._t("content")];
|
|
125
|
-
}, proxy: !0 } : null, t.actions && t.actions.length > 0 ? { key: "actions", fn: function() {
|
|
126
|
-
return [t._t("actions", function() {
|
|
127
|
-
return [o(e.FooterActions, { attrs: { actions: t.actions, "actions-label": t.actionsLabel, "destructive-actions": t.destructiveActions } })];
|
|
128
|
-
})];
|
|
129
|
-
}, proxy: !0 } : null], null, !0) }, "base-modal", t.$attrs, !1));
|
|
130
|
-
}, I = [], V = /* @__PURE__ */ S(
|
|
131
|
-
q,
|
|
132
|
-
j,
|
|
133
|
-
I,
|
|
134
|
-
!1,
|
|
135
|
-
null,
|
|
136
|
-
null
|
|
137
|
-
);
|
|
138
|
-
const U = V.exports, G = {
|
|
139
|
-
"en-US": {
|
|
140
|
-
okButtonText: "OK"
|
|
141
|
-
}
|
|
142
|
-
}, K = p({
|
|
143
|
-
i18n: { messages: G },
|
|
144
|
-
name: "bento-modal-dialog"
|
|
145
|
-
}), W = /* @__PURE__ */ p({
|
|
146
|
-
...K,
|
|
147
|
-
props: {
|
|
148
|
-
/**
|
|
149
|
-
* List of actions that will be used to render the buttons.
|
|
150
|
-
* Only 1 action button is allowed for Modal Dialog
|
|
151
|
-
*
|
|
152
|
-
* Each object in the list should have a `title`, an `event` and
|
|
153
|
-
* (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
|
|
154
|
-
*
|
|
155
|
-
* `title`: Button's text.
|
|
156
|
-
*
|
|
157
|
-
* `event`: Event triggered when clicking the Button.
|
|
158
|
-
*
|
|
159
|
-
* `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
|
|
160
|
-
*
|
|
161
|
-
* ```
|
|
162
|
-
* [{
|
|
163
|
-
* title: 'Primary',2
|
|
164
|
-
* event: () => { ... },
|
|
165
|
-
* icon: FourPeopleIcon
|
|
166
|
-
* }]
|
|
167
|
-
* ```
|
|
168
|
-
*/
|
|
169
|
-
actions: {
|
|
170
|
-
type: Array,
|
|
171
|
-
default: null
|
|
172
|
-
},
|
|
173
|
-
/**
|
|
174
|
-
* The id of the current active page
|
|
175
|
-
* Should be the same id as the BentoModalPage to be displayed
|
|
176
|
-
*/
|
|
177
|
-
activePage: {
|
|
178
|
-
type: String,
|
|
179
|
-
default: null
|
|
180
|
-
},
|
|
181
|
-
/**
|
|
182
|
-
* Text that is displayed in the content section of modal
|
|
183
|
-
*/
|
|
184
|
-
content: { type: String, required: !0 },
|
|
185
|
-
/**
|
|
186
|
-
* Sets different action buttons styling and appearance
|
|
187
|
-
*/
|
|
188
|
-
dialogType: {
|
|
189
|
-
type: String,
|
|
190
|
-
required: !0
|
|
191
|
-
},
|
|
192
|
-
/**
|
|
193
|
-
* Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.
|
|
194
|
-
*/
|
|
195
|
-
initiallyOpen: { type: Boolean, default: !1 },
|
|
196
|
-
/**
|
|
197
|
-
* If set to true, it allows the modal to be closed by clicking outside of it
|
|
198
|
-
*/
|
|
199
|
-
isDismissible: { type: Boolean, required: !0 },
|
|
200
|
-
/**
|
|
201
|
-
* Controls the modal's state from the outside. Set it to true to open the modal
|
|
202
|
-
*/
|
|
203
|
-
isOpen: { type: Boolean, required: !0 }
|
|
204
|
-
},
|
|
205
|
-
emits: ["close-modal"],
|
|
206
|
-
setup(a, { emit: t }) {
|
|
207
|
-
const o = a, { t: e } = z(), l = B(), i = b(l), { actions: n, dialogType: s } = E(o), m = L(null), y = () => {
|
|
208
|
-
t("close-modal");
|
|
209
|
-
}, r = (u) => {
|
|
210
|
-
m.value.internalModalActionClose(u);
|
|
211
|
-
}, _ = f(() => [
|
|
212
|
-
{
|
|
213
|
-
title: e("okButtonText"),
|
|
214
|
-
event: r,
|
|
215
|
-
variant: M.SECONDARY
|
|
216
|
-
}
|
|
217
|
-
]), w = f(() => {
|
|
218
|
-
var h;
|
|
219
|
-
const u = {
|
|
220
|
-
title: "Cancel",
|
|
221
|
-
event: r
|
|
222
|
-
}, c = (h = n == null ? void 0 : n.value) == null ? void 0 : h[0];
|
|
223
|
-
return s.value === d.DESTRUCTIVE ? c.critical = !0 : s.value === d.INFO && (c.variant = M.SECONDARY), [c, u];
|
|
224
|
-
}), D = f(() => ({
|
|
225
|
-
[`b-modal-dialog--${s.value}`]: s.value
|
|
226
|
-
}));
|
|
227
|
-
return A(() => {
|
|
228
|
-
var u, c;
|
|
229
|
-
if (o.activePage)
|
|
230
|
-
throw new Error(
|
|
231
|
-
"Bento Modal Dialog cannot contain multiple pages. Use Bento Modal default variant instead."
|
|
232
|
-
);
|
|
233
|
-
if (!i("default") || !o.content && !i("content"))
|
|
234
|
-
throw new Error("Bento Modal Dialog requires header title and content");
|
|
235
|
-
if (((u = n == null ? void 0 : n.value) == null ? void 0 : u.length) > 1)
|
|
236
|
-
throw new Error("Not more than 1 action button may be provided to Modal Dialog");
|
|
237
|
-
if (s.value !== d.ACKNOWLEDGEMENT && !(n != null && n.value))
|
|
238
|
-
throw new Error("Modal Dialog, except ACKNOWLEDGEMENT type, always has to contain one action button");
|
|
239
|
-
if (s.value === d.ACKNOWLEDGEMENT && ((c = n == null ? void 0 : n.value) != null && c.length))
|
|
240
|
-
throw new Error("Acknowledgement Modal Dialog does not accept action buttons");
|
|
241
|
-
}), { __sfc: !0, emit: t, props: o, t: e, slots: l, hasSlot: i, actions: n, dialogType: s, modalRef: m, onCloseModal: y, onCloseActionButton: r, acknowledgementDialogActions: _, dialogActions: w, modalDialogConditionalClasses: D, BentoModalRole: T, BentoButtonActions: N, BaseModal: O };
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
var Y = function() {
|
|
245
|
-
var t = this, o = t._self._c, e = t._self._setupProxy;
|
|
246
|
-
return o(e.BaseModal, t._b({ ref: "modalRef", staticClass: "b-modal-dialog", class: e.modalDialogConditionalClasses, attrs: { actions: e.actions, "active-page": t.activePage, "hide-close-button": !0, size: "small", "is-dismissible": t.isDismissible, "is-open": t.isOpen, "modal-role": e.BentoModalRole.ALERT_DIALOG, "initially-open": t.initiallyOpen }, on: { "close-modal": e.onCloseModal }, scopedSlots: t._u([{ key: "default", fn: function() {
|
|
247
|
-
return [t._t("default")];
|
|
248
|
-
}, proxy: !0 }, { key: "content", fn: function() {
|
|
249
|
-
return [t._v(" " + t._s(t.content) + " ")];
|
|
250
|
-
}, proxy: !0 }, { key: "actions", fn: function() {
|
|
251
|
-
return [e.dialogType === "acknowledgement" ? o(e.BentoButtonActions, { attrs: { actions: e.acknowledgementDialogActions, layout: "buttons-end" } }) : o(e.BentoButtonActions, { attrs: { actions: e.dialogActions, layout: "buttons-end" } })];
|
|
252
|
-
}, proxy: !0 }], null, !0) }, "base-modal", t.$attrs, !1));
|
|
253
|
-
}, H = [], J = /* @__PURE__ */ S(
|
|
254
|
-
W,
|
|
255
|
-
Y,
|
|
256
|
-
H,
|
|
257
|
-
!1,
|
|
258
|
-
null,
|
|
259
|
-
null
|
|
260
|
-
);
|
|
261
|
-
const Q = J.exports, X = p({
|
|
262
|
-
components: { BentoModalDefault: U, BentoModalDialog: Q }
|
|
263
|
-
}), Z = /* @__PURE__ */ p({
|
|
264
|
-
...X,
|
|
265
|
-
__name: "modal",
|
|
266
|
-
props: {
|
|
267
|
-
/**
|
|
268
|
-
* List of actions that will be used to render the buttons.
|
|
269
|
-
* First element in the list will be rendered as "primary".
|
|
270
|
-
* All elements after the first will be rendered as "secondary".
|
|
271
|
-
*
|
|
272
|
-
* Each object in the list should have a `title`, an `event` and
|
|
273
|
-
* (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
|
|
274
|
-
*
|
|
275
|
-
* `title`: Button's text.
|
|
276
|
-
*
|
|
277
|
-
* `event`: Event triggered when clicking the Button.
|
|
278
|
-
*
|
|
279
|
-
* `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
|
|
280
|
-
*
|
|
281
|
-
* ```
|
|
282
|
-
* [{
|
|
283
|
-
* title: 'Primary',2
|
|
284
|
-
* event: () => { ... },
|
|
285
|
-
* icon: FourPeopleIcon
|
|
286
|
-
* }, {
|
|
287
|
-
* title: 'Secondary',
|
|
288
|
-
* event: () => { ... }
|
|
289
|
-
* }]
|
|
290
|
-
* ```
|
|
291
|
-
*/
|
|
292
|
-
actions: {
|
|
293
|
-
type: Array,
|
|
294
|
-
default: null
|
|
295
|
-
},
|
|
296
|
-
/**
|
|
297
|
-
* The id of the current active page
|
|
298
|
-
* Should be the same id as the BentoModalPage to be displayed
|
|
299
|
-
*/
|
|
300
|
-
activePage: {
|
|
301
|
-
type: String,
|
|
302
|
-
default: null
|
|
303
|
-
},
|
|
304
|
-
/**
|
|
305
|
-
* Text label that is displayed left to the action buttons
|
|
306
|
-
*/
|
|
307
|
-
actionsLabel: { type: String, default: null },
|
|
308
|
-
/**
|
|
309
|
-
* Text that will be displayed in the content section of Modal
|
|
310
|
-
*/
|
|
311
|
-
content: { type: String, default: null },
|
|
312
|
-
/**
|
|
313
|
-
* If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.
|
|
314
|
-
*/
|
|
315
|
-
columnsSize: {
|
|
316
|
-
type: String,
|
|
317
|
-
default: g.SMALLER,
|
|
318
|
-
validator: (a) => Object.values(g).includes(a)
|
|
319
|
-
},
|
|
320
|
-
/**
|
|
321
|
-
* If provided, manages the padding of the whole modal container
|
|
322
|
-
*/
|
|
323
|
-
customPadding: { type: String, default: null },
|
|
324
|
-
/**
|
|
325
|
-
* If passed - sets first button color to red
|
|
326
|
-
*/
|
|
327
|
-
destructiveActions: { type: Boolean, default: !1 },
|
|
328
|
-
/**
|
|
329
|
-
* Changes the visual styling of action buttons
|
|
330
|
-
*/
|
|
331
|
-
dialogType: {
|
|
332
|
-
type: String,
|
|
333
|
-
default: d.CONFIRMATION,
|
|
334
|
-
validator: (a) => Object.values(d).includes(a)
|
|
335
|
-
},
|
|
336
|
-
/**
|
|
337
|
-
* Hides a cross icon on the right side of the title
|
|
338
|
-
*/
|
|
339
|
-
hideCloseButton: { type: Boolean, default: !1 },
|
|
340
|
-
/**
|
|
341
|
-
* If set to true, it allows the modal to be closed without performing an action
|
|
342
|
-
*/
|
|
343
|
-
isDismissible: { type: Boolean, default: null },
|
|
344
|
-
/**
|
|
345
|
-
* Controls the modal's state from the outside. Set it to true to open the modal
|
|
346
|
-
*/
|
|
347
|
-
isOpen: {
|
|
348
|
-
type: Boolean,
|
|
349
|
-
default: !1
|
|
350
|
-
},
|
|
351
|
-
/**
|
|
352
|
-
* Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.
|
|
353
|
-
*/
|
|
354
|
-
initiallyOpen: { type: Boolean, default: !1 },
|
|
355
|
-
/**
|
|
356
|
-
* Sets the width of the modal
|
|
357
|
-
*/
|
|
358
|
-
size: {
|
|
359
|
-
type: String,
|
|
360
|
-
default: C.SMALL,
|
|
361
|
-
validator: (a) => Object.values(C).includes(a)
|
|
362
|
-
},
|
|
363
|
-
/**
|
|
364
|
-
* Choose between default or dialog versions of modal
|
|
365
|
-
*/
|
|
366
|
-
variant: {
|
|
367
|
-
type: String,
|
|
368
|
-
default: "default",
|
|
369
|
-
validator: (a) => Object.values(k).includes(a) || Object.values(v).includes(a)
|
|
370
|
-
},
|
|
371
|
-
/**
|
|
372
|
-
* If provided, renders the modal's content in a two-column layout an wth dividers separating its content
|
|
373
|
-
*/
|
|
374
|
-
withColumnLayout: { type: Boolean, default: !1 }
|
|
375
|
-
},
|
|
376
|
-
emits: ["update:active-page", "close-modal"],
|
|
377
|
-
setup(a, { emit: t }) {
|
|
378
|
-
const o = a, e = 500, l = B(), i = b(l), n = x(), s = f(() => Object.values(v).includes(o.variant) ? o.variant : v[o.variant.toUpperCase()]), m = f(
|
|
379
|
-
() => s.value === v.DEFAULT ? {
|
|
380
|
-
activePage: o.activePage,
|
|
381
|
-
hideCloseButton: o.hideCloseButton,
|
|
382
|
-
size: o.size,
|
|
383
|
-
customPadding: o.customPadding,
|
|
384
|
-
actionsLabel: o.actionsLabel,
|
|
385
|
-
destructiveActions: o.destructiveActions,
|
|
386
|
-
isDismissible: o.isDismissible ?? !0,
|
|
387
|
-
withColumnLayout: o.withColumnLayout,
|
|
388
|
-
columnsSize: o.columnsSize,
|
|
389
|
-
...n
|
|
390
|
-
} : {
|
|
391
|
-
activePage: o.activePage,
|
|
392
|
-
dialogType: o.dialogType,
|
|
393
|
-
content: o.content,
|
|
394
|
-
isDismissible: o.isDismissible ?? !1,
|
|
395
|
-
...n
|
|
396
|
-
}
|
|
397
|
-
), y = () => {
|
|
398
|
-
t("close-modal");
|
|
399
|
-
};
|
|
400
|
-
return P(
|
|
401
|
-
() => o.actions,
|
|
402
|
-
() => {
|
|
403
|
-
var r, _;
|
|
404
|
-
((_ = (r = o.actions) == null ? void 0 : r[0]) == null ? void 0 : _.state) === "success" && setTimeout(y, e);
|
|
405
|
-
}
|
|
406
|
-
), Object.keys(n).includes("overflow-visible") && $(
|
|
407
|
-
'BentoModal "overflow-visible" property',
|
|
408
|
-
`"overflow-visible" property was made redundant. BentoModal can work correctly without the need to pass the propery.
|
|
409
|
-
Remove the "overflow-visible" prop from BentoModal to remove this error.`,
|
|
410
|
-
"2.0.0"
|
|
411
|
-
), { __sfc: !0, LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME: e, slots: l, hasSlot: i, attrs: n, emit: t, props: o, computedVariant: s, customProps: m, onCloseModal: y };
|
|
412
|
-
}
|
|
413
|
-
});
|
|
414
|
-
var tt = function() {
|
|
415
|
-
var t = this, o = t._self._c, e = t._self._setupProxy;
|
|
416
|
-
return o(e.computedVariant, t._b({ tag: "component", staticClass: "b-modal", attrs: { "is-open": t.isOpen, actions: t.actions, "initially-open": t.initiallyOpen }, on: { "close-modal": e.onCloseModal, "update:active-page": function(l) {
|
|
417
|
-
return e.emit("update:active-page", l);
|
|
418
|
-
} }, scopedSlots: t._u([e.hasSlot("default") ? { key: "default", fn: function() {
|
|
419
|
-
return [t._t("default")];
|
|
420
|
-
}, proxy: !0 } : null, e.hasSlot("content-col-1") ? { key: "content-col-1", fn: function() {
|
|
421
|
-
return [t._t("content-col-1")];
|
|
422
|
-
}, proxy: !0 } : null, e.hasSlot("content-col-2") ? { key: "content-col-2", fn: function() {
|
|
423
|
-
return [t._t("content-col-2")];
|
|
424
|
-
}, proxy: !0 } : null, e.hasSlot("content") ? { key: "content", fn: function() {
|
|
425
|
-
return [t._t("content")];
|
|
426
|
-
}, proxy: !0 } : null], null, !0) }, "component", e.customProps, !1));
|
|
427
|
-
}, et = [], ot = /* @__PURE__ */ S(
|
|
428
|
-
Z,
|
|
429
|
-
tt,
|
|
430
|
-
et,
|
|
431
|
-
!1,
|
|
432
|
-
null,
|
|
433
|
-
null
|
|
434
|
-
);
|
|
435
|
-
const pt = ot.exports;
|
|
436
|
-
export {
|
|
437
|
-
pt as B
|
|
438
|
-
};
|
|
439
|
-
//# sourceMappingURL=modal.DLwvcaRx.js.map
|