tabexseriescomponents 0.2.995 → 0.2.997
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 +32 -12
- package/dist/index.esm.js +32 -12
- package/dist/index.umd.js +32 -12
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4933,7 +4933,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4933
4933
|
}
|
|
4934
4934
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4935
4935
|
"class": "col-6 col-md-12 mt-5"
|
|
4936
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4936
|
+
}, productVideos.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4937
4937
|
className: "w-100",
|
|
4938
4938
|
style: {
|
|
4939
4939
|
height: 400
|
|
@@ -19172,7 +19172,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
19172
19172
|
function ownKeys$2m(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; }
|
|
19173
19173
|
function _objectSpread$2m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19174
19174
|
var OrderSuccess = function OrderSuccess(props) {
|
|
19175
|
-
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$
|
|
19175
|
+
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat3, _lastOrderinfoObj$dat4, _authdetailsContext$i5, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat0, _lastOrderinfoObj$dat1, _lastOrderinfoObj$dat10, _authdetailsContext$i9, _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19, _lastOrderinfoObj$dat20, _lastOrderinfoObj$dat21, _lastOrderinfoObj$dat22, _lastOrderinfoObj$dat23, _lastOrderinfoObj$dat24, _lastOrderinfoObj$dat25, _authdetailsContext$i0;
|
|
19176
19176
|
var lang = props.actions.lang;
|
|
19177
19177
|
var langdetect = props.actions.langdetect;
|
|
19178
19178
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -19414,7 +19414,21 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19414
19414
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
19415
19415
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19416
19416
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
19417
|
-
}, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19417
|
+
}, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19418
|
+
"class": "col-12 allcentered mt-5 mb-3"
|
|
19419
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19420
|
+
"class": ordersuccessstyle.whatsappbtn + ' allcentered cursor-pointer ',
|
|
19421
|
+
style: {}
|
|
19422
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
19423
|
+
href: langdetect == 'en' ? whatsappUrl_property : whatsappUrl_ar_property,
|
|
19424
|
+
target: "_blank",
|
|
19425
|
+
rel: "noopener noreferrer",
|
|
19426
|
+
"class": ordersuccessstyle.whatsappbtntext + ' whatsappbtntext allcentered cursor-pointer '
|
|
19427
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19428
|
+
style: {
|
|
19429
|
+
fontSize: sectionproperties.youtubebtniconfontsize + 'px'
|
|
19430
|
+
}
|
|
19431
|
+
}, langdetect == 'en' ? sectionproperties.whatsappbtncontenten : sectionproperties.whatsappbtncontentar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19418
19432
|
"class": "col-lg-12 p-0 mt-4",
|
|
19419
19433
|
style: {
|
|
19420
19434
|
border: '1px solid #ccc',
|
|
@@ -19460,15 +19474,21 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19460
19474
|
"class": "col-6 col-md-12"
|
|
19461
19475
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19462
19476
|
"class": "col-12 p-0 text-start mb-2"
|
|
19463
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19477
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19478
|
+
style: {
|
|
19479
|
+
fontSize: 15,
|
|
19480
|
+
fontWeight: 600
|
|
19481
|
+
},
|
|
19482
|
+
"class": "m-0"
|
|
19483
|
+
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19464
19484
|
style: {
|
|
19465
19485
|
fontSize: 15,
|
|
19466
19486
|
fontWeight: 600
|
|
19467
19487
|
},
|
|
19468
19488
|
"class": "m-0"
|
|
19469
|
-
}, langdetect == 'en' ? '
|
|
19489
|
+
}, langdetect == 'en' ? 'Total' : 'الإجمالي')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19470
19490
|
"class": "col-12 p-0 text-start"
|
|
19471
|
-
}, /*#__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", {
|
|
19491
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) != '67e448d2ef6e0' && /*#__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, ' ', "(", langdetect == 'en' ? 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.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat1 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat1 === void 0 ? void 0 : _lastOrderinfoObj$dat1.totalorderfees, ' ', 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 : '', ")"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("p", null, "(", 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.totalorderfees, ' ', 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", {
|
|
19472
19492
|
"class": "col-6 col-md-12 p-md-0"
|
|
19473
19493
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19474
19494
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -19488,8 +19508,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19488
19508
|
maxHeight: '40vh',
|
|
19489
19509
|
overflowY: 'auto'
|
|
19490
19510
|
}
|
|
19491
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19492
|
-
var _lastOrderinfoObj$
|
|
19511
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.orderitems.map(function (item, index) {
|
|
19512
|
+
var _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16;
|
|
19493
19513
|
var variantoptions = [];
|
|
19494
19514
|
if (item.isvariant == 1) {
|
|
19495
19515
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -19531,7 +19551,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19531
19551
|
className: "col-4 d-flex text-end"
|
|
19532
19552
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19533
19553
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
19534
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19554
|
+
}, langdetect == 'en' ? 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_en : '', " ", item.finalprice, ' ', 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", {
|
|
19535
19555
|
"class": "col-12 my-2"
|
|
19536
19556
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19537
19557
|
style: {
|
|
@@ -19555,7 +19575,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19555
19575
|
"class": "col-6 text-end"
|
|
19556
19576
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19557
19577
|
className: "m-0 p-0 font-weight-500"
|
|
19558
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19578
|
+
}, 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.totalitemsprice, ' ', 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 : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19559
19579
|
"class": "col-lg-12 p-0 mt-1",
|
|
19560
19580
|
style: {
|
|
19561
19581
|
fontSize: 16
|
|
@@ -19570,7 +19590,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19570
19590
|
"class": "col-6 text-end"
|
|
19571
19591
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19572
19592
|
className: "m-0 p-0 font-weight-500"
|
|
19573
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19593
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat20 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat20 === void 0 || (_lastOrderinfoObj$dat20 = _lastOrderinfoObj$dat20.orderinfo) === null || _lastOrderinfoObj$dat20 === void 0 ? void 0 : _lastOrderinfoObj$dat20.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat21 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat21 === void 0 ? void 0 : _lastOrderinfoObj$dat21.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat22 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat22 === void 0 || (_lastOrderinfoObj$dat22 = _lastOrderinfoObj$dat22.orderinfo) === null || _lastOrderinfoObj$dat22 === void 0 ? void 0 : _lastOrderinfoObj$dat22.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19574
19594
|
"class": "col-lg-12 p-0 my-3"
|
|
19575
19595
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19576
19596
|
style: {
|
|
@@ -19593,7 +19613,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19593
19613
|
"class": "col-6 text-end"
|
|
19594
19614
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19595
19615
|
className: "m-0 p-0 font-weight-500"
|
|
19596
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19616
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat23 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat23 === void 0 || (_lastOrderinfoObj$dat23 = _lastOrderinfoObj$dat23.orderinfo) === null || _lastOrderinfoObj$dat23 === void 0 ? void 0 : _lastOrderinfoObj$dat23.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat24 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat24 === void 0 ? void 0 : _lastOrderinfoObj$dat24.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat25 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat25 === void 0 || (_lastOrderinfoObj$dat25 = _lastOrderinfoObj$dat25.orderinfo) === null || _lastOrderinfoObj$dat25 === void 0 ? void 0 : _lastOrderinfoObj$dat25.currencyname_ar : '')))))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19597
19617
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
19598
19618
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19599
19619
|
"class": ordersuccessstyle.whatsappbtn + ' allcentered cursor-pointer ',
|
package/dist/index.esm.js
CHANGED
|
@@ -4882,7 +4882,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4882
4882
|
}
|
|
4883
4883
|
})), /*#__PURE__*/React.createElement("div", {
|
|
4884
4884
|
"class": "col-6 col-md-12 mt-5"
|
|
4885
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
4885
|
+
}, productVideos.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
4886
4886
|
className: "w-100",
|
|
4887
4887
|
style: {
|
|
4888
4888
|
height: 400
|
|
@@ -19121,7 +19121,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
19121
19121
|
function ownKeys$2m(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; }
|
|
19122
19122
|
function _objectSpread$2m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2m(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19123
19123
|
var OrderSuccess = function OrderSuccess(props) {
|
|
19124
|
-
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$
|
|
19124
|
+
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat3, _lastOrderinfoObj$dat4, _authdetailsContext$i5, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat0, _lastOrderinfoObj$dat1, _lastOrderinfoObj$dat10, _authdetailsContext$i9, _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19, _lastOrderinfoObj$dat20, _lastOrderinfoObj$dat21, _lastOrderinfoObj$dat22, _lastOrderinfoObj$dat23, _lastOrderinfoObj$dat24, _lastOrderinfoObj$dat25, _authdetailsContext$i0;
|
|
19125
19125
|
var lang = props.actions.lang;
|
|
19126
19126
|
var langdetect = props.actions.langdetect;
|
|
19127
19127
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -19363,7 +19363,21 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19363
19363
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
19364
19364
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React.createElement("div", {
|
|
19365
19365
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
19366
|
-
}, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), /*#__PURE__*/React.createElement("div", {
|
|
19366
|
+
}, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '67e448d2ef6e0' && /*#__PURE__*/React.createElement("div", {
|
|
19367
|
+
"class": "col-12 allcentered mt-5 mb-3"
|
|
19368
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
19369
|
+
"class": ordersuccessstyle.whatsappbtn + ' allcentered cursor-pointer ',
|
|
19370
|
+
style: {}
|
|
19371
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
19372
|
+
href: langdetect == 'en' ? whatsappUrl_property : whatsappUrl_ar_property,
|
|
19373
|
+
target: "_blank",
|
|
19374
|
+
rel: "noopener noreferrer",
|
|
19375
|
+
"class": ordersuccessstyle.whatsappbtntext + ' whatsappbtntext allcentered cursor-pointer '
|
|
19376
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
19377
|
+
style: {
|
|
19378
|
+
fontSize: sectionproperties.youtubebtniconfontsize + 'px'
|
|
19379
|
+
}
|
|
19380
|
+
}, langdetect == 'en' ? sectionproperties.whatsappbtncontenten : sectionproperties.whatsappbtncontentar)))), /*#__PURE__*/React.createElement("div", {
|
|
19367
19381
|
"class": "col-lg-12 p-0 mt-4",
|
|
19368
19382
|
style: {
|
|
19369
19383
|
border: '1px solid #ccc',
|
|
@@ -19409,15 +19423,21 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19409
19423
|
"class": "col-6 col-md-12"
|
|
19410
19424
|
}, /*#__PURE__*/React.createElement("div", {
|
|
19411
19425
|
"class": "col-12 p-0 text-start mb-2"
|
|
19412
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
19426
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) != '67e448d2ef6e0' && /*#__PURE__*/React.createElement("p", {
|
|
19427
|
+
style: {
|
|
19428
|
+
fontSize: 15,
|
|
19429
|
+
fontWeight: 600
|
|
19430
|
+
},
|
|
19431
|
+
"class": "m-0"
|
|
19432
|
+
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '67e448d2ef6e0' && /*#__PURE__*/React.createElement("p", {
|
|
19413
19433
|
style: {
|
|
19414
19434
|
fontSize: 15,
|
|
19415
19435
|
fontWeight: 600
|
|
19416
19436
|
},
|
|
19417
19437
|
"class": "m-0"
|
|
19418
|
-
}, langdetect == 'en' ? '
|
|
19438
|
+
}, langdetect == 'en' ? 'Total' : 'الإجمالي')), /*#__PURE__*/React.createElement("div", {
|
|
19419
19439
|
"class": "col-12 p-0 text-start"
|
|
19420
|
-
}, /*#__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", {
|
|
19440
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) != '67e448d2ef6e0' && /*#__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, ' ', "(", langdetect == 'en' ? 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.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat1 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat1 === void 0 ? void 0 : _lastOrderinfoObj$dat1.totalorderfees, ' ', 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 : '', ")"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '67e448d2ef6e0' && /*#__PURE__*/React.createElement("p", null, "(", 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.totalorderfees, ' ', 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", {
|
|
19421
19441
|
"class": "col-6 col-md-12 p-md-0"
|
|
19422
19442
|
}, /*#__PURE__*/React.createElement("div", {
|
|
19423
19443
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -19437,8 +19457,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19437
19457
|
maxHeight: '40vh',
|
|
19438
19458
|
overflowY: 'auto'
|
|
19439
19459
|
}
|
|
19440
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19441
|
-
var _lastOrderinfoObj$
|
|
19460
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.orderitems.map(function (item, index) {
|
|
19461
|
+
var _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16;
|
|
19442
19462
|
var variantoptions = [];
|
|
19443
19463
|
if (item.isvariant == 1) {
|
|
19444
19464
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -19480,7 +19500,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19480
19500
|
className: "col-4 d-flex text-end"
|
|
19481
19501
|
}, /*#__PURE__*/React.createElement("p", {
|
|
19482
19502
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
19483
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19503
|
+
}, langdetect == 'en' ? 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_en : '', " ", item.finalprice, ' ', 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", {
|
|
19484
19504
|
"class": "col-12 my-2"
|
|
19485
19505
|
}, /*#__PURE__*/React.createElement("div", {
|
|
19486
19506
|
style: {
|
|
@@ -19504,7 +19524,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19504
19524
|
"class": "col-6 text-end"
|
|
19505
19525
|
}, /*#__PURE__*/React.createElement("p", {
|
|
19506
19526
|
className: "m-0 p-0 font-weight-500"
|
|
19507
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19527
|
+
}, 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.totalitemsprice, ' ', 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 : '')))), /*#__PURE__*/React.createElement("div", {
|
|
19508
19528
|
"class": "col-lg-12 p-0 mt-1",
|
|
19509
19529
|
style: {
|
|
19510
19530
|
fontSize: 16
|
|
@@ -19519,7 +19539,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19519
19539
|
"class": "col-6 text-end"
|
|
19520
19540
|
}, /*#__PURE__*/React.createElement("p", {
|
|
19521
19541
|
className: "m-0 p-0 font-weight-500"
|
|
19522
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19542
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat20 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat20 === void 0 || (_lastOrderinfoObj$dat20 = _lastOrderinfoObj$dat20.orderinfo) === null || _lastOrderinfoObj$dat20 === void 0 ? void 0 : _lastOrderinfoObj$dat20.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat21 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat21 === void 0 ? void 0 : _lastOrderinfoObj$dat21.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat22 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat22 === void 0 || (_lastOrderinfoObj$dat22 = _lastOrderinfoObj$dat22.orderinfo) === null || _lastOrderinfoObj$dat22 === void 0 ? void 0 : _lastOrderinfoObj$dat22.currencyname_ar : '')))), /*#__PURE__*/React.createElement("div", {
|
|
19523
19543
|
"class": "col-lg-12 p-0 my-3"
|
|
19524
19544
|
}, /*#__PURE__*/React.createElement("div", {
|
|
19525
19545
|
style: {
|
|
@@ -19542,7 +19562,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
19542
19562
|
"class": "col-6 text-end"
|
|
19543
19563
|
}, /*#__PURE__*/React.createElement("p", {
|
|
19544
19564
|
className: "m-0 p-0 font-weight-500"
|
|
19545
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19565
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat23 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat23 === void 0 || (_lastOrderinfoObj$dat23 = _lastOrderinfoObj$dat23.orderinfo) === null || _lastOrderinfoObj$dat23 === void 0 ? void 0 : _lastOrderinfoObj$dat23.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat24 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat24 === void 0 ? void 0 : _lastOrderinfoObj$dat24.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat25 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat25 === void 0 || (_lastOrderinfoObj$dat25 = _lastOrderinfoObj$dat25.orderinfo) === null || _lastOrderinfoObj$dat25 === void 0 ? void 0 : _lastOrderinfoObj$dat25.currencyname_ar : '')))))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) != '67e448d2ef6e0' && /*#__PURE__*/React.createElement("div", {
|
|
19546
19566
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
19547
19567
|
}, /*#__PURE__*/React.createElement("div", {
|
|
19548
19568
|
"class": ordersuccessstyle.whatsappbtn + ' allcentered cursor-pointer ',
|
package/dist/index.umd.js
CHANGED
|
@@ -4742,7 +4742,7 @@
|
|
|
4742
4742
|
}
|
|
4743
4743
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4744
4744
|
"class": "col-6 col-md-12 mt-5"
|
|
4745
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4745
|
+
}, productVideos.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4746
4746
|
className: "w-100",
|
|
4747
4747
|
style: {
|
|
4748
4748
|
height: 400
|
|
@@ -18981,7 +18981,7 @@
|
|
|
18981
18981
|
function ownKeys$2m(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; }
|
|
18982
18982
|
function _objectSpread$2m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18983
18983
|
var OrderSuccess = function OrderSuccess(props) {
|
|
18984
|
-
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$
|
|
18984
|
+
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat3, _lastOrderinfoObj$dat4, _authdetailsContext$i5, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat0, _lastOrderinfoObj$dat1, _lastOrderinfoObj$dat10, _authdetailsContext$i9, _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19, _lastOrderinfoObj$dat20, _lastOrderinfoObj$dat21, _lastOrderinfoObj$dat22, _lastOrderinfoObj$dat23, _lastOrderinfoObj$dat24, _lastOrderinfoObj$dat25, _authdetailsContext$i0;
|
|
18985
18985
|
var lang = props.actions.lang;
|
|
18986
18986
|
var langdetect = props.actions.langdetect;
|
|
18987
18987
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -19223,7 +19223,21 @@
|
|
|
19223
19223
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
19224
19224
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19225
19225
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
19226
|
-
}, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19226
|
+
}, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19227
|
+
"class": "col-12 allcentered mt-5 mb-3"
|
|
19228
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19229
|
+
"class": ordersuccessstyle.whatsappbtn + ' allcentered cursor-pointer ',
|
|
19230
|
+
style: {}
|
|
19231
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
19232
|
+
href: langdetect == 'en' ? whatsappUrl_property : whatsappUrl_ar_property,
|
|
19233
|
+
target: "_blank",
|
|
19234
|
+
rel: "noopener noreferrer",
|
|
19235
|
+
"class": ordersuccessstyle.whatsappbtntext + ' whatsappbtntext allcentered cursor-pointer '
|
|
19236
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19237
|
+
style: {
|
|
19238
|
+
fontSize: sectionproperties.youtubebtniconfontsize + 'px'
|
|
19239
|
+
}
|
|
19240
|
+
}, langdetect == 'en' ? sectionproperties.whatsappbtncontenten : sectionproperties.whatsappbtncontentar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19227
19241
|
"class": "col-lg-12 p-0 mt-4",
|
|
19228
19242
|
style: {
|
|
19229
19243
|
border: '1px solid #ccc',
|
|
@@ -19269,15 +19283,21 @@
|
|
|
19269
19283
|
"class": "col-6 col-md-12"
|
|
19270
19284
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19271
19285
|
"class": "col-12 p-0 text-start mb-2"
|
|
19272
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19286
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19287
|
+
style: {
|
|
19288
|
+
fontSize: 15,
|
|
19289
|
+
fontWeight: 600
|
|
19290
|
+
},
|
|
19291
|
+
"class": "m-0"
|
|
19292
|
+
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19273
19293
|
style: {
|
|
19274
19294
|
fontSize: 15,
|
|
19275
19295
|
fontWeight: 600
|
|
19276
19296
|
},
|
|
19277
19297
|
"class": "m-0"
|
|
19278
|
-
}, langdetect == 'en' ? '
|
|
19298
|
+
}, langdetect == 'en' ? 'Total' : 'الإجمالي')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19279
19299
|
"class": "col-12 p-0 text-start"
|
|
19280
|
-
}, /*#__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", {
|
|
19300
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) != '67e448d2ef6e0' && /*#__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, ' ', "(", langdetect == 'en' ? 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.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat1 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat1 === void 0 ? void 0 : _lastOrderinfoObj$dat1.totalorderfees, ' ', 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 : '', ")"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("p", null, "(", 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.totalorderfees, ' ', 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", {
|
|
19281
19301
|
"class": "col-6 col-md-12 p-md-0"
|
|
19282
19302
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19283
19303
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -19297,8 +19317,8 @@
|
|
|
19297
19317
|
maxHeight: '40vh',
|
|
19298
19318
|
overflowY: 'auto'
|
|
19299
19319
|
}
|
|
19300
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19301
|
-
var _lastOrderinfoObj$
|
|
19320
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.orderitems.map(function (item, index) {
|
|
19321
|
+
var _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16;
|
|
19302
19322
|
var variantoptions = [];
|
|
19303
19323
|
if (item.isvariant == 1) {
|
|
19304
19324
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -19340,7 +19360,7 @@
|
|
|
19340
19360
|
className: "col-4 d-flex text-end"
|
|
19341
19361
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19342
19362
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
19343
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19363
|
+
}, langdetect == 'en' ? 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_en : '', " ", item.finalprice, ' ', 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", {
|
|
19344
19364
|
"class": "col-12 my-2"
|
|
19345
19365
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19346
19366
|
style: {
|
|
@@ -19364,7 +19384,7 @@
|
|
|
19364
19384
|
"class": "col-6 text-end"
|
|
19365
19385
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19366
19386
|
className: "m-0 p-0 font-weight-500"
|
|
19367
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19387
|
+
}, 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.totalitemsprice, ' ', 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 : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19368
19388
|
"class": "col-lg-12 p-0 mt-1",
|
|
19369
19389
|
style: {
|
|
19370
19390
|
fontSize: 16
|
|
@@ -19379,7 +19399,7 @@
|
|
|
19379
19399
|
"class": "col-6 text-end"
|
|
19380
19400
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19381
19401
|
className: "m-0 p-0 font-weight-500"
|
|
19382
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19402
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat20 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat20 === void 0 || (_lastOrderinfoObj$dat20 = _lastOrderinfoObj$dat20.orderinfo) === null || _lastOrderinfoObj$dat20 === void 0 ? void 0 : _lastOrderinfoObj$dat20.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat21 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat21 === void 0 ? void 0 : _lastOrderinfoObj$dat21.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat22 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat22 === void 0 || (_lastOrderinfoObj$dat22 = _lastOrderinfoObj$dat22.orderinfo) === null || _lastOrderinfoObj$dat22 === void 0 ? void 0 : _lastOrderinfoObj$dat22.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19383
19403
|
"class": "col-lg-12 p-0 my-3"
|
|
19384
19404
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19385
19405
|
style: {
|
|
@@ -19402,7 +19422,7 @@
|
|
|
19402
19422
|
"class": "col-6 text-end"
|
|
19403
19423
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19404
19424
|
className: "m-0 p-0 font-weight-500"
|
|
19405
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
19425
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat23 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat23 === void 0 || (_lastOrderinfoObj$dat23 = _lastOrderinfoObj$dat23.orderinfo) === null || _lastOrderinfoObj$dat23 === void 0 ? void 0 : _lastOrderinfoObj$dat23.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat24 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat24 === void 0 ? void 0 : _lastOrderinfoObj$dat24.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat25 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat25 === void 0 || (_lastOrderinfoObj$dat25 = _lastOrderinfoObj$dat25.orderinfo) === null || _lastOrderinfoObj$dat25 === void 0 ? void 0 : _lastOrderinfoObj$dat25.currencyname_ar : '')))))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19406
19426
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
19407
19427
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19408
19428
|
"class": ordersuccessstyle.whatsappbtn + ' allcentered cursor-pointer ',
|