@tripian/react 6.0.7 → 6.0.8

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/index.js CHANGED
@@ -54618,7 +54618,7 @@ var BbAccommodationInfo = function (_a) {
54618
54618
  react_1.default.createElement(ShowMoreLess_1.default, { items: supplierServices, defaultItemCount: 5 }))))),
54619
54619
  react_1.default.createElement("div", { className: BbAccommodationInfo_scss_1.default.bbAccommodationBottom },
54620
54620
  react_1.default.createElement("button", { type: "button", className: BbAccommodationInfo_scss_1.default.bbAccommodationPrimaryButton, onClick: function () {
54621
- var hotelBbUrl = "https://bookbarbados.com/hotel-processing-page/accommodation-details/?packageoptions=accommodation&type=accommodation&cityCode=".concat(hotelOffer.info.cityCode, "&cityID=").concat(hotelOffer.info.cityId, "&rooms=1&hotelCode=").concat(hotelOffer.info.hotelCode, "&supplierCode=").concat(hotelOffer.info.supplierCode, "&offer=&check-in=").concat(checkIn, "&check-out=").concat(checkOut, "&adults=").concat(adults, "&children=").concat(children);
54621
+ var hotelBbUrl = "https://bookbarbados.com/hotel-processing-page/accommodation-details/?packageoptions=accommodation&type=accommodation&cityCode=".concat(hotelOffer.info.cityCode, "&cityID=").concat(hotelOffer.info.cityId, "&rooms=1&hotelCode=").concat(hotelOffer.info.hotelCode, "&supplierCode=").concat(hotelOffer.info.supplierCode, "&offer=&check-in=").concat(checkIn, "&check-out=").concat(checkOut, "&adults=").concat(adults, "&children=").concat(children, "&site=TRIPIAN");
54622
54622
  // eslint-disable-next-line no-console
54623
54623
  console.log('onBookNow:', hotelBbUrl);
54624
54624
  onBookNow(hotelBbUrl);
@@ -54741,7 +54741,7 @@ var BbCarRentInfo = function (_a) {
54741
54741
  react_1.default.createElement(ShowMoreLess_1.default, { items: offer.features, defaultItemCount: 3 }))),
54742
54742
  react_1.default.createElement("div", { className: BbCarRentInfo_scss_1.default.bbCarRentInfoBottom },
54743
54743
  react_1.default.createElement("button", { type: "button", className: BbCarRentInfo_scss_1.default.bbCarRentInfoPrimaryButton, onClick: function () {
54744
- var carRentBbUrl = "https://bookbarbados.com/book-cars/?packageoptions=carrental&age=".concat(age, "&leaving-from=Rental%20Office&going-to=Rental%20Office&check-in=").concat(pickUpDateTime, "&check-out=").concat(dropOffDateTime);
54744
+ var carRentBbUrl = "https://bookbarbados.com/book-cars/?packageoptions=carrental&age=".concat(age, "&leaving-from=Rental%20Office&going-to=Rental%20Office&check-in=").concat(pickUpDateTime, "&check-out=").concat(dropOffDateTime, "&site=TRIPIAN");
54745
54745
  // console.log('onRentNow:', carRentBbUrl);
54746
54746
  onRentNow(carRentBbUrl);
54747
54747
  } }, "View Deals"))),
@@ -58888,7 +58888,7 @@ var BbTourInfo = function (_a) {
58888
58888
  var _a, _b;
58889
58889
  var adultPbd = ((_a = off.priceBreakDowns.find(function (p) { return p.touristType === 'ADULT'; })) === null || _a === void 0 ? void 0 : _a.quantity) || 1;
58890
58890
  var adultCount = Math.max(adultPbd, tripProfile.numberOfAdults);
58891
- var activityBbUrl = "\n https://bookbarbados.com/book-experiences/experience-details/?packageoptions=experience&actid=".concat(product.info.id, "&offer=").concat(off.offerKey, "&check-out=").concat((0, moment_1.default)(off.date).format('MMM DD, YYYY'), "&check-in=").concat((0, moment_1.default)(off.date).format('MMM DD, YYYY'), "&adults=").concat(adultCount, "&children=").concat(tripProfile.numberOfChildren || '');
58891
+ var activityBbUrl = "\n https://bookbarbados.com/book-experiences/experience-details/?packageoptions=experience&actid=".concat(product.info.id, "&offer=").concat(off.offerKey, "&check-out=").concat((0, moment_1.default)(off.date).format('MMM DD, YYYY'), "&check-in=").concat((0, moment_1.default)(off.date).format('MMM DD, YYYY'), "&adults=").concat(adultCount, "&children=").concat(tripProfile.numberOfChildren || '', "&site=TRIPIAN");
58892
58892
  // eslint-disable-next-line no-console
58893
58893
  console.log('Activity offer url : ', activityBbUrl);
58894
58894
  return (react_1.default.createElement(Accordion_1.default, { key: off.offerKey, title: off.serviceName, id: index.toString(), defaultChecked: index === 0, content: react_1.default.createElement("div", { key: off.offerKey, className: "row mb0" },