@mirai/core 0.4.21 → 0.4.23

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 (16) hide show
  1. package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +0 -65
  2. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Information.test.js.snap +4 -4
  3. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +24 -624
  4. package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +0 -32
  5. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +270 -1362
  6. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +4 -4
  7. package/build/components/Finder/Finder.module.css +0 -1
  8. package/build/components/Rates/__tests__/__snapshots__/Rates.test.js.snap +1204 -2244
  9. package/build/components/Rates/components/Filters/__tests__/__snapshots__/FIlters.Button.test.js.snap +1 -2
  10. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.test.js.snap +1 -2
  11. package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +9 -174
  12. package/build/components/__shared__/BookingSummary/_tests__/__snapshots__/BookingSummary.test.js.snap +8 -8
  13. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +1 -1
  14. package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +3 -3
  15. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.test.js.snap +5 -5
  16. package/package.json +1 -1
@@ -6,248 +6,66 @@ exports[`<Checkout> partial:<Confirmation> Test A/B variant A 1`] = `
6
6
  class="view"
7
7
  variant="A"
8
8
  >
9
- <ui-view
10
- class="view wide"
9
+ <ui-button
10
+ class="pressable button large wide"
11
+ data-testid="checkout-button"
12
+ disabled="false"
13
+ methods="CARD,AMAZON_PAY"
14
+ tabindex="0"
11
15
  >
12
16
  <ui-view
13
- class="view"
17
+ class="view busyContainer"
14
18
  >
15
- <ui-text
16
- class="text bold headline-3"
17
- >
18
- user.label.booking_summary
19
- </ui-text>
20
- <ui-view
21
- class="view row wide"
22
- >
23
- <ui-view
24
- class="view"
25
- >
26
- <ui-text
27
- class="text bold paragraph"
28
- >
29
- common.label.check_in
30
- </ui-text>
31
- <ui-view
32
- class="view"
33
- >
34
- <ui-text
35
- class="text action"
36
- >
37
- mié, 19 jul 2023
38
- </ui-text>
39
- </ui-view>
40
- </ui-view>
41
- <ui-view
42
- class="view"
43
- >
44
- <ui-text
45
- class="text bold paragraph"
46
- >
47
- common.label.check_out
48
- </ui-text>
49
- <ui-view
50
- class="view"
51
- >
52
- <ui-text
53
- class="text action"
54
- >
55
- sáb, 22 jul 2023
56
- </ui-text>
57
- </ui-view>
58
- </ui-view>
59
- </ui-view>
60
- <ui-view
61
- class="view"
62
- >
63
- <ui-text
64
- class="text bold paragraph"
65
- >
66
- user.label.your_reservation
67
- </ui-text>
68
- <ui-text
69
- class="text action"
70
- >
71
- common.label.night
72
- <ui-text
73
- style="text-decoration: underline;"
74
- >
75
- count, common.label.room
76
- </ui-text>
77
- count
78
- </ui-text>
79
- <ui-view
80
- class="view row"
81
- >
82
- <ui-text
83
- class="text light small"
84
- >
85
- Silver Views
86
- </ui-text>
87
- </ui-view>
88
- </ui-view>
89
19
  <ui-view
90
- class="view"
91
- >
92
- <ui-text
93
- class="text bold paragraph"
94
- >
95
- common.label.accommodation
96
- </ui-text>
97
- <ui-text
98
- class="text action"
99
- >
100
- Hotel Augusta Eco Wellness Resort
101
- </ui-text>
102
- <ui-text
103
- class="text light small"
104
- >
105
- Lugar Padriñan 25, Sanxenxo, España
106
- </ui-text>
107
- <ui-text
108
- class="text light small"
109
- />
110
- </ui-view>
20
+ class="view spinner"
21
+ />
111
22
  </ui-view>
112
23
  <ui-view
113
- class="view"
24
+ class="view row children"
114
25
  >
115
- <ui-text
116
- class="text bold headline-3"
117
- >
118
- user.label.price_summary
119
- </ui-text>
120
- <ui-view
121
- class="view wide"
122
- >
123
- <ui-view
124
- class="view row"
125
- >
126
- <ui-text
127
- class="text action wide"
128
- >
129
- common.label.base_price
130
- </ui-text>
131
- <ui-text
132
- class="text action"
133
- >
134
- 646,36 €
135
- </ui-text>
136
- </ui-view>
137
- <ui-view
138
- class="view row"
139
- >
140
- <ui-text
141
- class="text action wide"
142
- >
143
- user.label.checkout_discount_1
144
- </ui-text>
145
- <ui-text
146
- class="text action"
147
- >
148
- -32,31 €
149
- </ui-text>
150
- </ui-view>
151
- <ui-view
152
- class="view row"
153
- >
154
- <ui-text
155
- class="text action wide"
156
- >
157
- user.notification.checkout_tax_0
158
- </ui-text>
159
- <ui-text
160
- class="text action"
161
- >
162
- 61,41 €
163
- </ui-text>
164
- </ui-view>
165
- <ui-view
166
- class="view row"
167
- >
168
- <ui-text
169
- class="text bold paragraph wide"
170
- >
171
- common.label.total
172
- </ui-text>
173
- <ui-text
174
- class="text bold paragraph"
175
- >
176
- 675,45 €
177
- </ui-text>
178
- </ui-view>
179
- </ui-view>
26
+ user.action.book_now
180
27
  </ui-view>
181
- </ui-view>
182
- <ui-view
183
- class="view"
28
+ </ui-button>
29
+ <ui-modal-overflow
30
+ class="pressable container overflow"
31
+ style="height: 768px;"
32
+ tabindex="0"
184
33
  >
185
- <ui-button
186
- class="pressable button large wide"
187
- data-testid="checkout-button"
188
- disabled="false"
189
- methods="CARD,AMAZON_PAY"
190
- tabindex="0"
34
+ <ui-modal
35
+ class="view fit modal calcWidth"
191
36
  >
192
37
  <ui-view
193
- class="view busyContainer"
194
- >
195
- <ui-view
196
- class="view spinner"
197
- />
198
- </ui-view>
199
- <ui-view
200
- class="view row children"
201
- >
202
- user.action.book_now
203
- </ui-view>
204
- </ui-button>
205
- <ui-modal-overflow
206
- class="pressable container overflow"
207
- style="height: 768px;"
208
- tabindex="0"
209
- >
210
- <ui-modal
211
- class="view fit modal calcWidth"
38
+ class="view row header hideBack"
212
39
  >
213
- <ui-view
214
- class="view row header hideBack"
40
+ <ui-button
41
+ class="pressable button small squared transparent"
42
+ tabindex="0"
215
43
  >
216
- <ui-button
217
- class="pressable button small squared transparent"
218
- tabindex="0"
44
+ <ui-icon
45
+ class="icon headline-3 icon"
219
46
  >
220
- <ui-icon
221
- class="icon headline-3 icon"
47
+ <svg
48
+ fill="currentColor"
49
+ height="1em"
50
+ stroke="currentColor"
51
+ stroke-width="0"
52
+ viewBox="0 0 24 24"
53
+ width="1em"
54
+ xmlns="http://www.w3.org/2000/svg"
222
55
  >
223
- <svg
224
- fill="currentColor"
225
- height="1em"
226
- stroke="currentColor"
227
- stroke-width="0"
228
- viewBox="0 0 24 24"
229
- width="1em"
230
- xmlns="http://www.w3.org/2000/svg"
231
- >
232
- <path
233
- d="M0 0h24v24H0V0z"
234
- fill="none"
235
- />
236
- <path
237
- 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"
238
- />
239
- </svg>
240
- </ui-icon>
241
- </ui-button>
242
- </ui-view>
243
- </ui-modal>
244
- </ui-modal-overflow>
245
- <ui-text
246
- class="text light small wide"
247
- >
248
- common.notification.ssl_encryption
249
- </ui-text>
250
- </ui-view>
56
+ <path
57
+ d="M0 0h24v24H0V0z"
58
+ fill="none"
59
+ />
60
+ <path
61
+ d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
62
+ />
63
+ </svg>
64
+ </ui-icon>
65
+ </ui-button>
66
+ </ui-view>
67
+ </ui-modal>
68
+ </ui-modal-overflow>
251
69
  </ui-view>
252
70
  </DocumentFragment>
253
71
  `;
