@tripian/react 6.0.43 → 6.0.45
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
|
@@ -96,7 +96,7 @@ module.exports = require("react");
|
|
|
96
96
|
/***/ (function(module, exports, __webpack_require__) {
|
|
97
97
|
|
|
98
98
|
/* WEBPACK VAR INJECTION */(function(module) {var require;//! moment.js
|
|
99
|
-
//! version : 2.29.
|
|
99
|
+
//! version : 2.29.4
|
|
100
100
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
101
101
|
//! license : MIT
|
|
102
102
|
//! momentjs.com
|
|
@@ -2550,7 +2550,7 @@ module.exports = require("react");
|
|
|
2550
2550
|
function preprocessRFC2822(s) {
|
|
2551
2551
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
|
2552
2552
|
return s
|
|
2553
|
-
.replace(/\([^)]*\)|[\n\t]/g, ' ')
|
|
2553
|
+
.replace(/\([^()]*\)|[\n\t]/g, ' ')
|
|
2554
2554
|
.replace(/(\s\s+)/g, ' ')
|
|
2555
2555
|
.replace(/^\s\s*/, '')
|
|
2556
2556
|
.replace(/\s\s*$/, '');
|
|
@@ -5731,7 +5731,7 @@ module.exports = require("react");
|
|
|
5731
5731
|
|
|
5732
5732
|
//! moment.js
|
|
5733
5733
|
|
|
5734
|
-
hooks.version = '2.29.
|
|
5734
|
+
hooks.version = '2.29.4';
|
|
5735
5735
|
|
|
5736
5736
|
setHookCallback(createLocal);
|
|
5737
5737
|
|
|
@@ -6234,6 +6234,7 @@ var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
|
6234
6234
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
6235
6235
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
6236
6236
|
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
6237
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
6237
6238
|
|
|
6238
6239
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
6239
6240
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
@@ -6289,6 +6290,9 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
6289
6290
|
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
6290
6291
|
}
|
|
6291
6292
|
|
|
6293
|
+
if ($exec(/^%?[^%]*%?$/g, name) === null) {
|
|
6294
|
+
throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
|
|
6295
|
+
}
|
|
6292
6296
|
var parts = stringToPath(name);
|
|
6293
6297
|
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
6294
6298
|
|
|
@@ -77069,7 +77073,7 @@ var TasteInfo = function (_a) {
|
|
|
77069
77073
|
react_1.default.createElement("div", { className: "row" },
|
|
77070
77074
|
react_1.default.createElement("div", { className: "col col12" },
|
|
77071
77075
|
react_1.default.createElement("h3", { className: "p2" }, "Best places to try"),
|
|
77072
|
-
loading ? (react_1.default.createElement(PreLoading_1.default,
|
|
77076
|
+
loading ? (react_1.default.createElement(PreLoading_1.default, null)) : (react_1.default.createElement(MustTryPois_1.default, { pois: pois, poiClicked: poiClicked, TOUR_PROVIDER_ID: TOUR_PROVIDER_ID, TICKET_PROVIDER_ID: TICKET_PROVIDER_ID, RESTAURANT_RESERVATION_PROVIDER_IDS: RESTAURANT_RESERVATION_PROVIDER_IDS, hideReservationIcon: hideReservationIcon, hideTourTicketIcons: hideTourTicketIcons, hideOfferIcon: hideOfferIcon })))),
|
|
77073
77077
|
react_1.default.createElement("div", { className: TasteInfo_scss_1.default.close },
|
|
77074
77078
|
react_1.default.createElement(CloseIconButton_1.default, { fill: "#fff", clicked: function () { return close(); } }))));
|
|
77075
77079
|
};
|
|
@@ -77154,7 +77158,7 @@ var MustTryPois_scss_1 = __importDefault(__webpack_require__(826));
|
|
|
77154
77158
|
var MustTryPois = function (_a) {
|
|
77155
77159
|
var pois = _a.pois, poiClicked = _a.poiClicked, TOUR_PROVIDER_ID = _a.TOUR_PROVIDER_ID, TICKET_PROVIDER_ID = _a.TICKET_PROVIDER_ID, RESTAURANT_RESERVATION_PROVIDER_IDS = _a.RESTAURANT_RESERVATION_PROVIDER_IDS, hideTourTicketIcons = _a.hideTourTicketIcons, hideReservationIcon = _a.hideReservationIcon, hideOfferIcon = _a.hideOfferIcon;
|
|
77156
77160
|
return (react_1.default.createElement("div", { className: MustTryPois_scss_1.default.mustTryPois },
|
|
77157
|
-
react_1.default.createElement("ul",
|
|
77161
|
+
react_1.default.createElement("ul", { className: MustTryPois_scss_1.default.mustTryPoisList }, pois.slice(0, 10).map(function (poi) { return (react_1.default.createElement("li", { key: poi.id },
|
|
77158
77162
|
react_1.default.createElement(PoiRefCard_1.default, { poiCardClicked: poiClicked, addRemoveAlternativePoi: function () { }, poi: poi, TOUR_PROVIDER_ID: TOUR_PROVIDER_ID, TICKET_PROVIDER_ID: TICKET_PROVIDER_ID, RESTAURANT_RESERVATION_PROVIDER_IDS: RESTAURANT_RESERVATION_PROVIDER_IDS, hideReservationIcon: hideReservationIcon, hideTourTicketIcons: hideTourTicketIcons, hideOfferIcon: hideOfferIcon }))); }))));
|
|
77159
77163
|
};
|
|
77160
77164
|
exports.default = MustTryPois;
|
|
@@ -77165,7 +77169,7 @@ exports.default = MustTryPois;
|
|
|
77165
77169
|
/***/ (function(module, exports, __webpack_require__) {
|
|
77166
77170
|
|
|
77167
77171
|
// extracted by mini-css-extract-plugin
|
|
77168
|
-
module.exports = {"mustTryPois":"components-TasteInfo-MustTryPois-MustTryPois__mustTryPois--MRGbF"};
|
|
77172
|
+
module.exports = {"mustTryPois":"components-TasteInfo-MustTryPois-MustTryPois__mustTryPois--MRGbF","mustTryPoisList":"components-TasteInfo-MustTryPois-MustTryPois__mustTryPoisList--AsVqK"};
|
|
77169
77173
|
|
|
77170
77174
|
/***/ }),
|
|
77171
77175
|
/* 827 */
|