@mirai/core 0.4.36 → 0.4.38

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.
Files changed (211) hide show
  1. package/build/contexts/PerformanceManager/PerformanceManager.scripts.js +1 -1
  2. package/build/contexts/PerformanceManager/PerformanceManager.scripts.js.map +1 -1
  3. package/package.json +1 -1
  4. package/.env +0 -22
  5. package/.gitlab-ci.yml +0 -4
  6. package/.nvmrc +0 -1
  7. package/__tests__/Booking/__mocks__/booking-delete.json +0 -1
  8. package/__tests__/Booking/__mocks__/booking-get.json +0 -105
  9. package/__tests__/Booking/booking.constants.js +0 -8
  10. package/__tests__/Booking/workflows/cancel.workflow.js +0 -20
  11. package/__tests__/Booking/workflows/index.js +0 -5
  12. package/__tests__/Booking/workflows/openMobileMenu.workflow.js +0 -4
  13. package/__tests__/Booking/workflows/print.workflow.js +0 -13
  14. package/__tests__/Booking/workflows/resend.workflow.js +0 -18
  15. package/__tests__/Booking/workflows/review.workflow.js +0 -17
  16. package/__tests__/BookingQuery/__mocks__/user-booking-get.json +0 -9
  17. package/__tests__/BookingQuery/workflows/index.js +0 -1
  18. package/__tests__/BookingQuery/workflows/login.workflow.js +0 -22
  19. package/__tests__/Checkout/__mocks__/checkout-get.json +0 -935
  20. package/__tests__/Checkout/__mocks__/checkout-post-PAYLATER.json +0 -10
  21. package/__tests__/Checkout/__mocks__/checkout-post-TPV.json +0 -7
  22. package/__tests__/Checkout/__mocks__/checkout-post-TRANSFER.json +0 -10
  23. package/__tests__/Checkout/checkout.constants.js +0 -8
  24. package/__tests__/Checkout/workflows/form.workflow.js +0 -17
  25. package/__tests__/Checkout/workflows/index.js +0 -4
  26. package/__tests__/Checkout/workflows/payment.workflow.js +0 -10
  27. package/__tests__/Checkout/workflows/review.workflow.js +0 -19
  28. package/__tests__/Checkout/workflows/submit.workflow.js +0 -9
  29. package/__tests__/Deals/__mocks__/deals-success.json +0 -739
  30. package/__tests__/Deals/workflows/calendar.workflow.js +0 -14
  31. package/__tests__/Deals/workflows/clear.workflow.js +0 -7
  32. package/__tests__/Deals/workflows/index.js +0 -5
  33. package/__tests__/Deals/workflows/occupation.workflow.js +0 -6
  34. package/__tests__/Deals/workflows/promocode.workflow.js +0 -3
  35. package/__tests__/Deals/workflows/submit.workflow.js +0 -6
  36. package/__tests__/Finder/workflows/calendar.workflow.js +0 -10
  37. package/__tests__/Finder/workflows/index.js +0 -3
  38. package/__tests__/Finder/workflows/occupation.workflow.js +0 -27
  39. package/__tests__/Finder/workflows/promocode.workflow.js +0 -8
  40. package/__tests__/Rates/__mocks__/extras-one-success.json +0 -138
  41. package/__tests__/Rates/__mocks__/extras-success.json +0 -397
  42. package/__tests__/Rates/__mocks__/rates-success.json +0 -731
  43. package/__tests__/Rates/workflows/extras.js +0 -9
  44. package/__tests__/Rates/workflows/extrasExpect.js +0 -11
  45. package/__tests__/Rates/workflows/index.js +0 -4
  46. package/__tests__/Rates/workflows/multiroom.js +0 -26
  47. package/__tests__/Rates/workflows/rates.js +0 -9
  48. package/__tests__/Session/workflows/bookings.workflow.js +0 -18
  49. package/__tests__/Session/workflows/forgotPassword.workflow.js +0 -20
  50. package/__tests__/Session/workflows/index.js +0 -5
  51. package/__tests__/Session/workflows/login.workflow.js +0 -29
  52. package/__tests__/Session/workflows/logout.workflow.js +0 -8
  53. package/__tests__/Session/workflows/profile.workflow.js +0 -49
  54. package/__tests__/Signup/workflows/index.js +0 -2
  55. package/__tests__/Signup/workflows/signup.workflow.js +0 -26
  56. package/__tests__/Signup/workflows/signupError.workflow.js +0 -22
  57. package/__tests__/__screenshots__/rates.spec.jsx/Desktop/Search-multiroom-with-one-extras-1.png +0 -0
  58. package/__tests__/__screenshots__/rates.spec.jsx/Desktop/Search-multiroom-with-some-extras-1.png +0 -0
  59. package/__tests__/__screenshots__/rates.spec.jsx/iPhone-12/Search-multiroom-with-one-extras-1.png +0 -0
  60. package/__tests__/__screenshots__/rates.spec.jsx/iPhone-12/Search-multiroom-with-some-extras-1.png +0 -0
  61. package/__tests__/booking.spec.jsx +0 -34
  62. package/__tests__/bookingQuey.spec.js +0 -43
  63. package/__tests__/buttonFinder.spec.js +0 -16
  64. package/__tests__/checkout.spec.jsx +0 -52
  65. package/__tests__/constants.js +0 -20
  66. package/__tests__/deals.spec.js +0 -30
  67. package/__tests__/finder.spec.js +0 -75
  68. package/__tests__/helpers/closeNotification.js +0 -7
  69. package/__tests__/helpers/getWeekNumber.js +0 -8
  70. package/__tests__/helpers/index.js +0 -2
  71. package/__tests__/rates.spec.jsx +0 -39
  72. package/__tests__/session.spec.js +0 -32
  73. package/__tests__/signup.spec.js +0 -17
  74. package/build/components/BannerLoyalty/__tests__/__snapshots__/BannerLoyalty.skeleton.test.js.snap +0 -287
  75. package/build/components/BannerLoyalty/__tests__/__snapshots__/BannerLoyalty.test.js.snap +0 -102
  76. package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +0 -1302
  77. package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +0 -139
  78. package/build/components/Booking/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +0 -108
  79. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormCancel.test.js.snap +0 -546
  80. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEdit.test.js.snap +0 -46
  81. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormResend.test.js.snap +0 -166
  82. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Information.test.js.snap +0 -110
  83. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +0 -82
  84. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +0 -432
  85. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalAgency.test.js.snap +0 -319
  86. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Payment.test.js.snap +0 -178
  87. package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +0 -1048
  88. package/build/components/ButtonFinder/__tests__/__snapshots__/ButtonFinder.test.js.snap +0 -8210
  89. package/build/components/Chat/__tests__/__snapshots__/Chat.constants.test.js.snap +0 -30
  90. package/build/components/Chat/__tests__/__snapshots__/Chat.test.js.snap +0 -634
  91. package/build/components/Chat/components/Avatar/__tests__/__snapshots__/Avatar.test.jsx.snap +0 -97
  92. package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +0 -178
  93. package/build/components/Chat/components/InputRich/__tests__/__snapshots__/InputRich.test.jsx.snap +0 -282
  94. package/build/components/Chat/components/Message/__tests__/__snapshots__/Message.test.jsx.snap +0 -211
  95. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Booking.test.js.snap +0 -65
  96. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Card.test.js.snap +0 -29
  97. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Environment.test.js.snap +0 -44
  98. package/build/components/Chat/components/Offline/__tests__/__snapshots__/Offline.test.js.snap +0 -162
  99. package/build/components/Chat/helpers/__tests__/__snapshots__/getVerboseDate.test.js.snap +0 -9
  100. package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +0 -2018
  101. package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +0 -347
  102. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +0 -418
  103. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +0 -6754
  104. package/build/components/Deals/__tests__/__snapshots__/Deals.Calendar.test.js.snap +0 -4449
  105. package/build/components/Deals/__tests__/__snapshots__/Deals.constants.js.snap +0 -15
  106. package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +0 -7828
  107. package/build/components/Deals/helpers/__tests__/__mocks__/deal.json +0 -25
  108. package/build/components/Environment/__tests__/__snapshots__/Environment.State.test.js.snap +0 -120
  109. package/build/components/Environment/__tests__/__snapshots__/Environment.test.js.snap +0 -988
  110. package/build/components/Finder/__tests__/__snapshots__/Finder.constants.test.js.snap +0 -39
  111. package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +0 -22237
  112. package/build/components/Finder/components/Calendar/__tests__/__mocks__/prices.json +0 -11
  113. package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +0 -11108
  114. package/build/components/Finder/components/Places/__tests__/__mocks__/places.json +0 -44
  115. package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +0 -324
  116. package/build/components/Finder/helpers/__tests__/__mocks__/dataSource.json +0 -1382
  117. package/build/components/Finder/helpers/__tests__/__snapshots__/getForwarderUrl.test.js.snap +0 -7
  118. package/build/components/Header/__tests__/__snapshots__/Header.test.js.snap +0 -1187
  119. package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +0 -19
  120. package/build/components/Rates/__tests__/__snapshots__/Rates.Content.test.js.snap +0 -41
  121. package/build/components/Rates/__tests__/__snapshots__/Rates.Footer.test.js.snap +0 -50
  122. package/build/components/Rates/__tests__/__snapshots__/Rates.Header.test.js.snap +0 -3
  123. package/build/components/Rates/__tests__/__snapshots__/Rates.RoomSelector.test.js.snap +0 -3
  124. package/build/components/Rates/__tests__/__snapshots__/Rates.Unavailability.test.js.snap +0 -53
  125. package/build/components/Rates/__tests__/__snapshots__/Rates.test.js.snap +0 -11760
  126. package/build/components/Rates/components/CardHotel/__tests__/__snapshots__/CardHotel.test.js.snap +0 -113
  127. package/build/components/Rates/components/Filters/__tests__/__snapshots__/FIlters.Button.test.js.snap +0 -32
  128. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.Amenity.test.js.snap +0 -21
  129. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.BookingOption.test.js.snap +0 -32
  130. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.test.js.snap +0 -167
  131. package/build/components/Rates/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +0 -3
  132. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Preview.test.js.snap +0 -96
  133. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Rates.test.js.snap +0 -9
  134. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Summary.test.js.snap +0 -53
  135. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.test.js.snap +0 -154
  136. package/build/components/Rates/components/Item/components/Amenities/__tests__/__snapshots__/Amenities.test.js.snap +0 -3
  137. package/build/components/Rates/components/Item/components/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +0 -3
  138. package/build/components/Rates/components/Item/components/Features/__tests__/__snapshots__/Features.test.js.snap +0 -40
  139. package/build/components/Rates/components/Item/components/ModalCancellationInfo/__tests__/__snapshots__/ModalCancellationInfo.test.js.snap +0 -35
  140. package/build/components/Rates/components/Item/components/ModalInfo/__tests__/__snapshots__/ModalInfo.test.js.snap +0 -72
  141. package/build/components/Rates/components/Item/components/ModalOfferInfo/__tests__/__snapshots__/ModalOfferInfo.test.js.snap +0 -49
  142. package/build/components/Rates/components/Item/components/ModalUrl/__tests__/__snapshots__/ModalUrl.test.js.snap +0 -50
  143. package/build/components/Rates/components/Item/components/Option/__tests__/__snapshots__/Option.test.js.snap +0 -18
  144. package/build/components/Rates/components/Item/components/PriceDetails/__tests__/__snapshots__/PriceDetails.test.js.snap +0 -23
  145. package/build/components/Rates/components/Item/components/RateDetails/__tests__/__snapshots__/RateDetails.test.js.snap +0 -3
  146. package/build/components/Rates/components/Item/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +0 -27
  147. package/build/components/Rates/components/Item/components/TooltipDates/__tests__/__snapshots__/TooltipDates.test.js.snap +0 -3
  148. package/build/components/Rates/components/ModalClubRate/__tests__/__snapshots__/ModalClubRate.test.js.snap +0 -257
  149. package/build/components/Rates/components/ModalExtras/__tests__/__snapshots__/ModalExtras.test.js.snap +0 -68
  150. package/build/components/Rates/components/ModalMapView/__tests__/__snapshots__/ModalMapView.test.js.snap +0 -78
  151. package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +0 -260
  152. package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +0 -1091
  153. package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +0 -208
  154. package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +0 -2190
  155. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +0 -500
  156. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +0 -745
  157. package/build/components/__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap +0 -450
  158. package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +0 -115
  159. package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +0 -206
  160. package/build/components/__shared__/ButtonPayment/components/Form/__tests__/__snapshots__/Form.test.js.snap +0 -65
  161. package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +0 -68
  162. package/build/components/__shared__/ButtonPayment/components/FormCheckout/__tests__/__snapshots__/FormCheckout.test.js.snap +0 -356
  163. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/__tests__/__snapshots__/getStyle.test.js.snap +0 -23
  164. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +0 -165
  165. package/build/components/__shared__/ButtonPayment/components/FormSipay/__tests__/__snapshots__/FormSipay.test.js.snap +0 -161
  166. package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +0 -190
  167. package/build/components/__shared__/Card/__tests__/__snapshots__/Card.test.js.snap +0 -34
  168. package/build/components/__shared__/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +0 -42
  169. package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +0 -1018
  170. package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +0 -2243
  171. package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +0 -373
  172. package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +0 -178
  173. package/build/components/__shared__/NotificationRequiredFields/__tests__/__snapshots__/NotificationRequiredFields.test.js.snap +0 -118
  174. package/build/components/__shared__/Occupation/__tests__/__mocks__/occupation.json +0 -17
  175. package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +0 -3754
  176. package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +0 -1109
  177. package/build/components/__shared__/Payment/components/AmazonPay/__tests__/__snapshots__/AmazonPay.test.js.snap +0 -23
  178. package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +0 -33
  179. package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +0 -933
  180. package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +0 -474
  181. package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +0 -98
  182. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.Line.test.js.snap +0 -49
  183. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.test.js.snap +0 -337
  184. package/build/components/__shared__/SelectEnvironment/__tests__/__snapshots__/SelectEnvironment.test.js.snap +0 -1192
  185. package/build/components/__shared__/Skeleton/__tests__/__snapshots__/Skeleton.test.js.snap +0 -66
  186. package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +0 -41
  187. package/build/components/helpers/__tests__/__mocks__/hotels.json +0 -87
  188. package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +0 -317
  189. package/playwright.config.js +0 -50
  190. package/public/App.Container.jsx +0 -147
  191. package/public/App.jsx +0 -34
  192. package/public/App.module.css +0 -153
  193. package/public/index.html +0 -32
  194. package/public/index.template.html +0 -19
  195. package/public/performance/index.html +0 -159
  196. package/public/routes/Deals.jsx +0 -20
  197. package/public/routes/Finder.jsx +0 -19
  198. package/public/routes/Home.constants.js +0 -52
  199. package/public/routes/Home.jsx +0 -131
  200. package/public/routes/NotFound.jsx +0 -23
  201. package/public/routes/Profile.jsx +0 -21
  202. package/public/routes/Signup.jsx +0 -20
  203. package/public/routes/Step0-Accommodations.jsx +0 -4
  204. package/public/routes/Step1-Rates.jsx +0 -12
  205. package/public/routes/Step2-Checkout.jsx +0 -4
  206. package/public/routes/Step3-Booking.jsx +0 -4
  207. package/public/routes/components/Logo.jsx +0 -18
  208. package/public/routes/components/index.js +0 -1
  209. package/public/routes/index.js +0 -10
  210. package/public/routes/routes.module.css +0 -259
  211. package/public/themes/monalisa.theme.css +0 -45
