@coras-io/embed 0.5.1 → 0.6.1
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/CHANGELOG.md +34 -0
- package/README.md +15 -2
- package/dist/components/accordion/accordion-item/accordion-item.component.js +9 -3
- package/dist/components/accordion/accordion-item/accordion-item.styles.js +4 -0
- package/dist/components/accordion/accordion.component.js +8 -0
- package/dist/components/alert/alert.component.d.ts +1 -1
- package/dist/components/alert/alert.component.js +4 -3
- package/dist/components/attraction-card/base/attraction-card.mixin.d.ts +0 -2
- package/dist/components/attraction-card/base/attraction-card.mixin.js +0 -6
- package/dist/components/attraction-card/base/attraction-card.types.d.ts +0 -1
- package/dist/components/basket-mobile/basket-mobile.component.d.ts +14 -3
- package/dist/components/basket-mobile/basket-mobile.component.js +71 -15
- package/dist/components/better-carousel/better-carousel.component.d.ts +3 -5
- package/dist/components/better-carousel/better-carousel.component.js +13 -34
- package/dist/components/breadcrumbs/breadcrumb-item/breadcrumb-item.component.js +5 -12
- package/dist/components/breadcrumbs/breadcrumb-item/breadcrumb-item.styles.js +13 -5
- package/dist/components/breadcrumbs/breadcrumbs.component.d.ts +0 -1
- package/dist/components/breadcrumbs/breadcrumbs.component.js +5 -8
- package/dist/components/breadcrumbs/breadcrumbs.styles.js +8 -2
- package/dist/components/button/button.constants.d.ts +1 -2
- package/dist/components/button/button.constants.js +0 -1
- package/dist/components/calendar/base/calendar.mixin.js +5 -1
- package/dist/components/calendar/multi/multi.component.d.ts +2 -2
- package/dist/components/calendar/multi/multi.component.js +12 -19
- package/dist/components/carousel/carousel.component.js +9 -2
- package/dist/components/categories-tree/categories-tree.component.d.ts +5 -3
- package/dist/components/categories-tree/categories-tree.component.js +22 -21
- package/dist/components/checkbox/checkbox.component.js +5 -1
- package/dist/components/checkbox-group/checkbox-group.component.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.styles.js +1 -1
- package/dist/components/chip/chip.component.js +8 -3
- package/dist/components/crypto-auth-modal/crypto-auth-modal.component.d.ts +6 -0
- package/dist/components/crypto-auth-modal/crypto-auth-modal.component.js +15 -1
- package/dist/components/currencies-list/currencies-list.component.js +0 -1
- package/dist/components/dialog/dialog.component.js +52 -21
- package/dist/components/drawer/drawer.component.d.ts +3 -2
- package/dist/components/drawer/drawer.component.js +13 -18
- package/dist/components/drawer/drawer.styles.js +5 -2
- package/dist/components/dropdown/dropdown.component.js +6 -9
- package/dist/components/expiration-timer/expiration-timer.component.d.ts +2 -3
- package/dist/components/expiration-timer/expiration-timer.component.js +10 -8
- package/dist/components/explore-card/explore-card.component.js +3 -1
- package/dist/components/explore-card/explore-card.styles.js +31 -0
- package/dist/components/filters-drawer/filters-drawer.component.js +1 -1
- package/dist/components/flag-icon/flag-icon.component.d.ts +4 -2
- package/dist/components/flag-icon/flag-icon.component.js +16 -4
- package/dist/components/icon/icon.component.js +15 -2
- package/dist/components/image/image.component.js +4 -3
- package/dist/components/image-viewer/image-viewer.component.js +6 -4
- package/dist/components/input-field/input-field.component.js +10 -6
- package/dist/components/layout/layout.styles.js +1 -1
- package/dist/components/locales-list/locales-list.component.js +0 -1
- package/dist/components/location-image/location-image.component.d.ts +4 -4
- package/dist/components/location-image/location-image.component.js +6 -7
- package/dist/components/locations-results/locations-results.component.d.ts +10 -0
- package/dist/components/locations-results/locations-results.component.js +22 -15
- package/dist/components/locations-results/locations-results.styles.js +4 -1
- package/dist/components/message-card/message-card.component.d.ts +1 -1
- package/dist/components/message-card/message-card.component.js +4 -3
- package/dist/components/mobile-menu-item/mobile-menu-item.component.d.ts +0 -1
- package/dist/components/mobile-menu-item/mobile-menu-item.component.js +14 -16
- package/dist/components/mobile-menu-item/mobile-menu-item.styles.js +9 -5
- package/dist/components/option-group/option-chip/option-chip.component.d.ts +4 -1
- package/dist/components/option-group/option-chip/option-chip.component.js +23 -10
- package/dist/components/option-group/option-group.component.d.ts +3 -1
- package/dist/components/option-group/option-group.component.js +10 -3
- package/dist/components/overlay/overlay.component.d.ts +0 -5
- package/dist/components/overlay/overlay.component.js +3 -15
- package/dist/components/phone-country-code/phone-country-code.component.d.ts +4 -0
- package/dist/components/phone-country-code/phone-country-code.component.js +37 -0
- package/dist/components/phone-country-codes/phone-country-codes.component.js +1 -1
- package/dist/components/phone-field/phone-field.component.js +2 -2
- package/dist/components/search-button/search-button.component.d.ts +1 -1
- package/dist/components/search-button/search-button.component.js +13 -7
- package/dist/components/seated-selector/seated-selector.component.js +3 -3
- package/dist/components/seats-io/seats-io.component.d.ts +3 -2
- package/dist/components/seats-io/seats-io.component.js +31 -13
- package/dist/components/seats-io/seats-io.constants.d.ts +0 -2
- package/dist/components/seats-io/seats-io.constants.js +0 -3
- package/dist/components/seats-io/seats-io.transform.d.ts +1 -6
- package/dist/components/seats-io/seats-io.transform.js +1 -20
- package/dist/components/select-list/select-list.component.js +7 -2
- package/dist/components/select-list/select-option/select-option.component.d.ts +3 -1
- package/dist/components/select-list/select-option/select-option.component.js +10 -3
- package/dist/components/tabs/tabs.component.d.ts +2 -0
- package/dist/components/tabs/tabs.component.js +59 -5
- package/dist/components/time-tag/time-tag.component.js +1 -1
- package/dist/containers/basket/basket.component.d.ts +1 -1
- package/dist/containers/basket/basket.component.js +21 -20
- package/dist/containers/navbar/navbar.component.d.ts +12 -8
- package/dist/containers/navbar/navbar.component.js +108 -62
- package/dist/containers/navbar/navbar.styles.js +23 -5
- package/dist/containers/navbar/navbar.utils.js +4 -4
- package/dist/contexts/basket/basket.provider.d.ts +3 -4
- package/dist/contexts/basket/basket.provider.js +46 -61
- package/dist/contexts/basket/basket.types.d.ts +0 -2
- package/dist/controllers/time-expiration.d.ts +15 -2
- package/dist/controllers/time-expiration.js +47 -17
- package/dist/core/api/client.d.ts +9 -0
- package/dist/core/api/client.js +26 -0
- package/dist/core/api/middlewares/booking-session/booking-session.constants.d.ts +0 -2
- package/dist/core/api/middlewares/booking-session/booking-session.constants.js +0 -2
- package/dist/core/api/middlewares/booking-session/booking-session.js +3 -12
- package/dist/core/api/middlewares/booking-session/booking-session.utils.d.ts +0 -1
- package/dist/core/api/middlewares/booking-session/booking-session.utils.js +6 -28
- package/dist/core/api/middlewares/error-handler/error-handler.js +5 -1
- package/dist/core/api/middlewares/retry/retry.constants.d.ts +3 -0
- package/dist/core/api/middlewares/retry/retry.constants.js +7 -0
- package/dist/core/api/middlewares/retry/retry.d.ts +2 -0
- package/dist/core/api/middlewares/retry/retry.js +48 -0
- package/dist/core/api/queries.d.ts +13 -38
- package/dist/core/api/queries.js +16 -99
- package/dist/core/events.d.ts +2 -4
- package/dist/core/i18n/date.d.ts +14 -5
- package/dist/core/i18n/date.js +47 -20
- package/dist/core/i18n/localization.js +10 -3
- package/dist/core/images/helpers.js +6 -5
- package/dist/core/images/srcset.js +2 -2
- package/dist/core/logger.d.ts +17 -0
- package/dist/core/logger.js +13 -0
- package/dist/core/types/api-schema.d.ts +7872 -0
- package/dist/core/types/seats-config.d.ts +5 -4
- package/dist/core/types/seats-config.js +10 -3
- package/dist/core/utils/crypto-address.d.ts +12 -0
- package/dist/core/utils/crypto-address.js +17 -0
- package/dist/core/utils/datetime.d.ts +13 -11
- package/dist/core/utils/datetime.js +41 -51
- package/dist/core/utils/loyalty.d.ts +8 -0
- package/dist/core/utils/loyalty.js +10 -0
- package/dist/core/utils/redaction.d.ts +9 -0
- package/dist/core/utils/redaction.js +58 -0
- package/dist/core/utils/time.js +2 -3
- package/dist/helpers/helpers.d.ts +6 -0
- package/dist/helpers/helpers.js +33 -16
- package/dist/locales/ar-SA.d.ts +38 -21
- package/dist/locales/ar-SA.js +38 -21
- package/dist/locales/da-DK.d.ts +38 -21
- package/dist/locales/da-DK.js +38 -21
- package/dist/locales/de-DE.d.ts +38 -21
- package/dist/locales/de-DE.js +38 -21
- package/dist/locales/en-IE.d.ts +38 -21
- package/dist/locales/en-IE.js +38 -21
- package/dist/locales/en-US.d.ts +38 -21
- package/dist/locales/en-US.js +38 -21
- package/dist/locales/es-ES.d.ts +38 -21
- package/dist/locales/es-ES.js +38 -21
- package/dist/locales/fr-FR.d.ts +38 -21
- package/dist/locales/fr-FR.js +38 -21
- package/dist/locales/fr-MA.d.ts +38 -21
- package/dist/locales/fr-MA.js +38 -21
- package/dist/locales/is-IS.d.ts +38 -21
- package/dist/locales/is-IS.js +38 -21
- package/dist/locales/it-IT.d.ts +38 -21
- package/dist/locales/it-IT.js +38 -21
- package/dist/locales/ms-MY.d.ts +38 -21
- package/dist/locales/ms-MY.js +38 -21
- package/dist/locales/nb-NO.d.ts +38 -21
- package/dist/locales/nb-NO.js +38 -21
- package/dist/locales/pl-PL.d.ts +38 -21
- package/dist/locales/pl-PL.js +38 -21
- package/dist/locales/pt-PT.d.ts +38 -21
- package/dist/locales/pt-PT.js +38 -21
- package/dist/locales/sv-SE.d.ts +38 -21
- package/dist/locales/sv-SE.js +38 -21
- package/dist/locales/th-TH.d.ts +38 -21
- package/dist/locales/th-TH.js +38 -21
- package/dist/locales/tr-TR.d.ts +38 -21
- package/dist/locales/tr-TR.js +38 -21
- package/dist/locales/zh-CN.d.ts +38 -21
- package/dist/locales/zh-CN.js +38 -21
- package/dist/locales/zh-HK.d.ts +38 -21
- package/dist/locales/zh-HK.js +38 -21
- package/dist/mixins/base.mixin.d.ts +3 -1
- package/dist/mixins/base.mixin.js +10 -7
- package/dist/mixins/coinbase.mixin.d.ts +13 -17
- package/dist/mixins/coinbase.mixin.js +251 -288
- package/dist/mixins/error-modal.mixin.js +8 -4
- package/dist/mixins/location-search/location-search.d.ts +13 -1
- package/dist/mixins/location-search/location-search.js +35 -27
- package/dist/mixins/overlay/overlay-mixin.js +39 -3
- package/dist/mixins/overlay/types.d.ts +1 -0
- package/dist/mixins/search-mixin/search-mixin.js +8 -5
- package/dist/sdk/diagnostics.js +2 -0
- package/dist/sdk/mount.d.ts +10 -0
- package/dist/sdk/mount.js +20 -1
- package/dist/sdk/page-registry.js +5 -0
- package/dist/sdk/params.d.ts +53 -0
- package/dist/sdk/params.js +180 -0
- package/dist/sdk/redaction.d.ts +1 -4
- package/dist/sdk/redaction.js +2 -41
- package/dist/sdk/types.d.ts +21 -7
- package/dist/sdk/url.d.ts +1 -1
- package/dist/sdk/url.js +12 -5
- package/dist/sdk/validation.d.ts +1 -26
- package/dist/sdk/validation.js +8 -145
- package/dist/styles/tokens.d.ts +1 -1
- package/dist/styles/tokens.generated.d.ts +1 -1
- package/dist/styles/tokens.generated.js +1 -1
- package/dist/views/chrome-only-page/chrome-only-page.component.d.ts +30 -0
- package/dist/views/chrome-only-page/chrome-only-page.component.js +24 -0
- package/dist/views/chrome-only-page/chrome-only-page.d.ts +8 -0
- package/dist/views/chrome-only-page/chrome-only-page.js +6 -0
- package/dist/views/chrome-only-page/chrome-only-page.styles.js +13 -0
- package/dist/views/details-page/details-page.component.d.ts +11 -4
- package/dist/views/details-page/details-page.component.js +263 -237
- package/dist/views/details-page/details-page.utilts.d.ts +63 -3
- package/dist/views/details-page/details-page.utilts.js +53 -5
- package/dist/views/details-page/partials/location-categories/location-categories.component.d.ts +29 -0
- package/dist/views/details-page/partials/location-categories/location-categories.component.js +149 -0
- package/dist/views/details-page/partials/location-categories/location-categories.d.ts +8 -0
- package/dist/views/details-page/partials/location-categories/location-categories.js +6 -0
- package/dist/views/details-page/partials/location-categories/location-categories.styles.js +35 -0
- package/dist/views/details-page/partials/location-highlights/location-highlights.component.d.ts +26 -0
- package/dist/views/details-page/partials/location-highlights/location-highlights.component.js +158 -0
- package/dist/views/details-page/partials/location-highlights/location-highlights.d.ts +8 -0
- package/dist/views/details-page/partials/location-highlights/location-highlights.js +6 -0
- package/dist/views/details-page/partials/location-highlights/location-highlights.styles.js +42 -0
- package/dist/views/details-page/partials/tour-description/tour-description.component.js +1 -4
- package/dist/views/help-page/help-page.component.d.ts +2 -0
- package/dist/views/help-page/help-page.component.js +37 -18
- package/dist/views/help-page/help-page.utils.js +6 -5
- package/dist/views/landing-page/landing-page.component.d.ts +5 -8
- package/dist/views/landing-page/landing-page.component.js +82 -97
- package/dist/views/payment-page/controllers/crypto-auth.controller.d.ts +10 -4
- package/dist/views/payment-page/controllers/crypto-auth.controller.js +53 -31
- package/dist/views/payment-page/controllers/crypto-transfer.controller.d.ts +9 -5
- package/dist/views/payment-page/controllers/crypto-transfer.controller.js +26 -39
- package/dist/views/payment-page/controllers/payment-flow.controller.d.ts +6 -1
- package/dist/views/payment-page/controllers/payment-flow.controller.js +1 -0
- package/dist/views/payment-page/controllers/stripe-payment.controller.d.ts +20 -2
- package/dist/views/payment-page/controllers/stripe-payment.controller.js +42 -19
- package/dist/views/payment-page/partials/activity-details/activity-details.component.d.ts +2 -0
- package/dist/views/payment-page/partials/activity-details/activity-details.component.js +6 -3
- package/dist/views/payment-page/partials/billing-address/billing-address.component.d.ts +2 -0
- package/dist/views/payment-page/partials/billing-address/billing-address.component.js +5 -1
- package/dist/views/payment-page/partials/confirmation/confirmation.component.js +2 -3
- package/dist/views/payment-page/partials/country-field/country-field.component.js +1 -1
- package/dist/views/payment-page/partials/payment-type-selector/payment-type-selector.component.js +3 -3
- package/dist/views/payment-page/partials/stripe/stripe.component.d.ts +2 -0
- package/dist/views/payment-page/partials/stripe/stripe.component.js +36 -7
- package/dist/views/payment-page/partials/stripe/stripe.utils.js +0 -3
- package/dist/views/payment-page/payment-page.component.d.ts +39 -6
- package/dist/views/payment-page/payment-page.component.js +302 -178
- package/dist/views/payment-page/payment-page.constants.d.ts +1 -27
- package/dist/views/payment-page/payment-page.constants.js +3 -30
- package/dist/views/payment-page/payment-page.types.d.ts +1 -19
- package/dist/views/payment-page/payment-page.utils.d.ts +22 -13
- package/dist/views/payment-page/payment-page.utils.js +57 -75
- package/dist/views/payment-page/services/payment-api.service.d.ts +16 -34
- package/dist/views/payment-page/services/payment-api.service.js +19 -27
- package/dist/views/search-page/search-page.component.d.ts +2 -0
- package/dist/views/search-page/search-page.component.js +39 -20
- package/dist/views/suggestion-widget/suggestion-widget.component.d.ts +1 -0
- package/dist/views/suggestion-widget/suggestion-widget.component.js +6 -5
- package/package.json +24 -20
- package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.component.d.ts +0 -10
- package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.component.js +0 -43
- package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.d.ts +0 -8
- package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.js +0 -6
- package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.styles.js +0 -23
- package/dist/components/attraction-discovery/attraction-discovery.component.d.ts +0 -10
- package/dist/components/attraction-discovery/attraction-discovery.component.js +0 -52
- package/dist/components/attraction-discovery/attraction-discovery.constants.d.ts +0 -4
- package/dist/components/attraction-discovery/attraction-discovery.constants.js +0 -5
- package/dist/components/attraction-discovery/attraction-discovery.d.ts +0 -8
- package/dist/components/attraction-discovery/attraction-discovery.js +0 -6
- package/dist/components/attraction-discovery/attraction-discovery.styles.js +0 -193
- package/dist/components/basket-rewards/basket-rewards.component.d.ts +0 -10
- package/dist/components/basket-rewards/basket-rewards.component.js +0 -52
- package/dist/components/basket-rewards/basket-rewards.d.ts +0 -8
- package/dist/components/basket-rewards/basket-rewards.js +0 -6
- package/dist/components/basket-rewards/basket-rewards.styles.js +0 -18
- package/dist/components/filter-chip/filter-chip.component.d.ts +0 -12
- package/dist/components/filter-chip/filter-chip.component.js +0 -68
- package/dist/components/filter-chip/filter-chip.constants.d.ts +0 -2
- package/dist/components/filter-chip/filter-chip.constants.js +0 -2
- package/dist/components/filter-chip/filter-chip.d.ts +0 -8
- package/dist/components/filter-chip/filter-chip.js +0 -6
- package/dist/components/filter-chip/filter-chip.styles.d.ts +0 -2
- package/dist/components/filter-chip/filter-chip.styles.js +0 -162
- package/dist/components/image-carousel/image-carousel-item/image-carousel-item.component.d.ts +0 -10
- package/dist/components/image-carousel/image-carousel-item/image-carousel-item.component.js +0 -43
- package/dist/components/image-carousel/image-carousel-item/image-carousel-item.d.ts +0 -8
- package/dist/components/image-carousel/image-carousel-item/image-carousel-item.js +0 -6
- package/dist/components/image-carousel/image-carousel-item/image-carousel-item.styles.d.ts +0 -2
- package/dist/components/image-carousel/image-carousel-item/image-carousel-item.styles.js +0 -28
- package/dist/components/image-carousel/image-carousel.component.d.ts +0 -8
- package/dist/components/image-carousel/image-carousel.component.js +0 -36
- package/dist/components/image-carousel/image-carousel.d.ts +0 -8
- package/dist/components/image-carousel/image-carousel.js +0 -6
- package/dist/components/image-carousel/image-carousel.styles.d.ts +0 -2
- package/dist/components/image-carousel/image-carousel.styles.js +0 -72
- package/dist/components/itinerary/itinerary-item/itinerary-item.component.d.ts +0 -9
- package/dist/components/itinerary/itinerary-item/itinerary-item.component.js +0 -45
- package/dist/components/itinerary/itinerary-item/itinerary-item.d.ts +0 -8
- package/dist/components/itinerary/itinerary-item/itinerary-item.js +0 -6
- package/dist/components/itinerary/itinerary-item/itinerary-item.styles.d.ts +0 -2
- package/dist/components/itinerary/itinerary-item/itinerary-item.styles.js +0 -70
- package/dist/components/itinerary/itinerary.component.d.ts +0 -7
- package/dist/components/itinerary/itinerary.component.js +0 -23
- package/dist/components/itinerary/itinerary.d.ts +0 -8
- package/dist/components/itinerary/itinerary.js +0 -6
- package/dist/components/itinerary/itinerary.styles.d.ts +0 -2
- package/dist/components/itinerary/itinerary.styles.js +0 -15
- package/dist/components/marketing-tag/marketing-tag.component.d.ts +0 -5
- package/dist/components/marketing-tag/marketing-tag.component.js +0 -8
- package/dist/components/marketing-tag/marketing-tag.d.ts +0 -8
- package/dist/components/marketing-tag/marketing-tag.js +0 -6
- package/dist/components/marketing-tag/marketing-tag.styles.d.ts +0 -2
- package/dist/components/marketing-tag/marketing-tag.styles.js +0 -36
- package/dist/components/price/price.component.d.ts +0 -12
- package/dist/components/price/price.component.js +0 -38
- package/dist/components/price/price.d.ts +0 -8
- package/dist/components/price/price.js +0 -6
- package/dist/components/reviews/review/review.component.d.ts +0 -9
- package/dist/components/reviews/review/review.component.js +0 -41
- package/dist/components/reviews/review/review.d.ts +0 -8
- package/dist/components/reviews/review/review.js +0 -6
- package/dist/components/reviews/review/review.styles.d.ts +0 -2
- package/dist/components/reviews/review/review.styles.js +0 -45
- package/dist/components/reviews/reviews.component.d.ts +0 -9
- package/dist/components/reviews/reviews.component.js +0 -56
- package/dist/components/reviews/reviews.d.ts +0 -8
- package/dist/components/reviews/reviews.js +0 -6
- package/dist/components/reviews/reviews.styles.d.ts +0 -2
- package/dist/components/reviews/reviews.styles.js +0 -73
- package/dist/components/selected-tickets-preview/selected-tickets-preview.component.d.ts +0 -10
- package/dist/components/selected-tickets-preview/selected-tickets-preview.component.js +0 -51
- package/dist/components/selected-tickets-preview/selected-tickets-preview.d.ts +0 -8
- package/dist/components/selected-tickets-preview/selected-tickets-preview.js +0 -6
- package/dist/components/selected-tickets-preview/selected-tickets-preview.styles.d.ts +0 -2
- package/dist/components/selected-tickets-preview/selected-tickets-preview.styles.js +0 -89
- package/dist/components/tag/tag.component.d.ts +0 -8
- package/dist/components/tag/tag.component.js +0 -33
- package/dist/components/tag/tag.constants.d.ts +0 -1
- package/dist/components/tag/tag.constants.js +0 -1
- package/dist/components/tag/tag.d.ts +0 -8
- package/dist/components/tag/tag.js +0 -6
- package/dist/components/tag/tag.styles.d.ts +0 -2
- package/dist/components/tag/tag.styles.js +0 -56
- package/dist/components/tooltip/tooltip.component.d.ts +0 -19
- package/dist/components/tooltip/tooltip.component.js +0 -124
- package/dist/components/tooltip/tooltip.d.ts +0 -8
- package/dist/components/tooltip/tooltip.js +0 -6
- package/dist/components/tooltip/tooltip.styles.d.ts +0 -2
- package/dist/components/tooltip/tooltip.styles.js +0 -79
- package/dist/core/signals.d.ts +0 -2
- package/dist/core/signals.js +0 -3
- package/dist/core/storybook/argTypes.d.ts +0 -1
- package/dist/core/storybook/argTypes.js +0 -46
- package/dist/core/storybook/cssprops.d.ts +0 -30
- package/dist/core/storybook/cssprops.js +0 -46
- package/dist/core/storybook/demo.d.ts +0 -4
- package/dist/core/storybook/demo.js +0 -17
- package/dist/core/types/api-errors.d.ts +0 -8
- package/dist/core/types/api-errors.js +0 -1
- package/dist/styles/contrast-fixtures.d.ts +0 -5
- package/dist/styles/contrast-fixtures.js +0 -131
- package/dist/views/payment-page/domain/payment-mappers.d.ts +0 -7
- package/dist/views/payment-page/domain/payment-mappers.js +0 -7
- package/dist/views/payment-page/domain/payment-validators.d.ts +0 -6
- package/dist/views/payment-page/domain/payment-validators.js +0 -6
- package/dist/views/payment-page/domain/recovery-payload.d.ts +0 -8
- package/dist/views/payment-page/domain/recovery-payload.js +0 -7
- package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.component.d.ts +0 -22
- package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.component.js +0 -65
- package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.d.ts +0 -8
- package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.js +0 -6
- package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.styles.d.ts +0 -2
- package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.styles.js +0 -12
- package/dist/views/payment-page/payment-page.validation-schema.d.ts +0 -28
- package/dist/views/payment-page/payment-page.validation-schema.js +0 -42
- /package/dist/{components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.styles.d.ts → views/chrome-only-page/chrome-only-page.styles.d.ts} +0 -0
- /package/dist/{components/attraction-discovery/attraction-discovery.styles.d.ts → views/details-page/partials/location-categories/location-categories.styles.d.ts} +0 -0
- /package/dist/{components/basket-rewards/basket-rewards.styles.d.ts → views/details-page/partials/location-highlights/location-highlights.styles.d.ts} +0 -0
|
@@ -33,6 +33,8 @@ export declare class CorasActivityDetails extends LitElement {
|
|
|
33
33
|
/** Per-attendee phone code selections, keyed by ticket field prefix */
|
|
34
34
|
private attendeePhoneCodes;
|
|
35
35
|
private getFieldValue;
|
|
36
|
+
/** The first field currently rendered in an error state, in DOM order. */
|
|
37
|
+
firstInvalidElement(): HTMLElement | null;
|
|
36
38
|
private handleValueChanged;
|
|
37
39
|
private getReservationTitle;
|
|
38
40
|
private renderField;
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { LitElement, html, nothing } from "lit";
|
|
8
8
|
import { property } from "lit/decorators.js";
|
|
9
9
|
import { localized, msg } from "@lit/localize";
|
|
10
|
-
import { getFieldValue, getFieldConfig, capitalizeFirstLetter, } from "../../payment-page.utils.js";
|
|
10
|
+
import { getFieldValue, getFieldConfig, capitalizeFirstLetter, INVALID_FIELD_SELECTOR, } from "../../payment-page.utils.js";
|
|
11
11
|
import { fireInternalEvent } from "../../../../core/events.js";
|
|
12
12
|
import styles from "./activity-details.styles.js";
|
|
13
13
|
import "../../../../components/input-field/input-field.js";
|
|
@@ -45,6 +45,10 @@ let CorasActivityDetails = class CorasActivityDetails extends LitElement {
|
|
|
45
45
|
getFieldValue(fieldName) {
|
|
46
46
|
return getFieldValue(fieldName, this.formValues);
|
|
47
47
|
}
|
|
48
|
+
/** The first field currently rendered in an error state, in DOM order. */
|
|
49
|
+
firstInvalidElement() {
|
|
50
|
+
return this.renderRoot.querySelector(INVALID_FIELD_SELECTOR);
|
|
51
|
+
}
|
|
48
52
|
handleValueChanged(fieldName, value) {
|
|
49
53
|
fireInternalEvent(this, "value-changed", { fieldName, value });
|
|
50
54
|
}
|
|
@@ -96,9 +100,8 @@ let CorasActivityDetails = class CorasActivityDetails extends LitElement {
|
|
|
96
100
|
const selection = event.detail;
|
|
97
101
|
this.attendeePhoneCodes.set(ticketFieldPrefix, selection);
|
|
98
102
|
this.requestUpdate();
|
|
99
|
-
//
|
|
103
|
+
// The ISO country code is what the attendee phone is normalised with.
|
|
100
104
|
this.handleValueChanged(`${ticketFieldPrefix}country_code`, selection.code);
|
|
101
|
-
this.handleValueChanged(`${ticketFieldPrefix}phone_code`, selection.phoneCode);
|
|
102
105
|
}
|
|
103
106
|
renderPhoneField(fieldName, ticketFieldPrefix) {
|
|
104
107
|
const value = this.getFieldValue(fieldName);
|
|
@@ -27,6 +27,8 @@ export declare class CorasBillingAddress extends LitElement {
|
|
|
27
27
|
/** Whether to show the email field */
|
|
28
28
|
showEmail: boolean;
|
|
29
29
|
private getFieldValue;
|
|
30
|
+
/** The first field currently rendered in an error state, in DOM order. */
|
|
31
|
+
firstInvalidElement(): HTMLElement | null;
|
|
30
32
|
private handleValueChanged;
|
|
31
33
|
private renderField;
|
|
32
34
|
private renderAddressFields;
|
|
@@ -8,7 +8,7 @@ import { LitElement, html, nothing } from "lit";
|
|
|
8
8
|
import { property } from "lit/decorators.js";
|
|
9
9
|
import { localized, msg } from "@lit/localize";
|
|
10
10
|
import { fireInternalEvent } from "../../../../core/events.js";
|
|
11
|
-
import { getFieldValue, getFieldConfig } from "../../payment-page.utils.js";
|
|
11
|
+
import { getFieldValue, getFieldConfig, INVALID_FIELD_SELECTOR, } from "../../payment-page.utils.js";
|
|
12
12
|
import styles from "./billing-address.styles.js";
|
|
13
13
|
import "../../../../components/input-field/input-field.js";
|
|
14
14
|
import "../../../../components/joined-fields/joined-fields.js";
|
|
@@ -41,6 +41,10 @@ let CorasBillingAddress = class CorasBillingAddress extends LitElement {
|
|
|
41
41
|
getFieldValue(fieldName) {
|
|
42
42
|
return getFieldValue(fieldName, this.formValues);
|
|
43
43
|
}
|
|
44
|
+
/** The first field currently rendered in an error state, in DOM order. */
|
|
45
|
+
firstInvalidElement() {
|
|
46
|
+
return this.renderRoot.querySelector(INVALID_FIELD_SELECTOR);
|
|
47
|
+
}
|
|
44
48
|
handleValueChanged(fieldName, value) {
|
|
45
49
|
fireInternalEvent(this, "value-changed", { fieldName, value });
|
|
46
50
|
}
|
|
@@ -11,6 +11,7 @@ import styles from "./confirmation.styles.js";
|
|
|
11
11
|
import "../../../../components/icon/icon.js";
|
|
12
12
|
import { DEFAULT_LOCALE } from "../../../constants.js";
|
|
13
13
|
import { convertToLocaleCurrency } from "../../../../core/currency/index.js";
|
|
14
|
+
import { getLoyaltyAmount } from "../../../../core/utils/loyalty.js";
|
|
14
15
|
import { formatDateTimeForDisplay, formatTimeForDisplay, } from "../../../../core/utils/datetime.js";
|
|
15
16
|
import { consume } from "@lit/context";
|
|
16
17
|
import { pageDispatchContext, } from "../../../../contexts/events.context.js";
|
|
@@ -142,9 +143,7 @@ let CorasConfirmation = class CorasConfirmation extends LitElement {
|
|
|
142
143
|
<div class="info-label">${msg("Amount Paid")}</div>
|
|
143
144
|
<div class="info-value">
|
|
144
145
|
${(() => {
|
|
145
|
-
const payAmount = reservation.loyalty
|
|
146
|
-
? Number(Object.values(reservation.loyalty.pay)[0] ?? 0)
|
|
147
|
-
: null;
|
|
146
|
+
const payAmount = getLoyaltyAmount(reservation.loyalty, "pay");
|
|
148
147
|
return this.loyalty && payAmount
|
|
149
148
|
? `${new Intl.NumberFormat(this.locale || navigator.language).format(payAmount)} FIDA`
|
|
150
149
|
: convertToLocaleCurrency({
|
|
@@ -122,7 +122,7 @@ let CorasCountryField = class CorasCountryField extends LitElement {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
_scrollFocusedIntoView() {
|
|
125
|
-
this.updateComplete.then(() => {
|
|
125
|
+
void this.updateComplete.then(() => {
|
|
126
126
|
const container = this.shadowRoot?.querySelector("coras-select-list");
|
|
127
127
|
const options = container?.querySelectorAll("coras-select-option");
|
|
128
128
|
const option = options?.[this._focusedIndex];
|
package/dist/views/payment-page/partials/payment-type-selector/payment-type-selector.component.js
CHANGED
|
@@ -77,7 +77,7 @@ let CorasPaymentTypeSelector = class CorasPaymentTypeSelector extends LitElement
|
|
|
77
77
|
${this.loggedIn && this.balance
|
|
78
78
|
? html `<coras-message-card
|
|
79
79
|
variant="info"
|
|
80
|
-
|
|
80
|
+
heading="${msg("Your FIDA balance is")} ${this.balance}"
|
|
81
81
|
assets-url=${this.assetsURL}
|
|
82
82
|
></coras-message-card>`
|
|
83
83
|
: nothing}
|
|
@@ -108,7 +108,7 @@ let CorasPaymentTypeSelector = class CorasPaymentTypeSelector extends LitElement
|
|
|
108
108
|
this.selectedType === "crypto"
|
|
109
109
|
? html `<coras-message-card
|
|
110
110
|
variant="error"
|
|
111
|
-
|
|
111
|
+
heading="${msg("You do not have enough FIDA to Pay in FIDA this time")}"
|
|
112
112
|
assets-url=${this.assetsURL}
|
|
113
113
|
>
|
|
114
114
|
${msg(str `If you pay in ${this.currency}, you will earn FIDA`)}
|
|
@@ -158,7 +158,7 @@ let CorasPaymentTypeSelector = class CorasPaymentTypeSelector extends LitElement
|
|
|
158
158
|
render() {
|
|
159
159
|
return html `
|
|
160
160
|
<div class="payment-type-selector">
|
|
161
|
-
<h2 class="header"
|
|
161
|
+
<h2 class="header">${msg("Payment")}</h2>
|
|
162
162
|
${this.loyaltyPoints ? this.renderPaymentTypeOptions() : nothing}
|
|
163
163
|
${this.selectedType === "stripe"
|
|
164
164
|
? this.renderPaymentMethodOptions()
|
|
@@ -23,6 +23,8 @@ export declare class CorasStripe extends LitElement {
|
|
|
23
23
|
private stripe;
|
|
24
24
|
private elements;
|
|
25
25
|
private paymentRequest;
|
|
26
|
+
private paymentRequestKey;
|
|
27
|
+
private paymentRequestGeneration;
|
|
26
28
|
private canMakePayment;
|
|
27
29
|
private isInitialized;
|
|
28
30
|
private isLoading;
|
|
@@ -36,6 +36,12 @@ let CorasStripe = class CorasStripe extends LitElement {
|
|
|
36
36
|
this.stripe = null;
|
|
37
37
|
this.elements = null;
|
|
38
38
|
this.paymentRequest = null;
|
|
39
|
+
// Country and currency the current PaymentRequest was built for.
|
|
40
|
+
this.paymentRequestKey = "";
|
|
41
|
+
// Bumped on every PaymentRequest rebuild. Stripe has no way to unsubscribe
|
|
42
|
+
// the old instance, so its late canMakePayment result and paymentmethod
|
|
43
|
+
// events are dropped when their generation is stale.
|
|
44
|
+
this.paymentRequestGeneration = 0;
|
|
39
45
|
this.canMakePayment = {
|
|
40
46
|
applePay: false,
|
|
41
47
|
googlePay: false,
|
|
@@ -186,6 +192,11 @@ let CorasStripe = class CorasStripe extends LitElement {
|
|
|
186
192
|
options.locale = normalizeLocale(this.locale);
|
|
187
193
|
}
|
|
188
194
|
this.stripe = await loadStripe(this.stripeKey, options);
|
|
195
|
+
// The element may have been removed while the script loaded; mounting
|
|
196
|
+
// Elements into detached portals would leak them.
|
|
197
|
+
if (!this.isConnected) {
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
189
200
|
if (this.stripe) {
|
|
190
201
|
// Theme the hosted card iframe to match the embed's surface, brand, and
|
|
191
202
|
// colour scheme (light/dark) - the per-element style only sets text.
|
|
@@ -212,23 +223,38 @@ let CorasStripe = class CorasStripe extends LitElement {
|
|
|
212
223
|
if (!this.stripe || !this.currency || !this.country) {
|
|
213
224
|
return;
|
|
214
225
|
}
|
|
226
|
+
const country = normalizeCountry(this.country);
|
|
227
|
+
const currency = normalizeCurrency(this.currency);
|
|
228
|
+
const key = `${country}:${currency}`;
|
|
229
|
+
if (this.paymentRequest && key === this.paymentRequestKey) {
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
this.paymentRequestKey = key;
|
|
233
|
+
const generation = ++this.paymentRequestGeneration;
|
|
215
234
|
try {
|
|
216
|
-
|
|
217
|
-
country
|
|
218
|
-
currency
|
|
235
|
+
const paymentRequest = this.stripe.paymentRequest({
|
|
236
|
+
country,
|
|
237
|
+
currency,
|
|
219
238
|
total: {
|
|
220
|
-
label: "Total",
|
|
239
|
+
label: msg("Total"),
|
|
221
240
|
amount: 100,
|
|
222
241
|
},
|
|
223
242
|
requestPayerName: true,
|
|
224
243
|
requestPayerEmail: true,
|
|
225
244
|
});
|
|
226
|
-
this.paymentRequest
|
|
245
|
+
this.paymentRequest = paymentRequest;
|
|
246
|
+
paymentRequest.on("paymentmethod", (event) => {
|
|
247
|
+
if (generation !== this.paymentRequestGeneration) {
|
|
248
|
+
event.complete("fail");
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
227
251
|
this.dispatchPaymentMethodAuthorized(event.paymentMethod, event);
|
|
228
252
|
});
|
|
229
|
-
|
|
253
|
+
paymentRequest
|
|
230
254
|
.canMakePayment()
|
|
231
255
|
.then((result) => {
|
|
256
|
+
if (generation !== this.paymentRequestGeneration)
|
|
257
|
+
return;
|
|
232
258
|
const methods = {
|
|
233
259
|
applePay: !!result?.applePay,
|
|
234
260
|
googlePay: !!result?.googlePay,
|
|
@@ -237,11 +263,14 @@ let CorasStripe = class CorasStripe extends LitElement {
|
|
|
237
263
|
this.dispatchCanMakePaymentChange(methods);
|
|
238
264
|
})
|
|
239
265
|
.catch(() => {
|
|
266
|
+
if (generation !== this.paymentRequestGeneration)
|
|
267
|
+
return;
|
|
240
268
|
this.resetWalletPaymentMethods();
|
|
241
269
|
});
|
|
242
270
|
}
|
|
243
271
|
catch {
|
|
244
272
|
this.paymentRequest = null;
|
|
273
|
+
this.paymentRequestKey = "";
|
|
245
274
|
this.resetWalletPaymentMethods();
|
|
246
275
|
}
|
|
247
276
|
}
|
|
@@ -259,7 +288,7 @@ let CorasStripe = class CorasStripe extends LitElement {
|
|
|
259
288
|
const colors = extractThemeColors(this);
|
|
260
289
|
const baseStyle = createStripeElementStyle(colors);
|
|
261
290
|
// Re-theme on re-init so a colour-scheme change is reflected in the iframe.
|
|
262
|
-
this.elements.update({ appearance: buildStripeAppearance(this) });
|
|
291
|
+
void this.elements.update({ appearance: buildStripeAppearance(this) });
|
|
263
292
|
this.cardNumberElement = this.elements.create("cardNumber", {
|
|
264
293
|
style: baseStyle,
|
|
265
294
|
placeholder: PLACEHOLDERS.CARD_NUMBER,
|
|
@@ -18,9 +18,6 @@ export function validateStripeKey(key) {
|
|
|
18
18
|
// SECURITY: Reject secret keys - they must never be used on the client
|
|
19
19
|
const isSecretKey = SECRET_KEY_PREFIXES.some((prefix) => key.startsWith(prefix));
|
|
20
20
|
if (isSecretKey) {
|
|
21
|
-
// Log warning without exposing the key
|
|
22
|
-
console.error("SECURITY WARNING: Attempted to use a secret key on the client. " +
|
|
23
|
-
"Only publishable keys (pk_test_ or pk_live_) should be used in the browser.");
|
|
24
21
|
return {
|
|
25
22
|
isValid: false,
|
|
26
23
|
error: "Invalid key type. Only publishable keys should be used on the client.",
|
|
@@ -27,6 +27,7 @@ import "./partials/payment-type-selector/payment-type-selector.js";
|
|
|
27
27
|
import "./partials/activity-details/activity-details.js";
|
|
28
28
|
import "./partials/billing-address/billing-address.js";
|
|
29
29
|
import type { PageName } from "../../core/types/shared.js";
|
|
30
|
+
import type { Logger } from "../../core/logger.js";
|
|
30
31
|
declare const CorasPaymentPage_base: import("../../contexts/utils.js").Constructor<import("../../mixins/coinbase.mixin.js").CoinbaseMixinInterface> & import("../../contexts/utils.js").Constructor<import("../../mixins/error-modal.mixin.js").ErrorModalMixinInterface> & import("../../contexts/utils.js").Constructor<{
|
|
31
32
|
apiHost: string;
|
|
32
33
|
distributorID: string;
|
|
@@ -36,6 +37,7 @@ declare const CorasPaymentPage_base: import("../../contexts/utils.js").Construct
|
|
|
36
37
|
locale: import("../../index.js").SupportedLocales;
|
|
37
38
|
locales: import("../../index.js").SupportedLocales[];
|
|
38
39
|
loyaltyPoints: boolean;
|
|
40
|
+
logger: Logger;
|
|
39
41
|
client: import("openapi-fetch").Client<import("../../core/types/api-schema.js").paths>;
|
|
40
42
|
getPageProperties(): PaymentPageParamsEvent;
|
|
41
43
|
dispatchPageUpdate(params: import("../../contexts/events.context.js").PageDispatchInput): void;
|
|
@@ -44,7 +46,9 @@ declare const CorasPaymentPage_base: import("../../contexts/utils.js").Construct
|
|
|
44
46
|
* Payment page component for processing checkout and payments.
|
|
45
47
|
*
|
|
46
48
|
* @fires coras:navigate - Dispatched when navigating to another page
|
|
47
|
-
* @fires coras:payment-status - Dispatched when a payment attempt
|
|
49
|
+
* @fires coras:payment-status - Dispatched when a payment attempt settles:
|
|
50
|
+
* `succeeded`, `failed`, or `pending` when the charge went through but the
|
|
51
|
+
* API had not confirmed the transaction within the polling budget
|
|
48
52
|
*/
|
|
49
53
|
export declare class CorasPaymentPage extends CorasPaymentPage_base {
|
|
50
54
|
static styles: CSSResultGroup;
|
|
@@ -55,6 +59,9 @@ export declare class CorasPaymentPage extends CorasPaymentPage_base {
|
|
|
55
59
|
cdpProjectId: string;
|
|
56
60
|
currentPage: PageName;
|
|
57
61
|
private stripeComponent;
|
|
62
|
+
private billingAddress?;
|
|
63
|
+
private activityDetails?;
|
|
64
|
+
private controllerLogger;
|
|
58
65
|
private stripeController;
|
|
59
66
|
private flowController;
|
|
60
67
|
private formController;
|
|
@@ -63,6 +70,9 @@ export declare class CorasPaymentPage extends CorasPaymentPage_base {
|
|
|
63
70
|
private cryptoTransferController;
|
|
64
71
|
/** AbortController for canceling long-running async ops on disconnect. */
|
|
65
72
|
private abortController;
|
|
73
|
+
/** True once initCoinbase has resolved (and restored any saved session). */
|
|
74
|
+
private cdpReady;
|
|
75
|
+
private pendingTransferRecoveryStarted;
|
|
66
76
|
private apiService;
|
|
67
77
|
private getApiService;
|
|
68
78
|
private showCryptoAuthModal;
|
|
@@ -76,12 +86,18 @@ export declare class CorasPaymentPage extends CorasPaymentPage_base {
|
|
|
76
86
|
private paymentMethod;
|
|
77
87
|
private paymentSuccessful;
|
|
78
88
|
private paymentFailed;
|
|
89
|
+
private paymentPending;
|
|
79
90
|
private loyaltyPageUrl;
|
|
80
91
|
private userEmail;
|
|
81
92
|
private layoutElement;
|
|
82
93
|
protected updated(changedProperties: PropertyValues<this>): void;
|
|
94
|
+
/**
|
|
95
|
+
* Confirms a transfer that left the wallet before the previous confirmation
|
|
96
|
+
* completed. Runs once, and only when CDP has restored the session and the
|
|
97
|
+
* basket is known, since both are needed for the confirmation request.
|
|
98
|
+
*/
|
|
99
|
+
private maybeRecoverPendingTransfer;
|
|
83
100
|
protected firstUpdated(): void;
|
|
84
|
-
connectedCallback(): void;
|
|
85
101
|
disconnectedCallback(): void;
|
|
86
102
|
private configTask;
|
|
87
103
|
private countriesTask;
|
|
@@ -98,7 +114,6 @@ export declare class CorasPaymentPage extends CorasPaymentPage_base {
|
|
|
98
114
|
private handlePhoneCodeSelection;
|
|
99
115
|
private handleTermsChange;
|
|
100
116
|
private handleFidaEmailAgreementChange;
|
|
101
|
-
private isValidEmail;
|
|
102
117
|
private handlePaymentTypeSelected;
|
|
103
118
|
private handlePaymentMethodSelected;
|
|
104
119
|
private handleCardValidationChange;
|
|
@@ -131,7 +146,6 @@ export declare class CorasPaymentPage extends CorasPaymentPage_base {
|
|
|
131
146
|
* This checks for ANY email source (including user input).
|
|
132
147
|
*/
|
|
133
148
|
private hasCryptoEmail;
|
|
134
|
-
private renderCryptoWalletInfo;
|
|
135
149
|
private renderPaymentDetailsStep;
|
|
136
150
|
private handleCryptoAuthCancelled;
|
|
137
151
|
private _resetMfaPhoneState;
|
|
@@ -173,14 +187,27 @@ export declare class CorasPaymentPage extends CorasPaymentPage_base {
|
|
|
173
187
|
* Prepares attendee data for the attendees field in the PUT request to /reservations
|
|
174
188
|
*/
|
|
175
189
|
private prepareAttendeesData;
|
|
190
|
+
/**
|
|
191
|
+
* PATCHes the chosen pickup point onto every reservation that requires one.
|
|
192
|
+
* Returns the form field names whose PATCH failed (empty when all saved).
|
|
193
|
+
*/
|
|
194
|
+
private savePickupPoints;
|
|
176
195
|
/**
|
|
177
196
|
* Confirms the reservation with the API
|
|
178
197
|
*/
|
|
179
198
|
private confirmReservation;
|
|
180
199
|
private checkTransactionStatus;
|
|
200
|
+
/**
|
|
201
|
+
* Moves the page to the outcome of a polled transaction status. Only a
|
|
202
|
+
* final non-PAID status is a failure; anything else after the polling
|
|
203
|
+
* budget is pending and keeps the reference for a later check.
|
|
204
|
+
*/
|
|
205
|
+
private settleTransaction;
|
|
206
|
+
private handleCheckAgain;
|
|
181
207
|
/**
|
|
182
208
|
* Sanitizes error objects to prevent leaking internal/SDK details to the user.
|
|
183
|
-
* Only
|
|
209
|
+
* Only a structured `{ errors }` body maps to fields; anything else (5xx,
|
|
210
|
+
* text body, network failure) returns null so the generic card error shows.
|
|
184
211
|
*/
|
|
185
212
|
private sanitizeError;
|
|
186
213
|
/**
|
|
@@ -208,7 +235,14 @@ export declare class CorasPaymentPage extends CorasPaymentPage_base {
|
|
|
208
235
|
private renderContent;
|
|
209
236
|
private getLoyaltyAccountUrl;
|
|
210
237
|
private renderSuccess;
|
|
238
|
+
private renderPending;
|
|
211
239
|
private renderFailure;
|
|
240
|
+
/**
|
|
241
|
+
* Re-runs whichever page task failed. The modal is also shown for crypto
|
|
242
|
+
* transfer failures, where no task is in error; re-checking the reservations
|
|
243
|
+
* then refreshes the requirements without losing the form.
|
|
244
|
+
*/
|
|
245
|
+
private retryFailedTask;
|
|
212
246
|
private renderReservationsTask;
|
|
213
247
|
private renderReservations;
|
|
214
248
|
private renderEmptyBasket;
|
|
@@ -225,7 +259,6 @@ export declare class CorasPaymentPage extends CorasPaymentPage_base {
|
|
|
225
259
|
private handleResendCode;
|
|
226
260
|
private handleLogin;
|
|
227
261
|
private startCryptoTransfer;
|
|
228
|
-
private recoverPendingTransfer;
|
|
229
262
|
private handleMfaCodeSubmitted;
|
|
230
263
|
private handleMfaResendRequested;
|
|
231
264
|
private handleTransferCancelled;
|