@@ -258,248 +76,66 @@ exports[`<Checkout> partial:<Confirmation> Test A/B variant B 1`] = `
258
76
  class="view"
259
77
  variant="B"
260
78
  >
261
- <ui-view
262
- class="view wide"
79
+ <ui-button
80
+ class="pressable button large wide"
81
+ data-testid="checkout-button"
82
+ disabled="false"
83
+ methods="CARD,AMAZON_PAY"
84
+ tabindex="0"
263
85
  >
264
86
  <ui-view
265
- class="view"
87
+ class="view busyContainer"
266
88
  >
267
- <ui-text
268
- class="text bold headline-3"
269
- >
270
- user.label.booking_summary
271
- </ui-text>
272
- <ui-view
273
- class="view row wide"
274
- >
275
- <ui-view
276
- class="view"
277
- >
278
- <ui-text
279
- class="text bold paragraph"
280
- >
281
- common.label.check_in
282
- </ui-text>
283
- <ui-view
284
- class="view"
285
- >
286
- <ui-text
287
- class="text action"
288
- >
289
- mié, 19 jul 2023
290
- </ui-text>
291
- </ui-view>
292
- </ui-view>
293
- <ui-view
294
- class="view"
295
- >
296
- <ui-text
297
- class="text bold paragraph"
298
- >
299
- common.label.check_out
300
- </ui-text>
301
- <ui-view
302
- class="view"
303
- >
304
- <ui-text
305
- class="text action"
306
- >
307
- sáb, 22 jul 2023
308
- </ui-text>
309
- </ui-view>
310
- </ui-view>
311
- </ui-view>
312
- <ui-view
313
- class="view"
314
- >
315
- <ui-text
316
- class="text bold paragraph"
317
- >
318
- user.label.your_reservation
319
- </ui-text>
320
- <ui-text
321
- class="text action"
322
- >
323
- common.label.night
324
- <ui-text
325
- style="text-decoration: underline;"
326
- >
327
- count, common.label.room
328
- </ui-text>
329
- count
330
- </ui-text>
331
- <ui-view
332
- class="view row"
333
- >
334
- <ui-text
335
- class="text light small"
336
- >
337
- Silver Views
338
- </ui-text>
339
- </ui-view>
340
- </ui-view>
341
89
  <ui-view
342
- class="view"
343
- >
344
- <ui-text
345
- class="text bold paragraph"
346
- >
347
- common.label.accommodation
348
- </ui-text>
349
- <ui-text
350
- class="text action"
351
- >
352
- Hotel Augusta Eco Wellness Resort
353
- </ui-text>
354
- <ui-text
355
- class="text light small"
356
- >
357
- Lugar Padriñan 25, Sanxenxo, España
358
- </ui-text>
359
- <ui-text
360
- class="text light small"
361
- />
362
- </ui-view>
90
+ class="view spinner"
91
+ />
363
92
  </ui-view>
364
93
  <ui-view
365
- class="view"
94
+ class="view row children"
366
95
  >
367
- <ui-text
368
- class="text bold headline-3"
369
- >
370
- user.label.price_summary
371
- </ui-text>
372
- <ui-view
373
- class="view wide"
374
- >
375
- <ui-view
376
- class="view row"
377
- >
378
- <ui-text
379
- class="text action wide"
380
- >
381
- common.label.base_price
382
- </ui-text>
383
- <ui-text
384
- class="text action"
385
- >
386
- 646,36 €
387
- </ui-text>
388
- </ui-view>
389
- <ui-view
390
- class="view row"
391
- >
392
- <ui-text
393
- class="text action wide"
394
- >
395
- user.label.checkout_discount_1
396
- </ui-text>
397
- <ui-text
398
- class="text action"
399
- >
400
- -32,31 €
401
- </ui-text>
402
- </ui-view>
403
- <ui-view
404
- class="view row"
405
- >
406
- <ui-text
407
- class="text action wide"
408
- >
409
- user.notification.checkout_tax_0
410
- </ui-text>
411
- <ui-text
412
- class="text action"
413
- >
414
- 61,41 €
415
- </ui-text>
416
- </ui-view>
417
- <ui-view
418
- class="view row"
419
- >
420
- <ui-text
421
- class="text bold paragraph wide"
422
- >
423
- common.label.total
424
- </ui-text>
425
- <ui-text
426
- class="text bold paragraph"
427
- >
428
- 675,45 €
429
- </ui-text>
430
- </ui-view>
431
- </ui-view>
96
+ user.action.book_now
432
97
  </ui-view>
433
- </ui-view>
434
- <ui-view
435
- class="view"
98
+ </ui-button>
99
+ <ui-modal-overflow
100
+ class="pressable container overflow"
101
+ style="height: 768px;"
102
+ tabindex="0"
436
103
  >
437
- <ui-button
438
- class="pressable button large wide"
439
- data-testid="checkout-button"
440
- disabled="false"
441
- methods="CARD,AMAZON_PAY"
442
- tabindex="0"
104
+ <ui-modal
105
+ class="view fit modal calcWidth"
443
106
  >
444
107
  <ui-view
445
- class="view busyContainer"
446
- >
447
- <ui-view
448
- class="view spinner"
449
- />
450
- </ui-view>
451
- <ui-view
452
- class="view row children"
453
- >
454
- user.action.book_now
455
- </ui-view>
456
- </ui-button>
457
- <ui-modal-overflow
458
- class="pressable container overflow"
459
- style="height: 768px;"
460
- tabindex="0"
461
- >
462
- <ui-modal
463
- class="view fit modal calcWidth"
108
+ class="view row header hideBack"
464
109
  >
465
- <ui-view
466
- class="view row header hideBack"
110
+ <ui-button
111
+ class="pressable button small squared transparent"
112
+ tabindex="0"
467
113
  >
468
- <ui-button
469
- class="pressable button small squared transparent"
470
- tabindex="0"
114
+ <ui-icon
115
+ class="icon headline-3 icon"
471
116
  >
472
- <ui-icon
473
- class="icon headline-3 icon"
117
+ <svg
118
+ fill="currentColor"
119
+ height="1em"
120
+ stroke="currentColor"
121
+ stroke-width="0"
122
+ viewBox="0 0 24 24"
123
+ width="1em"
124
+ xmlns="http://www.w3.org/2000/svg"
474
125
  >
475
- <svg
476
- fill="currentColor"
477
- height="1em"
478
- stroke="currentColor"
479
- stroke-width="0"
480
- viewBox="0 0 24 24"
481
- width="1em"
482
- xmlns="http://www.w3.org/2000/svg"
483
- >
484
- <path
485
- d="M0 0h24v24H0V0z"
486
- fill="none"
487
- />
488
- <path
489
- 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"
490
- />
491
- </svg>
492
- </ui-icon>
493
- </ui-button>
494
- </ui-view>
495
- </ui-modal>
496
- </ui-modal-overflow>
497
- <ui-text
498
- class="text light small wide"
499
- >
500
- common.notification.ssl_encryption
501
- </ui-text>
502
- </ui-view>
126
+ <path
127
+ d="M0 0h24v24H0V0z"
128
+ fill="none"
129
+ />
130
+ <path
131
+ d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
132
+ />
133
+ </svg>
134
+ </ui-icon>
135
+ </ui-button>
136
+ </ui-view>
137
+ </ui-modal>
138
+ </ui-modal-overflow>
503
139
  </ui-view>
504
140
  </DocumentFragment>
505
141
  `;
