@qite/tide-booking-component 1.4.90 → 1.4.92

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.
@@ -13400,6 +13400,9 @@ PERFORMANCE OF THIS SOFTWARE.
13400
13400
 
13401
13401
  var ENDPOINT = '/api/web/packaging';
13402
13402
  var ENDPOINT_ACCOMMODATIONS = ENDPOINT + '/accommodations';
13403
+ var ENDPOINT_ENTRY = function (magicLinkCode) {
13404
+ return ENDPOINT + '/entry/' + magicLinkCode;
13405
+ };
13403
13406
  // MANUAL PACKAGING SEARCH
13404
13407
  var searchPackagingAccommodations = function (config, request, signal) {
13405
13408
  var url = '' + config.host + ENDPOINT_ACCOMMODATIONS;
@@ -13407,6 +13410,11 @@ PERFORMANCE OF THIS SOFTWARE.
13407
13410
  var body = JSON.stringify(request);
13408
13411
  return post(url, apiKey, body, config.token, signal, true);
13409
13412
  };
13413
+ var getEntry = function (config, magicLinkCode, signal) {
13414
+ var apiKey = config.apiKey;
13415
+ var url = '' + config.host + ENDPOINT_ENTRY(magicLinkCode);
13416
+ return get(url, apiKey, config.token, signal, true);
13417
+ };
13410
13418
 
13411
13419
  exports.AllotmentType = AllotmentType;
13412
13420
  exports.ContactForm = ContactForm;
@@ -13451,6 +13459,7 @@ PERFORMANCE OF THIS SOFTWARE.
13451
13459
  exports.getAllotmentList = getAllotmentList;
13452
13460
  exports.getCountries = getCountries;
13453
13461
  exports.getCustomEntryStatus = getCustomEntryStatus;
13462
+ exports.getEntry = getEntry;
13454
13463
  exports.getEntryDetailv2 = getEntryDetailv2;
13455
13464
  exports.getEntryLight = getEntryLight;
13456
13465
  exports.getEntryList = getEntryList;
@@ -36628,6 +36637,7 @@ var mapItems = function (response) {
36628
36637
  });
36629
36638
  };
