@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,463 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`<Booking> partial:<ModalCalendar> inherit:className 1`] = `
4
+ <DocumentFragment>
5
+ <ui-modal-overflow
6
+ class="pressable container overflow"
7
+ style="height: 768px;"
8
+ tabindex="-1"
9
+ >
10
+ <ui-modal
11
+ class="view fit modal mirai"
12
+ inert=""
13
+ >
14
+ <ui-view
15
+ class="view row header hideBack"
16
+ >
17
+ <ui-text
18
+ class="text medium headline-3 title"
19
+ >
20
+ core.label.when
21
+ </ui-text>
22
+ <ui-button
23
+ class="pressable button small squared transparent"
24
+ tabindex="0"
25
+ >
26
+ <ui-icon
27
+ class="icon headline-3 icon"
28
+ >
29
+ <svg
30
+ fill="currentColor"
31
+ height="1em"
32
+ stroke="currentColor"
33
+ stroke-width="0"
34
+ viewBox="0 0 24 24"
35
+ width="1em"
36
+ xmlns="http://www.w3.org/2000/svg"
37
+ >
38
+ <path
39
+ d="M0 0h24v24H0V0z"
40
+ fill="none"
41
+ />
42
+ <path
43
+ 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"
44
+ />
45
+ </svg>
46
+ </ui-icon>
47
+ </ui-button>
48
+ </ui-view>
49
+ </ui-modal>
50
+ </ui-modal-overflow>
51
+ </DocumentFragment>
52
+ `;
53
+
54
+ exports[`<Booking> partial:<ModalCalendar> prop:dataSource 1`] = `
55
+ <DocumentFragment>
56
+ <ui-modal-overflow
57
+ class="pressable container overflow"
58
+ style="height: 768px;"
59
+ tabindex="-1"
60
+ >
61
+ <ui-modal
62
+ class="view fit modal"
63
+ inert=""
64
+ >
65
+ <ui-view
66
+ class="view row header hideBack"
67
+ >
68
+ <ui-text
69
+ class="text medium headline-3 title"
70
+ >
71
+ core.label.when
72
+ </ui-text>
73
+ <ui-button
74
+ class="pressable button small squared transparent"
75
+ tabindex="0"
76
+ >
77
+ <ui-icon
78
+ class="icon headline-3 icon"
79
+ >
80
+ <svg
81
+ fill="currentColor"
82
+ height="1em"
83
+ stroke="currentColor"
84
+ stroke-width="0"
85
+ viewBox="0 0 24 24"
86
+ width="1em"
87
+ xmlns="http://www.w3.org/2000/svg"
88
+ >
89
+ <path
90
+ d="M0 0h24v24H0V0z"
91
+ fill="none"
92
+ />
93
+ <path
94
+ 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"
95
+ />
96
+ </svg>
97
+ </ui-icon>
98
+ </ui-button>
99
+ </ui-view>
100
+ </ui-modal>
101
+ </ui-modal-overflow>
102
+ </DocumentFragment>
103
+ `;
104
+
105
+ exports[`<Booking> partial:<ModalCalendar> prop:onClose 1`] = `
106
+ <DocumentFragment>
107
+ <ui-modal-overflow
108
+ class="pressable container overflow"
109
+ style="height: 768px;"
110
+ tabindex="-1"
111
+ >
112
+ <ui-modal
113
+ class="view fit modal"
114
+ inert=""
115
+ >
116
+ <ui-view
117
+ class="view row header hideBack"
118
+ >
119
+ <ui-text
120
+ class="text medium headline-3 title"
121
+ >
122
+ core.label.when
123
+ </ui-text>
124
+ <ui-button
125
+ class="pressable button small squared transparent"
126
+ tabindex="0"
127
+ >
128
+ <ui-icon
129
+ class="icon headline-3 icon"
130
+ >
131
+ <svg
132
+ fill="currentColor"
133
+ height="1em"
134
+ stroke="currentColor"
135
+ stroke-width="0"
136
+ viewBox="0 0 24 24"
137
+ width="1em"
138
+ xmlns="http://www.w3.org/2000/svg"
139
+ >
140
+ <path
141
+ d="M0 0h24v24H0V0z"
142
+ fill="none"
143
+ />
144
+ <path
145
+ 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"
146
+ />
147
+ </svg>
148
+ </ui-icon>
149
+ </ui-button>
150
+ </ui-view>
151
+ </ui-modal>
152
+ </ui-modal-overflow>
153
+ </DocumentFragment>
154
+ `;
155
+
156
+ exports[`<Booking> partial:<ModalCalendar> prop:onConfirm 1`] = `
157
+ <DocumentFragment>
158
+ <ui-modal-overflow
159
+ class="pressable container overflow"
160
+ style="height: 768px;"
161
+ tabindex="-1"
162
+ >
163
+ <ui-modal
164
+ class="view fit modal"
165
+ inert=""
166
+ >
167
+ <ui-view
168
+ class="view row header hideBack"
169
+ >
170
+ <ui-text
171
+ class="text medium headline-3 title"
172
+ >
173
+ core.label.when
174
+ </ui-text>
175
+ <ui-button
176
+ class="pressable button small squared transparent"
177
+ tabindex="0"
178
+ >
179
+ <ui-icon
180
+ class="icon headline-3 icon"
181
+ >
182
+ <svg
183
+ fill="currentColor"
184
+ height="1em"
185
+ stroke="currentColor"
186
+ stroke-width="0"
187
+ viewBox="0 0 24 24"
188
+ width="1em"
189
+ xmlns="http://www.w3.org/2000/svg"
190
+ >
191
+ <path
192
+ d="M0 0h24v24H0V0z"
193
+ fill="none"
194
+ />
195
+ <path
196
+ 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"
197
+ />
198
+ </svg>
199
+ </ui-icon>
200
+ </ui-button>
201
+ </ui-view>
202
+ </ui-modal>
203
+ </ui-modal-overflow>
204
+ </DocumentFragment>
205
+ `;
206
+
207
+ exports[`<Booking> partial:<ModalCalendar> renders 1`] = `
208
+ <DocumentFragment>
209
+ <ui-modal-overflow
210
+ class="pressable container overflow"
211
+ style="height: 768px;"
212
+ tabindex="-1"
213
+ >
214
+ <ui-modal
215
+ class="view fit modal"
216
+ inert=""
217
+ >
218
+ <ui-view
219
+ class="view row header hideBack"
220
+ >
221
+ <ui-text
222
+ class="text medium headline-3 title"
223
+ >
224
+ core.label.when
225
+ </ui-text>
226
+ <ui-button
227
+ class="pressable button small squared transparent"
228
+ tabindex="0"
229
+ >
230
+ <ui-icon
231
+ class="icon headline-3 icon"
232
+ >
233
+ <svg
234
+ fill="currentColor"
235
+ height="1em"
236
+ stroke="currentColor"
237
+ stroke-width="0"
238
+ viewBox="0 0 24 24"
239
+ width="1em"
240
+ xmlns="http://www.w3.org/2000/svg"
241
+ >
242
+ <path
243
+ d="M0 0h24v24H0V0z"
244
+ fill="none"
245
+ />
246
+ <path
247
+ 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"
248
+ />
249
+ </svg>
250
+ </ui-icon>
251
+ </ui-button>
252
+ </ui-view>
253
+ </ui-modal>
254
+ </ui-modal-overflow>
255
+ </DocumentFragment>
256
+ `;
257
+
258
+ exports[`<Booking> partial:<ModalCalendar> testID 1`] = `
259
+ <DocumentFragment>
260
+ <ui-modal-overflow
261
+ class="pressable container overflow"
262
+ data-testid="mirai-overflow"
263
+ style="height: 768px;"
264
+ tabindex="-1"
265
+ >
266
+ <ui-modal
267
+ class="view fit modal"
268
+ data-testid="mirai"
269
+ inert=""
270
+ >
271
+ <ui-view
272
+ class="view row header hideBack"
273
+ >
274
+ <ui-text
275
+ class="text medium headline-3 title"
276
+ >
277
+ core.label.when
278
+ </ui-text>
279
+ <ui-button
280
+ class="pressable button small squared transparent"
281
+ data-testid="mirai-button-close"
282
+ tabindex="0"
283
+ >
284
+ <ui-icon
285
+ class="icon headline-3 icon"
286
+ >
287
+ <svg
288
+ fill="currentColor"
289
+ height="1em"
290
+ stroke="currentColor"
291
+ stroke-width="0"
292
+ viewBox="0 0 24 24"
293
+ width="1em"
294
+ xmlns="http://www.w3.org/2000/svg"
295
+ >
296
+ <path
297
+ d="M0 0h24v24H0V0z"
298
+ fill="none"
299
+ />
300
+ <path
301
+ 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"
302
+ />
303
+ </svg>
304
+ </ui-icon>
305
+ </ui-button>
306
+ </ui-view>
307
+ </ui-modal>
308
+ </ui-modal-overflow>
309
+ </DocumentFragment>
310
+ `;
311
+
312
+ exports[`<Booking> partial:<ModalCalendar> with a store 1`] = `
313
+ <DocumentFragment>
314
+ <ui-modal-overflow
315
+ class="pressable container overflow"
316
+ style="height: 768px;"
317
+ tabindex="-1"
318
+ >
319
+ <ui-modal
320
+ class="view fit modal"
321
+ inert=""
322
+ >
323
+ <ui-view
324
+ class="view row header hideBack"
325
+ >
326
+ <ui-text
327
+ class="text medium headline-3 title"
328
+ >
329
+ core.label.when
330
+ </ui-text>
331
+ <ui-button
332
+ class="pressable button small squared transparent"
333
+ tabindex="0"
334
+ >
335
+ <ui-icon
336
+ class="icon headline-3 icon"
337
+ >
338
+ <svg
339
+ fill="currentColor"
340
+ height="1em"
341
+ stroke="currentColor"
342
+ stroke-width="0"
343
+ viewBox="0 0 24 24"
344
+ width="1em"
345
+ xmlns="http://www.w3.org/2000/svg"
346
+ >
347
+ <path
348
+ d="M0 0h24v24H0V0z"
349
+ fill="none"
350
+ />
351
+ <path
352
+ 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"
353
+ />
354
+ </svg>
355
+ </ui-icon>
356
+ </ui-button>
357
+ </ui-view>
358
+ </ui-modal>
359
+ </ui-modal-overflow>
360
+ </DocumentFragment>
361
+ `;
362
+
363
+ exports[`<Booking> partial:<ModalCalendar> with store calendar config 1`] = `
364
+ <DocumentFragment>
365
+ <ui-modal-overflow
366
+ class="pressable container overflow"
367
+ style="height: 768px;"
368
+ tabindex="-1"
369
+ >
370
+ <ui-modal
371
+ class="view fit modal"
372
+ inert=""
373
+ >
374
+ <ui-view
375
+ class="view row header hideBack"
376
+ >
377
+ <ui-text
378
+ class="text medium headline-3 title"
379
+ >
380
+ core.label.when
381
+ </ui-text>
382
+ <ui-button
383
+ class="pressable button small squared transparent"
384
+ tabindex="0"
385
+ >
386
+ <ui-icon
387
+ class="icon headline-3 icon"
388
+ >
389
+ <svg
390
+ fill="currentColor"
391
+ height="1em"
392
+ stroke="currentColor"
393
+ stroke-width="0"
394
+ viewBox="0 0 24 24"
395
+ width="1em"
396
+ xmlns="http://www.w3.org/2000/svg"
397
+ >
398
+ <path
399
+ d="M0 0h24v24H0V0z"
400
+ fill="none"
401
+ />
402
+ <path
403
+ 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"
404
+ />
405
+ </svg>
406
+ </ui-icon>
407
+ </ui-button>
408
+ </ui-view>
409
+ </ui-modal>
410
+ </ui-modal-overflow>
411
+ </DocumentFragment>
412
+ `;
413
+
414
+ exports[`<Booking> partial:<ModalCalendar> without onConfirm callback 1`] = `
415
+ <DocumentFragment>
416
+ <ui-modal-overflow
417
+ class="pressable container overflow"
418
+ style="height: 768px;"
419
+ tabindex="-1"
420
+ >
421
+ <ui-modal
422
+ class="view fit modal"
423
+ inert=""
424
+ >
425
+ <ui-view
426
+ class="view row header hideBack"
427
+ >
428
+ <ui-text
429
+ class="text medium headline-3 title"
430
+ >
431
+ core.label.when
432
+ </ui-text>
433
+ <ui-button
434
+ class="pressable button small squared transparent"
435
+ tabindex="0"
436
+ >
437
+ <ui-icon
438
+ class="icon headline-3 icon"
439
+ >
440
+ <svg
441
+ fill="currentColor"
442
+ height="1em"
443
+ stroke="currentColor"
444
+ stroke-width="0"
445
+ viewBox="0 0 24 24"
446
+ width="1em"
447
+ xmlns="http://www.w3.org/2000/svg"
448
+ >
449
+ <path
450
+ d="M0 0h24v24H0V0z"
451
+ fill="none"
452
+ />
453
+ <path
454
+ 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"
455
+ />
456
+ </svg>
457
+ </ui-icon>
458
+ </ui-button>
459
+ </ui-view>
460
+ </ui-modal>
461
+ </ui-modal-overflow>
462
+ </DocumentFragment>
463
+ `;
@@ -0,0 +1,255 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<Booking> partial:<ModalCesSurvey> renders 1`] = `
4
+ <DocumentFragment>
5
+ <ui-modal-overflow
6
+ class="pressable container overflow visible onOverflow"
7
+ data-testid="booking-ces-survey-overflow"
8
+ style="height: 768px;"
9
+ tabindex="0"
10
+ >
11
+ <ui-modal
12
+ class="view fit modal visible"
13
+ data-testid="booking-ces-survey"
14
+ >
15
+ <ui-view
16
+ class="view row header hideBack"
17
+ >
18
+ <ui-text
19
+ class="text medium headline-3 title"
20
+ >
21
+ core.label.ces_survey_title
22
+ </ui-text>
23
+ <ui-button
24
+ class="pressable button small squared transparent"
25
+ data-testid="booking-ces-survey-button-close"
26
+ tabindex="0"
27
+ >
28
+ <ui-icon
29
+ class="icon headline-3 icon"
30
+ >
31
+ <svg
32
+ fill="currentColor"
33
+ height="1em"
34
+ stroke="currentColor"
35
+ stroke-width="0"
36
+ viewBox="0 0 24 24"
37
+ width="1em"
38
+ xmlns="http://www.w3.org/2000/svg"
39
+ >
40
+ <path
41
+ d="M0 0h24v24H0V0z"
42
+ fill="none"
43
+ />
44
+ <path
45
+ 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"
46
+ />
47
+ </svg>
48
+ </ui-icon>
49
+ </ui-button>
50
+ </ui-view>
51
+ <ui-view
52
+ class="view"
53
+ >
54
+ <ui-text
55
+ class="text bold paragraph wide"
56
+ >
57
+ core.label.ces_survey_question
58
+ </ui-text>
59
+ <ui-view
60
+ class="view row"
61
+ >
62
+ <ui-button
63
+ class="pressable button squared secondary"
64
+ data-testid="booking-ces-survey-score-1"
65
+ tabindex="0"
66
+ >
67
+ 1
68
+ </ui-button>
69
+ <ui-button
70
+ class="pressable button squared secondary"
71
+ data-testid="booking-ces-survey-score-2"
72
+ tabindex="0"
73
+ >
74
+ 2
75
+ </ui-button>
76
+ <ui-button
77
+ class="pressable button squared secondary"
78
+ data-testid="booking-ces-survey-score-3"
79
+ tabindex="0"
80
+ >
81
+ 3
82
+ </ui-button>
83
+ <ui-button
84
+ class="pressable button squared secondary"
85
+ data-testid="booking-ces-survey-score-4"
86
+ tabindex="0"
87
+ >
88
+ 4
89
+ </ui-button>
90
+ <ui-button
91
+ class="pressable button squared secondary"
92
+ data-testid="booking-ces-survey-score-5"
93
+ tabindex="0"
94
+ >
95
+ 5
96
+ </ui-button>
97
+ </ui-view>
98
+ <ui-view
99
+ class="view row"
100
+ >
101
+ <ui-text
102
+ class="text bold light action"
103
+ >
104
+ core.label.ces_survey_not_easy
105
+ </ui-text>
106
+ <ui-text
107
+ class="text bold light action"
108
+ >
109
+ core.label.ces_survey_very_easy
110
+ </ui-text>
111
+ </ui-view>
112
+ </ui-view>
113
+ <ui-view
114
+ class="view row"
115
+ >
116
+ <ui-button
117
+ class="pressable disabled button disabled wide"
118
+ data-testid="booking-ces-survey-next"
119
+ disabled=""
120
+ >
121
+ <ui-view
122
+ class="view busyContainer"
123
+ >
124
+ <ui-view
125
+ class="view spinner"
126
+ />
127
+ </ui-view>
128
+ <ui-view
129
+ class="view row children"
130
+ >
131
+ core.action.next
132
+ </ui-view>
133
+ </ui-button>
134
+ </ui-view>
135
+ </ui-modal>
136
+ </ui-modal-overflow>
137
+ </DocumentFragment>
138
+ `;
139
+
140
+ exports[`<Booking> partial:<ModalCesSurvey> submits score and opens comment step 1`] = `
141
+ <DocumentFragment>
142
+ <ui-modal-overflow
143
+ class="pressable container overflow visible onOverflow"
144
+ data-testid="booking-ces-survey-overflow"
145
+ style="height: 768px;"
146
+ tabindex="0"
147
+ >
148
+ <ui-modal
149
+ class="view fit modal visible"
150
+ data-testid="booking-ces-survey"
151
+ >
152
+ <ui-view
153
+ class="view row header hideBack"
154
+ >
155
+ <ui-text
156
+ class="text medium headline-3 title"
157
+ >
158
+ core.label.ces_survey_title
159
+ </ui-text>
160
+ <ui-button
161
+ class="pressable button small squared transparent"
162
+ data-testid="booking-ces-survey-button-close"
163
+ tabindex="0"
164
+ >
165
+ <ui-icon
166
+ class="icon headline-3 icon"
167
+ >
168
+ <svg
169
+ fill="currentColor"
170
+ height="1em"
171
+ stroke="currentColor"
172
+ stroke-width="0"
173
+ viewBox="0 0 24 24"
174
+ width="1em"
175
+ xmlns="http://www.w3.org/2000/svg"
176
+ >
177
+ <path
178
+ d="M0 0h24v24H0V0z"
179
+ fill="none"
180
+ />
181
+ <path
182
+ 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"
183
+ />
184
+ </svg>
185
+ </ui-icon>
186
+ </ui-button>
187
+ </ui-view>
188
+ <ui-view
189
+ class="view"
190
+ >
191
+ <ui-text
192
+ class="text bold paragraph wide"
193
+ >
194
+ core.label.ces_survey_comment_question
195
+ </ui-text>
196
+ <ui-input-text
197
+ class="view inputContainer"
198
+ >
199
+ <ui-view
200
+ class="view row inputBorder"
201
+ >
202
+ <ui-view
203
+ class="view wide content"
204
+ >
205
+ <ui-label
206
+ class="text paragraph text label"
207
+ htmlfor="comment"
208
+ id="comment-label"
209
+ >
210
+ core.label.ces_survey_comment
211
+ </ui-label>
212
+ <textarea
213
+ aria-labelledby="comment-label"
214
+ class="input input withLabel multiLine"
215
+ data-testid="booking-ces-survey-comment"
216
+ id="comment"
217
+ name="comment"
218
+ />
219
+ </ui-view>
220
+ </ui-view>
221
+ </ui-input-text>
222
+ </ui-view>
223
+ <ui-view
224
+ class="view row"
225
+ >
226
+ <ui-button
227
+ class="pressable button secondary wide"
228
+ data-testid="booking-ces-survey-skip"
229
+ tabindex="0"
230
+ >
231
+ core.action.skip
232
+ </ui-button>
233
+ <ui-button
234
+ class="pressable disabled button disabled wide"
235
+ data-testid="booking-ces-survey-send"
236
+ disabled=""
237
+ >
238
+ <ui-view
239
+ class="view busyContainer"
240
+ >
241
+ <ui-view
242
+ class="view spinner"
243
+ />
244
+ </ui-view>
245
+ <ui-view
246
+ class="view row children"
247
+ >
248
+ common.action.send
249
+ </ui-view>
250
+ </ui-button>
251
+ </ui-view>
252
+ </ui-modal>
253
+ </ui-modal-overflow>
254
+ </DocumentFragment>
255
+ `;