@@ -509,248 +145,66 @@ exports[`<Checkout> partial:<Confirmation> inherit:className 1`] = `
509
145
  <ui-view
510
146
  class="view"
511
147
  >
512
- <ui-view
513
- class="view wide"
148
+ <ui-button
149
+ class="pressable button large wide"
150
+ data-testid="checkout-button"
151
+ disabled="false"
152
+ methods="CARD,AMAZON_PAY"
153
+ tabindex="0"
514
154
  >
515
155
  <ui-view
516
- class="view"
156
+ class="view busyContainer"
517
157
  >
518
- <ui-text
519
- class="text bold headline-3"
520
- >
521
- user.label.booking_summary
522
- </ui-text>
523
- <ui-view
524
- class="view row wide"
525
- >
526
- <ui-view
527
- class="view"
528
- >
529
- <ui-text
530
- class="text bold paragraph"
531
- >
532
- common.label.check_in
533
- </ui-text>
534
- <ui-view
535
- class="view"
536
- >
537
- <ui-text
538
- class="text action"
539
- >
540
- mié, 19 jul 2023
541
- </ui-text>
542
- </ui-view>
543
- </ui-view>
544
- <ui-view
545
- class="view"
546
- >
547
- <ui-text
548
- class="text bold paragraph"
549
- >
550
- common.label.check_out
551
- </ui-text>
552
- <ui-view
553
- class="view"
554
- >
555
- <ui-text
556
- class="text action"
557
- >
558
- sáb, 22 jul 2023
559
- </ui-text>
560
- </ui-view>
561
- </ui-view>
562
- </ui-view>
563
158
  <ui-view
564
- class="view"
565
- >
566
- <ui-text
567
- class="text bold paragraph"
568
- >
569
- user.label.your_reservation
570
- </ui-text>
571
- <ui-text
572
- class="text action"
573
- >
574
- common.label.night
575
- <ui-text
576
- style="text-decoration: underline;"
577
- >
578
- count, common.label.room
579
- </ui-text>
580
- count
581
- </ui-text>
582
- <ui-view
583
- class="view row"
584
- >
585
- <ui-text
586
- class="text light small"
587
- >
588
- Silver Views
589
- </ui-text>
590
- </ui-view>
591
- </ui-view>
592
- <ui-view
593
- class="view"
594
- >
595
- <ui-text
596
- class="text bold paragraph"
597
- >
598
- common.label.accommodation
599
- </ui-text>
600
- <ui-text
601
- class="text action"
602
- >
603
- Hotel Augusta Eco Wellness Resort
604
- </ui-text>
605
- <ui-text
606
- class="text light small"
607
- >
608
- Lugar Padriñan 25, Sanxenxo, España
609
- </ui-text>
610
- <ui-text
611
- class="text light small"
612
- />
613
- </ui-view>
159
+ class="view spinner"
160
+ />
614
161
  </ui-view>
615
162
  <ui-view
616
- class="view"
163
+ class="view row children"
617
164
  >
618
- <ui-text
619
- class="text bold headline-3"
620
- >
621
- user.label.price_summary
622
- </ui-text>
623
- <ui-view
624
- class="view wide"
625
- >
626
- <ui-view
627
- class="view row"
628
- >
629
- <ui-text
630
- class="text action wide"
631
- >
632
- common.label.base_price
633
- </ui-text>
634
- <ui-text
635
- class="text action"
636
- >
637
- 646,36 €
638
- </ui-text>
639
- </ui-view>
640
- <ui-view
641
- class="view row"
642
- >
643
- <ui-text
644
- class="text action wide"
645
- >
646
- user.label.checkout_discount_1
647
- </ui-text>
648
- <ui-text
649
- class="text action"
650
- >
651
- -32,31 €
652
- </ui-text>
653
- </ui-view>
654
- <ui-view
655
- class="view row"
656
- >
657
- <ui-text
658
- class="text action wide"
659
- >
660
- user.notification.checkout_tax_0
661
- </ui-text>
662
- <ui-text
663
- class="text action"
664
- >
665
- 61,41 €
666
- </ui-text>
667
- </ui-view>
668
- <ui-view
669
- class="view row"
670
- >
671
- <ui-text
672
- class="text bold paragraph wide"
673
- >
674
- common.label.total
675
- </ui-text>
676
- <ui-text
677
- class="text bold paragraph"
678
- >
679
- 675,45 €
680
- </ui-text>
681
- </ui-view>
682
- </ui-view>
165
+ user.action.book_now
683
166
  </ui-view>
684
- </ui-view>
685
- <ui-view
686
- class="view"
167
+ </ui-button>
168
+ <ui-modal-overflow
169
+ class="pressable container overflow"
170
+ style="height: 768px;"
171
+ tabindex="0"
687
172
  >
688
- <ui-button
689
- class="pressable button large wide"
690
- data-testid="checkout-button"
691
- disabled="false"
692
- methods="CARD,AMAZON_PAY"
693
- tabindex="0"
173
+ <ui-modal
174
+ class="view fit modal calcWidth"
694
175
  >
695
176
  <ui-view
696
- class="view busyContainer"
697
- >
698
- <ui-view
699
- class="view spinner"
700
- />
701
- </ui-view>
702
- <ui-view
703
- class="view row children"
177
+ class="view row header hideBack"
704
178
  >
705
- user.action.book_now
706
- </ui-view>
707
- </ui-button>
708
- <ui-modal-overflow
709
- class="pressable container overflow"
710
- style="height: 768px;"
711
- tabindex="0"
712
- >
713
- <ui-modal
714
- class="view fit modal calcWidth"
715
- >
716
- <ui-view
717
- class="view row header hideBack"
179
+ <ui-button
180
+ class="pressable button small squared transparent"
181
+ tabindex="0"
718
182
  >
719
- <ui-button
720
- class="pressable button small squared transparent"
721
- tabindex="0"
183
+ <ui-icon
184
+ class="icon headline-3 icon"
722
185
  >
723
- <ui-icon
724
- class="icon headline-3 icon"
186
+ <svg
187
+ fill="currentColor"
188
+ height="1em"
189
+ stroke="currentColor"
190
+ stroke-width="0"
191
+ viewBox="0 0 24 24"
192
+ width="1em"
193
+ xmlns="http://www.w3.org/2000/svg"
725
194
  >
726
- <svg
727
- fill="currentColor"
728
- height="1em"
729
- stroke="currentColor"
730
- stroke-width="0"
731
- viewBox="0 0 24 24"
732
- width="1em"
733
- xmlns="http://www.w3.org/2000/svg"
734
- >
735
- <path
736
- d="M0 0h24v24H0V0z"
737
- fill="none"
738
- />
739
- <path
740
- 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"
741
- />
742
- </svg>
743
- </ui-icon>
744
- </ui-button>
745
- </ui-view>
746
- </ui-modal>
747
- </ui-modal-overflow>
748
- <ui-text
749
- class="text light small wide"
750
- >
751
- common.notification.ssl_encryption
752
- </ui-text>
753
- </ui-view>
195
+ <path
196
+ d="M0 0h24v24H0V0z"
197
+ fill="none"
198
+ />
199
+ <path
200
+ d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
201
+ />
202
+ </svg>
203
+ </ui-icon>
204
+ </ui-button>
205
+ </ui-view>
206
+ </ui-modal>
207
+ </ui-modal-overflow>
754
208
  </ui-view>
755
209
  </DocumentFragment>
756
210
  `;
