@mirai/core 0.3.397 → 0.3.399
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.constants.js +6 -1
- package/build/Core.constants.js.map +1 -1
- package/build/Core.provider.js +1 -2
- package/build/Core.provider.js.map +1 -1
- package/build/components/BannerLoyalty/BannerLoyalty.skeleton.js +7 -3
- package/build/components/BannerLoyalty/BannerLoyalty.skeleton.js.map +1 -1
- package/build/components/BannerLoyalty/__tests__/__snapshots__/BannerLoyalty.skeleton.test.js.snap +290 -0
- package/build/components/BannerLoyalty/__tests__/__snapshots__/BannerLoyalty.test.js.snap +4 -4
- package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +5 -5
- package/build/components/Booking/components/Field/Field.js +1 -1
- package/build/components/Booking/components/Field/Field.js.map +1 -1
- package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +10 -10
- package/build/components/Booking/components/Hotelverse/Hotelverse.js +15 -15
- package/build/components/Booking/components/Hotelverse/Hotelverse.js.map +1 -1
- package/build/components/Booking/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +108 -0
- package/build/components/Booking/helpers/getButtonPaymentKey.js +2 -7
- package/build/components/Booking/helpers/getButtonPaymentKey.js.map +1 -1
- package/build/components/Booking/helpers/getButtonPaymentKey.l10n.js +0 -3
- package/build/components/Booking/helpers/getButtonPaymentKey.l10n.js.map +1 -1
- package/build/components/Booking/partials/Booking.FormCancel.js +4 -3
- package/build/components/Booking/partials/Booking.FormCancel.js.map +1 -1
- package/build/components/Booking/partials/Booking.FormEdit.js +2 -2
- package/build/components/Booking/partials/Booking.FormEdit.js.map +1 -1
- package/build/components/Booking/partials/Booking.FormResend.js +4 -3
- package/build/components/Booking/partials/Booking.FormResend.js.map +1 -1
- package/build/components/Booking/partials/Booking.Information.js +5 -4
- package/build/components/Booking/partials/Booking.Information.js.map +1 -1
- package/build/components/Booking/partials/Booking.Payment.js +4 -3
- package/build/components/Booking/partials/Booking.Payment.js.map +1 -1
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormCancel.test.js.snap +546 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEdit.test.js.snap +46 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormResend.test.js.snap +166 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Information.test.js.snap +110 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +4 -4
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +4 -4
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalAgency.test.js.snap +319 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Payment.test.js.snap +178 -0
- package/build/components/BookingQuery/BookingQuery.js +1 -0
- package/build/components/BookingQuery/BookingQuery.js.map +1 -1
- package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +10 -10
- package/build/components/ButtonFinder/__tests__/__snapshots__/ButtonFinder.test.js.snap +5 -5
- package/build/components/Chat/Chat.js +7 -4
- package/build/components/Chat/Chat.js.map +1 -1
- package/build/components/Chat/__tests__/__snapshots__/Chat.constants.test.js.snap +27 -0
- package/build/components/Chat/__tests__/__snapshots__/Chat.test.js.snap +634 -0
- package/build/components/Chat/components/Avatar/__tests__/__snapshots__/Avatar.test.jsx.snap +5 -5
- package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +4 -4
- package/build/components/Chat/components/InputRich/__tests__/__snapshots__/InputRich.test.jsx.snap +4 -4
- package/build/components/Chat/components/Message/__tests__/__snapshots__/Message.test.jsx.snap +10 -10
- package/build/components/Chat/components/Message/components/Booking.js +3 -2
- package/build/components/Chat/components/Message/components/Booking.js.map +1 -1
- package/build/components/Chat/components/Message/components/Card.js +3 -2
- package/build/components/Chat/components/Message/components/Card.js.map +1 -1
- package/build/components/Chat/components/Message/components/Environment.js +5 -4
- package/build/components/Chat/components/Message/components/Environment.js.map +1 -1
- package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Booking.test.js.snap +53 -0
- package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Card.test.js.snap +29 -0
- package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Environment.test.js.snap +44 -0
- package/build/components/Chat/components/Offline/Offline.js +5 -4
- package/build/components/Chat/components/Offline/Offline.js.map +1 -1
- package/build/components/Chat/components/Offline/__tests__/__snapshots__/Offline.test.js.snap +162 -0
- package/build/components/Chat/helpers/__tests__/__snapshots__/getVerboseDate.test.js.snap +9 -0
- package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +8 -8
- package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +4 -4
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +6 -6
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +4 -4
- package/build/components/Deals/__tests__/__snapshots__/Deals.Calendar.test.js.snap +3 -3
- package/build/components/Deals/__tests__/__snapshots__/Deals.constants.js.snap +15 -0
- package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +4 -4
- package/build/components/Environment/Environment.State.js +7 -5
- package/build/components/Environment/Environment.State.js.map +1 -1
- package/build/components/Environment/__tests__/__snapshots__/Environment.State.test.js.snap +120 -0
- package/build/components/Environment/__tests__/__snapshots__/Environment.test.js.snap +988 -0
- package/build/components/Finder/__tests__/__snapshots__/Finder.constants.test.js.snap +39 -0
- package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +14 -14
- package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +9 -9
- package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +5 -5
- package/build/components/Finder/helpers/__tests__/__snapshots__/getForwarderUrl.test.js.snap +7 -0
- package/build/components/Header/__tests__/__snapshots__/Header.test.js.snap +1187 -0
- package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +1 -1
- package/build/components/Rates/Rates.Content.js +3 -2
- package/build/components/Rates/Rates.Content.js.map +1 -1
- package/build/components/Rates/Rates.Footer.js +5 -4
- package/build/components/Rates/Rates.Footer.js.map +1 -1
- package/build/components/Rates/Rates.RoomSelector.js +6 -4
- package/build/components/Rates/Rates.RoomSelector.js.map +1 -1
- package/build/components/Rates/Rates.constants.js +1 -0
- package/build/components/Rates/Rates.constants.js.map +1 -1
- package/build/components/Rates/Rates.js +4 -2
- package/build/components/Rates/Rates.js.map +1 -1
- package/build/components/Rates/__tests__/__snapshots__/Rates.Content.test.js.snap +26 -0
- package/build/components/Rates/__tests__/__snapshots__/Rates.Footer.test.js.snap +50 -0
- package/build/components/Rates/__tests__/__snapshots__/Rates.Header.test.js.snap +10 -0
- package/build/components/Rates/__tests__/__snapshots__/Rates.RoomSelector.test.js.snap +3 -0
- package/build/components/Rates/__tests__/__snapshots__/Rates.Unavailability.test.js.snap +63 -0
- package/build/components/Rates/__tests__/__snapshots__/Rates.test.js.snap +11091 -0
- package/build/components/Rates/components/CardHotel/CardHotel.js +3 -3
- package/build/components/Rates/components/CardHotel/CardHotel.js.map +1 -1
- package/build/components/Rates/components/CardHotel/__tests__/__snapshots__/CardHotel.test.js.snap +85 -0
- package/build/components/Rates/components/ClubRate/__tests__/__snapshots__/ClubRate.test.js.snap +38 -0
- package/build/components/Rates/components/Filters/Filters.js +1 -1
- package/build/components/Rates/components/Filters/Filters.js.map +1 -1
- package/build/components/Rates/components/Filters/__tests__/__snapshots__/FIlters.Button.test.js.snap +33 -0
- package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.Amenity.test.js.snap +21 -0
- package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.BookingOption.test.js.snap +32 -0
- package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.test.js.snap +168 -0
- package/build/components/Rates/components/Hotelverse/Hotelverse.js +8 -13
- package/build/components/Rates/components/Hotelverse/Hotelverse.js.map +1 -1
- package/build/components/Rates/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +3 -0
- package/build/components/Rates/components/Item/Item.Preview.js +2 -2
- package/build/components/Rates/components/Item/Item.Preview.js.map +1 -1
- package/build/components/Rates/components/Item/Item.Rates.js +6 -9
- package/build/components/Rates/components/Item/Item.Rates.js.map +1 -1
- package/build/components/Rates/components/Item/Item.Summary.js +33 -8
- package/build/components/Rates/components/Item/Item.Summary.js.map +1 -1
- package/build/components/Rates/components/Item/Item.js +2 -0
- package/build/components/Rates/components/Item/Item.js.map +1 -1
- package/build/components/Rates/components/Item/Item.module.css +11 -0
- package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Preview.test.js.snap +93 -0
- package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Rates.test.js.snap +9 -0
- package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Summary.test.js.snap +53 -0
- package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.test.js.snap +151 -0
- package/build/components/Rates/components/Item/components/Amenities/__tests__/__snapshots__/Amenities.test.js.snap +3 -0
- package/build/components/Rates/components/Item/components/Features/__tests__/__snapshots__/Features.test.js.snap +40 -0
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/__tests__/__snapshots__/ModalCancellationInfo.test.js.snap +35 -0
- package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js +1 -1
- package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalInfo/__tests__/__snapshots__/ModalInfo.test.js.snap +72 -0
- package/build/components/Rates/components/Item/components/ModalOfferInfo/__tests__/__snapshots__/ModalOfferInfo.test.js.snap +49 -0
- package/build/components/Rates/components/Item/components/ModalUrl/__tests__/__snapshots__/ModalUrl.test.js.snap +50 -0
- package/build/components/Rates/components/Item/components/Option/__tests__/__snapshots__/Option.test.js.snap +18 -0
- package/build/components/Rates/components/Item/components/PriceDetails/__tests__/__snapshots__/PriceDetails.test.js.snap +23 -0
- package/build/components/Rates/components/Item/components/RateDetails/__tests__/__snapshots__/RateDetails.Countdown.test.js.snap +3 -0
- package/build/components/Rates/components/Item/components/RateDetails/__tests__/__snapshots__/RateDetails.test.js.snap +3 -0
- package/build/components/Rates/components/Item/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +27 -0
- package/build/components/Rates/components/Item/components/TooltipDates/__tests__/__snapshots__/TooltipDates.test.js.snap +3 -0
- package/build/components/Rates/components/ModalExtras/__tests__/__snapshots__/ModalExtras.test.js.snap +68 -0
- package/build/components/Rates/components/ModalMapView/__tests__/__snapshots__/ModalMapView.test.js.snap +66 -0
- package/build/components/Rates/helpers/getCheckoutParams.js +2 -2
- package/build/components/Rates/helpers/getCheckoutParams.js.map +1 -1
- package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +7 -7
- package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +3 -3
- package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +7 -7
- package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +6 -6
- package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.constants.test.js +25 -0
- package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.constants.test.js.map +1 -0
- package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.test.js +5 -5
- package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.test.js.map +1 -1
- package/build/components/__shared__/BookingSummary/_tests__/__snapshots__/BookingSummary.test.js.snap +4 -4
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +10 -10
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +6 -6
- package/build/components/__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap +4 -4
- package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +3 -3
- package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +4 -4
- package/build/components/__shared__/ButtonPayment/components/Form/Form.js +4 -2
- package/build/components/__shared__/ButtonPayment/components/Form/Form.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/Form/__tests__/__snapshots__/Form.test.js.snap +65 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +3 -3
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/__tests__/__snapshots__/FormCheckout.test.js.snap +3 -3
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/__tests__/__snapshots__/getStyle.test.js.snap +23 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/__tests__/__snapshots__/FormSipay.test.js.snap +3 -3
- package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +6 -6
- package/build/components/__shared__/Card/__tests__/__snapshots__/Card.test.js.snap +34 -0
- package/build/components/__shared__/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +4 -4
- package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +17 -17
- package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +8 -8
- package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +5 -5
- package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +4 -4
- package/build/components/__shared__/NotificationRequiredFields/__tests__/__snapshots__/NotificationRequiredFields.test.js.snap +118 -0
- package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +10 -10
- package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +5 -5
- package/build/components/__shared__/Payment/components/AmazonPay/__tests__/__snapshots__/AmazonPay.test.js.snap +2 -2
- package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +1 -1
- package/build/components/__shared__/Payment/components/Card/Card.js +4 -2
- package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +6 -6
- package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js +2 -1
- package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js +3 -2
- package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/testCard.js +2 -2
- package/build/components/__shared__/Payment/components/Card/helpers/testCard.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +4 -4
- package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +3 -3
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js +1 -1
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js.map +1 -1
- package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.Line.test.js.snap +49 -0
- package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.test.js.snap +337 -0
- package/build/components/__shared__/SelectEnvironment/__tests__/__snapshots__/SelectEnvironment.test.js.snap +6 -6
- package/build/components/__shared__/Skeleton/__tests__/__snapshots__/Skeleton.test.js.snap +66 -0
- package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +3 -3
- package/build/components/helpers/addScript.js +2 -2
- package/build/components/helpers/addScript.js.map +1 -1
- package/build/components/helpers/parseHtml.js +0 -1
- package/build/components/helpers/parseHtml.js.map +1 -1
- package/build/contexts/PerfomanceManager/providers/gtm/ratesResponse.js +0 -1
- package/build/contexts/PerfomanceManager/providers/gtm/ratesResponse.js.map +1 -1
- package/build/helpers/checkSession.js.map +1 -1
- package/build/helpers/debounce.js +2 -1
- package/build/helpers/debounce.js.map +1 -1
- package/build/helpers/fetchCookies.js +2 -2
- package/build/helpers/fetchCookies.js.map +1 -1
- package/build/helpers/loadSentry.js +1 -4
- package/build/helpers/loadSentry.js.map +1 -1
- package/build/helpers/toOccupation.js +1 -1
- package/build/helpers/toOccupation.js.map +1 -1
- package/build/index.js +1 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/build/Core.definition.js +0 -10
- package/build/Core.definition.js.map +0 -1
package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormResend.test.js.snap
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`<Booking> partial:<FormResend> inherit:className 1`] = `
|
|
4
|
+
<DocumentFragment>
|
|
5
|
+
<ui-view
|
|
6
|
+
class="view mirai"
|
|
7
|
+
datasource="[object Object]"
|
|
8
|
+
>
|
|
9
|
+
<ui-text
|
|
10
|
+
class="text paragraph"
|
|
11
|
+
>
|
|
12
|
+
user.label.email_text
|
|
13
|
+
</ui-text>
|
|
14
|
+
<ui-input-text
|
|
15
|
+
class="view inputContainer"
|
|
16
|
+
>
|
|
17
|
+
<ui-view
|
|
18
|
+
class="view row inputBorder"
|
|
19
|
+
>
|
|
20
|
+
<ui-view
|
|
21
|
+
class="view wide content"
|
|
22
|
+
>
|
|
23
|
+
<ui-label
|
|
24
|
+
class="text paragraph text label"
|
|
25
|
+
htmlfor="input.email"
|
|
26
|
+
>
|
|
27
|
+
common.label.email
|
|
28
|
+
</ui-label>
|
|
29
|
+
<input
|
|
30
|
+
class="input input withLabel"
|
|
31
|
+
id="input.email"
|
|
32
|
+
name="email"
|
|
33
|
+
required=""
|
|
34
|
+
type="email"
|
|
35
|
+
value=""
|
|
36
|
+
/>
|
|
37
|
+
</ui-view>
|
|
38
|
+
</ui-view>
|
|
39
|
+
</ui-input-text>
|
|
40
|
+
</ui-view>
|
|
41
|
+
</DocumentFragment>
|
|
42
|
+
`;
|
|
43
|
+
|
|
44
|
+
exports[`<Booking> partial:<FormResend> renders 1`] = `
|
|
45
|
+
<DocumentFragment>
|
|
46
|
+
<ui-view
|
|
47
|
+
class="view"
|
|
48
|
+
datasource="[object Object]"
|
|
49
|
+
>
|
|
50
|
+
<ui-text
|
|
51
|
+
class="text paragraph"
|
|
52
|
+
>
|
|
53
|
+
user.label.email_text
|
|
54
|
+
</ui-text>
|
|
55
|
+
<ui-input-text
|
|
56
|
+
class="view inputContainer"
|
|
57
|
+
>
|
|
58
|
+
<ui-view
|
|
59
|
+
class="view row inputBorder"
|
|
60
|
+
>
|
|
61
|
+
<ui-view
|
|
62
|
+
class="view wide content"
|
|
63
|
+
>
|
|
64
|
+
<ui-label
|
|
65
|
+
class="text paragraph text label"
|
|
66
|
+
htmlfor="input.email"
|
|
67
|
+
>
|
|
68
|
+
common.label.email
|
|
69
|
+
</ui-label>
|
|
70
|
+
<input
|
|
71
|
+
class="input input withLabel"
|
|
72
|
+
id="input.email"
|
|
73
|
+
name="email"
|
|
74
|
+
required=""
|
|
75
|
+
type="email"
|
|
76
|
+
value=""
|
|
77
|
+
/>
|
|
78
|
+
</ui-view>
|
|
79
|
+
</ui-view>
|
|
80
|
+
</ui-input-text>
|
|
81
|
+
</ui-view>
|
|
82
|
+
</DocumentFragment>
|
|
83
|
+
`;
|
|
84
|
+
|
|
85
|
+
exports[`<Booking> partial:<FormResend> testID 1`] = `
|
|
86
|
+
<DocumentFragment>
|
|
87
|
+
<ui-view
|
|
88
|
+
class="view"
|
|
89
|
+
data-testid="mirai"
|
|
90
|
+
datasource="[object Object]"
|
|
91
|
+
>
|
|
92
|
+
<ui-text
|
|
93
|
+
class="text paragraph"
|
|
94
|
+
>
|
|
95
|
+
user.label.email_text
|
|
96
|
+
</ui-text>
|
|
97
|
+
<ui-input-text
|
|
98
|
+
class="view inputContainer"
|
|
99
|
+
>
|
|
100
|
+
<ui-view
|
|
101
|
+
class="view row inputBorder"
|
|
102
|
+
>
|
|
103
|
+
<ui-view
|
|
104
|
+
class="view wide content"
|
|
105
|
+
>
|
|
106
|
+
<ui-label
|
|
107
|
+
class="text paragraph text label"
|
|
108
|
+
htmlfor="input.email"
|
|
109
|
+
>
|
|
110
|
+
common.label.email
|
|
111
|
+
</ui-label>
|
|
112
|
+
<input
|
|
113
|
+
class="input input withLabel"
|
|
114
|
+
id="input.email"
|
|
115
|
+
name="email"
|
|
116
|
+
required=""
|
|
117
|
+
type="email"
|
|
118
|
+
value=""
|
|
119
|
+
/>
|
|
120
|
+
</ui-view>
|
|
121
|
+
</ui-view>
|
|
122
|
+
</ui-input-text>
|
|
123
|
+
</ui-view>
|
|
124
|
+
</DocumentFragment>
|
|
125
|
+
`;
|
|
126
|
+
|
|
127
|
+
exports[`<Booking> partial:<FormResend> with a store 1`] = `
|
|
128
|
+
<DocumentFragment>
|
|
129
|
+
<ui-view
|
|
130
|
+
class="view"
|
|
131
|
+
datasource="[object Object]"
|
|
132
|
+
>
|
|
133
|
+
<ui-text
|
|
134
|
+
class="text paragraph"
|
|
135
|
+
>
|
|
136
|
+
user.label.email_text
|
|
137
|
+
</ui-text>
|
|
138
|
+
<ui-input-text
|
|
139
|
+
class="view inputContainer"
|
|
140
|
+
>
|
|
141
|
+
<ui-view
|
|
142
|
+
class="view row inputBorder"
|
|
143
|
+
>
|
|
144
|
+
<ui-view
|
|
145
|
+
class="view wide content"
|
|
146
|
+
>
|
|
147
|
+
<ui-label
|
|
148
|
+
class="text paragraph text label"
|
|
149
|
+
htmlfor="input.email"
|
|
150
|
+
>
|
|
151
|
+
common.label.email
|
|
152
|
+
</ui-label>
|
|
153
|
+
<input
|
|
154
|
+
class="input input withLabel"
|
|
155
|
+
id="input.email"
|
|
156
|
+
name="email"
|
|
157
|
+
required=""
|
|
158
|
+
type="email"
|
|
159
|
+
value=""
|
|
160
|
+
/>
|
|
161
|
+
</ui-view>
|
|
162
|
+
</ui-view>
|
|
163
|
+
</ui-input-text>
|
|
164
|
+
</ui-view>
|
|
165
|
+
</DocumentFragment>
|
|
166
|
+
`;
|
package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Information.test.js.snap
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`<Booking> partial:<Information> inherit:className 1`] = `
|
|
4
|
+
<DocumentFragment>
|
|
5
|
+
<ui-view
|
|
6
|
+
class="view mirai"
|
|
7
|
+
>
|
|
8
|
+
<ui-text
|
|
9
|
+
class="text bold headline-3"
|
|
10
|
+
>
|
|
11
|
+
user.label.booking_info
|
|
12
|
+
</ui-text>
|
|
13
|
+
<ui-view
|
|
14
|
+
class="view"
|
|
15
|
+
>
|
|
16
|
+
<ui-view
|
|
17
|
+
class="view"
|
|
18
|
+
>
|
|
19
|
+
<ui-text
|
|
20
|
+
class="text bold paragraph"
|
|
21
|
+
>
|
|
22
|
+
common.label.promo_code
|
|
23
|
+
</ui-text>
|
|
24
|
+
</ui-view>
|
|
25
|
+
</ui-view>
|
|
26
|
+
</ui-view>
|
|
27
|
+
</DocumentFragment>
|
|
28
|
+
`;
|
|
29
|
+
|
|
30
|
+
exports[`<Booking> partial:<Information> renders 1`] = `
|
|
31
|
+
<DocumentFragment>
|
|
32
|
+
<ui-view
|
|
33
|
+
class="view"
|
|
34
|
+
>
|
|
35
|
+
<ui-text
|
|
36
|
+
class="text bold headline-3"
|
|
37
|
+
>
|
|
38
|
+
user.label.booking_info
|
|
39
|
+
</ui-text>
|
|
40
|
+
<ui-view
|
|
41
|
+
class="view"
|
|
42
|
+
>
|
|
43
|
+
<ui-view
|
|
44
|
+
class="view"
|
|
45
|
+
>
|
|
46
|
+
<ui-text
|
|
47
|
+
class="text bold paragraph"
|
|
48
|
+
>
|
|
49
|
+
common.label.promo_code
|
|
50
|
+
</ui-text>
|
|
51
|
+
</ui-view>
|
|
52
|
+
</ui-view>
|
|
53
|
+
</ui-view>
|
|
54
|
+
</DocumentFragment>
|
|
55
|
+
`;
|
|
56
|
+
|
|
57
|
+
exports[`<Booking> partial:<Information> testID 1`] = `
|
|
58
|
+
<DocumentFragment>
|
|
59
|
+
<ui-view
|
|
60
|
+
class="view"
|
|
61
|
+
data-testid="mirai"
|
|
62
|
+
>
|
|
63
|
+
<ui-text
|
|
64
|
+
class="text bold headline-3"
|
|
65
|
+
>
|
|
66
|
+
user.label.booking_info
|
|
67
|
+
</ui-text>
|
|
68
|
+
<ui-view
|
|
69
|
+
class="view"
|
|
70
|
+
>
|
|
71
|
+
<ui-view
|
|
72
|
+
class="view"
|
|
73
|
+
>
|
|
74
|
+
<ui-text
|
|
75
|
+
class="text bold paragraph"
|
|
76
|
+
>
|
|
77
|
+
common.label.promo_code
|
|
78
|
+
</ui-text>
|
|
79
|
+
</ui-view>
|
|
80
|
+
</ui-view>
|
|
81
|
+
</ui-view>
|
|
82
|
+
</DocumentFragment>
|
|
83
|
+
`;
|
|
84
|
+
|
|
85
|
+
exports[`<Booking> partial:<Information> with a store 1`] = `
|
|
86
|
+
<DocumentFragment>
|
|
87
|
+
<ui-view
|
|
88
|
+
class="view"
|
|
89
|
+
>
|
|
90
|
+
<ui-text
|
|
91
|
+
class="text bold headline-3"
|
|
92
|
+
>
|
|
93
|
+
user.label.booking_info
|
|
94
|
+
</ui-text>
|
|
95
|
+
<ui-view
|
|
96
|
+
class="view"
|
|
97
|
+
>
|
|
98
|
+
<ui-view
|
|
99
|
+
class="view"
|
|
100
|
+
>
|
|
101
|
+
<ui-text
|
|
102
|
+
class="text bold paragraph"
|
|
103
|
+
>
|
|
104
|
+
common.label.promo_code
|
|
105
|
+
</ui-text>
|
|
106
|
+
</ui-view>
|
|
107
|
+
</ui-view>
|
|
108
|
+
</ui-view>
|
|
109
|
+
</DocumentFragment>
|
|
110
|
+
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[
|
|
3
|
+
exports[`<Booking> partial:<Menu> inherit:className 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<ui-view
|
|
6
6
|
class="view mirai"
|
|
@@ -170,7 +170,7 @@ exports[`component:<Booking> partial:<Menu> inherit:className 1`] = `
|
|
|
170
170
|
</DocumentFragment>
|
|
171
171
|
`;
|
|
172
172
|
|
|
173
|
-
exports[
|
|
173
|
+
exports[`<Booking> partial:<Menu> renders 1`] = `
|
|
174
174
|
<DocumentFragment>
|
|
175
175
|
<ui-view
|
|
176
176
|
class="view"
|
|
@@ -340,7 +340,7 @@ exports[`component:<Booking> partial:<Menu> renders 1`] = `
|
|
|
340
340
|
</DocumentFragment>
|
|
341
341
|
`;
|
|
342
342
|
|
|
343
|
-
exports[
|
|
343
|
+
exports[`<Booking> partial:<Menu> testID 1`] = `
|
|
344
344
|
<DocumentFragment>
|
|
345
345
|
<ui-view
|
|
346
346
|
class="view"
|
|
@@ -511,7 +511,7 @@ exports[`component:<Booking> partial:<Menu> testID 1`] = `
|
|
|
511
511
|
</DocumentFragment>
|
|
512
512
|
`;
|
|
513
513
|
|
|
514
|
-
exports[
|
|
514
|
+
exports[`<Booking> partial:<Menu> with a store 1`] = `
|
|
515
515
|
<DocumentFragment>
|
|
516
516
|
<ui-view
|
|
517
517
|
class="view"
|
package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[
|
|
3
|
+
exports[`<Booking> partial:<Modal> inherit:className 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<ui-modal-overflow
|
|
6
6
|
class="pressable container overflow"
|
|
@@ -107,7 +107,7 @@ exports[`component:<Booking> partial:<Modal> inherit:className 1`] = `
|
|
|
107
107
|
</DocumentFragment>
|
|
108
108
|
`;
|
|
109
109
|
|
|
110
|
-
exports[
|
|
110
|
+
exports[`<Booking> partial:<Modal> renders 1`] = `
|
|
111
111
|
<DocumentFragment>
|
|
112
112
|
<ui-modal-overflow
|
|
113
113
|
class="pressable container overflow"
|
|
@@ -214,7 +214,7 @@ exports[`component:<Booking> partial:<Modal> renders 1`] = `
|
|
|
214
214
|
</DocumentFragment>
|
|
215
215
|
`;
|
|
216
216
|
|
|
217
|
-
exports[
|
|
217
|
+
exports[`<Booking> partial:<Modal> testID 1`] = `
|
|
218
218
|
<DocumentFragment>
|
|
219
219
|
<ui-modal-overflow
|
|
220
220
|
class="pressable container overflow"
|
|
@@ -324,7 +324,7 @@ exports[`component:<Booking> partial:<Modal> testID 1`] = `
|
|
|
324
324
|
</DocumentFragment>
|
|
325
325
|
`;
|
|
326
326
|
|
|
327
|
-
exports[
|
|
327
|
+
exports[`<Booking> partial:<Modal> with a store 1`] = `
|
|
328
328
|
<DocumentFragment>
|
|
329
329
|
<ui-modal-overflow
|
|
330
330
|
class="pressable container overflow"
|
package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalAgency.test.js.snap
ADDED
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`<Booking> partial:<ModalAgency> inherit:className 1`] = `
|
|
4
|
+
<DocumentFragment>
|
|
5
|
+
<ui-modal-overflow
|
|
6
|
+
class="pressable container overflow"
|
|
7
|
+
style="height: 768px;"
|
|
8
|
+
tabindex="0"
|
|
9
|
+
>
|
|
10
|
+
<ui-modal
|
|
11
|
+
class="view fit modal mirai"
|
|
12
|
+
datasource="[object Object]"
|
|
13
|
+
>
|
|
14
|
+
<ui-view
|
|
15
|
+
class="view row header hideBack hideClose"
|
|
16
|
+
>
|
|
17
|
+
<ui-text
|
|
18
|
+
class="text headline-3 title"
|
|
19
|
+
>
|
|
20
|
+
common.label.agency
|
|
21
|
+
</ui-text>
|
|
22
|
+
</ui-view>
|
|
23
|
+
<ui-view
|
|
24
|
+
class="view"
|
|
25
|
+
>
|
|
26
|
+
<ui-view
|
|
27
|
+
class="view"
|
|
28
|
+
>
|
|
29
|
+
<ui-text
|
|
30
|
+
class="text bold paragraph"
|
|
31
|
+
>
|
|
32
|
+
common.label.name
|
|
33
|
+
</ui-text>
|
|
34
|
+
</ui-view>
|
|
35
|
+
<ui-view
|
|
36
|
+
class="view"
|
|
37
|
+
>
|
|
38
|
+
<ui-text
|
|
39
|
+
class="text bold paragraph"
|
|
40
|
+
>
|
|
41
|
+
common.label.company_id
|
|
42
|
+
</ui-text>
|
|
43
|
+
</ui-view>
|
|
44
|
+
<ui-view
|
|
45
|
+
class="view"
|
|
46
|
+
>
|
|
47
|
+
<ui-text
|
|
48
|
+
class="text bold paragraph"
|
|
49
|
+
>
|
|
50
|
+
common.label.address
|
|
51
|
+
</ui-text>
|
|
52
|
+
<ui-text
|
|
53
|
+
class="text paragraph"
|
|
54
|
+
>
|
|
55
|
+
undefined
|
|
56
|
+
</ui-text>
|
|
57
|
+
</ui-view>
|
|
58
|
+
<ui-view
|
|
59
|
+
class="view"
|
|
60
|
+
>
|
|
61
|
+
<ui-text
|
|
62
|
+
class="text bold paragraph"
|
|
63
|
+
>
|
|
64
|
+
common.label.phone
|
|
65
|
+
</ui-text>
|
|
66
|
+
</ui-view>
|
|
67
|
+
<ui-view
|
|
68
|
+
class="view"
|
|
69
|
+
>
|
|
70
|
+
<ui-text
|
|
71
|
+
class="text bold paragraph"
|
|
72
|
+
>
|
|
73
|
+
common.label.email
|
|
74
|
+
</ui-text>
|
|
75
|
+
</ui-view>
|
|
76
|
+
</ui-view>
|
|
77
|
+
</ui-modal>
|
|
78
|
+
</ui-modal-overflow>
|
|
79
|
+
</DocumentFragment>
|
|
80
|
+
`;
|
|
81
|
+
|
|
82
|
+
exports[`<Booking> partial:<ModalAgency> renders 1`] = `
|
|
83
|
+
<DocumentFragment>
|
|
84
|
+
<ui-modal-overflow
|
|
85
|
+
class="pressable container overflow"
|
|
86
|
+
style="height: 768px;"
|
|
87
|
+
tabindex="0"
|
|
88
|
+
>
|
|
89
|
+
<ui-modal
|
|
90
|
+
class="view fit modal"
|
|
91
|
+
datasource="[object Object]"
|
|
92
|
+
>
|
|
93
|
+
<ui-view
|
|
94
|
+
class="view row header hideBack hideClose"
|
|
95
|
+
>
|
|
96
|
+
<ui-text
|
|
97
|
+
class="text headline-3 title"
|
|
98
|
+
>
|
|
99
|
+
common.label.agency
|
|
100
|
+
</ui-text>
|
|
101
|
+
</ui-view>
|
|
102
|
+
<ui-view
|
|
103
|
+
class="view"
|
|
104
|
+
>
|
|
105
|
+
<ui-view
|
|
106
|
+
class="view"
|
|
107
|
+
>
|
|
108
|
+
<ui-text
|
|
109
|
+
class="text bold paragraph"
|
|
110
|
+
>
|
|
111
|
+
common.label.name
|
|
112
|
+
</ui-text>
|
|
113
|
+
</ui-view>
|
|
114
|
+
<ui-view
|
|
115
|
+
class="view"
|
|
116
|
+
>
|
|
117
|
+
<ui-text
|
|
118
|
+
class="text bold paragraph"
|
|
119
|
+
>
|
|
120
|
+
common.label.company_id
|
|
121
|
+
</ui-text>
|
|
122
|
+
</ui-view>
|
|
123
|
+
<ui-view
|
|
124
|
+
class="view"
|
|
125
|
+
>
|
|
126
|
+
<ui-text
|
|
127
|
+
class="text bold paragraph"
|
|
128
|
+
>
|
|
129
|
+
common.label.address
|
|
130
|
+
</ui-text>
|
|
131
|
+
<ui-text
|
|
132
|
+
class="text paragraph"
|
|
133
|
+
>
|
|
134
|
+
undefined
|
|
135
|
+
</ui-text>
|
|
136
|
+
</ui-view>
|
|
137
|
+
<ui-view
|
|
138
|
+
class="view"
|
|
139
|
+
>
|
|
140
|
+
<ui-text
|
|
141
|
+
class="text bold paragraph"
|
|
142
|
+
>
|
|
143
|
+
common.label.phone
|
|
144
|
+
</ui-text>
|
|
145
|
+
</ui-view>
|
|
146
|
+
<ui-view
|
|
147
|
+
class="view"
|
|
148
|
+
>
|
|
149
|
+
<ui-text
|
|
150
|
+
class="text bold paragraph"
|
|
151
|
+
>
|
|
152
|
+
common.label.email
|
|
153
|
+
</ui-text>
|
|
154
|
+
</ui-view>
|
|
155
|
+
</ui-view>
|
|
156
|
+
</ui-modal>
|
|
157
|
+
</ui-modal-overflow>
|
|
158
|
+
</DocumentFragment>
|
|
159
|
+
`;
|
|
160
|
+
|
|
161
|
+
exports[`<Booking> partial:<ModalAgency> testID 1`] = `
|
|
162
|
+
<DocumentFragment>
|
|
163
|
+
<ui-modal-overflow
|
|
164
|
+
class="pressable container overflow"
|
|
165
|
+
data-testid="mirai-overflow"
|
|
166
|
+
style="height: 768px;"
|
|
167
|
+
tabindex="0"
|
|
168
|
+
>
|
|
169
|
+
<ui-modal
|
|
170
|
+
class="view fit modal"
|
|
171
|
+
data-testid="mirai"
|
|
172
|
+
datasource="[object Object]"
|
|
173
|
+
>
|
|
174
|
+
<ui-view
|
|
175
|
+
class="view row header hideBack hideClose"
|
|
176
|
+
>
|
|
177
|
+
<ui-text
|
|
178
|
+
class="text headline-3 title"
|
|
179
|
+
>
|
|
180
|
+
common.label.agency
|
|
181
|
+
</ui-text>
|
|
182
|
+
</ui-view>
|
|
183
|
+
<ui-view
|
|
184
|
+
class="view"
|
|
185
|
+
>
|
|
186
|
+
<ui-view
|
|
187
|
+
class="view"
|
|
188
|
+
>
|
|
189
|
+
<ui-text
|
|
190
|
+
class="text bold paragraph"
|
|
191
|
+
>
|
|
192
|
+
common.label.name
|
|
193
|
+
</ui-text>
|
|
194
|
+
</ui-view>
|
|
195
|
+
<ui-view
|
|
196
|
+
class="view"
|
|
197
|
+
>
|
|
198
|
+
<ui-text
|
|
199
|
+
class="text bold paragraph"
|
|
200
|
+
>
|
|
201
|
+
common.label.company_id
|
|
202
|
+
</ui-text>
|
|
203
|
+
</ui-view>
|
|
204
|
+
<ui-view
|
|
205
|
+
class="view"
|
|
206
|
+
>
|
|
207
|
+
<ui-text
|
|
208
|
+
class="text bold paragraph"
|
|
209
|
+
>
|
|
210
|
+
common.label.address
|
|
211
|
+
</ui-text>
|
|
212
|
+
<ui-text
|
|
213
|
+
class="text paragraph"
|
|
214
|
+
>
|
|
215
|
+
undefined
|
|
216
|
+
</ui-text>
|
|
217
|
+
</ui-view>
|
|
218
|
+
<ui-view
|
|
219
|
+
class="view"
|
|
220
|
+
>
|
|
221
|
+
<ui-text
|
|
222
|
+
class="text bold paragraph"
|
|
223
|
+
>
|
|
224
|
+
common.label.phone
|
|
225
|
+
</ui-text>
|
|
226
|
+
</ui-view>
|
|
227
|
+
<ui-view
|
|
228
|
+
class="view"
|
|
229
|
+
>
|
|
230
|
+
<ui-text
|
|
231
|
+
class="text bold paragraph"
|
|
232
|
+
>
|
|
233
|
+
common.label.email
|
|
234
|
+
</ui-text>
|
|
235
|
+
</ui-view>
|
|
236
|
+
</ui-view>
|
|
237
|
+
</ui-modal>
|
|
238
|
+
</ui-modal-overflow>
|
|
239
|
+
</DocumentFragment>
|
|
240
|
+
`;
|
|
241
|
+
|
|
242
|
+
exports[`<Booking> partial:<ModalAgency> with a store 1`] = `
|
|
243
|
+
<DocumentFragment>
|
|
244
|
+
<ui-modal-overflow
|
|
245
|
+
class="pressable container overflow"
|
|
246
|
+
style="height: 768px;"
|
|
247
|
+
tabindex="0"
|
|
248
|
+
>
|
|
249
|
+
<ui-modal
|
|
250
|
+
class="view fit modal"
|
|
251
|
+
datasource="[object Object]"
|
|
252
|
+
>
|
|
253
|
+
<ui-view
|
|
254
|
+
class="view row header hideBack hideClose"
|
|
255
|
+
>
|
|
256
|
+
<ui-text
|
|
257
|
+
class="text headline-3 title"
|
|
258
|
+
>
|
|
259
|
+
common.label.agency
|
|
260
|
+
</ui-text>
|
|
261
|
+
</ui-view>
|
|
262
|
+
<ui-view
|
|
263
|
+
class="view"
|
|
264
|
+
>
|
|
265
|
+
<ui-view
|
|
266
|
+
class="view"
|
|
267
|
+
>
|
|
268
|
+
<ui-text
|
|
269
|
+
class="text bold paragraph"
|
|
270
|
+
>
|
|
271
|
+
common.label.name
|
|
272
|
+
</ui-text>
|
|
273
|
+
</ui-view>
|
|
274
|
+
<ui-view
|
|
275
|
+
class="view"
|
|
276
|
+
>
|
|
277
|
+
<ui-text
|
|
278
|
+
class="text bold paragraph"
|
|
279
|
+
>
|
|
280
|
+
common.label.company_id
|
|
281
|
+
</ui-text>
|
|
282
|
+
</ui-view>
|
|
283
|
+
<ui-view
|
|
284
|
+
class="view"
|
|
285
|
+
>
|
|
286
|
+
<ui-text
|
|
287
|
+
class="text bold paragraph"
|
|
288
|
+
>
|
|
289
|
+
common.label.address
|
|
290
|
+
</ui-text>
|
|
291
|
+
<ui-text
|
|
292
|
+
class="text paragraph"
|
|
293
|
+
>
|
|
294
|
+
undefined
|
|
295
|
+
</ui-text>
|
|
296
|
+
</ui-view>
|
|
297
|
+
<ui-view
|
|
298
|
+
class="view"
|
|
299
|
+
>
|
|
300
|
+
<ui-text
|
|
301
|
+
class="text bold paragraph"
|
|
302
|
+
>
|
|
303
|
+
common.label.phone
|
|
304
|
+
</ui-text>
|
|
305
|
+
</ui-view>
|
|
306
|
+
<ui-view
|
|
307
|
+
class="view"
|
|
308
|
+
>
|
|
309
|
+
<ui-text
|
|
310
|
+
class="text bold paragraph"
|
|
311
|
+
>
|
|
312
|
+
common.label.email
|
|
313
|
+
</ui-text>
|
|
314
|
+
</ui-view>
|
|
315
|
+
</ui-view>
|
|
316
|
+
</ui-modal>
|
|
317
|
+
</ui-modal-overflow>
|
|
318
|
+
</DocumentFragment>
|
|
319
|
+
`;
|