@mirai/core 0.4.648 → 0.4.650

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 (143) hide show
  1. package/build/components/Banner/__tests__/__snapshots__/Banner.skeleton.test.js.snap +278 -0
  2. package/build/components/Banner/__tests__/__snapshots__/Banner.test.js.snap +9 -0
  3. package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +3862 -0
  4. package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +139 -0
  5. package/build/components/Booking/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +28 -0
  6. package/build/components/Booking/components/Summary/__tests__/__snapshots__/Summary.test.js.snap +1683 -0
  7. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormCancel.test.js.snap +586 -0
  8. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEdit.test.js.snap +46 -0
  9. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEditDate.test.js.snap +1822 -0
  10. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEditOccupation.test.js.snap +326 -0
  11. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormResend.test.js.snap +170 -0
  12. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Information.test.js.snap +110 -0
  13. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +82 -0
  14. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +208 -0
  15. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalAgency.test.js.snap +107 -0
  16. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalCalendar.test.js.snap +463 -0
  17. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalCesSurvey.test.js.snap +255 -0
  18. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalOccupation.test.js.snap +491 -0
  19. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Payment.test.js.snap +418 -0
  20. package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +92 -0
  21. package/build/components/ButtonFinder/__tests__/__snapshots__/ButtonFinder.test.js.snap +65 -0
  22. package/build/components/Chat/__tests__/__snapshots__/Chat.constants.test.js.snap +101 -0
  23. package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +190 -0
  24. package/build/components/Chat/components/Message/__tests__/__snapshots__/Message.test.jsx.snap +204 -0
  25. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Environment.test.js.snap +44 -0
  26. package/build/components/Chat/helpers/__tests__/__snapshots__/getVerboseDate.test.js.snap +9 -0
  27. package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +4946 -0
  28. package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +371 -0
  29. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +412 -0
  30. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +6333 -0
  31. package/build/components/CookieBanner/__tests__/__snapshots__/CookieBanner.test.js.snap +7 -0
  32. package/build/components/Deals/__tests__/__mocks__/deal.json +25 -0
  33. package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +5527 -0
  34. package/build/components/Environment/__tests__/__snapshots__/Environment.State.test.js.snap +120 -0
  35. package/build/components/Environment/__tests__/__snapshots__/Environment.test.js.snap +1088 -0
  36. package/build/components/Finder/__tests__/__snapshots__/Finder.constants.test.js.snap +35 -0
  37. package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +21195 -0
  38. package/build/components/Finder/components/Calendar/__tests__/__mocks__/prices.json +11 -0
  39. package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +8546 -0
  40. package/build/components/Finder/components/Places/__tests__/__mocks__/places.json +44 -0
  41. package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +324 -0
  42. package/build/components/Finder/helpers/__tests__/__mocks__/dataSource.json +1382 -0
  43. package/build/components/Finder/helpers/__tests__/__snapshots__/getForwarderUrl.test.js.snap +7 -0
  44. package/build/components/Header/__tests__/__snapshots__/Header.test.js.snap +1105 -0
  45. package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +19 -0
  46. package/build/components/Rates/__tests__/__snapshots__/Rates.Content.test.js.snap +59 -0
  47. package/build/components/Rates/__tests__/__snapshots__/Rates.Footer.test.js.snap +50 -0
  48. package/build/components/Rates/__tests__/__snapshots__/Rates.Header.test.js.snap +3 -0
  49. package/build/components/Rates/__tests__/__snapshots__/Rates.RoomSelector.test.js.snap +3 -0
  50. package/build/components/Rates/__tests__/__snapshots__/Rates.Unavailability.test.js.snap +53 -0
  51. package/build/components/Rates/__tests__/__snapshots__/Rates.test.js.snap +9962 -0
  52. package/build/components/Rates/components/CardHotel/__tests__/__snapshots__/CardHotel.test.js.snap +116 -0
  53. package/build/components/Rates/components/Filters/__tests__/__snapshots__/FIlters.Button.test.js.snap +32 -0
  54. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.Amenity.test.js.snap +21 -0
  55. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.BookingOption.test.js.snap +32 -0
  56. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.test.js.snap +32 -0
  57. package/build/components/Rates/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +3 -0
  58. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Preview.test.js.snap +93 -0
  59. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Rates.test.js.snap +9 -0
  60. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Summary.test.js.snap +52 -0
  61. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.test.js.snap +150 -0
  62. package/build/components/Rates/components/Item/components/Amenities/__tests__/__snapshots__/Amenities.test.js.snap +3 -0
  63. package/build/components/Rates/components/Item/components/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +3 -0
  64. package/build/components/Rates/components/Item/components/Features/__tests__/__snapshots__/Features.test.js.snap +40 -0
  65. package/build/components/Rates/components/Item/components/ModalCancellationInfo/__tests__/__snapshots__/ModalCancellationInfo.test.js.snap +16 -0
  66. package/build/components/Rates/components/Item/components/ModalInfo/__tests__/__snapshots__/ModalInfo.test.js.snap +47 -0
  67. package/build/components/Rates/components/Item/components/ModalOfferInfo/__tests__/__snapshots__/ModalOfferInfo.test.js.snap +47 -0
  68. package/build/components/Rates/components/Item/components/ModalUrl/__tests__/__snapshots__/ModalUrl.test.js.snap +47 -0
  69. package/build/components/Rates/components/Item/components/Option/__tests__/__snapshots__/Option.test.js.snap +17 -0
  70. package/build/components/Rates/components/Item/components/PriceDetails/__tests__/__snapshots__/PriceDetails.test.js.snap +23 -0
  71. package/build/components/Rates/components/Item/components/RateDetails/__tests__/__snapshots__/RateDetails.test.js.snap +3 -0
  72. package/build/components/Rates/components/Item/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +27 -0
  73. package/build/components/Rates/components/Item/components/TooltipDates/__tests__/__snapshots__/TooltipDates.test.js.snap +3 -0
  74. package/build/components/Rates/components/ModalExtras/__tests__/__snapshots__/ModalExtras.test.js.snap +52 -0
  75. package/build/components/Rates/components/ModalMapView/__tests__/__snapshots__/ModalMapView.test.js.snap +16 -0
  76. package/build/components/Rates/components/ModalTwin/__tests__/__snapshots__/ModalTwin.test.js.snap +374 -0
  77. package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/CardExpanded.test.js.snap +133 -0
  78. package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/CardReduced.test.js.snap +50 -0
  79. package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/Slider.test.js.snap +40 -0
  80. package/build/components/Rates/components/OTAPrices/__tests__/__snapshots__/OTAPrices.test.js.snap +3 -0
  81. package/build/components/Rooms/__tests__/__mocks__/room.json +21 -0
  82. package/build/components/Rooms/__tests__/__snapshots__/Rooms.test.js.snap +5527 -0
  83. package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +264 -0
  84. package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +1040 -0
  85. package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +208 -0
  86. package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +2355 -0
  87. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +500 -0
  88. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +745 -0
  89. package/build/components/__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap +414 -0
  90. package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +115 -0
  91. package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +210 -0
  92. package/build/components/__shared__/ButtonPayment/components/Form/__tests__/__snapshots__/Form.test.js.snap +65 -0
  93. package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +53 -0
  94. package/build/components/__shared__/ButtonPayment/components/FormGetnet/__tests__/__snapshots__/FormGetnet.test.js.snap +14 -0
  95. package/build/components/__shared__/ButtonPayment/components/FormHotelpay/__tests__/__snapshots__/FormHotelpay.test.js.snap +104 -0
  96. package/build/components/__shared__/ButtonPayment/components/FormNuvei/__tests__/__snapshots__/FormNuvei.test.js.snap +21 -0
  97. package/build/components/__shared__/ButtonPayment/components/FormPaybyrd/__tests__/__snapshots__/FormPaybyrd.test.js.snap +41 -0
  98. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +18 -0
  99. package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +190 -0
  100. package/build/components/__shared__/Card/__tests__/__snapshots__/Card.test.js.snap +34 -0
  101. package/build/components/__shared__/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +42 -0
  102. package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +366 -0
  103. package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +2242 -0
  104. package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +308 -0
  105. package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +186 -0
  106. package/build/components/__shared__/NotificationRequiredFields/__tests__/__snapshots__/NotificationRequiredFields.test.js.snap +82 -0
  107. package/build/components/__shared__/Occupation/__tests__/__mocks__/occupation.json +17 -0
  108. package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +3754 -0
  109. package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +1105 -0
  110. package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +35 -0
  111. package/build/components/__shared__/Payment/components/Card/Card.js +2 -4
  112. package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -1
  113. package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +996 -0
  114. package/build/components/__shared__/Payment/components/LinkagePay/__tests__/__snapshots__/LinkagePay.test.js.snap +876 -0
  115. package/build/components/__shared__/Payment/components/Openpay/__tests__/__snapshots__/Openpay.test.js.snap +876 -0
  116. package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +504 -0
  117. package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +119 -0
  118. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.Line.test.js.snap +49 -0
  119. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.test.js.snap +337 -0
  120. package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.Calendar.test.js.snap +2841 -0
  121. package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.constants.js.snap +14 -0
  122. package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.test.js.snap +11053 -0
  123. package/build/components/__shared__/RatesExplorer/helpers/__tests__/__mocks__/deal.json +28 -0
  124. package/build/components/__shared__/SelectEnvironment/__tests__/__snapshots__/SelectEnvironment.test.js.snap +1352 -0
  125. package/build/components/__shared__/Skeleton/__tests__/__snapshots__/Skeleton.test.js.snap +67 -0
  126. package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +41 -0
  127. package/build/components/helpers/__tests__/__mocks__/hotels.json +87 -0
  128. package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +331 -0
  129. package/build/components/helpers/escapeHtml.js +19 -0
  130. package/build/components/helpers/escapeHtml.js.map +1 -0
  131. package/build/components/helpers/template.js +5 -1
  132. package/build/components/helpers/template.js.map +1 -1
  133. package/build/helpers/fetchSession.js +13 -1
  134. package/build/helpers/fetchSession.js.map +1 -1
  135. package/package.json +4 -1
  136. package/.sentryclirc +0 -3
  137. package/AGENTS.md +0 -296
  138. package/Dockerfile +0 -16
  139. package/bitbucket-pipelines.yml +0 -12
  140. package/config/jest/fileMock.js +0 -1
  141. package/config/jest/setup.env.js +0 -20
  142. package/config/jest/setup.js +0 -3
  143. package/jest.config.js +0 -22
