@tripian/react 6.0.12 → 6.0.13
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 +8 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -58890,7 +58890,14 @@ var BbTourInfo = function (_a) {
|
|
|
58890
58890
|
var _a, _b;
|
|
58891
58891
|
var adultPbd = ((_a = off.priceBreakDowns.find(function (p) { return p.touristType === 'ADULT'; })) === null || _a === void 0 ? void 0 : _a.quantity) || 1;
|
|
58892
58892
|
var adultCount = Math.max(adultPbd, tripProfile.numberOfAdults);
|
|
58893
|
-
|
|
58893
|
+
/* const activityBbUrl = `
|
|
58894
|
+
https://bookbarbados.com/book-experiences/experience-details/?packageoptions=experience&actid=${product.info.id}&offer=${off.offerKey}&check-out=${moment(off.date).format('MMM DD, YYYY')}&check-in=${moment(off.date).format(
|
|
58895
|
+
'MMM DD, YYYY',
|
|
58896
|
+
)}&adults=${adultCount}&children=${tripProfile.numberOfChildren || ''}&site=TRIPIAN`; */
|
|
58897
|
+
// https://bookbarbados.com/book-experiences/experience-details/?packageoptions=experience&actid=1881790&offer=gIx4zGTBr35EHngo&check-out=Nov%2026,%202022&check-in=Nov%2026,%202022
|
|
58898
|
+
// &adults=2&children=1&prefillDate=Nov%2026,%202022
|
|
58899
|
+
// &prefilladults=2&prefillchildage=1&site=TRIPIAN
|
|
58900
|
+
var activityBbUrl = "https://bookbarbados.com/book-experiences/experience-details/?packageoptions=experience&actid=".concat(product.info.id, "&offer=").concat(off.offerKey, "&check-in=").concat((0, moment_1.default)(off.date).format('MMM DD, YYYY'), "&check-out=").concat((0, moment_1.default)(off.date).format('MMM DD, YYYY'), "&adults=").concat(adultCount, "&children=").concat(tripProfile.numberOfChildren || '', "&prefillDate=").concat((0, moment_1.default)(off.date).format('MMM DD, YYYY'), "&prefilladults=").concat(adultCount, "&prefillchildage=1&site=TRIPIAN");
|
|
58894
58901
|
// eslint-disable-next-line no-console
|
|
58895
58902
|
console.log('Activity offer url : ', activityBbUrl);
|
|
58896
58903
|
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" },
|