mozrest-sdk-react-dev 0.1.65 → 0.1.67
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/mozrest-sdk.es.js +23 -10
- package/package.json +1 -1
package/mozrest-sdk.es.js
CHANGED
|
@@ -6309,8 +6309,8 @@ const CANCELRESERVATION = "Cancel reservation";
|
|
|
6309
6309
|
const AREYOUSURECANCELRESERVATION = "Are you sure you want to cancel this reservation?";
|
|
6310
6310
|
const CANCELREASON = "Cancel reason";
|
|
6311
6311
|
const ATMOSPHERE = "Atmosphere";
|
|
6312
|
-
const
|
|
6313
|
-
const
|
|
6312
|
+
const KITCHEN = "Kitchen";
|
|
6313
|
+
const SERVICE = "Service";
|
|
6314
6314
|
var en = {
|
|
6315
6315
|
errors,
|
|
6316
6316
|
SPECIALCLOSINGDATES,
|
|
@@ -6582,8 +6582,8 @@ var en = {
|
|
|
6582
6582
|
AREYOUSURECANCELRESERVATION,
|
|
6583
6583
|
CANCELREASON,
|
|
6584
6584
|
ATMOSPHERE,
|
|
6585
|
-
|
|
6586
|
-
|
|
6585
|
+
KITCHEN,
|
|
6586
|
+
SERVICE
|
|
6587
6587
|
};
|
|
6588
6588
|
instance.use(initReactI18next).init({
|
|
6589
6589
|
resources: {
|
|
@@ -43609,8 +43609,14 @@ const DetailMobile = ({
|
|
|
43609
43609
|
})), /* @__PURE__ */ React__default.createElement(StartScore, {
|
|
43610
43610
|
score: rating
|
|
43611
43611
|
}), /* @__PURE__ */ React__default.createElement("br", null), meta && /* @__PURE__ */ React__default.createElement("div", {
|
|
43612
|
-
style: { display: "flex", gap: 10 }
|
|
43613
|
-
}, meta.atmosphere && /* @__PURE__ */ React__default.createElement("p",
|
|
43612
|
+
style: { display: "flex", gap: 10, marginBottom: 20 }
|
|
43613
|
+
}, meta.atmosphere && /* @__PURE__ */ React__default.createElement("p", {
|
|
43614
|
+
style: { fontWeight: "bold" }
|
|
43615
|
+
}, t2("ATMOSPHERE"), ": ", meta.atmosphere), meta.cooking && /* @__PURE__ */ React__default.createElement("p", {
|
|
43616
|
+
style: { fontWeight: "bold" }
|
|
43617
|
+
}, t2("KITCHEN"), ": ", meta.cooking), meta.standing && /* @__PURE__ */ React__default.createElement("p", {
|
|
43618
|
+
style: { fontWeight: "bold" }
|
|
43619
|
+
}, t2("SERVICE"), ": ", meta.standing)), comment2 && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Comment, {
|
|
43614
43620
|
showTranslation,
|
|
43615
43621
|
setShowTranslation,
|
|
43616
43622
|
locale: locale2
|
|
@@ -43660,8 +43666,14 @@ const DetailDesktop = ({
|
|
|
43660
43666
|
[styles$1u.hide]: !openForm
|
|
43661
43667
|
})
|
|
43662
43668
|
}, meta && /* @__PURE__ */ React__default.createElement("div", {
|
|
43663
|
-
style: { display: "flex", gap: 10 }
|
|
43664
|
-
}, meta.atmosphere && /* @__PURE__ */ React__default.createElement("p",
|
|
43669
|
+
style: { display: "flex", gap: 10, marginBottom: 20 }
|
|
43670
|
+
}, meta.atmosphere && /* @__PURE__ */ React__default.createElement("p", {
|
|
43671
|
+
style: { fontWeight: "bold" }
|
|
43672
|
+
}, t2("ATMOSPHERE"), ": ", meta.atmosphere), meta.cooking && /* @__PURE__ */ React__default.createElement("p", {
|
|
43673
|
+
style: { fontWeight: "bold" }
|
|
43674
|
+
}, t2("KITCHEN"), ": ", meta.cooking), meta.standing && /* @__PURE__ */ React__default.createElement("p", {
|
|
43675
|
+
style: { fontWeight: "bold" }
|
|
43676
|
+
}, t2("SERVICE"), ": ", meta.standing)), comment2 && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Comment, {
|
|
43665
43677
|
showTranslation,
|
|
43666
43678
|
setShowTranslation,
|
|
43667
43679
|
locale: locale2
|
|
@@ -43715,6 +43727,7 @@ const Review = ({
|
|
|
43715
43727
|
createdAt,
|
|
43716
43728
|
locationName,
|
|
43717
43729
|
locale: locale2,
|
|
43730
|
+
module: module2,
|
|
43718
43731
|
meta,
|
|
43719
43732
|
onReload,
|
|
43720
43733
|
openForm,
|
|
@@ -43740,7 +43753,7 @@ const Review = ({
|
|
|
43740
43753
|
icon: reply2 ? "mailReplied" : "mailNotReplied"
|
|
43741
43754
|
})), /* @__PURE__ */ React__default.createElement("img", {
|
|
43742
43755
|
alt: platform2,
|
|
43743
|
-
src: platformImages[platform2],
|
|
43756
|
+
src: module2.logo || platformImages[platform2],
|
|
43744
43757
|
className: styles$1t.image
|
|
43745
43758
|
}), /* @__PURE__ */ React__default.createElement(Row$1, null, /* @__PURE__ */ React__default.createElement(Col$1, {
|
|
43746
43759
|
xs: 0,
|
|
@@ -77355,7 +77368,7 @@ const formatParams$2 = (params) => {
|
|
|
77355
77368
|
}
|
|
77356
77369
|
if (params == null ? void 0 : params.platform) {
|
|
77357
77370
|
Object.assign(all2, {
|
|
77358
|
-
[`filters[
|
|
77371
|
+
[`filters[module]`]: params.platform
|
|
77359
77372
|
});
|
|
77360
77373
|
}
|
|
77361
77374
|
if (params == null ? void 0 : params.venueListing) {
|