tabexseriescomponents 0.2.872 → 0.2.873
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/dist/index.cjs.js +14 -14
- package/dist/index.esm.js +14 -14
- package/dist/index.umd.js +14 -14
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -18409,7 +18409,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
18409
18409
|
function ownKeys$2j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18410
18410
|
function _objectSpread$2j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2j(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18411
18411
|
var OrderSuccess = function OrderSuccess(props) {
|
|
18412
|
-
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _authdetailsContext$i4,
|
|
18412
|
+
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat3, _lastOrderinfoObj$dat4, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat0, _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
18413
18413
|
var lang = props.actions.lang;
|
|
18414
18414
|
var langdetect = props.actions.langdetect;
|
|
18415
18415
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -18581,7 +18581,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18581
18581
|
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat('My order number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat === void 0 || (_lastOrderinfoObj$dat = _lastOrderinfoObj$dat.orderinfo) === null || _lastOrderinfoObj$dat === void 0 ? void 0 : _lastOrderinfoObj$dat.orderid));
|
|
18582
18582
|
var whatsappUrlshelghada = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat('My reservation number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat2 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat2 === void 0 || (_lastOrderinfoObj$dat2 = _lastOrderinfoObj$dat2.orderinfo) === null || _lastOrderinfoObj$dat2 === void 0 ? void 0 : _lastOrderinfoObj$dat2.orderid));
|
|
18583
18583
|
var whatsappUrl_property = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber, "?text=").concat(encodeURIComponent(sectionproperties.messagesentinenglish + ' ' + orderId));
|
|
18584
|
-
var whatsappUrl_ar_property = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber, "?text=").concat(sectionproperties.messagesentinarabic + ' ' +
|
|
18584
|
+
var whatsappUrl_ar_property = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber, "?text=").concat(encodeURIComponent(sectionproperties.messagesentinarabic + ' ' + orderId));
|
|
18585
18585
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18586
18586
|
className: ordersuccessstyle.containerstyle + ' row ml-0 mr-0 w-100 justify-content-center pl-md-3 pr-md-3 pl-sm-2 pr-sm-2 ',
|
|
18587
18587
|
style: {}
|
|
@@ -18630,9 +18630,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18630
18630
|
style: {
|
|
18631
18631
|
fontSize: 15
|
|
18632
18632
|
}
|
|
18633
|
-
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18633
|
+
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat3 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat3 === void 0 || (_lastOrderinfoObj$dat3 = _lastOrderinfoObj$dat3.orderinfo) === null || _lastOrderinfoObj$dat3 === void 0 ? void 0 : _lastOrderinfoObj$dat3.orderid), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18634
18634
|
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
18635
|
-
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18635
|
+
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat4 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat4 === void 0 || (_lastOrderinfoObj$dat4 = _lastOrderinfoObj$dat4.orderinfo) === null || _lastOrderinfoObj$dat4 === void 0 ? void 0 : _lastOrderinfoObj$dat4.customername), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18636
18636
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
18637
18637
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18638
18638
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
@@ -18666,9 +18666,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18666
18666
|
}
|
|
18667
18667
|
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18668
18668
|
"class": "col-12 p-0 text-start"
|
|
18669
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18669
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat5 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat5 === void 0 || (_lastOrderinfoObj$dat5 = _lastOrderinfoObj$dat5.orderinfo) === null || _lastOrderinfoObj$dat5 === void 0 ? void 0 : _lastOrderinfoObj$dat5.customeremail)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18670
18670
|
"class": "col-12 p-0 text-start"
|
|
18671
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18671
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat6 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat6 === void 0 || (_lastOrderinfoObj$dat6 = _lastOrderinfoObj$dat6.orderinfo) === null || _lastOrderinfoObj$dat6 === void 0 ? void 0 : _lastOrderinfoObj$dat6.customerphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18672
18672
|
"class": "col-12 p-0 text-start mb-2"
|
|
18673
18673
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18674
18674
|
style: {
|
|
@@ -18678,7 +18678,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18678
18678
|
"class": "m-0"
|
|
18679
18679
|
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18680
18680
|
"class": "col-12 p-0 text-start"
|
|
18681
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18681
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat7 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat7 === void 0 || (_lastOrderinfoObj$dat7 = _lastOrderinfoObj$dat7.orderinfo) === null || _lastOrderinfoObj$dat7 === void 0 ? void 0 : _lastOrderinfoObj$dat7.address)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18682
18682
|
"class": "col-6 col-md-12"
|
|
18683
18683
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18684
18684
|
"class": "col-12 p-0 text-start mb-2"
|
|
@@ -18690,7 +18690,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18690
18690
|
"class": "m-0"
|
|
18691
18691
|
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18692
18692
|
"class": "col-12 p-0 text-start"
|
|
18693
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18693
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat8 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat8 === void 0 || (_lastOrderinfoObj$dat8 = _lastOrderinfoObj$dat8.orderinfo) === null || _lastOrderinfoObj$dat8 === void 0 ? void 0 : _lastOrderinfoObj$dat8.paymentmethod) == 'cod' ? langdetect == 'en' ? 'Cash on delivery' : 'الدفع عند الاستلام' : lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat9 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat9 === void 0 || (_lastOrderinfoObj$dat9 = _lastOrderinfoObj$dat9.orderinfo) === null || _lastOrderinfoObj$dat9 === void 0 ? void 0 : _lastOrderinfoObj$dat9.paymentmethod))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18694
18694
|
"class": "col-6 col-md-12 p-md-0"
|
|
18695
18695
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18696
18696
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -18710,8 +18710,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18710
18710
|
maxHeight: '40vh',
|
|
18711
18711
|
overflowY: 'auto'
|
|
18712
18712
|
}
|
|
18713
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18714
|
-
var _lastOrderinfoObj$
|
|
18713
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat0 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat0 === void 0 ? void 0 : _lastOrderinfoObj$dat0.orderitems.map(function (item, index) {
|
|
18714
|
+
var _lastOrderinfoObj$dat1, _lastOrderinfoObj$dat10;
|
|
18715
18715
|
var variantoptions = [];
|
|
18716
18716
|
if (item.isvariant == 1) {
|
|
18717
18717
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -18753,7 +18753,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18753
18753
|
className: "col-4 d-flex text-end"
|
|
18754
18754
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18755
18755
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
18756
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18756
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat1 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat1 === void 0 || (_lastOrderinfoObj$dat1 = _lastOrderinfoObj$dat1.orderinfo) === null || _lastOrderinfoObj$dat1 === void 0 ? void 0 : _lastOrderinfoObj$dat1.currencyname_en : '', " ", item.finalprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat10 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat10 === void 0 || (_lastOrderinfoObj$dat10 = _lastOrderinfoObj$dat10.orderinfo) === null || _lastOrderinfoObj$dat10 === void 0 ? void 0 : _lastOrderinfoObj$dat10.currencyname_ar : '')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18757
18757
|
"class": "col-12 my-2"
|
|
18758
18758
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18759
18759
|
style: {
|
|
@@ -18777,7 +18777,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18777
18777
|
"class": "col-6 text-end"
|
|
18778
18778
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18779
18779
|
className: "m-0 p-0 font-weight-500"
|
|
18780
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18780
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat11 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat11 === void 0 || (_lastOrderinfoObj$dat11 = _lastOrderinfoObj$dat11.orderinfo) === null || _lastOrderinfoObj$dat11 === void 0 ? void 0 : _lastOrderinfoObj$dat11.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat12 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat12 === void 0 ? void 0 : _lastOrderinfoObj$dat12.totalitemsprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat13 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat13 === void 0 || (_lastOrderinfoObj$dat13 = _lastOrderinfoObj$dat13.orderinfo) === null || _lastOrderinfoObj$dat13 === void 0 ? void 0 : _lastOrderinfoObj$dat13.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18781
18781
|
"class": "col-lg-12 p-0 mt-1",
|
|
18782
18782
|
style: {
|
|
18783
18783
|
fontSize: 16
|
|
@@ -18792,7 +18792,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18792
18792
|
"class": "col-6 text-end"
|
|
18793
18793
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18794
18794
|
className: "m-0 p-0 font-weight-500"
|
|
18795
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18795
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 || (_lastOrderinfoObj$dat14 = _lastOrderinfoObj$dat14.orderinfo) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat15 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat15 === void 0 ? void 0 : _lastOrderinfoObj$dat15.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat16 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat16 === void 0 || (_lastOrderinfoObj$dat16 = _lastOrderinfoObj$dat16.orderinfo) === null || _lastOrderinfoObj$dat16 === void 0 ? void 0 : _lastOrderinfoObj$dat16.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18796
18796
|
"class": "col-lg-12 p-0 my-3"
|
|
18797
18797
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18798
18798
|
style: {
|
|
@@ -18815,7 +18815,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18815
18815
|
"class": "col-6 text-end"
|
|
18816
18816
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18817
18817
|
className: "m-0 p-0 font-weight-500"
|
|
18818
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18818
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat17 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat17 === void 0 || (_lastOrderinfoObj$dat17 = _lastOrderinfoObj$dat17.orderinfo) === null || _lastOrderinfoObj$dat17 === void 0 ? void 0 : _lastOrderinfoObj$dat17.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat18 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat18 === void 0 ? void 0 : _lastOrderinfoObj$dat18.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat19 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat19 === void 0 || (_lastOrderinfoObj$dat19 = _lastOrderinfoObj$dat19.orderinfo) === null || _lastOrderinfoObj$dat19 === void 0 ? void 0 : _lastOrderinfoObj$dat19.currencyname_ar : '')))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18819
18819
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
18820
18820
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18821
18821
|
"class": ' allcentered cursor-pointer ',
|
package/dist/index.esm.js
CHANGED
|
@@ -18359,7 +18359,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
18359
18359
|
function ownKeys$2j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18360
18360
|
function _objectSpread$2j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2j(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18361
18361
|
var OrderSuccess = function OrderSuccess(props) {
|
|
18362
|
-
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _authdetailsContext$i4,
|
|
18362
|
+
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat3, _lastOrderinfoObj$dat4, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat0, _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
18363
18363
|
var lang = props.actions.lang;
|
|
18364
18364
|
var langdetect = props.actions.langdetect;
|
|
18365
18365
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -18531,7 +18531,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18531
18531
|
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat('My order number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat === void 0 || (_lastOrderinfoObj$dat = _lastOrderinfoObj$dat.orderinfo) === null || _lastOrderinfoObj$dat === void 0 ? void 0 : _lastOrderinfoObj$dat.orderid));
|
|
18532
18532
|
var whatsappUrlshelghada = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat('My reservation number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat2 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat2 === void 0 || (_lastOrderinfoObj$dat2 = _lastOrderinfoObj$dat2.orderinfo) === null || _lastOrderinfoObj$dat2 === void 0 ? void 0 : _lastOrderinfoObj$dat2.orderid));
|
|
18533
18533
|
var whatsappUrl_property = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber, "?text=").concat(encodeURIComponent(sectionproperties.messagesentinenglish + ' ' + orderId));
|
|
18534
|
-
var whatsappUrl_ar_property = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber, "?text=").concat(sectionproperties.messagesentinarabic + ' ' +
|
|
18534
|
+
var whatsappUrl_ar_property = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber, "?text=").concat(encodeURIComponent(sectionproperties.messagesentinarabic + ' ' + orderId));
|
|
18535
18535
|
return /*#__PURE__*/React.createElement("div", {
|
|
18536
18536
|
className: ordersuccessstyle.containerstyle + ' row ml-0 mr-0 w-100 justify-content-center pl-md-3 pr-md-3 pl-sm-2 pr-sm-2 ',
|
|
18537
18537
|
style: {}
|
|
@@ -18580,9 +18580,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18580
18580
|
style: {
|
|
18581
18581
|
fontSize: 15
|
|
18582
18582
|
}
|
|
18583
|
-
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18583
|
+
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat3 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat3 === void 0 || (_lastOrderinfoObj$dat3 = _lastOrderinfoObj$dat3.orderinfo) === null || _lastOrderinfoObj$dat3 === void 0 ? void 0 : _lastOrderinfoObj$dat3.orderid), /*#__PURE__*/React.createElement("div", {
|
|
18584
18584
|
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
18585
|
-
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18585
|
+
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat4 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat4 === void 0 || (_lastOrderinfoObj$dat4 = _lastOrderinfoObj$dat4.orderinfo) === null || _lastOrderinfoObj$dat4 === void 0 ? void 0 : _lastOrderinfoObj$dat4.customername), /*#__PURE__*/React.createElement("div", {
|
|
18586
18586
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
18587
18587
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React.createElement("div", {
|
|
18588
18588
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
@@ -18616,9 +18616,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18616
18616
|
}
|
|
18617
18617
|
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React.createElement("div", {
|
|
18618
18618
|
"class": "col-12 p-0 text-start"
|
|
18619
|
-
}, /*#__PURE__*/React.createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18619
|
+
}, /*#__PURE__*/React.createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat5 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat5 === void 0 || (_lastOrderinfoObj$dat5 = _lastOrderinfoObj$dat5.orderinfo) === null || _lastOrderinfoObj$dat5 === void 0 ? void 0 : _lastOrderinfoObj$dat5.customeremail)), /*#__PURE__*/React.createElement("div", {
|
|
18620
18620
|
"class": "col-12 p-0 text-start"
|
|
18621
|
-
}, /*#__PURE__*/React.createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18621
|
+
}, /*#__PURE__*/React.createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat6 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat6 === void 0 || (_lastOrderinfoObj$dat6 = _lastOrderinfoObj$dat6.orderinfo) === null || _lastOrderinfoObj$dat6 === void 0 ? void 0 : _lastOrderinfoObj$dat6.customerphonenumber)), /*#__PURE__*/React.createElement("div", {
|
|
18622
18622
|
"class": "col-12 p-0 text-start mb-2"
|
|
18623
18623
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18624
18624
|
style: {
|
|
@@ -18628,7 +18628,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18628
18628
|
"class": "m-0"
|
|
18629
18629
|
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React.createElement("div", {
|
|
18630
18630
|
"class": "col-12 p-0 text-start"
|
|
18631
|
-
}, /*#__PURE__*/React.createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18631
|
+
}, /*#__PURE__*/React.createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat7 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat7 === void 0 || (_lastOrderinfoObj$dat7 = _lastOrderinfoObj$dat7.orderinfo) === null || _lastOrderinfoObj$dat7 === void 0 ? void 0 : _lastOrderinfoObj$dat7.address)))), /*#__PURE__*/React.createElement("div", {
|
|
18632
18632
|
"class": "col-6 col-md-12"
|
|
18633
18633
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18634
18634
|
"class": "col-12 p-0 text-start mb-2"
|
|
@@ -18640,7 +18640,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18640
18640
|
"class": "m-0"
|
|
18641
18641
|
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React.createElement("div", {
|
|
18642
18642
|
"class": "col-12 p-0 text-start"
|
|
18643
|
-
}, /*#__PURE__*/React.createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18643
|
+
}, /*#__PURE__*/React.createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat8 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat8 === void 0 || (_lastOrderinfoObj$dat8 = _lastOrderinfoObj$dat8.orderinfo) === null || _lastOrderinfoObj$dat8 === void 0 ? void 0 : _lastOrderinfoObj$dat8.paymentmethod) == 'cod' ? langdetect == 'en' ? 'Cash on delivery' : 'الدفع عند الاستلام' : lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat9 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat9 === void 0 || (_lastOrderinfoObj$dat9 = _lastOrderinfoObj$dat9.orderinfo) === null || _lastOrderinfoObj$dat9 === void 0 ? void 0 : _lastOrderinfoObj$dat9.paymentmethod))))))), /*#__PURE__*/React.createElement("div", {
|
|
18644
18644
|
"class": "col-6 col-md-12 p-md-0"
|
|
18645
18645
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18646
18646
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -18660,8 +18660,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18660
18660
|
maxHeight: '40vh',
|
|
18661
18661
|
overflowY: 'auto'
|
|
18662
18662
|
}
|
|
18663
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18664
|
-
var _lastOrderinfoObj$
|
|
18663
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat0 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat0 === void 0 ? void 0 : _lastOrderinfoObj$dat0.orderitems.map(function (item, index) {
|
|
18664
|
+
var _lastOrderinfoObj$dat1, _lastOrderinfoObj$dat10;
|
|
18665
18665
|
var variantoptions = [];
|
|
18666
18666
|
if (item.isvariant == 1) {
|
|
18667
18667
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -18703,7 +18703,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18703
18703
|
className: "col-4 d-flex text-end"
|
|
18704
18704
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18705
18705
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
18706
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18706
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat1 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat1 === void 0 || (_lastOrderinfoObj$dat1 = _lastOrderinfoObj$dat1.orderinfo) === null || _lastOrderinfoObj$dat1 === void 0 ? void 0 : _lastOrderinfoObj$dat1.currencyname_en : '', " ", item.finalprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat10 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat10 === void 0 || (_lastOrderinfoObj$dat10 = _lastOrderinfoObj$dat10.orderinfo) === null || _lastOrderinfoObj$dat10 === void 0 ? void 0 : _lastOrderinfoObj$dat10.currencyname_ar : '')), /*#__PURE__*/React.createElement("div", {
|
|
18707
18707
|
"class": "col-12 my-2"
|
|
18708
18708
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18709
18709
|
style: {
|
|
@@ -18727,7 +18727,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18727
18727
|
"class": "col-6 text-end"
|
|
18728
18728
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18729
18729
|
className: "m-0 p-0 font-weight-500"
|
|
18730
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18730
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat11 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat11 === void 0 || (_lastOrderinfoObj$dat11 = _lastOrderinfoObj$dat11.orderinfo) === null || _lastOrderinfoObj$dat11 === void 0 ? void 0 : _lastOrderinfoObj$dat11.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat12 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat12 === void 0 ? void 0 : _lastOrderinfoObj$dat12.totalitemsprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat13 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat13 === void 0 || (_lastOrderinfoObj$dat13 = _lastOrderinfoObj$dat13.orderinfo) === null || _lastOrderinfoObj$dat13 === void 0 ? void 0 : _lastOrderinfoObj$dat13.currencyname_ar : '')))), /*#__PURE__*/React.createElement("div", {
|
|
18731
18731
|
"class": "col-lg-12 p-0 mt-1",
|
|
18732
18732
|
style: {
|
|
18733
18733
|
fontSize: 16
|
|
@@ -18742,7 +18742,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18742
18742
|
"class": "col-6 text-end"
|
|
18743
18743
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18744
18744
|
className: "m-0 p-0 font-weight-500"
|
|
18745
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18745
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 || (_lastOrderinfoObj$dat14 = _lastOrderinfoObj$dat14.orderinfo) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat15 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat15 === void 0 ? void 0 : _lastOrderinfoObj$dat15.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat16 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat16 === void 0 || (_lastOrderinfoObj$dat16 = _lastOrderinfoObj$dat16.orderinfo) === null || _lastOrderinfoObj$dat16 === void 0 ? void 0 : _lastOrderinfoObj$dat16.currencyname_ar : '')))), /*#__PURE__*/React.createElement("div", {
|
|
18746
18746
|
"class": "col-lg-12 p-0 my-3"
|
|
18747
18747
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18748
18748
|
style: {
|
|
@@ -18765,7 +18765,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18765
18765
|
"class": "col-6 text-end"
|
|
18766
18766
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18767
18767
|
className: "m-0 p-0 font-weight-500"
|
|
18768
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18768
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat17 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat17 === void 0 || (_lastOrderinfoObj$dat17 = _lastOrderinfoObj$dat17.orderinfo) === null || _lastOrderinfoObj$dat17 === void 0 ? void 0 : _lastOrderinfoObj$dat17.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat18 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat18 === void 0 ? void 0 : _lastOrderinfoObj$dat18.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat19 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat19 === void 0 || (_lastOrderinfoObj$dat19 = _lastOrderinfoObj$dat19.orderinfo) === null || _lastOrderinfoObj$dat19 === void 0 ? void 0 : _lastOrderinfoObj$dat19.currencyname_ar : '')))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React.createElement("div", {
|
|
18769
18769
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
18770
18770
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18771
18771
|
"class": ' allcentered cursor-pointer ',
|
package/dist/index.umd.js
CHANGED
|
@@ -18219,7 +18219,7 @@
|
|
|
18219
18219
|
function ownKeys$2j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18220
18220
|
function _objectSpread$2j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2j(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18221
18221
|
var OrderSuccess = function OrderSuccess(props) {
|
|
18222
|
-
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _authdetailsContext$i4,
|
|
18222
|
+
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat3, _lastOrderinfoObj$dat4, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat0, _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
18223
18223
|
var lang = props.actions.lang;
|
|
18224
18224
|
var langdetect = props.actions.langdetect;
|
|
18225
18225
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -18391,7 +18391,7 @@
|
|
|
18391
18391
|
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat('My order number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat === void 0 || (_lastOrderinfoObj$dat = _lastOrderinfoObj$dat.orderinfo) === null || _lastOrderinfoObj$dat === void 0 ? void 0 : _lastOrderinfoObj$dat.orderid));
|
|
18392
18392
|
var whatsappUrlshelghada = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat('My reservation number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat2 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat2 === void 0 || (_lastOrderinfoObj$dat2 = _lastOrderinfoObj$dat2.orderinfo) === null || _lastOrderinfoObj$dat2 === void 0 ? void 0 : _lastOrderinfoObj$dat2.orderid));
|
|
18393
18393
|
var whatsappUrl_property = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber, "?text=").concat(encodeURIComponent(sectionproperties.messagesentinenglish + ' ' + orderId));
|
|
18394
|
-
var whatsappUrl_ar_property = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber, "?text=").concat(sectionproperties.messagesentinarabic + ' ' +
|
|
18394
|
+
var whatsappUrl_ar_property = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber, "?text=").concat(encodeURIComponent(sectionproperties.messagesentinarabic + ' ' + orderId));
|
|
18395
18395
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18396
18396
|
className: ordersuccessstyle.containerstyle + ' row ml-0 mr-0 w-100 justify-content-center pl-md-3 pr-md-3 pl-sm-2 pr-sm-2 ',
|
|
18397
18397
|
style: {}
|
|
@@ -18440,9 +18440,9 @@
|
|
|
18440
18440
|
style: {
|
|
18441
18441
|
fontSize: 15
|
|
18442
18442
|
}
|
|
18443
|
-
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18443
|
+
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat3 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat3 === void 0 || (_lastOrderinfoObj$dat3 = _lastOrderinfoObj$dat3.orderinfo) === null || _lastOrderinfoObj$dat3 === void 0 ? void 0 : _lastOrderinfoObj$dat3.orderid), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18444
18444
|
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
18445
|
-
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18445
|
+
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat4 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat4 === void 0 || (_lastOrderinfoObj$dat4 = _lastOrderinfoObj$dat4.orderinfo) === null || _lastOrderinfoObj$dat4 === void 0 ? void 0 : _lastOrderinfoObj$dat4.customername), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18446
18446
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
18447
18447
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18448
18448
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
@@ -18476,9 +18476,9 @@
|
|
|
18476
18476
|
}
|
|
18477
18477
|
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18478
18478
|
"class": "col-12 p-0 text-start"
|
|
18479
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18479
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat5 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat5 === void 0 || (_lastOrderinfoObj$dat5 = _lastOrderinfoObj$dat5.orderinfo) === null || _lastOrderinfoObj$dat5 === void 0 ? void 0 : _lastOrderinfoObj$dat5.customeremail)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18480
18480
|
"class": "col-12 p-0 text-start"
|
|
18481
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18481
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat6 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat6 === void 0 || (_lastOrderinfoObj$dat6 = _lastOrderinfoObj$dat6.orderinfo) === null || _lastOrderinfoObj$dat6 === void 0 ? void 0 : _lastOrderinfoObj$dat6.customerphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18482
18482
|
"class": "col-12 p-0 text-start mb-2"
|
|
18483
18483
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18484
18484
|
style: {
|
|
@@ -18488,7 +18488,7 @@
|
|
|
18488
18488
|
"class": "m-0"
|
|
18489
18489
|
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18490
18490
|
"class": "col-12 p-0 text-start"
|
|
18491
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18491
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat7 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat7 === void 0 || (_lastOrderinfoObj$dat7 = _lastOrderinfoObj$dat7.orderinfo) === null || _lastOrderinfoObj$dat7 === void 0 ? void 0 : _lastOrderinfoObj$dat7.address)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18492
18492
|
"class": "col-6 col-md-12"
|
|
18493
18493
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18494
18494
|
"class": "col-12 p-0 text-start mb-2"
|
|
@@ -18500,7 +18500,7 @@
|
|
|
18500
18500
|
"class": "m-0"
|
|
18501
18501
|
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18502
18502
|
"class": "col-12 p-0 text-start"
|
|
18503
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18503
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat8 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat8 === void 0 || (_lastOrderinfoObj$dat8 = _lastOrderinfoObj$dat8.orderinfo) === null || _lastOrderinfoObj$dat8 === void 0 ? void 0 : _lastOrderinfoObj$dat8.paymentmethod) == 'cod' ? langdetect == 'en' ? 'Cash on delivery' : 'الدفع عند الاستلام' : lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat9 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat9 === void 0 || (_lastOrderinfoObj$dat9 = _lastOrderinfoObj$dat9.orderinfo) === null || _lastOrderinfoObj$dat9 === void 0 ? void 0 : _lastOrderinfoObj$dat9.paymentmethod))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18504
18504
|
"class": "col-6 col-md-12 p-md-0"
|
|
18505
18505
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18506
18506
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -18520,8 +18520,8 @@
|
|
|
18520
18520
|
maxHeight: '40vh',
|
|
18521
18521
|
overflowY: 'auto'
|
|
18522
18522
|
}
|
|
18523
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18524
|
-
var _lastOrderinfoObj$
|
|
18523
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat0 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat0 === void 0 ? void 0 : _lastOrderinfoObj$dat0.orderitems.map(function (item, index) {
|
|
18524
|
+
var _lastOrderinfoObj$dat1, _lastOrderinfoObj$dat10;
|
|
18525
18525
|
var variantoptions = [];
|
|
18526
18526
|
if (item.isvariant == 1) {
|
|
18527
18527
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -18563,7 +18563,7 @@
|
|
|
18563
18563
|
className: "col-4 d-flex text-end"
|
|
18564
18564
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18565
18565
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
18566
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18566
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat1 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat1 === void 0 || (_lastOrderinfoObj$dat1 = _lastOrderinfoObj$dat1.orderinfo) === null || _lastOrderinfoObj$dat1 === void 0 ? void 0 : _lastOrderinfoObj$dat1.currencyname_en : '', " ", item.finalprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat10 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat10 === void 0 || (_lastOrderinfoObj$dat10 = _lastOrderinfoObj$dat10.orderinfo) === null || _lastOrderinfoObj$dat10 === void 0 ? void 0 : _lastOrderinfoObj$dat10.currencyname_ar : '')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18567
18567
|
"class": "col-12 my-2"
|
|
18568
18568
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18569
18569
|
style: {
|
|
@@ -18587,7 +18587,7 @@
|
|
|
18587
18587
|
"class": "col-6 text-end"
|
|
18588
18588
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18589
18589
|
className: "m-0 p-0 font-weight-500"
|
|
18590
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18590
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat11 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat11 === void 0 || (_lastOrderinfoObj$dat11 = _lastOrderinfoObj$dat11.orderinfo) === null || _lastOrderinfoObj$dat11 === void 0 ? void 0 : _lastOrderinfoObj$dat11.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat12 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat12 === void 0 ? void 0 : _lastOrderinfoObj$dat12.totalitemsprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat13 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat13 === void 0 || (_lastOrderinfoObj$dat13 = _lastOrderinfoObj$dat13.orderinfo) === null || _lastOrderinfoObj$dat13 === void 0 ? void 0 : _lastOrderinfoObj$dat13.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18591
18591
|
"class": "col-lg-12 p-0 mt-1",
|
|
18592
18592
|
style: {
|
|
18593
18593
|
fontSize: 16
|
|
@@ -18602,7 +18602,7 @@
|
|
|
18602
18602
|
"class": "col-6 text-end"
|
|
18603
18603
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18604
18604
|
className: "m-0 p-0 font-weight-500"
|
|
18605
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18605
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 || (_lastOrderinfoObj$dat14 = _lastOrderinfoObj$dat14.orderinfo) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat15 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat15 === void 0 ? void 0 : _lastOrderinfoObj$dat15.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat16 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat16 === void 0 || (_lastOrderinfoObj$dat16 = _lastOrderinfoObj$dat16.orderinfo) === null || _lastOrderinfoObj$dat16 === void 0 ? void 0 : _lastOrderinfoObj$dat16.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18606
18606
|
"class": "col-lg-12 p-0 my-3"
|
|
18607
18607
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18608
18608
|
style: {
|
|
@@ -18625,7 +18625,7 @@
|
|
|
18625
18625
|
"class": "col-6 text-end"
|
|
18626
18626
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18627
18627
|
className: "m-0 p-0 font-weight-500"
|
|
18628
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18628
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat17 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat17 === void 0 || (_lastOrderinfoObj$dat17 = _lastOrderinfoObj$dat17.orderinfo) === null || _lastOrderinfoObj$dat17 === void 0 ? void 0 : _lastOrderinfoObj$dat17.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat18 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat18 === void 0 ? void 0 : _lastOrderinfoObj$dat18.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat19 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat19 === void 0 || (_lastOrderinfoObj$dat19 = _lastOrderinfoObj$dat19.orderinfo) === null || _lastOrderinfoObj$dat19 === void 0 ? void 0 : _lastOrderinfoObj$dat19.currencyname_ar : '')))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18629
18629
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
18630
18630
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18631
18631
|
"class": ' allcentered cursor-pointer ',
|