tabexseriescomponents 0.2.862 → 0.2.863
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 +37 -14
- package/dist/index.esm.js +37 -14
- package/dist/index.umd.js +37 -14
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -17251,7 +17251,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
17251
17251
|
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; }
|
|
17252
17252
|
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; }
|
|
17253
17253
|
var OrderSuccess = function OrderSuccess(props) {
|
|
17254
|
-
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2,
|
|
17254
|
+
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _lastOrderinfoObj$dat3, _authdetailsContext$i4, _lastOrderinfoObj$dat4, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat0, _lastOrderinfoObj$dat1, _lastOrderinfoObj$dat10, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19, _lastOrderinfoObj$dat20, _lastOrderinfoObj$dat21, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
17255
17255
|
var lang = props.actions.lang;
|
|
17256
17256
|
var langdetect = props.actions.langdetect;
|
|
17257
17257
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -17418,6 +17418,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17418
17418
|
};
|
|
17419
17419
|
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));
|
|
17420
17420
|
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));
|
|
17421
|
+
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 + (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));
|
|
17422
|
+
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 + (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.orderid));
|
|
17421
17423
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17422
17424
|
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 ',
|
|
17423
17425
|
style: {}
|
|
@@ -17466,9 +17468,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17466
17468
|
style: {
|
|
17467
17469
|
fontSize: 15
|
|
17468
17470
|
}
|
|
17469
|
-
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17471
|
+
}, "Order #", 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.orderid), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17470
17472
|
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
17471
|
-
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17473
|
+
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", 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.customername), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17472
17474
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
17473
17475
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17474
17476
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
@@ -17502,9 +17504,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17502
17504
|
}
|
|
17503
17505
|
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17504
17506
|
"class": "col-12 p-0 text-start"
|
|
17505
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17507
|
+
}, /*#__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.customeremail)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17506
17508
|
"class": "col-12 p-0 text-start"
|
|
17507
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17509
|
+
}, /*#__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.customerphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17508
17510
|
"class": "col-12 p-0 text-start mb-2"
|
|
17509
17511
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17510
17512
|
style: {
|
|
@@ -17514,7 +17516,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17514
17516
|
"class": "m-0"
|
|
17515
17517
|
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17516
17518
|
"class": "col-12 p-0 text-start"
|
|
17517
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17519
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, 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.address)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17518
17520
|
"class": "col-6 col-md-12"
|
|
17519
17521
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17520
17522
|
"class": "col-12 p-0 text-start mb-2"
|
|
@@ -17526,7 +17528,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17526
17528
|
"class": "m-0"
|
|
17527
17529
|
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17528
17530
|
"class": "col-12 p-0 text-start"
|
|
17529
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17531
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat0 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat0 === void 0 || (_lastOrderinfoObj$dat0 = _lastOrderinfoObj$dat0.orderinfo) === null || _lastOrderinfoObj$dat0 === void 0 ? void 0 : _lastOrderinfoObj$dat0.paymentmethod) == 'cod' ? langdetect == 'en' ? 'Cash on delivery' : 'الدفع عند الاستلام' : 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.paymentmethod))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17530
17532
|
"class": "col-6 col-md-12 p-md-0"
|
|
17531
17533
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17532
17534
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -17546,8 +17548,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17546
17548
|
maxHeight: '40vh',
|
|
17547
17549
|
overflowY: 'auto'
|
|
17548
17550
|
}
|
|
17549
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17550
|
-
var _lastOrderinfoObj$
|
|
17551
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat10 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat10 === void 0 ? void 0 : _lastOrderinfoObj$dat10.orderitems.map(function (item, index) {
|
|
17552
|
+
var _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12;
|
|
17551
17553
|
var variantoptions = [];
|
|
17552
17554
|
if (item.isvariant == 1) {
|
|
17553
17555
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -17589,7 +17591,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17589
17591
|
className: "col-4 d-flex text-end"
|
|
17590
17592
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17591
17593
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
17592
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17594
|
+
}, 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 : '', " ", item.finalprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat12 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat12 === void 0 || (_lastOrderinfoObj$dat12 = _lastOrderinfoObj$dat12.orderinfo) === null || _lastOrderinfoObj$dat12 === void 0 ? void 0 : _lastOrderinfoObj$dat12.currencyname_ar : '')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17593
17595
|
"class": "col-12 my-2"
|
|
17594
17596
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17595
17597
|
style: {
|
|
@@ -17613,7 +17615,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17613
17615
|
"class": "col-6 text-end"
|
|
17614
17616
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17615
17617
|
className: "m-0 p-0 font-weight-500"
|
|
17616
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17618
|
+
}, langdetect == 'en' ? 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_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.totalitemsprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat15 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat15 === void 0 || (_lastOrderinfoObj$dat15 = _lastOrderinfoObj$dat15.orderinfo) === null || _lastOrderinfoObj$dat15 === void 0 ? void 0 : _lastOrderinfoObj$dat15.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17617
17619
|
"class": "col-lg-12 p-0 mt-1",
|
|
17618
17620
|
style: {
|
|
17619
17621
|
fontSize: 16
|
|
@@ -17628,7 +17630,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17628
17630
|
"class": "col-6 text-end"
|
|
17629
17631
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17630
17632
|
className: "m-0 p-0 font-weight-500"
|
|
17631
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17633
|
+
}, langdetect == 'en' ? 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_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat17 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat17 === void 0 ? void 0 : _lastOrderinfoObj$dat17.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat18 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat18 === void 0 || (_lastOrderinfoObj$dat18 = _lastOrderinfoObj$dat18.orderinfo) === null || _lastOrderinfoObj$dat18 === void 0 ? void 0 : _lastOrderinfoObj$dat18.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17632
17634
|
"class": "col-lg-12 p-0 my-3"
|
|
17633
17635
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17634
17636
|
style: {
|
|
@@ -17651,7 +17653,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17651
17653
|
"class": "col-6 text-end"
|
|
17652
17654
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17653
17655
|
className: "m-0 p-0 font-weight-500"
|
|
17654
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17656
|
+
}, langdetect == 'en' ? 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_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat20 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat20 === void 0 ? void 0 : _lastOrderinfoObj$dat20.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat21 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat21 === void 0 || (_lastOrderinfoObj$dat21 = _lastOrderinfoObj$dat21.orderinfo) === null || _lastOrderinfoObj$dat21 === void 0 ? void 0 : _lastOrderinfoObj$dat21.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", {
|
|
17655
17657
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
17656
17658
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17657
17659
|
"class": ' allcentered cursor-pointer ',
|
|
@@ -17672,7 +17674,28 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17672
17674
|
}
|
|
17673
17675
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
17674
17676
|
"class": ''
|
|
17675
|
-
}, 'Send it to whatsApp')))),
|
|
17677
|
+
}, 'Send it to whatsApp')))), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17678
|
+
"class": "col-12 allcentered mt-5 mb-3"
|
|
17679
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17680
|
+
"class": ' allcentered cursor-pointer ',
|
|
17681
|
+
style: {
|
|
17682
|
+
width: '200px',
|
|
17683
|
+
height: 40,
|
|
17684
|
+
borderRadius: 10,
|
|
17685
|
+
color: 'white',
|
|
17686
|
+
background: '#22cd5b'
|
|
17687
|
+
}
|
|
17688
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
17689
|
+
href: langdetect == 'en' ? whatsappUrl_property : whatsappUrl_ar_property,
|
|
17690
|
+
target: "_blank",
|
|
17691
|
+
rel: "noopener noreferrer",
|
|
17692
|
+
"class": ' allcentered cursor-pointer ',
|
|
17693
|
+
style: {
|
|
17694
|
+
color: 'white'
|
|
17695
|
+
}
|
|
17696
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
17697
|
+
"class": ''
|
|
17698
|
+
}, 'Send it to whatsApp')))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '681d303ba75f2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17676
17699
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
17677
17700
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17678
17701
|
"class": ' allcentered cursor-pointer ',
|
package/dist/index.esm.js
CHANGED
|
@@ -17201,7 +17201,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
17201
17201
|
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; }
|
|
17202
17202
|
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; }
|
|
17203
17203
|
var OrderSuccess = function OrderSuccess(props) {
|
|
17204
|
-
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2,
|
|
17204
|
+
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _lastOrderinfoObj$dat3, _authdetailsContext$i4, _lastOrderinfoObj$dat4, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat0, _lastOrderinfoObj$dat1, _lastOrderinfoObj$dat10, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19, _lastOrderinfoObj$dat20, _lastOrderinfoObj$dat21, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
17205
17205
|
var lang = props.actions.lang;
|
|
17206
17206
|
var langdetect = props.actions.langdetect;
|
|
17207
17207
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -17368,6 +17368,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17368
17368
|
};
|
|
17369
17369
|
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));
|
|
17370
17370
|
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));
|
|
17371
|
+
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 + (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));
|
|
17372
|
+
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 + (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.orderid));
|
|
17371
17373
|
return /*#__PURE__*/React.createElement("div", {
|
|
17372
17374
|
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 ',
|
|
17373
17375
|
style: {}
|
|
@@ -17416,9 +17418,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17416
17418
|
style: {
|
|
17417
17419
|
fontSize: 15
|
|
17418
17420
|
}
|
|
17419
|
-
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17421
|
+
}, "Order #", 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.orderid), /*#__PURE__*/React.createElement("div", {
|
|
17420
17422
|
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
17421
|
-
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17423
|
+
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", 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.customername), /*#__PURE__*/React.createElement("div", {
|
|
17422
17424
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
17423
17425
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React.createElement("div", {
|
|
17424
17426
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
@@ -17452,9 +17454,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17452
17454
|
}
|
|
17453
17455
|
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React.createElement("div", {
|
|
17454
17456
|
"class": "col-12 p-0 text-start"
|
|
17455
|
-
}, /*#__PURE__*/React.createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17457
|
+
}, /*#__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.customeremail)), /*#__PURE__*/React.createElement("div", {
|
|
17456
17458
|
"class": "col-12 p-0 text-start"
|
|
17457
|
-
}, /*#__PURE__*/React.createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17459
|
+
}, /*#__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.customerphonenumber)), /*#__PURE__*/React.createElement("div", {
|
|
17458
17460
|
"class": "col-12 p-0 text-start mb-2"
|
|
17459
17461
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17460
17462
|
style: {
|
|
@@ -17464,7 +17466,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17464
17466
|
"class": "m-0"
|
|
17465
17467
|
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React.createElement("div", {
|
|
17466
17468
|
"class": "col-12 p-0 text-start"
|
|
17467
|
-
}, /*#__PURE__*/React.createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17469
|
+
}, /*#__PURE__*/React.createElement("p", null, 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.address)))), /*#__PURE__*/React.createElement("div", {
|
|
17468
17470
|
"class": "col-6 col-md-12"
|
|
17469
17471
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17470
17472
|
"class": "col-12 p-0 text-start mb-2"
|
|
@@ -17476,7 +17478,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17476
17478
|
"class": "m-0"
|
|
17477
17479
|
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React.createElement("div", {
|
|
17478
17480
|
"class": "col-12 p-0 text-start"
|
|
17479
|
-
}, /*#__PURE__*/React.createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17481
|
+
}, /*#__PURE__*/React.createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat0 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat0 === void 0 || (_lastOrderinfoObj$dat0 = _lastOrderinfoObj$dat0.orderinfo) === null || _lastOrderinfoObj$dat0 === void 0 ? void 0 : _lastOrderinfoObj$dat0.paymentmethod) == 'cod' ? langdetect == 'en' ? 'Cash on delivery' : 'الدفع عند الاستلام' : 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.paymentmethod))))))), /*#__PURE__*/React.createElement("div", {
|
|
17480
17482
|
"class": "col-6 col-md-12 p-md-0"
|
|
17481
17483
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17482
17484
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -17496,8 +17498,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17496
17498
|
maxHeight: '40vh',
|
|
17497
17499
|
overflowY: 'auto'
|
|
17498
17500
|
}
|
|
17499
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17500
|
-
var _lastOrderinfoObj$
|
|
17501
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat10 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat10 === void 0 ? void 0 : _lastOrderinfoObj$dat10.orderitems.map(function (item, index) {
|
|
17502
|
+
var _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12;
|
|
17501
17503
|
var variantoptions = [];
|
|
17502
17504
|
if (item.isvariant == 1) {
|
|
17503
17505
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -17539,7 +17541,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17539
17541
|
className: "col-4 d-flex text-end"
|
|
17540
17542
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17541
17543
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
17542
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17544
|
+
}, 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 : '', " ", item.finalprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat12 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat12 === void 0 || (_lastOrderinfoObj$dat12 = _lastOrderinfoObj$dat12.orderinfo) === null || _lastOrderinfoObj$dat12 === void 0 ? void 0 : _lastOrderinfoObj$dat12.currencyname_ar : '')), /*#__PURE__*/React.createElement("div", {
|
|
17543
17545
|
"class": "col-12 my-2"
|
|
17544
17546
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17545
17547
|
style: {
|
|
@@ -17563,7 +17565,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17563
17565
|
"class": "col-6 text-end"
|
|
17564
17566
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17565
17567
|
className: "m-0 p-0 font-weight-500"
|
|
17566
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17568
|
+
}, langdetect == 'en' ? 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_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.totalitemsprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat15 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat15 === void 0 || (_lastOrderinfoObj$dat15 = _lastOrderinfoObj$dat15.orderinfo) === null || _lastOrderinfoObj$dat15 === void 0 ? void 0 : _lastOrderinfoObj$dat15.currencyname_ar : '')))), /*#__PURE__*/React.createElement("div", {
|
|
17567
17569
|
"class": "col-lg-12 p-0 mt-1",
|
|
17568
17570
|
style: {
|
|
17569
17571
|
fontSize: 16
|
|
@@ -17578,7 +17580,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17578
17580
|
"class": "col-6 text-end"
|
|
17579
17581
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17580
17582
|
className: "m-0 p-0 font-weight-500"
|
|
17581
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17583
|
+
}, langdetect == 'en' ? 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_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat17 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat17 === void 0 ? void 0 : _lastOrderinfoObj$dat17.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat18 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat18 === void 0 || (_lastOrderinfoObj$dat18 = _lastOrderinfoObj$dat18.orderinfo) === null || _lastOrderinfoObj$dat18 === void 0 ? void 0 : _lastOrderinfoObj$dat18.currencyname_ar : '')))), /*#__PURE__*/React.createElement("div", {
|
|
17582
17584
|
"class": "col-lg-12 p-0 my-3"
|
|
17583
17585
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17584
17586
|
style: {
|
|
@@ -17601,7 +17603,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17601
17603
|
"class": "col-6 text-end"
|
|
17602
17604
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17603
17605
|
className: "m-0 p-0 font-weight-500"
|
|
17604
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17606
|
+
}, langdetect == 'en' ? 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_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat20 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat20 === void 0 ? void 0 : _lastOrderinfoObj$dat20.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat21 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat21 === void 0 || (_lastOrderinfoObj$dat21 = _lastOrderinfoObj$dat21.orderinfo) === null || _lastOrderinfoObj$dat21 === void 0 ? void 0 : _lastOrderinfoObj$dat21.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", {
|
|
17605
17607
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
17606
17608
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17607
17609
|
"class": ' allcentered cursor-pointer ',
|
|
@@ -17622,7 +17624,28 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17622
17624
|
}
|
|
17623
17625
|
}, /*#__PURE__*/React.createElement("span", {
|
|
17624
17626
|
"class": ''
|
|
17625
|
-
}, 'Send it to whatsApp')))),
|
|
17627
|
+
}, 'Send it to whatsApp')))), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17628
|
+
"class": "col-12 allcentered mt-5 mb-3"
|
|
17629
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
17630
|
+
"class": ' allcentered cursor-pointer ',
|
|
17631
|
+
style: {
|
|
17632
|
+
width: '200px',
|
|
17633
|
+
height: 40,
|
|
17634
|
+
borderRadius: 10,
|
|
17635
|
+
color: 'white',
|
|
17636
|
+
background: '#22cd5b'
|
|
17637
|
+
}
|
|
17638
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
17639
|
+
href: langdetect == 'en' ? whatsappUrl_property : whatsappUrl_ar_property,
|
|
17640
|
+
target: "_blank",
|
|
17641
|
+
rel: "noopener noreferrer",
|
|
17642
|
+
"class": ' allcentered cursor-pointer ',
|
|
17643
|
+
style: {
|
|
17644
|
+
color: 'white'
|
|
17645
|
+
}
|
|
17646
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
17647
|
+
"class": ''
|
|
17648
|
+
}, 'Send it to whatsApp')))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '681d303ba75f2' && /*#__PURE__*/React.createElement("div", {
|
|
17626
17649
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
17627
17650
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17628
17651
|
"class": ' allcentered cursor-pointer ',
|
package/dist/index.umd.js
CHANGED
|
@@ -17061,7 +17061,7 @@
|
|
|
17061
17061
|
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; }
|
|
17062
17062
|
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; }
|
|
17063
17063
|
var OrderSuccess = function OrderSuccess(props) {
|
|
17064
|
-
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2,
|
|
17064
|
+
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _lastOrderinfoObj$dat3, _authdetailsContext$i4, _lastOrderinfoObj$dat4, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat0, _lastOrderinfoObj$dat1, _lastOrderinfoObj$dat10, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19, _lastOrderinfoObj$dat20, _lastOrderinfoObj$dat21, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
17065
17065
|
var lang = props.actions.lang;
|
|
17066
17066
|
var langdetect = props.actions.langdetect;
|
|
17067
17067
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -17228,6 +17228,8 @@
|
|
|
17228
17228
|
};
|
|
17229
17229
|
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));
|
|
17230
17230
|
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));
|
|
17231
|
+
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 + (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));
|
|
17232
|
+
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 + (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.orderid));
|
|
17231
17233
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17232
17234
|
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 ',
|
|
17233
17235
|
style: {}
|
|
@@ -17276,9 +17278,9 @@
|
|
|
17276
17278
|
style: {
|
|
17277
17279
|
fontSize: 15
|
|
17278
17280
|
}
|
|
17279
|
-
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17281
|
+
}, "Order #", 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.orderid), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17280
17282
|
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
17281
|
-
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17283
|
+
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", 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.customername), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17282
17284
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
17283
17285
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17284
17286
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
@@ -17312,9 +17314,9 @@
|
|
|
17312
17314
|
}
|
|
17313
17315
|
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17314
17316
|
"class": "col-12 p-0 text-start"
|
|
17315
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17317
|
+
}, /*#__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.customeremail)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17316
17318
|
"class": "col-12 p-0 text-start"
|
|
17317
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17319
|
+
}, /*#__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.customerphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17318
17320
|
"class": "col-12 p-0 text-start mb-2"
|
|
17319
17321
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17320
17322
|
style: {
|
|
@@ -17324,7 +17326,7 @@
|
|
|
17324
17326
|
"class": "m-0"
|
|
17325
17327
|
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17326
17328
|
"class": "col-12 p-0 text-start"
|
|
17327
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17329
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, 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.address)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17328
17330
|
"class": "col-6 col-md-12"
|
|
17329
17331
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17330
17332
|
"class": "col-12 p-0 text-start mb-2"
|
|
@@ -17336,7 +17338,7 @@
|
|
|
17336
17338
|
"class": "m-0"
|
|
17337
17339
|
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17338
17340
|
"class": "col-12 p-0 text-start"
|
|
17339
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17341
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat0 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat0 === void 0 || (_lastOrderinfoObj$dat0 = _lastOrderinfoObj$dat0.orderinfo) === null || _lastOrderinfoObj$dat0 === void 0 ? void 0 : _lastOrderinfoObj$dat0.paymentmethod) == 'cod' ? langdetect == 'en' ? 'Cash on delivery' : 'الدفع عند الاستلام' : 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.paymentmethod))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17340
17342
|
"class": "col-6 col-md-12 p-md-0"
|
|
17341
17343
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17342
17344
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -17356,8 +17358,8 @@
|
|
|
17356
17358
|
maxHeight: '40vh',
|
|
17357
17359
|
overflowY: 'auto'
|
|
17358
17360
|
}
|
|
17359
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17360
|
-
var _lastOrderinfoObj$
|
|
17361
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat10 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat10 === void 0 ? void 0 : _lastOrderinfoObj$dat10.orderitems.map(function (item, index) {
|
|
17362
|
+
var _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12;
|
|
17361
17363
|
var variantoptions = [];
|
|
17362
17364
|
if (item.isvariant == 1) {
|
|
17363
17365
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -17399,7 +17401,7 @@
|
|
|
17399
17401
|
className: "col-4 d-flex text-end"
|
|
17400
17402
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17401
17403
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
17402
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17404
|
+
}, 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 : '', " ", item.finalprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat12 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat12 === void 0 || (_lastOrderinfoObj$dat12 = _lastOrderinfoObj$dat12.orderinfo) === null || _lastOrderinfoObj$dat12 === void 0 ? void 0 : _lastOrderinfoObj$dat12.currencyname_ar : '')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17403
17405
|
"class": "col-12 my-2"
|
|
17404
17406
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17405
17407
|
style: {
|
|
@@ -17423,7 +17425,7 @@
|
|
|
17423
17425
|
"class": "col-6 text-end"
|
|
17424
17426
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17425
17427
|
className: "m-0 p-0 font-weight-500"
|
|
17426
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17428
|
+
}, langdetect == 'en' ? 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_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.totalitemsprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat15 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat15 === void 0 || (_lastOrderinfoObj$dat15 = _lastOrderinfoObj$dat15.orderinfo) === null || _lastOrderinfoObj$dat15 === void 0 ? void 0 : _lastOrderinfoObj$dat15.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17427
17429
|
"class": "col-lg-12 p-0 mt-1",
|
|
17428
17430
|
style: {
|
|
17429
17431
|
fontSize: 16
|
|
@@ -17438,7 +17440,7 @@
|
|
|
17438
17440
|
"class": "col-6 text-end"
|
|
17439
17441
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17440
17442
|
className: "m-0 p-0 font-weight-500"
|
|
17441
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17443
|
+
}, langdetect == 'en' ? 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_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat17 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat17 === void 0 ? void 0 : _lastOrderinfoObj$dat17.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat18 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat18 === void 0 || (_lastOrderinfoObj$dat18 = _lastOrderinfoObj$dat18.orderinfo) === null || _lastOrderinfoObj$dat18 === void 0 ? void 0 : _lastOrderinfoObj$dat18.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17442
17444
|
"class": "col-lg-12 p-0 my-3"
|
|
17443
17445
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17444
17446
|
style: {
|
|
@@ -17461,7 +17463,7 @@
|
|
|
17461
17463
|
"class": "col-6 text-end"
|
|
17462
17464
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17463
17465
|
className: "m-0 p-0 font-weight-500"
|
|
17464
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17466
|
+
}, langdetect == 'en' ? 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_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat20 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat20 === void 0 ? void 0 : _lastOrderinfoObj$dat20.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat21 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat21 === void 0 || (_lastOrderinfoObj$dat21 = _lastOrderinfoObj$dat21.orderinfo) === null || _lastOrderinfoObj$dat21 === void 0 ? void 0 : _lastOrderinfoObj$dat21.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", {
|
|
17465
17467
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
17466
17468
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17467
17469
|
"class": ' allcentered cursor-pointer ',
|
|
@@ -17482,7 +17484,28 @@
|
|
|
17482
17484
|
}
|
|
17483
17485
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
17484
17486
|
"class": ''
|
|
17485
|
-
}, 'Send it to whatsApp')))),
|
|
17487
|
+
}, 'Send it to whatsApp')))), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17488
|
+
"class": "col-12 allcentered mt-5 mb-3"
|
|
17489
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17490
|
+
"class": ' allcentered cursor-pointer ',
|
|
17491
|
+
style: {
|
|
17492
|
+
width: '200px',
|
|
17493
|
+
height: 40,
|
|
17494
|
+
borderRadius: 10,
|
|
17495
|
+
color: 'white',
|
|
17496
|
+
background: '#22cd5b'
|
|
17497
|
+
}
|
|
17498
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
17499
|
+
href: langdetect == 'en' ? whatsappUrl_property : whatsappUrl_ar_property,
|
|
17500
|
+
target: "_blank",
|
|
17501
|
+
rel: "noopener noreferrer",
|
|
17502
|
+
"class": ' allcentered cursor-pointer ',
|
|
17503
|
+
style: {
|
|
17504
|
+
color: 'white'
|
|
17505
|
+
}
|
|
17506
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
17507
|
+
"class": ''
|
|
17508
|
+
}, 'Send it to whatsApp')))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '681d303ba75f2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17486
17509
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
17487
17510
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17488
17511
|
"class": ' allcentered cursor-pointer ',
|