@@ -760,248 +214,66 @@ exports[`<Checkout> partial:<Confirmation> renders 1`] = `
760
214
  <ui-view
761
215
  class="view"
762
216
  >
763
- <ui-view
764
- class="view wide"
217
+ <ui-button
218
+ class="pressable button large wide"
219
+ data-testid="checkout-button"
220
+ disabled="false"
221
+ methods="CARD,AMAZON_PAY"
222
+ tabindex="0"
765
223
  >
766
224
  <ui-view
767
- class="view"
225
+ class="view busyContainer"
768
226
  >
769
- <ui-text
770
- class="text bold headline-3"
771
- >
772
- user.label.booking_summary
773
- </ui-text>
774
- <ui-view
775
- class="view row wide"
776
- >
777
- <ui-view
778
- class="view"
779
- >
780
- <ui-text
781
- class="text bold paragraph"
782
- >
783
- common.label.check_in
784
- </ui-text>
785
- <ui-view
786
- class="view"
787
- >
788
- <ui-text
789
- class="text action"
790
- >
791
- mié, 19 jul 2023
792
- </ui-text>
793
- </ui-view>
794
- </ui-view>
795
- <ui-view
796
- class="view"
797
- >
798
- <ui-text
799
- class="text bold paragraph"
800
- >
801
- common.label.check_out
802
- </ui-text>
803
- <ui-view
804
- class="view"
805
- >
806
- <ui-text
807
- class="text action"
808
- >
809
- sáb, 22 jul 2023
810
- </ui-text>
811
- </ui-view>
812
- </ui-view>
813
- </ui-view>
814
- <ui-view
815
- class="view"
816
- >
817
- <ui-text
818
- class="text bold paragraph"
819
- >
820
- user.label.your_reservation
821
- </ui-text>
822
- <ui-text
823
- class="text action"
824
- >
825
- common.label.night
826
- <ui-text
827
- style="text-decoration: underline;"
828
- >
829
- count, common.label.room
830
- </ui-text>
831
- count
832
- </ui-text>
833
- <ui-view
834
- class="view row"
835
- >
836
- <ui-text
837
- class="text light small"
838
- >
839
- Silver Views
840
- </ui-text>
841
- </ui-view>
842
- </ui-view>
843
227
  <ui-view
844
- class="view"
845
- >
846
- <ui-text
847
- class="text bold paragraph"
848
- >
849
- common.label.accommodation
850
- </ui-text>
851
- <ui-text
852
- class="text action"
853
- >
854
- Hotel Augusta Eco Wellness Resort
855
- </ui-text>
856
- <ui-text
857
- class="text light small"
858
- >
859
- Lugar Padriñan 25, Sanxenxo, España
860
- </ui-text>
861
- <ui-text
862
- class="text light small"
863
- />
864
- </ui-view>
228
+ class="view spinner"
229
+ />
865
230
  </ui-view>
866
231
  <ui-view
867
- class="view"
232
+ class="view row children"
868
233
  >
869
- <ui-text
870
- class="text bold headline-3"
871
- >
872
- user.label.price_summary
873
- </ui-text>
874
- <ui-view
875
- class="view wide"
876
- >
877
- <ui-view
878
- class="view row"
879
- >
880
- <ui-text
881
- class="text action wide"
882
- >
883
- common.label.base_price
884
- </ui-text>
885
- <ui-text
886
- class="text action"
887
- >
888
- 646,36 €
889
- </ui-text>
890
- </ui-view>
891
- <ui-view
892
- class="view row"
893
- >
894
- <ui-text
895
- class="text action wide"
896
- >
897
- user.label.checkout_discount_1
898
- </ui-text>
899
- <ui-text
900
- class="text action"
901
- >
902
- -32,31 €
903
- </ui-text>
904
- </ui-view>
905
- <ui-view
906
- class="view row"
907
- >
908
- <ui-text
909
- class="text action wide"
910
- >
911
- user.notification.checkout_tax_0
912
- </ui-text>
913
- <ui-text
914
- class="text action"
915
- >
916
- 61,41 €
917
- </ui-text>
918
- </ui-view>
919
- <ui-view
920
- class="view row"
921
- >
922
- <ui-text
923
- class="text bold paragraph wide"
924
- >
925
- common.label.total
926
- </ui-text>
927
- <ui-text
928
- class="text bold paragraph"
929
- >
930
- 675,45 €
931
- </ui-text>
932
- </ui-view>
933
- </ui-view>
234
+ user.action.book_now
934
235
  </ui-view>
935
- </ui-view>
936
- <ui-view
937
- class="view"
236
+ </ui-button>
237
+ <ui-modal-overflow
238
+ class="pressable container overflow"
239
+ style="height: 768px;"
240
+ tabindex="0"
938
241
  >
939
- <ui-button
940
- class="pressable button large wide"
941
- data-testid="checkout-button"
942
- disabled="false"
943
- methods="CARD,AMAZON_PAY"
944
- tabindex="0"
242
+ <ui-modal
243
+ class="view fit modal calcWidth"
945
244
  >
946
245
  <ui-view
947
- class="view busyContainer"
948
- >
949
- <ui-view
950
- class="view spinner"
951
- />
952
- </ui-view>
953
- <ui-view
954
- class="view row children"
955
- >
956
- user.action.book_now
957
- </ui-view>
958
- </ui-button>
959
- <ui-modal-overflow
960
- class="pressable container overflow"
961
- style="height: 768px;"
962
- tabindex="0"
963
- >
964
- <ui-modal
965
- class="view fit modal calcWidth"
246
+ class="view row header hideBack"
966
247
  >
967
- <ui-view
968
- class="view row header hideBack"
248
+ <ui-button
249
+ class="pressable button small squared transparent"
250
+ tabindex="0"
969
251
  >
970
- <ui-button
971
- class="pressable button small squared transparent"
972
- tabindex="0"
252
+ <ui-icon
253
+ class="icon headline-3 icon"
973
254
  >
974
- <ui-icon
975
- class="icon headline-3 icon"
255
+ <svg
256
+ fill="currentColor"
257
+ height="1em"
258
+ stroke="currentColor"
259
+ stroke-width="0"
260
+ viewBox="0 0 24 24"
261
+ width="1em"
262
+ xmlns="http://www.w3.org/2000/svg"
976
263
  >
977
- <svg
978
- fill="currentColor"
979
- height="1em"
980
- stroke="currentColor"
981
- stroke-width="0"
982
- viewBox="0 0 24 24"
983
- width="1em"
984
- xmlns="http://www.w3.org/2000/svg"
985
- >
986
- <path
987
- d="M0 0h24v24H0V0z"
988
- fill="none"
989
- />
990
- <path
991
- 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"
992
- />
993
- </svg>
994
- </ui-icon>
995
- </ui-button>
996
- </ui-view>
997
- </ui-modal>
998
- </ui-modal-overflow>
999
- <ui-text
1000
- class="text light small wide"
1001
- >
1002
- common.notification.ssl_encryption
1003
- </ui-text>
1004
- </ui-view>
264
+ <path
265
+ d="M0 0h24v24H0V0z"
266
+ fill="none"
267
+ />
268
+ <path
269
+ d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
270
+ />
271
+ </svg>
272
+ </ui-icon>
273
+ </ui-button>
274
+ </ui-view>
275
+ </ui-modal>
276
+ </ui-modal-overflow>
1005
277
  </ui-view>
1006
278
  </DocumentFragment>
1007
279
  `;