@@ -1,418 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Checkout> partial:<Confirmation> Test A/B variant A 1`] = `
4
- <DocumentFragment>
5
- <ui-view
6
- class="view"
7
- variant="A"
8
- >
9
- <ui-button
10
- class="pressable button large wide"
11
- data-testid="checkout-button"
12
- disabled="false"
13
- methods="CARD,AMAZON_PAY"
14
- tabindex="0"
15
- >
16
- <ui-view
17
- class="view busyContainer"
18
- >
19
- <ui-view
20
- class="view spinner"
21
- />
22
- </ui-view>
23
- <ui-view
24
- class="view row children"
25
- >
26
- user.action.book_now
27
- </ui-view>
28
- </ui-button>
29
- <ui-modal-overflow
30
- class="pressable container overflow"
31
- style="height: 768px;"
32
- tabindex="0"
33
- >
34
- <ui-modal
35
- class="view fit modal calcWidth"
36
- >
37
- <ui-view
38
- class="view row header hideBack"
39
- >
40
- <ui-button
41
- class="pressable button small squared transparent"
42
- tabindex="0"
43
- >
44
- <ui-icon
45
- class="icon headline-3 icon"
46
- >
47
- <svg
48
- fill="currentColor"
49
- height="1em"
50
- stroke="currentColor"
51
- stroke-width="0"
52
- viewBox="0 0 24 24"
53
- width="1em"
54
- xmlns="http://www.w3.org/2000/svg"
55
- >
56
- <path
57
- d="M0 0h24v24H0V0z"
58
- fill="none"
59
- />
60
- <path
61
- d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
62
- />
63
- </svg>
64
- </ui-icon>
65
- </ui-button>
66
- </ui-view>
67
- </ui-modal>
68
- </ui-modal-overflow>
69
- </ui-view>
70
- </DocumentFragment>
71
- `;
72
-
73
- exports[`<Checkout> partial:<Confirmation> Test A/B variant B 1`] = `
74
- <DocumentFragment>
75
- <ui-view
76
- class="view"
77
- variant="B"
78
- >
79
- <ui-button
80
- class="pressable button large wide"
81
- data-testid="checkout-button"
82
- disabled="false"
83
- methods="CARD,AMAZON_PAY"
84
- tabindex="0"
85
- >
86
- <ui-view
87
- class="view busyContainer"
88
- >
89
- <ui-view
90
- class="view spinner"
91
- />
92
- </ui-view>
93
- <ui-view
94
- class="view row children"
95
- >
96
- user.action.book_now
97
- </ui-view>
98
- </ui-button>
99
- <ui-modal-overflow
100
- class="pressable container overflow"
101
- style="height: 768px;"
102
- tabindex="0"
103
- >
104
- <ui-modal
105
- class="view fit modal calcWidth"
106
- >
107
- <ui-view
108
- class="view row header hideBack"
109
- >
110
- <ui-button
111
- class="pressable button small squared transparent"
112
- tabindex="0"
113
- >
114
- <ui-icon
115
- class="icon headline-3 icon"
116
- >
117
- <svg
118
- fill="currentColor"
119
- height="1em"
120
- stroke="currentColor"
121
- stroke-width="0"
122
- viewBox="0 0 24 24"
123
- width="1em"
124
- xmlns="http://www.w3.org/2000/svg"
125
- >
126
- <path
127
- d="M0 0h24v24H0V0z"
128
- fill="none"
129
- />
130
- <path
131
- d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
132
- />
133
- </svg>
134
- </ui-icon>
135
- </ui-button>
136
- </ui-view>
137
- </ui-modal>
138
- </ui-modal-overflow>
139
- </ui-view>
140
- </DocumentFragment>
141
- `;
142
-
143
- exports[`<Checkout> partial:<Confirmation> inherit:className 1`] = `
144
- <DocumentFragment>
145
- <ui-view
146
- class="view"
147
- >
148
- <ui-button
149
- class="pressable button large wide"
150
- data-testid="checkout-button"
151
- disabled="false"
152
- methods="CARD,AMAZON_PAY"
153
- tabindex="0"
154
- >
155
- <ui-view
156
- class="view busyContainer"
157
- >
158
- <ui-view
159
- class="view spinner"
160
- />
161
- </ui-view>
162
- <ui-view
163
- class="view row children"
164
- >
165
- user.action.book_now
166
- </ui-view>
167
- </ui-button>
168
- <ui-modal-overflow
169
- class="pressable container overflow"
170
- style="height: 768px;"
171
- tabindex="0"
172
- >
173
- <ui-modal
174
- class="view fit modal calcWidth"
175
- >
176
- <ui-view
177
- class="view row header hideBack"
178
- >
179
- <ui-button
180
- class="pressable button small squared transparent"
181
- tabindex="0"
182
- >
183
- <ui-icon
184
- class="icon headline-3 icon"
185
- >
186
- <svg
187
- fill="currentColor"
188
- height="1em"
189
- stroke="currentColor"
190
- stroke-width="0"
191
- viewBox="0 0 24 24"
192
- width="1em"
193
- xmlns="http://www.w3.org/2000/svg"
194
- >
195
- <path
196
- d="M0 0h24v24H0V0z"
197
- fill="none"
198
- />
199
- <path
200
- d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
201
- />
202
- </svg>
203
- </ui-icon>
204
- </ui-button>
205
- </ui-view>
206
- </ui-modal>
207
- </ui-modal-overflow>
208
- </ui-view>
209
- </DocumentFragment>
210
- `;
211
-
212
- exports[`<Checkout> partial:<Confirmation> renders 1`] = `
213
- <DocumentFragment>
214
- <ui-view
215
- class="view"
216
- >
217
- <ui-button
218
- class="pressable button large wide"
219
- data-testid="checkout-button"
220
- disabled="false"
221
- methods="CARD,AMAZON_PAY"
222
- tabindex="0"
223
- >
224
- <ui-view
225
- class="view busyContainer"
226
- >
227
- <ui-view
228
- class="view spinner"
229
- />
230
- </ui-view>
231
- <ui-view
232
- class="view row children"
233
- >
234
- user.action.book_now
235
- </ui-view>
236
- </ui-button>
237
- <ui-modal-overflow
238
- class="pressable container overflow"
239
- style="height: 768px;"
240
- tabindex="0"
241
- >
242
- <ui-modal
243
- class="view fit modal calcWidth"
244
- >
245
- <ui-view
246
- class="view row header hideBack"
247
- >
248
- <ui-button
249
- class="pressable button small squared transparent"
250
- tabindex="0"
251
- >
252
- <ui-icon
253
- class="icon headline-3 icon"
254
- >
255
- <svg
256
- fill="currentColor"
257
- height="1em"
258
- stroke="currentColor"
259
- stroke-width="0"
260
- viewBox="0 0 24 24"
261
- width="1em"
262
- xmlns="http://www.w3.org/2000/svg"
263
- >
264
- <path
265
- d="M0 0h24v24H0V0z"
266
- fill="none"
267
- />
268
- <path
269
- d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
270
- />
271
- </svg>
272
- </ui-icon>
273
- </ui-button>
274
- </ui-view>
275
- </ui-modal>
276
- </ui-modal-overflow>
277
- </ui-view>
278
- </DocumentFragment>
279
- `;
280
-
281
- exports[`<Checkout> partial:<Confirmation> testID 1`] = `
282
- <DocumentFragment>
283
- <ui-view
284
- class="view"
285
- data-testid="mirai"
286
- >
287
- <ui-button
288
- class="pressable button large wide"
289
- data-testid="checkout-button"
290
- disabled="false"
291
- methods="CARD,AMAZON_PAY"
292
- tabindex="0"
293
- >
294
- <ui-view
295
- class="view busyContainer"
296
- >
297
- <ui-view
298
- class="view spinner"
299
- />
300
- </ui-view>
301
- <ui-view
302
- class="view row children"
303
- >
304
- user.action.book_now
305
- </ui-view>
306
- </ui-button>
307
- <ui-modal-overflow
308
- class="pressable container overflow"
309
- style="height: 768px;"
310
- tabindex="0"
311
- >
312
- <ui-modal
313
- class="view fit modal calcWidth"
314
- >
315
- <ui-view
316
- class="view row header hideBack"
317
- >
318
- <ui-button
319
- class="pressable button small squared transparent"
320
- tabindex="0"
321
- >
322
- <ui-icon
323
- class="icon headline-3 icon"
324
- >
325
- <svg
326
- fill="currentColor"
327
- height="1em"
328
- stroke="currentColor"
329
- stroke-width="0"
330
- viewBox="0 0 24 24"
331
- width="1em"
332
- xmlns="http://www.w3.org/2000/svg"
333
- >
334
- <path
335
- d="M0 0h24v24H0V0z"
336
- fill="none"
337
- />
338
- <path
339
- d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
340
- />
341
- </svg>
342
- </ui-icon>
343
- </ui-button>
344
- </ui-view>
345
- </ui-modal>
346
- </ui-modal-overflow>
347
- </ui-view>
348
- </DocumentFragment>
349
- `;
350
-
351
- exports[`<Checkout> partial:<Confirmation> with a store 1`] = `
352
- <DocumentFragment>
353
- <ui-view
354
- class="view"
355
- >
356
- <ui-button
357
- class="pressable button large wide"
358
- data-testid="checkout-button"
359
- disabled="false"
360
- methods="CARD,AMAZON_PAY"
361
- tabindex="0"
362
- >
363
- <ui-view
364
- class="view busyContainer"
365
- >
366
- <ui-view
367
- class="view spinner"
368
- />
369
- </ui-view>
370
- <ui-view
371
- class="view row children"
372
- >
373
- user.action.book_now
374
- </ui-view>
375
- </ui-button>
376
- <ui-modal-overflow
377
- class="pressable container overflow"
378
- style="height: 768px;"
379
- tabindex="0"
380
- >
381
- <ui-modal
382
- class="view fit modal calcWidth"
383
- >
384
- <ui-view
385
- class="view row header hideBack"
386
- >
387
- <ui-button
388
- class="pressable button small squared transparent"
389
- tabindex="0"
390
- >
391
- <ui-icon
392
- class="icon headline-3 icon"
393
- >
394
- <svg
395
- fill="currentColor"
396
- height="1em"
397
- stroke="currentColor"
398
- stroke-width="0"
399
- viewBox="0 0 24 24"
400
- width="1em"
401
- xmlns="http://www.w3.org/2000/svg"
402
- >
403
- <path
404
- d="M0 0h24v24H0V0z"
405
- fill="none"
406
- />
407
- <path
408
- d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
409
- />
410
- </svg>
411
- </ui-icon>
412
- </ui-button>
413
- </ui-view>
414
- </ui-modal>
415
- </ui-modal-overflow>
416
- </ui-view>
417
- </DocumentFragment>
418
- `;