@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
package/dist/tutorial.js
CHANGED
|
@@ -1,5 +1,343 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent as h, ref as d, computed as n, isRef as I, watch as g, nextTick as P } from "vue";
|
|
2
|
+
import { B as $ } from "./chunks/index.8a037a95.js";
|
|
3
|
+
import { B as T, a as k } from "./chunks/index.40b77741.js";
|
|
4
|
+
import { B as w } from "./chunks/index.e29a6907.js";
|
|
5
|
+
import { BentoImage as N } from "./image.js";
|
|
6
|
+
import { u as A } from "./chunks/i18n.eb5b985b.js";
|
|
7
|
+
import { R as D } from "./chunks/refresh.2ef3d8a9.js";
|
|
8
|
+
import { n as f } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
9
|
+
import { a as b, h as j, o as L } from "./chunks/index.bad400d5.js";
|
|
10
|
+
import { B as M } from "./chunks/button-actions.430d7510.js";
|
|
11
|
+
import "./assets/index48.css";
|
|
12
|
+
var B;
|
|
13
|
+
const V = /* @__PURE__ */ h({
|
|
14
|
+
__name: "tutorial-indicator",
|
|
15
|
+
props: {
|
|
16
|
+
/**
|
|
17
|
+
* Tutorial indicator's target element.
|
|
18
|
+
* The indicator will position itself around the target element.
|
|
19
|
+
*/
|
|
20
|
+
targetElement: {
|
|
21
|
+
type: (B = b.props) == null ? void 0 : B.targetElement.type,
|
|
22
|
+
required: !0
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
setup(a) {
|
|
26
|
+
const e = d({
|
|
27
|
+
width: "0",
|
|
28
|
+
height: "0",
|
|
29
|
+
borderRadius: "0"
|
|
30
|
+
});
|
|
31
|
+
function s(l) {
|
|
32
|
+
try {
|
|
33
|
+
const i = parseFloat(getComputedStyle(l).getPropertyValue("border-radius"));
|
|
34
|
+
return Number.isNaN(i) ? "" : `${i + 2 * 2}px`;
|
|
35
|
+
} catch {
|
|
36
|
+
return "";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
const o = [
|
|
40
|
+
j(),
|
|
41
|
+
L({
|
|
42
|
+
mainAxis: 2,
|
|
43
|
+
alignmentAxis: -2
|
|
44
|
+
}),
|
|
45
|
+
{
|
|
46
|
+
name: "updateIndicatorSize",
|
|
47
|
+
fn: ({ x: l, y: i, elements: r }) => {
|
|
48
|
+
const p = r.reference;
|
|
49
|
+
return e.value.width = `${p.offsetWidth + 4 * 2}px`, e.value.height = `${p.offsetHeight + 4 * 2}px`, e.value.borderRadius = s(p), { x: l, y: i };
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
];
|
|
53
|
+
return { __sfc: !0, BORDER_OFFSET: 2, computedStyles: e, getBorderRadius: s, middleware: o, PopperContainer: b };
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
var q = function() {
|
|
57
|
+
var t = this, e = t._self._c, s = t._self._setupProxy;
|
|
58
|
+
return e(s.PopperContainer, { staticClass: "b-tutorial-indicator", attrs: { "target-element": t.targetElement, middleware: s.middleware, position: "top-start", "fixed-positioning": "", "disabled-focus-trap": "", "data-testid": "tutorial-indicator" } }, [e("div", { staticClass: "b-tutorial-indicator__highlight", style: s.computedStyles })]);
|
|
59
|
+
}, K = [], Z = /* @__PURE__ */ f(
|
|
60
|
+
V,
|
|
61
|
+
q,
|
|
62
|
+
K,
|
|
63
|
+
!1,
|
|
64
|
+
null,
|
|
65
|
+
"ea45578e",
|
|
66
|
+
null,
|
|
67
|
+
null
|
|
68
|
+
);
|
|
69
|
+
const z = Z.exports;
|
|
70
|
+
let x = 0;
|
|
71
|
+
const H = {
|
|
72
|
+
beforeCreate() {
|
|
73
|
+
this.uuid = x.toString(), x += 1;
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
var U = function() {
|
|
77
|
+
var t = this, e = t._self._c;
|
|
78
|
+
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("g", { attrs: { "clip-path": "url(#uia-icons-16-blocked__a" + t.uuid + ")" } }, [e("path", { attrs: { fill: "#00112C", d: "M9.51195 0.398918C8.00859 0.0998821 6.45033 0.253358 5.0342 0.839937C3.61808 1.42652 2.40769 2.41985 1.55611 3.69433C0.704529 4.96881 0.25 6.4672 0.25 8C0.25 10.0554 1.06652 12.0267 2.51992 13.4801C3.97333 14.9335 5.94457 15.75 8 15.75C9.53281 15.75 11.0312 15.2955 12.3057 14.4439C13.5801 13.5923 14.5735 12.3819 15.1601 10.9658C15.7466 9.54967 15.9001 7.99141 15.6011 6.48805C15.3021 4.9847 14.5639 3.60378 13.4801 2.51993C12.3962 1.43607 11.0153 0.697953 9.51195 0.398918ZM5.60823 2.22576C6.75027 1.75271 8.00693 1.62894 9.21931 1.8701C10.4317 2.11125 11.5453 2.70651 12.4194 3.58059C13.2935 4.45466 13.8887 5.56831 14.1299 6.78069C14.3711 7.99307 14.2473 9.24974 13.7742 10.3918C13.5555 10.9198 13.2667 11.4124 12.9177 11.8573L4.14271 3.0823C4.58761 2.73333 5.08018 2.44448 5.60823 2.22576ZM3.08208 4.14298L11.857 12.9179C11.7327 13.0154 11.6044 13.1085 11.4723 13.1967C10.4445 13.8834 9.23613 14.25 8 14.25C6.3424 14.25 4.75268 13.5915 3.58058 12.4194C2.40848 11.2473 1.75 9.65761 1.75 8C1.75 6.76387 2.11656 5.5555 2.80331 4.52769C2.89155 4.39564 2.98456 4.26733 3.08208 4.14298Z" } })]), e("defs", [e("clipPath", { attrs: { id: "uia-icons-16-blocked__a" + t.uuid } }, [e("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
79
|
+
}, W = [], X = /* @__PURE__ */ f(
|
|
80
|
+
H,
|
|
81
|
+
U,
|
|
82
|
+
W,
|
|
83
|
+
!1,
|
|
84
|
+
null,
|
|
85
|
+
null,
|
|
86
|
+
null,
|
|
87
|
+
null
|
|
88
|
+
);
|
|
89
|
+
const G = X.exports, J = {
|
|
90
|
+
"en-US": {
|
|
91
|
+
finish: "Finish",
|
|
92
|
+
next: "Next",
|
|
93
|
+
ok: "OK",
|
|
94
|
+
restartTour: "Restart tour",
|
|
95
|
+
skipTour: "Skip tour",
|
|
96
|
+
startTour: "Start tour",
|
|
97
|
+
stepsOfTotal: "{step} of {totalSteps}"
|
|
98
|
+
}
|
|
99
|
+
}, Q = {
|
|
100
|
+
i18n: { messages: J }
|
|
101
|
+
}, Y = /* @__PURE__ */ h({
|
|
102
|
+
...Q,
|
|
103
|
+
__name: "tutorial-popover",
|
|
104
|
+
props: {
|
|
105
|
+
/**
|
|
106
|
+
* Optional configuration for the secondary action.
|
|
107
|
+
* In tour tutorials, this is ignored for the introductory step.
|
|
108
|
+
*/
|
|
109
|
+
action: {
|
|
110
|
+
type: Object,
|
|
111
|
+
default: null
|
|
112
|
+
},
|
|
113
|
+
/**
|
|
114
|
+
* Indicates whether this popover is the active step (and should be visible).
|
|
115
|
+
*/
|
|
116
|
+
active: {
|
|
117
|
+
type: Boolean,
|
|
118
|
+
default: !1
|
|
119
|
+
},
|
|
120
|
+
/**
|
|
121
|
+
* Optional illustration to display at the top of the popover.
|
|
122
|
+
*/
|
|
123
|
+
image: {
|
|
124
|
+
type: Object,
|
|
125
|
+
default: null
|
|
126
|
+
},
|
|
127
|
+
/**
|
|
128
|
+
* Popover's position relative to the target element.
|
|
129
|
+
* Possible values are:
|
|
130
|
+
* 'auto', 'auto-start', 'auto-end',
|
|
131
|
+
* 'top', 'top-start', 'top-end'
|
|
132
|
+
* 'right', 'right-start', 'right-end'
|
|
133
|
+
* 'bottom', 'bottom-start', 'bottom-end'
|
|
134
|
+
* 'left', 'left-start', 'left-end'
|
|
135
|
+
*/
|
|
136
|
+
position: {
|
|
137
|
+
type: String,
|
|
138
|
+
default: T.BOTTOM_START,
|
|
139
|
+
validator: (a) => Object.values(T).includes(a)
|
|
140
|
+
},
|
|
141
|
+
/**
|
|
142
|
+
* Options to control the scroll into view behavior.
|
|
143
|
+
* Takes the same options as the `scrollIntoView` function
|
|
144
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
|
|
145
|
+
*/
|
|
146
|
+
scrollOptions: {
|
|
147
|
+
type: [Boolean, Object],
|
|
148
|
+
default: null
|
|
149
|
+
},
|
|
150
|
+
/**
|
|
151
|
+
* Indicates whether this popover is a single tutorial or a tour.
|
|
152
|
+
*/
|
|
153
|
+
single: {
|
|
154
|
+
type: Boolean,
|
|
155
|
+
default: !1
|
|
156
|
+
},
|
|
157
|
+
/**
|
|
158
|
+
* The tutorial step number.
|
|
159
|
+
* In tour tutorials, `0` is the introductory step, and is displayed next
|
|
160
|
+
* to the title.
|
|
161
|
+
*/
|
|
162
|
+
step: {
|
|
163
|
+
type: Number,
|
|
164
|
+
default: null
|
|
165
|
+
},
|
|
166
|
+
/**
|
|
167
|
+
* Tutorial popover's target element.
|
|
168
|
+
* The popover will position itself relatively to target element.
|
|
169
|
+
*/
|
|
170
|
+
targetElement: {
|
|
171
|
+
type: [Element, Object],
|
|
172
|
+
required: !0
|
|
173
|
+
},
|
|
174
|
+
/**
|
|
175
|
+
* The tutorial step title.
|
|
176
|
+
*/
|
|
177
|
+
title: {
|
|
178
|
+
type: String,
|
|
179
|
+
required: !0
|
|
180
|
+
},
|
|
181
|
+
/**
|
|
182
|
+
* Total count of steps.
|
|
183
|
+
* In tour tutorials, this does not include the introductory step, and is
|
|
184
|
+
* displayed next to the title.
|
|
185
|
+
*/
|
|
186
|
+
totalSteps: {
|
|
187
|
+
type: Number,
|
|
188
|
+
default: null
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
emits: ["next", "finish", "restart"],
|
|
192
|
+
setup(a, { emit: t }) {
|
|
193
|
+
const e = a, s = { behavior: "smooth" }, { t: o } = A(), l = n(() => ({
|
|
194
|
+
title: o("skipTour"),
|
|
195
|
+
event: () => t("finish")
|
|
196
|
+
})), i = n(() => ({
|
|
197
|
+
title: o("startTour"),
|
|
198
|
+
event: () => t("next")
|
|
199
|
+
})), r = n(() => ({
|
|
200
|
+
title: o("next"),
|
|
201
|
+
event: () => t("next")
|
|
202
|
+
})), p = n(() => ({
|
|
203
|
+
title: o("finish"),
|
|
204
|
+
event: () => t("finish")
|
|
205
|
+
})), y = n(() => ({
|
|
206
|
+
title: o("ok"),
|
|
207
|
+
event: () => t("finish")
|
|
208
|
+
})), C = d(!1), O = d(!1), v = n(() => {
|
|
209
|
+
var u;
|
|
210
|
+
return I(e.targetElement) ? ((u = e.targetElement.value) == null ? void 0 : u.$el) || e.targetElement.value : e.targetElement.$el || e.targetElement;
|
|
211
|
+
}), _ = n(() => e.step === 0), m = n(() => e.step === e.totalSteps), E = n(() => !_.value), R = n(() => [
|
|
212
|
+
{
|
|
213
|
+
text: o("restartTour"),
|
|
214
|
+
handler: () => t("restart"),
|
|
215
|
+
icon: D
|
|
216
|
+
},
|
|
217
|
+
...m.value ? [] : [
|
|
218
|
+
{
|
|
219
|
+
text: "Skip tour",
|
|
220
|
+
handler: () => t("finish"),
|
|
221
|
+
icon: G
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
]), F = n(() => {
|
|
225
|
+
let u;
|
|
226
|
+
_.value ? u = e.single ? y.value : i.value : m.value ? u = p.value : u = r.value;
|
|
227
|
+
const c = [u];
|
|
228
|
+
return _.value && !e.single ? c.push(l.value) : e.action && c.push(e.action), c;
|
|
229
|
+
});
|
|
230
|
+
return g(
|
|
231
|
+
() => e.active,
|
|
232
|
+
async (u) => {
|
|
233
|
+
var c, S;
|
|
234
|
+
u && ((c = v.value) != null && c.scrollIntoView) && ((S = v.value) == null || S.scrollIntoView(
|
|
235
|
+
e.scrollOptions != null ? e.scrollOptions : s
|
|
236
|
+
), await P()), C.value = u, O.value = u;
|
|
237
|
+
},
|
|
238
|
+
{ immediate: !0 }
|
|
239
|
+
), { __sfc: !0, DEFAULT_SCROLL_OPTIONS: s, props: e, t: o, emit: t, ACTION_SKIP: l, ACTION_START: i, ACTION_NEXT: r, ACTION_FINISH: p, ACTION_OK: y, isPopoverOpen: C, isIndicatorVisible: O, targetElement: v, isFirstStep: _, isLastStep: m, showSteps: E, menuData: R, computedActions: F, BentoMenu: $, BentoPopover: k, BentoTypography: w, BentoButtonActions: M, BentoImage: N, TutorialIndicator: z };
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
var tt = function() {
|
|
243
|
+
var t = this, e = t._self._c, s = t._self._setupProxy;
|
|
244
|
+
return t.active && s.targetElement ? e("div", [s.isIndicatorVisible && s.targetElement ? e(s.TutorialIndicator, { attrs: { "target-element": s.targetElement } }) : t._e(), e(s.BentoPopover, { staticClass: "b-tutorial-popover", attrs: { "target-element": s.targetElement, position: t.position, open: s.isPopoverOpen, "aria-label": t.title, "fixed-positioning": "" }, nativeOn: { keydown: function(o) {
|
|
245
|
+
return !o.type.indexOf("key") && t._k(o.keyCode, "esc", 27, o.key, ["Esc", "Escape"]) ? null : s.emit("finish");
|
|
246
|
+
} }, scopedSlots: t._u([t.image ? { key: "image", fn: function() {
|
|
247
|
+
return [e(s.BentoImage, t._b({ staticClass: "b-tutorial-popover__image", attrs: { "aspect-ratio": "landscape" } }, "bento-image", t.image, !1))];
|
|
248
|
+
}, proxy: !0 } : null], null, !0) }, [e("div", { staticClass: "b-tutorial-popover__ripple", attrs: { "aria-hidden": "true" } }), e("div", { staticClass: "b-tutorial-popover__header" }, [e(s.BentoTypography, { attrs: { variant: "title", el: "span" } }, [t._v(" " + t._s(t.title) + " ")]), s.showSteps ? e(s.BentoTypography, { staticClass: "b-tutorial-popover__steps", attrs: { el: "span" } }, [t._v(" " + t._s(s.t("stepsOfTotal", { step: t.step, totalSteps: t.totalSteps })) + " ")]) : t._e()], 1), e(s.BentoTypography, [t._t("default")], 2), e("div", { staticClass: "b-tutorial-popover__footer" }, [s.isFirstStep ? t._e() : e(s.BentoMenu, { staticClass: "b-tutorial-popover__menu", attrs: { data: s.menuData, "data-testid": "menu-button" } }), e("div", { staticClass: "b-tutorial-popover__actions" }, [e(s.BentoButtonActions, { attrs: { actions: s.computedActions, layout: "buttons-end" } })], 1)], 1)], 1)], 1) : t._e();
|
|
249
|
+
}, et = [], st = /* @__PURE__ */ f(
|
|
250
|
+
Y,
|
|
251
|
+
tt,
|
|
252
|
+
et,
|
|
253
|
+
!1,
|
|
254
|
+
null,
|
|
255
|
+
"ac66e07d",
|
|
256
|
+
null,
|
|
257
|
+
null
|
|
258
|
+
);
|
|
259
|
+
const ot = st.exports, rt = {}, nt = /* @__PURE__ */ h({
|
|
260
|
+
...rt,
|
|
261
|
+
__name: "tutorial",
|
|
262
|
+
props: {
|
|
263
|
+
/**
|
|
264
|
+
* The current step index. If provided, will start the tutorial in that step.
|
|
265
|
+
*/
|
|
266
|
+
index: {
|
|
267
|
+
type: Number,
|
|
268
|
+
default: null
|
|
269
|
+
},
|
|
270
|
+
/**
|
|
271
|
+
* The steps configuration for the tutorial.
|
|
272
|
+
*
|
|
273
|
+
*/
|
|
274
|
+
steps: {
|
|
275
|
+
type: Array,
|
|
276
|
+
required: !0,
|
|
277
|
+
validator: (a) => a.length > 0
|
|
278
|
+
},
|
|
279
|
+
/**
|
|
280
|
+
* Options to control the scroll into view behavior.
|
|
281
|
+
* Takes the same options as the `scrollIntoView` function
|
|
282
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
|
|
283
|
+
*/
|
|
284
|
+
scrollOptions: {
|
|
285
|
+
type: [Boolean, Object],
|
|
286
|
+
default: null
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
emits: ["update:index"],
|
|
290
|
+
setup(a, { emit: t }) {
|
|
291
|
+
const e = a, s = d(e.index || 0), o = n(() => e.steps.length - 1), l = n(() => o.value === 0);
|
|
292
|
+
function i(r, p) {
|
|
293
|
+
return {
|
|
294
|
+
// Visual
|
|
295
|
+
targetElement: r.target,
|
|
296
|
+
image: r.image,
|
|
297
|
+
title: r.title,
|
|
298
|
+
step: p,
|
|
299
|
+
totalSteps: o.value,
|
|
300
|
+
action: r.action,
|
|
301
|
+
scrollOptions: e.scrollOptions,
|
|
302
|
+
// Config
|
|
303
|
+
active: p === s.value,
|
|
304
|
+
single: l.value,
|
|
305
|
+
position: r.position
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
return g(s, (r) => {
|
|
309
|
+
t("update:index", r);
|
|
310
|
+
}), g(
|
|
311
|
+
() => e.index,
|
|
312
|
+
(r) => {
|
|
313
|
+
r >= -1 && r <= o.value && (s.value = r);
|
|
314
|
+
}
|
|
315
|
+
), { __sfc: !0, props: e, emit: t, currentStep: s, totalSteps: o, isSingleTutorial: l, getPopoverProps: i, TutorialPopover: ot };
|
|
316
|
+
}
|
|
317
|
+
});
|
|
318
|
+
var at = function() {
|
|
319
|
+
var t = this, e = t._self._c, s = t._self._setupProxy;
|
|
320
|
+
return e("div", { staticClass: "b-tutorial" }, t._l(t.steps, function(o, l) {
|
|
321
|
+
return e(s.TutorialPopover, t._b({ key: o.title, on: { finish: function(i) {
|
|
322
|
+
s.currentStep = -1;
|
|
323
|
+
}, next: function(i) {
|
|
324
|
+
s.currentStep += 1;
|
|
325
|
+
}, restart: function(i) {
|
|
326
|
+
s.currentStep = 0;
|
|
327
|
+
} } }, "tutorial-popover", s.getPopoverProps(o, l), !1), [t._v(" " + t._s(o.description) + " ")]);
|
|
328
|
+
}), 1);
|
|
329
|
+
}, it = [], lt = /* @__PURE__ */ f(
|
|
330
|
+
nt,
|
|
331
|
+
at,
|
|
332
|
+
it,
|
|
333
|
+
!1,
|
|
334
|
+
null,
|
|
335
|
+
null,
|
|
336
|
+
null,
|
|
337
|
+
null
|
|
338
|
+
);
|
|
339
|
+
const yt = lt.exports;
|
|
2
340
|
export {
|
|
3
|
-
|
|
341
|
+
yt as BentoTutorial
|
|
4
342
|
};
|
|
5
343
|
//# sourceMappingURL=tutorial.js.map
|
package/dist/tutorial.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tutorial.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"tutorial.js","sources":["../src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue","../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/blocked.vue","../src/components/tutorial/components/tutorial-popover/tutorial-popover.vue","../src/components/tutorial/tutorial.vue"],"sourcesContent":["<template>\n <popper-container\n :target-element=\"targetElement\"\n :middleware=\"middleware\"\n position=\"top-start\"\n fixed-positioning\n disabled-focus-trap\n class=\"b-tutorial-indicator\"\n data-testid=\"tutorial-indicator\"\n >\n <div class=\"b-tutorial-indicator__highlight\" :style=\"computedStyles\"></div>\n </popper-container>\n</template>\n\n<script setup lang=\"ts\">\n import { ref } from 'vue';\n import { hide, type Middleware, offset } from '@floating-ui/vue';\n import { PopperContainer } from '@/components/popper-container';\n\n const BORDER_OFFSET = 2;\n\n defineProps({\n /**\n * Tutorial indicator's target element.\n * The indicator will position itself around the target element.\n */\n targetElement: {\n type: PopperContainer.props?.targetElement.type,\n required: true,\n },\n });\n\n const computedStyles = ref({\n width: '0',\n height: '0',\n borderRadius: '0',\n });\n\n function getBorderRadius(element: HTMLElement) {\n try {\n const radius = parseFloat(getComputedStyle(element).getPropertyValue('border-radius'));\n return Number.isNaN(radius) ? '' : `${radius + 2 * BORDER_OFFSET}px`;\n } catch {\n return '';\n }\n }\n\n const middleware = [\n hide(),\n offset({\n mainAxis: BORDER_OFFSET,\n alignmentAxis: -BORDER_OFFSET,\n }),\n {\n name: 'updateIndicatorSize',\n fn: ({ x, y, elements }) => {\n const target = elements.reference as HTMLElement;\n computedStyles.value.width = `${target.offsetWidth + 4 * BORDER_OFFSET}px`;\n computedStyles.value.height = `${target.offsetHeight + 4 * BORDER_OFFSET}px`;\n computedStyles.value.borderRadius = getBorderRadius(target);\n return { x, y };\n },\n } as Middleware,\n ];\n</script>\n\n<style lang=\"scss\" scoped src=\"./tutorial-indicator.scss\" />\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><g :clip-path=\"'url(#uia-icons-16-blocked__a' + uuid + ')'\"><path fill=\"#00112C\" d=\"M9.51195 0.398918C8.00859 0.0998821 6.45033 0.253358 5.0342 0.839937C3.61808 1.42652 2.40769 2.41985 1.55611 3.69433C0.704529 4.96881 0.25 6.4672 0.25 8C0.25 10.0554 1.06652 12.0267 2.51992 13.4801C3.97333 14.9335 5.94457 15.75 8 15.75C9.53281 15.75 11.0312 15.2955 12.3057 14.4439C13.5801 13.5923 14.5735 12.3819 15.1601 10.9658C15.7466 9.54967 15.9001 7.99141 15.6011 6.48805C15.3021 4.9847 14.5639 3.60378 13.4801 2.51993C12.3962 1.43607 11.0153 0.697953 9.51195 0.398918ZM5.60823 2.22576C6.75027 1.75271 8.00693 1.62894 9.21931 1.8701C10.4317 2.11125 11.5453 2.70651 12.4194 3.58059C13.2935 4.45466 13.8887 5.56831 14.1299 6.78069C14.3711 7.99307 14.2473 9.24974 13.7742 10.3918C13.5555 10.9198 13.2667 11.4124 12.9177 11.8573L4.14271 3.0823C4.58761 2.73333 5.08018 2.44448 5.60823 2.22576ZM3.08208 4.14298L11.857 12.9179C11.7327 13.0154 11.6044 13.1085 11.4723 13.1967C10.4445 13.8834 9.23613 14.25 8 14.25C6.3424 14.25 4.75268 13.5915 3.58058 12.4194C2.40848 11.2473 1.75 9.65761 1.75 8C1.75 6.76387 2.11656 5.5555 2.80331 4.52769C2.89155 4.39564 2.98456 4.26733 3.08208 4.14298Z\"/></g><defs><clipPath :id=\"'uia-icons-16-blocked__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\n","<template>\n <div v-if=\"active && targetElement\">\n <tutorial-indicator v-if=\"isIndicatorVisible && targetElement\" :target-element=\"targetElement\" />\n\n <bento-popover\n :target-element=\"targetElement\"\n :position=\"position\"\n :open=\"isPopoverOpen\"\n :aria-label=\"title\"\n fixed-positioning\n class=\"b-tutorial-popover\"\n @keydown.esc.native=\"emit('finish')\"\n >\n <template v-if=\"image\" #image>\n <bento-image v-bind=\"image\" aspect-ratio=\"landscape\" class=\"b-tutorial-popover__image\" />\n </template>\n\n <div aria-hidden=\"true\" class=\"b-tutorial-popover__ripple\"></div>\n\n <div class=\"b-tutorial-popover__header\">\n <bento-typography variant=\"title\" el=\"span\"> {{ title }} </bento-typography>\n\n <bento-typography v-if=\"showSteps\" el=\"span\" class=\"b-tutorial-popover__steps\">\n {{ t('stepsOfTotal', { step, totalSteps }) }}\n </bento-typography>\n </div>\n\n <bento-typography>\n <slot />\n </bento-typography>\n\n <div class=\"b-tutorial-popover__footer\">\n <bento-menu\n v-if=\"!isFirstStep\"\n :data=\"menuData\"\n class=\"b-tutorial-popover__menu\"\n data-testid=\"menu-button\"\n />\n <div class=\"b-tutorial-popover__actions\">\n <bento-button-actions :actions=\"computedActions\" layout=\"buttons-end\" />\n </div>\n </div>\n </bento-popover>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, isRef, nextTick, PropType, ref, type default as Vue, watch } from 'vue';\n import { BentoMenu } from '@/components/menu';\n import { BentoPopover, BentoPopoverPositions } from '@/components/popover';\n import { BentoTypography } from '@/components/typography';\n import { type BentoButtonActionObject, BentoButtonActions } from '@/components/button';\n import { BentoImage } from '@/components/image';\n import { TutorialIndicator } from './components/tutorial-indicator';\n import { useI18n } from '@/utils/ts/i18n';\n import type { BentoMenuItem } from '@/components/menu/components';\n import type { VueNodeElement } from '@/types';\n import type { BentoTutorialScrollOptions, BentoTutorialStep } from '../../tutorial.types';\n import RefreshIcon from '@adyen/ui-assets-icons-16/vue/refresh';\n import BlockedIcon from '@adyen/ui-assets-icons-16/vue/blocked';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const DEFAULT_SCROLL_OPTIONS: BentoTutorialScrollOptions = { behavior: 'smooth' };\n\n const props = defineProps({\n /**\n * Optional configuration for the secondary action.\n * In tour tutorials, this is ignored for the introductory step.\n */\n action: {\n type: Object as PropType<BentoButtonActionObject>,\n default: null,\n },\n\n /**\n * Indicates whether this popover is the active step (and should be visible).\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Optional illustration to display at the top of the popover.\n */\n image: {\n type: Object as PropType<BentoTutorialStep['image']>,\n default: null,\n },\n\n /**\n * Popover's position relative to the target element.\n * Possible values are:\n * 'auto', 'auto-start', 'auto-end',\n * 'top', 'top-start', 'top-end'\n * 'right', 'right-start', 'right-end'\n * 'bottom', 'bottom-start', 'bottom-end'\n * 'left', 'left-start', 'left-end'\n */\n position: {\n type: String as PropType<`${BentoPopoverPositions}`>,\n default: BentoPopoverPositions.BOTTOM_START,\n validator: (value: BentoPopoverPositions) => Object.values(BentoPopoverPositions).includes(value),\n },\n\n /**\n * Options to control the scroll into view behavior.\n * Takes the same options as the `scrollIntoView` function\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}\n */\n scrollOptions: {\n type: [Boolean, Object] as PropType<BentoTutorialScrollOptions>,\n default: null,\n },\n\n /**\n * Indicates whether this popover is a single tutorial or a tour.\n */\n single: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The tutorial step number.\n * In tour tutorials, `0` is the introductory step, and is displayed next\n * to the title.\n */\n step: {\n type: Number,\n default: null,\n },\n\n /**\n * Tutorial popover's target element.\n * The popover will position itself relatively to target element.\n */\n targetElement: {\n type: [Element, Object] as PropType<VueNodeElement>,\n required: true,\n },\n\n /**\n * The tutorial step title.\n */\n title: {\n type: String,\n required: true,\n },\n\n /**\n * Total count of steps.\n * In tour tutorials, this does not include the introductory step, and is\n * displayed next to the title.\n */\n totalSteps: {\n type: Number,\n default: null,\n },\n });\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const emit = defineEmits<{\n /**\n * Emitted when the user clicks the primary action in popovers during introductory or intermediate steps of tour tutorials\n */\n (e: 'next'): void;\n\n /**\n * Emitted when the user clicks the primary action in a single tutorial, the last step of a tour, or skips the tutorial\n */\n (e: 'finish'): void;\n\n /**\n * Emitted when the user selects the restart tour option\n */\n (e: 'restart'): void;\n }>();\n\n const ACTION_SKIP = computed<BentoButtonActionObject>(() => ({\n title: t('skipTour') as string,\n event: () => emit('finish'),\n }));\n\n const ACTION_START = computed<BentoButtonActionObject>(() => ({\n title: t('startTour') as string,\n event: () => emit('next'),\n }));\n\n const ACTION_NEXT = computed<BentoButtonActionObject>(() => ({\n title: t('next') as string,\n event: () => emit('next'),\n }));\n\n const ACTION_FINISH = computed<BentoButtonActionObject>(() => ({\n title: t('finish') as string,\n event: () => emit('finish'),\n }));\n\n const ACTION_OK = computed<BentoButtonActionObject>(() => ({\n title: t('ok') as string,\n event: () => emit('finish'),\n }));\n\n const isPopoverOpen = ref(false);\n const isIndicatorVisible = ref(false);\n\n const targetElement = computed(() => {\n if (isRef(props.targetElement)) {\n return ((props.targetElement.value as Vue)?.$el || props.targetElement.value) as HTMLElement;\n }\n return ((props.targetElement as Vue).$el || props.targetElement) as HTMLElement;\n });\n\n const isFirstStep = computed(() => props.step === 0);\n const isLastStep = computed(() => props.step === props.totalSteps);\n\n const showSteps = computed(() => !isFirstStep.value);\n\n const menuData = computed<BentoMenuItem[]>(() => [\n {\n text: t('restartTour'),\n handler: () => emit('restart'),\n icon: RefreshIcon,\n },\n ...(isLastStep.value\n ? []\n : [\n {\n text: 'Skip tour',\n handler: () => emit('finish'),\n icon: BlockedIcon,\n },\n ]),\n ]);\n\n const computedActions = computed(() => {\n let primaryAction: BentoButtonActionObject;\n if (isFirstStep.value) {\n primaryAction = props.single ? ACTION_OK.value : ACTION_START.value;\n } else if (isLastStep.value) {\n primaryAction = ACTION_FINISH.value;\n } else {\n primaryAction = ACTION_NEXT.value;\n }\n\n const actions = [primaryAction];\n if (isFirstStep.value && !props.single) {\n actions.push(ACTION_SKIP.value);\n } else if (props.action) {\n actions.push(props.action);\n }\n\n return actions;\n });\n\n watch(\n () => props.active,\n async isActive => {\n if (isActive && targetElement.value?.scrollIntoView) {\n targetElement.value?.scrollIntoView(\n props.scrollOptions != null ? props.scrollOptions : DEFAULT_SCROLL_OPTIONS\n );\n\n // Skip to next tick to preserve popover appear animation\n await nextTick();\n }\n\n isPopoverOpen.value = isActive;\n isIndicatorVisible.value = isActive;\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./tutorial-popover.scss\" />\n","<template>\n <div class=\"b-tutorial\">\n <tutorial-popover\n v-for=\"(step, i) in steps\"\n v-bind=\"getPopoverProps(step, i)\"\n :key=\"step.title\"\n @finish=\"currentStep = -1\"\n @next=\"currentStep += 1\"\n @restart=\"currentStep = 0\"\n >\n {{ step.description }}\n </tutorial-popover>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, ref, watch } from 'vue';\n import { TutorialPopover } from './components/tutorial-popover';\n import type { BentoTutorialScrollOptions, BentoTutorialStep } from './tutorial.types';\n\n const props = defineProps({\n /**\n * The current step index. If provided, will start the tutorial in that step.\n */\n index: {\n type: Number,\n default: null,\n },\n\n /**\n * The steps configuration for the tutorial.\n *\n */\n steps: {\n type: Array as PropType<BentoTutorialStep[]>,\n required: true,\n validator: (value: BentoTutorialStep[]) => value.length > 0,\n },\n\n /**\n * Options to control the scroll into view behavior.\n * Takes the same options as the `scrollIntoView` function\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}\n */\n scrollOptions: {\n type: [Boolean, Object] as PropType<BentoTutorialScrollOptions>,\n default: null,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Fired every time the step index is changed. `-1` value means the tutorial is finished/skipped.\n */\n (e: 'update:index', value: number);\n }>();\n\n const currentStep = ref(props.index || 0);\n\n const totalSteps = computed(() => props.steps.length - 1);\n const isSingleTutorial = computed(() => totalSteps.value === 0);\n\n function getPopoverProps(step: BentoTutorialStep, index: number) {\n return {\n // Visual\n targetElement: step.target,\n image: step.image,\n title: step.title,\n step: index,\n totalSteps: totalSteps.value,\n action: step.action,\n scrollOptions: props.scrollOptions,\n\n // Config\n active: index === currentStep.value,\n single: isSingleTutorial.value,\n position: step.position,\n };\n }\n\n watch(currentStep, step => {\n emit('update:index', step);\n });\n\n watch(\n () => props.index,\n value => {\n if (value >= -1 && value <= totalSteps.value) {\n currentStep.value = value;\n }\n }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * The Tutorial is a temporary popover that should be used to educate users about\n * new or unfamiliar features or experiences.\n *\n * You can use single tutorial or chain them into a tour.\n *\n * Only use this component for new features/experiences that are not obvious and\n * self-explanatory on their own.\n *\n * @example\n * import { BentoTutorial } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoTutorial },\n * template: `\n * <bento-tutorial\n * :steps=\"[\n * {\n * target: targetElement1,\n * title: 'Tutorial intro title',\n * description: 'Intro body content',\n * image: { src: imageSource, alt: 'Alt text' }\n * },\n * {\n * target: targetElement1,\n * title: 'Tutorial intro title',\n * description: 'Intro body content',\n * action: { title: 'Action label', event: () => {} }\n * },\n * ]\"\n * />\n * `\n * }\n */\n export default {};\n</script>\n"],"names":["computedStyles","ref","getBorderRadius","element","radius","middleware","hide","offset","x","y","elements","target","uuid","_sfc_main$2","__default__$1","messages","DEFAULT_SCROLL_OPTIONS","t","useI18n","ACTION_SKIP","computed","emit","ACTION_START","ACTION_NEXT","ACTION_FINISH","ACTION_OK","isPopoverOpen","isIndicatorVisible","targetElement","isRef","props","_a","isFirstStep","isLastStep","showSteps","menuData","RefreshIcon","BlockedIcon","computedActions","primaryAction","actions","watch","isActive","_b","nextTick","__default__","currentStep","totalSteps","isSingleTutorial","getPopoverProps","step","index","value"],"mappings":"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","x_google_ignoreList":[1]}
|
package/dist/typography.js
CHANGED
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "@adyen/bento-vue2",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.29.0",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
}
|
|
413
413
|
],
|
|
414
414
|
"source": {
|
|
415
|
-
"module": "./src/components/
|
|
415
|
+
"module": "./src/components/avatar/avatar.vue",
|
|
416
416
|
"symbol": "default"
|
|
417
417
|
}
|
|
418
418
|
},
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
}
|
|
463
463
|
],
|
|
464
464
|
"source": {
|
|
465
|
-
"module": "./src/components/avatar-image/avatar-image.vue",
|
|
465
|
+
"module": "./src/components/avatar/components/avatar-image/avatar-image.vue",
|
|
466
466
|
"symbol": "default"
|
|
467
467
|
}
|
|
468
468
|
},
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
},
|
|
743
743
|
{
|
|
744
744
|
"name": "buttonLabel",
|
|
745
|
-
"description": "Overrides the label of the popover
|
|
745
|
+
"description": "Overrides the label of the popover visibility toggle button text.",
|
|
746
746
|
"value": {
|
|
747
747
|
"kind": "expression",
|
|
748
748
|
"type": "string"
|
|
@@ -751,7 +751,7 @@
|
|
|
751
751
|
},
|
|
752
752
|
{
|
|
753
753
|
"name": "buttonSecondaryLabel",
|
|
754
|
-
"description": "Sets the secondary label text of the popover
|
|
754
|
+
"description": "Sets the secondary label text of the popover visibility toggle button text.",
|
|
755
755
|
"value": {
|
|
756
756
|
"kind": "expression",
|
|
757
757
|
"type": "string"
|
|
@@ -6192,6 +6192,15 @@
|
|
|
6192
6192
|
"type": "boolean"
|
|
6193
6193
|
},
|
|
6194
6194
|
"default": "false"
|
|
6195
|
+
},
|
|
6196
|
+
{
|
|
6197
|
+
"name": "size",
|
|
6198
|
+
"description": "Dropdown size",
|
|
6199
|
+
"value": {
|
|
6200
|
+
"kind": "expression",
|
|
6201
|
+
"type": "BentoDropdownSize | `${BentoDropdownSize}`"
|
|
6202
|
+
},
|
|
6203
|
+
"default": "null"
|
|
6195
6204
|
}
|
|
6196
6205
|
],
|
|
6197
6206
|
"events": [
|
|
@@ -6887,12 +6896,24 @@
|
|
|
6887
6896
|
],
|
|
6888
6897
|
"events": [
|
|
6889
6898
|
{
|
|
6890
|
-
"name": "
|
|
6891
|
-
"description": "Emitted on
|
|
6899
|
+
"name": "clear",
|
|
6900
|
+
"description": "Emitted on clearing the input."
|
|
6892
6901
|
},
|
|
6893
6902
|
{
|
|
6894
6903
|
"name": "close",
|
|
6895
6904
|
"description": "Emitted on click, space and enter user events. It will open the dropdown."
|
|
6905
|
+
},
|
|
6906
|
+
{
|
|
6907
|
+
"name": "input",
|
|
6908
|
+
"description": "Emitted on input event."
|
|
6909
|
+
},
|
|
6910
|
+
{
|
|
6911
|
+
"name": "keydown",
|
|
6912
|
+
"description": "Emitted on keydown event."
|
|
6913
|
+
},
|
|
6914
|
+
{
|
|
6915
|
+
"name": "open",
|
|
6916
|
+
"description": "Emitted on click, space, enter and esc user events. It will close the dropdown."
|
|
6896
6917
|
}
|
|
6897
6918
|
],
|
|
6898
6919
|
"source": {
|
|
@@ -7586,7 +7607,7 @@
|
|
|
7586
7607
|
},
|
|
7587
7608
|
{
|
|
7588
7609
|
"name": "dropdown",
|
|
7589
|
-
"description": "Dropdown props for the small selectable dropdown menu.\nProperties supported:\n\n - `value`: Selected value of the dropdown\n - `items`: List of available items",
|
|
7610
|
+
"description": "Dropdown props for the small selectable dropdown menu.\nProperties supported:\n\n - `value`: Selected value of the dropdown\n - `items`: List of available items\n - `aria-label`: Text that labels the dropdown element",
|
|
7590
7611
|
"value": {
|
|
7591
7612
|
"kind": "expression",
|
|
7592
7613
|
"type": "BentoInputDropdownProps"
|
|
@@ -7773,6 +7794,99 @@
|
|
|
7773
7794
|
"symbol": "default"
|
|
7774
7795
|
}
|
|
7775
7796
|
},
|
|
7797
|
+
{
|
|
7798
|
+
"name": "inspector",
|
|
7799
|
+
"description": "",
|
|
7800
|
+
"attributes": [
|
|
7801
|
+
{
|
|
7802
|
+
"name": "expandable",
|
|
7803
|
+
"required": false,
|
|
7804
|
+
"description": "Shows the Expand icon in the inspector",
|
|
7805
|
+
"value": {
|
|
7806
|
+
"kind": "expression",
|
|
7807
|
+
"type": "boolean"
|
|
7808
|
+
},
|
|
7809
|
+
"default": "false"
|
|
7810
|
+
},
|
|
7811
|
+
{
|
|
7812
|
+
"name": "isOpen",
|
|
7813
|
+
"required": false,
|
|
7814
|
+
"description": "Opens and closes the inspector",
|
|
7815
|
+
"value": {
|
|
7816
|
+
"kind": "expression",
|
|
7817
|
+
"type": "boolean"
|
|
7818
|
+
},
|
|
7819
|
+
"default": "false"
|
|
7820
|
+
},
|
|
7821
|
+
{
|
|
7822
|
+
"name": "loading",
|
|
7823
|
+
"required": false,
|
|
7824
|
+
"description": "Shows loading indicator for the content",
|
|
7825
|
+
"value": {
|
|
7826
|
+
"kind": "expression",
|
|
7827
|
+
"type": "boolean"
|
|
7828
|
+
},
|
|
7829
|
+
"default": "false"
|
|
7830
|
+
},
|
|
7831
|
+
{
|
|
7832
|
+
"name": "size",
|
|
7833
|
+
"required": false,
|
|
7834
|
+
"description": "Determines the size of the inspector",
|
|
7835
|
+
"value": {
|
|
7836
|
+
"kind": "expression",
|
|
7837
|
+
"type": "BentoInspectorSize"
|
|
7838
|
+
},
|
|
7839
|
+
"default": "'small'"
|
|
7840
|
+
},
|
|
7841
|
+
{
|
|
7842
|
+
"name": "title",
|
|
7843
|
+
"required": true,
|
|
7844
|
+
"description": "The title of the component",
|
|
7845
|
+
"value": {
|
|
7846
|
+
"kind": "expression",
|
|
7847
|
+
"type": "string"
|
|
7848
|
+
}
|
|
7849
|
+
}
|
|
7850
|
+
],
|
|
7851
|
+
"events": [
|
|
7852
|
+
{
|
|
7853
|
+
"name": "update:is-open",
|
|
7854
|
+
"description": "Emits update to keep isOpen prop in sync"
|
|
7855
|
+
},
|
|
7856
|
+
{
|
|
7857
|
+
"name": "expand",
|
|
7858
|
+
"description": "Emits event when user click expand button"
|
|
7859
|
+
}
|
|
7860
|
+
],
|
|
7861
|
+
"slots": [
|
|
7862
|
+
{
|
|
7863
|
+
"name": "page"
|
|
7864
|
+
},
|
|
7865
|
+
{
|
|
7866
|
+
"name": "content"
|
|
7867
|
+
}
|
|
7868
|
+
],
|
|
7869
|
+
"source": {
|
|
7870
|
+
"module": "./src/components/inspector/inspector.vue",
|
|
7871
|
+
"symbol": "default"
|
|
7872
|
+
}
|
|
7873
|
+
},
|
|
7874
|
+
{
|
|
7875
|
+
"name": "inspector-mock",
|
|
7876
|
+
"description": "",
|
|
7877
|
+
"source": {
|
|
7878
|
+
"module": "./src/components/inspector/__tests__/inspector-mock.vue",
|
|
7879
|
+
"symbol": "default"
|
|
7880
|
+
}
|
|
7881
|
+
},
|
|
7882
|
+
{
|
|
7883
|
+
"name": "interactive-content-slot-stub",
|
|
7884
|
+
"description": "",
|
|
7885
|
+
"source": {
|
|
7886
|
+
"module": "./src/components/radio-group/__tests__/interactive-content-slot-stub.vue",
|
|
7887
|
+
"symbol": "default"
|
|
7888
|
+
}
|
|
7889
|
+
},
|
|
7776
7890
|
{
|
|
7777
7891
|
"name": "link",
|
|
7778
7892
|
"description": "",
|
|
@@ -8165,6 +8279,9 @@
|
|
|
8165
8279
|
"slots": [
|
|
8166
8280
|
{
|
|
8167
8281
|
"name": "default"
|
|
8282
|
+
},
|
|
8283
|
+
{
|
|
8284
|
+
"name": "iconLeft"
|
|
8168
8285
|
}
|
|
8169
8286
|
],
|
|
8170
8287
|
"source": {
|
|
@@ -9918,6 +10035,14 @@
|
|
|
9918
10035
|
{
|
|
9919
10036
|
"name": "escape-pressed",
|
|
9920
10037
|
"description": "Emitted when the \"ESC\" key is pressed inside the Search Bar input"
|
|
10038
|
+
},
|
|
10039
|
+
{
|
|
10040
|
+
"name": "blur",
|
|
10041
|
+
"description": "Emitted when the element has lost focus"
|
|
10042
|
+
},
|
|
10043
|
+
{
|
|
10044
|
+
"name": "focus",
|
|
10045
|
+
"description": "Emitted when the element has received focus"
|
|
9921
10046
|
}
|
|
9922
10047
|
],
|
|
9923
10048
|
"source": {
|
|
@@ -9925,6 +10050,14 @@
|
|
|
9925
10050
|
"symbol": "default"
|
|
9926
10051
|
}
|
|
9927
10052
|
},
|
|
10053
|
+
{
|
|
10054
|
+
"name": "search-bar-stub",
|
|
10055
|
+
"description": "",
|
|
10056
|
+
"source": {
|
|
10057
|
+
"module": "./src/components/search-bar/__tests__/search-bar-stub.vue",
|
|
10058
|
+
"symbol": "default"
|
|
10059
|
+
}
|
|
10060
|
+
},
|
|
9928
10061
|
{
|
|
9929
10062
|
"name": "secondary-nav",
|
|
9930
10063
|
"description": "",
|
|
@@ -9941,7 +10074,7 @@
|
|
|
9941
10074
|
{
|
|
9942
10075
|
"name": "value",
|
|
9943
10076
|
"required": false,
|
|
9944
|
-
"description": "The value of the selected item.",
|
|
10077
|
+
"description": "The value of the selected item.\nIf nothing is passed, it defaults to the first item value in items.",
|
|
9945
10078
|
"value": {
|
|
9946
10079
|
"kind": "expression",
|
|
9947
10080
|
"type": "string"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/bento-vue2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.0",
|
|
4
4
|
"description": "Adyen Bento Vue2 components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"url": "git@github.com:Adyen/bento.git"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@adyen/bento-design-tokens": "1.
|
|
65
|
+
"@adyen/bento-design-tokens": "1.29.0",
|
|
66
66
|
"@adyen/ui-assets-icons-16": "4.1.0",
|
|
67
67
|
"@adyen/ui-assets-payment-method-icons": "6.1.0",
|
|
68
68
|
"@codemirror/commands": "6.3.3",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"react": "16.14.0"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
-
"@adyen/bento-cli": "0.1.
|
|
97
|
+
"@adyen/bento-cli": "0.1.2",
|
|
98
98
|
"@adyen/lume": "1.11.1",
|
|
99
99
|
"@storybook/addon-a11y": "7.6.17",
|
|
100
100
|
"@storybook/addon-essentials": "7.6.17",
|