@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,373 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<FieldPromocode> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <ui-layer
6
- class="container"
7
- >
8
- <ui-pressable
9
- class="pressable mirai"
10
- tabindex="0"
11
- >
12
- <ui-icon
13
- class="icon headline-3"
14
- >
15
- <svg
16
- fill="none"
17
- height="1em"
18
- stroke="currentColor"
19
- stroke-linecap="round"
20
- stroke-linejoin="round"
21
- stroke-width="2"
22
- viewBox="0 0 24 24"
23
- width="1em"
24
- xmlns="http://www.w3.org/2000/svg"
25
- >
26
- <path
27
- d="M0 0h24v24H0z"
28
- fill="none"
29
- stroke="none"
30
- />
31
- <path
32
- d="M9 15l6 -6"
33
- />
34
- <circle
35
- cx="9.5"
36
- cy="9.5"
37
- fill="currentColor"
38
- r=".5"
39
- />
40
- <circle
41
- cx="14.5"
42
- cy="14.5"
43
- fill="currentColor"
44
- r=".5"
45
- />
46
- <path
47
- d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"
48
- />
49
- </svg>
50
- </ui-icon>
51
- <ui-view
52
- class="view"
53
- >
54
- <ui-text
55
- class="text small"
56
- >
57
- common.label.promotion
58
- </ui-text>
59
- <ui-view
60
- class="view row"
61
- >
62
- <input
63
- class="input"
64
- name="mirai:finder:promocode"
65
- placeholder="common.label.promo_code"
66
- type="text"
67
- value=""
68
- />
69
- </ui-view>
70
- </ui-view>
71
- </ui-pressable>
72
- </ui-layer>
73
- <ui-layer-content
74
- class="layer hidden"
75
- style="left: 0px; top: 0px;"
76
- />
77
- </DocumentFragment>
78
- `;
79
-
80
- exports[`<FieldPromocode> prop:compacted 1`] = `
81
- <DocumentFragment>
82
- <ui-layer
83
- class="container"
84
- />
85
- <ui-layer-content
86
- class="layer hidden"
87
- >
88
- <ui-view
89
- class="view row"
90
- >
91
- <ui-icon
92
- class="icon headline-3"
93
- >
94
- <svg
95
- fill="none"
96
- height="1em"
97
- stroke="currentColor"
98
- stroke-linecap="round"
99
- stroke-linejoin="round"
100
- stroke-width="2"
101
- viewBox="0 0 24 24"
102
- width="1em"
103
- xmlns="http://www.w3.org/2000/svg"
104
- >
105
- <path
106
- d="M0 0h24v24H0z"
107
- fill="none"
108
- stroke="none"
109
- />
110
- <path
111
- d="M9 15l6 -6"
112
- />
113
- <circle
114
- cx="9.5"
115
- cy="9.5"
116
- fill="currentColor"
117
- r=".5"
118
- />
119
- <circle
120
- cx="14.5"
121
- cy="14.5"
122
- fill="currentColor"
123
- r=".5"
124
- />
125
- <path
126
- d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"
127
- />
128
- </svg>
129
- </ui-icon>
130
- <input
131
- class="input"
132
- name="mirai:finder:promocode"
133
- placeholder="common.label.promo_code"
134
- type="text"
135
- value=""
136
- />
137
- </ui-view>
138
- </ui-layer-content>
139
- </DocumentFragment>
140
- `;
141
-
142
- exports[`<FieldPromocode> prop:value 1`] = `
143
- <DocumentFragment>
144
- <ui-layer
145
- class="container"
146
- >
147
- <ui-pressable
148
- class="pressable"
149
- tabindex="0"
150
- >
151
- <ui-icon
152
- class="icon headline-3"
153
- >
154
- <svg
155
- fill="none"
156
- height="1em"
157
- stroke="currentColor"
158
- stroke-linecap="round"
159
- stroke-linejoin="round"
160
- stroke-width="2"
161
- viewBox="0 0 24 24"
162
- width="1em"
163
- xmlns="http://www.w3.org/2000/svg"
164
- >
165
- <path
166
- d="M0 0h24v24H0z"
167
- fill="none"
168
- stroke="none"
169
- />
170
- <path
171
- d="M9 15l6 -6"
172
- />
173
- <circle
174
- cx="9.5"
175
- cy="9.5"
176
- fill="currentColor"
177
- r=".5"
178
- />
179
- <circle
180
- cx="14.5"
181
- cy="14.5"
182
- fill="currentColor"
183
- r=".5"
184
- />
185
- <path
186
- d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"
187
- />
188
- </svg>
189
- </ui-icon>
190
- <ui-view
191
- class="view"
192
- >
193
- <ui-text
194
- class="text small"
195
- >
196
- common.label.promotion
197
- </ui-text>
198
- <ui-view
199
- class="view row"
200
- >
201
- <input
202
- class="input"
203
- name="mirai:finder:promocode"
204
- placeholder="common.label.promo_code"
205
- type="text"
206
- value="DISCOUNT10"
207
- />
208
- </ui-view>
209
- </ui-view>
210
- </ui-pressable>
211
- </ui-layer>
212
- <ui-layer-content
213
- class="layer hidden"
214
- style="left: 0px; top: 0px;"
215
- />
216
- </DocumentFragment>
217
- `;
218
-
219
- exports[`<FieldPromocode> renders 1`] = `
220
- <DocumentFragment>
221
- <ui-layer
222
- class="container"
223
- >
224
- <ui-pressable
225
- class="pressable"
226
- tabindex="0"
227
- >
228
- <ui-icon
229
- class="icon headline-3"
230
- >
231
- <svg
232
- fill="none"
233
- height="1em"
234
- stroke="currentColor"
235
- stroke-linecap="round"
236
- stroke-linejoin="round"
237
- stroke-width="2"
238
- viewBox="0 0 24 24"
239
- width="1em"
240
- xmlns="http://www.w3.org/2000/svg"
241
- >
242
- <path
243
- d="M0 0h24v24H0z"
244
- fill="none"
245
- stroke="none"
246
- />
247
- <path
248
- d="M9 15l6 -6"
249
- />
250
- <circle
251
- cx="9.5"
252
- cy="9.5"
253
- fill="currentColor"
254
- r=".5"
255
- />
256
- <circle
257
- cx="14.5"
258
- cy="14.5"
259
- fill="currentColor"
260
- r=".5"
261
- />
262
- <path
263
- d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"
264
- />
265
- </svg>
266
- </ui-icon>
267
- <ui-view
268
- class="view"
269
- >
270
- <ui-text
271
- class="text small"
272
- >
273
- common.label.promotion
274
- </ui-text>
275
- <ui-view
276
- class="view row"
277
- >
278
- <input
279
- class="input"
280
- name="mirai:finder:promocode"
281
- placeholder="common.label.promo_code"
282
- type="text"
283
- value=""
284
- />
285
- </ui-view>
286
- </ui-view>
287
- </ui-pressable>
288
- </ui-layer>
289
- <ui-layer-content
290
- class="layer hidden"
291
- style="left: 0px; top: 0px;"
292
- />
293
- </DocumentFragment>
294
- `;
295
-
296
- exports[`<FieldPromocode> testID 1`] = `
297
- <DocumentFragment>
298
- <ui-layer
299
- class="container"
300
- >
301
- <ui-pressable
302
- class="pressable"
303
- data-testid="mirai"
304
- tabindex="0"
305
- >
306
- <ui-icon
307
- class="icon headline-3"
308
- >
309
- <svg
310
- fill="none"
311
- height="1em"
312
- stroke="currentColor"
313
- stroke-linecap="round"
314
- stroke-linejoin="round"
315
- stroke-width="2"
316
- viewBox="0 0 24 24"
317
- width="1em"
318
- xmlns="http://www.w3.org/2000/svg"
319
- >
320
- <path
321
- d="M0 0h24v24H0z"
322
- fill="none"
323
- stroke="none"
324
- />
325
- <path
326
- d="M9 15l6 -6"
327
- />
328
- <circle
329
- cx="9.5"
330
- cy="9.5"
331
- fill="currentColor"
332
- r=".5"
333
- />
334
- <circle
335
- cx="14.5"
336
- cy="14.5"
337
- fill="currentColor"
338
- r=".5"
339
- />
340
- <path
341
- d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"
342
- />
343
- </svg>
344
- </ui-icon>
345
- <ui-view
346
- class="view"
347
- >
348
- <ui-text
349
- class="text small"
350
- >
351
- common.label.promotion
352
- </ui-text>
353
- <ui-view
354
- class="view row"
355
- >
356
- <input
357
- class="input"
358
- data-testid="mirai-input"
359
- name="mirai:finder:promocode"
360
- placeholder="common.label.promo_code"
361
- type="text"
362
- value=""
363
- />
364
- </ui-view>
365
- </ui-view>
366
- </ui-pressable>
367
- </ui-layer>
368
- <ui-layer-content
369
- class="layer hidden"
370
- style="left: 0px; top: 0px;"
371
- />
372
- </DocumentFragment>
373
- `;
@@ -1,178 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Footer> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <ui-view
6
- class="view row mirai"
7
- >
8
- <ui-view
9
- class="view row"
10
- >
11
- <ui-view
12
- class="view row"
13
- >
14
- <ui-text
15
- class="text light small"
16
- >
17
- © 2024
18
- <ui-action
19
- class="pressable action small"
20
- tabindex="0"
21
- />
22
- .
23
- </ui-text>
24
- <ui-text
25
- class="text light small"
26
- >
27
- common.label.all_rights_reserved
28
- </ui-text>
29
- </ui-view>
30
- <ui-a
31
- class="pressable action small"
32
- href="https://www.mirai.com/"
33
- tabindex="0"
34
- >
35
- Powered by
36
- <ui-text
37
- class="text bold light paragraph"
38
- >
39
- mirai
40
- </ui-text>
41
- </ui-a>
42
- </ui-view>
43
- </ui-view>
44
- </DocumentFragment>
45
- `;
46
-
47
- exports[`<Footer> prop:logo 1`] = `
48
- <DocumentFragment>
49
- <ui-view
50
- class="view row"
51
- >
52
- <ui-view
53
- class="view row"
54
- >
55
- <ui-view
56
- class="view row"
57
- >
58
- <ui-text
59
- class="text light small"
60
- >
61
- © 2024
62
- <ui-action
63
- class="pressable action small"
64
- tabindex="0"
65
- />
66
- .
67
- </ui-text>
68
- <ui-text
69
- class="text light small"
70
- >
71
- common.label.all_rights_reserved
72
- </ui-text>
73
- </ui-view>
74
- <ui-a
75
- class="pressable action small"
76
- href="https://www.mirai.com/"
77
- tabindex="0"
78
- >
79
- Powered by
80
- <ui-text
81
- class="text bold light paragraph"
82
- >
83
- mirai
84
- </ui-text>
85
- </ui-a>
86
- </ui-view>
87
- </ui-view>
88
- </DocumentFragment>
89
- `;
90
-
91
- exports[`<Footer> renders 1`] = `
92
- <DocumentFragment>
93
- <ui-view
94
- class="view row"
95
- >
96
- <ui-view
97
- class="view row"
98
- >
99
- <ui-view
100
- class="view row"
101
- >
102
- <ui-text
103
- class="text light small"
104
- >
105
- © 2024
106
- <ui-action
107
- class="pressable action small"
108
- tabindex="0"
109
- />
110
- .
111
- </ui-text>
112
- <ui-text
113
- class="text light small"
114
- >
115
- common.label.all_rights_reserved
116
- </ui-text>
117
- </ui-view>
118
- <ui-a
119
- class="pressable action small"
120
- href="https://www.mirai.com/"
121
- tabindex="0"
122
- >
123
- Powered by
124
- <ui-text
125
- class="text bold light paragraph"
126
- >
127
- mirai
128
- </ui-text>
129
- </ui-a>
130
- </ui-view>
131
- </ui-view>
132
- </DocumentFragment>
133
- `;
134
-
135
- exports[`<Footer> testID 1`] = `
136
- <DocumentFragment>
137
- <ui-view
138
- class="view row"
139
- data-testid="mirai"
140
- >
141
- <ui-view
142
- class="view row"
143
- >
144
- <ui-view
145
- class="view row"
146
- >
147
- <ui-text
148
- class="text light small"
149
- >
150
- © 2024
151
- <ui-action
152
- class="pressable action small"
153
- tabindex="0"
154
- />
155
- .
156
- </ui-text>
157
- <ui-text
158
- class="text light small"
159
- >
160
- common.label.all_rights_reserved
161
- </ui-text>
162
- </ui-view>
163
- <ui-a
164
- class="pressable action small"
165
- href="https://www.mirai.com/"
166
- tabindex="0"
167
- >
168
- Powered by
169
- <ui-text
170
- class="text bold light paragraph"
171
- >
172
- mirai
173
- </ui-text>
174
- </ui-a>
175
- </ui-view>
176
- </ui-view>
177
- </DocumentFragment>
178
- `;
@@ -1,118 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<NotificationRequiredFields> inherit:className 1`] = `<DocumentFragment />`;
4
-
5
- exports[`<NotificationRequiredFields> renders 1`] = `
6
- <DocumentFragment>
7
- <ui-notification-error
8
- class="view row notification error outlined wide"
9
- >
10
- <ui-icon
11
- class="icon headline-3"
12
- >
13
- <svg
14
- fill="currentColor"
15
- height="1em"
16
- stroke="currentColor"
17
- stroke-width="0"
18
- viewBox="0 0 24 24"
19
- width="1em"
20
- xmlns="http://www.w3.org/2000/svg"
21
- >
22
- <path
23
- d="M0 0h24v24H0V0z"
24
- fill="none"
25
- />
26
- <path
27
- d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
28
- />
29
- </svg>
30
- </ui-icon>
31
- <ui-view
32
- class="view texts"
33
- >
34
- <ui-text
35
- class="text action"
36
- >
37
- user.notification.required_fields
38
- <ui-view
39
- class="view row wide"
40
- >
41
- <ui-action
42
- class="pressable action small underline"
43
- markdown="false"
44
- tabindex="0"
45
- >
46
- field1
47
- </ui-action>
48
- <ui-action
49
- class="pressable action small underline"
50
- markdown="false"
51
- tabindex="0"
52
- >
53
- field2
54
- </ui-action>
55
- </ui-view>
56
- </ui-text>
57
- </ui-view>
58
- </ui-notification-error>
59
- </DocumentFragment>
60
- `;
61
-
62
- exports[`<NotificationRequiredFields> testID 1`] = `
63
- <DocumentFragment>
64
- <ui-notification-error
65
- class="view row notification error outlined wide"
66
- data-testid="mirai"
67
- >
68
- <ui-icon
69
- class="icon headline-3"
70
- >
71
- <svg
72
- fill="currentColor"
73
- height="1em"
74
- stroke="currentColor"
75
- stroke-width="0"
76
- viewBox="0 0 24 24"
77
- width="1em"
78
- xmlns="http://www.w3.org/2000/svg"
79
- >
80
- <path
81
- d="M0 0h24v24H0V0z"
82
- fill="none"
83
- />
84
- <path
85
- d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
86
- />
87
- </svg>
88
- </ui-icon>
89
- <ui-view
90
- class="view texts"
91
- >
92
- <ui-text
93
- class="text action"
94
- >
95
- user.notification.required_fields
96
- <ui-view
97
- class="view row wide"
98
- >
99
- <ui-action
100
- class="pressable action small underline"
101
- markdown="false"
102
- tabindex="0"
103
- >
104
- field1
105
- </ui-action>
106
- <ui-action
107
- class="pressable action small underline"
108
- markdown="false"
109
- tabindex="0"
110
- >
111
- field2
112
- </ui-action>
113
- </ui-view>
114
- </ui-text>
115
- </ui-view>
116
- </ui-notification-error>
117
- </DocumentFragment>
118
- `;
@@ -1,17 +0,0 @@
1
- {
2
- "People": [{ "type": 1, "min": 1, "max": 4 }],
3
- "Only Adults": [{ "type": 2, "min": 1, "max": 3, "age": [18] }],
4
- "Default": [
5
- { "type": 2, "min": 2, "max": 4, "age": [18, 99] },
6
- { "type": 3, "min": 0, "max": 2, "age": [0, 17], "fulfill": true }
7
- ],
8
- "Default (Adults >16)": [
9
- { "type": 2, "min": 1, "age": [16, 99] },
10
- { "type": 3, "min": 0, "max": 2, "age": [0, 15], "fulfill": true }
11
- ],
12
- "Children": [
13
- { "type": 2, "min": 2, "max": 4, "age": [18, 99] },
14
- { "type": 3, "min": 0, "max": 2, "age": [0, 1], "fulfill": true },
15
- { "type": 3, "min": 0, "max": 2, "age": [2, 17], "fulfill": true }
16
- ]
17
- }