@qite/tide-booking-component 1.4.81 → 1.4.82

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.
@@ -13222,6 +13222,9 @@ PERFORMANCE OF THIS SOFTWARE.
13222
13222
  var ENDPOINT_WEBSITE_CONFIGURATION = function (portalId) {
13223
13223
  return ENDPOINT$3 + '/website/' + portalId + '/configuration';
13224
13224
  };
13225
+ var ENDPOINT_WEBSITE_STYLESHEET = function (styleSheetId) {
13226
+ return ENDPOINT$3 + '/style-sheet/' + styleSheetId;
13227
+ };
13225
13228
  /**
13226
13229
  * api/web/crmcontact
13227
13230
  * Creates a CRM contact.
@@ -13284,6 +13287,11 @@ PERFORMANCE OF THIS SOFTWARE.
13284
13287
  var apiKey = config.apiKey;
13285
13288
  return get(url, apiKey, config.token, signal, true);
13286
13289
  };
13290
+ var getStyleSheet = function (config, id, signal) {
13291
+ var url = '' + config.host + ENDPOINT_WEBSITE_STYLESHEET(id);
13292
+ var apiKey = config.apiKey;
13293
+ return get(url, apiKey, config.token, signal, true);
13294
+ };
13287
13295
 
13288
13296
  var ENDPOINT$2 = '/api/web/contact';
13289
13297
  var ENDPOINT_CONTACT_FORM = ENDPOINT$2 + '/contact-form';
@@ -13403,6 +13411,7 @@ PERFORMANCE OF THIS SOFTWARE.
13403
13411
  exports.getMolliePayment = getMolliePayment;
13404
13412
  exports.getPortal = getPortal;
13405
13413
  exports.getPrintActions = getPrintActions;
13414
+ exports.getStyleSheet = getStyleSheet;
13406
13415
  exports.getTranslationDictionary = getTranslationDictionary;
13407
13416
  exports.getWebsiteConfiguration = getWebsiteConfiguration;
13408
13417
  exports.login = login;
@@ -38118,7 +38127,7 @@ var HotelCard = function (_a) {
38118
38127
  'div',
38119
38128
  {
38120
38129
  key: result.id,
38121
- className: 'search__result-card__wrapper',
38130
+ className: 'search__result-card__wrapper search__result-card__wrapper--custom',
38122
38131
  onMouseEnter: function (e) {
38123
38132
  return (e.currentTarget.style.transform = 'scale(1.02)');
38124
38133
  },
@@ -38495,6 +38504,7 @@ var HotelAccommodationResults = function (_a) {
38495
38504
  // return <div className="search__results__cards">{renderedResults}</div>;
38496
38505
  // };
38497
38506
 
38507
+ // search__results__cards--list
38498
38508
  var RoundTripResults = function () {
38499
38509
  return React__default['default'].createElement(
38500
38510
  'div',
@@ -38505,6 +38515,15 @@ var RoundTripResults = function () {
38505
38515
  React__default['default'].createElement(
38506
38516
  'div',
38507
38517
  { className: 'search__result-card__allotment' },
38518
+ React__default['default'].createElement(
38519
+ 'div',
38520
+ { className: 'search__result-card__allotment__img-wrapper' },
38521
+ React__default['default'].createElement('img', {
38522
+ src: 'https://cdn.pixabay.com/photo/2024/05/15/12/31/lake-8763490_1280.jpg',
38523
+ alt: 'river',
38524
+ className: 'search__result-card__allotment__img'
38525
+ })
38526
+ ),
38508
38527
  React__default['default'].createElement(
38509
38528
  'div',
38510
38529
  { className: 'search__result-card__allotment__title__wrapper' },
@@ -38592,6 +38611,15 @@ var RoundTripResults = function () {
38592
38611
  React__default['default'].createElement(
38593
38612
  'div',
38594
38613
  { className: 'search__result-card__allotment' },
38614
+ React__default['default'].createElement(
38615
+ 'div',
38616
+ { className: 'search__result-card__allotment__img-wrapper' },
38617
+ React__default['default'].createElement('img', {
38618
+ src: 'https://cdn.pixabay.com/photo/2024/05/15/12/31/lake-8763490_1280.jpg',
38619
+ alt: 'river',
38620
+ className: 'search__result-card__allotment__img'
38621
+ })
38622
+ ),
38595
38623
  React__default['default'].createElement(
38596
38624
  'div',
38597
38625
  { className: 'search__result-card__allotment__title__wrapper' },
@@ -38606,6 +38634,11 @@ var RoundTripResults = function () {
38606
38634
  'BIJNA GAR'
38607
38635
  )
38608
38636
  ),
38637
+ React__default['default'].createElement(
38638
+ 'p',
38639
+ { className: 'search__result-card__allotment__description' },
38640
+ 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod quis explicabo, animi illum expedita molestias quae atque laboriosam consequatur nulla error non delectus nesciunt id voluptatem quia nobis? Debitis, rerum!'
38641
+ ),
38609
38642
  React__default['default'].createElement(
38610
38643
  'div',
38611
38644
  { className: 'search__result-card__allotment__container' },
@@ -38679,6 +38712,15 @@ var RoundTripResults = function () {
38679
38712
  React__default['default'].createElement(
38680
38713
  'div',
38681
38714
  { className: 'search__result-card__allotment' },
38715
+ React__default['default'].createElement(
38716
+ 'div',
38717
+ { className: 'search__result-card__allotment__img-wrapper' },
38718
+ React__default['default'].createElement('img', {
38719
+ src: 'https://cdn.pixabay.com/photo/2024/05/15/12/31/lake-8763490_1280.jpg',
38720
+ alt: 'river',
38721
+ className: 'search__result-card__allotment__img'
38722
+ })
38723
+ ),
38682
38724
  React__default['default'].createElement(
38683
38725
  'div',
38684
38726
  { className: 'search__result-card__allotment__title__wrapper' },
@@ -41810,12 +41852,15 @@ var SearchResultsContainer = function () {
41810
41852
  }),
41811
41853
  results = _b.results,
41812
41854
  filteredResults = _b.filteredResults,
41855
+ packagingAccoResults = _b.packagingAccoResults,
41856
+ filteredPackagingAccoResults = _b.filteredPackagingAccoResults,
41813
41857
  bookingPackageDetails = _b.bookingPackageDetails,
41814
41858
  entry = _b.entry,
41815
41859
  isLoading = _b.isLoading,
41816
41860
  filters = _b.filters,
41817
41861
  sortKey = _b.sortKey,
41818
41862
  selectedSearchResultId = _b.selectedSearchResultId,
41863
+ selectedPackagingAccoResultCode = _b.selectedPackagingAccoResultCode,
41819
41864
  flyInIsOpen = _b.flyInIsOpen;
41820
41865
  var isMobile = useMediaQuery('(max-width: 1200px)');
41821
41866
  var _c = React.useState(false),
@@ -42270,6 +42315,7 @@ var SearchResultsContainer = function () {
42270
42315
  throw new Error('Invalid search parameters');
42271
42316
  }
42272
42317
  searchRequest = rq;
42318
+ searchRequest.portalId = context.portalId;
42273
42319
  return [4 /*yield*/, build.searchPackagingAccommodations(config, searchRequest)];
