@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,1040 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<Signup> inherit:className 1`] = `
4
+ <DocumentFragment>
5
+ <ui-signup
6
+ class="view"
7
+ >
8
+ <ui-view
9
+ class="view wide"
10
+ >
11
+ <ui-text
12
+ class="text bold headline-2"
13
+ >
14
+ core.label.title_signup
15
+ </ui-text>
16
+ <ui-text
17
+ class="text paragraph"
18
+ >
19
+ core.label.description_signup
20
+ </ui-text>
21
+ </ui-view>
22
+ <ui-form
23
+ class="mirai"
24
+ >
25
+ <ui-input-text
26
+ class="view inputContainer"
27
+ >
28
+ <ui-view
29
+ class="view row inputBorder"
30
+ >
31
+ <ui-view
32
+ class="view wide content"
33
+ >
34
+ <ui-label
35
+ class="text paragraph text label"
36
+ htmlfor="signup-firstName"
37
+ id="signup-firstName-label"
38
+ >
39
+ common.label.name
40
+ <span
41
+ class="required error"
42
+ >
43
+ (common.label.required)
44
+ </span>
45
+ </ui-label>
46
+ <input
47
+ aria-labelledby="signup-firstName-label"
48
+ class="input input withLabel"
49
+ id="signup-firstName"
50
+ name="firstName"
51
+ required=""
52
+ type="text"
53
+ value=""
54
+ />
55
+ </ui-view>
56
+ </ui-view>
57
+ </ui-input-text>
58
+ <ui-input-text
59
+ class="view inputContainer"
60
+ >
61
+ <ui-view
62
+ class="view row inputBorder"
63
+ >
64
+ <ui-view
65
+ class="view wide content"
66
+ >
67
+ <ui-label
68
+ class="text paragraph text label"
69
+ htmlfor="signup-lastName"
70
+ id="signup-lastName-label"
71
+ >
72
+ common.label.lastname
73
+ <span
74
+ class="required error"
75
+ >
76
+ (common.label.required)
77
+ </span>
78
+ </ui-label>
79
+ <input
80
+ aria-labelledby="signup-lastName-label"
81
+ class="input input withLabel"
82
+ id="signup-lastName"
83
+ name="lastName"
84
+ required=""
85
+ type="text"
86
+ value=""
87
+ />
88
+ </ui-view>
89
+ </ui-view>
90
+ </ui-input-text>
91
+ <ui-input-text
92
+ class="view inputContainer"
93
+ >
94
+ <ui-view
95
+ class="view row inputBorder"
96
+ >
97
+ <ui-view
98
+ class="view wide content"
99
+ >
100
+ <ui-label
101
+ class="text paragraph text label"
102
+ htmlfor="signup-email"
103
+ id="signup-email-label"
104
+ >
105
+ common.label.email
106
+ <span
107
+ class="required error"
108
+ >
109
+ (common.label.required)
110
+ </span>
111
+ </ui-label>
112
+ <input
113
+ aria-labelledby="signup-email-label"
114
+ class="input input withLabel"
115
+ id="signup-email"
116
+ name="email"
117
+ required=""
118
+ type="email"
119
+ value=""
120
+ />
121
+ </ui-view>
122
+ </ui-view>
123
+ </ui-input-text>
124
+ <ui-input-text
125
+ class="view inputContainer"
126
+ >
127
+ <ui-view
128
+ class="view row inputBorder"
129
+ >
130
+ <ui-view
131
+ class="view wide content"
132
+ >
133
+ <ui-label
134
+ class="text paragraph text label"
135
+ htmlfor="signup-dateOfBirth"
136
+ id="signup-dateOfBirth-label"
137
+ >
138
+ core.label.date_of_birth
139
+ <span
140
+ class="required error"
141
+ >
142
+ (common.label.required)
143
+ </span>
144
+ </ui-label>
145
+ <input
146
+ aria-labelledby="signup-dateOfBirth-label"
147
+ class="input input withLabel"
148
+ id="signup-dateOfBirth"
149
+ maxlength="10"
150
+ name="dateOfBirth"
151
+ placeholder="DD/MM/YYYY"
152
+ required=""
153
+ type="inputDate"
154
+ value=""
155
+ />
156
+ </ui-view>
157
+ </ui-view>
158
+ </ui-input-text>
159
+ <ui-input-select
160
+ class="view inputContainer"
161
+ >
162
+ <ui-view
163
+ class="view row inputBorder"
164
+ >
165
+ <ui-view
166
+ class="view wide content"
167
+ >
168
+ <ui-label
169
+ class="text paragraph text label"
170
+ htmlfor="signup-country"
171
+ >
172
+ core.label.country
173
+ <span
174
+ class="required error"
175
+ >
176
+ (common.label.required)
177
+ </span>
178
+ </ui-label>
179
+ <select
180
+ class="select empty input withLabel empty"
181
+ id="signup-country"
182
+ name="country"
183
+ placeholder="common.label.select"
184
+ required=""
185
+ />
186
+ </ui-view>
187
+ <ui-icon
188
+ class="icon headline-3 icon expand"
189
+ >
190
+ <svg
191
+ fill="currentColor"
192
+ height="1em"
193
+ stroke="currentColor"
194
+ stroke-width="0"
195
+ viewBox="0 0 24 24"
196
+ width="1em"
197
+ xmlns="http://www.w3.org/2000/svg"
198
+ >
199
+ <path
200
+ d="M24 24H0V0h24v24z"
201
+ fill="none"
202
+ opacity=".87"
203
+ />
204
+ <path
205
+ d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
206
+ />
207
+ </svg>
208
+ </ui-icon>
209
+ </ui-view>
210
+ </ui-input-select>
211
+ <ui-input-text
212
+ class="view inputContainer"
213
+ >
214
+ <ui-view
215
+ class="view row inputBorder"
216
+ >
217
+ <ui-view
218
+ class="view wide content"
219
+ >
220
+ <ui-label
221
+ class="text paragraph text label"
222
+ htmlfor="signup-password"
223
+ id="signup-password-label"
224
+ >
225
+ common.label.password
226
+ <span
227
+ class="required error"
228
+ >
229
+ (common.label.required)
230
+ </span>
231
+ </ui-label>
232
+ <input
233
+ aria-labelledby="signup-password-label"
234
+ class="input input withLabel"
235
+ id="signup-password"
236
+ name="password"
237
+ required=""
238
+ type="password"
239
+ value=""
240
+ />
241
+ </ui-view>
242
+ <ui-pressable
243
+ class="pressable"
244
+ tabindex="-1"
245
+ >
246
+ <ui-icon
247
+ class="icon headline-3 icon password"
248
+ >
249
+ <svg
250
+ fill="currentColor"
251
+ height="1em"
252
+ stroke="currentColor"
253
+ stroke-width="0"
254
+ viewBox="0 0 24 24"
255
+ width="1em"
256
+ xmlns="http://www.w3.org/2000/svg"
257
+ >
258
+ <path
259
+ d="M0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0z"
260
+ fill="none"
261
+ />
262
+ <path
263
+ d="M12 6a9.77 9.77 0 0 1 8.82 5.5 9.647 9.647 0 0 1-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68A11.738 11.738 0 0 0 1 11.5C2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02a2.5 2.5 0 0 1-2.5-2.5c0-.05.01-.08.01-.13zm-3.4-3.4 1.75 1.75a4.6 4.6 0 0 0-.36 1.78 4.507 4.507 0 0 0 6.27 4.14l.98.98c-.88.24-1.8.38-2.75.38a9.77 9.77 0 0 1-8.82-5.5c.7-1.43 1.72-2.61 2.93-3.53z"
264
+ />
265
+ </svg>
266
+ </ui-icon>
267
+ </ui-pressable>
268
+ </ui-view>
269
+ <ui-text
270
+ class="text small text hint"
271
+ >
272
+ core.label.password_hint
273
+ </ui-text>
274
+ </ui-input-text>
275
+ <ui-input-option
276
+ class="pressable inputOption"
277
+ tabindex="0"
278
+ >
279
+ <ui-checkbox
280
+ class="checkbox"
281
+ >
282
+ <input
283
+ aria-labelledby="subscribed-label"
284
+ class="input"
285
+ name="subscribed"
286
+ type="checkbox"
287
+ value=""
288
+ />
289
+ </ui-checkbox>
290
+ <ui-label
291
+ class="text small text label"
292
+ htmlfor="subscribed"
293
+ id="subscribed-label"
294
+ >
295
+ core.label.subscribe
296
+ </ui-label>
297
+ </ui-input-option>
298
+ <ui-input-option
299
+ class="pressable inputOption"
300
+ id="signup-privacy"
301
+ tabindex="0"
302
+ >
303
+ <ui-checkbox
304
+ class="checkbox"
305
+ >
306
+ <input
307
+ aria-labelledby="signup-privacy-label"
308
+ class="input"
309
+ name="privacy"
310
+ type="checkbox"
311
+ value=""
312
+ />
313
+ </ui-checkbox>
314
+ <ui-label
315
+ class="text small text label"
316
+ htmlfor="signup-privacy"
317
+ id="signup-privacy-label"
318
+ >
319
+ core.label.privacy_policy
320
+ <span
321
+ class="required error"
322
+ >
323
+ (common.label.required)
324
+ </span>
325
+ </ui-label>
326
+ </ui-input-option>
327
+ <ui-button
328
+ class="pressable button large wide"
329
+ data-testid="signup-button"
330
+ tabindex="0"
331
+ >
332
+ <ui-view
333
+ class="view busyContainer"
334
+ >
335
+ <ui-view
336
+ class="view spinner"
337
+ />
338
+ </ui-view>
339
+ <ui-view
340
+ class="view row children"
341
+ >
342
+ core.action.signup
343
+ </ui-view>
344
+ </ui-button>
345
+ </ui-form>
346
+ </ui-signup>
347
+ </DocumentFragment>
348
+ `;
349
+
350
+ exports[`<Signup> renders 1`] = `
351
+ <DocumentFragment>
352
+ <ui-signup
353
+ class="view"
354
+ >
355
+ <ui-view
356
+ class="view wide"
357
+ >
358
+ <ui-text
359
+ class="text bold headline-2"
360
+ >
361
+ core.label.title_signup
362
+ </ui-text>
363
+ <ui-text
364
+ class="text paragraph"
365
+ >
366
+ core.label.description_signup
367
+ </ui-text>
368
+ </ui-view>
369
+ <ui-form>
370
+ <ui-input-text
371
+ class="view inputContainer"
372
+ >
373
+ <ui-view
374
+ class="view row inputBorder"
375
+ >
376
+ <ui-view
377
+ class="view wide content"
378
+ >
379
+ <ui-label
380
+ class="text paragraph text label"
381
+ htmlfor="signup-firstName"
382
+ id="signup-firstName-label"
383
+ >
384
+ common.label.name
385
+ <span
386
+ class="required error"
387
+ >
388
+ (common.label.required)
389
+ </span>
390
+ </ui-label>
391
+ <input
392
+ aria-labelledby="signup-firstName-label"
393
+ class="input input withLabel"
394
+ id="signup-firstName"
395
+ name="firstName"
396
+ required=""
397
+ type="text"
398
+ value=""
399
+ />
400
+ </ui-view>
401
+ </ui-view>
402
+ </ui-input-text>
403
+ <ui-input-text
404
+ class="view inputContainer"
405
+ >
406
+ <ui-view
407
+ class="view row inputBorder"
408
+ >
409
+ <ui-view
410
+ class="view wide content"
411
+ >
412
+ <ui-label
413
+ class="text paragraph text label"
414
+ htmlfor="signup-lastName"
415
+ id="signup-lastName-label"
416
+ >
417
+ common.label.lastname
418
+ <span
419
+ class="required error"
420
+ >
421
+ (common.label.required)
422
+ </span>
423
+ </ui-label>
424
+ <input
425
+ aria-labelledby="signup-lastName-label"
426
+ class="input input withLabel"
427
+ id="signup-lastName"
428
+ name="lastName"
429
+ required=""
430
+ type="text"
431
+ value=""
432
+ />
433
+ </ui-view>
434
+ </ui-view>
435
+ </ui-input-text>
436
+ <ui-input-text
437
+ class="view inputContainer"
438
+ >
439
+ <ui-view
440
+ class="view row inputBorder"
441
+ >
442
+ <ui-view
443
+ class="view wide content"
444
+ >
445
+ <ui-label
446
+ class="text paragraph text label"
447
+ htmlfor="signup-email"
448
+ id="signup-email-label"
449
+ >
450
+ common.label.email
451
+ <span
452
+ class="required error"
453
+ >
454
+ (common.label.required)
455
+ </span>
456
+ </ui-label>
457
+ <input
458
+ aria-labelledby="signup-email-label"
459
+ class="input input withLabel"
460
+ id="signup-email"
461
+ name="email"
462
+ required=""
463
+ type="email"
464
+ value=""
465
+ />
466
+ </ui-view>
467
+ </ui-view>
468
+ </ui-input-text>
469
+ <ui-input-text
470
+ class="view inputContainer"
471
+ >
472
+ <ui-view
473
+ class="view row inputBorder"
474
+ >
475
+ <ui-view
476
+ class="view wide content"
477
+ >
478
+ <ui-label
479
+ class="text paragraph text label"
480
+ htmlfor="signup-dateOfBirth"
481
+ id="signup-dateOfBirth-label"
482
+ >
483
+ core.label.date_of_birth
484
+ <span
485
+ class="required error"
486
+ >
487
+ (common.label.required)
488
+ </span>
489
+ </ui-label>
490
+ <input
491
+ aria-labelledby="signup-dateOfBirth-label"
492
+ class="input input withLabel"
493
+ id="signup-dateOfBirth"
494
+ maxlength="10"
495
+ name="dateOfBirth"
496
+ placeholder="DD/MM/YYYY"
497
+ required=""
498
+ type="inputDate"
499
+ value=""
500
+ />
501
+ </ui-view>
502
+ </ui-view>
503
+ </ui-input-text>
504
+ <ui-input-select
505
+ class="view inputContainer"
506
+ >
507
+ <ui-view
508
+ class="view row inputBorder"
509
+ >
510
+ <ui-view
511
+ class="view wide content"
512
+ >
513
+ <ui-label
514
+ class="text paragraph text label"
515
+ htmlfor="signup-country"
516
+ >
517
+ core.label.country
518
+ <span
519
+ class="required error"
520
+ >
521
+ (common.label.required)
522
+ </span>
523
+ </ui-label>
524
+ <select
525
+ class="select empty input withLabel empty"
526
+ id="signup-country"
527
+ name="country"
528
+ placeholder="common.label.select"
529
+ required=""
530
+ />
531
+ </ui-view>
532
+ <ui-icon
533
+ class="icon headline-3 icon expand"
534
+ >
535
+ <svg
536
+ fill="currentColor"
537
+ height="1em"
538
+ stroke="currentColor"
539
+ stroke-width="0"
540
+ viewBox="0 0 24 24"
541
+ width="1em"
542
+ xmlns="http://www.w3.org/2000/svg"
543
+ >
544
+ <path
545
+ d="M24 24H0V0h24v24z"
546
+ fill="none"
547
+ opacity=".87"
548
+ />
549
+ <path
550
+ d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
551
+ />
552
+ </svg>
553
+ </ui-icon>
554
+ </ui-view>
555
+ </ui-input-select>
556
+ <ui-input-text
557
+ class="view inputContainer"
558
+ >
559
+ <ui-view
560
+ class="view row inputBorder"
561
+ >
562
+ <ui-view
563
+ class="view wide content"
564
+ >
565
+ <ui-label
566
+ class="text paragraph text label"
567
+ htmlfor="signup-password"
568
+ id="signup-password-label"
569
+ >
570
+ common.label.password
571
+ <span
572
+ class="required error"
573
+ >
574
+ (common.label.required)
575
+ </span>
576
+ </ui-label>
577
+ <input
578
+ aria-labelledby="signup-password-label"
579
+ class="input input withLabel"
580
+ id="signup-password"
581
+ name="password"
582
+ required=""
583
+ type="password"
584
+ value=""
585
+ />
586
+ </ui-view>
587
+ <ui-pressable
588
+ class="pressable"
589
+ tabindex="-1"
590
+ >
591
+ <ui-icon
592
+ class="icon headline-3 icon password"
593
+ >
594
+ <svg
595
+ fill="currentColor"
596
+ height="1em"
597
+ stroke="currentColor"
598
+ stroke-width="0"
599
+ viewBox="0 0 24 24"
600
+ width="1em"
601
+ xmlns="http://www.w3.org/2000/svg"
602
+ >
603
+ <path
604
+ d="M0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0z"
605
+ fill="none"
606
+ />
607
+ <path
608
+ d="M12 6a9.77 9.77 0 0 1 8.82 5.5 9.647 9.647 0 0 1-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68A11.738 11.738 0 0 0 1 11.5C2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02a2.5 2.5 0 0 1-2.5-2.5c0-.05.01-.08.01-.13zm-3.4-3.4 1.75 1.75a4.6 4.6 0 0 0-.36 1.78 4.507 4.507 0 0 0 6.27 4.14l.98.98c-.88.24-1.8.38-2.75.38a9.77 9.77 0 0 1-8.82-5.5c.7-1.43 1.72-2.61 2.93-3.53z"
609
+ />
610
+ </svg>
611
+ </ui-icon>
612
+ </ui-pressable>
613
+ </ui-view>
614
+ <ui-text
615
+ class="text small text hint"
616
+ >
617
+ core.label.password_hint
618
+ </ui-text>
619
+ </ui-input-text>
620
+ <ui-input-option
621
+ class="pressable inputOption"
622
+ tabindex="0"
623
+ >
624
+ <ui-checkbox
625
+ class="checkbox"
626
+ >
627
+ <input
628
+ aria-labelledby="subscribed-label"
629
+ class="input"
630
+ name="subscribed"
631
+ type="checkbox"
632
+ value=""
633
+ />
634
+ </ui-checkbox>
635
+ <ui-label
636
+ class="text small text label"
637
+ htmlfor="subscribed"
638
+ id="subscribed-label"
639
+ >
640
+ core.label.subscribe
641
+ </ui-label>
642
+ </ui-input-option>
643
+ <ui-input-option
644
+ class="pressable inputOption"
645
+ id="signup-privacy"
646
+ tabindex="0"
647
+ >
648
+ <ui-checkbox
649
+ class="checkbox"
650
+ >
651
+ <input
652
+ aria-labelledby="signup-privacy-label"
653
+ class="input"
654
+ name="privacy"
655
+ type="checkbox"
656
+ value=""
657
+ />
658
+ </ui-checkbox>
659
+ <ui-label
660
+ class="text small text label"
661
+ htmlfor="signup-privacy"
662
+ id="signup-privacy-label"
663
+ >
664
+ core.label.privacy_policy
665
+ <span
666
+ class="required error"
667
+ >
668
+ (common.label.required)
669
+ </span>
670
+ </ui-label>
671
+ </ui-input-option>
672
+ <ui-button
673
+ class="pressable button large wide"
674
+ data-testid="signup-button"
675
+ tabindex="0"
676
+ >
677
+ <ui-view
678
+ class="view busyContainer"
679
+ >
680
+ <ui-view
681
+ class="view spinner"
682
+ />
683
+ </ui-view>
684
+ <ui-view
685
+ class="view row children"
686
+ >
687
+ core.action.signup
688
+ </ui-view>
689
+ </ui-button>
690
+ </ui-form>
691
+ </ui-signup>
692
+ </DocumentFragment>
693
+ `;
694
+
695
+ exports[`<Signup> testID 1`] = `
696
+ <DocumentFragment>
697
+ <ui-signup
698
+ class="view"
699
+ >
700
+ <ui-view
701
+ class="view wide"
702
+ >
703
+ <ui-text
704
+ class="text bold headline-2"
705
+ >
706
+ core.label.title_signup
707
+ </ui-text>
708
+ <ui-text
709
+ class="text paragraph"
710
+ >
711
+ core.label.description_signup
712
+ </ui-text>
713
+ </ui-view>
714
+ <ui-form
715
+ data-testid="mirai"
716
+ >
717
+ <ui-input-text
718
+ class="view inputContainer"
719
+ >
720
+ <ui-view
721
+ class="view row inputBorder"
722
+ >
723
+ <ui-view
724
+ class="view wide content"
725
+ >
726
+ <ui-label
727
+ class="text paragraph text label"
728
+ htmlfor="signup-firstName"
729
+ id="signup-firstName-label"
730
+ >
731
+ common.label.name
732
+ <span
733
+ class="required error"
734
+ >
735
+ (common.label.required)
736
+ </span>
737
+ </ui-label>
738
+ <input
739
+ aria-labelledby="signup-firstName-label"
740
+ class="input input withLabel"
741
+ id="signup-firstName"
742
+ name="firstName"
743
+ required=""
744
+ type="text"
745
+ value=""
746
+ />
747
+ </ui-view>
748
+ </ui-view>
749
+ </ui-input-text>
750
+ <ui-input-text
751
+ class="view inputContainer"
752
+ >
753
+ <ui-view
754
+ class="view row inputBorder"
755
+ >
756
+ <ui-view
757
+ class="view wide content"
758
+ >
759
+ <ui-label
760
+ class="text paragraph text label"
761
+ htmlfor="signup-lastName"
762
+ id="signup-lastName-label"
763
+ >
764
+ common.label.lastname
765
+ <span
766
+ class="required error"
767
+ >
768
+ (common.label.required)
769
+ </span>
770
+ </ui-label>
771
+ <input
772
+ aria-labelledby="signup-lastName-label"
773
+ class="input input withLabel"
774
+ id="signup-lastName"
775
+ name="lastName"
776
+ required=""
777
+ type="text"
778
+ value=""
779
+ />
780
+ </ui-view>
781
+ </ui-view>
782
+ </ui-input-text>
783
+ <ui-input-text
784
+ class="view inputContainer"
785
+ >
786
+ <ui-view
787
+ class="view row inputBorder"
788
+ >
789
+ <ui-view
790
+ class="view wide content"
791
+ >
792
+ <ui-label
793
+ class="text paragraph text label"
794
+ htmlfor="signup-email"
795
+ id="signup-email-label"
796
+ >
797
+ common.label.email
798
+ <span
799
+ class="required error"
800
+ >
801
+ (common.label.required)
802
+ </span>
803
+ </ui-label>
804
+ <input
805
+ aria-labelledby="signup-email-label"
806
+ class="input input withLabel"
807
+ id="signup-email"
808
+ name="email"
809
+ required=""
810
+ type="email"
811
+ value=""
812
+ />
813
+ </ui-view>
814
+ </ui-view>
815
+ </ui-input-text>
816
+ <ui-input-text
817
+ class="view inputContainer"
818
+ >
819
+ <ui-view
820
+ class="view row inputBorder"
821
+ >
822
+ <ui-view
823
+ class="view wide content"
824
+ >
825
+ <ui-label
826
+ class="text paragraph text label"
827
+ htmlfor="signup-dateOfBirth"
828
+ id="signup-dateOfBirth-label"
829
+ >
830
+ core.label.date_of_birth
831
+ <span
832
+ class="required error"
833
+ >
834
+ (common.label.required)
835
+ </span>
836
+ </ui-label>
837
+ <input
838
+ aria-labelledby="signup-dateOfBirth-label"
839
+ class="input input withLabel"
840
+ id="signup-dateOfBirth"
841
+ maxlength="10"
842
+ name="dateOfBirth"
843
+ placeholder="DD/MM/YYYY"
844
+ required=""
845
+ type="inputDate"
846
+ value=""
847
+ />
848
+ </ui-view>
849
+ </ui-view>
850
+ </ui-input-text>
851
+ <ui-input-select
852
+ class="view inputContainer"
853
+ >
854
+ <ui-view
855
+ class="view row inputBorder"
856
+ >
857
+ <ui-view
858
+ class="view wide content"
859
+ >
860
+ <ui-label
861
+ class="text paragraph text label"
862
+ htmlfor="signup-country"
863
+ >
864
+ core.label.country
865
+ <span
866
+ class="required error"
867
+ >
868
+ (common.label.required)
869
+ </span>
870
+ </ui-label>
871
+ <select
872
+ class="select empty input withLabel empty"
873
+ id="signup-country"
874
+ name="country"
875
+ placeholder="common.label.select"
876
+ required=""
877
+ />
878
+ </ui-view>
879
+ <ui-icon
880
+ class="icon headline-3 icon expand"
881
+ >
882
+ <svg
883
+ fill="currentColor"
884
+ height="1em"
885
+ stroke="currentColor"
886
+ stroke-width="0"
887
+ viewBox="0 0 24 24"
888
+ width="1em"
889
+ xmlns="http://www.w3.org/2000/svg"
890
+ >
891
+ <path
892
+ d="M24 24H0V0h24v24z"
893
+ fill="none"
894
+ opacity=".87"
895
+ />
896
+ <path
897
+ d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
898
+ />
899
+ </svg>
900
+ </ui-icon>
901
+ </ui-view>
902
+ </ui-input-select>
903
+ <ui-input-text
904
+ class="view inputContainer"
905
+ >
906
+ <ui-view
907
+ class="view row inputBorder"
908
+ >
909
+ <ui-view
910
+ class="view wide content"
911
+ >
912
+ <ui-label
913
+ class="text paragraph text label"
914
+ htmlfor="signup-password"
915
+ id="signup-password-label"
916
+ >
917
+ common.label.password
918
+ <span
919
+ class="required error"
920
+ >
921
+ (common.label.required)
922
+ </span>
923
+ </ui-label>
924
+ <input
925
+ aria-labelledby="signup-password-label"
926
+ class="input input withLabel"
927
+ id="signup-password"
928
+ name="password"
929
+ required=""
930
+ type="password"
931
+ value=""
932
+ />
933
+ </ui-view>
934
+ <ui-pressable
935
+ class="pressable"
936
+ tabindex="-1"
937
+ >
938
+ <ui-icon
939
+ class="icon headline-3 icon password"
940
+ >
941
+ <svg
942
+ fill="currentColor"
943
+ height="1em"
944
+ stroke="currentColor"
945
+ stroke-width="0"
946
+ viewBox="0 0 24 24"
947
+ width="1em"
948
+ xmlns="http://www.w3.org/2000/svg"
949
+ >
950
+ <path
951
+ d="M0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0z"
952
+ fill="none"
953
+ />
954
+ <path
955
+ d="M12 6a9.77 9.77 0 0 1 8.82 5.5 9.647 9.647 0 0 1-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68A11.738 11.738 0 0 0 1 11.5C2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02a2.5 2.5 0 0 1-2.5-2.5c0-.05.01-.08.01-.13zm-3.4-3.4 1.75 1.75a4.6 4.6 0 0 0-.36 1.78 4.507 4.507 0 0 0 6.27 4.14l.98.98c-.88.24-1.8.38-2.75.38a9.77 9.77 0 0 1-8.82-5.5c.7-1.43 1.72-2.61 2.93-3.53z"
956
+ />
957
+ </svg>
958
+ </ui-icon>
959
+ </ui-pressable>
960
+ </ui-view>
961
+ <ui-text
962
+ class="text small text hint"
963
+ >
964
+ core.label.password_hint
965
+ </ui-text>
966
+ </ui-input-text>
967
+ <ui-input-option
968
+ class="pressable inputOption"
969
+ tabindex="0"
970
+ >
971
+ <ui-checkbox
972
+ class="checkbox"
973
+ >
974
+ <input
975
+ aria-labelledby="subscribed-label"
976
+ class="input"
977
+ name="subscribed"
978
+ type="checkbox"
979
+ value=""
980
+ />
981
+ </ui-checkbox>
982
+ <ui-label
983
+ class="text small text label"
984
+ htmlfor="subscribed"
985
+ id="subscribed-label"
986
+ >
987
+ core.label.subscribe
988
+ </ui-label>
989
+ </ui-input-option>
990
+ <ui-input-option
991
+ class="pressable inputOption"
992
+ id="signup-privacy"
993
+ tabindex="0"
994
+ >
995
+ <ui-checkbox
996
+ class="checkbox"
997
+ >
998
+ <input
999
+ aria-labelledby="signup-privacy-label"
1000
+ class="input"
1001
+ name="privacy"
1002
+ type="checkbox"
1003
+ value=""
1004
+ />
1005
+ </ui-checkbox>
1006
+ <ui-label
1007
+ class="text small text label"
1008
+ htmlfor="signup-privacy"
1009
+ id="signup-privacy-label"
1010
+ >
1011
+ core.label.privacy_policy
1012
+ <span
1013
+ class="required error"
1014
+ >
1015
+ (common.label.required)
1016
+ </span>
1017
+ </ui-label>
1018
+ </ui-input-option>
1019
+ <ui-button
1020
+ class="pressable button large wide"
1021
+ data-testid="signup-button"
1022
+ tabindex="0"
1023
+ >
1024
+ <ui-view
1025
+ class="view busyContainer"
1026
+ >
1027
+ <ui-view
1028
+ class="view spinner"
1029
+ />
1030
+ </ui-view>
1031
+ <ui-view
1032
+ class="view row children"
1033
+ >
1034
+ core.action.signup
1035
+ </ui-view>
1036
+ </ui-button>
1037
+ </ui-form>
1038
+ </ui-signup>
1039
+ </DocumentFragment>
1040
+ `;