tabexseriescomponents 0.2.871 → 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 +25 -18
- package/dist/index.esm.js +25 -18
- package/dist/index.umd.js +25 -18
- 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,
|
|
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;
|
|
@@ -18446,7 +18446,10 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18446
18446
|
logoarrayofobjects = _useState10[0],
|
|
18447
18447
|
setlogoarrayofobjects = _useState10[1];
|
|
18448
18448
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
18449
|
-
|
|
18449
|
+
var _useState11 = React.useState(null),
|
|
18450
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
18451
|
+
orderId = _useState12[0],
|
|
18452
|
+
setOrderId = _useState12[1];
|
|
18450
18453
|
// useEffect(() => {
|
|
18451
18454
|
// const query = new URLSearchParams(uselocation.search);
|
|
18452
18455
|
// var issuccess = query.get('status');
|
|
@@ -18503,6 +18506,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18503
18506
|
React.useEffect(function () {
|
|
18504
18507
|
var query = new URLSearchParams(uselocation.search);
|
|
18505
18508
|
var order_id = query.get('order_id');
|
|
18509
|
+
setOrderId(order_id);
|
|
18506
18510
|
if (order_id != undefined && order_id != null && order_id.length != 0) {
|
|
18507
18511
|
GeneralAPIMutationContext.mutate({
|
|
18508
18512
|
endpointurl: '/p_fetchorderinformation',
|
|
@@ -18576,8 +18580,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18576
18580
|
};
|
|
18577
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));
|
|
18578
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));
|
|
18579
|
-
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(sectionproperties.messagesentinenglish + ' ' +
|
|
18580
|
-
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 + ' ' +
|
|
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(encodeURIComponent(sectionproperties.messagesentinarabic + ' ' + orderId));
|
|
18581
18585
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18582
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 ',
|
|
18583
18587
|
style: {}
|
|
@@ -18626,9 +18630,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18626
18630
|
style: {
|
|
18627
18631
|
fontSize: 15
|
|
18628
18632
|
}
|
|
18629
|
-
}, "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", {
|
|
18630
18634
|
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
18631
|
-
}, 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", {
|
|
18632
18636
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
18633
18637
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18634
18638
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
@@ -18662,9 +18666,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18662
18666
|
}
|
|
18663
18667
|
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18664
18668
|
"class": "col-12 p-0 text-start"
|
|
18665
|
-
}, /*#__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", {
|
|
18666
18670
|
"class": "col-12 p-0 text-start"
|
|
18667
|
-
}, /*#__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", {
|
|
18668
18672
|
"class": "col-12 p-0 text-start mb-2"
|
|
18669
18673
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18670
18674
|
style: {
|
|
@@ -18674,7 +18678,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18674
18678
|
"class": "m-0"
|
|
18675
18679
|
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18676
18680
|
"class": "col-12 p-0 text-start"
|
|
18677
|
-
}, /*#__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", {
|
|
18678
18682
|
"class": "col-6 col-md-12"
|
|
18679
18683
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18680
18684
|
"class": "col-12 p-0 text-start mb-2"
|
|
@@ -18686,7 +18690,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18686
18690
|
"class": "m-0"
|
|
18687
18691
|
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18688
18692
|
"class": "col-12 p-0 text-start"
|
|
18689
|
-
}, /*#__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", {
|
|
18690
18694
|
"class": "col-6 col-md-12 p-md-0"
|
|
18691
18695
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18692
18696
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -18706,8 +18710,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18706
18710
|
maxHeight: '40vh',
|
|
18707
18711
|
overflowY: 'auto'
|
|
18708
18712
|
}
|
|
18709
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18710
|
-
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;
|
|
18711
18715
|
var variantoptions = [];
|
|
18712
18716
|
if (item.isvariant == 1) {
|
|
18713
18717
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -18749,7 +18753,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18749
18753
|
className: "col-4 d-flex text-end"
|
|
18750
18754
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18751
18755
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
18752
|
-
}, 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", {
|
|
18753
18757
|
"class": "col-12 my-2"
|
|
18754
18758
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18755
18759
|
style: {
|
|
@@ -18773,7 +18777,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18773
18777
|
"class": "col-6 text-end"
|
|
18774
18778
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18775
18779
|
className: "m-0 p-0 font-weight-500"
|
|
18776
|
-
}, 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", {
|
|
18777
18781
|
"class": "col-lg-12 p-0 mt-1",
|
|
18778
18782
|
style: {
|
|
18779
18783
|
fontSize: 16
|
|
@@ -18788,7 +18792,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18788
18792
|
"class": "col-6 text-end"
|
|
18789
18793
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18790
18794
|
className: "m-0 p-0 font-weight-500"
|
|
18791
|
-
}, 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", {
|
|
18792
18796
|
"class": "col-lg-12 p-0 my-3"
|
|
18793
18797
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18794
18798
|
style: {
|
|
@@ -18811,7 +18815,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18811
18815
|
"class": "col-6 text-end"
|
|
18812
18816
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18813
18817
|
className: "m-0 p-0 font-weight-500"
|
|
18814
|
-
}, 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", {
|
|
18815
18819
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
18816
18820
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18817
18821
|
"class": ' allcentered cursor-pointer ',
|
|
@@ -18842,6 +18846,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18842
18846
|
borderRadius: 10,
|
|
18843
18847
|
color: 'white',
|
|
18844
18848
|
background: '#22cd5b'
|
|
18849
|
+
},
|
|
18850
|
+
onClick: function onClick() {
|
|
18851
|
+
// alert(lastOrderinfoObj?.data?.orderinfo?.orderid);
|
|
18845
18852
|
}
|
|
18846
18853
|
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
18847
18854
|
href: langdetect == 'en' ? whatsappUrl_property : whatsappUrl_ar_property,
|
|
@@ -43194,7 +43201,7 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
|
43194
43201
|
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
43195
43202
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
43196
43203
|
}),
|
|
43197
|
-
categorybtn: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
43204
|
+
categorybtn: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
43198
43205
|
background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'Transparent' : sectionproperties.generalbtn_bgColor,
|
|
43199
43206
|
width: sectionproperties.generalbtn_width + 'px',
|
|
43200
43207
|
height: sectionproperties.generalbtn_height + 'px',
|
|
@@ -43205,7 +43212,7 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
|
43205
43212
|
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
43206
43213
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
43207
43214
|
fontSize: sectionproperties.generalbtn_fontsize + 'px'
|
|
43208
|
-
}, "width", '100%'), "transition", '.3s'), ':hover', {
|
|
43215
|
+
}, "width", '100%'), "transition", '.3s'), "color", sectionproperties.generalbtn_textColor), ':hover', {
|
|
43209
43216
|
background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'Transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
43210
43217
|
color: sectionproperties.generalbtn_textColoronhover
|
|
43211
43218
|
})),
|
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,
|
|
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;
|
|
@@ -18396,7 +18396,10 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18396
18396
|
logoarrayofobjects = _useState10[0],
|
|
18397
18397
|
setlogoarrayofobjects = _useState10[1];
|
|
18398
18398
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
18399
|
-
|
|
18399
|
+
var _useState11 = useState(null),
|
|
18400
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
18401
|
+
orderId = _useState12[0],
|
|
18402
|
+
setOrderId = _useState12[1];
|
|
18400
18403
|
// useEffect(() => {
|
|
18401
18404
|
// const query = new URLSearchParams(uselocation.search);
|
|
18402
18405
|
// var issuccess = query.get('status');
|
|
@@ -18453,6 +18456,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18453
18456
|
useEffect(function () {
|
|
18454
18457
|
var query = new URLSearchParams(uselocation.search);
|
|
18455
18458
|
var order_id = query.get('order_id');
|
|
18459
|
+
setOrderId(order_id);
|
|
18456
18460
|
if (order_id != undefined && order_id != null && order_id.length != 0) {
|
|
18457
18461
|
GeneralAPIMutationContext.mutate({
|
|
18458
18462
|
endpointurl: '/p_fetchorderinformation',
|
|
@@ -18526,8 +18530,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18526
18530
|
};
|
|
18527
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));
|
|
18528
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));
|
|
18529
|
-
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(sectionproperties.messagesentinenglish + ' ' +
|
|
18530
|
-
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 + ' ' +
|
|
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(encodeURIComponent(sectionproperties.messagesentinarabic + ' ' + orderId));
|
|
18531
18535
|
return /*#__PURE__*/React.createElement("div", {
|
|
18532
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 ',
|
|
18533
18537
|
style: {}
|
|
@@ -18576,9 +18580,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18576
18580
|
style: {
|
|
18577
18581
|
fontSize: 15
|
|
18578
18582
|
}
|
|
18579
|
-
}, "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", {
|
|
18580
18584
|
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
18581
|
-
}, 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", {
|
|
18582
18586
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
18583
18587
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React.createElement("div", {
|
|
18584
18588
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
@@ -18612,9 +18616,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18612
18616
|
}
|
|
18613
18617
|
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React.createElement("div", {
|
|
18614
18618
|
"class": "col-12 p-0 text-start"
|
|
18615
|
-
}, /*#__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", {
|
|
18616
18620
|
"class": "col-12 p-0 text-start"
|
|
18617
|
-
}, /*#__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", {
|
|
18618
18622
|
"class": "col-12 p-0 text-start mb-2"
|
|
18619
18623
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18620
18624
|
style: {
|
|
@@ -18624,7 +18628,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18624
18628
|
"class": "m-0"
|
|
18625
18629
|
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React.createElement("div", {
|
|
18626
18630
|
"class": "col-12 p-0 text-start"
|
|
18627
|
-
}, /*#__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", {
|
|
18628
18632
|
"class": "col-6 col-md-12"
|
|
18629
18633
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18630
18634
|
"class": "col-12 p-0 text-start mb-2"
|
|
@@ -18636,7 +18640,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18636
18640
|
"class": "m-0"
|
|
18637
18641
|
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React.createElement("div", {
|
|
18638
18642
|
"class": "col-12 p-0 text-start"
|
|
18639
|
-
}, /*#__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", {
|
|
18640
18644
|
"class": "col-6 col-md-12 p-md-0"
|
|
18641
18645
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18642
18646
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -18656,8 +18660,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18656
18660
|
maxHeight: '40vh',
|
|
18657
18661
|
overflowY: 'auto'
|
|
18658
18662
|
}
|
|
18659
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18660
|
-
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;
|
|
18661
18665
|
var variantoptions = [];
|
|
18662
18666
|
if (item.isvariant == 1) {
|
|
18663
18667
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -18699,7 +18703,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18699
18703
|
className: "col-4 d-flex text-end"
|
|
18700
18704
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18701
18705
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
18702
|
-
}, 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", {
|
|
18703
18707
|
"class": "col-12 my-2"
|
|
18704
18708
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18705
18709
|
style: {
|
|
@@ -18723,7 +18727,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18723
18727
|
"class": "col-6 text-end"
|
|
18724
18728
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18725
18729
|
className: "m-0 p-0 font-weight-500"
|
|
18726
|
-
}, 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", {
|
|
18727
18731
|
"class": "col-lg-12 p-0 mt-1",
|
|
18728
18732
|
style: {
|
|
18729
18733
|
fontSize: 16
|
|
@@ -18738,7 +18742,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18738
18742
|
"class": "col-6 text-end"
|
|
18739
18743
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18740
18744
|
className: "m-0 p-0 font-weight-500"
|
|
18741
|
-
}, 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", {
|
|
18742
18746
|
"class": "col-lg-12 p-0 my-3"
|
|
18743
18747
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18744
18748
|
style: {
|
|
@@ -18761,7 +18765,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18761
18765
|
"class": "col-6 text-end"
|
|
18762
18766
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18763
18767
|
className: "m-0 p-0 font-weight-500"
|
|
18764
|
-
}, 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", {
|
|
18765
18769
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
18766
18770
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18767
18771
|
"class": ' allcentered cursor-pointer ',
|
|
@@ -18792,6 +18796,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
18792
18796
|
borderRadius: 10,
|
|
18793
18797
|
color: 'white',
|
|
18794
18798
|
background: '#22cd5b'
|
|
18799
|
+
},
|
|
18800
|
+
onClick: function onClick() {
|
|
18801
|
+
// alert(lastOrderinfoObj?.data?.orderinfo?.orderid);
|
|
18795
18802
|
}
|
|
18796
18803
|
}, /*#__PURE__*/React.createElement("a", {
|
|
18797
18804
|
href: langdetect == 'en' ? whatsappUrl_property : whatsappUrl_ar_property,
|
|
@@ -43144,7 +43151,7 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
|
43144
43151
|
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
43145
43152
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
43146
43153
|
}),
|
|
43147
|
-
categorybtn: css(_defineProperty(_defineProperty(_defineProperty({
|
|
43154
|
+
categorybtn: css(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
43148
43155
|
background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'Transparent' : sectionproperties.generalbtn_bgColor,
|
|
43149
43156
|
width: sectionproperties.generalbtn_width + 'px',
|
|
43150
43157
|
height: sectionproperties.generalbtn_height + 'px',
|
|
@@ -43155,7 +43162,7 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
|
43155
43162
|
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
43156
43163
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
43157
43164
|
fontSize: sectionproperties.generalbtn_fontsize + 'px'
|
|
43158
|
-
}, "width", '100%'), "transition", '.3s'), ':hover', {
|
|
43165
|
+
}, "width", '100%'), "transition", '.3s'), "color", sectionproperties.generalbtn_textColor), ':hover', {
|
|
43159
43166
|
background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'Transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
43160
43167
|
color: sectionproperties.generalbtn_textColoronhover
|
|
43161
43168
|
})),
|
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,
|
|
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;
|
|
@@ -18256,7 +18256,10 @@
|
|
|
18256
18256
|
logoarrayofobjects = _useState10[0],
|
|
18257
18257
|
setlogoarrayofobjects = _useState10[1];
|
|
18258
18258
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
18259
|
-
|
|
18259
|
+
var _useState11 = React.useState(null),
|
|
18260
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
18261
|
+
orderId = _useState12[0],
|
|
18262
|
+
setOrderId = _useState12[1];
|
|
18260
18263
|
// useEffect(() => {
|
|
18261
18264
|
// const query = new URLSearchParams(uselocation.search);
|
|
18262
18265
|
// var issuccess = query.get('status');
|
|
@@ -18313,6 +18316,7 @@
|
|
|
18313
18316
|
React.useEffect(function () {
|
|
18314
18317
|
var query = new URLSearchParams(uselocation.search);
|
|
18315
18318
|
var order_id = query.get('order_id');
|
|
18319
|
+
setOrderId(order_id);
|
|
18316
18320
|
if (order_id != undefined && order_id != null && order_id.length != 0) {
|
|
18317
18321
|
GeneralAPIMutationContext.mutate({
|
|
18318
18322
|
endpointurl: '/p_fetchorderinformation',
|
|
@@ -18386,8 +18390,8 @@
|
|
|
18386
18390
|
};
|
|
18387
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));
|
|
18388
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));
|
|
18389
|
-
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(sectionproperties.messagesentinenglish + ' ' +
|
|
18390
|
-
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 + ' ' +
|
|
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(encodeURIComponent(sectionproperties.messagesentinarabic + ' ' + orderId));
|
|
18391
18395
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18392
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 ',
|
|
18393
18397
|
style: {}
|
|
@@ -18436,9 +18440,9 @@
|
|
|
18436
18440
|
style: {
|
|
18437
18441
|
fontSize: 15
|
|
18438
18442
|
}
|
|
18439
|
-
}, "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", {
|
|
18440
18444
|
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
18441
|
-
}, 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", {
|
|
18442
18446
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
18443
18447
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18444
18448
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
@@ -18472,9 +18476,9 @@
|
|
|
18472
18476
|
}
|
|
18473
18477
|
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18474
18478
|
"class": "col-12 p-0 text-start"
|
|
18475
|
-
}, /*#__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", {
|
|
18476
18480
|
"class": "col-12 p-0 text-start"
|
|
18477
|
-
}, /*#__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", {
|
|
18478
18482
|
"class": "col-12 p-0 text-start mb-2"
|
|
18479
18483
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18480
18484
|
style: {
|
|
@@ -18484,7 +18488,7 @@
|
|
|
18484
18488
|
"class": "m-0"
|
|
18485
18489
|
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18486
18490
|
"class": "col-12 p-0 text-start"
|
|
18487
|
-
}, /*#__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", {
|
|
18488
18492
|
"class": "col-6 col-md-12"
|
|
18489
18493
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18490
18494
|
"class": "col-12 p-0 text-start mb-2"
|
|
@@ -18496,7 +18500,7 @@
|
|
|
18496
18500
|
"class": "m-0"
|
|
18497
18501
|
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18498
18502
|
"class": "col-12 p-0 text-start"
|
|
18499
|
-
}, /*#__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", {
|
|
18500
18504
|
"class": "col-6 col-md-12 p-md-0"
|
|
18501
18505
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18502
18506
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -18516,8 +18520,8 @@
|
|
|
18516
18520
|
maxHeight: '40vh',
|
|
18517
18521
|
overflowY: 'auto'
|
|
18518
18522
|
}
|
|
18519
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
18520
|
-
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;
|
|
18521
18525
|
var variantoptions = [];
|
|
18522
18526
|
if (item.isvariant == 1) {
|
|
18523
18527
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -18559,7 +18563,7 @@
|
|
|
18559
18563
|
className: "col-4 d-flex text-end"
|
|
18560
18564
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18561
18565
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
18562
|
-
}, 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", {
|
|
18563
18567
|
"class": "col-12 my-2"
|
|
18564
18568
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18565
18569
|
style: {
|
|
@@ -18583,7 +18587,7 @@
|
|
|
18583
18587
|
"class": "col-6 text-end"
|
|
18584
18588
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18585
18589
|
className: "m-0 p-0 font-weight-500"
|
|
18586
|
-
}, 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", {
|
|
18587
18591
|
"class": "col-lg-12 p-0 mt-1",
|
|
18588
18592
|
style: {
|
|
18589
18593
|
fontSize: 16
|
|
@@ -18598,7 +18602,7 @@
|
|
|
18598
18602
|
"class": "col-6 text-end"
|
|
18599
18603
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18600
18604
|
className: "m-0 p-0 font-weight-500"
|
|
18601
|
-
}, 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", {
|
|
18602
18606
|
"class": "col-lg-12 p-0 my-3"
|
|
18603
18607
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18604
18608
|
style: {
|
|
@@ -18621,7 +18625,7 @@
|
|
|
18621
18625
|
"class": "col-6 text-end"
|
|
18622
18626
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18623
18627
|
className: "m-0 p-0 font-weight-500"
|
|
18624
|
-
}, 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", {
|
|
18625
18629
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
18626
18630
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18627
18631
|
"class": ' allcentered cursor-pointer ',
|
|
@@ -18652,6 +18656,9 @@
|
|
|
18652
18656
|
borderRadius: 10,
|
|
18653
18657
|
color: 'white',
|
|
18654
18658
|
background: '#22cd5b'
|
|
18659
|
+
},
|
|
18660
|
+
onClick: function onClick() {
|
|
18661
|
+
// alert(lastOrderinfoObj?.data?.orderinfo?.orderid);
|
|
18655
18662
|
}
|
|
18656
18663
|
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
18657
18664
|
href: langdetect == 'en' ? whatsappUrl_property : whatsappUrl_ar_property,
|
|
@@ -43004,7 +43011,7 @@
|
|
|
43004
43011
|
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
43005
43012
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
43006
43013
|
}),
|
|
43007
|
-
categorybtn: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
43014
|
+
categorybtn: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
43008
43015
|
background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'Transparent' : sectionproperties.generalbtn_bgColor,
|
|
43009
43016
|
width: sectionproperties.generalbtn_width + 'px',
|
|
43010
43017
|
height: sectionproperties.generalbtn_height + 'px',
|
|
@@ -43015,7 +43022,7 @@
|
|
|
43015
43022
|
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
43016
43023
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
43017
43024
|
fontSize: sectionproperties.generalbtn_fontsize + 'px'
|
|
43018
|
-
}, "width", '100%'), "transition", '.3s'), ':hover', {
|
|
43025
|
+
}, "width", '100%'), "transition", '.3s'), "color", sectionproperties.generalbtn_textColor), ':hover', {
|
|
43019
43026
|
background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'Transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
43020
43027
|
color: sectionproperties.generalbtn_textColoronhover
|
|
43021
43028
|
})),
|