@mirai/core 0.2.18 → 0.3.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/build/Core.Notifications.js +67 -50
- package/build/Core.Notifications.js.map +1 -1
- package/build/Core.constants.js +13 -11
- package/build/Core.constants.js.map +1 -1
- package/build/Core.definition.js +3 -3
- package/build/Core.definition.js.map +1 -1
- package/build/Core.js +69 -48
- package/build/Core.js.map +1 -1
- package/build/Core.provider.js +91 -41
- package/build/Core.provider.js.map +1 -1
- package/build/components/Booking/Booking.constants.js +48 -0
- package/build/components/Booking/Booking.constants.js.map +1 -0
- package/build/components/Booking/Booking.js +226 -0
- package/build/components/Booking/Booking.js.map +1 -0
- package/build/components/Booking/Booking.l10n.js +233 -0
- package/build/components/Booking/Booking.l10n.js.map +1 -0
- package/build/components/Booking/Booking.module.css +273 -0
- package/build/components/{user → Booking}/Booking.skeleton.js +12 -14
- package/build/components/Booking/Booking.skeleton.js.map +1 -0
- package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +83 -0
- package/build/components/Booking/components/Field/Field.js +70 -0
- package/build/components/Booking/components/Field/Field.js.map +1 -0
- package/build/components/Booking/components/Field/Field.l10n.js +12 -0
- package/build/components/Booking/components/Field/Field.l10n.js.map +1 -0
- package/build/components/Booking/components/Field/Field.module.css +48 -0
- package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +139 -0
- package/build/components/Booking/components/Field/index.js +17 -0
- package/build/components/Booking/components/Field/index.js.map +1 -0
- package/build/components/Booking/components/index.js +17 -0
- package/build/components/Booking/components/index.js.map +1 -0
- package/build/components/Booking/helpers/getOccupationCaption.js +64 -0
- package/build/components/Booking/helpers/getOccupationCaption.js.map +1 -0
- package/build/components/Booking/helpers/index.js +28 -0
- package/build/components/Booking/helpers/index.js.map +1 -0
- package/build/components/Booking/helpers/trackStateChange.js +97 -0
- package/build/components/Booking/helpers/trackStateChange.js.map +1 -0
- package/build/components/Booking/index.js +13 -0
- package/build/components/Booking/index.js.map +1 -0
- package/build/components/Booking/mocks/booking.json +176 -0
- package/build/components/Booking/partials/Booking.Details.js +133 -0
- package/build/components/Booking/partials/Booking.Details.js.map +1 -0
- package/build/components/Booking/partials/Booking.FormCancel.js +107 -0
- package/build/components/Booking/partials/Booking.FormCancel.js.map +1 -0
- package/build/components/Booking/partials/Booking.FormEdit.js +22 -0
- package/build/components/Booking/partials/Booking.FormEdit.js.map +1 -0
- package/build/components/Booking/partials/Booking.FormResend.js +53 -0
- package/build/components/Booking/partials/Booking.FormResend.js.map +1 -0
- package/build/components/Booking/partials/Booking.Menu.js +98 -0
- package/build/components/Booking/partials/Booking.Menu.js.map +1 -0
- package/build/components/Booking/partials/Booking.Modal.js +181 -0
- package/build/components/Booking/partials/Booking.Modal.js.map +1 -0
- package/build/components/Booking/partials/Booking.ModalAgency.js +65 -0
- package/build/components/Booking/partials/Booking.ModalAgency.js.map +1 -0
- package/build/components/Booking/partials/Booking.Others.js +115 -0
- package/build/components/Booking/partials/Booking.Others.js.map +1 -0
- package/build/components/Booking/partials/Booking.PriceBreakdown.js +150 -0
- package/build/components/Booking/partials/Booking.PriceBreakdown.js.map +1 -0
- package/build/components/Booking/partials/Booking.Summary.js +255 -0
- package/build/components/Booking/partials/Booking.Summary.js.map +1 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Details.test.js.snap +4677 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +638 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +400 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Others.test.js.snap +442 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Summary.test.js.snap +1066 -0
- package/build/components/Booking/partials/index.js +72 -0
- package/build/components/Booking/partials/index.js.map +1 -0
- package/build/components/BookingQuery/BookingQuery.constants.js +11 -0
- package/build/components/BookingQuery/BookingQuery.constants.js.map +1 -0
- package/build/components/BookingQuery/BookingQuery.js +199 -0
- package/build/components/BookingQuery/BookingQuery.js.map +1 -0
- package/build/components/BookingQuery/BookingQuery.l10n.js +36 -0
- package/build/components/BookingQuery/BookingQuery.l10n.js.map +1 -0
- package/build/components/BookingQuery/BookingQuery.module.css +17 -0
- package/build/components/{user → BookingQuery}/BookingQuery.skeleton.js +4 -3
- package/build/components/BookingQuery/BookingQuery.skeleton.js.map +1 -0
- package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +1106 -0
- package/build/components/BookingQuery/helpers/getErrorText.js +12 -0
- package/build/components/BookingQuery/helpers/getErrorText.js.map +1 -0
- package/build/components/BookingQuery/helpers/index.js +17 -0
- package/build/components/BookingQuery/helpers/index.js.map +1 -0
- package/build/components/BookingQuery/index.js +13 -0
- package/build/components/BookingQuery/index.js.map +1 -0
- package/build/components/Checkout/Checkout.constants.js +45 -0
- package/build/components/Checkout/Checkout.constants.js.map +1 -0
- package/build/components/Checkout/Checkout.js +182 -0
- package/build/components/Checkout/Checkout.js.map +1 -0
- package/build/components/Checkout/Checkout.l10n.js +125 -0
- package/build/components/Checkout/Checkout.l10n.js.map +1 -0
- package/build/components/Checkout/Checkout.module.css +250 -0
- package/build/components/{user → Checkout}/Checkout.skeleton.js +10 -12
- package/build/components/Checkout/Checkout.skeleton.js.map +1 -0
- package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +133 -0
- package/build/components/Checkout/components/InputRadio/InputRadio.js +67 -0
- package/build/components/Checkout/components/InputRadio/InputRadio.js.map +1 -0
- package/build/components/Checkout/components/InputRadio/InputRadio.module.css +3 -0
- package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +323 -0
- package/build/components/Checkout/components/InputRadio/index.js +17 -0
- package/build/components/Checkout/components/InputRadio/index.js.map +1 -0
- package/build/components/Checkout/components/index.js +17 -0
- package/build/components/Checkout/components/index.js.map +1 -0
- package/build/components/Checkout/helpers/generateId.js +21 -0
- package/build/components/Checkout/helpers/generateId.js.map +1 -0
- package/build/components/Checkout/helpers/getFieldProps.js +79 -0
- package/build/components/Checkout/helpers/getFieldProps.js.map +1 -0
- package/build/components/Checkout/helpers/getVariant.js +34 -0
- package/build/components/Checkout/helpers/getVariant.js.map +1 -0
- package/build/components/Checkout/helpers/index.js +61 -0
- package/build/components/Checkout/helpers/index.js.map +1 -0
- package/build/components/Checkout/helpers/testDNI.js +12 -0
- package/build/components/Checkout/helpers/testDNI.js.map +1 -0
- package/build/components/Checkout/helpers/trackDataSource.js +117 -0
- package/build/components/Checkout/helpers/trackDataSource.js.map +1 -0
- package/build/components/Checkout/helpers/trackForm.js +25 -0
- package/build/components/Checkout/helpers/trackForm.js.map +1 -0
- package/build/components/Checkout/index.js +13 -0
- package/build/components/Checkout/index.js.map +1 -0
- package/build/components/Checkout/mocks/checkout.json +519 -0
- package/build/components/Checkout/partials/Checkout.Confirmation.js +237 -0
- package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -0
- package/build/components/Checkout/partials/Checkout.Details.js +172 -0
- package/build/components/Checkout/partials/Checkout.Details.js.map +1 -0
- package/build/components/Checkout/partials/Checkout.Form.js +215 -0
- package/build/components/Checkout/partials/Checkout.Form.js.map +1 -0
- package/build/components/Checkout/partials/Checkout.Session.js +108 -0
- package/build/components/Checkout/partials/Checkout.Session.js.map +1 -0
- package/build/components/Checkout/partials/Checkout.Summary.Line.js +56 -0
- package/build/components/Checkout/partials/Checkout.Summary.Line.js.map +1 -0
- package/build/components/Checkout/partials/Checkout.Summary.js +196 -0
- package/build/components/Checkout/partials/Checkout.Summary.js.map +1 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +1580 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Details.test.js.snap +1636 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +5650 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Session.test.js.snap +770 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Summary.test.js.snap +798 -0
- package/build/components/Checkout/partials/index.js +61 -0
- package/build/components/Checkout/partials/index.js.map +1 -0
- package/build/components/Deals/Deals.Calendar.js +180 -0
- package/build/components/Deals/Deals.Calendar.js.map +1 -0
- package/build/components/Deals/Deals.constants.js +16 -0
- package/build/components/Deals/Deals.constants.js.map +1 -0
- package/build/components/Deals/Deals.js +281 -0
- package/build/components/Deals/Deals.js.map +1 -0
- package/build/components/Deals/Deals.l10n.js +43 -0
- package/build/components/Deals/Deals.l10n.js.map +1 -0
- package/build/components/Deals/Deals.module.css +106 -0
- package/build/components/{finder → Deals}/Deals.skeleton.js +17 -19
- package/build/components/Deals/Deals.skeleton.js.map +1 -0
- package/build/components/Deals/__tests__/__snapshots__/Deals.Calendar.test.js.snap +4584 -0
- package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +7893 -0
- package/build/components/Deals/helpers/__tests__/__mocks__/deal.json +25 -0
- package/build/components/Deals/helpers/calcFromDate.js +20 -0
- package/build/components/Deals/helpers/calcFromDate.js.map +1 -0
- package/build/components/Deals/helpers/calcMinStay.js +24 -0
- package/build/components/Deals/helpers/calcMinStay.js.map +1 -0
- package/build/components/Deals/helpers/calcNightWithDeals.js +17 -0
- package/build/components/Deals/helpers/calcNightWithDeals.js.map +1 -0
- package/build/components/Deals/helpers/calcToDate.js +19 -0
- package/build/components/Deals/helpers/calcToDate.js.map +1 -0
- package/build/components/Deals/helpers/calcTooltips.js +59 -0
- package/build/components/Deals/helpers/calcTooltips.js.map +1 -0
- package/build/components/Deals/helpers/getCurrency.js +19 -0
- package/build/components/Deals/helpers/getCurrency.js.map +1 -0
- package/build/components/Deals/helpers/index.js +83 -0
- package/build/components/Deals/helpers/index.js.map +1 -0
- package/build/components/Deals/helpers/validate.js +37 -0
- package/build/components/Deals/helpers/validate.js.map +1 -0
- package/build/components/Deals/index.js +13 -0
- package/build/components/Deals/index.js.map +1 -0
- package/build/components/Environment/Environment.js +47 -0
- package/build/components/Environment/Environment.js.map +1 -0
- package/build/components/Environment/Environment.module.css +6 -0
- package/build/components/Environment/index.js +13 -0
- package/build/components/Environment/index.js.map +1 -0
- package/build/components/Finder/Finder.constants.js +37 -0
- package/build/components/Finder/Finder.constants.js.map +1 -0
- package/build/components/Finder/Finder.js +242 -0
- package/build/components/Finder/Finder.js.map +1 -0
- package/build/components/Finder/Finder.l10n.js +21 -0
- package/build/components/Finder/Finder.l10n.js.map +1 -0
- package/build/components/Finder/Finder.module.css +46 -0
- package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +11469 -0
- package/build/components/Finder/components/Calendar/Calendar.constants.js +19 -0
- package/build/components/Finder/components/Calendar/Calendar.constants.js.map +1 -0
- package/build/components/Finder/components/Calendar/Calendar.js +209 -0
- package/build/components/Finder/components/Calendar/Calendar.js.map +1 -0
- package/build/components/Finder/components/Calendar/Calendar.l10n.js +25 -0
- package/build/components/Finder/components/Calendar/Calendar.l10n.js.map +1 -0
- package/build/components/Finder/components/Calendar/Calendar.module.css +28 -0
- package/build/components/Finder/components/Calendar/__tests__/__mocks__/prices.json +11 -0
- package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +10164 -0
- package/build/components/Finder/components/Calendar/helpers/fetchPrices.js +86 -0
- package/build/components/Finder/components/Calendar/helpers/fetchPrices.js.map +1 -0
- package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js +15 -0
- package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js.map +1 -0
- package/build/components/Finder/components/Calendar/helpers/index.js +28 -0
- package/build/components/Finder/components/Calendar/helpers/index.js.map +1 -0
- package/build/components/Finder/components/Calendar/index.js +17 -0
- package/build/components/Finder/components/Calendar/index.js.map +1 -0
- package/build/components/Finder/components/Places/Places.js +108 -0
- package/build/components/Finder/components/Places/Places.js.map +1 -0
- package/build/components/Finder/components/Places/Places.l10n.js +12 -0
- package/build/components/Finder/components/Places/Places.l10n.js.map +1 -0
- package/build/components/Finder/components/Places/Places.module.css +83 -0
- package/build/components/Finder/components/Places/__tests__/__mocks__/places.json +44 -0
- package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +288 -0
- package/build/components/Finder/components/Places/helpers/calcColumns.js +40 -0
- package/build/components/Finder/components/Places/helpers/calcColumns.js.map +1 -0
- package/build/components/Finder/components/Places/helpers/index.js +17 -0
- package/build/components/Finder/components/Places/helpers/index.js.map +1 -0
- package/build/components/Finder/components/Places/index.js +17 -0
- package/build/components/Finder/components/Places/index.js.map +1 -0
- package/build/components/Finder/components/index.js +28 -0
- package/build/components/Finder/components/index.js.map +1 -0
- package/build/components/Finder/helpers/__tests__/__mocks__/chain.json +1113 -0
- package/build/components/Finder/helpers/__tests__/__mocks__/dataSource.json +1382 -0
- package/build/components/Finder/helpers/__tests__/__mocks__/hotel.json +199 -0
- package/build/components/Finder/helpers/getDataSource.js +65 -0
- package/build/components/Finder/helpers/getDataSource.js.map +1 -0
- package/build/components/Finder/helpers/getHotels.js +41 -0
- package/build/components/Finder/helpers/getHotels.js.map +1 -0
- package/build/components/Finder/helpers/getOccupationDataSource.js +107 -0
- package/build/components/Finder/helpers/getOccupationDataSource.js.map +1 -0
- package/build/components/Finder/helpers/getPlaceCaption.js +15 -0
- package/build/components/Finder/helpers/getPlaceCaption.js.map +1 -0
- package/build/components/Finder/helpers/getPlacesOptions.js +50 -0
- package/build/components/Finder/helpers/getPlacesOptions.js.map +1 -0
- package/build/components/Finder/helpers/index.js +94 -0
- package/build/components/Finder/helpers/index.js.map +1 -0
- package/build/components/Finder/helpers/parseCalendarProps.js +29 -0
- package/build/components/Finder/helpers/parseCalendarProps.js.map +1 -0
- package/build/components/Finder/helpers/parseValue.js +20 -0
- package/build/components/Finder/helpers/parseValue.js.map +1 -0
- package/build/components/Finder/helpers/validate.js +15 -0
- package/build/components/Finder/helpers/validate.js.map +1 -0
- package/build/components/Finder/index.js +13 -0
- package/build/components/Finder/index.js.map +1 -0
- package/build/components/Profile/Profile.Account.js +224 -0
- package/build/components/Profile/Profile.Account.js.map +1 -0
- package/build/components/Profile/Profile.Password.js +173 -0
- package/build/components/Profile/Profile.Password.js.map +1 -0
- package/build/components/Profile/Profile.Signout.js +137 -0
- package/build/components/Profile/Profile.Signout.js.map +1 -0
- package/build/components/Profile/Profile.constants.js +13 -0
- package/build/components/Profile/Profile.constants.js.map +1 -0
- package/build/components/Profile/Profile.js +75 -0
- package/build/components/Profile/Profile.js.map +1 -0
- package/build/components/Profile/Profile.l10n.js +100 -0
- package/build/components/Profile/Profile.l10n.js.map +1 -0
- package/build/components/Profile/Profile.module.css +70 -0
- package/build/components/Profile/Profile.skeleton.js +120 -0
- package/build/components/Profile/Profile.skeleton.js.map +1 -0
- package/build/components/Profile/components/Bookings/Booking.constants.js +20 -0
- package/build/components/Profile/components/Bookings/Booking.constants.js.map +1 -0
- package/build/components/Profile/components/Bookings/Booking.l10n.js +47 -0
- package/build/components/Profile/components/Bookings/Booking.l10n.js.map +1 -0
- package/build/components/Profile/components/Bookings/Bookings.Item.js +110 -0
- package/build/components/Profile/components/Bookings/Bookings.Item.js.map +1 -0
- package/build/components/Profile/components/Bookings/Bookings.Search.js +98 -0
- package/build/components/Profile/components/Bookings/Bookings.Search.js.map +1 -0
- package/build/components/Profile/components/Bookings/Bookings.js +184 -0
- package/build/components/Profile/components/Bookings/Bookings.js.map +1 -0
- package/build/components/Profile/components/Bookings/Bookings.module.css +171 -0
- package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +9 -0
- package/build/components/Profile/components/Bookings/helpers/groupDatasource.js +31 -0
- package/build/components/Profile/components/Bookings/helpers/groupDatasource.js.map +1 -0
- package/build/components/Profile/components/Bookings/helpers/index.js +17 -0
- package/build/components/Profile/components/Bookings/helpers/index.js.map +1 -0
- package/build/components/Profile/components/Bookings/index.js +17 -0
- package/build/components/Profile/components/Bookings/index.js.map +1 -0
- package/build/components/Profile/components/index.js +17 -0
- package/build/components/Profile/components/index.js.map +1 -0
- package/build/components/Profile/index.js +13 -0
- package/build/components/Profile/index.js.map +1 -0
- package/build/components/Session/Session.Account.js +161 -0
- package/build/components/Session/Session.Account.js.map +1 -0
- package/build/components/Session/Session.Login.Modal.js +334 -0
- package/build/components/Session/Session.Login.Modal.js.map +1 -0
- package/build/components/Session/Session.Login.js +85 -0
- package/build/components/Session/Session.Login.js.map +1 -0
- package/build/components/Session/Session.constants.js +26 -0
- package/build/components/Session/Session.constants.js.map +1 -0
- package/build/components/Session/Session.js +50 -0
- package/build/components/Session/Session.js.map +1 -0
- package/build/components/Session/Session.l10n.js +81 -0
- package/build/components/Session/Session.l10n.js.map +1 -0
- package/build/components/Session/Session.module.css +41 -0
- package/build/components/Session/Session.skeleton.js +19 -0
- package/build/components/Session/Session.skeleton.js.map +1 -0
- package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +1075 -0
- package/build/components/Session/helpers/getDomain.js +14 -0
- package/build/components/Session/helpers/getDomain.js.map +1 -0
- package/build/components/Session/helpers/getSignupUrl.js +19 -0
- package/build/components/Session/helpers/getSignupUrl.js.map +1 -0
- package/build/components/Session/helpers/index.js +50 -0
- package/build/components/Session/helpers/index.js.map +1 -0
- package/build/components/Session/helpers/template.js +18 -0
- package/build/components/Session/helpers/template.js.map +1 -0
- package/build/components/Session/helpers/trackLogin.js +23 -0
- package/build/components/Session/helpers/trackLogin.js.map +1 -0
- package/build/components/Session/index.js +13 -0
- package/build/components/Session/index.js.map +1 -0
- package/build/components/Signup/Signup.constants.js +8 -0
- package/build/components/Signup/Signup.constants.js.map +1 -0
- package/build/components/Signup/Signup.js +266 -0
- package/build/components/Signup/Signup.js.map +1 -0
- package/build/components/Signup/Signup.l10n.js +67 -0
- package/build/components/Signup/Signup.l10n.js.map +1 -0
- package/build/components/Signup/Signup.module.css +25 -0
- package/build/components/Signup/Signup.skeleton.js +93 -0
- package/build/components/Signup/Signup.skeleton.js.map +1 -0
- package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +1023 -0
- package/build/components/Signup/index.js +13 -0
- package/build/components/Signup/index.js.map +1 -0
- package/build/components/State/State.js +104 -0
- package/build/components/State/State.js.map +1 -0
- package/build/components/State/State.module.css +34 -0
- package/build/components/State/index.js +13 -0
- package/build/components/State/index.js.map +1 -0
- package/build/components/__shared__/BookingDates/BookingDates.constants.js +12 -0
- package/build/components/__shared__/BookingDates/BookingDates.constants.js.map +1 -0
- package/build/components/__shared__/BookingDates/BookingDates.js +74 -0
- package/build/components/__shared__/BookingDates/BookingDates.js.map +1 -0
- package/build/components/__shared__/BookingDates/BookingDates.l10n.js +27 -0
- package/build/components/__shared__/BookingDates/BookingDates.l10n.js.map +1 -0
- package/build/components/__shared__/BookingDates/BookingDates.module.css +13 -0
- package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +208 -0
- package/build/components/__shared__/BookingDates/index.js +17 -0
- package/build/components/__shared__/BookingDates/index.js.map +1 -0
- package/build/components/__shared__/BookingTable/BookingTable.Row.js +123 -0
- package/build/components/__shared__/BookingTable/BookingTable.Row.js.map +1 -0
- package/build/components/__shared__/BookingTable/BookingTable.constants.js +18 -0
- package/build/components/__shared__/BookingTable/BookingTable.constants.js.map +1 -0
- package/build/components/__shared__/BookingTable/BookingTable.js +93 -0
- package/build/components/__shared__/BookingTable/BookingTable.js.map +1 -0
- package/build/components/__shared__/BookingTable/BookingTable.l10n.js +15 -0
- package/build/components/__shared__/BookingTable/BookingTable.l10n.js.map +1 -0
- package/build/components/__shared__/BookingTable/BookingTable.module.css +125 -0
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +456 -0
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +619 -0
- package/build/components/__shared__/BookingTable/index.js +17 -0
- package/build/components/__shared__/BookingTable/index.js.map +1 -0
- package/build/components/__shared__/ButtonMore/ButtonMore.js +46 -0
- package/build/components/__shared__/ButtonMore/ButtonMore.js.map +1 -0
- package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js +12 -0
- package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js.map +1 -0
- package/build/components/__shared__/ButtonMore/ButtonMore.module.css +9 -0
- package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +110 -0
- package/build/components/__shared__/ButtonMore/index.js +17 -0
- package/build/components/__shared__/ButtonMore/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js +21 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.js +278 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js +13 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.module.css +3 -0
- package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +195 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js +95 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js +21 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.module.css +9 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +68 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js +18 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js +37 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js +198 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js +30 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.module.css +27 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/__tests__/__snapshots__/FormCheckout.test.js.snap +308 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js +35 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js +8 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js +230 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js +30 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.module.css +26 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +148 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js +24 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js +16 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js +136 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js +21 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.module.css +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/__tests__/__snapshots__/FormSipay.test.js.snap +149 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js +22 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js +54 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/InputField.module.css +60 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +166 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/index.js +50 -0
- package/build/components/__shared__/ButtonPayment/components/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/getComponent.js +26 -0
- package/build/components/__shared__/ButtonPayment/helpers/getComponent.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrl.js +32 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrl.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js +29 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js +25 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js +39 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/index.js +39 -0
- package/build/components/__shared__/ButtonPayment/helpers/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/loadScript.js +25 -0
- package/build/components/__shared__/ButtonPayment/helpers/loadScript.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js +20 -0
- package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/index.js.map +1 -0
- package/build/components/__shared__/Field/Field.js +91 -0
- package/build/components/__shared__/Field/Field.js.map +1 -0
- package/build/components/__shared__/Field/Field.module.css +105 -0
- package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +799 -0
- package/build/components/__shared__/Field/index.js +17 -0
- package/build/components/__shared__/Field/index.js.map +1 -0
- package/build/components/__shared__/FieldOccupation/FieldOccupation.js +87 -0
- package/build/components/__shared__/FieldOccupation/FieldOccupation.js.map +1 -0
- package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js +12 -0
- package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js.map +1 -0
- package/build/components/__shared__/FieldOccupation/FieldOccupation.module.css +5 -0
- package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +2179 -0
- package/build/components/__shared__/FieldOccupation/helpers/__tests__/__mocks__/en.json +15 -0
- package/build/components/__shared__/FieldOccupation/helpers/__tests__/__mocks__/hotels.json +87 -0
- package/build/components/__shared__/FieldOccupation/helpers/getAccommodationType.js +41 -0
- package/build/components/__shared__/FieldOccupation/helpers/getAccommodationType.js.map +1 -0
- package/build/components/__shared__/FieldOccupation/helpers/getOccupationCaption.js +51 -0
- package/build/components/__shared__/FieldOccupation/helpers/getOccupationCaption.js.map +1 -0
- package/build/components/__shared__/FieldOccupation/helpers/index.js +28 -0
- package/build/components/__shared__/FieldOccupation/helpers/index.js.map +1 -0
- package/build/components/__shared__/FieldOccupation/index.js +17 -0
- package/build/components/__shared__/FieldOccupation/index.js.map +1 -0
- package/build/components/__shared__/FieldPromocode/FieldPromocode.js +47 -0
- package/build/components/__shared__/FieldPromocode/FieldPromocode.js.map +1 -0
- package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js +12 -0
- package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js.map +1 -0
- package/build/components/__shared__/FieldPromocode/FieldPromocode.module.css +19 -0
- package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +272 -0
- package/build/components/__shared__/FieldPromocode/index.js +17 -0
- package/build/components/__shared__/FieldPromocode/index.js.map +1 -0
- package/build/components/__shared__/Occupation/Occupation.Group.js +110 -0
- package/build/components/__shared__/Occupation/Occupation.Group.js.map +1 -0
- package/build/components/__shared__/Occupation/Occupation.constants.js +76 -0
- package/build/components/__shared__/Occupation/Occupation.constants.js.map +1 -0
- package/build/components/__shared__/Occupation/Occupation.js +252 -0
- package/build/components/__shared__/Occupation/Occupation.js.map +1 -0
- package/build/components/__shared__/Occupation/Occupation.l10n.js +65 -0
- package/build/components/__shared__/Occupation/Occupation.l10n.js.map +1 -0
- package/build/components/__shared__/Occupation/Occupation.module.css +124 -0
- package/build/components/__shared__/Occupation/__tests__/__mocks__/occupation.json +17 -0
- package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +3591 -0
- package/build/components/__shared__/Occupation/helpers/checkRoom.js +36 -0
- package/build/components/__shared__/Occupation/helpers/checkRoom.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/consolidateValue.js +92 -0
- package/build/components/__shared__/Occupation/helpers/consolidateValue.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/getAgeOptions.js +31 -0
- package/build/components/__shared__/Occupation/helpers/getAgeOptions.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/getGroupHint.js +32 -0
- package/build/components/__shared__/Occupation/helpers/getGroupHint.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/getScrollHeight.js +17 -0
- package/build/components/__shared__/Occupation/helpers/getScrollHeight.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/index.js +72 -0
- package/build/components/__shared__/Occupation/helpers/index.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/prepareRoom.js +32 -0
- package/build/components/__shared__/Occupation/helpers/prepareRoom.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/toParties.js +41 -0
- package/build/components/__shared__/Occupation/helpers/toParties.js.map +1 -0
- package/build/components/__shared__/Occupation/index.js +28 -0
- package/build/components/__shared__/Occupation/index.js.map +1 -0
- package/build/components/__shared__/Payment/Payment.constants.js +39 -0
- package/build/components/__shared__/Payment/Payment.constants.js.map +1 -0
- package/build/components/__shared__/Payment/Payment.js +197 -0
- package/build/components/__shared__/Payment/Payment.js.map +1 -0
- package/build/components/__shared__/Payment/Payment.l10n.js +84 -0
- package/build/components/__shared__/Payment/Payment.l10n.js.map +1 -0
- package/build/components/__shared__/Payment/Payment.module.css +61 -0
- package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +750 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js +43 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js.map +1 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js +188 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js.map +1 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js +18 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js.map +1 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.module.css +8 -0
- package/build/components/__shared__/Payment/components/AmazonPay/__tests__/__snapshots__/AmazonPay.test.js.snap +23 -0
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js +16 -0
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js.map +1 -0
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js +17 -0
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/AmazonPay/index.js +17 -0
- package/build/components/__shared__/Payment/components/AmazonPay/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js +96 -0
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js.map +1 -0
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js +12 -0
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js.map +1 -0
- package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +30 -0
- package/build/components/__shared__/Payment/components/Aplazame/index.js +17 -0
- package/build/components/__shared__/Payment/components/Aplazame/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/Card.constants.js +29 -0
- package/build/components/__shared__/Payment/components/Card/Card.constants.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/Card.js +149 -0
- package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/Card.l10n.js +27 -0
- package/build/components/__shared__/Payment/components/Card/Card.l10n.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/Card.module.css +23 -0
- package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +887 -0
- package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js +46 -0
- package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js +12 -0
- package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js +26 -0
- package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/helpers/index.js +61 -0
- package/build/components/__shared__/Payment/components/Card/helpers/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js +10 -0
- package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/helpers/testCard.js +13 -0
- package/build/components/__shared__/Payment/components/Card/helpers/testCard.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js +12 -0
- package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/index.js +17 -0
- package/build/components/__shared__/Payment/components/Card/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.constants.js +25 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.constants.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.js +317 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js +30 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.module.css +9 -0
- package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +399 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js +27 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js +30 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/index.js +28 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/index.js +17 -0
- package/build/components/__shared__/Payment/components/PCI/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/Tpv/Tpv.js +75 -0
- package/build/components/__shared__/Payment/components/Tpv/Tpv.js.map +1 -0
- package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js +12 -0
- package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js.map +1 -0
- package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +92 -0
- package/build/components/__shared__/Payment/components/Tpv/index.js +17 -0
- package/build/components/__shared__/Payment/components/Tpv/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/index.js +61 -0
- package/build/components/__shared__/Payment/components/index.js.map +1 -0
- package/build/components/__shared__/Payment/helpers/getCaption.js +38 -0
- package/build/components/__shared__/Payment/helpers/getCaption.js.map +1 -0
- package/build/components/__shared__/Payment/helpers/getComponent.js +29 -0
- package/build/components/__shared__/Payment/helpers/getComponent.js.map +1 -0
- package/build/components/__shared__/Payment/helpers/getImage.js +15 -0
- package/build/components/__shared__/Payment/helpers/getImage.js.map +1 -0
- package/build/components/__shared__/Payment/helpers/index.js +39 -0
- package/build/components/__shared__/Payment/helpers/index.js.map +1 -0
- package/build/components/__shared__/Payment/index.js +49 -0
- package/build/components/__shared__/Payment/index.js.map +1 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js +50 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js.map +1 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js +122 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js.map +1 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js +78 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js.map +1 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.module.css +30 -0
- package/build/components/__shared__/PriceBreakdown/index.js +17 -0
- package/build/components/__shared__/PriceBreakdown/index.js.map +1 -0
- package/build/components/__shared__/Skeleton/Skeleton.js +35 -0
- package/build/components/__shared__/Skeleton/Skeleton.js.map +1 -0
- package/build/components/__shared__/Skeleton/index.js +17 -0
- package/build/components/__shared__/Skeleton/index.js.map +1 -0
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js +32 -0
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js.map +1 -0
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js +13 -0
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js.map +1 -0
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.module.css +8 -0
- package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +41 -0
- package/build/components/__shared__/TextRequiredFields/index.js +17 -0
- package/build/components/__shared__/TextRequiredFields/index.js.map +1 -0
- package/build/components/__shared__/index.js +138 -0
- package/build/components/__shared__/index.js.map +1 -0
- package/build/components/helpers/ICON.js +33 -0
- package/build/components/helpers/ICON.js.map +1 -0
- package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +313 -0
- package/build/components/helpers/constants.js +62 -0
- package/build/components/helpers/constants.js.map +1 -0
- package/build/components/helpers/getButtonPaymentKey.js +23 -0
- package/build/components/helpers/getButtonPaymentKey.js.map +1 -0
- package/build/components/helpers/getButtonPaymentKey.l10n.js +18 -0
- package/build/components/helpers/getButtonPaymentKey.l10n.js.map +1 -0
- package/build/components/helpers/getCalendarCaption.js +37 -0
- package/build/components/helpers/getCalendarCaption.js.map +1 -0
- package/build/components/helpers/getCountryCode.js +11 -0
- package/build/components/helpers/getCountryCode.js.map +1 -0
- package/build/components/helpers/index.js +138 -0
- package/build/components/helpers/index.js.map +1 -0
- package/build/components/helpers/isJest.js +9 -0
- package/build/components/helpers/isJest.js.map +1 -0
- package/build/components/helpers/parseHtml.js +76 -0
- package/build/components/helpers/parseHtml.js.map +1 -0
- package/build/components/helpers/testPassword.js +11 -0
- package/build/components/helpers/testPassword.js.map +1 -0
- package/build/components/helpers/toQueryString.js +23 -0
- package/build/components/helpers/toQueryString.js.map +1 -0
- package/build/components/helpers/toUrlParams.js +23 -0
- package/build/components/helpers/toUrlParams.js.map +1 -0
- package/build/components/helpers/trace.js +19 -0
- package/build/components/helpers/trace.js.map +1 -0
- package/build/components/helpers/translate.js +27 -0
- package/build/components/helpers/translate.js.map +1 -0
- package/build/components/index.js +75 -30
- package/build/components/index.js.map +1 -1
- package/build/helpers/checkSession.js +42 -20
- package/build/helpers/checkSession.js.map +1 -1
- package/build/helpers/consolidateStore.js +113 -98
- package/build/helpers/consolidateStore.js.map +1 -1
- package/build/helpers/fetchConfig.js +58 -16
- package/build/helpers/fetchConfig.js.map +1 -1
- package/build/helpers/fetchCookies.js +13 -12
- package/build/helpers/fetchCookies.js.map +1 -1
- package/build/helpers/fetchSession.js +30 -33
- package/build/helpers/fetchSession.js.map +1 -1
- package/build/helpers/fetchUrlParams.js +2 -3
- package/build/helpers/fetchUrlParams.js.map +1 -1
- package/build/helpers/findComponents.js +26 -21
- package/build/helpers/findComponents.js.map +1 -1
- package/build/helpers/findDangerousCSSRules.js +48 -21
- package/build/helpers/findDangerousCSSRules.js.map +1 -1
- package/build/helpers/findInstance.js +34 -20
- package/build/helpers/findInstance.js.map +1 -1
- package/build/helpers/getAccommodationType.js +4 -4
- package/build/helpers/getAccommodationType.js.map +1 -1
- package/build/helpers/getGhost.js +13 -6
- package/build/helpers/getGhost.js.map +1 -1
- package/build/helpers/getLocale.js +23 -12
- package/build/helpers/getLocale.js.map +1 -1
- package/build/helpers/getTags.js +30 -24
- package/build/helpers/getTags.js.map +1 -1
- package/build/helpers/index.js +12 -12
- package/build/helpers/index.js.map +1 -1
- package/build/helpers/loadEnvironment.js +8 -9
- package/build/helpers/loadEnvironment.js.map +1 -1
- package/build/helpers/loadSentry.js +6 -6
- package/build/helpers/loadSentry.js.map +1 -1
- package/build/helpers/theme.js +27 -16
- package/build/helpers/theme.js.map +1 -1
- package/build/index.js +120 -71
- package/build/index.js.map +1 -1
- package/build/services/Club/constants.js +2 -2
- package/build/services/Club/constants.js.map +1 -1
- package/build/services/Club/get.js +49 -21
- package/build/services/Club/get.js.map +1 -1
- package/build/services/Club/index.js +1 -1
- package/build/services/Club/index.js.map +1 -1
- package/build/services/Engine/constants.js +2 -2
- package/build/services/Engine/constants.js.map +1 -1
- package/build/services/Engine/get.js +54 -22
- package/build/services/Engine/get.js.map +1 -1
- package/build/services/Engine/index.js +1 -1
- package/build/services/Engine/index.js.map +1 -1
- package/build/services/index.js +2 -2
- package/build/services/index.js.map +1 -1
- package/package.json +13 -14
- package/public/App.Container.jsx +129 -0
- package/public/App.jsx +28 -0
- package/public/App.module.css +141 -0
- package/public/index.html +7 -51
- package/public/index.template.html +19 -0
- package/public/routes/Deals.jsx +19 -0
- package/public/routes/Home.jsx +36 -0
- package/public/routes/NotFound.jsx +18 -0
- package/public/routes/Profile.jsx +20 -0
- package/public/routes/Signup.jsx +19 -0
- package/public/routes/Step0-Accommodations.jsx +4 -0
- package/public/routes/Step1-Rates.jsx +4 -0
- package/public/routes/Step2-Checkout.jsx +4 -0
- package/public/routes/Step3-Booking.jsx +4 -0
- package/public/routes/index.js +9 -0
- package/public/routes/routes.module.css +93 -0
- package/public/themes/monalisa.theme.css +25 -0
- package/build/components/__internal__/Environment.js +0 -45
- package/build/components/__internal__/Environment.js.map +0 -1
- package/build/components/__internal__/Environment.module.css +0 -4
- package/build/components/__internal__/Skeleton.js +0 -30
- package/build/components/__internal__/Skeleton.js.map +0 -1
- package/build/components/__internal__/State.js +0 -59
- package/build/components/__internal__/State.js.map +0 -1
- package/build/components/__internal__/State.module.css +0 -36
- package/build/components/finder/Deals.js +0 -9
- package/build/components/finder/Deals.js.map +0 -1
- package/build/components/finder/Deals.skeleton.js.map +0 -1
- package/build/components/finder/Finder.js +0 -31
- package/build/components/finder/Finder.js.map +0 -1
- package/build/components/user/Booking.js +0 -9
- package/build/components/user/Booking.js.map +0 -1
- package/build/components/user/Booking.skeleton.js.map +0 -1
- package/build/components/user/BookingQuery.js +0 -9
- package/build/components/user/BookingQuery.js.map +0 -1
- package/build/components/user/BookingQuery.skeleton.js.map +0 -1
- package/build/components/user/Checkout.js +0 -9
- package/build/components/user/Checkout.js.map +0 -1
- package/build/components/user/Checkout.skeleton.js.map +0 -1
- package/build/components/user/Profile.js +0 -9
- package/build/components/user/Profile.js.map +0 -1
- package/build/components/user/Profile.skeleton.js +0 -119
- package/build/components/user/Profile.skeleton.js.map +0 -1
- package/build/components/user/Session.js +0 -9
- package/build/components/user/Session.js.map +0 -1
- package/build/components/user/Session.skeleton.js +0 -18
- package/build/components/user/Session.skeleton.js.map +0 -1
- package/build/components/user/Signup.js +0 -9
- package/build/components/user/Signup.js.map +0 -1
- package/build/components/user/Signup.skeleton.js +0 -92
- package/build/components/user/Signup.skeleton.js.map +0 -1
- package/public/customer.css +0 -124
- package/site/booking/index.html +0 -20
- package/site/checkout/index.html +0 -20
- package/site/core.css +0 -8
- package/site/customer.css +0 -147
- package/site/deals/index.html +0 -34
- package/site/index.html +0 -58
- package/site/profile/index.html +0 -32
- package/site/signup/index.html +0 -32
- /package/build/components/{__internal__ → __shared__/Skeleton}/Skeleton.module.css +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Session.Login.Modal.js","names":["_dataSources","require","_locale","_services","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_helpers","_Session","_Session2","style","_excluded","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","ownKeys","e","r","t","keys","getOwnPropertySymbols","o","filter","enumerable","push","_objectSpread","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","value","_toPropertyKey","configurable","writable","arg","_toPrimitive","String","input","hint","prim","Symbol","toPrimitive","undefined","res","TypeError","Number","_regeneratorRuntime","n","a","iterator","c","asyncIterator","u","toStringTag","define","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","_catch","delegateYield","asyncGeneratorStep","gen","reject","_next","_throw","info","error","_asyncToGenerator","fn","self","args","err","_slicedToArray","arr","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","minLen","_arrayLikeToArray","toString","Array","from","test","len","arr2","isArray","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","ACTIVATE","MODE","ACTIVATE_ERROR","FINISH_SIGNUP","Modal","exports","_ref","propVisible","visible","onClose","others","_useLocale","useLocale","translate","_useStore","useStore","_useStore$value","_useStore$value$club","club","_useStore$value$cooki","cookies","id","language","session","_useStore$value$urlPa","urlParams","_useState","useState","_useState2","busy","setBusy","_useState3","_useState4","form","setForm","_useState5","_useState6","formError","setFormError","_useState7","_useState8","setVisible","_useState9","_useState10","mode","setMode","_useState11","_useState12","resetPassword","setResetPassword","_useState13","_useState14","response","setResponse","_useState15","_useState16","responseError","setResponseError","useEffect","activate","touched","login","params","URL_PARAMS","includes","idclub","_callee","_callee$","_context","ServiceUser","t0","_club$authentication","authentication","_club$authentication2","_club$authentication3","AUTH_TYPE","MIRAI","PESTANA","pestanaLogin","_ref3","_callee2","token","_callee2$","_context2","pestana","handleSubmit","_ref4","_callee3","props","_callee3$","_context3","idClub","idHotel","trackLogin","_x","handleSignup","url","getSignupUrl","document","location","href","handleResetPassword","createElement","title","L10N","TITLE","TITLE_RESET","className","modal","Form","validateOnMount","onChange","onError","onSubmit","offset","Notification","Text","bold","NOTIFICATION_FINISH_SIGNUP_TITLE","NOTIFICATION_FINISH_SIGNUP_DESCRIPTION","clubName","NOTIFICATION_FINISH_SIGNUP_ERROR","styles","description","wide","FORM_DESCRIPTION","FORM_RESET_DESCRIPTION","InputText","label","EMAIL_LABEL","required","email","PASSWORD_LABEL","password","View","actions","Action","tag","disabled","onPress","ACTION_RESET","ACTION_BACK","notification","NOTIFICATION_ERROR","Button","large","button","CTA_RESET","CTA","success","NOTIFICATION_SUCCESS_RESET","ACTION_SIGNUP","propTypes","PropTypes","bool","func"],"sources":["../../../src/components/Session/Session.Login.Modal.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport { useLocale } from '@mirai/locale';\nimport { ServiceUser } from '@mirai/services';\nimport { Action, Button, Form, InputText, Modal as ModalBase, Notification, styles, Text, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { useEffect, useState } from 'react';\n\nimport { getSignupUrl, trackLogin } from './helpers';\nimport { AUTH_TYPE, MODE, URL_PARAMS } from './Session.constants';\nimport { L10N } from './Session.l10n';\nimport * as style from './Session.module.css';\n\nconst { ACTIVATE, ACTIVATE_ERROR, FINISH_SIGNUP } = MODE;\n\nconst Modal = ({ visible: propVisible, onClose, ...others }) => {\n const { translate } = useLocale();\n const {\n set,\n value: { club = {}, cookies = {}, id, language, session, urlParams = {} },\n } = useStore();\n\n const [busy, setBusy] = useState(false);\n const [form, setForm] = useState({});\n const [formError, setFormError] = useState({});\n const [visible, setVisible] = useState(propVisible);\n const [mode, setMode] = useState();\n const [resetPassword, setResetPassword] = useState(false);\n const [response, setResponse] = useState();\n const [responseError, setResponseError] = useState();\n\n useEffect(() => {\n activate();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => setVisible(propVisible), [propVisible]);\n\n useEffect(() => {\n if (visible) {\n setResetPassword(false);\n setForm({});\n setFormError({ touched: false });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [visible]);\n\n useEffect(() => {\n setResponse();\n setResponseError();\n }, [resetPassword]);\n\n useEffect(() => {\n setResponseError();\n set({ login: form });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [form]);\n\n const activate = () => {\n const params = {};\n\n Object.keys(URL_PARAMS).forEach(\n (key) => URL_PARAMS[key].includes(urlParams[key]) && (params[key] = urlParams[key]),\n );\n\n if (params.login === FINISH_SIGNUP) {\n setMode(params.login);\n setVisible(true);\n }\n\n if (urlParams.idclub && urlParams.key) {\n (async () => {\n try {\n await ServiceUser.activate(urlParams.idclub, urlParams.key);\n setMode(ACTIVATE);\n } catch (error) {\n setMode(ACTIVATE_ERROR);\n } finally {\n setVisible(true);\n }\n })();\n }\n const { authentication: { type = AUTH_TYPE.MIRAI } = {} } = club;\n type === AUTH_TYPE.PESTANA && pestanaLogin();\n };\n\n // ! Should refactor\n const pestanaLogin = async () => {\n const { pestana: token } = cookies;\n\n if (session) {\n !token && set({ session: undefined });\n return;\n }\n\n const response =\n token &&\n (await ServiceUser.pestanaLogin(token).catch((error) => {\n setResponseError(error);\n }));\n\n if (!response) return;\n\n set({ session: response });\n };\n\n const handleSubmit = async (value) => {\n setBusy(true);\n setResponseError(undefined);\n\n const props = { ...value, idClub: club.id, idHotel: id };\n const method = resetPassword ? 'resetPassword' : 'login';\n const response = await ServiceUser[method](props).catch((error) => {\n setResponseError(error);\n });\n\n if (response) {\n setResponse(response);\n if (!resetPassword) {\n set({ session: response });\n trackLogin(response);\n }\n }\n setBusy(false);\n };\n\n const handleSignup = () => {\n const url = getSignupUrl({ id, language });\n\n document.location.href = url;\n };\n\n const handleResetPassword = () => {\n setResetPassword(!resetPassword);\n };\n\n return (\n <ModalBase\n visible={visible}\n title={translate(!resetPassword ? L10N.TITLE : L10N.TITLE_RESET)}\n onClose={onClose}\n className={style.modal}\n >\n {!(response && resetPassword) ? (\n <Form\n {...others}\n validateOnMount\n onChange={setForm}\n onError={setFormError}\n onSubmit={handleSubmit}\n className={style.offset}\n >\n {[ACTIVATE, FINISH_SIGNUP].includes(mode) && !resetPassword && (\n <Notification info className={style.info}>\n <Text bold>{translate(L10N.NOTIFICATION_FINISH_SIGNUP_TITLE)}</Text>\n <Text>{translate(L10N.NOTIFICATION_FINISH_SIGNUP_DESCRIPTION, { clubName: club.name })}</Text>\n </Notification>\n )}\n\n {mode === ACTIVATE_ERROR && (\n <Notification error className={style.info}>\n <Text bold>{translate(L10N.NOTIFICATION_FINISH_SIGNUP_ERROR)}</Text>\n </Notification>\n )}\n\n {(mode !== FINISH_SIGNUP || resetPassword) && (\n <Text className={styles(style.description, style.wide)}>\n {translate(!resetPassword ? L10N.FORM_DESCRIPTION : L10N.FORM_RESET_DESCRIPTION)}\n </Text>\n )}\n <InputText name=\"email\" label={translate(L10N.EMAIL_LABEL)} required type=\"email\" value={form.email} />\n\n {!resetPassword && (\n <InputText\n name=\"password\"\n label={translate(L10N.PASSWORD_LABEL)}\n required\n type=\"password\"\n value={form.password}\n />\n )}\n {!resetPassword && (\n <View wide className={style.actions}>\n <Action tag=\"div\" disabled={busy} onPress={handleResetPassword}>\n {translate(!resetPassword ? L10N.ACTION_RESET : L10N.ACTION_BACK)}\n </Action>\n </View>\n )}\n\n {!busy && responseError && (\n <Notification error className={style.notification}>\n {translate(L10N.NOTIFICATION_ERROR)}\n </Notification>\n )}\n\n <Button\n busy={busy}\n disabled={Object.keys(formError).length !== 0}\n large\n type=\"submit\"\n wide\n onPress={() => {}}\n className={style.button}\n >\n {translate(resetPassword ? L10N.CTA_RESET : L10N.CTA)}\n </Button>\n </Form>\n ) : (\n <Notification large success className={style.offset}>\n {translate(L10N.NOTIFICATION_SUCCESS_RESET)}\n </Notification>\n )}\n\n {(mode !== FINISH_SIGNUP || resetPassword) && (\n <Action tag=\"div\" disabled={busy} large onPress={resetPassword ? handleResetPassword : handleSignup} wide>\n {translate(resetPassword ? L10N.ACTION_BACK : L10N.ACTION_SIGNUP)}\n </Action>\n )}\n </ModalBase>\n );\n};\n\nModal.displayName = 'Mirai:User:Session:Login.Modal';\n\nModal.propTypes = {\n activate: PropTypes.bool,\n visible: PropTypes.bool,\n onClose: PropTypes.func,\n};\n\nexport { Modal };\n"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,IAAAM,MAAA,GAAAC,uBAAA,CAAAP,OAAA;AAEA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AACA,IAAAU,SAAA,GAAAV,OAAA;AACA,IAAAW,KAAA,GAAAJ,uBAAA,CAAAP,OAAA;AAA8C,IAAAY,SAAA;AAAA,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBA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AI,CAAC8C,0BAA0B,CAC9B,CACf,EAEA,CAAC1G,IAAI,KAAKzC,aAAa,IAAI6C,aAAa,kBACvC3O,MAAA,CAAAe,OAAA,CAAAkR,aAAA,CAACpS,GAAA,CAAAsU,MAAM;IAACC,GAAG,EAAC,KAAK;IAACC,QAAQ,EAAE7G,IAAK;IAACoH,KAAK;IAACN,OAAO,EAAE3F,aAAa,GAAGqD,mBAAmB,GAAGN,YAAa;IAAC6B,IAAI;EAAA,GACtG/G,SAAS,CAACmC,aAAa,GAAGwD,cAAI,CAACqC,WAAW,GAAGrC,cAAI,CAAC+C,aAAa,CAC1D,CAED,CAAC;AAEhB,CAAC;AAEDnJ,KAAK,CAAC7D,WAAW,GAAG,gCAAgC;AAEpD6D,KAAK,CAACoJ,SAAS,GAAG;EAChB7F,QAAQ,EAAE8F,kBAAS,CAACC,IAAI;EACxBlJ,OAAO,EAAEiJ,kBAAS,CAACC,IAAI;EACvBjJ,OAAO,EAAEgJ,kBAAS,CAACE;AACrB,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.Login = void 0;
|
|
8
|
+
var _dataSources = require("@mirai/data-sources");
|
|
9
|
+
var _locale = require("@mirai/locale");
|
|
10
|
+
var _ui = require("@mirai/ui");
|
|
11
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
13
|
+
var _Session = require("./Session.constants");
|
|
14
|
+
var _Session2 = require("./Session.l10n");
|
|
15
|
+
var _SessionLogin = require("./Session.Login.Modal");
|
|
16
|
+
var style = _interopRequireWildcard(require("./Session.module.css"));
|
|
17
|
+
var _helpers = require("../helpers");
|
|
18
|
+
var _excluded = ["ghost"];
|
|
19
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
20
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
23
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
24
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
25
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
26
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
27
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
28
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
29
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
30
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
31
|
+
var Login = exports.Login = function Login(_ref) {
|
|
32
|
+
var ghost = _ref.ghost,
|
|
33
|
+
others = _objectWithoutProperties(_ref, _excluded);
|
|
34
|
+
var _useLocale = (0, _locale.useLocale)(),
|
|
35
|
+
translate = _useLocale.translate;
|
|
36
|
+
var _useStore = (0, _dataSources.useStore)(),
|
|
37
|
+
_useStore$value = _useStore.value,
|
|
38
|
+
_useStore$value$club = _useStore$value.club,
|
|
39
|
+
club = _useStore$value$club === void 0 ? {} : _useStore$value$club,
|
|
40
|
+
id = _useStore$value.id,
|
|
41
|
+
language = _useStore$value.language;
|
|
42
|
+
var _useState = (0, _react.useState)(false),
|
|
43
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
44
|
+
modal = _useState2[0],
|
|
45
|
+
setModal = _useState2[1];
|
|
46
|
+
var handlePress = function handlePress() {
|
|
47
|
+
var _club$authentication = club.authentication,
|
|
48
|
+
_club$authentication2 = _club$authentication === void 0 ? {} : _club$authentication,
|
|
49
|
+
_club$authentication3 = _club$authentication2.type,
|
|
50
|
+
type = _club$authentication3 === void 0 ? _Session.AUTH_TYPE.MIRAI : _club$authentication3;
|
|
51
|
+
if (type === _Session.AUTH_TYPE.MIRAI) return setModal(true);
|
|
52
|
+
var url = "".concat(process.env.SERVICE_USER, "/").concat(_Session.ENDPOINT.EXTERNAL_LOGIN).concat((0, _helpers.toUrlParams)({
|
|
53
|
+
idtokenprovider: id,
|
|
54
|
+
domain: document.location.href,
|
|
55
|
+
lang: language
|
|
56
|
+
}));
|
|
57
|
+
document.location.href = url;
|
|
58
|
+
};
|
|
59
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_ui.Pressable, {
|
|
60
|
+
role: "login",
|
|
61
|
+
onPress: handlePress,
|
|
62
|
+
dangerouslySetInnerHTML: ghost ? {
|
|
63
|
+
__html: ghost.outerHTML
|
|
64
|
+
} : undefined
|
|
65
|
+
}, !ghost ? /*#__PURE__*/_react.default.createElement(_ui.View, {
|
|
66
|
+
row: true
|
|
67
|
+
}, /*#__PURE__*/_react.default.createElement(_ui.Icon, {
|
|
68
|
+
role: "content",
|
|
69
|
+
value: _helpers.ICON.ACCOUNT,
|
|
70
|
+
className: style.icon
|
|
71
|
+
}), /*#__PURE__*/_react.default.createElement(_ui.Text, {
|
|
72
|
+
role: "content",
|
|
73
|
+
className: style.label
|
|
74
|
+
}, translate(_Session2.L10N.ACTION_MODAL))) : undefined), /*#__PURE__*/_react.default.createElement(_SessionLogin.Modal, _extends({}, others, {
|
|
75
|
+
visible: modal,
|
|
76
|
+
onClose: function onClose() {
|
|
77
|
+
return setModal(false);
|
|
78
|
+
}
|
|
79
|
+
})));
|
|
80
|
+
};
|
|
81
|
+
Login.displayName = 'Mirai:User:Session:Login';
|
|
82
|
+
Login.propTypes = {
|
|
83
|
+
ghost: _propTypes.default.any
|
|
84
|
+
};
|
|
85
|
+
//# sourceMappingURL=Session.Login.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Session.Login.js","names":["_dataSources","require","_locale","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_Session","_Session2","_SessionLogin","style","_helpers","_excluded","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","_slicedToArray","arr","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","len","arr2","r","l","t","Symbol","iterator","e","u","a","f","next","done","push","value","return","isArray","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","keys","Login","exports","_ref","ghost","others","_useLocale","useLocale","translate","_useStore","useStore","_useStore$value","_useStore$value$club","club","id","language","_useState","useState","_useState2","modal","setModal","handlePress","_club$authentication","authentication","_club$authentication2","_club$authentication3","type","AUTH_TYPE","MIRAI","url","concat","process","env","SERVICE_USER","ENDPOINT","EXTERNAL_LOGIN","toUrlParams","idtokenprovider","domain","document","location","href","lang","createElement","Fragment","Pressable","role","onPress","dangerouslySetInnerHTML","__html","outerHTML","undefined","View","row","Icon","ICON","ACCOUNT","className","icon","Text","label","L10N","ACTION_MODAL","Modal","visible","onClose","displayName","propTypes","PropTypes","any"],"sources":["../../../src/components/Session/Session.Login.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport { useLocale } from '@mirai/locale';\nimport { Icon, Pressable, Text, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { useState } from 'react';\n\nimport { AUTH_TYPE, ENDPOINT } from './Session.constants';\nimport { L10N } from './Session.l10n';\nimport { Modal } from './Session.Login.Modal';\nimport * as style from './Session.module.css';\nimport { ICON, toUrlParams } from '../helpers';\n\nconst Login = ({ ghost, ...others }) => {\n const { translate } = useLocale();\n const {\n value: { club = {}, id, language },\n } = useStore();\n\n const [modal, setModal] = useState(false);\n\n const handlePress = () => {\n const { authentication: { type = AUTH_TYPE.MIRAI } = {} } = club;\n if (type === AUTH_TYPE.MIRAI) return setModal(true);\n\n const url = `${process.env.SERVICE_USER}/${ENDPOINT.EXTERNAL_LOGIN}${toUrlParams({\n idtokenprovider: id,\n domain: document.location.href,\n lang: language,\n })}`;\n document.location.href = url;\n };\n\n return (\n <>\n <Pressable\n role=\"login\"\n onPress={handlePress}\n dangerouslySetInnerHTML={ghost ? { __html: ghost.outerHTML } : undefined}\n >\n {!ghost ? (\n <View row>\n <Icon role=\"content\" value={ICON.ACCOUNT} className={style.icon} />\n <Text role=\"content\" className={style.label}>\n {translate(L10N.ACTION_MODAL)}\n </Text>\n </View>\n ) : undefined}\n </Pressable>\n\n <Modal {...others} visible={modal} onClose={() => setModal(false)} />\n </>\n );\n};\n\nLogin.displayName = 'Mirai:User:Session:Login';\n\nLogin.propTypes = {\n ghost: PropTypes.any,\n};\n\nex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,GAAG;EAChB/D,KAAK,EAAEgE,kBAAS,CAACC;AACnB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.URL_PARAMS = exports.TRACKING = exports.MODE = exports.ENDPOINT = exports.AUTH_TYPE = void 0;
|
|
7
|
+
var AUTH_TYPE = exports.AUTH_TYPE = {
|
|
8
|
+
MIRAI: 1,
|
|
9
|
+
PESTANA: 3
|
|
10
|
+
};
|
|
11
|
+
var ENDPOINT = exports.ENDPOINT = {
|
|
12
|
+
EXTERNAL_LOGIN: 'club/v1/forwarder/login',
|
|
13
|
+
EXTERNAL_LOGOUT: 'club/v1/forwarder/logout',
|
|
14
|
+
PROFILE: 'club/v1/forwarder/members_area',
|
|
15
|
+
SIGNUP: 'club/v1/forwarder/registration_process'
|
|
16
|
+
};
|
|
17
|
+
var MODE = exports.MODE = {
|
|
18
|
+
ACTIVATE: 'ACTIVATE',
|
|
19
|
+
ACTIVATE_ERROR: 'ACTIVATE_ERROR',
|
|
20
|
+
FINISH_SIGNUP: 'FINISH_SIGNUP'
|
|
21
|
+
};
|
|
22
|
+
var TRACKING = exports.TRACKING = 'SESSION';
|
|
23
|
+
var URL_PARAMS = exports.URL_PARAMS = {
|
|
24
|
+
login: [MODE.FINISH_SIGNUP]
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=Session.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Session.constants.js","names":["AUTH_TYPE","exports","MIRAI","PESTANA","ENDPOINT","EXTERNAL_LOGIN","EXTERNAL_LOGOUT","PROFILE","SIGNUP","MODE","ACTIVATE","ACTIVATE_ERROR","FINISH_SIGNUP","TRACKING","URL_PARAMS","login"],"sources":["../../../src/components/Session/Session.constants.js"],"sourcesContent":["const AUTH_TYPE = {\n MIRAI: 1,\n PESTANA: 3,\n};\n\nconst ENDPOINT = {\n EXTERNAL_LOGIN: 'club/v1/forwarder/login',\n EXTERNAL_LOGOUT: 'club/v1/forwarder/logout',\n PROFILE: 'club/v1/forwarder/members_area',\n SIGNUP: 'club/v1/forwarder/registration_process',\n};\n\nconst MODE = {\n ACTIVATE: 'ACTIVATE',\n ACTIVATE_ERROR: 'ACTIVATE_ERROR',\n FINISH_SIGNUP: 'FINISH_SIGNUP',\n};\n\nconst TRACKING = 'SESSION';\n\nconst URL_PARAMS = {\n login: [MODE.FINISH_SIGNUP],\n};\n\nexport { AUTH_TYPE, ENDPOINT, MODE, TRACKING, URL_PARAMS };\n"],"mappings":";;;;;;AAAA,IAAMA,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAG;EAChBE,KAAK,EAAE,CAAC;EACRC,OAAO,EAAE;AACX,CAAC;AAED,IAAMC,QAAQ,GAAAH,OAAA,CAAAG,QAAA,GAAG;EACfC,cAAc,EAAE,yBAAyB;EACzCC,eAAe,EAAE,0BAA0B;EAC3CC,OAAO,EAAE,gCAAgC;EACzCC,MAAM,EAAE;AACV,CAAC;AAED,IAAMC,IAAI,GAAAR,OAAA,CAAAQ,IAAA,GAAG;EACXC,QAAQ,EAAE,UAAU;EACpBC,cAAc,EAAE,gBAAgB;EAChCC,aAAa,EAAE;AACjB,CAAC;AAED,IAAMC,QAAQ,GAAAZ,OAAA,CAAAY,QAAA,GAAG,SAAS;AAE1B,IAAMC,UAAU,GAAAb,OAAA,CAAAa,UAAA,GAAG;EACjBC,KAAK,EAAE,CAACN,IAAI,CAACG,aAAa;AAC5B,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.Session = void 0;
|
|
8
|
+
var _dataSources = require("@mirai/data-sources");
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _Session = require("./Session.Account");
|
|
12
|
+
var _Session2 = require("./Session.Login");
|
|
13
|
+
var _excluded = ["ghost"];
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
18
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
19
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
20
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
21
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
22
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
23
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
24
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
25
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
26
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
27
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
28
|
+
var Session = exports.Session = function Session(_ref) {
|
|
29
|
+
var ghost = _ref.ghost,
|
|
30
|
+
others = _objectWithoutProperties(_ref, _excluded);
|
|
31
|
+
var _useStore = (0, _dataSources.useStore)(),
|
|
32
|
+
_useStore$value = _useStore.value,
|
|
33
|
+
session = _useStore$value.session,
|
|
34
|
+
_useStore$value$club = _useStore$value.club,
|
|
35
|
+
_useStore$value$club2 = _useStore$value$club === void 0 ? {} : _useStore$value$club,
|
|
36
|
+
_useStore$value$club3 = _useStore$value$club2.active,
|
|
37
|
+
active = _useStore$value$club3 === void 0 ? true : _useStore$value$club3;
|
|
38
|
+
var _ref2 = (ghost === null || ghost === void 0 ? void 0 : ghost.children) || [],
|
|
39
|
+
_ref3 = _slicedToArray(_ref2, 2),
|
|
40
|
+
ghostLogin = _ref3[0],
|
|
41
|
+
ghostAccount = _ref3[1];
|
|
42
|
+
return active ? /*#__PURE__*/_react.default.createElement(session ? _Session.Account : _Session2.Login, _objectSpread(_objectSpread({}, others), {}, {
|
|
43
|
+
ghost: session ? ghostAccount : ghostLogin
|
|
44
|
+
})) : undefined;
|
|
45
|
+
};
|
|
46
|
+
Session.displayName = 'Mirai:User:Session';
|
|
47
|
+
Session.propTypes = {
|
|
48
|
+
ghost: _propTypes.default.any
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=Session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Session.js","names":["_dataSources","require","_propTypes","_interopRequireDefault","_react","_Session","_Session2","_excluded","obj","__esModule","default","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","key","value","_toPropertyKey","configurable","writable","arg","_toPrimitive","_typeof","String","input","hint","prim","Symbol","toPrimitive","undefined","res","call","TypeError","Number","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","minLen","_arrayLikeToArray","n","prototype","toString","slice","constructor","name","Array","from","test","len","arr2","l","iterator","u","a","f","next","done","return","isArray","_objectWithoutProperties","source","excluded","target","_objectWithoutPropertiesLoose","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","Session","exports","_ref","ghost","others","_useStore","useStore","_useStore$value","session","_useStore$value$club","club","_useStore$value$club2","_useStore$value$club3","active","_ref2","children","_ref3","ghostLogin","ghostAccount","React","createElement","Account","Login","displayName","propTypes","PropTypes","any"],"sources":["../../../src/components/Session/Session.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { Account } from './Session.Account';\nimport { Login } from './Session.Login';\n\nconst Session = ({ ghost, ...others }) => {\n const {\n value: { session, club: { active = true } = {} },\n } = useStore();\n\n const [ghostLogin, ghostAccount] = ghost?.children || [];\n\n return active\n ? React.createElement(session ? Account : Login, { ...others, ghost: session ? ghostAccount : ghostLogin })\n : undefined;\n};\n\nSession.displayName = 'Mirai:User:Session';\n\nSession.propTypes = {\n ghost: PropTypes.any,\n};\n\nexport { Session };\n"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,OAAA;AAEA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AAAwC,IAAAM,SAAA;AAAA,SAAAJ,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,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AAF,oBAAA,cAAsB,CAAC,CAAC,GAAAA,oBAAA;IAAAG,qBAAA,GAAAD,qBAAA,CAApBE,MAAM;IAANA,MAAM,GAAAD,qBAAA,cAAG,IAAI,GAAAA,qBAAA;EAGzC,IAAAE,KAAA,GAAmC,CAAAX,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEY,QAAQ,KAAI,EAAE;IAAAC,KAAA,GAAAtD,cAAA,CAAAoD,KAAA;IAAjDG,UAAU,GAAAD,KAAA;IAAEE,YAAY,GAAAF,KAAA;EAE/B,OAAOH,MAAM,gBACTM,cAAK,CAACC,aAAa,CAACZ,OAAO,GAAGa,gBAAO,GAAGC,eAAK,EAAAvF,aAAA,CAAAA,aAAA,KAAOqE,MAAM;IAAED,KAAK,EAAEK,OAAO,GAAGU,YAAY,GAAGD;EAAU,EAAE,CAAC,GACzG5D,SAAS;AACf,CAAC;AAED2C,OAAO,CAACuB,WAAW,GAAG,oBAAoB;AAE1CvB,OAAO,CAACwB,SAAS,GAAG;EAClBrB,KAAK,EAAEsB,kBAAS,CAACC;AACnB,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.L10N = void 0;
|
|
7
|
+
var L10N = exports.L10N = {
|
|
8
|
+
ACTION_ACCOUNT: {
|
|
9
|
+
id: 'user.action.my_account'
|
|
10
|
+
},
|
|
11
|
+
ACTION_MODAL: {
|
|
12
|
+
id: 'common.action.login'
|
|
13
|
+
},
|
|
14
|
+
ACTION_BACK: {
|
|
15
|
+
id: 'user.action.back_login'
|
|
16
|
+
},
|
|
17
|
+
ACTION_BOOKINGS: {
|
|
18
|
+
id: 'user.action.view_bookings'
|
|
19
|
+
},
|
|
20
|
+
ACTION_CHANGE_PASSWORD: {
|
|
21
|
+
id: 'user.action.change_login_password'
|
|
22
|
+
},
|
|
23
|
+
ACTION_PROFILE: {
|
|
24
|
+
id: 'user.action.view_profile'
|
|
25
|
+
},
|
|
26
|
+
ACTION_RESET: {
|
|
27
|
+
id: 'user.action.reset'
|
|
28
|
+
},
|
|
29
|
+
ACTION_SIGNUP: {
|
|
30
|
+
id: 'user.action.signup'
|
|
31
|
+
},
|
|
32
|
+
CTA: {
|
|
33
|
+
id: 'common.action.login'
|
|
34
|
+
},
|
|
35
|
+
CTA_RESET: {
|
|
36
|
+
id: 'user.action.cta_reset'
|
|
37
|
+
},
|
|
38
|
+
CTA_LOGOUT: {
|
|
39
|
+
id: 'common.action.logout'
|
|
40
|
+
},
|
|
41
|
+
FORM_DESCRIPTION: {
|
|
42
|
+
id: 'user.label.form_description'
|
|
43
|
+
},
|
|
44
|
+
FORM_RESET_DESCRIPTION: {
|
|
45
|
+
id: 'user.label.form_reset_description'
|
|
46
|
+
},
|
|
47
|
+
EMAIL_LABEL: {
|
|
48
|
+
id: 'common.label.email'
|
|
49
|
+
},
|
|
50
|
+
LEVEL: {
|
|
51
|
+
id: 'user.label.level'
|
|
52
|
+
},
|
|
53
|
+
PASSWORD_LABEL: {
|
|
54
|
+
id: 'common.label.password'
|
|
55
|
+
},
|
|
56
|
+
TITLE: {
|
|
57
|
+
id: 'user.label.title_session'
|
|
58
|
+
},
|
|
59
|
+
TITLE_RESET: {
|
|
60
|
+
id: 'user.action.reset'
|
|
61
|
+
},
|
|
62
|
+
TITLE_WELCOME: {
|
|
63
|
+
id: 'user.label.title_welcome'
|
|
64
|
+
},
|
|
65
|
+
NOTIFICATION_ERROR: {
|
|
66
|
+
id: 'common.notification.error_unknown'
|
|
67
|
+
},
|
|
68
|
+
NOTIFICATION_FINISH_SIGNUP_TITLE: {
|
|
69
|
+
id: 'user.notification.activation_success'
|
|
70
|
+
},
|
|
71
|
+
NOTIFICATION_FINISH_SIGNUP_DESCRIPTION: {
|
|
72
|
+
id: 'user.notification.finish_signup_description'
|
|
73
|
+
},
|
|
74
|
+
NOTIFICATION_FINISH_SIGNUP_ERROR: {
|
|
75
|
+
id: 'user.notification.validation_error'
|
|
76
|
+
},
|
|
77
|
+
NOTIFICATION_SUCCESS_RESET: {
|
|
78
|
+
id: 'user.notification.success_reset'
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=Session.l10n.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Session.l10n.js","names":["L10N","exports","ACTION_ACCOUNT","id","ACTION_MODAL","ACTION_BACK","ACTION_BOOKINGS","ACTION_CHANGE_PASSWORD","ACTION_PROFILE","ACTION_RESET","ACTION_SIGNUP","CTA","CTA_RESET","CTA_LOGOUT","FORM_DESCRIPTION","FORM_RESET_DESCRIPTION","EMAIL_LABEL","LEVEL","PASSWORD_LABEL","TITLE","TITLE_RESET","TITLE_WELCOME","NOTIFICATION_ERROR","NOTIFICATION_FINISH_SIGNUP_TITLE","NOTIFICATION_FINISH_SIGNUP_DESCRIPTION","NOTIFICATION_FINISH_SIGNUP_ERROR","NOTIFICATION_SUCCESS_RESET"],"sources":["../../../src/components/Session/Session.l10n.js"],"sourcesContent":["export const L10N = {\n ACTION_ACCOUNT: { id: 'user.action.my_account' },\n ACTION_MODAL: { id: 'common.action.login' },\n ACTION_BACK: { id: 'user.action.back_login' },\n ACTION_BOOKINGS: { id: 'user.action.view_bookings' },\n ACTION_CHANGE_PASSWORD: { id: 'user.action.change_login_password' },\n ACTION_PROFILE: { id: 'user.action.view_profile' },\n ACTION_RESET: { id: 'user.action.reset' },\n ACTION_SIGNUP: { id: 'user.action.signup' },\n CTA: { id: 'common.action.login' },\n CTA_RESET: { id: 'user.action.cta_reset' },\n CTA_LOGOUT: { id: 'common.action.logout' },\n FORM_DESCRIPTION: { id: 'user.label.form_description' },\n FORM_RESET_DESCRIPTION: { id: 'user.label.form_reset_description' },\n EMAIL_LABEL: { id: 'common.label.email' },\n LEVEL: { id: 'user.label.level' },\n PASSWORD_LABEL: { id: 'common.label.password' },\n TITLE: { id: 'user.label.title_session' },\n TITLE_RESET: { id: 'user.action.reset' },\n TITLE_WELCOME: { id: 'user.label.title_welcome' },\n NOTIFICATION_ERROR: { id: 'common.notification.error_unknown' },\n NOTIFICATION_FINISH_SIGNUP_TITLE: { id: 'user.notification.activation_success' },\n NOTIFICATION_FINISH_SIGNUP_DESCRIPTION: { id: 'user.notification.finish_signup_description' },\n NOTIFICATION_FINISH_SIGNUP_ERROR: { id: 'user.notification.validation_error' },\n NOTIFICATION_SUCCESS_RESET: { id: 'user.notification.success_reset' },\n};\n"],"mappings":";;;;;;AAAO,IAAMA,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,cAAc,EAAE;IAAEC,EAAE,EAAE;EAAyB,CAAC;EAChDC,YAAY,EAAE;IAAED,EAAE,EAAE;EAAsB,CAAC;EAC3CE,WAAW,EAAE;IAAEF,EAAE,EAAE;EAAyB,CAAC;EAC7CG,eAAe,EAAE;IAAEH,EAAE,EAAE;EAA4B,CAAC;EACpDI,sBAAsB,EAAE;IAAEJ,EAAE,EAAE;EAAoC,CAAC;EACnEK,cAAc,EAAE;IAAEL,EAAE,EAAE;EAA2B,CAAC;EAClDM,YAAY,EAAE;IAAEN,EAAE,EAAE;EAAoB,CAAC;EACzCO,aAAa,EAAE;IAAEP,EAAE,EAAE;EAAqB,CAAC;EAC3CQ,GAAG,EAAE;IAAER,EAAE,EAAE;EAAsB,CAAC;EAClCS,SAAS,EAAE;IAAET,EAAE,EAAE;EAAwB,CAAC;EAC1CU,UAAU,EAAE;IAAEV,EAAE,EAAE;EAAuB,CAAC;EAC1CW,gBAAgB,EAAE;IAAEX,EAAE,EAAE;EAA8B,CAAC;EACvDY,sBAAsB,EAAE;IAAEZ,EAAE,EAAE;EAAoC,CAAC;EACnEa,WAAW,EAAE;IAAEb,EAAE,EAAE;EAAqB,CAAC;EACzCc,KAAK,EAAE;IAAEd,EAAE,EAAE;EAAmB,CAAC;EACjCe,cAAc,EAAE;IAAEf,EAAE,EAAE;EAAwB,CAAC;EAC/CgB,KAAK,EAAE;IAAEhB,EAAE,EAAE;EAA2B,CAAC;EACzCiB,WAAW,EAAE;IAAEjB,EAAE,EAAE;EAAoB,CAAC;EACxCkB,aAAa,EAAE;IAAElB,EAAE,EAAE;EAA2B,CAAC;EACjDmB,kBAAkB,EAAE;IAAEnB,EAAE,EAAE;EAAoC,CAAC;EAC/DoB,gCAAgC,EAAE;IAAEpB,EAAE,EAAE;EAAuC,CAAC;EAChFqB,sCAAsC,EAAE;IAAErB,EAAE,EAAE;EAA8C,CAAC;EAC7FsB,gCAAgC,EAAE;IAAEtB,EAAE,EAAE;EAAqC,CAAC;EAC9EuB,0BAA0B,EAAE;IAAEvB,EAAE,EAAE;EAAkC;AACtE,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.button {
|
|
2
|
+
margin-top: var(--mirai-ui-space-L);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.description {
|
|
6
|
+
margin-bottom: var(--mirai-ui-space-S);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.icon {
|
|
10
|
+
color: var(--mirai-ui-content);
|
|
11
|
+
margin-right: var(--mirai-ui-space-XS);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.icon + .label {
|
|
15
|
+
color: var(--mirai-ui-content);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.modal {
|
|
19
|
+
padding-bottom: var(--mirai-ui-space-M);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.notification {
|
|
23
|
+
margin-top: var(--mirai-ui-space-M);
|
|
24
|
+
width: 100%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.info {
|
|
28
|
+
margin-bottom: var(--mirai-ui-space-L);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.offset {
|
|
32
|
+
margin: var(--mirai-ui-space-L) var(--mirai-ui-space-L) var(--mirai-ui-space-M) var(--mirai-ui-space-L);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.actions {
|
|
36
|
+
direction: var(--mirai-ui-text-direction);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.wide {
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _ui = require("@mirai/ui");
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _shared__ = require("../__shared__");
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
var _default = exports.default = function _default() {
|
|
12
|
+
return /*#__PURE__*/_react.default.createElement(_ui.View, {
|
|
13
|
+
row: true,
|
|
14
|
+
style: {
|
|
15
|
+
gap: '1rem'
|
|
16
|
+
}
|
|
17
|
+
}, /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, null), /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, null, "Login"));
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=Session.skeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Session.skeleton.js","names":["_ui","require","_react","_interopRequireDefault","_shared__","obj","__esModule","default","_default","exports","createElement","View","row","style","gap","Skeleton"],"sources":["../../../src/components/Session/Session.skeleton.jsx"],"sourcesContent":["import { View } from '@mirai/ui';\nimport React from 'react';\n\nimport { Skeleton } from '../__shared__';\n\nexport default () => (\n <View row style={{ gap: '1rem' }}>\n <Skeleton />\n <Skeleton>Login</Skeleton>\n </View>\n);\n"],"mappings":";;;;;;AAAA,IAAAA,GAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,SAAA,GAAAH,OAAA;AAAyC,SAAAE,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAE1B,SAAAC,SAAA;EAAA,oBACbN,MAAA,CAAAK,OAAA,CAAAG,aAAA,CAACV,GAAA,CAAAW,IAAI;IAACC,GAAG;IAACC,KAAK,EAAE;MAAEC,GAAG,EAAE;IAAO;EAAE,gBAC/BZ,MAAA,CAAAK,OAAA,CAAAG,aAAA,CAACN,SAAA,CAAAW,QAAQ,MAAE,CAAC,eACZb,MAAA,CAAAK,OAAA,CAAAG,aAAA,CAACN,SAAA,CAAAW,QAAQ,QAAC,OAAe,CACrB,CAAC;AAAA,CACR"}
|