@@ -1012,248 +284,66 @@ exports[`<Checkout> partial:<Confirmation> testID 1`] = `
1012
284
  class="view"
1013
285
  data-testid="mirai"
1014
286
  >
1015
- <ui-view
1016
- class="view wide"
287
+ <ui-button
288
+ class="pressable button large wide"
289
+ data-testid="checkout-button"
290
+ disabled="false"
291
+ methods="CARD,AMAZON_PAY"
292
+ tabindex="0"
1017
293
  >
1018
294
  <ui-view
1019
- class="view"
295
+ class="view busyContainer"
1020
296
  >
1021
- <ui-text
1022
- class="text bold headline-3"
1023
- >
1024
- user.label.booking_summary
1025
- </ui-text>
1026
- <ui-view
1027
- class="view row wide"
1028
- >
1029
- <ui-view
1030
- class="view"
1031
- >
1032
- <ui-text
1033
- class="text bold paragraph"
1034
- >
1035
- common.label.check_in
1036
- </ui-text>
1037
- <ui-view
1038
- class="view"
1039
- >
1040
- <ui-text
1041
- class="text action"
1042
- >
1043
- mié, 19 jul 2023
1044
- </ui-text>
1045
- </ui-view>
1046
- </ui-view>
1047
- <ui-view
1048
- class="view"
1049
- >
1050
- <ui-text
1051
- class="text bold paragraph"
1052
- >
1053
- common.label.check_out
1054
- </ui-text>
1055
- <ui-view
1056
- class="view"
1057
- >
1058
- <ui-text
1059
- class="text action"
1060
- >
1061
- sáb, 22 jul 2023
1062
- </ui-text>
1063
- </ui-view>
1064
- </ui-view>
1065
- </ui-view>
1066
- <ui-view
1067
- class="view"
1068
- >
1069
- <ui-text
1070
- class="text bold paragraph"
1071
- >
1072
- user.label.your_reservation
1073
- </ui-text>
1074
- <ui-text
1075
- class="text action"
1076
- >
1077
- common.label.night
1078
- <ui-text
1079
- style="text-decoration: underline;"
1080
- >
1081
- count, common.label.room
1082
- </ui-text>
1083
- count
1084
- </ui-text>
1085
- <ui-view
1086
- class="view row"
1087
- >
1088
- <ui-text
1089
- class="text light small"
1090
- >
1091
- Silver Views
1092
- </ui-text>
1093
- </ui-view>
1094
- </ui-view>
1095
297
  <ui-view
1096
- class="view"
1097
- >
1098
- <ui-text
1099
- class="text bold paragraph"
1100
- >
1101
- common.label.accommodation
1102
- </ui-text>
1103
- <ui-text
1104
- class="text action"
1105
- >
1106
- Hotel Augusta Eco Wellness Resort
1107
- </ui-text>
1108
- <ui-text
1109
- class="text light small"
1110
- >
1111
- Lugar Padriñan 25, Sanxenxo, España
1112
- </ui-text>
1113
- <ui-text
1114
- class="text light small"
1115
- />
1116
- </ui-view>
298
+ class="view spinner"
299
+ />
1117
300
  </ui-view>
1118
301
  <ui-view
1119
- class="view"
302
+ class="view row children"
1120
303
  >
1121
- <ui-text
1122
- class="text bold headline-3"
1123
- >
1124
- user.label.price_summary
1125
- </ui-text>
1126
- <ui-view
1127
- class="view wide"
1128
- >
1129
- <ui-view
1130
- class="view row"
1131
- >
1132
- <ui-text
1133
- class="text action wide"
1134
- >
1135
- common.label.base_price
1136
- </ui-text>
1137
- <ui-text
1138
- class="text action"
1139
- >
1140
- 646,36 €
1141
- </ui-text>
1142
- </ui-view>
1143
- <ui-view
1144
- class="view row"
1145
- >
1146
- <ui-text
1147
- class="text action wide"
1148
- >
1149
- user.label.checkout_discount_1
1150
- </ui-text>
1151
- <ui-text
1152
- class="text action"
1153
- >
1154
- -32,31 €
1155
- </ui-text>
1156
- </ui-view>
1157
- <ui-view
1158
- class="view row"
1159
- >
1160
- <ui-text
1161
- class="text action wide"
1162
- >
1163
- user.notification.checkout_tax_0
1164
- </ui-text>
1165
- <ui-text
1166
- class="text action"
1167
- >
1168
- 61,41 €
1169
- </ui-text>
1170
- </ui-view>
1171
- <ui-view
1172
- class="view row"
1173
- >
1174
- <ui-text
1175
- class="text bold paragraph wide"
1176
- >
1177
- common.label.total
1178
- </ui-text>
1179
- <ui-text
1180
- class="text bold paragraph"
1181
- >
1182
- 675,45 €
1183
- </ui-text>
1184
- </ui-view>
1185
- </ui-view>
304
+ user.action.book_now
1186
305
  </ui-view>
1187
- </ui-view>
1188
- <ui-view
1189
- class="view"
306
+ </ui-button>
307
+ <ui-modal-overflow
308
+ class="pressable container overflow"
309
+ style="height: 768px;"
310
+ tabindex="0"
1190
311
  >
1191
- <ui-button
1192
- class="pressable button large wide"
1193
- data-testid="checkout-button"
1194
- disabled="false"
1195
- methods="CARD,AMAZON_PAY"
1196
- tabindex="0"
312
+ <ui-modal
313
+ class="view fit modal calcWidth"
1197
314
  >
1198
315
  <ui-view
1199
- class="view busyContainer"
1200
- >
1201
- <ui-view
1202
- class="view spinner"
1203
- />
1204
- </ui-view>
1205
- <ui-view
1206
- class="view row children"
1207
- >
1208
- user.action.book_now
1209
- </ui-view>
1210
- </ui-button>
1211
- <ui-modal-overflow
1212
- class="pressable container overflow"
1213
- style="height: 768px;"
1214
- tabindex="0"
1215
- >
1216
- <ui-modal
1217
- class="view fit modal calcWidth"
316
+ class="view row header hideBack"
1218
317
  >
1219
- <ui-view
1220
- class="view row header hideBack"
318
+ <ui-button
319
+ class="pressable button small squared transparent"
320
+ tabindex="0"
1221
321
  >
1222
- <ui-button
1223
- class="pressable button small squared transparent"
1224
- tabindex="0"
322
+ <ui-icon
323
+ class="icon headline-3 icon"
1225
324
  >
1226
- <ui-icon
1227
- class="icon headline-3 icon"
325
+ <svg
326
+ fill="currentColor"
327
+ height="1em"
328
+ stroke="currentColor"
329
+ stroke-width="0"
330
+ viewBox="0 0 24 24"
331
+ width="1em"
332
+ xmlns="http://www.w3.org/2000/svg"
1228
333
  >
1229
- <svg
1230
- fill="currentColor"
1231
- height="1em"
1232
- stroke="currentColor"
1233
- stroke-width="0"
1234
- viewBox="0 0 24 24"
1235
- width="1em"
1236
- xmlns="http://www.w3.org/2000/svg"
1237
- >
1238
- <path
1239
- d="M0 0h24v24H0V0z"
1240
- fill="none"
1241
- />
1242
- <path
1243
- 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"
1244
- />
1245
- </svg>
1246
- </ui-icon>
1247
- </ui-button>
1248
- </ui-view>
1249
- </ui-modal>
1250
- </ui-modal-overflow>
1251
- <ui-text
1252
- class="text light small wide"
1253
- >
1254
- common.notification.ssl_encryption
1255
- </ui-text>
1256
- </ui-view>
334
+ <path
335
+ d="M0 0h24v24H0V0z"
336
+ fill="none"
337
+ />
338
+ <path
339
+ d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
340
+ />
341
+ </svg>
342
+ </ui-icon>
343
+ </ui-button>
344
+ </ui-view>
345
+ </ui-modal>
346
+ </ui-modal-overflow>
1257
347
  </ui-view>
1258
348
  </DocumentFragment>
1259
349
  `;