@@ -0,0 +1,308 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
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="currentColor"
17
+ height="1em"
18
+ stroke="currentColor"
19
+ stroke-width="0"
20
+ viewBox="0 0 24 24"
21
+ width="1em"
22
+ xmlns="http://www.w3.org/2000/svg"
23
+ >
24
+ <path
25
+ d="M0 0h24v24H0V0z"
26
+ fill="none"
27
+ />
28
+ <path
29
+ d="m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42zM13 20.01 4 11V4h7v-.01l9 9-7 7.02z"
30
+ />
31
+ <circle
32
+ cx="6.5"
33
+ cy="6.5"
34
+ r="1.5"
35
+ />
36
+ </svg>
37
+ </ui-icon>
38
+ <ui-view
39
+ class="view"
40
+ >
41
+ <ui-text
42
+ class="text small"
43
+ >
44
+ common.label.promotion
45
+ </ui-text>
46
+ <ui-view
47
+ class="view row"
48
+ >
49
+ <input
50
+ class="input"
51
+ name="mirai:finder:promocode"
52
+ placeholder="common.label.promo_code"
53
+ type="text"
54
+ value=""
55
+ />
56
+ </ui-view>
57
+ </ui-view>
58
+ </ui-pressable>
59
+ </ui-layer>
60
+ <ui-layer-content
61
+ class="layer hidden"
62
+ style="left: 0px; top: 0px;"
63
+ />
64
+ </DocumentFragment>
65
+ `;
66
+
67
+ exports[`<FieldPromocode> prop:compacted 1`] = `
68
+ <DocumentFragment>
69
+ <ui-layer
70
+ class="container"
71
+ />
72
+ <ui-layer-content
73
+ class="layer hidden"
74
+ >
75
+ <ui-view
76
+ class="view row"
77
+ >
78
+ <ui-icon
79
+ class="icon headline-3"
80
+ >
81
+ <svg
82
+ fill="currentColor"
83
+ height="1em"
84
+ stroke="currentColor"
85
+ stroke-width="0"
86
+ viewBox="0 0 24 24"
87
+ width="1em"
88
+ xmlns="http://www.w3.org/2000/svg"
89
+ >
90
+ <path
91
+ d="M0 0h24v24H0V0z"
92
+ fill="none"
93
+ />
94
+ <path
95
+ d="m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42zM13 20.01 4 11V4h7v-.01l9 9-7 7.02z"
96
+ />
97
+ <circle
98
+ cx="6.5"
99
+ cy="6.5"
100
+ r="1.5"
101
+ />
102
+ </svg>
103
+ </ui-icon>
104
+ <input
105
+ class="input"
106
+ name="mirai:finder:promocode"
107
+ placeholder="common.label.promo_code"
108
+ type="text"
109
+ value=""
110
+ />
111
+ </ui-view>
112
+ </ui-layer-content>
113
+ </DocumentFragment>
114
+ `;
115
+
116
+ exports[`<FieldPromocode> prop:value 1`] = `
117
+ <DocumentFragment>
118
+ <ui-layer
119
+ class="container"
120
+ >
121
+ <ui-pressable
122
+ class="pressable"
123
+ tabindex="0"
124
+ >
125
+ <ui-icon
126
+ class="icon headline-3"
127
+ >
128
+ <svg
129
+ fill="currentColor"
130
+ height="1em"
131
+ stroke="currentColor"
132
+ stroke-width="0"
133
+ viewBox="0 0 24 24"
134
+ width="1em"
135
+ xmlns="http://www.w3.org/2000/svg"
136
+ >
137
+ <path
138
+ d="M0 0h24v24H0V0z"
139
+ fill="none"
140
+ />
141
+ <path
142
+ d="m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42zM13 20.01 4 11V4h7v-.01l9 9-7 7.02z"
143
+ />
144
+ <circle
145
+ cx="6.5"
146
+ cy="6.5"
147
+ r="1.5"
148
+ />
149
+ </svg>
150
+ </ui-icon>
151
+ <ui-view
152
+ class="view"
153
+ >
154
+ <ui-text
155
+ class="text small"
156
+ >
157
+ common.label.promotion
158
+ </ui-text>
159
+ <ui-view
160
+ class="view row"
161
+ >
162
+ <input
163
+ class="input"
164
+ name="mirai:finder:promocode"
165
+ placeholder="common.label.promo_code"
166
+ type="text"
167
+ value="DISCOUNT10"
168
+ />
169
+ </ui-view>
170
+ </ui-view>
171
+ </ui-pressable>
172
+ </ui-layer>
173
+ <ui-layer-content
174
+ class="layer hidden"
175
+ style="left: 0px; top: 0px;"
176
+ />
177
+ </DocumentFragment>
178
+ `;
179
+
180
+ exports[`<FieldPromocode> renders 1`] = `
181
+ <DocumentFragment>
182
+ <ui-layer
183
+ class="container"
184
+ >
185
+ <ui-pressable
186
+ class="pressable"
187
+ tabindex="0"
188
+ >
189
+ <ui-icon
190
+ class="icon headline-3"
191
+ >
192
+ <svg
193
+ fill="currentColor"
194
+ height="1em"
195
+ stroke="currentColor"
196
+ stroke-width="0"
197
+ viewBox="0 0 24 24"
198
+ width="1em"
199
+ xmlns="http://www.w3.org/2000/svg"
200
+ >
201
+ <path
202
+ d="M0 0h24v24H0V0z"
203
+ fill="none"
204
+ />
205
+ <path
206
+ d="m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42zM13 20.01 4 11V4h7v-.01l9 9-7 7.02z"
207
+ />
208
+ <circle
209
+ cx="6.5"
210
+ cy="6.5"
211
+ r="1.5"
212
+ />
213
+ </svg>
214
+ </ui-icon>
215
+ <ui-view
216
+ class="view"
217
+ >
218
+ <ui-text
219
+ class="text small"
220
+ >
221
+ common.label.promotion
222
+ </ui-text>
223
+ <ui-view
224
+ class="view row"
225
+ >
226
+ <input
227
+ class="input"
228
+ name="mirai:finder:promocode"
229
+ placeholder="common.label.promo_code"
230
+ type="text"
231
+ value=""
232
+ />
233
+ </ui-view>
234
+ </ui-view>
235
+ </ui-pressable>
236
+ </ui-layer>
237
+ <ui-layer-content
238
+ class="layer hidden"
239
+ style="left: 0px; top: 0px;"
240
+ />
241
+ </DocumentFragment>
242
+ `;
243
+
244
+ exports[`<FieldPromocode> testID 1`] = `
245
+ <DocumentFragment>
246
+ <ui-layer
247
+ class="container"
248
+ >
249
+ <ui-pressable
250
+ class="pressable"
251
+ data-testid="mirai"
252
+ tabindex="0"
253
+ >
254
+ <ui-icon
255
+ class="icon headline-3"
256
+ >
257
+ <svg
258
+ fill="currentColor"
259
+ height="1em"
260
+ stroke="currentColor"
261
+ stroke-width="0"
262
+ viewBox="0 0 24 24"
263
+ width="1em"
264
+ xmlns="http://www.w3.org/2000/svg"
265
+ >
266
+ <path
267
+ d="M0 0h24v24H0V0z"
268
+ fill="none"
269
+ />
270
+ <path
271
+ d="m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42zM13 20.01 4 11V4h7v-.01l9 9-7 7.02z"
272
+ />
273
+ <circle
274
+ cx="6.5"
275
+ cy="6.5"
276
+ r="1.5"
277
+ />
278
+ </svg>
279
+ </ui-icon>
280
+ <ui-view
281
+ class="view"
282
+ >
283
+ <ui-text
284
+ class="text small"
285
+ >
286
+ common.label.promotion
287
+ </ui-text>
288
+ <ui-view
289
+ class="view row"
290
+ >
291
+ <input
292
+ class="input"
293
+ data-testid="mirai-input"
294
+ name="mirai:finder:promocode"
295
+ placeholder="common.label.promo_code"
296
+ type="text"
297
+ value=""
298
+ />
299
+ </ui-view>
300
+ </ui-view>
301
+ </ui-pressable>
302
+ </ui-layer>
303
+ <ui-layer-content
304
+ class="layer hidden"
305
+ style="left: 0px; top: 0px;"
306
+ />
307
+ </DocumentFragment>
308
+ `;
@@ -0,0 +1,186 @@
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-text>
19
+ <ui-text
20
+ class="text light small"
21
+ >
22
+ common.label.all_rights_reserved
23
+ </ui-text>
24
+ <ui-a
25
+ class="pressable action small underline"
26
+ href="https://reservation.mirai.com/MRE/MAgreement.do?idtokenprovider=100379008"
27
+ tabindex="0"
28
+ >
29
+ core.action.privacy_policy
30
+ </ui-a>
31
+ </ui-view>
32
+ <ui-a
33
+ class="pressable action small"
34
+ href="https://www.mirai.com/"
35
+ tabindex="0"
36
+ >
37
+ Powered by
38
+ <ui-text
39
+ class="text bold light paragraph"
40
+ >
41
+ mirai
42
+ </ui-text>
43
+ </ui-a>
44
+ </ui-view>
45
+ </ui-view>
46
+ </DocumentFragment>
47
+ `;
48
+
49
+ exports[`<Footer> prop:logo 1`] = `
50
+ <DocumentFragment>
51
+ <ui-view
52
+ class="view row"
53
+ >
54
+ <ui-view
55
+ class="view row"
56
+ >
57
+ <ui-view
58
+ class="view row"
59
+ >
60
+ <ui-text
61
+ class="text light small"
62
+ >
63
+ © 2024 .
64
+ </ui-text>
65
+ <ui-text
66
+ class="text light small"
67
+ >
68
+ common.label.all_rights_reserved
69
+ </ui-text>
70
+ <ui-a
71
+ class="pressable action small underline"
72
+ href="https://reservation.mirai.com/MRE/MAgreement.do?idtokenprovider=100379008"
73
+ tabindex="0"
74
+ >
75
+ core.action.privacy_policy
76
+ </ui-a>
77
+ </ui-view>
78
+ <ui-a
79
+ class="pressable action small"
80
+ href="https://www.mirai.com/"
81
+ tabindex="0"
82
+ >
83
+ Powered by
84
+ <ui-text
85
+ class="text bold light paragraph"
86
+ >
87
+ mirai
88
+ </ui-text>
89
+ </ui-a>
90
+ </ui-view>
91
+ </ui-view>
92
+ </DocumentFragment>
93
+ `;
94
+
95
+ exports[`<Footer> renders 1`] = `
96
+ <DocumentFragment>
97
+ <ui-view
98
+ class="view row"
99
+ >
100
+ <ui-view
101
+ class="view row"
102
+ >
103
+ <ui-view
104
+ class="view row"
105
+ >
106
+ <ui-text
107
+ class="text light small"
108
+ >
109
+ © 2024 .
110
+ </ui-text>
111
+ <ui-text
112
+ class="text light small"
113
+ >
114
+ common.label.all_rights_reserved
115
+ </ui-text>
116
+ <ui-a
117
+ class="pressable action small underline"
118
+ href="https://reservation.mirai.com/MRE/MAgreement.do?idtokenprovider=100379008"
119
+ tabindex="0"
120
+ >
121
+ core.action.privacy_policy
122
+ </ui-a>
123
+ </ui-view>
124
+ <ui-a
125
+ class="pressable action small"
126
+ href="https://www.mirai.com/"
127
+ tabindex="0"
128
+ >
129
+ Powered by
130
+ <ui-text
131
+ class="text bold light paragraph"
132
+ >
133
+ mirai
134
+ </ui-text>
135
+ </ui-a>
136
+ </ui-view>
137
+ </ui-view>
138
+ </DocumentFragment>
139
+ `;
140
+
141
+ exports[`<Footer> testID 1`] = `
142
+ <DocumentFragment>
143
+ <ui-view
144
+ class="view row"
145
+ data-testid="mirai"
146
+ >
147
+ <ui-view
148
+ class="view row"
149
+ >
150
+ <ui-view
151
+ class="view row"
152
+ >
153
+ <ui-text
154
+ class="text light small"
155
+ >
156
+ © 2024 .
157
+ </ui-text>
158
+ <ui-text
159
+ class="text light small"
160
+ >
161
+ common.label.all_rights_reserved
162
+ </ui-text>
163
+ <ui-a
164
+ class="pressable action small underline"
165
+ href="https://reservation.mirai.com/MRE/MAgreement.do?idtokenprovider=100379008"
166
+ tabindex="0"
167
+ >
168
+ core.action.privacy_policy
169
+ </ui-a>
170
+ </ui-view>
171
+ <ui-a
172
+ class="pressable action small"
173
+ href="https://www.mirai.com/"
174
+ tabindex="0"
175
+ >
176
+ Powered by
177
+ <ui-text
178
+ class="text bold light paragraph"
179
+ >
180
+ mirai
181
+ </ui-text>
182
+ </ui-a>
183
+ </ui-view>
184
+ </ui-view>
185
+ </DocumentFragment>
186
+ `;
@@ -0,0 +1,82 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
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
+ common.notification.fix_form_errors
38
+ </ui-text>
39
+ </ui-view>
40
+ </ui-notification-error>
41
+ </DocumentFragment>
42
+ `;
43
+
44
+ exports[`<NotificationRequiredFields> testID 1`] = `
45
+ <DocumentFragment>
46
+ <ui-notification-error
47
+ class="view row notification error outlined wide"
48
+ data-testid="mirai"
49
+ >
50
+ <ui-icon
51
+ class="icon headline-3"
52
+ >
53
+ <svg
54
+ fill="currentColor"
55
+ height="1em"
56
+ stroke="currentColor"
57
+ stroke-width="0"
58
+ viewBox="0 0 24 24"
59
+ width="1em"
60
+ xmlns="http://www.w3.org/2000/svg"
61
+ >
62
+ <path
63
+ d="M0 0h24v24H0V0z"
64
+ fill="none"
65
+ />
66
+ <path
67
+ 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"
68
+ />
69
+ </svg>
70
+ </ui-icon>
71
+ <ui-view
72
+ class="view texts"
73
+ >
74
+ <ui-text
75
+ class="text action"
76
+ >
77
+ common.notification.fix_form_errors
78
+ </ui-text>
79
+ </ui-view>
80
+ </ui-notification-error>
81
+ </DocumentFragment>
82
+ `;
@@ -0,0 +1,17 @@
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
+ }