42274
42320
  case 2:
42275
42321
  packageAccoSearchResults = _b.sent();
@@ -42324,7 +42370,7 @@ var SearchResultsContainer = function () {
42324
42370
  return __generator(this, function (_c) {
42325
42371
  switch (_c.label) {
42326
42372
  case 0:
42327
- if (!selectedSearchResultId || !context) return [2 /*return*/];
42373
+ if ((!selectedSearchResultId && !selectedPackagingAccoResultCode) || !context) return [2 /*return*/];
42328
42374
  if (
42329
42375
  (context === null || context === void 0 ? void 0 : context.searchConfiguration.qsmType) === build.PortalQsmType.Accommodation ||
42330
42376
  (context === null || context === void 0 ? void 0 : context.searchConfiguration.qsmType) === build.PortalQsmType.GroupTour
@@ -42417,14 +42463,19 @@ var SearchResultsContainer = function () {
42417
42463
  };
42418
42464
  fetchPackageDetails();
42419
42465
  },
42420
- [selectedSearchResultId]
42466
+ [selectedSearchResultId, selectedPackagingAccoResultCode]
42421
42467
  );
42422
42468
  React.useEffect(
42423
42469
  function () {
42424
- var filteredResults = applyFilters(results, filters);
42425
- dispatch(setFilteredResults(filteredResults));
42470
+ if ((context === null || context === void 0 ? void 0 : context.searchConfiguration.qsmType) === build.PortalQsmType.Accommodation) {
42471
+ var filteredPackageAccoResults = applyFiltersToPackageAccoResults(packagingAccoResults, filters);
42472
+ dispatch(setFilteredPackagingAccoResults(filteredPackageAccoResults));
42473
+ } else {
42474
+ var filteredResults_1 = applyFilters(results, filters);
42475
+ dispatch(setFilteredResults(filteredResults_1));
42476
+ }
42426
42477
  },
42427
- [filters, results]
42478
+ [filters, results, packagingAccoResults]
42428
42479
  );
42429
42480
  return React__default['default'].createElement(
42430
42481
  'div',
@@ -42535,8 +42586,13 @@ var SearchResultsContainer = function () {
42535
42586
  React__default['default'].createElement(
42536
42587
  React__default['default'].Fragment,
42537
42588
  null,
42538
- (filteredResults === null || filteredResults === void 0 ? void 0 : filteredResults.length) && filteredResults.length,
42539
- ' ',
42589
+ context.searchConfiguration.qsmType === build.PortalQsmType.Accommodation &&
42590
+ (filteredPackagingAccoResults === null || filteredPackagingAccoResults === void 0 ? void 0 : filteredPackagingAccoResults.length) &&
42591
+ (filteredPackagingAccoResults === null || filteredPackagingAccoResults === void 0 ? void 0 : filteredPackagingAccoResults.length),
42592
+ context.searchConfiguration.qsmType !== build.PortalQsmType.Accommodation &&
42593
+ (filteredResults === null || filteredResults === void 0 ? void 0 : filteredResults.length) &&
42594
+ filteredResults.length,
42595
+ '\u00A0',
42540
42596
  translations.SRP.TOTAL_RESULTS_LABEL
42541
42597
  )
42542
42598
  ),
@@ -46075,15 +46131,19 @@ var FeaturedTripCard = function (_a) {
46075
46131
  React__default['default'].createElement(
46076
46132
  'div',
46077
46133
  { className: 'image-card__content' },
46078
- React__default['default'].createElement('h3', { className: 'image-card__title' }, title),
46079
46134
  React__default['default'].createElement(
46080
46135
  'div',
46081
- { className: 'image-card__options' },
46136
+ { className: 'image-card__top' },
46137
+ React__default['default'].createElement('h3', { className: 'image-card__title' }, title),
46082
46138
  React__default['default'].createElement(
46083
46139
  'div',
46084
- { className: 'image-card__option' },
46085
- React__default['default'].createElement(Icon$3, { name: 'ui-location', width: 16, height: 16 }),
46086
- React__default['default'].createElement('span', null, location)
46140
+ { className: 'image-card__options' },
46141
+ React__default['default'].createElement(
46142
+ 'div',
46143
+ { className: 'image-card__option' },
46144
+ React__default['default'].createElement(Icon$3, { name: 'ui-location', width: 16, height: 16 }),
46145
+ React__default['default'].createElement('span', null, location)
46146
+ )
46087
46147
  )
46088
46148
  ),
46089
46149
  React__default['default'].createElement(
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
3
3
  export type FlightSelectionMode = 'paired' | 'independent';
4
4
  export interface SearchResultsConfiguration {
5
5
  searchConfiguration: WebsiteConfigurationSearchConfiguration;
6
+ portalId?: number;
6
7
  tideConnection: {
7
8
  host: string;
8
9
  apiKey: string;
@@ -13254,6 +13254,9 @@ PERFORMANCE OF THIS SOFTWARE.
13254
13254
  var ENDPOINT_WEBSITE_CONFIGURATION = function (portalId) {
13255
13255
  return ENDPOINT$3 + '/website/' + portalId + '/configuration';
13256
13256
  };
13257
+ var ENDPOINT_WEBSITE_STYLESHEET = function (styleSheetId) {
13258
+ return ENDPOINT$3 + '/style-sheet/' + styleSheetId;
13259
+ };
13257
13260
  /**
13258
13261
  * api/web/crmcontact
13259
13262
  * Creates a CRM contact.
@@ -13316,6 +13319,11 @@ PERFORMANCE OF THIS SOFTWARE.
13316
13319
  var apiKey = config.apiKey;
13317
13320
  return get(url, apiKey, config.token, signal, true);
13318
13321
  };
13322
+ var getStyleSheet = function (config, id, signal) {
13323
+ var url = '' + config.host + ENDPOINT_WEBSITE_STYLESHEET(id);
13324
+ var apiKey = config.apiKey;
13325
+ return get(url, apiKey, config.token, signal, true);
13326
+ };
13319
13327
 
13320
13328
  var ENDPOINT$2 = '/api/web/contact';
13321
13329
  var ENDPOINT_CONTACT_FORM = ENDPOINT$2 + '/contact-form';
@@ -13435,6 +13443,7 @@ PERFORMANCE OF THIS SOFTWARE.
13435
13443
  exports.getMolliePayment = getMolliePayment;
13436
13444
  exports.getPortal = getPortal;
13437
13445
  exports.getPrintActions = getPrintActions;
13446
+ exports.getStyleSheet = getStyleSheet;
13438
13447
  exports.getTranslationDictionary = getTranslationDictionary;
13439
13448
  exports.getWebsiteConfiguration = getWebsiteConfiguration;
13440
13449
  exports.login = login;
@@ -37937,7 +37946,7 @@ var HotelCard = function (_a) {
37937
37946
  'div',
37938
37947
  {
37939
37948
  key: result.id,
37940
- className: 'search__result-card__wrapper',
37949
+ className: 'search__result-card__wrapper search__result-card__wrapper--custom',
37941
37950
  onMouseEnter: function (e) {
37942
37951
  return (e.currentTarget.style.transform = 'scale(1.02)');
37943
37952
  },
@@ -38302,6 +38311,7 @@ var HotelAccommodationResults = function (_a) {
38302
38311
  // return <div className="search__results__cards">{renderedResults}</div>;
38303
38312
  // };
38304
38313
 
38314
+ // search__results__cards--list
38305
38315
  var RoundTripResults = function () {
38306
38316
  return React__default.createElement(
38307
38317
  'div',
@@ -38312,6 +38322,15 @@ var RoundTripResults = function () {
38312
38322
  React__default.createElement(
38313
38323
  'div',
38314
38324
  { className: 'search__result-card__allotment' },
38325
+ React__default.createElement(
38326
+ 'div',
38327
+ { className: 'search__result-card__allotment__img-wrapper' },
38328
+ React__default.createElement('img', {
38329
+ src: 'https://cdn.pixabay.com/photo/2024/05/15/12/31/lake-8763490_1280.jpg',
38330
+ alt: 'river',
38331
+ className: 'search__result-card__allotment__img'
38332
+ })
38333
+ ),
38315
38334
  React__default.createElement(
38316
38335
  'div',
38317
38336
  { className: 'search__result-card__allotment__title__wrapper' },
@@ -38395,6 +38414,15 @@ var RoundTripResults = function () {
38395
38414
  React__default.createElement(
38396
38415
  'div',
38397
38416
  { className: 'search__result-card__allotment' },
38417
+ React__default.createElement(
38418
+ 'div',
38419
+ { className: 'search__result-card__allotment__img-wrapper' },
38420
+ React__default.createElement('img', {
38421
+ src: 'https://cdn.pixabay.com/photo/2024/05/15/12/31/lake-8763490_1280.jpg',
38422
+ alt: 'river',
38423
+ className: 'search__result-card__allotment__img'
38424
+ })
38425
+ ),
38398
38426
  React__default.createElement(
38399
38427
  'div',
38400
38428
  { className: 'search__result-card__allotment__title__wrapper' },
@@ -38409,6 +38437,11 @@ var RoundTripResults = function () {
38409
38437
  'BIJNA GAR'
38410
38438
  )
38411
38439
  ),
38440
+ React__default.createElement(
38441
+ 'p',
38442
+ { className: 'search__result-card__allotment__description' },
38443
+ 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod quis explicabo, animi illum expedita molestias quae atque laboriosam consequatur nulla error non delectus nesciunt id voluptatem quia nobis? Debitis, rerum!'
38444
+ ),
38412
38445
  React__default.createElement(
38413
38446
  'div',
38414
38447
  { className: 'search__result-card__allotment__container' },
@@ -38478,6 +38511,15 @@ var RoundTripResults = function () {
38478
38511
  React__default.createElement(
38479
38512
  'div',
38480
38513
  { className: 'search__result-card__allotment' },
38514
+ React__default.createElement(
38515
+ 'div',
38516
+ { className: 'search__result-card__allotment__img-wrapper' },
38517
+ React__default.createElement('img', {
38518
+ src: 'https://cdn.pixabay.com/photo/2024/05/15/12/31/lake-8763490_1280.jpg',
38519
+ alt: 'river',
38520
+ className: 'search__result-card__allotment__img'
38521
+ })
38522
+ ),
38481
38523
  React__default.createElement(
38482
38524
  'div',
38483
38525
  { className: 'search__result-card__allotment__title__wrapper' },
@@ -41552,12 +41594,15 @@ var SearchResultsContainer = function () {
41552
41594
  }),
41553
41595
  results = _b.results,
41554
41596
  filteredResults = _b.filteredResults,
41597
+ packagingAccoResults = _b.packagingAccoResults,
41598
+ filteredPackagingAccoResults = _b.filteredPackagingAccoResults,
41555
41599
  bookingPackageDetails = _b.bookingPackageDetails,
41556
41600
  entry = _b.entry,
41557
41601
  isLoading = _b.isLoading,
41558
41602
  filters = _b.filters,
41559
41603
  sortKey = _b.sortKey,
41560
41604
  selectedSearchResultId = _b.selectedSearchResultId,
41605
+ selectedPackagingAccoResultCode = _b.selectedPackagingAccoResultCode,
41561
41606
  flyInIsOpen = _b.flyInIsOpen;
41562
41607
  var isMobile = useMediaQuery('(max-width: 1200px)');
41563
41608
  var _c = useState(false),
@@ -42012,6 +42057,7 @@ var SearchResultsContainer = function () {
42012
42057
  throw new Error('Invalid search parameters');
42013
42058
  }
42014
42059
  searchRequest = rq;
42060
+ searchRequest.portalId = context.portalId;
42015
42061
  return [4 /*yield*/, build.searchPackagingAccommodations(config, searchRequest)];
42016
42062
  case 2:
42017
42063
  packageAccoSearchResults = _b.sent();
@@ -42066,7 +42112,7 @@ var SearchResultsContainer = function () {
42066
42112
  return __generator(this, function (_c) {
42067
42113
  switch (_c.label) {
42068
42114
  case 0:
42069
- if (!selectedSearchResultId || !context) return [2 /*return*/];
42115
+ if ((!selectedSearchResultId && !selectedPackagingAccoResultCode) || !context) return [2 /*return*/];
42070
42116
  if (
42071
42117
  (context === null || context === void 0 ? void 0 : context.searchConfiguration.qsmType) === build.PortalQsmType.Accommodation ||
42072
42118
  (context === null || context === void 0 ? void 0 : context.searchConfiguration.qsmType) === build.PortalQsmType.GroupTour
@@ -42159,14 +42205,19 @@ var SearchResultsContainer = function () {
42159
42205
  };
42160
42206
  fetchPackageDetails();
42161
42207
  },
42162
- [selectedSearchResultId]
42208
+ [selectedSearchResultId, selectedPackagingAccoResultCode]
42163
42209
  );
42164
42210
  useEffect(
42165
42211
  function () {
42166
- var filteredResults = applyFilters(results, filters);
42167
- dispatch(setFilteredResults(filteredResults));
42212
+ if ((context === null || context === void 0 ? void 0 : context.searchConfiguration.qsmType) === build.PortalQsmType.Accommodation) {
42213
+ var filteredPackageAccoResults = applyFiltersToPackageAccoResults(packagingAccoResults, filters);
42214
+ dispatch(setFilteredPackagingAccoResults(filteredPackageAccoResults));
42215
+ } else {
42216
+ var filteredResults_1 = applyFilters(results, filters);
42217
+ dispatch(setFilteredResults(filteredResults_1));
42218
+ }
42168
42219
  },
42169
- [filters, results]
42220
+ [filters, results, packagingAccoResults]
42170
42221
  );
42171
42222
  return React__default.createElement(
42172
42223
  'div',
@@ -42277,8 +42328,13 @@ var SearchResultsContainer = function () {
42277
42328
  React__default.createElement(
42278
42329
  React__default.Fragment,
42279
42330
  null,
42280
- (filteredResults === null || filteredResults === void 0 ? void 0 : filteredResults.length) && filteredResults.length,
42281
- ' ',
42331
+ context.searchConfiguration.qsmType === build.PortalQsmType.Accommodation &&
42332
+ (filteredPackagingAccoResults === null || filteredPackagingAccoResults === void 0 ? void 0 : filteredPackagingAccoResults.length) &&
42333
+ (filteredPackagingAccoResults === null || filteredPackagingAccoResults === void 0 ? void 0 : filteredPackagingAccoResults.length),
42334
+ context.searchConfiguration.qsmType !== build.PortalQsmType.Accommodation &&
42335
+ (filteredResults === null || filteredResults === void 0 ? void 0 : filteredResults.length) &&
42336
+ filteredResults.length,
42337
+ '\u00A0',
42282
42338
  translations.SRP.TOTAL_RESULTS_LABEL
42283
42339
  )
42284
42340
  ),
@@ -45804,15 +45860,19 @@ var FeaturedTripCard = function (_a) {
45804
45860
  React__default.createElement(
45805
45861
  'div',
45806
45862
  { className: 'image-card__content' },
45807
- React__default.createElement('h3', { className: 'image-card__title' }, title),
45808
45863
  React__default.createElement(
45809
45864
  'div',
45810
- { className: 'image-card__options' },
45865
+ { className: 'image-card__top' },
45866
+ React__default.createElement('h3', { className: 'image-card__title' }, title),
45811
45867
  React__default.createElement(
45812
45868
  'div',
45813
- { className: 'image-card__option' },
45814
- React__default.createElement(Icon$3, { name: 'ui-location', width: 16, height: 16 }),
45815
- React__default.createElement('span', null, location)
45869
+ { className: 'image-card__options' },
45870
+ React__default.createElement(
45871
+ 'div',
45872
+ { className: 'image-card__option' },
45873
+ React__default.createElement(Icon$3, { name: 'ui-location', width: 16, height: 16 }),
45874
+ React__default.createElement('span', null, location)
45875
+ )
45816
45876
  )
45817
45877
  ),
45818
45878
  React__default.createElement(
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
3
3
  export type FlightSelectionMode = 'paired' | 'independent';
4
4
  export interface SearchResultsConfiguration {
5
5
  searchConfiguration: WebsiteConfigurationSearchConfiguration;
6
+ portalId?: number;
6
7
  tideConnection: {
7
8
  host: string;
8
9
  apiKey: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-booking-component",
3
- "version": "1.4.81",
3
+ "version": "1.4.82",
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.148",
32
+ "@qite/tide-client": "^1.1.150",
33
33
  "@reduxjs/toolkit": "^2.8.2",
34
34
  "@rollup/plugin-commonjs": "^19.0.1",
35
35
  "@rollup/plugin-json": "^4.1.0",
@@ -10,24 +10,26 @@ const FeaturedTripCard: React.FC<FeaturedTrip> = ({ imageSrc, imageAlt, title, l
10
10
  <div className="image-card">
11
11
  <img src={imageSrc} alt={imageAlt} className="image-card__image" />
12
12
  <div className="image-card__content">
13
- <h3 className="image-card__title">{title}</h3>
14
- <div className="image-card__options">
15
- <div className="image-card__option">
16
- <Icon name="ui-location" width={16} height={16} />
17
- <span>{location}</span>
13
+ <div className="image-card__top">
14
+ <h3 className="image-card__title">{title}</h3>
15
+ <div className="image-card__options">
16
+ <div className="image-card__option">
17
+ <Icon name="ui-location" width={16} height={16} />
18
+ <span>{location}</span>
19
+ </div>
20
+ {/* <div className="image-card__option">
21
+ <Icon name="ui-moon" width={16} height={16} />
22
+ <span>2 nights</span>
23
+ </div>
24
+ <div className="image-card__option">
25
+ <Icon name="ui-plane" width={16} height={16} />
26
+ <span>3 transports</span>
27
+ </div> */}
18
28
  </div>
19
- {/* <div className="image-card__option">
20
- <Icon name="ui-moon" width={16} height={16} />
21
- <span>2 nights</span>
22
- </div>
23
- <div className="image-card__option">
24
- <Icon name="ui-plane" width={16} height={16} />
25
- <span>3 transports</span>
26
- </div> */}
29
+ {/* <p className="image__card__description">
30
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Placeat nulla aliquam, quis accusantium quae inventore, accusamus cumque culpa, quasi officia magnam suscipit laboriosam. Velit eveniet, id modi aperiam natus veritatis.
31
+ </p> */}
27
32
  </div>
28
- {/* <p className="image__card__description">
29
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Placeat nulla aliquam, quis accusantium quae inventore, accusamus cumque culpa, quasi officia magnam suscipit laboriosam. Velit eveniet, id modi aperiam natus veritatis.
30
- </p> */}
31
33
  <div className="image-card__bottom">
32
34
  {/* <div className="image-card__price">
33
35
  From
@@ -22,7 +22,7 @@ const HotelCard: React.FC<HotelCardProps> = ({ result, translations }) => {
22
22
  return (
23
23
  <div
24
24
  key={result.id}
25
- className="search__result-card__wrapper"
25
+ className="search__result-card__wrapper search__result-card__wrapper--custom"
26
26
  onMouseEnter={(e) => (e.currentTarget.style.transform = 'scale(1.02)')}
27
27
  onMouseLeave={(e) => (e.currentTarget.style.transform = 'scale(1)')}>
28
28
  <div
@@ -3,11 +3,16 @@ import Icon from '../icon';
3
3
 
4
4
  interface RoundTripResultsProps {}
5
5
 
6
+ // search__results__cards--list
7
+
6
8
  const RoundTripResults: React.FC<RoundTripResultsProps> = () => {
7
9
  return (
8
10
  <div className="search__results__cards search__results__cards--list">
9
11
  <div className="search__result-card">
10
12
  <div className="search__result-card__allotment">
13
+ <div className="search__result-card__allotment__img-wrapper">
14
+ <img src="https://cdn.pixabay.com/photo/2024/05/15/12/31/lake-8763490_1280.jpg" alt="river" className="search__result-card__allotment__img" />
15
+ </div>
11
16
  <div className="search__result-card__allotment__title__wrapper">
12
17
  <h3 className="search__result-card__allotment__title">
13
18
  Rondreis Noord-India: Rajasthan
@@ -64,6 +69,9 @@ const RoundTripResults: React.FC<RoundTripResultsProps> = () => {
64
69
  </div>
65
70
  <div className="search__result-card">
66
71
  <div className="search__result-card__allotment">
72
+ <div className="search__result-card__allotment__img-wrapper">
73
+ <img src="https://cdn.pixabay.com/photo/2024/05/15/12/31/lake-8763490_1280.jpg" alt="river" className="search__result-card__allotment__img" />
74
+ </div>
67
75
  <div className="search__result-card__allotment__title__wrapper">
68
76
  <h3 className="search__result-card__allotment__title">
69
77
  Rondreis Thailand
@@ -72,7 +80,10 @@ const RoundTripResults: React.FC<RoundTripResultsProps> = () => {
72
80
  BIJNA GAR
73
81
  </span>
74
82
  </h3>
75
-
83
+ <p className="search__result-card__allotment__description">
84
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod quis explicabo, animi illum expedita molestias quae atque laboriosam consequatur
85
+ nulla error non delectus nesciunt id voluptatem quia nobis? Debitis, rerum!
86
+ </p>
76
87
  <div className="search__result-card__allotment__container">
77
88
  <div className="search__result-card__allotment__header">
78
89
  <div className="search__result-card__allotment__wrapper">
@@ -120,6 +131,9 @@ const RoundTripResults: React.FC<RoundTripResultsProps> = () => {
120
131
  </div>
121
132
  <div className="search__result-card">
122
133
  <div className="search__result-card__allotment">
134
+ <div className="search__result-card__allotment__img-wrapper">
135
+ <img src="https://cdn.pixabay.com/photo/2024/05/15/12/31/lake-8763490_1280.jpg" alt="river" className="search__result-card__allotment__img" />
136
+ </div>
123
137
  <div className="search__result-card__allotment__title__wrapper">
124
138
  <h3 className="search__result-card__allotment__title">Rondreis Timboektoe</h3>
125
139
 
@@ -67,9 +67,20 @@ const SearchResultsContainer: React.FC = () => {
67
67
  const context = useContext(SearchResultsConfigurationContext);
68
68
  const translations = getTranslations(context?.languageCode ?? 'en-GB');
69
69
 
70
- const { results, filteredResults, bookingPackageDetails, entry, isLoading, filters, sortKey, selectedSearchResultId, flyInIsOpen } = useSelector(
71
- (state: SearchResultsRootState) => state.searchResults
72
- );
70
+ const {
71
+ results,
72
+ filteredResults,
73
+ packagingAccoResults,
74
+ filteredPackagingAccoResults,
75
+ bookingPackageDetails,
76
+ entry,
77
+ isLoading,
78
+ filters,
79
+ sortKey,
80
+ selectedSearchResultId,
81
+ selectedPackagingAccoResultCode,
82
+ flyInIsOpen
83
+ } = useSelector((state: SearchResultsRootState) => state.searchResults);
73
84
 
74
85
  const isMobile = useMediaQuery('(max-width: 1200px)');
75
86
 
@@ -509,6 +520,7 @@ const SearchResultsContainer: React.FC = () => {
509
520
  }
510
521
 
511
522
  searchRequest = rq;
523
+ searchRequest.portalId = context.portalId;
512
524
 
513
525
  const packageAccoSearchResults = await searchPackagingAccommodations(config, searchRequest);
514
526
 
@@ -545,7 +557,7 @@ const SearchResultsContainer: React.FC = () => {
545
557
  // Seperate detailsCall
546
558
  useEffect(() => {
547
559
  const fetchPackageDetails = async () => {
548
- if (!selectedSearchResultId || !context) return;
560
+ if ((!selectedSearchResultId && !selectedPackagingAccoResultCode) || !context) return;
549
561
 
550
562
  if (context?.searchConfiguration.qsmType === PortalQsmType.Accommodation || context?.searchConfiguration.qsmType === PortalQsmType.GroupTour) {
551
563
  handleFlyInToggle(true);
@@ -611,12 +623,17 @@ const SearchResultsContainer: React.FC = () => {
611
623
  };
612
624
 
613
625
  fetchPackageDetails();
614
- }, [selectedSearchResultId]);
626
+ }, [selectedSearchResultId, selectedPackagingAccoResultCode]);
615
627
 
616
628
  useEffect(() => {
617
- const filteredResults = applyFilters(results, filters);
618
- dispatch(setFilteredResults(filteredResults));
619
- }, [filters, results]);
629
+ if (context?.searchConfiguration.qsmType === PortalQsmType.Accommodation) {
630
+ const filteredPackageAccoResults = applyFiltersToPackageAccoResults(packagingAccoResults, filters);
631
+ dispatch(setFilteredPackagingAccoResults(filteredPackageAccoResults));
632
+ } else {
633
+ const filteredResults = applyFilters(results, filters);
634
+ dispatch(setFilteredResults(filteredResults));
635
+ }
636
+ }, [filters, results, packagingAccoResults]);
620
637
 
621
638
  return (
622
639
  <div id="tide-booking" className="search__bg">
@@ -687,7 +704,11 @@ const SearchResultsContainer: React.FC = () => {
687
704
  <span className="search__result-row-text">
688
705
  {!isLoading && (
689
706
  <>
690
- {filteredResults?.length && filteredResults.length} {translations.SRP.TOTAL_RESULTS_LABEL}
707
+ {context.searchConfiguration.qsmType === PortalQsmType.Accommodation &&
708
+ filteredPackagingAccoResults?.length &&
709
+ filteredPackagingAccoResults?.length}
710
+ {context.searchConfiguration.qsmType !== PortalQsmType.Accommodation && filteredResults?.length && filteredResults.length}
711
+ &nbsp;{translations.SRP.TOTAL_RESULTS_LABEL}
691
712
  </>
692
713
  )}
693
714
  </span>
@@ -5,6 +5,7 @@ export type FlightSelectionMode = 'paired' | 'independent';
5
5
 
6
6
  export interface SearchResultsConfiguration {
7
7
  searchConfiguration: WebsiteConfigurationSearchConfiguration;
8
+ portalId?: number;
8
9
  // Tide connection
9
10
  tideConnection: {
10
11
  host: string;
@@ -643,7 +643,7 @@
643
643
  //SEARCH HOTEL CARD ALLOTMENTS
644
644
  --tide-booking-search-hotel-card-allotments-background: var(--tide-booking-white);
645
645
  --tide-booking-search-hotel-card-allotments-border: none;
646
- --tide-booking-search-hotel-card-allotments-border-radius: 10px;
646
+ --tide-booking-search-hotel-card-allotments-border-radius: 24px;
647
647
  --tide-booking-search-hotel-card-allotments-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
648
648
  --tide-booking-search-hotel-card-allotments-font-weight: 400;
649
649
  --tide-booking-search-hotel-card-allotments-color: var(--tide-booking-invalid);
@@ -197,10 +197,17 @@
197
197
  padding: 20px;
198
198
  display: flex;
199
199
  flex-direction: column;
200
+ justify-content: space-between;
200
201
  gap: 10px;
201
202
  flex-grow: 1;
202
203
  }
203
204
 
205
+ &__top {
206
+ display: flex;
207
+ flex-direction: column;
208
+ gap: 10px;
209
+ }
210
+
204
211
  &__title {
205
212
  color: var(--tide-booking-image-card-title-color);
206
213
  font-family: var(--tide-booking-image-card-title-font-family);
@@ -998,6 +998,14 @@
998
998
  box-shadow: var(--tide-booking-search-hotel-card-box-shadow);
999
999
  background-color: var(--tide-booking-search-hotel-card-background);
1000
1000
  transition: transform 0.3s ease-in-out;
1001
+
1002
+ &--custom {
1003
+ gap: 20px;
1004
+ .search__result-card__footer {
1005
+ padding: 20px;
1006
+ padding-top: 0px;
1007
+ }
1008
+ }
1001
1009
  }
1002
1010
 
1003
1011
  &__img-wrapper {
@@ -1189,6 +1197,39 @@
1189
1197
  }
1190
1198
  }
1191
1199
 
1200
+ &__img {
1201
+ width: 100%;
1202
+ height: 100%;
1203
+ object-fit: cover;
1204
+ }
1205
+
1206
+ &__img-wrapper {
1207
+ border-radius: 16px 16px 0 0;
1208
+ position: relative;
1209
+ width: 100%;
1210
+ height: 200px;
1211
+ overflow: hidden;
1212
+ background-color: #f5f5f5;
1213
+
1214
+ @include mixins.media-md {
1215
+ width: 40%;
1216
+ height: auto;
1217
+ border-radius: 16px 0 0 16px;
1218
+ }
1219
+
1220
+ @include mixins.media-lg {
1221
+ width: 100%;
1222
+ height: 200px;
1223
+ border-radius: 16px 16px 0 0;
1224
+ }
1225
+
1226
+ @include mixins.media-xl {
1227
+ width: 40%;
1228
+ height: auto;
1229
+ border-radius: 16px 0 0 16px;
1230
+ }
1231
+ }
1232
+
1192
1233
  &__title {
1193
1234
  font-weight: var(--tide-booking-search-hotel-card-allotments-title-font-weight);
1194
1235
  color: var(--tide-booking-search-hotel-card-allotments-title-color);
@@ -1297,6 +1338,9 @@
1297
1338
  @include mixins.media-sm {
1298
1339
  align-items: flex-end;
1299
1340
  flex-direction: column;
1341
+ }
1342
+
1343
+ @include mixins.media-lg {
1300
1344
  min-width: 288px;
1301
1345
  }
1302
1346
 
@@ -1522,449 +1566,8 @@
1522
1566
  }
1523
1567
  }
1524
1568
  }
1525
-
1526
- // &-banner {
1527
- // display: flex;
1528
- // justify-content: space-between;
1529
- // align-items: center;
1530
- // margin-top: 0;
1531
- // background: lightblue;
1532
- // padding: 0 30px 0 15px;
1533
- // border-radius: 3px;
1534
- // height: 40px;
1535
-
1536
- // @include mixins.media-sm {
1537
- // flex-wrap: wrap;
1538
-
1539
- // padding: 8px;
1540
-
1541
- // &>.search__flight-card-banner-info:first-of-type {
1542
- // order: 1;
1543
- // flex: 1 1 auto;
1544
- // }
1545
-
1546
- // // Second info (Bagage inbegrepen) moves below
1547
- // &>.search__flight-card-banner-info:nth-of-type(2) {
1548
- // order: 3;
1549
- // width: 100%;
1550
- // margin-top: 4px;
1551
- // margin-left: 4px;
1552
- // }
1553
-
1554
- // // Link (Vluchtdetails) stays top-right
1555
- // &-link {
1556
- // order: 2;
1557
- // }
1558
-
1559
- // &-text {
1560
- // margin: 0;
1561
- // }
1562
- // }
1563
-
1564
- // &-info {
1565
- // display: flex;
1566
- // align-items: center;
1567
- // gap: 12px;
1568
- // }
1569
-
1570
- // &-link {
1571
- // color: red;
1572
- // font-size: 14px;
1573
- // font-weight: 400;
1574
- // transition: all 0.3s;
1575
- // cursor: pointer;
1576
- // text-decoration: underline;
1577
-
1578
- // &:hover {
1579
- // color: blue;
1580
- // }
1581
- // }
1582
-
1583
- // &-text {
1584
- // font-size: 14px;
1585
- // font-weight: 400;
1586
- // color: gray;
1587
- // }
1588
-
1589
- // &-expanded {
1590
- // display: flex;
1591
- // flex-direction: column;
1592
- // border-radius: 3px;
1593
- // border: 1px solid lightblue;
1594
- // border-top: none;
1595
-
1596
- // &-row {
1597
- // padding: 1rem 2rem 1rem 1rem;
1598
- // background: gainsboro;
1599
- // border-top: 1px solid lightblue;
1600
- // display: flex;
1601
- // align-items: center;
1602
- // justify-content: space-between;
1603
-
1604
- // &-left {
1605
- // display: flex;
1606
- // align-items: center;
1607
- // gap: 15px;
1608
- // }
1609
-
1610
- // &-data {
1611
- // color: black;
1612
- // font-size: 16px;
1613
- // font-weight: 400;
1614
- // }
1615
-
1616
- // &-location {
1617
- // display: flex;
1618
- // gap: 0.5rem;
1619
- // align-items: center;
1620
- // }
1621
- // }
1622
-
1623
- // &-middle {
1624
- // display: flex;
1625
- // flex-direction: column;
1626
- // align-items: flex-end;
1627
- // position: relative;
1628
-
1629
- // &-timeline {
1630
- // position: absolute;
1631
- // width: 1px;
1632
- // background: blue;
1633
- // top: 0;
1634
- // left: 6%;
1635
- // height: 100%;
1636
-
1637
- // &::before,
1638
- // &::after {
1639
- // content: '';
1640
- // position: absolute;
1641
- // width: 7px;
1642
- // height: 7px;
1643
- // background: white;
1644
- // border: 1px solid blue;
1645
- // border-radius: 50%;
1646
- // left: 0.5px;
1647
- // }
1648
-
1649
- // &::before {
1650
- // top: 0;
1651
- // transform: translate(-50%, -50%);
1652
- // }
1653
-
1654
- // &::after {
1655
- // bottom: 0;
1656
- // transform: translate(-50%, 50%);
1657
- // }
1658
- // }
1659
-
1660
- // &-4-col-grid {
1661
- // display: grid;
1662
- // grid-template-columns: repeat(14, 1fr);
1663
- // width: 100%;
1664
-
1665
- // @include mixins.media-sm {
1666
- // grid-template-columns: repeat(5, 1fr);
1667
- // }
1668
-
1669
- // &-item {
1670
- // grid-column: span 3;
1671
- // display: flex;
1672
- // align-items: center;
1673
- // border-bottom: 1px dashed lightblue;
1674
- // padding: 1rem 0;
1675
- // font-size: 14px;
1676
- // color: gray;
1677
-
1678
- // &:first-child {
1679
- // grid-column: 3 / span 3;
1680
- // }
1681
-
1682
- // &:nth-child(even) {
1683
- // color: black;
1684
- // }
1685
-
1686
- // @include mixins.media-sm {
1687
- // grid-column: span 2; // Base for mobile: span 2 columns
1688
-
1689
- // &:nth-child(odd) {
1690
- // grid-column: 2 / span 2; // Odd items in cols 2 & 3
1691
- // }
1692
-
1693
- // &:nth-child(even) {
1694
- // grid-column: 4 / span 2; // Even items in cols 4 & 5
1695
- // }
1696
- // }
1697
- // }
1698
- // }
1699
-
1700
- // &-3-col-grid {
1701
- // display: grid;
1702
- // grid-template-columns: repeat(14, 1fr);
1703
- // width: 100%;
1704
-
1705
- // @include mixins.media-sm {
1706
- // grid-template-columns: repeat(12, 1fr);
1707
- // padding: 8px;
1708
- // }
1709
-
1710
- // &-item {
1711
- // grid-column: span 8;
1712
- // display: flex;
1713
- // align-items: flex-start;
1714
- // padding: 15px 0;
1715
- // font-size: 14px;
1716
- // color: gray;
1717
-
1718
- // &:first-child {
1719
- // grid-column: 3 / span 3;
1720
- // }
1721
-
1722
- // &:nth-child(2) {
1723
- // grid-column: span 1;
1724
- // }
1725
-
1726
- // @include mixins.media-sm {
1727
- // &:first-child {
1728
- // grid-column: span 3;
1729
- // }
1730
-
1731
- // grid-column: span 8;
1732
- // }
1733
-
1734
- // &-text {
1735
- // display: flex;
1736
- // flex-direction: column;
1737
- // gap: 4px;
1738
- // margin-bottom: 12px;
1739
- // }
1740
-
1741
- // &-underline {
1742
- // border-bottom: 1px solid lightblue;
1743
- // width: 100%;
1744
-
1745
- // &:last-child {
1746
- // padding-bottom: 16px;
1747
- // }
1748
- // }
1749
-
1750
- // &-title {
1751
- // color: black;
1752
- // }
1753
-
1754
- // &--pb-0 {
1755
- // padding-bottom: 0;
1756
- // }
1757
-
1758
- // &--economy {
1759
- // color: black;
1760
- // }
1761
- // }
1762
- // }
1763
- // }
1764
- // }
1765
- // }
1766
1569
  }
1767
1570
 
1768
- // &__price-card {
1769
- // padding: 1rem;
1770
- // border-radius: 20px;
1771
- // background: variables.$white;
1772
- // border: 1px solid variables.$secondary-color--extralight;
1773
-
1774
- // max-height: 25.25rem;
1775
- // display: flex;
1776
- // flex-direction: column;
1777
- // justify-content: space-between;
1778
- // position: relative;
1779
-
1780
- // &--full-height {
1781
- // max-height: 100%;
1782
- // }
1783
-
1784
- // @include mixins.media-sm {
1785
- // flex-direction: row;
1786
- // align-items: center;
1787
- // }
1788
-
1789
- // @include mixins.media-lg {
1790
- // width: 100%;
1791
- // padding: 1rem;
1792
- // }
1793
-
1794
- // @include mixins.media-xl {
1795
- // max-height: 28rem;
1796
- // }
1797
-
1798
- // &-bg-price {
1799
- // background: variables.$secondary-color--extralight;
1800
- // border-radius: 20px;
1801
- // height: calc(81% - 2rem);
1802
- // width: calc(100% - 2rem);
1803
- // position: absolute;
1804
- // top: 1rem;
1805
- // right: 1rem;
1806
- // z-index: 1;
1807
-
1808
- // @include mixins.media-sm {
1809
- // height: calc(100% - 1rem);
1810
- // width: calc(100% - 1rem);
1811
- // top: 0.5rem;
1812
- // right: 0.5rem;
1813
- // border-radius: 14px;
1814
- // }
1815
- // }
1816
-
1817
- // &-best-price {
1818
- // font-size: variables.$font-size-label;
1819
- // color: variables.$white;
1820
- // background: variables.$primary-color;
1821
- // padding: 0.5rem 1rem;
1822
- // border-radius: 2rem;
1823
- // font-weight: 400;
1824
- // position: absolute;
1825
- // top: 1rem;
1826
- // right: 1rem;
1827
- // z-index: 10;
1828
-
1829
- // display: flex;
1830
- // align-items: center;
1831
- // gap: 0.5rem;
1832
-
1833
- // @include mixins.media-sm {
1834
- // top: 0.5rem;
1835
- // left: 0.5rem;
1836
- // right: auto;
1837
- // font-size: variables.$font-size-body--small;
1838
- // }
1839
- // }
1840
-
1841
- // &-content {
1842
- // display: flex;
1843
- // flex-direction: column;
1844
- // align-items: center;
1845
- // z-index: 10;
1846
-
1847
- // @include mixins.media-sm {
1848
- // align-items: flex-start;
1849
- // justify-content: space-between;
1850
- // }
1851
- // }
1852
-
1853
- // &-price {
1854
- // font-size: variables.$font-size-h3;
1855
- // font-weight: 400;
1856
- // color: variables.$text-color;
1857
- // margin-bottom: 1rem;
1858
-
1859
- // @include mixins.media-lg {
1860
- // margin-top: 0.75rem;
1861
- // font-size: variables.$font-size-h4;
1862
- // }
1863
-
1864
- // @include mixins.media-sm {
1865
- // margin-top: 1.125rem;
1866
- // }
1867
-
1868
- // &-wrapper {
1869
- // display: flex;
1870
- // justify-content: center;
1871
- // margin: auto 0;
1872
-
1873
- // @include mixins.media-sm {
1874
- // margin: 0;
1875
- // height: 100%;
1876
- // }
1877
- // }
1878
- // }
1879
-
1880
- // &-button {
1881
- // width: 100%;
1882
- // min-width: 9.2rem;
1883
- // height: 3.5rem;
1884
- // padding: 1rem 0;
1885
- // background: variables.$secondary-color;
1886
- // border: 1px solid variables.$secondary-color;
1887
- // color: variables.$white;
1888
- // border-radius: 3px;
1889
- // margin-top: 0.5rem;
1890
- // transition: all 0.2s ease-in-out;
1891
- // cursor: pointer;
1892
- // z-index: 2;
1893
-
1894
- // &:hover {
1895
- // background: variables.$primary-color;
1896
- // border: 1px solid variables.$primary-color;
1897
- // }
1898
-
1899
- // @include mixins.media-sm {
1900
- // margin-top: 0;
1901
- // width: 9.2rem;
1902
- // }
1903
- // }
1904
-
1905
- // &-label {
1906
- // font-weight: 400;
1907
- // border-radius: 2rem;
1908
- // width: 2.875rem;
1909
- // height: 1.75rem;
1910
- // display: flex;
1911
- // align-items: center;
1912
- // justify-content: center;
1913
- // font-size: variables.$font-size-label;
1914
-
1915
- // &--neg {
1916
- // color: #128d62;
1917
- // border: 1px solid #128d62;
1918
- // }
1919
-
1920
- // &--pub {
1921
- // color: #0e3e8d;
1922
- // border: 1px solid #0e3e8d;
1923
- // }
1924
- // }
1925
-
1926
- // &-deal {
1927
- // border-radius: 2rem;
1928
- // height: 1.75rem;
1929
- // width: 100%;
1930
- // min-width: 13.5rem;
1931
- // color: #ff6847;
1932
- // background: variables.$white;
1933
- // border: 1px solid #ff6847;
1934
- // display: flex;
1935
- // align-items: center;
1936
- // justify-content: center;
1937
- // gap: 0.5rem;
1938
- // z-index: 10;
1939
-
1940
- // p {
1941
- // margin: 0;
1942
- // font-weight: 400;
1943
- // font-size: variables.$font-size-label;
1944
- // }
1945
-
1946
- // @include mixins.media-lg {
1947
- // margin-top: 1rem;
1948
- // }
1949
-
1950
- // &-wrapper {
1951
- // display: flex;
1952
- // flex-direction: column;
1953
-
1954
- // @include mixins.media-sm {
1955
- // flex-direction: column-reverse;
1956
- // align-items: flex-end;
1957
- // }
1958
- // }
1959
- // }
1960
-
1961
- // .search__price-card-bg-price ~ .search__price-card-price-wrapper {
1962
- // .search__price-card-price {
1963
- // padding-top: 2rem;
1964
- // }
1965
- // }
1966
- // }
1967
-
1968
1571
  &__banner {
1969
1572
  display: flex;
1970
1573
  justify-content: center;
@@ -2069,6 +1672,86 @@
2069
1672
  }
2070
1673
  }
2071
1674
  }
1675
+
1676
+ &__allotment {
1677
+ padding: 0px;
1678
+ @include mixins.media-sm {
1679
+ flex-direction: column;
1680
+ }
1681
+
1682
+ @include mixins.media-md {
1683
+ flex-direction: row;
1684
+ }
1685
+
1686
+ @include mixins.media-lg {
1687
+ flex-direction: column;
1688
+ }
1689
+
1690
+ @include mixins.media-xl {
1691
+ flex-direction: row;
1692
+ }
1693
+
1694
+ &__title__wrapper {
1695
+ padding: 0px 20px;
1696
+
1697
+ @include mixins.media-md {
1698
+ padding: 20px 0px;
1699
+ }
1700
+ @include mixins.media-lg {
1701
+ padding: 0px 20px;
1702
+ }
1703
+ @include mixins.media-xl {
1704
+ padding: 20px 0px;
1705
+ }
1706
+ }
1707
+
1708
+ &__footer {
1709
+ padding: 0px 20px;
1710
+ padding-bottom: 20px;
1711
+ @include mixins.media-sm {
1712
+ flex-direction: row;
1713
+ align-items: flex-start;
1714
+ }
1715
+
1716
+ @include mixins.media-md {
1717
+ flex-direction: column;
1718
+ align-items: flex-end;
1719
+ padding: 20px 0px;
1720
+ padding-right: 20px;
1721
+ }
1722
+
1723
+ @include mixins.media-lg {
1724
+ flex-direction: row;
1725
+ align-items: flex-start;
1726
+ padding: 0px 20px;
1727
+ padding-bottom: 20px;
1728
+ }
1729
+
1730
+ @include mixins.media-xl {
1731
+ flex-direction: column;
1732
+ align-items: flex-end;
1733
+ padding: 20px 0px;
1734
+ padding-right: 20px;
1735
+ }
1736
+ }
1737
+
1738
+ &__price {
1739
+ &__wrapper {
1740
+ @include mixins.media-sm {
1741
+ align-items: flex-start;
1742
+ }
1743
+ @include mixins.media-md {
1744
+ align-items: flex-end;
1745
+ }
1746
+ @include mixins.media-lg {
1747
+ align-items: flex-start;
1748
+ }
1749
+ @include mixins.media-xl {
1750
+ align-items: flex-end;
1751
+ }
1752
+ }
1753
+ }
1754
+ }
2072
1755
  }
2073
1756
  }
2074
1757
 
@@ -2173,6 +1856,16 @@
2173
1856
  }
2174
1857
  }
2175
1858
  }
1859
+
1860
+ &__allotment {
1861
+ &__img-wrapper {
1862
+ display: none;
1863
+ }
1864
+
1865
+ &__description {
1866
+ display: none;
1867
+ }
1868
+ }
2176
1869
  }
2177
1870
  }
2178
1871
  }