@@ -1263,248 +353,66 @@ exports[`<Checkout> partial:<Confirmation> with a store 1`] = `
1263
353
  <ui-view
1264
354
  class="view"
1265
355
  >
1266
- <ui-view
1267
- class="view wide"
356
+ <ui-button
357
+ class="pressable button large wide"
358
+ data-testid="checkout-button"
359
+ disabled="false"
360
+ methods="CARD,AMAZON_PAY"
361
+ tabindex="0"
1268
362
  >
1269
363
  <ui-view
1270
- class="view"
364
+ class="view busyContainer"
1271
365
  >
1272
- <ui-text
1273
- class="text bold headline-3"
1274
- >
1275
- user.label.booking_summary
1276
- </ui-text>
1277
- <ui-view
1278
- class="view row wide"
1279
- >
1280
- <ui-view
1281
- class="view"
1282
- >
1283
- <ui-text
1284
- class="text bold paragraph"
1285
- >
1286
- common.label.check_in
1287
- </ui-text>
1288
- <ui-view
1289
- class="view"
1290
- >
1291
- <ui-text
1292
- class="text action"
1293
- >
1294
- mié, 19 jul 2023
1295
- </ui-text>
1296
- </ui-view>
1297
- </ui-view>
1298
- <ui-view
1299
- class="view"
1300
- >
1301
- <ui-text
1302
- class="text bold paragraph"
1303
- >
1304
- common.label.check_out
1305
- </ui-text>
1306
- <ui-view
1307
- class="view"
1308
- >
1309
- <ui-text
1310
- class="text action"
1311
- >
1312
- sáb, 22 jul 2023
1313
- </ui-text>
1314
- </ui-view>
1315
- </ui-view>
1316
- </ui-view>
1317
366
  <ui-view
1318
- class="view"
1319
- >
1320
- <ui-text
1321
- class="text bold paragraph"
1322
- >
1323
- user.label.your_reservation
1324
- </ui-text>
1325
- <ui-text
1326
- class="text action"
1327
- >
1328
- common.label.night
1329
- <ui-text
1330
- style="text-decoration: underline;"
1331
- >
1332
- count, common.label.room
1333
- </ui-text>
1334
- count
1335
- </ui-text>
1336
- <ui-view
1337
- class="view row"
1338
- >
1339
- <ui-text
1340
- class="text light small"
1341
- >
1342
- Silver Views
1343
- </ui-text>
1344
- </ui-view>
1345
- </ui-view>
1346
- <ui-view
1347
- class="view"
1348
- >
1349
- <ui-text
1350
- class="text bold paragraph"
1351
- >
1352
- common.label.accommodation
1353
- </ui-text>
1354
- <ui-text
1355
- class="text action"
1356
- >
1357
- Hotel Augusta Eco Wellness Resort
1358
- </ui-text>
1359
- <ui-text
1360
- class="text light small"
1361
- >
1362
- Lugar Padriñan 25, Sanxenxo, España
1363
- </ui-text>
1364
- <ui-text
1365
- class="text light small"
1366
- />
1367
- </ui-view>
367
+ class="view spinner"
368
+ />
1368
369
  </ui-view>
1369
370
  <ui-view
1370
- class="view"
371
+ class="view row children"
1371
372
  >
1372
- <ui-text
1373
- class="text bold headline-3"
1374
- >
1375
- user.label.price_summary
1376
- </ui-text>
1377
- <ui-view
1378
- class="view wide"
1379
- >
1380
- <ui-view
1381
- class="view row"
1382
- >
1383
- <ui-text
1384
- class="text action wide"
1385
- >
1386
- common.label.base_price
1387
- </ui-text>
1388
- <ui-text
1389
- class="text action"
1390
- >
1391
- 646,36 €
1392
- </ui-text>
1393
- </ui-view>
1394
- <ui-view
1395
- class="view row"
1396
- >
1397
- <ui-text
1398
- class="text action wide"
1399
- >
1400
- user.label.checkout_discount_1
1401
- </ui-text>
1402
- <ui-text
1403
- class="text action"
1404
- >
1405
- -32,31 €
1406
- </ui-text>
1407
- </ui-view>
1408
- <ui-view
1409
- class="view row"
1410
- >
1411
- <ui-text
1412
- class="text action wide"
1413
- >
1414
- user.notification.checkout_tax_0
1415
- </ui-text>
1416
- <ui-text
1417
- class="text action"
1418
- >
1419
- 61,41 €
1420
- </ui-text>
1421
- </ui-view>
1422
- <ui-view
1423
- class="view row"
1424
- >
1425
- <ui-text
1426
- class="text bold paragraph wide"
1427
- >
1428
- common.label.total
1429
- </ui-text>
1430
- <ui-text
1431
- class="text bold paragraph"
1432
- >
1433
- 675,45 €
1434
- </ui-text>
1435
- </ui-view>
1436
- </ui-view>
373
+ user.action.book_now
1437
374
  </ui-view>
1438
- </ui-view>
1439
- <ui-view
1440
- class="view"
375
+ </ui-button>
376
+ <ui-modal-overflow
377
+ class="pressable container overflow"
378
+ style="height: 768px;"
379
+ tabindex="0"
1441
380
  >
1442
- <ui-button
1443
- class="pressable button large wide"
1444
- data-testid="checkout-button"
1445
- disabled="false"
1446
- methods="CARD,AMAZON_PAY"
1447
- tabindex="0"
381
+ <ui-modal
382
+ class="view fit modal calcWidth"
1448
383
  >
1449
384
  <ui-view
1450
- class="view busyContainer"
1451
- >
1452
- <ui-view
1453
- class="view spinner"
1454
- />
1455
- </ui-view>
1456
- <ui-view
1457
- class="view row children"
385
+ class="view row header hideBack"
1458
386
  >
1459
- user.action.book_now
1460
- </ui-view>
1461
- </ui-button>
1462
- <ui-modal-overflow
1463
- class="pressable container overflow"
1464
- style="height: 768px;"
1465
- tabindex="0"
1466
- >
1467
- <ui-modal
1468
- class="view fit modal calcWidth"
1469
- >
1470
- <ui-view
1471
- class="view row header hideBack"
387
+ <ui-button
388
+ class="pressable button small squared transparent"
389
+ tabindex="0"
1472
390
  >
1473
- <ui-button
1474
- class="pressable button small squared transparent"
1475
- tabindex="0"
391
+ <ui-icon
392
+ class="icon headline-3 icon"
1476
393
  >
1477
- <ui-icon
1478
- class="icon headline-3 icon"
394
+ <svg
395
+ fill="currentColor"
396
+ height="1em"
397
+ stroke="currentColor"
398
+ stroke-width="0"
399
+ viewBox="0 0 24 24"
400
+ width="1em"
401
+ xmlns="http://www.w3.org/2000/svg"
1479
402
  >
1480
- <svg
1481
- fill="currentColor"
1482
- height="1em"
1483
- stroke="currentColor"
1484
- stroke-width="0"
1485
- viewBox="0 0 24 24"
1486
- width="1em"
1487
- xmlns="http://www.w3.org/2000/svg"
1488
- >
1489
- <path
1490
- d="M0 0h24v24H0V0z"
1491
- fill="none"
1492
- />
1493
- <path
1494
- 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"
1495
- />
1496
- </svg>
1497
- </ui-icon>
1498
- </ui-button>
1499
- </ui-view>
1500
- </ui-modal>
1501
- </ui-modal-overflow>
1502
- <ui-text
1503
- class="text light small wide"
1504
- >
1505
- common.notification.ssl_encryption
1506
- </ui-text>
1507
- </ui-view>
403
+ <path
404
+ d="M0 0h24v24H0V0z"
405
+ fill="none"
406
+ />
407
+ <path
408
+ d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
409
+ />
410
+ </svg>
411
+ </ui-icon>
412
+ </ui-button>
413
+ </ui-view>
414
+ </ui-modal>
415
+ </ui-modal-overflow>
1508
416
  </ui-view>
1509
417
  </DocumentFragment>
1510
418
  `;