@mirai/core 0.3.392 → 0.3.394
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.
- package/build/components/Booking/Booking.module.css +10 -2
- package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +5 -35
- package/build/components/Booking/partials/Booking.Information.js +1 -1
- package/build/components/Booking/partials/Booking.Information.js.map +1 -1
- package/build/components/Booking/partials/Booking.Menu.js +3 -3
- package/build/components/Booking/partials/Booking.Menu.js.map +1 -1
- package/build/components/Booking/partials/Booking.Modal.js +1 -1
- package/build/components/Booking/partials/Booking.Modal.js.map +1 -1
- package/build/components/Booking/partials/Booking.Payment.js +1 -1
- package/build/components/Booking/partials/Booking.Payment.js.map +1 -1
- package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +12 -84
- package/build/components/ButtonFinder/__tests__/__snapshots__/ButtonFinder.test.js.snap +10 -70
- package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +8 -56
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +12 -84
- package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +8 -56
- package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +28 -196
- package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +28 -4
- package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +1 -7
- package/build/components/__shared__/BookingSummary/_tests__/__snapshots__/BookingSummary.test.js.snap +8 -56
- package/build/components/__shared__/BookingTable/BookingTable.Row.js +1 -5
- package/build/components/__shared__/BookingTable/BookingTable.Row.js.map +1 -1
- package/build/components/__shared__/BookingTerms/BookingTerms.js +1 -1
- package/build/components/__shared__/BookingTerms/BookingTerms.js.map +1 -1
- package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +18 -126
- package/build/components/__shared__/Footer/Footer.module.css +0 -1
- package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +4 -28
- package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +31 -217
- package/package.json +2 -2
- package/public/themes/monalisa.theme.css +4 -3
|
@@ -1347,13 +1347,7 @@ exports[`component:<Finder> type:chain inherit:className 1`] = `
|
|
|
1347
1347
|
<ui-text
|
|
1348
1348
|
class="text action"
|
|
1349
1349
|
>
|
|
1350
|
-
finder.label.
|
|
1351
|
-
<ui-text
|
|
1352
|
-
style="text-decoration: underline;"
|
|
1353
|
-
>
|
|
1354
|
-
type
|
|
1355
|
-
</ui-text>
|
|
1356
|
-
count.room
|
|
1350
|
+
finder.label.place_type_count.room
|
|
1357
1351
|
</ui-text>
|
|
1358
1352
|
</ui-view>
|
|
1359
1353
|
<ui-input-number
|
|
@@ -1449,13 +1443,7 @@ exports[`component:<Finder> type:chain inherit:className 1`] = `
|
|
|
1449
1443
|
<ui-text
|
|
1450
1444
|
class="text small text hint hint"
|
|
1451
1445
|
>
|
|
1452
|
-
common.label.
|
|
1453
|
-
<ui-text
|
|
1454
|
-
style="text-decoration: underline;"
|
|
1455
|
-
>
|
|
1456
|
-
up
|
|
1457
|
-
</ui-text>
|
|
1458
|
-
to
|
|
1446
|
+
common.label.age_up_to
|
|
1459
1447
|
</ui-text>
|
|
1460
1448
|
</ui-view>
|
|
1461
1449
|
<ui-button
|
|
@@ -2964,13 +2952,7 @@ exports[`component:<Finder> type:chain prop:assisted 1`] = `
|
|
|
2964
2952
|
<ui-text
|
|
2965
2953
|
class="text action"
|
|
2966
2954
|
>
|
|
2967
|
-
finder.label.
|
|
2968
|
-
<ui-text
|
|
2969
|
-
style="text-decoration: underline;"
|
|
2970
|
-
>
|
|
2971
|
-
type
|
|
2972
|
-
</ui-text>
|
|
2973
|
-
count.room
|
|
2955
|
+
finder.label.place_type_count.room
|
|
2974
2956
|
</ui-text>
|
|
2975
2957
|
</ui-view>
|
|
2976
2958
|
<ui-input-number
|
|
@@ -3066,13 +3048,7 @@ exports[`component:<Finder> type:chain prop:assisted 1`] = `
|
|
|
3066
3048
|
<ui-text
|
|
3067
3049
|
class="text small text hint hint"
|
|
3068
3050
|
>
|
|
3069
|
-
common.label.
|
|
3070
|
-
<ui-text
|
|
3071
|
-
style="text-decoration: underline;"
|
|
3072
|
-
>
|
|
3073
|
-
up
|
|
3074
|
-
</ui-text>
|
|
3075
|
-
to
|
|
3051
|
+
common.label.age_up_to
|
|
3076
3052
|
</ui-text>
|
|
3077
3053
|
</ui-view>
|
|
3078
3054
|
<ui-button
|
|
@@ -4581,13 +4557,7 @@ exports[`component:<Finder> type:chain prop:compact 1`] = `
|
|
|
4581
4557
|
<ui-text
|
|
4582
4558
|
class="text action"
|
|
4583
4559
|
>
|
|
4584
|
-
finder.label.
|
|
4585
|
-
<ui-text
|
|
4586
|
-
style="text-decoration: underline;"
|
|
4587
|
-
>
|
|
4588
|
-
type
|
|
4589
|
-
</ui-text>
|
|
4590
|
-
count.room
|
|
4560
|
+
finder.label.place_type_count.room
|
|
4591
4561
|
</ui-text>
|
|
4592
4562
|
</ui-view>
|
|
4593
4563
|
<ui-input-number
|
|
@@ -4683,13 +4653,7 @@ exports[`component:<Finder> type:chain prop:compact 1`] = `
|
|
|
4683
4653
|
<ui-text
|
|
4684
4654
|
class="text small text hint hint"
|
|
4685
4655
|
>
|
|
4686
|
-
common.label.
|
|
4687
|
-
<ui-text
|
|
4688
|
-
style="text-decoration: underline;"
|
|
4689
|
-
>
|
|
4690
|
-
up
|
|
4691
|
-
</ui-text>
|
|
4692
|
-
to
|
|
4656
|
+
common.label.age_up_to
|
|
4693
4657
|
</ui-text>
|
|
4694
4658
|
</ui-view>
|
|
4695
4659
|
<ui-button
|
|
@@ -6199,13 +6163,7 @@ exports[`component:<Finder> type:chain prop:layout 1`] = `
|
|
|
6199
6163
|
<ui-text
|
|
6200
6164
|
class="text action"
|
|
6201
6165
|
>
|
|
6202
|
-
finder.label.
|
|
6203
|
-
<ui-text
|
|
6204
|
-
style="text-decoration: underline;"
|
|
6205
|
-
>
|
|
6206
|
-
type
|
|
6207
|
-
</ui-text>
|
|
6208
|
-
count.room
|
|
6166
|
+
finder.label.place_type_count.room
|
|
6209
6167
|
</ui-text>
|
|
6210
6168
|
</ui-view>
|
|
6211
6169
|
<ui-input-number
|
|
@@ -6301,13 +6259,7 @@ exports[`component:<Finder> type:chain prop:layout 1`] = `
|
|
|
6301
6259
|
<ui-text
|
|
6302
6260
|
class="text small text hint hint"
|
|
6303
6261
|
>
|
|
6304
|
-
common.label.
|
|
6305
|
-
<ui-text
|
|
6306
|
-
style="text-decoration: underline;"
|
|
6307
|
-
>
|
|
6308
|
-
up
|
|
6309
|
-
</ui-text>
|
|
6310
|
-
to
|
|
6262
|
+
common.label.age_up_to
|
|
6311
6263
|
</ui-text>
|
|
6312
6264
|
</ui-view>
|
|
6313
6265
|
<ui-button
|
|
@@ -7816,13 +7768,7 @@ exports[`component:<Finder> type:chain prop:text 1`] = `
|
|
|
7816
7768
|
<ui-text
|
|
7817
7769
|
class="text action"
|
|
7818
7770
|
>
|
|
7819
|
-
finder.label.
|
|
7820
|
-
<ui-text
|
|
7821
|
-
style="text-decoration: underline;"
|
|
7822
|
-
>
|
|
7823
|
-
type
|
|
7824
|
-
</ui-text>
|
|
7825
|
-
count.room
|
|
7771
|
+
finder.label.place_type_count.room
|
|
7826
7772
|
</ui-text>
|
|
7827
7773
|
</ui-view>
|
|
7828
7774
|
<ui-input-number
|
|
@@ -7918,13 +7864,7 @@ exports[`component:<Finder> type:chain prop:text 1`] = `
|
|
|
7918
7864
|
<ui-text
|
|
7919
7865
|
class="text small text hint hint"
|
|
7920
7866
|
>
|
|
7921
|
-
common.label.
|
|
7922
|
-
<ui-text
|
|
7923
|
-
style="text-decoration: underline;"
|
|
7924
|
-
>
|
|
7925
|
-
up
|
|
7926
|
-
</ui-text>
|
|
7927
|
-
to
|
|
7867
|
+
common.label.age_up_to
|
|
7928
7868
|
</ui-text>
|
|
7929
7869
|
</ui-view>
|
|
7930
7870
|
<ui-button
|
|
@@ -9433,13 +9373,7 @@ exports[`component:<Finder> type:chain renders 1`] = `
|
|
|
9433
9373
|
<ui-text
|
|
9434
9374
|
class="text action"
|
|
9435
9375
|
>
|
|
9436
|
-
finder.label.
|
|
9437
|
-
<ui-text
|
|
9438
|
-
style="text-decoration: underline;"
|
|
9439
|
-
>
|
|
9440
|
-
type
|
|
9441
|
-
</ui-text>
|
|
9442
|
-
count.room
|
|
9376
|
+
finder.label.place_type_count.room
|
|
9443
9377
|
</ui-text>
|
|
9444
9378
|
</ui-view>
|
|
9445
9379
|
<ui-input-number
|
|
@@ -9535,13 +9469,7 @@ exports[`component:<Finder> type:chain renders 1`] = `
|
|
|
9535
9469
|
<ui-text
|
|
9536
9470
|
class="text small text hint hint"
|
|
9537
9471
|
>
|
|
9538
|
-
common.label.
|
|
9539
|
-
<ui-text
|
|
9540
|
-
style="text-decoration: underline;"
|
|
9541
|
-
>
|
|
9542
|
-
up
|
|
9543
|
-
</ui-text>
|
|
9544
|
-
to
|
|
9472
|
+
common.label.age_up_to
|
|
9545
9473
|
</ui-text>
|
|
9546
9474
|
</ui-view>
|
|
9547
9475
|
<ui-button
|
|
@@ -11056,13 +10984,7 @@ exports[`component:<Finder> type:chain testID 1`] = `
|
|
|
11056
10984
|
<ui-text
|
|
11057
10985
|
class="text action"
|
|
11058
10986
|
>
|
|
11059
|
-
finder.label.
|
|
11060
|
-
<ui-text
|
|
11061
|
-
style="text-decoration: underline;"
|
|
11062
|
-
>
|
|
11063
|
-
type
|
|
11064
|
-
</ui-text>
|
|
11065
|
-
count.room
|
|
10987
|
+
finder.label.place_type_count.room
|
|
11066
10988
|
</ui-text>
|
|
11067
10989
|
</ui-view>
|
|
11068
10990
|
<ui-input-number
|
|
@@ -11158,13 +11080,7 @@ exports[`component:<Finder> type:chain testID 1`] = `
|
|
|
11158
11080
|
<ui-text
|
|
11159
11081
|
class="text small text hint hint"
|
|
11160
11082
|
>
|
|
11161
|
-
common.label.
|
|
11162
|
-
<ui-text
|
|
11163
|
-
style="text-decoration: underline;"
|
|
11164
|
-
>
|
|
11165
|
-
up
|
|
11166
|
-
</ui-text>
|
|
11167
|
-
to
|
|
11083
|
+
common.label.age_up_to
|
|
11168
11084
|
</ui-text>
|
|
11169
11085
|
</ui-view>
|
|
11170
11086
|
<ui-button
|
|
@@ -12677,13 +12593,7 @@ exports[`component:<Finder> type:hotel inherit:className 1`] = `
|
|
|
12677
12593
|
<ui-text
|
|
12678
12594
|
class="text action"
|
|
12679
12595
|
>
|
|
12680
|
-
finder.label.
|
|
12681
|
-
<ui-text
|
|
12682
|
-
style="text-decoration: underline;"
|
|
12683
|
-
>
|
|
12684
|
-
type
|
|
12685
|
-
</ui-text>
|
|
12686
|
-
count.room
|
|
12596
|
+
finder.label.place_type_count.room
|
|
12687
12597
|
</ui-text>
|
|
12688
12598
|
</ui-view>
|
|
12689
12599
|
<ui-input-number
|
|
@@ -12779,13 +12689,7 @@ exports[`component:<Finder> type:hotel inherit:className 1`] = `
|
|
|
12779
12689
|
<ui-text
|
|
12780
12690
|
class="text small text hint hint"
|
|
12781
12691
|
>
|
|
12782
|
-
common.label.
|
|
12783
|
-
<ui-text
|
|
12784
|
-
style="text-decoration: underline;"
|
|
12785
|
-
>
|
|
12786
|
-
up
|
|
12787
|
-
</ui-text>
|
|
12788
|
-
to
|
|
12692
|
+
common.label.age_up_to
|
|
12789
12693
|
</ui-text>
|
|
12790
12694
|
</ui-view>
|
|
12791
12695
|
<ui-button
|
|
@@ -14294,13 +14198,7 @@ exports[`component:<Finder> type:hotel prop:assisted 1`] = `
|
|
|
14294
14198
|
<ui-text
|
|
14295
14199
|
class="text action"
|
|
14296
14200
|
>
|
|
14297
|
-
finder.label.
|
|
14298
|
-
<ui-text
|
|
14299
|
-
style="text-decoration: underline;"
|
|
14300
|
-
>
|
|
14301
|
-
type
|
|
14302
|
-
</ui-text>
|
|
14303
|
-
count.room
|
|
14201
|
+
finder.label.place_type_count.room
|
|
14304
14202
|
</ui-text>
|
|
14305
14203
|
</ui-view>
|
|
14306
14204
|
<ui-input-number
|
|
@@ -14396,13 +14294,7 @@ exports[`component:<Finder> type:hotel prop:assisted 1`] = `
|
|
|
14396
14294
|
<ui-text
|
|
14397
14295
|
class="text small text hint hint"
|
|
14398
14296
|
>
|
|
14399
|
-
common.label.
|
|
14400
|
-
<ui-text
|
|
14401
|
-
style="text-decoration: underline;"
|
|
14402
|
-
>
|
|
14403
|
-
up
|
|
14404
|
-
</ui-text>
|
|
14405
|
-
to
|
|
14297
|
+
common.label.age_up_to
|
|
14406
14298
|
</ui-text>
|
|
14407
14299
|
</ui-view>
|
|
14408
14300
|
<ui-button
|
|
@@ -15911,13 +15803,7 @@ exports[`component:<Finder> type:hotel prop:compact 1`] = `
|
|
|
15911
15803
|
<ui-text
|
|
15912
15804
|
class="text action"
|
|
15913
15805
|
>
|
|
15914
|
-
finder.label.
|
|
15915
|
-
<ui-text
|
|
15916
|
-
style="text-decoration: underline;"
|
|
15917
|
-
>
|
|
15918
|
-
type
|
|
15919
|
-
</ui-text>
|
|
15920
|
-
count.room
|
|
15806
|
+
finder.label.place_type_count.room
|
|
15921
15807
|
</ui-text>
|
|
15922
15808
|
</ui-view>
|
|
15923
15809
|
<ui-input-number
|
|
@@ -16013,13 +15899,7 @@ exports[`component:<Finder> type:hotel prop:compact 1`] = `
|
|
|
16013
15899
|
<ui-text
|
|
16014
15900
|
class="text small text hint hint"
|
|
16015
15901
|
>
|
|
16016
|
-
common.label.
|
|
16017
|
-
<ui-text
|
|
16018
|
-
style="text-decoration: underline;"
|
|
16019
|
-
>
|
|
16020
|
-
up
|
|
16021
|
-
</ui-text>
|
|
16022
|
-
to
|
|
15902
|
+
common.label.age_up_to
|
|
16023
15903
|
</ui-text>
|
|
16024
15904
|
</ui-view>
|
|
16025
15905
|
<ui-button
|
|
@@ -17529,13 +17409,7 @@ exports[`component:<Finder> type:hotel prop:layout 1`] = `
|
|
|
17529
17409
|
<ui-text
|
|
17530
17410
|
class="text action"
|
|
17531
17411
|
>
|
|
17532
|
-
finder.label.
|
|
17533
|
-
<ui-text
|
|
17534
|
-
style="text-decoration: underline;"
|
|
17535
|
-
>
|
|
17536
|
-
type
|
|
17537
|
-
</ui-text>
|
|
17538
|
-
count.room
|
|
17412
|
+
finder.label.place_type_count.room
|
|
17539
17413
|
</ui-text>
|
|
17540
17414
|
</ui-view>
|
|
17541
17415
|
<ui-input-number
|
|
@@ -17631,13 +17505,7 @@ exports[`component:<Finder> type:hotel prop:layout 1`] = `
|
|
|
17631
17505
|
<ui-text
|
|
17632
17506
|
class="text small text hint hint"
|
|
17633
17507
|
>
|
|
17634
|
-
common.label.
|
|
17635
|
-
<ui-text
|
|
17636
|
-
style="text-decoration: underline;"
|
|
17637
|
-
>
|
|
17638
|
-
up
|
|
17639
|
-
</ui-text>
|
|
17640
|
-
to
|
|
17508
|
+
common.label.age_up_to
|
|
17641
17509
|
</ui-text>
|
|
17642
17510
|
</ui-view>
|
|
17643
17511
|
<ui-button
|
|
@@ -19146,13 +19014,7 @@ exports[`component:<Finder> type:hotel prop:text 1`] = `
|
|
|
19146
19014
|
<ui-text
|
|
19147
19015
|
class="text action"
|
|
19148
19016
|
>
|
|
19149
|
-
finder.label.
|
|
19150
|
-
<ui-text
|
|
19151
|
-
style="text-decoration: underline;"
|
|
19152
|
-
>
|
|
19153
|
-
type
|
|
19154
|
-
</ui-text>
|
|
19155
|
-
count.room
|
|
19017
|
+
finder.label.place_type_count.room
|
|
19156
19018
|
</ui-text>
|
|
19157
19019
|
</ui-view>
|
|
19158
19020
|
<ui-input-number
|
|
@@ -19248,13 +19110,7 @@ exports[`component:<Finder> type:hotel prop:text 1`] = `
|
|
|
19248
19110
|
<ui-text
|
|
19249
19111
|
class="text small text hint hint"
|
|
19250
19112
|
>
|
|
19251
|
-
common.label.
|
|
19252
|
-
<ui-text
|
|
19253
|
-
style="text-decoration: underline;"
|
|
19254
|
-
>
|
|
19255
|
-
up
|
|
19256
|
-
</ui-text>
|
|
19257
|
-
to
|
|
19113
|
+
common.label.age_up_to
|
|
19258
19114
|
</ui-text>
|
|
19259
19115
|
</ui-view>
|
|
19260
19116
|
<ui-button
|
|
@@ -20763,13 +20619,7 @@ exports[`component:<Finder> type:hotel renders 1`] = `
|
|
|
20763
20619
|
<ui-text
|
|
20764
20620
|
class="text action"
|
|
20765
20621
|
>
|
|
20766
|
-
finder.label.
|
|
20767
|
-
<ui-text
|
|
20768
|
-
style="text-decoration: underline;"
|
|
20769
|
-
>
|
|
20770
|
-
type
|
|
20771
|
-
</ui-text>
|
|
20772
|
-
count.room
|
|
20622
|
+
finder.label.place_type_count.room
|
|
20773
20623
|
</ui-text>
|
|
20774
20624
|
</ui-view>
|
|
20775
20625
|
<ui-input-number
|
|
@@ -20865,13 +20715,7 @@ exports[`component:<Finder> type:hotel renders 1`] = `
|
|
|
20865
20715
|
<ui-text
|
|
20866
20716
|
class="text small text hint hint"
|
|
20867
20717
|
>
|
|
20868
|
-
common.label.
|
|
20869
|
-
<ui-text
|
|
20870
|
-
style="text-decoration: underline;"
|
|
20871
|
-
>
|
|
20872
|
-
up
|
|
20873
|
-
</ui-text>
|
|
20874
|
-
to
|
|
20718
|
+
common.label.age_up_to
|
|
20875
20719
|
</ui-text>
|
|
20876
20720
|
</ui-view>
|
|
20877
20721
|
<ui-button
|
|
@@ -22386,13 +22230,7 @@ exports[`component:<Finder> type:hotel testID 1`] = `
|
|
|
22386
22230
|
<ui-text
|
|
22387
22231
|
class="text action"
|
|
22388
22232
|
>
|
|
22389
|
-
finder.label.
|
|
22390
|
-
<ui-text
|
|
22391
|
-
style="text-decoration: underline;"
|
|
22392
|
-
>
|
|
22393
|
-
type
|
|
22394
|
-
</ui-text>
|
|
22395
|
-
count.room
|
|
22233
|
+
finder.label.place_type_count.room
|
|
22396
22234
|
</ui-text>
|
|
22397
22235
|
</ui-view>
|
|
22398
22236
|
<ui-input-number
|
|
@@ -22488,13 +22326,7 @@ exports[`component:<Finder> type:hotel testID 1`] = `
|
|
|
22488
22326
|
<ui-text
|
|
22489
22327
|
class="text small text hint hint"
|
|
22490
22328
|
>
|
|
22491
|
-
common.label.
|
|
22492
|
-
<ui-text
|
|
22493
|
-
style="text-decoration: underline;"
|
|
22494
|
-
>
|
|
22495
|
-
up
|
|
22496
|
-
</ui-text>
|
|
22497
|
-
to
|
|
22329
|
+
common.label.age_up_to
|
|
22498
22330
|
</ui-text>
|
|
22499
22331
|
</ui-view>
|
|
22500
22332
|
<ui-button
|
package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap
CHANGED
|
@@ -35,7 +35,13 @@ exports[`component:<Places> inherit:className 1`] = `
|
|
|
35
35
|
<ui-text
|
|
36
36
|
class="text action"
|
|
37
37
|
>
|
|
38
|
-
Gloria Palace Royal Hotel & Spa
|
|
38
|
+
Gloria Palace Royal Hotel & Spa
|
|
39
|
+
<ui-text
|
|
40
|
+
style="font-style: italic;"
|
|
41
|
+
>
|
|
42
|
+
*
|
|
43
|
+
</ui-text>
|
|
44
|
+
* sup
|
|
39
45
|
</ui-text>
|
|
40
46
|
</ui-li>
|
|
41
47
|
<ui-li
|
|
@@ -108,7 +114,13 @@ exports[`component:<Places> prop:autoColumn 1`] = `
|
|
|
108
114
|
<ui-text
|
|
109
115
|
class="text action"
|
|
110
116
|
>
|
|
111
|
-
Gloria Palace Royal Hotel & Spa
|
|
117
|
+
Gloria Palace Royal Hotel & Spa
|
|
118
|
+
<ui-text
|
|
119
|
+
style="font-style: italic;"
|
|
120
|
+
>
|
|
121
|
+
*
|
|
122
|
+
</ui-text>
|
|
123
|
+
* sup
|
|
112
124
|
</ui-text>
|
|
113
125
|
</ui-li>
|
|
114
126
|
<ui-li
|
|
@@ -181,7 +193,13 @@ exports[`component:<Places> prop:value 1`] = `
|
|
|
181
193
|
<ui-text
|
|
182
194
|
class="text action"
|
|
183
195
|
>
|
|
184
|
-
Gloria Palace Royal Hotel & Spa
|
|
196
|
+
Gloria Palace Royal Hotel & Spa
|
|
197
|
+
<ui-text
|
|
198
|
+
style="font-style: italic;"
|
|
199
|
+
>
|
|
200
|
+
*
|
|
201
|
+
</ui-text>
|
|
202
|
+
* sup
|
|
185
203
|
</ui-text>
|
|
186
204
|
</ui-li>
|
|
187
205
|
<ui-li
|
|
@@ -270,7 +288,13 @@ exports[`component:<Places> testID 1`] = `
|
|
|
270
288
|
<ui-text
|
|
271
289
|
class="text action"
|
|
272
290
|
>
|
|
273
|
-
Gloria Palace Royal Hotel & Spa
|
|
291
|
+
Gloria Palace Royal Hotel & Spa
|
|
292
|
+
<ui-text
|
|
293
|
+
style="font-style: italic;"
|
|
294
|
+
>
|
|
295
|
+
*
|
|
296
|
+
</ui-text>
|
|
297
|
+
* sup
|
|
274
298
|
</ui-text>
|
|
275
299
|
</ui-li>
|
|
276
300
|
<ui-li
|
|
@@ -1089,13 +1089,7 @@ exports[`component:<Session> with mode finishing signup 1`] = `
|
|
|
1089
1089
|
<ui-text
|
|
1090
1090
|
class="text paragraph"
|
|
1091
1091
|
>
|
|
1092
|
-
user.notification.
|
|
1093
|
-
<ui-text
|
|
1094
|
-
style="text-decoration: underline;"
|
|
1095
|
-
>
|
|
1096
|
-
signup
|
|
1097
|
-
</ui-text>
|
|
1098
|
-
description
|
|
1092
|
+
user.notification.finish_signup_description
|
|
1099
1093
|
</ui-text>
|
|
1100
1094
|
</ui-text>
|
|
1101
1095
|
</ui-view>
|
|
@@ -136,13 +136,7 @@ exports[`component:<BookingSummary> inherit:className 1`] = `
|
|
|
136
136
|
<ui-text
|
|
137
137
|
class="text action wide"
|
|
138
138
|
>
|
|
139
|
-
user.label.
|
|
140
|
-
<ui-text
|
|
141
|
-
style="text-decoration: underline;"
|
|
142
|
-
>
|
|
143
|
-
discount
|
|
144
|
-
</ui-text>
|
|
145
|
-
1
|
|
139
|
+
user.label.checkout_discount_1
|
|
146
140
|
</ui-text>
|
|
147
141
|
<ui-text
|
|
148
142
|
class="text action"
|
|
@@ -156,13 +150,7 @@ exports[`component:<BookingSummary> inherit:className 1`] = `
|
|
|
156
150
|
<ui-text
|
|
157
151
|
class="text action wide"
|
|
158
152
|
>
|
|
159
|
-
user.notification.
|
|
160
|
-
<ui-text
|
|
161
|
-
style="text-decoration: underline;"
|
|
162
|
-
>
|
|
163
|
-
tax
|
|
164
|
-
</ui-text>
|
|
165
|
-
0
|
|
153
|
+
user.notification.checkout_tax_0
|
|
166
154
|
</ui-text>
|
|
167
155
|
<ui-text
|
|
168
156
|
class="text action"
|
|
@@ -326,13 +314,7 @@ exports[`component:<BookingSummary> renders 1`] = `
|
|
|
326
314
|
<ui-text
|
|
327
315
|
class="text action wide"
|
|
328
316
|
>
|
|
329
|
-
user.label.
|
|
330
|
-
<ui-text
|
|
331
|
-
style="text-decoration: underline;"
|
|
332
|
-
>
|
|
333
|
-
discount
|
|
334
|
-
</ui-text>
|
|
335
|
-
1
|
|
317
|
+
user.label.checkout_discount_1
|
|
336
318
|
</ui-text>
|
|
337
319
|
<ui-text
|
|
338
320
|
class="text action"
|
|
@@ -346,13 +328,7 @@ exports[`component:<BookingSummary> renders 1`] = `
|
|
|
346
328
|
<ui-text
|
|
347
329
|
class="text action wide"
|
|
348
330
|
>
|
|
349
|
-
user.notification.
|
|
350
|
-
<ui-text
|
|
351
|
-
style="text-decoration: underline;"
|
|
352
|
-
>
|
|
353
|
-
tax
|
|
354
|
-
</ui-text>
|
|
355
|
-
0
|
|
331
|
+
user.notification.checkout_tax_0
|
|
356
332
|
</ui-text>
|
|
357
333
|
<ui-text
|
|
358
334
|
class="text action"
|
|
@@ -517,13 +493,7 @@ exports[`component:<BookingSummary> testID 1`] = `
|
|
|
517
493
|
<ui-text
|
|
518
494
|
class="text action wide"
|
|
519
495
|
>
|
|
520
|
-
user.label.
|
|
521
|
-
<ui-text
|
|
522
|
-
style="text-decoration: underline;"
|
|
523
|
-
>
|
|
524
|
-
discount
|
|
525
|
-
</ui-text>
|
|
526
|
-
1
|
|
496
|
+
user.label.checkout_discount_1
|
|
527
497
|
</ui-text>
|
|
528
498
|
<ui-text
|
|
529
499
|
class="text action"
|
|
@@ -537,13 +507,7 @@ exports[`component:<BookingSummary> testID 1`] = `
|
|
|
537
507
|
<ui-text
|
|
538
508
|
class="text action wide"
|
|
539
509
|
>
|
|
540
|
-
user.notification.
|
|
541
|
-
<ui-text
|
|
542
|
-
style="text-decoration: underline;"
|
|
543
|
-
>
|
|
544
|
-
tax
|
|
545
|
-
</ui-text>
|
|
546
|
-
0
|
|
510
|
+
user.notification.checkout_tax_0
|
|
547
511
|
</ui-text>
|
|
548
512
|
<ui-text
|
|
549
513
|
class="text action"
|
|
@@ -707,13 +671,7 @@ exports[`component:<BookingSummary> with a store 1`] = `
|
|
|
707
671
|
<ui-text
|
|
708
672
|
class="text action wide"
|
|
709
673
|
>
|
|
710
|
-
user.label.
|
|
711
|
-
<ui-text
|
|
712
|
-
style="text-decoration: underline;"
|
|
713
|
-
>
|
|
714
|
-
discount
|
|
715
|
-
</ui-text>
|
|
716
|
-
1
|
|
674
|
+
user.label.checkout_discount_1
|
|
717
675
|
</ui-text>
|
|
718
676
|
<ui-text
|
|
719
677
|
class="text action"
|
|
@@ -727,13 +685,7 @@ exports[`component:<BookingSummary> with a store 1`] = `
|
|
|
727
685
|
<ui-text
|
|
728
686
|
class="text action wide"
|
|
729
687
|
>
|
|
730
|
-
user.notification.
|
|
731
|
-
<ui-text
|
|
732
|
-
style="text-decoration: underline;"
|
|
733
|
-
>
|
|
734
|
-
tax
|
|
735
|
-
</ui-text>
|
|
736
|
-
0
|
|
688
|
+
user.notification.checkout_tax_0
|
|
737
689
|
</ui-text>
|
|
738
690
|
<ui-text
|
|
739
691
|
class="text action"
|
|
@@ -98,11 +98,7 @@ Row.propTypes = {
|
|
|
98
98
|
children: _propTypes.default.node,
|
|
99
99
|
currency: _propTypes.default.string,
|
|
100
100
|
description: _propTypes.default.string,
|
|
101
|
-
price: _propTypes.default.
|
|
102
|
-
description: _propTypes.default.string,
|
|
103
|
-
previous: _propTypes.default.number,
|
|
104
|
-
value: _propTypes.default.number
|
|
105
|
-
}),
|
|
101
|
+
price: _propTypes.default.number,
|
|
106
102
|
summary: _propTypes.default.string,
|
|
107
103
|
subtitle: _propTypes.default.string,
|
|
108
104
|
title: _propTypes.default.string.isRequired,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookingTable.Row.js","names":["_dataSources","require","_locale","_ui","_propTypes","_interopRequireDefault","_react","_BookingTable","_BookingTable2","style","_interopRequireWildcard","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","apply","Row","_ref","bold","children","currency","title","description","price","subtitle","summary","tracking","others","isMobile","useDevice","locale","translate","useLocale","track","useMetrics","priceProps","FORMAT_CURRENCY","renderPrice","createElement","Text","action","currencyFormat","value","L10N","LABEL_FREE","View","row","className","styles","wide","small","caption","separator","Tooltip","pressable","right","text","onPress","concat","noPrint","ACTION_MORE_INFO","light","exports","displayName","propTypes","PropTypes","bool","node","string","
|
|
1
|
+
{"version":3,"file":"BookingTable.Row.js","names":["_dataSources","require","_locale","_ui","_propTypes","_interopRequireDefault","_react","_BookingTable","_BookingTable2","style","_interopRequireWildcard","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","apply","Row","_ref","bold","children","currency","title","description","price","subtitle","summary","tracking","others","isMobile","useDevice","locale","translate","useLocale","track","useMetrics","priceProps","FORMAT_CURRENCY","renderPrice","createElement","Text","action","currencyFormat","value","L10N","LABEL_FREE","View","row","className","styles","wide","small","caption","separator","Tooltip","pressable","right","text","onPress","concat","noPrint","ACTION_MORE_INFO","light","exports","displayName","propTypes","PropTypes","bool","node","string","number","isRequired"],"sources":["../../../../src/components/__shared__/BookingTable/BookingTable.Row.jsx"],"sourcesContent":["import { useMetrics } from '@mirai/data-sources';\nimport { currencyFormat, useLocale } from '@mirai/locale';\nimport { styles, Text, Tooltip, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { FORMAT_CURRENCY } from './BookingTable.constants';\nimport { L10N } from './BookingTable.l10n';\nimport * as style from './BookingTable.module.css';\n\nconst Row = ({ bold, children, currency, title, description, price, subtitle, summary, tracking, ...others }) => {\n const { isMobile } = useDevice();\n const { locale, translate } = useLocale();\n const { track } = useMetrics();\n\n const priceProps = { ...FORMAT_CURRENCY, currency, locale };\n\n const renderPrice = (bold) => (\n <Text action bold={bold}>\n {price ? currencyFormat({ ...priceProps, value: price }) : translate(L10N.LABEL_FREE)}\n </Text>\n );\n\n return (\n <View {...others} row={!isMobile} className={styles(style.row, others.className)}>\n <View className={style.title}>\n <View row>\n <Text action bold={bold} className={style.wide}>\n {title}\n </Text>\n {isMobile && renderPrice(bold)}\n </View>\n <View row className={style.subtitle}>\n <View row wide>\n {subtitle && <Text small>{subtitle}</Text>}\n {subtitle && description && (\n <Text small className={styles(style.caption, style.separator)}>\n -\n </Text>\n )}\n {description && (\n <Tooltip\n pressable\n right={!isMobile}\n text={description}\n onPress={() => track(`${tracking}:ACTION:DETAIL_MORE_INFO`)}\n >\n <Text small className={styles(style.action, style.noPrint)}>\n {translate(L10N.ACTION_MORE_INFO)}\n </Text>\n </Tooltip>\n )}\n </View>\n </View>\n </View>\n\n {(!isMobile || summary) && (\n <View className={style.summary}>\n <Text action={!isMobile} light={isMobile} small={isMobile}>\n {summary}\n </Text>\n </View>\n )}\n\n {!isMobile && <View className={style.price}>{renderPrice(bold)}</View>}\n\n {children}\n </View>\n );\n};\n\nRow.displayName = 'Mirai:User:components:BookingTable.Row';\n\nRow.propTypes = {\n bold: PropTypes.bool,\n children: PropTypes.node,\n currency: PropTypes.string,\n description: PropTypes.string,\n price: PropTypes.number,\n summary: PropTypes.string,\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MAAA,CAAAW,OAAA,CAAA+C,aAAA,CAAC7D,GAAA,CAAAoE,IAAI;IAACE,SAAS,EAAEhE,KAAK,CAACwC;EAAM,GAAEc,WAAW,CAACnB,IAAI,CAAQ,CAAC,EAErEC,QACG,CAAC;AAEX,CAAC;AAAC2C,OAAA,CAAA9C,GAAA,GAAAA,GAAA;AAEFA,GAAG,CAAC+C,WAAW,GAAG,wCAAwC;AAE1D/C,GAAG,CAACgD,SAAS,GAAG;EACd9C,IAAI,EAAE+C,kBAAS,CAACC,IAAI;EACpB/C,QAAQ,EAAE8C,kBAAS,CAACE,IAAI;EACxB/C,QAAQ,EAAE6C,kBAAS,CAACG,MAAM;EAC1B9C,WAAW,EAAE2C,kBAAS,CAACG,MAAM;EAC7B7C,KAAK,EAAE0C,kBAAS,CAACI,MAAM;EACvB5C,OAAO,EAAEwC,kBAAS,CAACG,MAAM;EACzB5C,QAAQ,EAAEyC,kBAAS,CAACG,MAAM;EAC1B/C,KAAK,EAAE4C,kBAAS,CAACG,MAAM,CAACE,UAAU;EAClC5C,QAAQ,EAAEuC,kBAAS,CAACG;AACtB,CAAC"}
|
|
@@ -90,7 +90,7 @@ BookingTerms.propTypes = {
|
|
|
90
90
|
summary: _propTypes.default.string,
|
|
91
91
|
details: _propTypes.default.string
|
|
92
92
|
}),
|
|
93
|
-
payment: _propTypes.default.
|
|
93
|
+
payment: _propTypes.default.PropTypes.shape({}),
|
|
94
94
|
paymentsConditions: _propTypes.default.string
|
|
95
95
|
}),
|
|
96
96
|
small: _propTypes.default.bool,
|