36630
36639
  var checkIfFinished = function (state) {
36640
+ console.log('Checking if finished with state:', state);
36631
36641
  if (state.lastSequenceId === null) return false;
36632
36642
  for (var i = 0; i <= state.lastSequenceId; i++) {
36633
36643
  if (!state.sequenceIds.includes(i)) return false;
@@ -37566,7 +37576,9 @@ var FlightsFlyIn = function (_a) {
37566
37576
  'div',
37567
37577
  {
37568
37578
  key: 'outward-flight-option-'.concat(index),
37569
- className: 'flyin__content-card '.concat(selectedOutwardFareCode === firstSegment.metaData.fareCode ? 'flyin__content-card--selected' : '')
37579
+ className: 'flyin__content-card flyin__content-card--flight '.concat(
37580
+ selectedOutwardFareCode === firstSegment.metaData.fareCode ? 'flyin__content-card--selected' : ''
37581
+ )
37570
37582
  },
37571
37583
  React__default['default'].createElement(
37572
37584
  'div',
@@ -37857,7 +37869,9 @@ var FlightsFlyIn = function (_a) {
37857
37869
  'div',
37858
37870
  {
37859
37871
  key: 'return-flight-option-'.concat(index),
37860
- className: 'flyin__content-card '.concat(selectedReturnFareCode === firstSegment.metaData.fareCode ? 'flyin__content-card--selected' : '')
37872
+ className: 'flyin__content-card flyin__content-card--flight '.concat(
37873
+ selectedReturnFareCode === firstSegment.metaData.fareCode ? 'flyin__content-card--selected' : ''
37874
+ )
37861
37875
  },
37862
37876
  React__default['default'].createElement(
37863
37877
  'div',
@@ -47236,6 +47250,7 @@ var SearchResultsContainer = function () {
47236
47250
  searchRequest = rq;
47237
47251
  _b.label = 4;
47238
47252
  case 4:
47253
+ searchRequest.agentId = context.agentId;
47239
47254
  return [4 /*yield*/, build.search(config, searchRequest)];
47240
47255
  case 5:
47241
47256
  packageSearchResults = _b.sent();
@@ -47302,6 +47317,7 @@ var SearchResultsContainer = function () {
47302
47317
  }
47303
47318
  searchRequest = rq;
47304
47319
  searchRequest.portalId = context.portalId;
47320
+ searchRequest.agentId = context.agentId;
47305
47321
  return [4 /*yield*/, build.searchPackagingAccommodations(config, searchRequest)];
47306
47322
  case 2:
47307
47323
  packageAccoSearchResults = _b.sent();
@@ -47414,7 +47430,8 @@ var SearchResultsContainer = function () {
47414
47430
  duration: null,
47415
47431
  preNights: null,
47416
47432
  postNights: null
47417
- }
47433
+ },
47434
+ agentId: context.agentId
47418
47435
  };
47419
47436
  if (!(entry && entryId)) return [3 /*break*/, 3];
47420
47437
  requestRooms = getRequestRoomsFromEntry(entry.rooms);
@@ -47451,7 +47468,6 @@ var SearchResultsContainer = function () {
47451
47468
  params,
47452
47469
  rooms,
47453
47470
  tagId,
47454
- agentId,
47455
47471
  destinationAirport,
47456
47472
  destinationId,
47457
47473
  destinationIsCountry,
@@ -47493,7 +47509,6 @@ var SearchResultsContainer = function () {
47493
47509
  params = new URLSearchParams(location.search);
47494
47510
  rooms = getRoomsFromParams(params, 'rooms');
47495
47511
  tagId = getNumberFromParams(params, 'tagId');
47496
- agentId = getNumberFromParams(params, 'agentId');
47497
47512
  destinationAirport = getStringFromParams(params, 'destinationAirport');
47498
47513
  destinationId = null;
47499
47514
  destinationIsCountry = false;
@@ -47521,7 +47536,7 @@ var SearchResultsContainer = function () {
47521
47536
  detailSearchRequest = {
47522
47537
  officeId: 1,
47523
47538
  portalId: context.portalId,
47524
- agentId: agentId !== null && agentId !== void 0 ? agentId : null,
47539
+ agentId: context.agentId,
47525
47540
  catalogueId: (_a = context.searchConfiguration.defaultCatalogueId) !== null && _a !== void 0 ? _a : 0,
47526
47541
  searchConfigurationId: context.searchConfiguration.id,
47527
47542
  vendorConfigurationId: selectedItem.vendorId,
@@ -4,6 +4,7 @@ export type FlightSelectionMode = 'paired' | 'independent';
4
4
  export interface SearchResultsConfiguration {
5
5
  searchConfiguration: WebsiteConfigurationSearchConfiguration;
6
6
  portalId?: number;
7
+ agentId?: number;
7
8
  tideConnection: {
8
9
  host: string;
9
10
  apiKey: string;
@@ -13432,6 +13432,9 @@ PERFORMANCE OF THIS SOFTWARE.
13432
13432
 
13433
13433
  var ENDPOINT = '/api/web/packaging';
13434
13434
  var ENDPOINT_ACCOMMODATIONS = ENDPOINT + '/accommodations';
13435
+ var ENDPOINT_ENTRY = function (magicLinkCode) {
13436
+ return ENDPOINT + '/entry/' + magicLinkCode;
13437
+ };
13435
13438
  // MANUAL PACKAGING SEARCH
13436
13439
  var searchPackagingAccommodations = function (config, request, signal) {
13437
13440
  var url = '' + config.host + ENDPOINT_ACCOMMODATIONS;
@@ -13439,6 +13442,11 @@ PERFORMANCE OF THIS SOFTWARE.
13439
13442
  var body = JSON.stringify(request);
13440
13443
  return post(url, apiKey, body, config.token, signal, true);
13441
13444
  };
13445
+ var getEntry = function (config, magicLinkCode, signal) {
13446
+ var apiKey = config.apiKey;
13447
+ var url = '' + config.host + ENDPOINT_ENTRY(magicLinkCode);
13448
+ return get(url, apiKey, config.token, signal, true);
13449
+ };
13442
13450
 
13443
13451
  exports.AllotmentType = AllotmentType;
13444
13452
  exports.ContactForm = ContactForm;
@@ -13483,6 +13491,7 @@ PERFORMANCE OF THIS SOFTWARE.
13483
13491
  exports.getAllotmentList = getAllotmentList;
13484
13492
  exports.getCountries = getCountries;
13485
13493
  exports.getCustomEntryStatus = getCustomEntryStatus;
13494
+ exports.getEntry = getEntry;
13486
13495
  exports.getEntryDetailv2 = getEntryDetailv2;
13487
13496
  exports.getEntryLight = getEntryLight;
13488
13497
  exports.getEntryList = getEntryList;
@@ -36473,6 +36482,7 @@ var mapItems = function (response) {
36473
36482
  });
36474
36483
  };
36475
36484
  var checkIfFinished = function (state) {
36485
+ console.log('Checking if finished with state:', state);
36476
36486
  if (state.lastSequenceId === null) return false;
36477
36487
  for (var i = 0; i <= state.lastSequenceId; i++) {
36478
36488
  if (!state.sequenceIds.includes(i)) return false;
@@ -37403,7 +37413,9 @@ var FlightsFlyIn = function (_a) {
37403
37413
  'div',
37404
37414
  {
37405
37415
  key: 'outward-flight-option-'.concat(index),
37406
- className: 'flyin__content-card '.concat(selectedOutwardFareCode === firstSegment.metaData.fareCode ? 'flyin__content-card--selected' : '')
37416
+ className: 'flyin__content-card flyin__content-card--flight '.concat(
37417
+ selectedOutwardFareCode === firstSegment.metaData.fareCode ? 'flyin__content-card--selected' : ''
37418
+ )
37407
37419
  },
37408
37420
  React__default.createElement(
37409
37421
  'div',
@@ -37684,7 +37696,9 @@ var FlightsFlyIn = function (_a) {
37684
37696
  'div',
37685
37697
  {
37686
37698
  key: 'return-flight-option-'.concat(index),
37687
- className: 'flyin__content-card '.concat(selectedReturnFareCode === firstSegment.metaData.fareCode ? 'flyin__content-card--selected' : '')
37699
+ className: 'flyin__content-card flyin__content-card--flight '.concat(
37700
+ selectedReturnFareCode === firstSegment.metaData.fareCode ? 'flyin__content-card--selected' : ''
37701
+ )
37688
37702
  },
37689
37703
  React__default.createElement(
37690
37704
  'div',
@@ -46984,6 +46998,7 @@ var SearchResultsContainer = function () {
46984
46998
  searchRequest = rq;
46985
46999
  _b.label = 4;
46986
47000
  case 4:
47001
+ searchRequest.agentId = context.agentId;
46987
47002
  return [4 /*yield*/, build.search(config, searchRequest)];
46988
47003
  case 5:
46989
47004
  packageSearchResults = _b.sent();
@@ -47050,6 +47065,7 @@ var SearchResultsContainer = function () {
47050
47065
  }
47051
47066
  searchRequest = rq;
47052
47067
  searchRequest.portalId = context.portalId;
47068
+ searchRequest.agentId = context.agentId;
47053
47069
  return [4 /*yield*/, build.searchPackagingAccommodations(config, searchRequest)];
47054
47070
  case 2:
47055
47071
  packageAccoSearchResults = _b.sent();
@@ -47162,7 +47178,8 @@ var SearchResultsContainer = function () {
47162
47178
  duration: null,
47163
47179
  preNights: null,
47164
47180
  postNights: null
47165
- }
47181
+ },
47182
+ agentId: context.agentId
47166
47183
  };
47167
47184
  if (!(entry && entryId)) return [3 /*break*/, 3];
47168
47185
  requestRooms = getRequestRoomsFromEntry(entry.rooms);
@@ -47199,7 +47216,6 @@ var SearchResultsContainer = function () {
47199
47216
  params,
47200
47217
  rooms,
47201
47218
  tagId,
47202
- agentId,
47203
47219
  destinationAirport,
47204
47220
  destinationId,
47205
47221
  destinationIsCountry,
@@ -47241,7 +47257,6 @@ var SearchResultsContainer = function () {
47241
47257
  params = new URLSearchParams(location.search);
47242
47258
  rooms = getRoomsFromParams(params, 'rooms');
47243
47259
  tagId = getNumberFromParams(params, 'tagId');
47244
- agentId = getNumberFromParams(params, 'agentId');
47245
47260
  destinationAirport = getStringFromParams(params, 'destinationAirport');
47246
47261
  destinationId = null;
47247
47262
  destinationIsCountry = false;
@@ -47269,7 +47284,7 @@ var SearchResultsContainer = function () {
47269
47284
  detailSearchRequest = {
47270
47285
  officeId: 1,
47271
47286
  portalId: context.portalId,
47272
- agentId: agentId !== null && agentId !== void 0 ? agentId : null,
47287
+ agentId: context.agentId,
47273
47288
  catalogueId: (_a = context.searchConfiguration.defaultCatalogueId) !== null && _a !== void 0 ? _a : 0,
47274
47289
  searchConfigurationId: context.searchConfiguration.id,
47275
47290
  vendorConfigurationId: selectedItem.vendorId,
@@ -4,6 +4,7 @@ export type FlightSelectionMode = 'paired' | 'independent';
4
4
  export interface SearchResultsConfiguration {
5
5
  searchConfiguration: WebsiteConfigurationSearchConfiguration;
6
6
  portalId?: number;
7
+ agentId?: number;
7
8
  tideConnection: {
8
9
  host: string;
9
10
  apiKey: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-booking-component",
3
- "version": "1.4.90",
3
+ "version": "1.4.92",
4
4
  "description": "React Booking wizard & Booking product component for Tide",
5
5
  "main": "build/build-cjs/index.js",
6
6
  "types": "build/build-cjs/src/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "devDependencies": {
30
30
  "@jsonurl/jsonurl": "^1.1.4",
31
31
  "@popperjs/core": "^2.10.2",
32
- "@qite/tide-client": "^1.1.151",
32
+ "@qite/tide-client": "^1.1.152",
33
33
  "@reduxjs/toolkit": "^2.8.2",
34
34
  "@rollup/plugin-commonjs": "^19.0.1",
35
35
  "@rollup/plugin-json": "^4.1.0",
@@ -111,6 +111,7 @@ const mapItems = (response: FlightSearchResponse) =>
111
111
  );
112
112
 
113
113
  const checkIfFinished = (state: SearchState) => {
114
+ console.log('Checking if finished with state:', state);
114
115
  if (state.lastSequenceId === null) return false;
115
116
 
116
117
  for (let i = 0; i <= state.lastSequenceId; i++) {
@@ -475,6 +475,7 @@ const SearchResultsContainer: React.FC = () => {
475
475
  searchRequest = rq;
476
476
  }
477
477
 
478
+ searchRequest.agentId = context.agentId;
478
479
  const packageSearchResults = await search(config, searchRequest);
479
480
 
480
481
  console.log('Search results', packageSearchResults);
@@ -534,6 +535,7 @@ const SearchResultsContainer: React.FC = () => {
534
535
 
535
536
  searchRequest = rq;
536
537
  searchRequest.portalId = context.portalId;
538
+ searchRequest.agentId = context.agentId;
537
539
 
538
540
  const packageAccoSearchResults = await searchPackagingAccommodations(config, searchRequest);
539
541
 
@@ -626,7 +628,8 @@ const SearchResultsContainer: React.FC = () => {
626
628
  duration: null,
627
629
  preNights: null,
628
630
  postNights: null
629
- }
631
+ },
632
+ agentId: context.agentId
630
633
  };
631
634
 
632
635
  if (entry && entryId) {
@@ -674,7 +677,6 @@ const SearchResultsContainer: React.FC = () => {
674
677
  const params = new URLSearchParams(location.search);
675
678
  const rooms = getRoomsFromParams(params, 'rooms');
676
679
  let tagId = getNumberFromParams(params, 'tagId');
677
- let agentId = getNumberFromParams(params, 'agentId');
678
680
 
679
681
  let destinationAirport = getStringFromParams(params, 'destinationAirport');
680
682
 
@@ -706,7 +708,7 @@ const SearchResultsContainer: React.FC = () => {
706
708
  const detailSearchRequest: PackagingAccommodationRequest = {
707
709
  officeId: 1,
708
710
  portalId: context.portalId,
709
- agentId: agentId ?? null,
711
+ agentId: context.agentId,
710
712
  catalogueId: context!.searchConfiguration.defaultCatalogueId ?? 0,
711
713
  searchConfigurationId: context!.searchConfiguration.id,
712
714
  vendorConfigurationId: selectedItem.vendorId,
@@ -6,6 +6,7 @@ export type FlightSelectionMode = 'paired' | 'independent';
6
6
  export interface SearchResultsConfiguration {
7
7
  searchConfiguration: WebsiteConfigurationSearchConfiguration;
8
8
  portalId?: number;
9
+ agentId?: number;
9
10
  // Tide connection
10
11
  tideConnection: {
11
12
  host: string;
@@ -200,7 +200,9 @@ const FlightsFlyIn: React.FC<FlightsFlyInProps> = ({ isOpen, setIsOpen }) => {
200
200
  return (
201
201
  <div
202
202
  key={`outward-flight-option-${index}`}
203
- className={`flyin__content-card ${selectedOutwardFareCode === firstSegment.metaData.fareCode ? 'flyin__content-card--selected' : ''}`}>
203
+ className={`flyin__content-card flyin__content-card--flight ${
204
+ selectedOutwardFareCode === firstSegment.metaData.fareCode ? 'flyin__content-card--selected' : ''
205
+ }`}>
204
206
  <div className="flyin__content-card-top">
205
207
  <span className="flyin__content-card-top-tag">{firstSegment.metaData.fareMarketingName}</span>
206
208
  {diff !== null && diff != 0 && (
@@ -362,7 +364,9 @@ const FlightsFlyIn: React.FC<FlightsFlyInProps> = ({ isOpen, setIsOpen }) => {
362
364
  return (
363
365
  <div
364
366
  key={`return-flight-option-${index}`}
365
- className={`flyin__content-card ${selectedReturnFareCode === firstSegment.metaData.fareCode ? 'flyin__content-card--selected' : ''}`}>
367
+ className={`flyin__content-card flyin__content-card--flight ${
368
+ selectedReturnFareCode === firstSegment.metaData.fareCode ? 'flyin__content-card--selected' : ''
369
+ }`}>
366
370
  <div className="flyin__content-card-top">
367
371
  <span className="flyin__content-card-top-tag">{firstSegment.metaData.fareMarketingName}</span>
368
372
  {diff !== null && diff != 0 && (
@@ -281,160 +281,160 @@
281
281
 
282
282
  // Slicing with image and usps,
283
283
  // not available in the current API response.
284
- // &-card {
285
- // // height: 522px;
286
- // width: 100%;
287
- // max-width: 315px;
288
- // min-width: 315px;
289
-
290
- // border-radius: 16px;
291
- // box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
292
- // display: flex;
293
- // flex-direction: column;
294
- // justify-content: space-between;
295
- // overflow: hidden;
296
- // background: var(--tide-booking-white);
297
- // transition: all 0.4s ease;
298
- // cursor: pointer;
299
-
300
- // @include mixins.media-sm {
301
- // max-width: 345px;
302
- // min-width: 345px;
303
- // }
304
-
305
- // &:hover {
306
- // .flyin__content-card-top {
307
- // background: var(--tide-booking-color-primary-fade);
308
- // }
309
-
310
- // .flyin__content-card-button {
311
- // // background: var(--tide-booking-color-primary);
312
- // color: var(--tide-booking-white);
313
-
314
- // .cta--select {
315
- // background: var(--tide-booking-cta-background-select-hover);
316
- // }
317
- // }
318
- // }
319
-
320
- // &--selected {
321
- // .flyin__content-card-top {
322
- // background: var(--tide-booking-color-primary-gradient);
323
- // border-bottom: none;
324
- // }
325
-
326
- // .flyin__content-card-top-price {
327
- // color: var(--tide-booking-white);
328
- // }
329
-
330
- // .flyin__content-card-top-tag {
331
- // color: var(--tide-booking-white);
332
- // }
333
-
334
- // .flyin__content-card-middle {
335
- // // border-left: 4px solid var(--tide-booking-color-primary);
336
- // // border-right: 4px solid var(--tide-booking-color-primary);
337
- // }
338
-
339
- // &:hover {
340
- // .flyin__content {
341
- // cursor: default;
342
- // }
343
-
344
- // .flyin__content-card-top {
345
- // background: var(--tide-booking-color-primary-gradient);
346
- // }
347
- // }
348
- // }
349
-
350
- // &-top {
351
- // min-height: 60px;
352
- // width: 100%;
353
- // background: var(--tide-booking-color-primary);
354
- // display: flex;
355
- // justify-content: space-between;
356
- // align-items: end;
357
- // padding: 0 15px 12px 15px;
358
- // background: var(--tide-booking-white);
359
- // transition: all 0.4s ease;
360
-
361
- // &-price {
362
- // font-size: 18px;
363
- // font-weight: 700;
364
- // color: var(--tide-booking-black);
365
-
366
- // &--decrease {
367
- // color: green;
368
- // }
369
-
370
- // &--increase {
371
- // color: red;
372
- // }
373
- // }
374
-
375
- // &-tag {
376
- // font-size: 24px;
377
- // color: var(--tide-booking-black);
378
- // /* color: variables.$white; */
379
- // font-weight: 700;
380
- // }
381
- // }
382
-
383
- // &-middle {
384
- // height: 430px;
385
- // background: var(--tide-booking-white);
386
- // transition: all 0.4s ease;
387
-
388
- // &-rows {
389
- // display: flex;
390
- // flex-direction: column;
391
- // gap: 10px;
392
- // padding: 15px 15px 0 15px;
393
- // max-height: 430px;
394
- // }
395
-
396
- // &-row {
397
- // display: flex;
398
- // justify-content: space-between;
399
- // align-items: center;
400
- // padding-bottom: 5px;
401
- // border-bottom: 1px dashed var(--tide-booking-color-primary-light);
402
-
403
- // &-left {
404
- // font-weight: 500;
405
- // color: var(--tide-booking-black);
406
- // }
407
-
408
- // &-right {
409
- // font-weight: 300;
410
- // }
411
- // }
412
- // }
413
-
414
- // &-bottom {
415
- // height: 30px;
416
- // background: var(--tide-booking-color-primary);
417
- // display: flex;
418
- // justify-content: center;
419
- // align-items: center;
420
- // color: var(--tide-booking-white);
421
- // font-size: 14px;
422
- // transition: all 0.4s ease;
423
- // }
424
-
425
- // &-button {
426
- // // border: 1.25px solid var(--tide-booking-color-primary);
427
- // border-radius: 3px;
428
- // display: flex;
429
- // justify-content: center;
430
- // align-items: center;
431
- // color: var(--tide-booking-color-primary);
432
- // padding: 15px;
433
- // cursor: pointer;
434
- // font-size: 14px;
435
- // transition: all 0.2s ease;
436
- // }
437
- // }
284
+ &-card--flight {
285
+ // height: 522px;
286
+ width: 100%;
287
+ max-width: 315px;
288
+ min-width: 315px;
289
+
290
+ border-radius: 16px;
291
+ box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
292
+ display: flex;
293
+ flex-direction: column;
294
+ justify-content: space-between;
295
+ overflow: hidden;
296
+ background: var(--tide-booking-white);
297
+ transition: all 0.4s ease;
298
+ cursor: pointer;
299
+
300
+ @include mixins.media-sm {
301
+ max-width: 345px;
302
+ min-width: 345px;
303
+ }
304
+
305
+ &:hover {
306
+ .flyin__content-card-top {
307
+ background: var(--tide-booking-color-primary-fade);
308
+ }
309
+
310
+ .flyin__content-card-button {
311
+ // background: var(--tide-booking-color-primary);
312
+ color: var(--tide-booking-white);
313
+
314
+ .cta--select {
315
+ background: var(--tide-booking-cta-background-select-hover);
316
+ }
317
+ }
318
+ }
319
+
320
+ &.flyin__content-card--selected {
321
+ .flyin__content-card-top {
322
+ background: var(--tide-booking-color-primary-gradient);
323
+ border-bottom: none;
324
+ }
325
+
326
+ .flyin__content-card-top-price {
327
+ color: var(--tide-booking-white);
328
+ }
329
+
330
+ .flyin__content-card-top-tag {
331
+ color: var(--tide-booking-white);
332
+ }
333
+
334
+ .flyin__content-card-middle {
335
+ // border-left: 4px solid var(--tide-booking-color-primary);
336
+ // border-right: 4px solid var(--tide-booking-color-primary);
337
+ }
338
+
339
+ &:hover {
340
+ .flyin__content {
341
+ cursor: default;
342
+ }
343
+
344
+ .flyin__content-card-top {
345
+ background: var(--tide-booking-color-primary-gradient);
346
+ }
347
+ }
348
+ }
349
+
350
+ .flyin__content-card-top {
351
+ min-height: 60px;
352
+ width: 100%;
353
+ background: var(--tide-booking-color-primary);
354
+ display: flex;
355
+ justify-content: space-between;
356
+ align-items: end;
357
+ padding: 0 15px 12px 15px;
358
+ background: var(--tide-booking-white);
359
+ transition: all 0.4s ease;
360
+
361
+ &-price {
362
+ font-size: 18px;
363
+ font-weight: 700;
364
+ color: var(--tide-booking-black);
365
+
366
+ &--decrease {
367
+ color: green;
368
+ }
369
+
370
+ &--increase {
371
+ color: red;
372
+ }
373
+ }
374
+
375
+ &-tag {
376
+ font-size: 24px;
377
+ color: var(--tide-booking-black);
378
+ /* color: variables.$white; */
379
+ font-weight: 700;
380
+ }
381
+ }
382
+
383
+ .flyin__content-card-middle {
384
+ height: 430px;
385
+ background: var(--tide-booking-white);
386
+ transition: all 0.4s ease;
387
+
388
+ &-rows {
389
+ display: flex;
390
+ flex-direction: column;
391
+ gap: 10px;
392
+ padding: 15px 15px 0 15px;
393
+ max-height: 430px;
394
+ }
395
+
396
+ &-row {
397
+ display: flex;
398
+ justify-content: space-between;
399
+ align-items: center;
400
+ padding-bottom: 5px;
401
+ border-bottom: 1px dashed var(--tide-booking-color-primary-light);
402
+
403
+ &-left {
404
+ font-weight: 500;
405
+ color: var(--tide-booking-black);
406
+ }
407
+
408
+ &-right {
409
+ font-weight: 300;
410
+ }
411
+ }
412
+ }
413
+
414
+ .flyin__content-card-bottom {
415
+ height: 30px;
416
+ background: var(--tide-booking-color-primary);
417
+ display: flex;
418
+ justify-content: center;
419
+ align-items: center;
420
+ color: var(--tide-booking-white);
421
+ font-size: 14px;
422
+ transition: all 0.4s ease;
423
+ }
424
+
425
+ .flyin__content-card-button {
426
+ // border: 1.25px solid var(--tide-booking-color-primary);
427
+ border-radius: 3px;
428
+ display: flex;
429
+ justify-content: center;
430
+ align-items: center;
431
+ color: var(--tide-booking-color-primary);
432
+ padding: 15px;
433
+ cursor: pointer;
434
+ font-size: 14px;
435
+ transition: all 0.2s ease;
436
+ }
437
+ }
438
438
 
439
439
  &-data {
440
440
  display: flex;
@@ -384,11 +384,7 @@
384
384
  }
385
385
 
386
386
  &--parent {
387
- top: 7.5px;
388
-
389
- @include media-lg {
390
- top: 14px;
391
- }
387
+ top: 0;
392
388
 
393
389
  & + span {
394
390
  margin-top: 0px;