@mirai/core 0.4.708 → 0.4.709
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/build/Core.Notifications.js +9 -3
- package/build/Core.Notifications.js.map +1 -1
- package/build/Core.Notifications.module.css +4 -0
- package/build/components/Banner/Banner.js +5 -3
- package/build/components/Banner/Banner.js.map +1 -1
- package/build/components/Banner/__tests__/__snapshots__/Banner.skeleton.test.js.snap +58 -1
- package/build/components/Booking/Booking.js +5 -2
- package/build/components/Booking/Booking.js.map +1 -1
- package/build/components/Booking/Booking.l10n.js +3 -0
- package/build/components/Booking/Booking.l10n.js.map +1 -1
- package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +1840 -755
- package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +23 -1
- package/build/components/Booking/components/Hotelverse/Hotelverse.js +5 -0
- package/build/components/Booking/components/Hotelverse/Hotelverse.js.map +1 -1
- package/build/components/Booking/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +6 -0
- package/build/components/Booking/components/Summary/Summary.js +3 -1
- package/build/components/Booking/components/Summary/Summary.js.map +1 -1
- package/build/components/Booking/components/Summary/__tests__/__snapshots__/Summary.test.js.snap +383 -1
- package/build/components/Booking/partials/Booking.FormResend.js +26 -6
- package/build/components/Booking/partials/Booking.FormResend.js.map +1 -1
- package/build/components/Booking/partials/Booking.Information.js +4 -1
- package/build/components/Booking/partials/Booking.Information.js.map +1 -1
- package/build/components/Booking/partials/Booking.Modal.js +1 -0
- package/build/components/Booking/partials/Booking.Modal.js.map +1 -1
- package/build/components/Booking/partials/Booking.ModalAgency.js +4 -1
- package/build/components/Booking/partials/Booking.ModalAgency.js.map +1 -1
- package/build/components/Booking/partials/Booking.ModalBoard.js +4 -1
- package/build/components/Booking/partials/Booking.ModalBoard.js.map +1 -1
- package/build/components/Booking/partials/Booking.ModalCalendar.js +4 -1
- package/build/components/Booking/partials/Booking.ModalCalendar.js.map +1 -1
- package/build/components/Booking/partials/Booking.ModalCesSurvey.js +42 -2
- package/build/components/Booking/partials/Booking.ModalCesSurvey.js.map +1 -1
- package/build/components/Booking/partials/Booking.ModalOccupation.js +3 -1
- package/build/components/Booking/partials/Booking.ModalOccupation.js.map +1 -1
- package/build/components/Booking/partials/Booking.ModalRoomSelection.js +7 -4
- package/build/components/Booking/partials/Booking.ModalRoomSelection.js.map +1 -1
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormCancel.test.js.snap +693 -465
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEdit.test.js.snap +5 -1
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEditDate.test.js.snap +431 -1
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEditOccupation.test.js.snap +69 -1
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormResend.test.js.snap +77 -17
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Information.test.js.snap +29 -1
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +17 -1
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +68 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalAgency.test.js.snap +52 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalCalendar.test.js.snap +153 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalCesSurvey.test.js.snap +110 -13
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalOccupation.test.js.snap +179 -7
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Payment.test.js.snap +108 -0
- package/build/components/BookingQuery/BookingQuery.js +12 -7
- package/build/components/BookingQuery/BookingQuery.js.map +1 -1
- package/build/components/BookingQuery/BookingQuery.l10n.js +3 -0
- package/build/components/BookingQuery/BookingQuery.l10n.js.map +1 -1
- package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +22 -0
- package/build/components/ButtonFinder/ButtonFinder.js +3 -0
- package/build/components/ButtonFinder/ButtonFinder.js.map +1 -1
- package/build/components/ButtonFinder/__tests__/__snapshots__/ButtonFinder.test.js.snap +15 -0
- package/build/components/Chat/Chat.js +5 -1
- package/build/components/Chat/Chat.js.map +1 -1
- package/build/components/Chat/Chat.l10n.js +3 -0
- package/build/components/Chat/Chat.l10n.js.map +1 -1
- package/build/components/Chat/components/Input/Input.js +6 -4
- package/build/components/Chat/components/Input/Input.js.map +1 -1
- package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +149 -93
- package/build/components/Chat/components/Message/Message.js +6 -1
- package/build/components/Chat/components/Message/Message.js.map +1 -1
- package/build/components/Chat/components/Message/__tests__/__snapshots__/Message.test.jsx.snap +41 -1
- package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Environment.test.js.snap +7 -1
- package/build/components/Chat/components/Message/helpers/formatText.js +2 -1
- package/build/components/Chat/components/Message/helpers/formatText.js.map +1 -1
- package/build/components/Checkout/Checkout.js +7 -2
- package/build/components/Checkout/Checkout.js.map +1 -1
- package/build/components/Checkout/Checkout.l10n.js +3 -0
- package/build/components/Checkout/Checkout.l10n.js.map +1 -1
- package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +2712 -1208
- package/build/components/Checkout/components/InputRadio/InputRadio.js +4 -1
- package/build/components/Checkout/components/InputRadio/InputRadio.js.map +1 -1
- package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +418 -266
- package/build/components/Checkout/helpers/getFieldProps.js +16 -1
- package/build/components/Checkout/helpers/getFieldProps.js.map +1 -1
- package/build/components/Checkout/partials/Checkout.Confirmation.js +1 -0
- package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -1
- package/build/components/Checkout/partials/Checkout.Form.js +11 -0
- package/build/components/Checkout/partials/Checkout.Form.js.map +1 -1
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +120 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +2532 -264
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Unconfirmed.test.js.snap +57 -0
- package/build/components/CookieBanner/CookieBanner.js +7 -1
- package/build/components/CookieBanner/CookieBanner.js.map +1 -1
- package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +7780 -3564
- package/build/components/Environment/__tests__/__snapshots__/Environment.State.test.js.snap +25 -1
- package/build/components/Environment/__tests__/__snapshots__/Environment.test.js.snap +1328 -936
- package/build/components/Finder/Finder.compact.js +3 -0
- package/build/components/Finder/Finder.compact.js.map +1 -1
- package/build/components/Finder/Finder.js +10 -2
- package/build/components/Finder/Finder.js.map +1 -1
- package/build/components/Finder/Finder.module.css +5 -0
- package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +31587 -15017
- package/build/components/Finder/components/Calendar/Calendar.js +3 -3
- package/build/components/Finder/components/Calendar/Calendar.js.map +1 -1
- package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +16248 -7821
- package/build/components/Finder/components/Places/Places.js +1 -1
- package/build/components/Finder/components/Places/Places.js.map +1 -1
- package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +82 -1
- package/build/components/Header/Header.js +4 -0
- package/build/components/Header/Header.js.map +1 -1
- package/build/components/Header/Header.l10n.js +3 -0
- package/build/components/Header/Header.l10n.js.map +1 -1
- package/build/components/Header/__tests__/__snapshots__/Header.test.js.snap +1328 -930
- package/build/components/Header/components/BookingProcess/BookingProcess.js +20 -8
- package/build/components/Header/components/BookingProcess/BookingProcess.js.map +1 -1
- package/build/components/Header/components/BookingProcess/BookingProcess.module.css +12 -0
- package/build/components/Profile/components/Bookings/Bookings.Search.js +3 -0
- package/build/components/Profile/components/Bookings/Bookings.Search.js.map +1 -1
- package/build/components/Profile/components/Bookings/Bookings.js +1 -0
- package/build/components/Profile/components/Bookings/Bookings.js.map +1 -1
- package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +4 -1
- package/build/components/Profile/components/Settings/Settings.Account.js +3 -1
- package/build/components/Profile/components/Settings/Settings.Account.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.Password.js +3 -0
- package/build/components/Profile/components/Settings/Settings.Password.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.Signout.js +3 -0
- package/build/components/Profile/components/Settings/Settings.Signout.js.map +1 -1
- package/build/components/Rates/Rates.Unavailability.js +18 -10
- package/build/components/Rates/Rates.Unavailability.js.map +1 -1
- package/build/components/Rates/Rates.js +24 -2
- package/build/components/Rates/Rates.js.map +1 -1
- package/build/components/Rates/Rates.l10n.js +6 -0
- package/build/components/Rates/Rates.l10n.js.map +1 -1
- package/build/components/Rates/Rates.module.css +36 -2
- package/build/components/Rates/__tests__/__snapshots__/Rates.Content.test.js.snap +10 -1
- package/build/components/Rates/__tests__/__snapshots__/Rates.Footer.test.js.snap +13 -1
- package/build/components/Rates/__tests__/__snapshots__/Rates.Unavailability.test.js.snap +18 -1
- package/build/components/Rates/__tests__/__snapshots__/Rates.test.js.snap +11065 -5561
- package/build/components/Rates/components/CardHotel/CardHotel.js +15 -2
- package/build/components/Rates/components/CardHotel/CardHotel.js.map +1 -1
- package/build/components/Rates/components/CardHotel/CardHotel.l10n.js +3 -0
- package/build/components/Rates/components/CardHotel/CardHotel.l10n.js.map +1 -1
- package/build/components/Rates/components/CardHotel/__tests__/__snapshots__/CardHotel.test.js.snap +64 -6
- package/build/components/Rates/components/Filters/Filters.Button.js +1 -0
- package/build/components/Rates/components/Filters/Filters.Button.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.js +60 -21
- package/build/components/Rates/components/Filters/Filters.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.l10n.js +3 -0
- package/build/components/Rates/components/Filters/Filters.l10n.js.map +1 -1
- package/build/components/Rates/components/Filters/__tests__/__snapshots__/FIlters.Button.test.js.snap +5 -1
- package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.Amenity.test.js.snap +20 -12
- package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.BookingOption.test.js.snap +9 -1
- package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.test.js.snap +4 -0
- package/build/components/Rates/components/Hotelverse/Hotelverse.js +2 -0
- package/build/components/Rates/components/Hotelverse/Hotelverse.js.map +1 -1
- package/build/components/Rates/components/Item/Item.Preview.js +14 -3
- package/build/components/Rates/components/Item/Item.Preview.js.map +1 -1
- package/build/components/Rates/components/Item/Item.Rates.js +3 -0
- package/build/components/Rates/components/Item/Item.Rates.js.map +1 -1
- package/build/components/Rates/components/Item/Item.l10n.js +9 -0
- package/build/components/Rates/components/Item/Item.l10n.js.map +1 -1
- package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Preview.test.js.snap +32 -1
- package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Rates.test.js.snap +2 -1
- package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Summary.test.js.snap +14 -1
- package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.test.js.snap +48 -1
- package/build/components/Rates/components/Item/components/Amenities/Amenities.js +4 -1
- package/build/components/Rates/components/Item/components/Amenities/Amenities.js.map +1 -1
- package/build/components/Rates/components/Item/components/Features/Features.js +22 -11
- package/build/components/Rates/components/Item/components/Features/Features.js.map +1 -1
- package/build/components/Rates/components/Item/components/Features/Features.module.css +4 -0
- package/build/components/Rates/components/Item/components/Features/__tests__/__snapshots__/Features.test.js.snap +5 -1
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/ModalCancellationInfo.js +2 -0
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/ModalCancellationInfo.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/__tests__/__snapshots__/ModalCancellationInfo.test.js.snap +7 -0
- package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js +4 -0
- package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalInfo/__tests__/__snapshots__/ModalInfo.test.js.snap +12 -0
- package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.js +2 -0
- package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalOfferInfo/__tests__/__snapshots__/ModalOfferInfo.test.js.snap +12 -0
- package/build/components/Rates/components/Item/components/ModalUrl/ModalUrl.js +2 -0
- package/build/components/Rates/components/Item/components/ModalUrl/ModalUrl.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalUrl/__tests__/__snapshots__/ModalUrl.test.js.snap +12 -0
- package/build/components/Rates/components/Item/components/Option/Option.js +6 -2
- package/build/components/Rates/components/Item/components/Option/Option.js.map +1 -1
- package/build/components/Rates/components/Item/components/Option/__tests__/__snapshots__/Option.test.js.snap +4 -1
- package/build/components/Rates/components/Item/components/PriceDetails/PriceDetails.js +4 -1
- package/build/components/Rates/components/Item/components/PriceDetails/PriceDetails.js.map +1 -1
- package/build/components/Rates/components/Item/components/PriceDetails/PriceDetails.module.css +4 -0
- package/build/components/Rates/components/Item/components/PriceDetails/__tests__/__snapshots__/PriceDetails.test.js.snap +17 -6
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.js +1 -0
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.js.map +1 -1
- package/build/components/Rates/components/Item/components/Slider/Slider.js +8 -2
- package/build/components/Rates/components/Item/components/Slider/Slider.js.map +1 -1
- package/build/components/Rates/components/Item/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +15 -1
- package/build/components/Rates/components/ModalExtras/Extras.js +1 -0
- package/build/components/Rates/components/ModalExtras/Extras.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/ModalExtras.js +5 -1
- package/build/components/Rates/components/ModalExtras/ModalExtras.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/__tests__/__snapshots__/ModalExtras.test.js.snap +17 -0
- package/build/components/Rates/components/ModalMapView/ModalMapView.js +33 -3
- package/build/components/Rates/components/ModalMapView/ModalMapView.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/ModalMapView.l10n.js +3 -0
- package/build/components/Rates/components/ModalMapView/ModalMapView.l10n.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/ModalMapView.module.css +1 -0
- package/build/components/Rates/components/ModalMapView/__tests__/__snapshots__/ModalMapView.test.js.snap +24 -1
- package/build/components/Rates/components/ModalTwin/ModalTwin.js +6 -3
- package/build/components/Rates/components/ModalTwin/ModalTwin.js.map +1 -1
- package/build/components/Rates/components/ModalTwin/ModalTwin.module.css +1 -0
- package/build/components/Rates/components/ModalTwin/__tests__/__snapshots__/ModalTwin.test.js.snap +87 -2
- package/build/components/Rates/components/ModalTwin/components/Slider.js +5 -2
- package/build/components/Rates/components/ModalTwin/components/Slider.js.map +1 -1
- package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/CardExpanded.test.js.snap +47 -1
- package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/CardReduced.test.js.snap +12 -1
- package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/Slider.test.js.snap +54 -10
- package/build/components/Rooms/__tests__/__snapshots__/Rooms.test.js.snap +7780 -3564
- package/build/components/Session/Session.Account.Info.js +2 -2
- package/build/components/Session/Session.Account.Info.js.map +1 -1
- package/build/components/Session/Session.Account.js +1 -1
- package/build/components/Session/Session.Account.js.map +1 -1
- package/build/components/Session/Session.Login.Modal.js +11 -7
- package/build/components/Session/Session.Login.Modal.js.map +1 -1
- package/build/components/Session/Session.Login.js +5 -3
- package/build/components/Session/Session.Login.js.map +1 -1
- package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +49 -1
- package/build/components/Signup/Signup.js +23 -6
- package/build/components/Signup/Signup.js.map +1 -1
- package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +408 -134
- package/build/components/__shared__/Announcer/Announcer.js +32 -0
- package/build/components/__shared__/Announcer/Announcer.js.map +1 -0
- package/build/components/__shared__/Announcer/Announcer.module.css +11 -0
- package/build/components/__shared__/Announcer/index.js +17 -0
- package/build/components/__shared__/Announcer/index.js.map +1 -0
- package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +38 -1
- package/build/components/__shared__/BookingDetails/BookingDetails.js +14 -2
- package/build/components/__shared__/BookingDetails/BookingDetails.js.map +1 -1
- package/build/components/__shared__/BookingDetails/BookingDetails.module.css +4 -0
- package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +739 -15
- package/build/components/__shared__/BookingSummary/BookingSummary.js +18 -6
- package/build/components/__shared__/BookingSummary/BookingSummary.js.map +1 -1
- package/build/components/__shared__/BookingSummary/BookingSummary.module.css +4 -0
- package/build/components/__shared__/BookingSummary/_tests__/__snapshots__/BookingSummary.test.js.snap +200 -1
- package/build/components/__shared__/BookingTable/BookingTable.Row.js +6 -1
- package/build/components/__shared__/BookingTable/BookingTable.Row.js.map +1 -1
- package/build/components/__shared__/BookingTable/BookingTable.js +15 -2
- package/build/components/__shared__/BookingTable/BookingTable.js.map +1 -1
- package/build/components/__shared__/BookingTable/BookingTable.module.css +4 -0
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +152 -3
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +273 -1
- package/build/components/__shared__/BookingTerms/BookingTerms.js +5 -0
- package/build/components/__shared__/BookingTerms/BookingTerms.js.map +1 -1
- package/build/components/__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap +120 -0
- package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +13 -1
- package/build/components/__shared__/ButtonPayment/ButtonPayment.js +3 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js +3 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +62 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormAdyen/FormAdyen.js +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormAdyen/FormAdyen.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCybersource/FormCybersource.js +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCybersource/FormCybersource.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormGetnet/FormGetnet.js +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormGetnet/FormGetnet.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormHotelpay/FormHotelpay.js +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormHotelpay/FormHotelpay.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormHotelpay/__tests__/__snapshots__/FormHotelpay.test.js.snap +34 -1
- package/build/components/__shared__/ButtonPayment/components/FormMercadopago/FormMercadopago.js +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormMercadopago/FormMercadopago.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormMews/FormMews.js +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormMews/FormMews.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormNuvei/FormNuvei.js +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormNuvei/FormNuvei.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormNuvei/__tests__/__snapshots__/FormNuvei.test.js.snap +7 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaybyrd/__tests__/__snapshots__/FormPaybyrd.test.js.snap +7 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +3 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaymob/FormPaymob.js +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaymob/FormPaymob.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaynopain/FormPaynopain.js +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaynopain/FormPaynopain.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormReduniq/FormReduniq.js +15 -1
- package/build/components/__shared__/ButtonPayment/components/FormReduniq/FormReduniq.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/InputField/InputField.module.css +3 -3
- package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +27 -1
- package/build/components/__shared__/Card/__tests__/__snapshots__/Card.test.js.snap +5 -1
- package/build/components/__shared__/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +5 -1
- package/build/components/__shared__/Field/Field.js +3 -1
- package/build/components/__shared__/Field/Field.js.map +1 -1
- package/build/components/__shared__/Field/Field.module.css +3 -3
- package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +87 -0
- package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +749 -19
- package/build/components/__shared__/FieldPromocode/FieldPromocode.js +1 -1
- package/build/components/__shared__/FieldPromocode/FieldPromocode.js.map +1 -1
- package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +47 -1
- package/build/components/__shared__/Footer/Footer.js +4 -1
- package/build/components/__shared__/Footer/Footer.js.map +1 -1
- package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +96 -0
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js +6 -1
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js.map +1 -1
- package/build/components/__shared__/NotificationRequiredFields/__tests__/__snapshots__/NotificationRequiredFields.test.js.snap +11 -1
- package/build/components/__shared__/Occupation/Occupation.Group.js +15 -5
- package/build/components/__shared__/Occupation/Occupation.Group.js.map +1 -1
- package/build/components/__shared__/Occupation/Occupation.js +47 -19
- package/build/components/__shared__/Occupation/Occupation.js.map +1 -1
- package/build/components/__shared__/Occupation/Occupation.l10n.js +12 -0
- package/build/components/__shared__/Occupation/Occupation.l10n.js.map +1 -1
- package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +1354 -31
- package/build/components/__shared__/Payment/Payment.js +3 -1
- package/build/components/__shared__/Payment/Payment.js.map +1 -1
- package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +230 -4
- package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +36 -25
- package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +181 -1
- package/build/components/__shared__/Payment/components/LinkagePay/LinkagePay.js +1 -0
- package/build/components/__shared__/Payment/components/LinkagePay/LinkagePay.js.map +1 -1
- package/build/components/__shared__/Payment/components/LinkagePay/__tests__/__snapshots__/LinkagePay.test.js.snap +158 -0
- package/build/components/__shared__/Payment/components/Openpay/Openpay.js +1 -0
- package/build/components/__shared__/Payment/components/Openpay/Openpay.js.map +1 -1
- package/build/components/__shared__/Payment/components/Openpay/__tests__/__snapshots__/Openpay.test.js.snap +158 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.js +1 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +104 -1
- package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +22 -4
- package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.Line.test.js.snap +10 -1
- package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.test.js.snap +65 -1
- package/build/components/__shared__/RatesExplorer/RatesExplorer.Calendar.js +2 -2
- package/build/components/__shared__/RatesExplorer/RatesExplorer.Calendar.js.map +1 -1
- package/build/components/__shared__/RatesExplorer/RatesExplorer.js +2 -1
- package/build/components/__shared__/RatesExplorer/RatesExplorer.js.map +1 -1
- package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.Calendar.test.js.snap +5281 -2503
- package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.test.js.snap +15609 -7177
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.module.css +8 -1
- package/build/components/__shared__/SelectEnvironment/__tests__/__snapshots__/SelectEnvironment.test.js.snap +1759 -1256
- package/build/components/__shared__/Skeleton/__tests__/__snapshots__/Skeleton.test.js.snap +8 -1
- package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +4 -1
- package/build/components/__shared__/index.js +11 -0
- package/build/components/__shared__/index.js.map +1 -1
- package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +87 -1
- package/build/components/helpers/getAria.js +102 -0
- package/build/components/helpers/getAria.js.map +1 -0
- package/build/components/helpers/getErrorMessage.js +30 -0
- package/build/components/helpers/getErrorMessage.js.map +1 -0
- package/build/components/helpers/getRequiredProps.js +22 -0
- package/build/components/helpers/getRequiredProps.js.map +1 -0
- package/build/components/helpers/index.js +33 -0
- package/build/components/helpers/index.js.map +1 -1
- package/build/components/helpers/parseHtml.js +2 -0
- package/build/components/helpers/parseHtml.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,35 +1,43 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`<Paymnet> <Card> inherit:className 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<ui-form
|
|
6
6
|
autocomplete="off"
|
|
7
|
+
data-role="form"
|
|
7
8
|
wide=""
|
|
8
9
|
>
|
|
9
10
|
<ui-input-text
|
|
10
11
|
class="view inputContainer"
|
|
12
|
+
data-role="input-text"
|
|
11
13
|
>
|
|
12
14
|
<ui-view
|
|
13
15
|
class="view row inputBorder"
|
|
16
|
+
data-role="view"
|
|
14
17
|
>
|
|
15
18
|
<ui-view
|
|
16
19
|
class="view wide content"
|
|
20
|
+
data-role="view"
|
|
17
21
|
>
|
|
18
22
|
<ui-label
|
|
19
23
|
class="text paragraph text label"
|
|
24
|
+
data-role="label"
|
|
20
25
|
htmlfor="checkout-card"
|
|
21
26
|
id="checkout-card-label"
|
|
22
27
|
>
|
|
23
28
|
core.label.card_number
|
|
24
29
|
<span
|
|
30
|
+
aria-hidden="true"
|
|
25
31
|
class="required error"
|
|
26
32
|
>
|
|
27
33
|
✱
|
|
28
34
|
</span>
|
|
29
35
|
</ui-label>
|
|
30
36
|
<input
|
|
37
|
+
aria-label="core.label.card_number"
|
|
31
38
|
aria-labelledby="checkout-card-label"
|
|
32
39
|
class="input input withLabel"
|
|
40
|
+
data-role="input"
|
|
33
41
|
id="checkout-card"
|
|
34
42
|
inputmode="numeric"
|
|
35
43
|
maxlength="19"
|
|
@@ -44,28 +52,35 @@ exports[`<Paymnet> <Card> inherit:className 1`] = `
|
|
|
44
52
|
</ui-input-text>
|
|
45
53
|
<ui-input-text
|
|
46
54
|
class="view inputContainer"
|
|
55
|
+
data-role="input-text"
|
|
47
56
|
>
|
|
48
57
|
<ui-view
|
|
49
58
|
class="view row inputBorder"
|
|
59
|
+
data-role="view"
|
|
50
60
|
>
|
|
51
61
|
<ui-view
|
|
52
62
|
class="view wide content"
|
|
63
|
+
data-role="view"
|
|
53
64
|
>
|
|
54
65
|
<ui-label
|
|
55
66
|
class="text paragraph text label"
|
|
67
|
+
data-role="label"
|
|
56
68
|
htmlfor="checkout-name"
|
|
57
69
|
id="checkout-name-label"
|
|
58
70
|
>
|
|
59
71
|
core.label.card_name
|
|
60
72
|
<span
|
|
73
|
+
aria-hidden="true"
|
|
61
74
|
class="required error"
|
|
62
75
|
>
|
|
63
76
|
✱
|
|
64
77
|
</span>
|
|
65
78
|
</ui-label>
|
|
66
79
|
<input
|
|
80
|
+
aria-label="core.label.card_name"
|
|
67
81
|
aria-labelledby="checkout-name-label"
|
|
68
82
|
class="input input withLabel"
|
|
83
|
+
data-role="input"
|
|
69
84
|
id="checkout-name"
|
|
70
85
|
maxlength="100"
|
|
71
86
|
minlength="3"
|
|
@@ -79,28 +94,35 @@ exports[`<Paymnet> <Card> inherit:className 1`] = `
|
|
|
79
94
|
</ui-input-text>
|
|
80
95
|
<ui-input-text
|
|
81
96
|
class="view inputContainer"
|
|
97
|
+
data-role="input-text"
|
|
82
98
|
>
|
|
83
99
|
<ui-view
|
|
84
100
|
class="view row inputBorder"
|
|
101
|
+
data-role="view"
|
|
85
102
|
>
|
|
86
103
|
<ui-view
|
|
87
104
|
class="view wide content"
|
|
105
|
+
data-role="view"
|
|
88
106
|
>
|
|
89
107
|
<ui-label
|
|
90
108
|
class="text paragraph text label"
|
|
109
|
+
data-role="label"
|
|
91
110
|
htmlfor="checkout-expire"
|
|
92
111
|
id="checkout-expire-label"
|
|
93
112
|
>
|
|
94
113
|
core.label.expiration
|
|
95
114
|
<span
|
|
115
|
+
aria-hidden="true"
|
|
96
116
|
class="required error"
|
|
97
117
|
>
|
|
98
118
|
✱
|
|
99
119
|
</span>
|
|
100
120
|
</ui-label>
|
|
101
121
|
<input
|
|
122
|
+
aria-label="core.label.expiration"
|
|
102
123
|
aria-labelledby="checkout-expire-label"
|
|
103
124
|
class="input input withLabel"
|
|
125
|
+
data-role="input"
|
|
104
126
|
id="checkout-expire"
|
|
105
127
|
maxlength="5"
|
|
106
128
|
name="expire"
|
|
@@ -114,28 +136,35 @@ exports[`<Paymnet> <Card> inherit:className 1`] = `
|
|
|
114
136
|
</ui-input-text>
|
|
115
137
|
<ui-input-text
|
|
116
138
|
class="view inputContainer"
|
|
139
|
+
data-role="input-text"
|
|
117
140
|
>
|
|
118
141
|
<ui-view
|
|
119
142
|
class="view row inputBorder"
|
|
143
|
+
data-role="view"
|
|
120
144
|
>
|
|
121
145
|
<ui-view
|
|
122
146
|
class="view wide content"
|
|
147
|
+
data-role="view"
|
|
123
148
|
>
|
|
124
149
|
<ui-label
|
|
125
150
|
class="text paragraph text label"
|
|
151
|
+
data-role="label"
|
|
126
152
|
htmlfor="checkout-CVV"
|
|
127
153
|
id="checkout-CVV-label"
|
|
128
154
|
>
|
|
129
155
|
core.label.cvv
|
|
130
156
|
<span
|
|
157
|
+
aria-hidden="true"
|
|
131
158
|
class="required error"
|
|
132
159
|
>
|
|
133
160
|
✱
|
|
134
161
|
</span>
|
|
135
162
|
</ui-label>
|
|
136
163
|
<input
|
|
164
|
+
aria-label="core.label.cvv"
|
|
137
165
|
aria-labelledby="checkout-CVV-label"
|
|
138
166
|
class="input input withLabel"
|
|
167
|
+
data-role="input"
|
|
139
168
|
id="checkout-CVV"
|
|
140
169
|
inputmode="numeric"
|
|
141
170
|
maxlength="3"
|
|
@@ -156,32 +185,42 @@ exports[`<Paymnet> <Card> prop:error 1`] = `
|
|
|
156
185
|
<DocumentFragment>
|
|
157
186
|
<ui-form
|
|
158
187
|
autocomplete="off"
|
|
188
|
+
data-role="form"
|
|
159
189
|
wide=""
|
|
160
190
|
>
|
|
161
191
|
<ui-input-text
|
|
162
192
|
class="view inputContainer"
|
|
193
|
+
data-role="input-text"
|
|
163
194
|
>
|
|
164
195
|
<ui-view
|
|
165
196
|
class="view row inputBorder error"
|
|
197
|
+
data-role="view"
|
|
166
198
|
>
|
|
167
199
|
<ui-view
|
|
168
200
|
class="view wide content"
|
|
201
|
+
data-role="view"
|
|
169
202
|
>
|
|
170
203
|
<ui-label
|
|
171
204
|
class="text paragraph text label error withValue"
|
|
205
|
+
data-role="label"
|
|
172
206
|
htmlfor="checkout-card"
|
|
173
207
|
id="checkout-card-label"
|
|
174
208
|
>
|
|
175
209
|
core.label.card_number
|
|
176
210
|
<span
|
|
211
|
+
aria-hidden="true"
|
|
177
212
|
class="required error"
|
|
178
213
|
>
|
|
179
214
|
✱
|
|
180
215
|
</span>
|
|
181
216
|
</ui-label>
|
|
182
217
|
<input
|
|
218
|
+
aria-describedby="checkout-card-hint"
|
|
219
|
+
aria-invalid="Invalid card"
|
|
220
|
+
aria-label="core.label.card_number"
|
|
183
221
|
aria-labelledby="checkout-card-label"
|
|
184
222
|
class="input input withLabel"
|
|
223
|
+
data-role="input"
|
|
185
224
|
id="checkout-card"
|
|
186
225
|
inputmode="numeric"
|
|
187
226
|
maxlength="19"
|
|
@@ -194,6 +233,7 @@ exports[`<Paymnet> <Card> prop:error 1`] = `
|
|
|
194
233
|
</ui-view>
|
|
195
234
|
<ui-icon
|
|
196
235
|
class="icon headline-3 icon error"
|
|
236
|
+
data-role="icon"
|
|
197
237
|
>
|
|
198
238
|
<svg
|
|
199
239
|
fill="currentColor"
|
|
@@ -216,34 +256,43 @@ exports[`<Paymnet> <Card> prop:error 1`] = `
|
|
|
216
256
|
</ui-view>
|
|
217
257
|
<ui-text
|
|
218
258
|
class="text small text hint error"
|
|
259
|
+
data-role="text"
|
|
260
|
+
id="checkout-card-hint"
|
|
219
261
|
>
|
|
220
262
|
Invalid card
|
|
221
263
|
</ui-text>
|
|
222
264
|
</ui-input-text>
|
|
223
265
|
<ui-input-text
|
|
224
266
|
class="view inputContainer"
|
|
267
|
+
data-role="input-text"
|
|
225
268
|
>
|
|
226
269
|
<ui-view
|
|
227
270
|
class="view row inputBorder"
|
|
271
|
+
data-role="view"
|
|
228
272
|
>
|
|
229
273
|
<ui-view
|
|
230
274
|
class="view wide content"
|
|
275
|
+
data-role="view"
|
|
231
276
|
>
|
|
232
277
|
<ui-label
|
|
233
278
|
class="text paragraph text label"
|
|
279
|
+
data-role="label"
|
|
234
280
|
htmlfor="checkout-name"
|
|
235
281
|
id="checkout-name-label"
|
|
236
282
|
>
|
|
237
283
|
core.label.card_name
|
|
238
284
|
<span
|
|
285
|
+
aria-hidden="true"
|
|
239
286
|
class="required error"
|
|
240
287
|
>
|
|
241
288
|
✱
|
|
242
289
|
</span>
|
|
243
290
|
</ui-label>
|
|
244
291
|
<input
|
|
292
|
+
aria-label="core.label.card_name"
|
|
245
293
|
aria-labelledby="checkout-name-label"
|
|
246
294
|
class="input input withLabel"
|
|
295
|
+
data-role="input"
|
|
247
296
|
id="checkout-name"
|
|
248
297
|
maxlength="100"
|
|
249
298
|
minlength="3"
|
|
@@ -257,28 +306,35 @@ exports[`<Paymnet> <Card> prop:error 1`] = `
|
|
|
257
306
|
</ui-input-text>
|
|
258
307
|
<ui-input-text
|
|
259
308
|
class="view inputContainer"
|
|
309
|
+
data-role="input-text"
|
|
260
310
|
>
|
|
261
311
|
<ui-view
|
|
262
312
|
class="view row inputBorder"
|
|
313
|
+
data-role="view"
|
|
263
314
|
>
|
|
264
315
|
<ui-view
|
|
265
316
|
class="view wide content"
|
|
317
|
+
data-role="view"
|
|
266
318
|
>
|
|
267
319
|
<ui-label
|
|
268
320
|
class="text paragraph text label"
|
|
321
|
+
data-role="label"
|
|
269
322
|
htmlfor="checkout-expire"
|
|
270
323
|
id="checkout-expire-label"
|
|
271
324
|
>
|
|
272
325
|
core.label.expiration
|
|
273
326
|
<span
|
|
327
|
+
aria-hidden="true"
|
|
274
328
|
class="required error"
|
|
275
329
|
>
|
|
276
330
|
✱
|
|
277
331
|
</span>
|
|
278
332
|
</ui-label>
|
|
279
333
|
<input
|
|
334
|
+
aria-label="core.label.expiration"
|
|
280
335
|
aria-labelledby="checkout-expire-label"
|
|
281
336
|
class="input input withLabel"
|
|
337
|
+
data-role="input"
|
|
282
338
|
id="checkout-expire"
|
|
283
339
|
maxlength="5"
|
|
284
340
|
name="expire"
|
|
@@ -292,28 +348,35 @@ exports[`<Paymnet> <Card> prop:error 1`] = `
|
|
|
292
348
|
</ui-input-text>
|
|
293
349
|
<ui-input-text
|
|
294
350
|
class="view inputContainer"
|
|
351
|
+
data-role="input-text"
|
|
295
352
|
>
|
|
296
353
|
<ui-view
|
|
297
354
|
class="view row inputBorder"
|
|
355
|
+
data-role="view"
|
|
298
356
|
>
|
|
299
357
|
<ui-view
|
|
300
358
|
class="view wide content"
|
|
359
|
+
data-role="view"
|
|
301
360
|
>
|
|
302
361
|
<ui-label
|
|
303
362
|
class="text paragraph text label"
|
|
363
|
+
data-role="label"
|
|
304
364
|
htmlfor="checkout-CVV"
|
|
305
365
|
id="checkout-CVV-label"
|
|
306
366
|
>
|
|
307
367
|
core.label.cvv
|
|
308
368
|
<span
|
|
369
|
+
aria-hidden="true"
|
|
309
370
|
class="required error"
|
|
310
371
|
>
|
|
311
372
|
✱
|
|
312
373
|
</span>
|
|
313
374
|
</ui-label>
|
|
314
375
|
<input
|
|
376
|
+
aria-label="core.label.cvv"
|
|
315
377
|
aria-labelledby="checkout-CVV-label"
|
|
316
378
|
class="input input withLabel"
|
|
379
|
+
data-role="input"
|
|
317
380
|
id="checkout-CVV"
|
|
318
381
|
inputmode="numeric"
|
|
319
382
|
maxlength="3"
|
|
@@ -334,33 +397,41 @@ exports[`<Paymnet> <Card> prop:showCVV 1`] = `
|
|
|
334
397
|
<DocumentFragment>
|
|
335
398
|
<ui-form
|
|
336
399
|
autocomplete="off"
|
|
400
|
+
data-role="form"
|
|
337
401
|
data-testid="showCVV"
|
|
338
402
|
wide=""
|
|
339
403
|
>
|
|
340
404
|
<ui-input-text
|
|
341
405
|
class="view inputContainer"
|
|
406
|
+
data-role="input-text"
|
|
342
407
|
>
|
|
343
408
|
<ui-view
|
|
344
409
|
class="view row inputBorder"
|
|
410
|
+
data-role="view"
|
|
345
411
|
>
|
|
346
412
|
<ui-view
|
|
347
413
|
class="view wide content"
|
|
414
|
+
data-role="view"
|
|
348
415
|
>
|
|
349
416
|
<ui-label
|
|
350
417
|
class="text paragraph text label"
|
|
418
|
+
data-role="label"
|
|
351
419
|
htmlfor="checkout-card"
|
|
352
420
|
id="checkout-card-label"
|
|
353
421
|
>
|
|
354
422
|
core.label.card_number
|
|
355
423
|
<span
|
|
424
|
+
aria-hidden="true"
|
|
356
425
|
class="required error"
|
|
357
426
|
>
|
|
358
427
|
✱
|
|
359
428
|
</span>
|
|
360
429
|
</ui-label>
|
|
361
430
|
<input
|
|
431
|
+
aria-label="core.label.card_number"
|
|
362
432
|
aria-labelledby="checkout-card-label"
|
|
363
433
|
class="input input withLabel"
|
|
434
|
+
data-role="input"
|
|
364
435
|
data-testid="showCVV-card"
|
|
365
436
|
id="checkout-card"
|
|
366
437
|
inputmode="numeric"
|
|
@@ -376,28 +447,35 @@ exports[`<Paymnet> <Card> prop:showCVV 1`] = `
|
|
|
376
447
|
</ui-input-text>
|
|
377
448
|
<ui-input-text
|
|
378
449
|
class="view inputContainer"
|
|
450
|
+
data-role="input-text"
|
|
379
451
|
>
|
|
380
452
|
<ui-view
|
|
381
453
|
class="view row inputBorder"
|
|
454
|
+
data-role="view"
|
|
382
455
|
>
|
|
383
456
|
<ui-view
|
|
384
457
|
class="view wide content"
|
|
458
|
+
data-role="view"
|
|
385
459
|
>
|
|
386
460
|
<ui-label
|
|
387
461
|
class="text paragraph text label"
|
|
462
|
+
data-role="label"
|
|
388
463
|
htmlfor="checkout-name"
|
|
389
464
|
id="checkout-name-label"
|
|
390
465
|
>
|
|
391
466
|
core.label.card_name
|
|
392
467
|
<span
|
|
468
|
+
aria-hidden="true"
|
|
393
469
|
class="required error"
|
|
394
470
|
>
|
|
395
471
|
✱
|
|
396
472
|
</span>
|
|
397
473
|
</ui-label>
|
|
398
474
|
<input
|
|
475
|
+
aria-label="core.label.card_name"
|
|
399
476
|
aria-labelledby="checkout-name-label"
|
|
400
477
|
class="input input withLabel"
|
|
478
|
+
data-role="input"
|
|
401
479
|
data-testid="showCVV-name"
|
|
402
480
|
id="checkout-name"
|
|
403
481
|
maxlength="100"
|
|
@@ -412,28 +490,35 @@ exports[`<Paymnet> <Card> prop:showCVV 1`] = `
|
|
|
412
490
|
</ui-input-text>
|
|
413
491
|
<ui-input-text
|
|
414
492
|
class="view inputContainer"
|
|
493
|
+
data-role="input-text"
|
|
415
494
|
>
|
|
416
495
|
<ui-view
|
|
417
496
|
class="view row inputBorder"
|
|
497
|
+
data-role="view"
|
|
418
498
|
>
|
|
419
499
|
<ui-view
|
|
420
500
|
class="view wide content"
|
|
501
|
+
data-role="view"
|
|
421
502
|
>
|
|
422
503
|
<ui-label
|
|
423
504
|
class="text paragraph text label"
|
|
505
|
+
data-role="label"
|
|
424
506
|
htmlfor="checkout-expire"
|
|
425
507
|
id="checkout-expire-label"
|
|
426
508
|
>
|
|
427
509
|
core.label.expiration
|
|
428
510
|
<span
|
|
511
|
+
aria-hidden="true"
|
|
429
512
|
class="required error"
|
|
430
513
|
>
|
|
431
514
|
✱
|
|
432
515
|
</span>
|
|
433
516
|
</ui-label>
|
|
434
517
|
<input
|
|
518
|
+
aria-label="core.label.expiration"
|
|
435
519
|
aria-labelledby="checkout-expire-label"
|
|
436
520
|
class="input input withLabel"
|
|
521
|
+
data-role="input"
|
|
437
522
|
data-testid="showCVV-expire"
|
|
438
523
|
id="checkout-expire"
|
|
439
524
|
maxlength="5"
|
|
@@ -454,32 +539,41 @@ exports[`<Paymnet> <Card> prop:showErrors 1`] = `
|
|
|
454
539
|
<DocumentFragment>
|
|
455
540
|
<ui-form
|
|
456
541
|
autocomplete="off"
|
|
542
|
+
data-role="form"
|
|
457
543
|
wide=""
|
|
458
544
|
>
|
|
459
545
|
<ui-input-text
|
|
460
546
|
class="view inputContainer"
|
|
547
|
+
data-role="input-text"
|
|
461
548
|
>
|
|
462
549
|
<ui-view
|
|
463
550
|
class="view row inputBorder error"
|
|
551
|
+
data-role="view"
|
|
464
552
|
>
|
|
465
553
|
<ui-view
|
|
466
554
|
class="view wide content"
|
|
555
|
+
data-role="view"
|
|
467
556
|
>
|
|
468
557
|
<ui-label
|
|
469
558
|
class="text paragraph text label error withValue"
|
|
559
|
+
data-role="label"
|
|
470
560
|
htmlfor="checkout-card"
|
|
471
561
|
id="checkout-card-label"
|
|
472
562
|
>
|
|
473
563
|
core.label.card_number
|
|
474
564
|
<span
|
|
565
|
+
aria-hidden="true"
|
|
475
566
|
class="required error"
|
|
476
567
|
>
|
|
477
568
|
✱
|
|
478
569
|
</span>
|
|
479
570
|
</ui-label>
|
|
480
571
|
<input
|
|
572
|
+
aria-invalid="true"
|
|
573
|
+
aria-label="core.label.card_number"
|
|
481
574
|
aria-labelledby="checkout-card-label"
|
|
482
575
|
class="input input withLabel"
|
|
576
|
+
data-role="input"
|
|
483
577
|
id="checkout-card"
|
|
484
578
|
inputmode="numeric"
|
|
485
579
|
maxlength="19"
|
|
@@ -492,6 +586,7 @@ exports[`<Paymnet> <Card> prop:showErrors 1`] = `
|
|
|
492
586
|
</ui-view>
|
|
493
587
|
<ui-icon
|
|
494
588
|
class="icon headline-3 icon error"
|
|
589
|
+
data-role="icon"
|
|
495
590
|
>
|
|
496
591
|
<svg
|
|
497
592
|
fill="currentColor"
|
|
@@ -515,28 +610,36 @@ exports[`<Paymnet> <Card> prop:showErrors 1`] = `
|
|
|
515
610
|
</ui-input-text>
|
|
516
611
|
<ui-input-text
|
|
517
612
|
class="view inputContainer"
|
|
613
|
+
data-role="input-text"
|
|
518
614
|
>
|
|
519
615
|
<ui-view
|
|
520
616
|
class="view row inputBorder error"
|
|
617
|
+
data-role="view"
|
|
521
618
|
>
|
|
522
619
|
<ui-view
|
|
523
620
|
class="view wide content"
|
|
621
|
+
data-role="view"
|
|
524
622
|
>
|
|
525
623
|
<ui-label
|
|
526
624
|
class="text paragraph text label error withValue"
|
|
625
|
+
data-role="label"
|
|
527
626
|
htmlfor="checkout-name"
|
|
528
627
|
id="checkout-name-label"
|
|
529
628
|
>
|
|
530
629
|
core.label.card_name
|
|
531
630
|
<span
|
|
631
|
+
aria-hidden="true"
|
|
532
632
|
class="required error"
|
|
533
633
|
>
|
|
534
634
|
✱
|
|
535
635
|
</span>
|
|
536
636
|
</ui-label>
|
|
537
637
|
<input
|
|
638
|
+
aria-invalid="true"
|
|
639
|
+
aria-label="core.label.card_name"
|
|
538
640
|
aria-labelledby="checkout-name-label"
|
|
539
641
|
class="input input withLabel"
|
|
642
|
+
data-role="input"
|
|
540
643
|
id="checkout-name"
|
|
541
644
|
maxlength="100"
|
|
542
645
|
minlength="3"
|
|
@@ -548,6 +651,7 @@ exports[`<Paymnet> <Card> prop:showErrors 1`] = `
|
|
|
548
651
|
</ui-view>
|
|
549
652
|
<ui-icon
|
|
550
653
|
class="icon headline-3 icon error"
|
|
654
|
+
data-role="icon"
|
|
551
655
|
>
|
|
552
656
|
<svg
|
|
553
657
|
fill="currentColor"
|
|
@@ -571,28 +675,36 @@ exports[`<Paymnet> <Card> prop:showErrors 1`] = `
|
|
|
571
675
|
</ui-input-text>
|
|
572
676
|
<ui-input-text
|
|
573
677
|
class="view inputContainer"
|
|
678
|
+
data-role="input-text"
|
|
574
679
|
>
|
|
575
680
|
<ui-view
|
|
576
681
|
class="view row inputBorder error"
|
|
682
|
+
data-role="view"
|
|
577
683
|
>
|
|
578
684
|
<ui-view
|
|
579
685
|
class="view wide content"
|
|
686
|
+
data-role="view"
|
|
580
687
|
>
|
|
581
688
|
<ui-label
|
|
582
689
|
class="text paragraph text label error withValue"
|
|
690
|
+
data-role="label"
|
|
583
691
|
htmlfor="checkout-expire"
|
|
584
692
|
id="checkout-expire-label"
|
|
585
693
|
>
|
|
586
694
|
core.label.expiration
|
|
587
695
|
<span
|
|
696
|
+
aria-hidden="true"
|
|
588
697
|
class="required error"
|
|
589
698
|
>
|
|
590
699
|
✱
|
|
591
700
|
</span>
|
|
592
701
|
</ui-label>
|
|
593
702
|
<input
|
|
703
|
+
aria-invalid="true"
|
|
704
|
+
aria-label="core.label.expiration"
|
|
594
705
|
aria-labelledby="checkout-expire-label"
|
|
595
706
|
class="input input withLabel"
|
|
707
|
+
data-role="input"
|
|
596
708
|
id="checkout-expire"
|
|
597
709
|
maxlength="5"
|
|
598
710
|
name="expire"
|
|
@@ -604,6 +716,7 @@ exports[`<Paymnet> <Card> prop:showErrors 1`] = `
|
|
|
604
716
|
</ui-view>
|
|
605
717
|
<ui-icon
|
|
606
718
|
class="icon headline-3 icon error"
|
|
719
|
+
data-role="icon"
|
|
607
720
|
>
|
|
608
721
|
<svg
|
|
609
722
|
fill="currentColor"
|
|
@@ -627,28 +740,36 @@ exports[`<Paymnet> <Card> prop:showErrors 1`] = `
|
|
|
627
740
|
</ui-input-text>
|
|
628
741
|
<ui-input-text
|
|
629
742
|
class="view inputContainer"
|
|
743
|
+
data-role="input-text"
|
|
630
744
|
>
|
|
631
745
|
<ui-view
|
|
632
746
|
class="view row inputBorder error"
|
|
747
|
+
data-role="view"
|
|
633
748
|
>
|
|
634
749
|
<ui-view
|
|
635
750
|
class="view wide content"
|
|
751
|
+
data-role="view"
|
|
636
752
|
>
|
|
637
753
|
<ui-label
|
|
638
754
|
class="text paragraph text label error withValue"
|
|
755
|
+
data-role="label"
|
|
639
756
|
htmlfor="checkout-CVV"
|
|
640
757
|
id="checkout-CVV-label"
|
|
641
758
|
>
|
|
642
759
|
core.label.cvv
|
|
643
760
|
<span
|
|
761
|
+
aria-hidden="true"
|
|
644
762
|
class="required error"
|
|
645
763
|
>
|
|
646
764
|
✱
|
|
647
765
|
</span>
|
|
648
766
|
</ui-label>
|
|
649
767
|
<input
|
|
768
|
+
aria-invalid="true"
|
|
769
|
+
aria-label="core.label.cvv"
|
|
650
770
|
aria-labelledby="checkout-CVV-label"
|
|
651
771
|
class="input input withLabel"
|
|
772
|
+
data-role="input"
|
|
652
773
|
id="checkout-CVV"
|
|
653
774
|
inputmode="numeric"
|
|
654
775
|
maxlength="3"
|
|
@@ -661,6 +782,7 @@ exports[`<Paymnet> <Card> prop:showErrors 1`] = `
|
|
|
661
782
|
</ui-view>
|
|
662
783
|
<ui-icon
|
|
663
784
|
class="icon headline-3 icon error"
|
|
785
|
+
data-role="icon"
|
|
664
786
|
>
|
|
665
787
|
<svg
|
|
666
788
|
fill="currentColor"
|
|
@@ -690,32 +812,40 @@ exports[`<Paymnet> <Card> renders 1`] = `
|
|
|
690
812
|
<DocumentFragment>
|
|
691
813
|
<ui-form
|
|
692
814
|
autocomplete="off"
|
|
815
|
+
data-role="form"
|
|
693
816
|
wide=""
|
|
694
817
|
>
|
|
695
818
|
<ui-input-text
|
|
696
819
|
class="view inputContainer"
|
|
820
|
+
data-role="input-text"
|
|
697
821
|
>
|
|
698
822
|
<ui-view
|
|
699
823
|
class="view row inputBorder"
|
|
824
|
+
data-role="view"
|
|
700
825
|
>
|
|
701
826
|
<ui-view
|
|
702
827
|
class="view wide content"
|
|
828
|
+
data-role="view"
|
|
703
829
|
>
|
|
704
830
|
<ui-label
|
|
705
831
|
class="text paragraph text label"
|
|
832
|
+
data-role="label"
|
|
706
833
|
htmlfor="checkout-card"
|
|
707
834
|
id="checkout-card-label"
|
|
708
835
|
>
|
|
709
836
|
core.label.card_number
|
|
710
837
|
<span
|
|
838
|
+
aria-hidden="true"
|
|
711
839
|
class="required error"
|
|
712
840
|
>
|
|
713
841
|
✱
|
|
714
842
|
</span>
|
|
715
843
|
</ui-label>
|
|
716
844
|
<input
|
|
845
|
+
aria-label="core.label.card_number"
|
|
717
846
|
aria-labelledby="checkout-card-label"
|
|
718
847
|
class="input input withLabel"
|
|
848
|
+
data-role="input"
|
|
719
849
|
id="checkout-card"
|
|
720
850
|
inputmode="numeric"
|
|
721
851
|
maxlength="19"
|
|
@@ -730,28 +860,35 @@ exports[`<Paymnet> <Card> renders 1`] = `
|
|
|
730
860
|
</ui-input-text>
|
|
731
861
|
<ui-input-text
|
|
732
862
|
class="view inputContainer"
|
|
863
|
+
data-role="input-text"
|
|
733
864
|
>
|
|
734
865
|
<ui-view
|
|
735
866
|
class="view row inputBorder"
|
|
867
|
+
data-role="view"
|
|
736
868
|
>
|
|
737
869
|
<ui-view
|
|
738
870
|
class="view wide content"
|
|
871
|
+
data-role="view"
|
|
739
872
|
>
|
|
740
873
|
<ui-label
|
|
741
874
|
class="text paragraph text label"
|
|
875
|
+
data-role="label"
|
|
742
876
|
htmlfor="checkout-name"
|
|
743
877
|
id="checkout-name-label"
|
|
744
878
|
>
|
|
745
879
|
core.label.card_name
|
|
746
880
|
<span
|
|
881
|
+
aria-hidden="true"
|
|
747
882
|
class="required error"
|
|
748
883
|
>
|
|
749
884
|
✱
|
|
750
885
|
</span>
|
|
751
886
|
</ui-label>
|
|
752
887
|
<input
|
|
888
|
+
aria-label="core.label.card_name"
|
|
753
889
|
aria-labelledby="checkout-name-label"
|
|
754
890
|
class="input input withLabel"
|
|
891
|
+
data-role="input"
|
|
755
892
|
id="checkout-name"
|
|
756
893
|
maxlength="100"
|
|
757
894
|
minlength="3"
|
|
@@ -765,28 +902,35 @@ exports[`<Paymnet> <Card> renders 1`] = `
|
|
|
765
902
|
</ui-input-text>
|
|
766
903
|
<ui-input-text
|
|
767
904
|
class="view inputContainer"
|
|
905
|
+
data-role="input-text"
|
|
768
906
|
>
|
|
769
907
|
<ui-view
|
|
770
908
|
class="view row inputBorder"
|
|
909
|
+
data-role="view"
|
|
771
910
|
>
|
|
772
911
|
<ui-view
|
|
773
912
|
class="view wide content"
|
|
913
|
+
data-role="view"
|
|
774
914
|
>
|
|
775
915
|
<ui-label
|
|
776
916
|
class="text paragraph text label"
|
|
917
|
+
data-role="label"
|
|
777
918
|
htmlfor="checkout-expire"
|
|
778
919
|
id="checkout-expire-label"
|
|
779
920
|
>
|
|
780
921
|
core.label.expiration
|
|
781
922
|
<span
|
|
923
|
+
aria-hidden="true"
|
|
782
924
|
class="required error"
|
|
783
925
|
>
|
|
784
926
|
✱
|
|
785
927
|
</span>
|
|
786
928
|
</ui-label>
|
|
787
929
|
<input
|
|
930
|
+
aria-label="core.label.expiration"
|
|
788
931
|
aria-labelledby="checkout-expire-label"
|
|
789
932
|
class="input input withLabel"
|
|
933
|
+
data-role="input"
|
|
790
934
|
id="checkout-expire"
|
|
791
935
|
maxlength="5"
|
|
792
936
|
name="expire"
|
|
@@ -800,28 +944,35 @@ exports[`<Paymnet> <Card> renders 1`] = `
|
|
|
800
944
|
</ui-input-text>
|
|
801
945
|
<ui-input-text
|
|
802
946
|
class="view inputContainer"
|
|
947
|
+
data-role="input-text"
|
|
803
948
|
>
|
|
804
949
|
<ui-view
|
|
805
950
|
class="view row inputBorder"
|
|
951
|
+
data-role="view"
|
|
806
952
|
>
|
|
807
953
|
<ui-view
|
|
808
954
|
class="view wide content"
|
|
955
|
+
data-role="view"
|
|
809
956
|
>
|
|
810
957
|
<ui-label
|
|
811
958
|
class="text paragraph text label"
|
|
959
|
+
data-role="label"
|
|
812
960
|
htmlfor="checkout-CVV"
|
|
813
961
|
id="checkout-CVV-label"
|
|
814
962
|
>
|
|
815
963
|
core.label.cvv
|
|
816
964
|
<span
|
|
965
|
+
aria-hidden="true"
|
|
817
966
|
class="required error"
|
|
818
967
|
>
|
|
819
968
|
✱
|
|
820
969
|
</span>
|
|
821
970
|
</ui-label>
|
|
822
971
|
<input
|
|
972
|
+
aria-label="core.label.cvv"
|
|
823
973
|
aria-labelledby="checkout-CVV-label"
|
|
824
974
|
class="input input withLabel"
|
|
975
|
+
data-role="input"
|
|
825
976
|
id="checkout-CVV"
|
|
826
977
|
inputmode="numeric"
|
|
827
978
|
maxlength="3"
|
|
@@ -842,33 +993,41 @@ exports[`<Paymnet> <Card> testID 1`] = `
|
|
|
842
993
|
<DocumentFragment>
|
|
843
994
|
<ui-form
|
|
844
995
|
autocomplete="off"
|
|
996
|
+
data-role="form"
|
|
845
997
|
data-testid="mirai"
|
|
846
998
|
wide=""
|
|
847
999
|
>
|
|
848
1000
|
<ui-input-text
|
|
849
1001
|
class="view inputContainer"
|
|
1002
|
+
data-role="input-text"
|
|
850
1003
|
>
|
|
851
1004
|
<ui-view
|
|
852
1005
|
class="view row inputBorder"
|
|
1006
|
+
data-role="view"
|
|
853
1007
|
>
|
|
854
1008
|
<ui-view
|
|
855
1009
|
class="view wide content"
|
|
1010
|
+
data-role="view"
|
|
856
1011
|
>
|
|
857
1012
|
<ui-label
|
|
858
1013
|
class="text paragraph text label"
|
|
1014
|
+
data-role="label"
|
|
859
1015
|
htmlfor="checkout-card"
|
|
860
1016
|
id="checkout-card-label"
|
|
861
1017
|
>
|
|
862
1018
|
core.label.card_number
|
|
863
1019
|
<span
|
|
1020
|
+
aria-hidden="true"
|
|
864
1021
|
class="required error"
|
|
865
1022
|
>
|
|
866
1023
|
✱
|
|
867
1024
|
</span>
|
|
868
1025
|
</ui-label>
|
|
869
1026
|
<input
|
|
1027
|
+
aria-label="core.label.card_number"
|
|
870
1028
|
aria-labelledby="checkout-card-label"
|
|
871
1029
|
class="input input withLabel"
|
|
1030
|
+
data-role="input"
|
|
872
1031
|
data-testid="mirai-card"
|
|
873
1032
|
id="checkout-card"
|
|
874
1033
|
inputmode="numeric"
|
|
@@ -884,28 +1043,35 @@ exports[`<Paymnet> <Card> testID 1`] = `
|
|
|
884
1043
|
</ui-input-text>
|
|
885
1044
|
<ui-input-text
|
|
886
1045
|
class="view inputContainer"
|
|
1046
|
+
data-role="input-text"
|
|
887
1047
|
>
|
|
888
1048
|
<ui-view
|
|
889
1049
|
class="view row inputBorder"
|
|
1050
|
+
data-role="view"
|
|
890
1051
|
>
|
|
891
1052
|
<ui-view
|
|
892
1053
|
class="view wide content"
|
|
1054
|
+
data-role="view"
|
|
893
1055
|
>
|
|
894
1056
|
<ui-label
|
|
895
1057
|
class="text paragraph text label"
|
|
1058
|
+
data-role="label"
|
|
896
1059
|
htmlfor="checkout-name"
|
|
897
1060
|
id="checkout-name-label"
|
|
898
1061
|
>
|
|
899
1062
|
core.label.card_name
|
|
900
1063
|
<span
|
|
1064
|
+
aria-hidden="true"
|
|
901
1065
|
class="required error"
|
|
902
1066
|
>
|
|
903
1067
|
✱
|
|
904
1068
|
</span>
|
|
905
1069
|
</ui-label>
|
|
906
1070
|
<input
|
|
1071
|
+
aria-label="core.label.card_name"
|
|
907
1072
|
aria-labelledby="checkout-name-label"
|
|
908
1073
|
class="input input withLabel"
|
|
1074
|
+
data-role="input"
|
|
909
1075
|
data-testid="mirai-name"
|
|
910
1076
|
id="checkout-name"
|
|
911
1077
|
maxlength="100"
|
|
@@ -920,28 +1086,35 @@ exports[`<Paymnet> <Card> testID 1`] = `
|
|
|
920
1086
|
</ui-input-text>
|
|
921
1087
|
<ui-input-text
|
|
922
1088
|
class="view inputContainer"
|
|
1089
|
+
data-role="input-text"
|
|
923
1090
|
>
|
|
924
1091
|
<ui-view
|
|
925
1092
|
class="view row inputBorder"
|
|
1093
|
+
data-role="view"
|
|
926
1094
|
>
|
|
927
1095
|
<ui-view
|
|
928
1096
|
class="view wide content"
|
|
1097
|
+
data-role="view"
|
|
929
1098
|
>
|
|
930
1099
|
<ui-label
|
|
931
1100
|
class="text paragraph text label"
|
|
1101
|
+
data-role="label"
|
|
932
1102
|
htmlfor="checkout-expire"
|
|
933
1103
|
id="checkout-expire-label"
|
|
934
1104
|
>
|
|
935
1105
|
core.label.expiration
|
|
936
1106
|
<span
|
|
1107
|
+
aria-hidden="true"
|
|
937
1108
|
class="required error"
|
|
938
1109
|
>
|
|
939
1110
|
✱
|
|
940
1111
|
</span>
|
|
941
1112
|
</ui-label>
|
|
942
1113
|
<input
|
|
1114
|
+
aria-label="core.label.expiration"
|
|
943
1115
|
aria-labelledby="checkout-expire-label"
|
|
944
1116
|
class="input input withLabel"
|
|
1117
|
+
data-role="input"
|
|
945
1118
|
data-testid="mirai-expire"
|
|
946
1119
|
id="checkout-expire"
|
|
947
1120
|
maxlength="5"
|
|
@@ -956,28 +1129,35 @@ exports[`<Paymnet> <Card> testID 1`] = `
|
|
|
956
1129
|
</ui-input-text>
|
|
957
1130
|
<ui-input-text
|
|
958
1131
|
class="view inputContainer"
|
|
1132
|
+
data-role="input-text"
|
|
959
1133
|
>
|
|
960
1134
|
<ui-view
|
|
961
1135
|
class="view row inputBorder"
|
|
1136
|
+
data-role="view"
|
|
962
1137
|
>
|
|
963
1138
|
<ui-view
|
|
964
1139
|
class="view wide content"
|
|
1140
|
+
data-role="view"
|
|
965
1141
|
>
|
|
966
1142
|
<ui-label
|
|
967
1143
|
class="text paragraph text label"
|
|
1144
|
+
data-role="label"
|
|
968
1145
|
htmlfor="checkout-CVV"
|
|
969
1146
|
id="checkout-CVV-label"
|
|
970
1147
|
>
|
|
971
1148
|
core.label.cvv
|
|
972
1149
|
<span
|
|
1150
|
+
aria-hidden="true"
|
|
973
1151
|
class="required error"
|
|
974
1152
|
>
|
|
975
1153
|
✱
|
|
976
1154
|
</span>
|
|
977
1155
|
</ui-label>
|
|
978
1156
|
<input
|
|
1157
|
+
aria-label="core.label.cvv"
|
|
979
1158
|
aria-labelledby="checkout-CVV-label"
|
|
980
1159
|
class="input input withLabel"
|
|
1160
|
+
data-role="input"
|
|
981
1161
|
data-testid="mirai-CVV"
|
|
982
1162
|
id="checkout-CVV"
|
|
983
1163
|
inputmode="numeric"
|