tabexseriescomponents 0.2.1348 → 0.2.1350
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 +65 -57
- package/dist/index.esm.js +65 -57
- package/dist/index.umd.js +66 -58
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -15543,7 +15543,7 @@ styleInject(css_248z$G);
|
|
|
15543
15543
|
function ownKeys$2w(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; }
|
|
15544
15544
|
function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15545
15545
|
var Checkout = function Checkout(props) {
|
|
15546
|
-
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$
|
|
15546
|
+
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i12, _authdetailsContext$i13, _fetchcustomercartQue73, _authdetailsContext$i14, _fetchcustomercartQue74, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _fetchcustomercartQue75, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _fetchcustomercartQue85, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchcustomercartQue87, _authdetailsContext$i46, _fetchcustomercartQue89, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _fetchcustomercartQue91, _authdetailsContext$i53, _authdetailsContext$i54, _fetchcustomercartQue93, _fetchcustomercartQue95, _authdetailsContext$i55, _fetchcustomercartQue97, _authdetailsContext$i56, _fetchcustomercartQue99, _authdetailsContext$i57, _fetchcustomercartQue101, _authdetailsContext$i58, _fetchcustomercartQue103, _authdetailsContext$i59, _fetchcustomercartQue105, _authdetailsContext$i60, _fetchcustomercartQue107, _authdetailsContext$i61, _fetchcustomercartQue109, _authdetailsContext$i62, _authdetailsContext$i63, _fetchcustomercartQue111, _fetchcustomercartQue112;
|
|
15547
15547
|
var _useState = useState(null),
|
|
15548
15548
|
_useState2 = _slicedToArray(_useState, 2);
|
|
15549
15549
|
_useState2[0];
|
|
@@ -15837,7 +15837,7 @@ var Checkout = function Checkout(props) {
|
|
|
15837
15837
|
});
|
|
15838
15838
|
};
|
|
15839
15839
|
var is_order_extrafileds_required_fulfiled = function is_order_extrafileds_required_fulfiled() {
|
|
15840
|
-
var _authdetailsContext$i4, _authdetailsContext$i5;
|
|
15840
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
15841
15841
|
var is_fulfilled = true;
|
|
15842
15842
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d99c87c0a20') {
|
|
15843
15843
|
var _OrderExtraFieldsToBe;
|
|
@@ -15855,6 +15855,14 @@ var Checkout = function Checkout(props) {
|
|
|
15855
15855
|
is_fulfilled = false;
|
|
15856
15856
|
}
|
|
15857
15857
|
});
|
|
15858
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68f5fec923609') {
|
|
15859
|
+
var _OrderExtraFieldsToBe3;
|
|
15860
|
+
var OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
15861
|
+
(_OrderExtraFieldsToBe3 = OrderExtraFieldsToBeSentArr) === null || _OrderExtraFieldsToBe3 === void 0 || _OrderExtraFieldsToBe3.forEach(function (item, index) {
|
|
15862
|
+
if (item.isrequired == 1 && (item.value == undefined || item.value == null || item.value.length == 0)) {
|
|
15863
|
+
is_fulfilled = false;
|
|
15864
|
+
}
|
|
15865
|
+
});
|
|
15858
15866
|
}
|
|
15859
15867
|
if (is_fulfilled === false) {
|
|
15860
15868
|
alert('Please Fill The Missing fields');
|
|
@@ -16155,7 +16163,7 @@ var Checkout = function Checkout(props) {
|
|
|
16155
16163
|
return isloading;
|
|
16156
16164
|
};
|
|
16157
16165
|
var Mycart = function Mycart() {
|
|
16158
|
-
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$
|
|
16166
|
+
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i7, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i8, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i10, _fetchcustomercartQue70, _authdetailsContext$i11, _fetchcustomercartQue71;
|
|
16159
16167
|
return /*#__PURE__*/React.createElement("div", {
|
|
16160
16168
|
className: "row m-0 w-100 mb-md-3"
|
|
16161
16169
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -16420,7 +16428,7 @@ var Checkout = function Checkout(props) {
|
|
|
16420
16428
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
16421
16429
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16422
16430
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak '
|
|
16423
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16431
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '6808c6295b598' ? langdetect == 'en' ? 'Sub Total' : 'تكلفة المنتجات' : lang.subtotal)), /*#__PURE__*/React.createElement("div", {
|
|
16424
16432
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
16425
16433
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16426
16434
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
@@ -16509,7 +16517,7 @@ var Checkout = function Checkout(props) {
|
|
|
16509
16517
|
textTransform: sectionproperties.total_texttransform,
|
|
16510
16518
|
color: sectionproperties.total_color
|
|
16511
16519
|
}
|
|
16512
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16520
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6808c6295b598' ? langdetect == 'en' ? 'Total' : 'المبلغ الإجمالي' : lang.total)), /*#__PURE__*/React.createElement("div", {
|
|
16513
16521
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
16514
16522
|
}, /*#__PURE__*/React.createElement("div", {
|
|
16515
16523
|
className: "row m-0 w-100"
|
|
@@ -16529,7 +16537,7 @@ var Checkout = function Checkout(props) {
|
|
|
16529
16537
|
background: '#eee',
|
|
16530
16538
|
borderRadius: 10
|
|
16531
16539
|
}
|
|
16532
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16540
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '66b4a0338cb14' && /*#__PURE__*/React.createElement("input", {
|
|
16533
16541
|
type: "checkbox",
|
|
16534
16542
|
className: "mx-2 mt-2 mb-auto",
|
|
16535
16543
|
checked: checkboxisChecked,
|
|
@@ -16551,11 +16559,11 @@ var Checkout = function Checkout(props) {
|
|
|
16551
16559
|
style: {
|
|
16552
16560
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
16553
16561
|
}
|
|
16554
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16562
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React.createElement("button", {
|
|
16555
16563
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
16556
16564
|
onClick: function onClick() {
|
|
16557
|
-
var _authdetailsContext$
|
|
16558
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16565
|
+
var _authdetailsContext$i1;
|
|
16566
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '66b4a0338cb14') {
|
|
16559
16567
|
if (!checkboxisChecked) return;
|
|
16560
16568
|
}
|
|
16561
16569
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -16563,14 +16571,14 @@ var Checkout = function Checkout(props) {
|
|
|
16563
16571
|
}
|
|
16564
16572
|
addorderfuncrunner();
|
|
16565
16573
|
},
|
|
16566
|
-
disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16574
|
+
disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '66b4a0338cb14' ? ischeckoutbuttonloading() || !checkboxisChecked : ischeckoutbuttonloading() == true ? true : false
|
|
16567
16575
|
// disabled={}
|
|
16568
16576
|
}, ischeckoutbuttonloading() && /*#__PURE__*/React.createElement(CircularProgress, {
|
|
16569
16577
|
color: "#fff",
|
|
16570
16578
|
width: "20px",
|
|
16571
16579
|
height: "20px",
|
|
16572
16580
|
duration: "1s"
|
|
16573
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16581
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React.createElement("button", {
|
|
16574
16582
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
16575
16583
|
onClick: function onClick() {
|
|
16576
16584
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -16687,7 +16695,7 @@ var Checkout = function Checkout(props) {
|
|
|
16687
16695
|
}
|
|
16688
16696
|
}, /*#__PURE__*/React.createElement(BiPhone, null)), /*#__PURE__*/React.createElement("p", {
|
|
16689
16697
|
className: "m-0 p-0 wordbreak"
|
|
16690
|
-
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16698
|
+
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React.createElement("div", {
|
|
16691
16699
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
16692
16700
|
}, /*#__PURE__*/React.createElement("div", {
|
|
16693
16701
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -16751,7 +16759,7 @@ var Checkout = function Checkout(props) {
|
|
|
16751
16759
|
})), /*#__PURE__*/React.createElement("div", {
|
|
16752
16760
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
16753
16761
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
16754
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16762
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
16755
16763
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16756
16764
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16757
16765
|
}, lang.name, /*#__PURE__*/React.createElement("sup", {
|
|
@@ -16771,7 +16779,7 @@ var Checkout = function Checkout(props) {
|
|
|
16771
16779
|
boxShadow: 'none'
|
|
16772
16780
|
}
|
|
16773
16781
|
})), /*#__PURE__*/React.createElement("div", {
|
|
16774
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16782
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
16775
16783
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16776
16784
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16777
16785
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف', ' ', /*#__PURE__*/React.createElement("sup", {
|
|
@@ -16795,16 +16803,16 @@ var Checkout = function Checkout(props) {
|
|
|
16795
16803
|
})), /*#__PURE__*/React.createElement("div", {
|
|
16796
16804
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
16797
16805
|
style: {
|
|
16798
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16806
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
16799
16807
|
}
|
|
16800
16808
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16801
16809
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16802
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16810
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.customerEmailrequiered) == 1 && /*#__PURE__*/React.createElement("sup", {
|
|
16803
16811
|
"class": "mx-2",
|
|
16804
16812
|
style: {
|
|
16805
16813
|
color: 'var(--danger)'
|
|
16806
16814
|
}
|
|
16807
|
-
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16815
|
+
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React.createElement("span", {
|
|
16808
16816
|
"class": "mx-2",
|
|
16809
16817
|
style: {
|
|
16810
16818
|
fontSize: 13
|
|
@@ -16882,7 +16890,7 @@ var Checkout = function Checkout(props) {
|
|
|
16882
16890
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
16883
16891
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16884
16892
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
16885
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16893
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '688b86aaf144b' ? langdetect == 'en' ? 'Governorate' : 'الولايه / الاماره' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '698cad1ddcf1a' ? langdetect == 'en' ? 'Governorate' : 'المدينة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React.createElement("sup", {
|
|
16886
16894
|
"class": "mx-2",
|
|
16887
16895
|
style: {
|
|
16888
16896
|
color: 'var(--danger)'
|
|
@@ -16942,7 +16950,7 @@ var Checkout = function Checkout(props) {
|
|
|
16942
16950
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
16943
16951
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16944
16952
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
16945
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16953
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '698cad1ddcf1a' ? langdetect == 'en' ? 'Area' : 'الحي' : langdetect == 'en' ? 'Area' : 'المنطقة', authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React.createElement("sup", {
|
|
16946
16954
|
"class": "mx-2",
|
|
16947
16955
|
style: {
|
|
16948
16956
|
color: 'var(--danger)'
|
|
@@ -17090,7 +17098,7 @@ var Checkout = function Checkout(props) {
|
|
|
17090
17098
|
// events mart
|
|
17091
17099
|
|
|
17092
17100
|
if (item.title_en == 'Event Date') {
|
|
17093
|
-
var _authdetailsContext$
|
|
17101
|
+
var _authdetailsContext$i26, _authdetailsContext$i27;
|
|
17094
17102
|
return /*#__PURE__*/React.createElement("div", {
|
|
17095
17103
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17096
17104
|
}, /*#__PURE__*/React.createElement("label", {
|
|
@@ -17119,12 +17127,12 @@ var Checkout = function Checkout(props) {
|
|
|
17119
17127
|
// }}
|
|
17120
17128
|
,
|
|
17121
17129
|
onChange: function onChange(event) {
|
|
17122
|
-
var _authdetailsContext$
|
|
17123
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17130
|
+
var _authdetailsContext$i24;
|
|
17131
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.contactinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.instid) == '66b4a0338cb14') {
|
|
17124
17132
|
var selectedDate = event.target.value;
|
|
17125
17133
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17126
|
-
var _authdetailsContext$
|
|
17127
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17134
|
+
var _authdetailsContext$i25;
|
|
17135
|
+
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
|
|
17128
17136
|
if (minDate && selectedDate < minDate) {
|
|
17129
17137
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17130
17138
|
return;
|
|
@@ -17142,11 +17150,11 @@ var Checkout = function Checkout(props) {
|
|
|
17142
17150
|
style: {
|
|
17143
17151
|
boxShadow: 'none'
|
|
17144
17152
|
},
|
|
17145
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17146
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17153
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
17154
|
+
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
|
|
17147
17155
|
}));
|
|
17148
17156
|
} else {
|
|
17149
|
-
var _authdetailsContext$
|
|
17157
|
+
var _authdetailsContext$i30, _authdetailsContext$i31;
|
|
17150
17158
|
return /*#__PURE__*/React.createElement("div", {
|
|
17151
17159
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17152
17160
|
}, /*#__PURE__*/React.createElement("label", {
|
|
@@ -17167,12 +17175,12 @@ var Checkout = function Checkout(props) {
|
|
|
17167
17175
|
// }}
|
|
17168
17176
|
,
|
|
17169
17177
|
onChange: function onChange(event) {
|
|
17170
|
-
var _authdetailsContext$
|
|
17171
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17178
|
+
var _authdetailsContext$i28;
|
|
17179
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 || (_authdetailsContext$i28 = _authdetailsContext$i28.contactinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.instid) == '66b4a0338cb14') {
|
|
17172
17180
|
var selectedDate = event.target.value;
|
|
17173
17181
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17174
|
-
var _authdetailsContext$
|
|
17175
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17182
|
+
var _authdetailsContext$i29;
|
|
17183
|
+
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 || (_authdetailsContext$i29 = _authdetailsContext$i29.contactinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
|
|
17176
17184
|
if (minDate && selectedDate < minDate) {
|
|
17177
17185
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17178
17186
|
return;
|
|
@@ -17190,8 +17198,8 @@ var Checkout = function Checkout(props) {
|
|
|
17190
17198
|
style: {
|
|
17191
17199
|
boxShadow: 'none'
|
|
17192
17200
|
},
|
|
17193
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17194
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17201
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
17202
|
+
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
|
|
17195
17203
|
}));
|
|
17196
17204
|
}
|
|
17197
17205
|
}
|
|
@@ -17345,15 +17353,15 @@ var Checkout = function Checkout(props) {
|
|
|
17345
17353
|
})), /*#__PURE__*/React.createElement("div", {
|
|
17346
17354
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
17347
17355
|
}, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17348
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17356
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68a6e2f865af8' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
17349
17357
|
style: {
|
|
17350
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17358
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '68a6e2f865af8' ? '1px solid #ccc' : 0,
|
|
17351
17359
|
borderRadius: 15
|
|
17352
17360
|
}
|
|
17353
17361
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17354
17362
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17355
17363
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17356
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17364
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '68a6e2f865af8' ? 'col-9 p-0' : 'col-12 p-0'
|
|
17357
17365
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17358
17366
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17359
17367
|
"for": "codcheckbox"
|
|
@@ -17380,26 +17388,26 @@ var Checkout = function Checkout(props) {
|
|
|
17380
17388
|
style: {
|
|
17381
17389
|
color: sectionproperties.checkbox_color
|
|
17382
17390
|
}
|
|
17383
|
-
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17391
|
+
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React.createElement("div", {
|
|
17384
17392
|
"class": "col-3 text-end p-0"
|
|
17385
17393
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17386
17394
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17387
17395
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17388
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17396
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React.createElement("div", {
|
|
17389
17397
|
"class": "col-3 text-end p-0"
|
|
17390
17398
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17391
17399
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17392
17400
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17393
17401
|
})))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17394
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17402
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '68a6e2f865af8' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
17395
17403
|
style: {
|
|
17396
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17404
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '68a6e2f865af8' ? '1px solid #ccc' : 0,
|
|
17397
17405
|
borderRadius: 15
|
|
17398
17406
|
}
|
|
17399
17407
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17400
17408
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17401
17409
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17402
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17410
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '68a6e2f865af8' ? 'col-9 p-0' : 'col-12 p-0'
|
|
17403
17411
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17404
17412
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17405
17413
|
"for": "codcheckbox"
|
|
@@ -17426,7 +17434,7 @@ var Checkout = function Checkout(props) {
|
|
|
17426
17434
|
style: {
|
|
17427
17435
|
color: sectionproperties.checkbox_color
|
|
17428
17436
|
}
|
|
17429
|
-
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17437
|
+
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React.createElement("div", {
|
|
17430
17438
|
"class": "col-3 text-end p-0"
|
|
17431
17439
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17432
17440
|
src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
|
|
@@ -17458,15 +17466,15 @@ var Checkout = function Checkout(props) {
|
|
|
17458
17466
|
/*#__PURE__*/
|
|
17459
17467
|
// <div className=""
|
|
17460
17468
|
React.createElement("div", {
|
|
17461
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17469
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '68a6e2f865af8' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
17462
17470
|
style: {
|
|
17463
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17471
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '68a6e2f865af8' ? '1px solid #ccc' : 0,
|
|
17464
17472
|
borderRadius: 15
|
|
17465
17473
|
}
|
|
17466
17474
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17467
17475
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17468
17476
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17469
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17477
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '68a6e2f865af8' ? 'col-9 p-0' : 'col-12 p-0'
|
|
17470
17478
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17471
17479
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
17472
17480
|
}, /*#__PURE__*/React.createElement("input", {
|
|
@@ -17488,12 +17496,12 @@ var Checkout = function Checkout(props) {
|
|
|
17488
17496
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17489
17497
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17490
17498
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17491
|
-
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17499
|
+
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React.createElement("div", {
|
|
17492
17500
|
"class": "col-3 text-end p-0"
|
|
17493
17501
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17494
17502
|
src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
|
|
17495
17503
|
"class": checkoutstyles.vismasterimage + ' mx-2 '
|
|
17496
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17504
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React.createElement("div", {
|
|
17497
17505
|
"class": "col-3 text-end p-0"
|
|
17498
17506
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17499
17507
|
src: 'https://tabex-co.com/storage/StaticImages/fawry.png',
|
|
@@ -17542,7 +17550,7 @@ var Checkout = function Checkout(props) {
|
|
|
17542
17550
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17543
17551
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17544
17552
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17545
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17553
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.acceptForsaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17546
17554
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17547
17555
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17548
17556
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17564,7 +17572,7 @@ var Checkout = function Checkout(props) {
|
|
|
17564
17572
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17565
17573
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17566
17574
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17567
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17575
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.acceptSouhoolaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17568
17576
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17569
17577
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17570
17578
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17586,7 +17594,7 @@ var Checkout = function Checkout(props) {
|
|
|
17586
17594
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17587
17595
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17588
17596
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17589
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17597
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.acceptonlinePaypal) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17590
17598
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17591
17599
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17592
17600
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17608,7 +17616,7 @@ var Checkout = function Checkout(props) {
|
|
|
17608
17616
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17609
17617
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17610
17618
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
17611
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17619
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17612
17620
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17613
17621
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17614
17622
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17630,7 +17638,7 @@ var Checkout = function Checkout(props) {
|
|
|
17630
17638
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17631
17639
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17632
17640
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17633
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17641
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.acceptAmanCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17634
17642
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17635
17643
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17636
17644
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17652,7 +17660,7 @@ var Checkout = function Checkout(props) {
|
|
|
17652
17660
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17653
17661
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17654
17662
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17655
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17663
|
+
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.acceptTamara) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17656
17664
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17657
17665
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17658
17666
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17674,7 +17682,7 @@ var Checkout = function Checkout(props) {
|
|
|
17674
17682
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17675
17683
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17676
17684
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17677
|
-
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17685
|
+
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.acceptTabby) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17678
17686
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17679
17687
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17680
17688
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17706,7 +17714,7 @@ var Checkout = function Checkout(props) {
|
|
|
17706
17714
|
dangerouslySetInnerHTML: {
|
|
17707
17715
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
17708
17716
|
}
|
|
17709
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17717
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) == '696fa922c1d13' && cashchosen == true && /*#__PURE__*/React.createElement("div", {
|
|
17710
17718
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
17711
17719
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17712
17720
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -17714,7 +17722,7 @@ var Checkout = function Checkout(props) {
|
|
|
17714
17722
|
color: '#000'
|
|
17715
17723
|
}
|
|
17716
17724
|
// dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar }}
|
|
17717
|
-
}, langdetect == 'en' ? 'To confirm your booking, please transfer a 30% deposit of the booking value to [number].' : 'لتأكيد الحجز برجاء تحويل 30% deposit من قيمه الحجز على الرقم')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17725
|
+
}, langdetect == 'en' ? 'To confirm your booking, please transfer a 30% deposit of the booking value to [number].' : 'لتأكيد الحجز برجاء تحويل 30% deposit من قيمه الحجز على الرقم')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) == '69c55e0a54075' && cashchosen == true && /*#__PURE__*/React.createElement("div", {
|
|
17718
17726
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
17719
17727
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17720
17728
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -39215,7 +39223,7 @@ var Header8 = function Header8(props) {
|
|
|
39215
39223
|
onClick: function onClick() {
|
|
39216
39224
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
39217
39225
|
}
|
|
39218
|
-
},
|
|
39226
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$c4 = authdetailsContext.customerinfo) === null || _authdetailsContext$c4 === void 0 ? void 0 : _authdetailsContext$c4.name))), sectionproperties.showprevorder == 'Show' && /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
39219
39227
|
onClick: function onClick() {
|
|
39220
39228
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
39221
39229
|
}
|