@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,122 @@
|
|
|
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.PriceBreakdown = 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 = _interopRequireDefault(require("react"));
|
|
13
|
+
var _PriceBreakdown = require("./PriceBreakdown.l10n");
|
|
14
|
+
var _PriceBreakdown2 = require("./PriceBreakdown.Line");
|
|
15
|
+
var style = _interopRequireWildcard(require("./PriceBreakdown.module.css"));
|
|
16
|
+
var _excluded = ["children", "dataSource"],
|
|
17
|
+
_excluded2 = ["error", "success", "type", "warning"],
|
|
18
|
+
_excluded3 = ["type", "amount", "fee"];
|
|
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 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; }
|
|
24
|
+
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; }
|
|
25
|
+
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; }
|
|
26
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
27
|
+
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); }
|
|
28
|
+
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; }
|
|
29
|
+
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; }
|
|
30
|
+
var PriceBreakdown = exports.PriceBreakdown = function PriceBreakdown(_ref) {
|
|
31
|
+
var children = _ref.children,
|
|
32
|
+
_ref$dataSource = _ref.dataSource,
|
|
33
|
+
_ref$dataSource2 = _ref$dataSource === void 0 ? {} : _ref$dataSource,
|
|
34
|
+
currency = _ref$dataSource2.currency,
|
|
35
|
+
_ref$dataSource2$noti = _ref$dataSource2.notification,
|
|
36
|
+
propNotification = _ref$dataSource2$noti === void 0 ? {} : _ref$dataSource2$noti,
|
|
37
|
+
_ref$dataSource2$pric = _ref$dataSource2.price,
|
|
38
|
+
_ref$dataSource2$pric2 = _ref$dataSource2$pric === void 0 ? {} : _ref$dataSource2$pric,
|
|
39
|
+
base = _ref$dataSource2$pric2.base,
|
|
40
|
+
_ref$dataSource2$pric3 = _ref$dataSource2$pric2.discounts,
|
|
41
|
+
discounts = _ref$dataSource2$pric3 === void 0 ? [] : _ref$dataSource2$pric3,
|
|
42
|
+
extras = _ref$dataSource2$pric2.extras,
|
|
43
|
+
_ref$dataSource2$pric4 = _ref$dataSource2$pric2.taxes,
|
|
44
|
+
taxes = _ref$dataSource2$pric4 === void 0 ? [] : _ref$dataSource2$pric4,
|
|
45
|
+
total = _ref$dataSource2$pric2.total,
|
|
46
|
+
value = _ref$dataSource2$pric2.value,
|
|
47
|
+
others = _objectWithoutProperties(_ref, _excluded);
|
|
48
|
+
var _useDevice = (0, _ui.useDevice)(),
|
|
49
|
+
isDesktop = _useDevice.isDesktop;
|
|
50
|
+
var _useLocale = (0, _locale.useLocale)(),
|
|
51
|
+
translate = _useLocale.translate;
|
|
52
|
+
var _useStore = (0, _dataSources.useStore)(),
|
|
53
|
+
payment = _useStore.value.payment;
|
|
54
|
+
var notification = propNotification[payment === null || payment === void 0 ? void 0 : payment.method];
|
|
55
|
+
var _ref2 = notification || {},
|
|
56
|
+
error = _ref2.error,
|
|
57
|
+
success = _ref2.success,
|
|
58
|
+
type = _ref2.type,
|
|
59
|
+
warning = _ref2.warning,
|
|
60
|
+
bindings = _objectWithoutProperties(_ref2, _excluded2);
|
|
61
|
+
return /*#__PURE__*/_react.default.createElement(_ui.View, _extends({}, others, {
|
|
62
|
+
className: (0, _ui.styles)(style.priceBreakdown, others.className)
|
|
63
|
+
}), /*#__PURE__*/_react.default.createElement(_ui.Text, {
|
|
64
|
+
bold: true,
|
|
65
|
+
headline: isDesktop
|
|
66
|
+
}, translate(_PriceBreakdown.L10N.LABEL_PRICE_SUMMARY)), /*#__PURE__*/_react.default.createElement(_ui.View, {
|
|
67
|
+
wide: true,
|
|
68
|
+
className: style.lines
|
|
69
|
+
}, /*#__PURE__*/_react.default.createElement(_PriceBreakdown2.Line, {
|
|
70
|
+
currency: currency,
|
|
71
|
+
name: translate(_PriceBreakdown.L10N.LABEL_BASE_PRICE),
|
|
72
|
+
value: base
|
|
73
|
+
}), extras && /*#__PURE__*/_react.default.createElement(_PriceBreakdown2.Line, {
|
|
74
|
+
currency: currency,
|
|
75
|
+
name: translate(_PriceBreakdown.L10N.LABEL_EXTRAS),
|
|
76
|
+
value: extras
|
|
77
|
+
}), discounts.map(function (_ref3) {
|
|
78
|
+
var type = _ref3.type,
|
|
79
|
+
amount = _ref3.amount;
|
|
80
|
+
return /*#__PURE__*/_react.default.createElement(_PriceBreakdown2.Line, {
|
|
81
|
+
currency: currency,
|
|
82
|
+
key: type,
|
|
83
|
+
name: translate(_PriceBreakdown.L10N["LABEL_CHECKOUT_DISCOUNT_".concat(type).toUpperCase()]),
|
|
84
|
+
value: -amount
|
|
85
|
+
});
|
|
86
|
+
}), taxes.map(function () {
|
|
87
|
+
var _ref4 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
88
|
+
_ref4$type = _ref4.type,
|
|
89
|
+
type = _ref4$type === void 0 ? 0 : _ref4$type,
|
|
90
|
+
amount = _ref4.amount,
|
|
91
|
+
_ref4$fee = _ref4.fee,
|
|
92
|
+
fee = _ref4$fee === void 0 ? false : _ref4$fee,
|
|
93
|
+
bindings = _objectWithoutProperties(_ref4, _excluded3);
|
|
94
|
+
var index = arguments.length > 1 ? arguments[1] : undefined;
|
|
95
|
+
return /*#__PURE__*/_react.default.createElement(_PriceBreakdown2.Line, {
|
|
96
|
+
currency: currency,
|
|
97
|
+
key: index,
|
|
98
|
+
name: translate(_PriceBreakdown.L10N["NOTIFICATION_CHECKOUT_".concat(fee ? 'FEE' : 'TAX', "_").concat(type)], _objectSpread({
|
|
99
|
+
type: type
|
|
100
|
+
}, bindings)),
|
|
101
|
+
value: amount
|
|
102
|
+
});
|
|
103
|
+
}), /*#__PURE__*/_react.default.createElement(_PriceBreakdown2.Line, {
|
|
104
|
+
bold: true,
|
|
105
|
+
currency: currency,
|
|
106
|
+
name: translate(_PriceBreakdown.L10N.LABEL_TOTAL),
|
|
107
|
+
value: total || value
|
|
108
|
+
}), notification && /*#__PURE__*/_react.default.createElement(_ui.Notification, {
|
|
109
|
+
inline: true,
|
|
110
|
+
small: true,
|
|
111
|
+
warning: warning,
|
|
112
|
+
success: success,
|
|
113
|
+
error: error,
|
|
114
|
+
className: style.notification
|
|
115
|
+
}, translate(_PriceBreakdown.L10N["NOTIFICATION_CHECKOUT_PRICE_".concat(type)], bindings))), children);
|
|
116
|
+
};
|
|
117
|
+
PriceBreakdown.displayName = 'Mirai:User:components.PriceBreakdown';
|
|
118
|
+
PriceBreakdown.propTypes = {
|
|
119
|
+
children: _propTypes.default.any,
|
|
120
|
+
dataSource: _propTypes.default.any
|
|
121
|
+
};
|
|
122
|
+
//# sourceMappingURL=PriceBreakdown.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PriceBreakdown.js","names":["_dataSources","require","_locale","_ui","_propTypes","_interopRequireDefault","_react","_PriceBreakdown","_PriceBreakdown2","style","_interopRequireWildcard","_excluded","_excluded2","_excluded3","_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","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","PriceBreakdown","exports","_ref","children","_ref$dataSource","dataSource","_ref$dataSource2","currency","_ref$dataSource2$noti","notification","propNotification","_ref$dataSource2$pric","price","_ref$dataSource2$pric2","base","_ref$dataSource2$pric3","discounts","extras","_ref$dataSource2$pric4","taxes","total","others","_useDevice","useDevice","isDesktop","_useLocale","useLocale","translate","_useStore","useStore","payment","method","_ref2","error","success","type","warning","bindings","createElement","View","className","styles","priceBreakdown","Text","bold","headline","L10N","LABEL_PRICE_SUMMARY","wide","lines","Line","name","LABEL_BASE_PRICE","LABEL_EXTRAS","map","_ref3","amount","concat","toUpperCase","_ref4","_ref4$type","_ref4$fee","fee","index","LABEL_TOTAL","Notification","inline","small","displayName","propTypes","PropTypes","any"],"sources":["../../../../src/components/__shared__/PriceBreakdown/PriceBreakdown.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport { useLocale } from '@mirai/locale';\nimport { styles, Notification, Text, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { L10N } from './PriceBreakdown.l10n';\nimport { Line } from './PriceBreakdown.Line';\nimport * as style from './PriceBreakdown.module.css';\n\nconst PriceBreakdown = ({\n children,\n dataSource: {\n currency,\n notification: propNotification = {},\n price: { base, discounts = [], extras, taxes = [], total, value } = {},\n } = {},\n ...others\n}) => {\n const { isDesktop } = useDevice();\n const { translate } = useLocale();\n const {\n value: { payment },\n } = useStore();\n\n const notification = propNotification[payment?.method];\n const { error, success, type, warning, ...bindings } = notification || {};\n\n return (\n <View {...others} className={styles(style.priceBreakdown, others.className)}>\n <Text bold headline={isDesktop}>\n {translate(L10N.LABEL_PRICE_SUMMARY)}\n </Text>\n\n <View wide className={style.lines}>\n <Line currency={currency} name={translate(L10N.LABEL_BASE_PRICE)} value={base} />\n {extras && <Line currency={currency} name={translate(L10N.LABEL_EXTRAS)} value={extras} />}\n {discounts.map(({ type, amount }) => (\n <Line\n currency={currency}\n key={type}\n name={translate(L10N[`LABEL_CHECKOUT_DISCOUNT_${type}`.toUpperCase()])}\n value={-amount}\n />\n ))}\n {taxes.map(({ type = 0, amount, fee = false, ...bindings } = {}, index) => (\n <Line\n currency={currency}\n key={index}\n name={translate(L10N[`NOTIFICATION_CHECKOUT_${fee ? 'FEE' : 'TAX'}_${type}`], { type, ...bindings })}\n value={amount}\n />\n ))}\n\n <Line bold currency={currency} name={translate(L10N.LABEL_TOTAL)} value={total || value} />\n\n {notification && (\n <Notification inline small {...{ warning, success, error }} className={style.notification}>\n {translate(L10N[`NOTIFICATION_CHECKOUT_PRICE_${type}`], bindings)}\n </Notification>\n )}\n </View>\n\n {children}\n </View>\n );\n};\n\nPriceBreakdown.displayName = 'M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;IAAO,CACf,CAAC;EAAA,CACH,CAAC,eAEFtI,MAAA,CAAAgB,OAAA,CAAAoG,aAAA,CAAClH,gBAAA,CAAA8H,IAAI;IAACN,IAAI;IAACrC,QAAQ,EAAEA,QAAS;IAAC4C,IAAI,EAAExB,SAAS,CAACmB,oBAAI,CAACkB,WAAW,CAAE;IAACvF,KAAK,EAAE2C,KAAK,IAAI3C;EAAM,CAAE,CAAC,EAE1FgC,YAAY,iBACXvF,MAAA,CAAAgB,OAAA,CAAAoG,aAAA,CAACvH,GAAA,CAAAkJ,YAAY;IAACC,MAAM;IAACC,KAAK;IAAO/B,OAAO,EAAPA,OAAO;IAAEF,OAAO,EAAPA,OAAO;IAAED,KAAK,EAALA,KAAK;IAAIO,SAAS,EAAEnH,KAAK,CAACoF;EAAa,GACvFkB,SAAS,CAACmB,oBAAI,gCAAAW,MAAA,CAAgCtB,IAAI,EAAG,EAAEE,QAAQ,CACpD,CAEZ,CAAC,EAENlC,QACG,CAAC;AAEX,CAAC;AAEDH,cAAc,CAACoE,WAAW,GAAG,sCAAsC;AAEnEpE,cAAc,CAACqE,SAAS,GAAG;EACzBlE,QAAQ,EAAEmE,kBAAS,CAACC,GAAG;EACvBlE,UAAU,EAAEiE,kBAAS,CAACC;AACxB,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.L10N = void 0;
|
|
7
|
+
var L10N = exports.L10N = {
|
|
8
|
+
LABEL_BASE_PRICE: {
|
|
9
|
+
id: 'common.label.base_price'
|
|
10
|
+
},
|
|
11
|
+
LABEL_EXTRAS: {
|
|
12
|
+
id: 'common.label.extras'
|
|
13
|
+
},
|
|
14
|
+
LABEL_PRICE_SUMMARY: {
|
|
15
|
+
id: 'user.label.price_summary'
|
|
16
|
+
},
|
|
17
|
+
LABEL_TOTAL: {
|
|
18
|
+
id: 'common.label.total'
|
|
19
|
+
},
|
|
20
|
+
LABEL_CHECKOUT_DISCOUNT_0: {
|
|
21
|
+
id: 'user.label.checkout_discount_0'
|
|
22
|
+
},
|
|
23
|
+
LABEL_CHECKOUT_DISCOUNT_1: {
|
|
24
|
+
id: 'user.label.checkout_discount_1'
|
|
25
|
+
},
|
|
26
|
+
LABEL_CHECKOUT_DISCOUNT_2: {
|
|
27
|
+
id: 'user.label.checkout_discount_2'
|
|
28
|
+
},
|
|
29
|
+
NOTIFICATION_CHECKOUT_FEE_1: {
|
|
30
|
+
id: 'user.notification.checkout_fee_1'
|
|
31
|
+
},
|
|
32
|
+
NOTIFICATION_CHECKOUT_FEE_2: {
|
|
33
|
+
id: 'user.notification.checkout_fee_2'
|
|
34
|
+
},
|
|
35
|
+
NOTIFICATION_CHECKOUT_PRICE_0: {
|
|
36
|
+
id: 'user.notification.checkout_price_0'
|
|
37
|
+
},
|
|
38
|
+
NOTIFICATION_CHECKOUT_PRICE_1: {
|
|
39
|
+
id: 'user.notification.checkout_price_1'
|
|
40
|
+
},
|
|
41
|
+
NOTIFICATION_CHECKOUT_PRICE_2: {
|
|
42
|
+
id: 'user.notification.checkout_price_2'
|
|
43
|
+
},
|
|
44
|
+
NOTIFICATION_CHECKOUT_PRICE_3: {
|
|
45
|
+
id: 'user.notification.checkout_price_3'
|
|
46
|
+
},
|
|
47
|
+
NOTIFICATION_CHECKOUT_PRICE_4: {
|
|
48
|
+
id: 'user.notification.checkout_price_4'
|
|
49
|
+
},
|
|
50
|
+
NOTIFICATION_CHECKOUT_TAX_0: {
|
|
51
|
+
id: 'user.notification.checkout_tax_0'
|
|
52
|
+
},
|
|
53
|
+
NOTIFICATION_CHECKOUT_TAX_2: {
|
|
54
|
+
id: 'user.notification.checkout_tax_2'
|
|
55
|
+
},
|
|
56
|
+
NOTIFICATION_CHECKOUT_TAX_3: {
|
|
57
|
+
id: 'user.notification.checkout_tax_3'
|
|
58
|
+
},
|
|
59
|
+
NOTIFICATION_CHECKOUT_TAX_4: {
|
|
60
|
+
id: 'user.notification.checkout_tax_4'
|
|
61
|
+
},
|
|
62
|
+
NOTIFICATION_CHECKOUT_TAX_5: {
|
|
63
|
+
id: 'user.notification.checkout_tax_5'
|
|
64
|
+
},
|
|
65
|
+
NOTIFICATION_CHECKOUT_TAX_6: {
|
|
66
|
+
id: 'user.notification.checkout_tax_6'
|
|
67
|
+
},
|
|
68
|
+
NOTIFICATION_CHECKOUT_TAX_7: {
|
|
69
|
+
id: 'user.notification.checkout_tax_7'
|
|
70
|
+
},
|
|
71
|
+
NOTIFICATION_CHECKOUT_TAX_8: {
|
|
72
|
+
id: 'user.notification.checkout_tax_8'
|
|
73
|
+
},
|
|
74
|
+
NOTIFICATION_CHECKOUT_TAX_9: {
|
|
75
|
+
id: 'user.notification.checkout_tax_9'
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=PriceBreakdown.l10n.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PriceBreakdown.l10n.js","names":["L10N","exports","LABEL_BASE_PRICE","id","LABEL_EXTRAS","LABEL_PRICE_SUMMARY","LABEL_TOTAL","LABEL_CHECKOUT_DISCOUNT_0","LABEL_CHECKOUT_DISCOUNT_1","LABEL_CHECKOUT_DISCOUNT_2","NOTIFICATION_CHECKOUT_FEE_1","NOTIFICATION_CHECKOUT_FEE_2","NOTIFICATION_CHECKOUT_PRICE_0","NOTIFICATION_CHECKOUT_PRICE_1","NOTIFICATION_CHECKOUT_PRICE_2","NOTIFICATION_CHECKOUT_PRICE_3","NOTIFICATION_CHECKOUT_PRICE_4","NOTIFICATION_CHECKOUT_TAX_0","NOTIFICATION_CHECKOUT_TAX_2","NOTIFICATION_CHECKOUT_TAX_3","NOTIFICATION_CHECKOUT_TAX_4","NOTIFICATION_CHECKOUT_TAX_5","NOTIFICATION_CHECKOUT_TAX_6","NOTIFICATION_CHECKOUT_TAX_7","NOTIFICATION_CHECKOUT_TAX_8","NOTIFICATION_CHECKOUT_TAX_9"],"sources":["../../../../src/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js"],"sourcesContent":["export const L10N = {\n LABEL_BASE_PRICE: { id: 'common.label.base_price' },\n LABEL_EXTRAS: { id: 'common.label.extras' },\n LABEL_PRICE_SUMMARY: { id: 'user.label.price_summary' },\n\n LABEL_TOTAL: { id: 'common.label.total' },\n\n LABEL_CHECKOUT_DISCOUNT_0: { id: 'user.label.checkout_discount_0' },\n LABEL_CHECKOUT_DISCOUNT_1: { id: 'user.label.checkout_discount_1' },\n LABEL_CHECKOUT_DISCOUNT_2: { id: 'user.label.checkout_discount_2' },\n\n NOTIFICATION_CHECKOUT_FEE_1: { id: 'user.notification.checkout_fee_1' },\n NOTIFICATION_CHECKOUT_FEE_2: { id: 'user.notification.checkout_fee_2' },\n NOTIFICATION_CHECKOUT_PRICE_0: { id: 'user.notification.checkout_price_0' },\n NOTIFICATION_CHECKOUT_PRICE_1: { id: 'user.notification.checkout_price_1' },\n NOTIFICATION_CHECKOUT_PRICE_2: { id: 'user.notification.checkout_price_2' },\n NOTIFICATION_CHECKOUT_PRICE_3: { id: 'user.notification.checkout_price_3' },\n NOTIFICATION_CHECKOUT_PRICE_4: { id: 'user.notification.checkout_price_4' },\n NOTIFICATION_CHECKOUT_TAX_0: { id: 'user.notification.checkout_tax_0' },\n NOTIFICATION_CHECKOUT_TAX_2: { id: 'user.notification.checkout_tax_2' },\n NOTIFICATION_CHECKOUT_TAX_3: { id: 'user.notification.checkout_tax_3' },\n NOTIFICATION_CHECKOUT_TAX_4: { id: 'user.notification.checkout_tax_4' },\n NOTIFICATION_CHECKOUT_TAX_5: { id: 'user.notification.checkout_tax_5' },\n NOTIFICATION_CHECKOUT_TAX_6: { id: 'user.notification.checkout_tax_6' },\n NOTIFICATION_CHECKOUT_TAX_7: { id: 'user.notification.checkout_tax_7' },\n NOTIFICATION_CHECKOUT_TAX_8: { id: 'user.notification.checkout_tax_8' },\n NOT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A2B,EAAE;IAAEpB,EAAE,EAAE;EAAmC,CAAC;EACvEqB,2BAA2B,EAAE;IAAErB,EAAE,EAAE;EAAmC,CAAC;EACvEsB,2BAA2B,EAAE;IAAEtB,EAAE,EAAE;EAAmC;AACxE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.priceBreakdown {
|
|
2
|
+
gap: var(--mirai-ui-space-M);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.lines > *:not(.notification) {
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
gap: var(--mirai-ui-space-M);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.lines .amount {
|
|
11
|
+
white-space: nowrap;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.lines > *:not(:last-child) {
|
|
15
|
+
margin-bottom: var(--mirai-ui-space-XS);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* S & M */
|
|
19
|
+
@media only screen and (max-width: 820px) {
|
|
20
|
+
.priceBreakdown {
|
|
21
|
+
gap: var(--mirai-ui-space-XS);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* L */
|
|
26
|
+
@media only screen and (min-width: 821px) {
|
|
27
|
+
.priceBreakdown {
|
|
28
|
+
gap: var(--mirai-ui-space-M);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _PriceBreakdown = require("./PriceBreakdown");
|
|
7
|
+
Object.keys(_PriceBreakdown).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _PriceBreakdown[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function get() {
|
|
13
|
+
return _PriceBreakdown[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["_PriceBreakdown","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../src/components/__shared__/PriceBreakdown/index.js"],"sourcesContent":["export * from './PriceBreakdown';\n"],"mappings":";;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,eAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,eAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAT,eAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.Skeleton = void 0;
|
|
8
|
+
var _ui = require("@mirai/ui");
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var style = _interopRequireWildcard(require("./Skeleton.module.css"));
|
|
12
|
+
var _excluded = ["children", "transparent"];
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
+
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; }
|
|
17
|
+
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; }
|
|
18
|
+
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; }
|
|
19
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
20
|
+
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); }
|
|
21
|
+
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; }
|
|
22
|
+
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; }
|
|
23
|
+
var Skeleton = exports.Skeleton = function Skeleton(_ref) {
|
|
24
|
+
var children = _ref.children,
|
|
25
|
+
transparent = _ref.transparent,
|
|
26
|
+
others = _objectWithoutProperties(_ref, _excluded);
|
|
27
|
+
return /*#__PURE__*/_react.default.createElement(typeof children === 'string' ? _ui.Text : _ui.View, _objectSpread(_objectSpread({}, others), {}, {
|
|
28
|
+
className: (0, _ui.styles)(style.container, transparent && style.transparent, typeof children === 'string' && style.text, others.className)
|
|
29
|
+
}), children);
|
|
30
|
+
};
|
|
31
|
+
Skeleton.propTypes = {
|
|
32
|
+
children: _propTypes.default.any,
|
|
33
|
+
transparent: _propTypes.default.bool
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=Skeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.js","names":["_ui","require","_propTypes","_interopRequireDefault","_react","style","_interopRequireWildcard","_excluded","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","ownKeys","e","r","t","keys","getOwnPropertySymbols","o","filter","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","value","_toPropertyKey","configurable","writable","arg","_toPrimitive","String","input","hint","prim","Symbol","toPrimitive","undefined","res","TypeError","Number","_objectWithoutProperties","source","excluded","target","_objectWithoutPropertiesLoose","i","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","Skeleton","exports","_ref","children","transparent","others","React","createElement","Text","View","className","styles","container","text","propTypes","PropTypes","any","bool"],"sources":["../../../../src/components/__shared__/Skeleton/Skeleton.jsx"],"sourcesContent":["import { styles, Text, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport * as style from './Skeleton.module.css';\n\nconst Skeleton = ({ children, transparent, ...others }) =>\n React.createElement(\n typeof children === 'string' ? Text : View,\n {\n ...others,\n className: styles(\n style.container,\n transparent && style.transparent,\n typeof children === 'string' && style.text,\n others.className,\n ),\n },\n children,\n );\n\nSkeleton.propTypes = {\n children: PropTypes.any,\n transparent: PropTypes.bool,\n};\n\nexport { Skeleton };\n"],"mappings":";;;;;;;AAAA,IAAAA,GAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,OAAA;AAEA,IAAAI,KAAA,GAAAC,uBAAA,CAAAL,OAAA;AAA+C,IAAAM,SAAA;AAAA,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,G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A/C,GAAA,kBAAA2C,MAAA,CAAA3C,GAAA,IAAAyC,MAAA,CAAAzC,GAAA,YAAA2C,MAAA;AAE/C,IAAMO,QAAQ,GAAAC,OAAA,CAAAD,QAAA,GAAG,SAAXA,QAAQA,CAAAE,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,WAAW,GAAAF,IAAA,CAAXE,WAAW;IAAKC,MAAM,GAAAf,wBAAA,CAAAY,IAAA,EAAAtE,SAAA;EAAA,oBAClD0E,cAAK,CAACC,aAAa,CACjB,OAAOJ,QAAQ,KAAK,QAAQ,GAAGK,QAAI,GAAGC,QAAI,EAAA1C,aAAA,CAAAA,aAAA,KAErCsC,MAAM;IACTK,SAAS,EAAE,IAAAC,UAAM,EACfjF,KAAK,CAACkF,SAAS,EACfR,WAAW,IAAI1E,KAAK,CAAC0E,WAAW,EAChC,OAAOD,QAAQ,KAAK,QAAQ,IAAIzE,KAAK,CAACmF,IAAI,EAC1CR,MAAM,CAACK,SACT;EAAC,IAEHP,QACF,CAAC;AAAA;AAEHH,QAAQ,CAACc,SAAS,GAAG;EACnBX,QAAQ,EAAEY,kBAAS,CAACC,GAAG;EACvBZ,WAAW,EAAEW,kBAAS,CAACE;AACzB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _Skeleton = require("./Skeleton");
|
|
7
|
+
Object.keys(_Skeleton).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _Skeleton[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function get() {
|
|
13
|
+
return _Skeleton[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["_Skeleton","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../src/components/__shared__/Skeleton/index.js"],"sourcesContent":["export * from './Skeleton';\n"],"mappings":";;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.TextRequiredFields = void 0;
|
|
8
|
+
var _locale = require("@mirai/locale");
|
|
9
|
+
var _ui = require("@mirai/ui");
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _TextRequiredFields = require("./TextRequiredFields.l10n");
|
|
12
|
+
var style = _interopRequireWildcard(require("./TextRequiredFields.module.css"));
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
|
17
|
+
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); }
|
|
18
|
+
var TextRequiredFields = exports.TextRequiredFields = function TextRequiredFields(_ref) {
|
|
19
|
+
var others = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
20
|
+
var _useLocale = (0, _locale.useLocale)(),
|
|
21
|
+
translate = _useLocale.translate;
|
|
22
|
+
return /*#__PURE__*/_react.default.createElement(_ui.Text, _extends({
|
|
23
|
+
small: true
|
|
24
|
+
}, others, {
|
|
25
|
+
className: (0, _ui.styles)(style.text, others.className)
|
|
26
|
+
}), /*#__PURE__*/_react.default.createElement("span", {
|
|
27
|
+
className: style.asterisk
|
|
28
|
+
}, "*"), " ", translate(_TextRequiredFields.L10N.CAPTION));
|
|
29
|
+
};
|
|
30
|
+
TextRequiredFields.displayName = 'Mirai:User:components:TextRequiredFields';
|
|
31
|
+
TextRequiredFields.propTypes = {};
|
|
32
|
+
//# sourceMappingURL=TextRequiredFields.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextRequiredFields.js","names":["_locale","require","_ui","_react","_interopRequireDefault","_TextRequiredFields","style","_interopRequireWildcard","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_objectDestructuringEmpty","TypeError","_extends","assign","bind","target","i","arguments","length","source","apply","TextRequiredFields","exports","_ref","others","_useLocale","useLocale","translate","createElement","Text","small","className","styles","text","asterisk","L10N","CAPTION","displayName","propTypes"],"sources":["../../../../src/components/__shared__/TextRequiredFields/TextRequiredFields.jsx"],"sourcesContent":["import { useLocale } from '@mirai/locale';\nimport { styles, Text } from '@mirai/ui';\nimport React from 'react';\n\nimport { L10N } from './TextRequiredFields.l10n';\nimport * as style from './TextRequiredFields.module.css';\n\nconst TextRequiredFields = ({ ...others }) => {\n const { translate } = useLocale();\n\n return (\n <Text small {...others} className={styles(style.text, others.className)}>\n <span className={style.asterisk}>*</span> {translate(L10N.CAPTION)}\n </Text>\n );\n};\n\nTextRequiredFields.displayName = 'Mirai:User:components:TextRequiredFields';\n\nTextRequiredFields.propTypes = {};\n\nexport { TextRequiredFields };\n"],"mappings":";;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,GAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AAEA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAC,uBAAA,CAAAN,OAAA;AAAyD,SAAAO,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAA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
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.L10N = void 0;
|
|
7
|
+
var L10N = exports.L10N = {
|
|
8
|
+
CAPTION: {
|
|
9
|
+
id: 'common.label.required_field',
|
|
10
|
+
defaultMessage: '$Required Fields'
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=TextRequiredFields.l10n.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextRequiredFields.l10n.js","names":["L10N","exports","CAPTION","id","defaultMessage"],"sources":["../../../../src/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js"],"sourcesContent":["export const L10N = {\n CAPTION: { id: 'common.label.required_field', defaultMessage: '$Required Fields' },\n};\n"],"mappings":";;;;;;AAAO,IAAMA,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,OAAO,EAAE;IAAEC,EAAE,EAAE,6BAA6B;IAAEC,cAAc,EAAE;EAAmB;AACnF,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`component:<TextRequiredFields> inherit:className 1`] = `
|
|
4
|
+
<DocumentFragment>
|
|
5
|
+
<span
|
|
6
|
+
class="text small mirai"
|
|
7
|
+
>
|
|
8
|
+
<span>
|
|
9
|
+
*
|
|
10
|
+
</span>
|
|
11
|
+
common.label.required_field
|
|
12
|
+
</span>
|
|
13
|
+
</DocumentFragment>
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
exports[`component:<TextRequiredFields> renders 1`] = `
|
|
17
|
+
<DocumentFragment>
|
|
18
|
+
<span
|
|
19
|
+
class="text small"
|
|
20
|
+
>
|
|
21
|
+
<span>
|
|
22
|
+
*
|
|
23
|
+
</span>
|
|
24
|
+
common.label.required_field
|
|
25
|
+
</span>
|
|
26
|
+
</DocumentFragment>
|
|
27
|
+
`;
|
|
28
|
+
|
|
29
|
+
exports[`component:<TextRequiredFields> testID 1`] = `
|
|
30
|
+
<DocumentFragment>
|
|
31
|
+
<span
|
|
32
|
+
class="text small"
|
|
33
|
+
data-testid="mirai"
|
|
34
|
+
>
|
|
35
|
+
<span>
|
|
36
|
+
*
|
|
37
|
+
</span>
|
|
38
|
+
common.label.required_field
|
|
39
|
+
</span>
|
|
40
|
+
</DocumentFragment>
|
|
41
|
+
`;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _TextRequiredFields = require("./TextRequiredFields");
|
|
7
|
+
Object.keys(_TextRequiredFields).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _TextRequiredFields[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function get() {
|
|
13
|
+
return _TextRequiredFields[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["_TextRequiredFields","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../src/components/__shared__/TextRequiredFields/index.js"],"sourcesContent":["export * from './TextRequiredFields';\n"],"mappings":";;;;;AAAA,IAAAA,mBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,mBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,mBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAT,mBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
|