@mirai/core 0.3.391 → 0.3.393
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/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/Rates/Rates.js +7 -6
- package/build/components/Rates/Rates.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/ModalExtras.module.css +2 -1
- 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 +1 -1
|
@@ -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
|
|
@@ -122,6 +122,9 @@ const Rates = _ref => {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
setMetaBoard(board);
|
|
125
|
+
set({
|
|
126
|
+
rates: undefined
|
|
127
|
+
});
|
|
125
128
|
}).catch(() => set({
|
|
126
129
|
rates: undefined
|
|
127
130
|
}));
|
|
@@ -250,9 +253,6 @@ const Rates = _ref => {
|
|
|
250
253
|
setItemPreview(undefined);
|
|
251
254
|
setRoom();
|
|
252
255
|
setMetaBoard();
|
|
253
|
-
set({
|
|
254
|
-
rates: undefined
|
|
255
|
-
});
|
|
256
256
|
scrollTo(0);
|
|
257
257
|
(0, _helpers3.replaceUrlParams)((0, _helpers.getFinderParams)({
|
|
258
258
|
...values,
|
|
@@ -289,10 +289,11 @@ const Rates = _ref => {
|
|
|
289
289
|
};
|
|
290
290
|
|
|
291
291
|
// eslint-disable-next-line no-unused-vars
|
|
292
|
-
const handleSubmit = async cart
|
|
292
|
+
const handleSubmit = async function (cart) {
|
|
293
|
+
let sessionProp = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : session;
|
|
293
294
|
const isPestana = _services.ServiceFeatures.get(_Rates.FEATURES.PESTANA, id) || false;
|
|
294
295
|
setLogin(false);
|
|
295
|
-
if (!isPestana && clubDiscount && !
|
|
296
|
+
if (!isPestana && clubDiscount && !sessionProp && !loginShown && cart.filter(board => (0, _helpers.isClubRate)({
|
|
296
297
|
board,
|
|
297
298
|
dataSource
|
|
298
299
|
})).length > 0) {
|
|
@@ -526,7 +527,7 @@ const Rates = _ref => {
|
|
|
526
527
|
title: translate(_Rates5.L10N.LABEL_FARE_EXCLUSIVE_MEMBERS),
|
|
527
528
|
visible: login,
|
|
528
529
|
onClose: handleCloseLogin,
|
|
529
|
-
onSuccess: () => handleSubmit(cart)
|
|
530
|
+
onSuccess: () => handleSubmit(cart, true)
|
|
530
531
|
}, /*#__PURE__*/_react.default.createElement(_components.ClubRate, {
|
|
531
532
|
onCancel: () => handleClubDiscount(false),
|
|
532
533
|
onSubmit: () => handleSubmit(cart)
|