tabexseriescomponents 0.2.1362 → 0.2.1363
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 +64 -56
- package/dist/index.esm.js +64 -56
- package/dist/index.umd.js +64 -56
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -16063,7 +16063,7 @@ styleInject(css_248z$G);
|
|
|
16063
16063
|
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; }
|
|
16064
16064
|
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; }
|
|
16065
16065
|
var Checkout = function Checkout(props) {
|
|
16066
|
-
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$
|
|
16066
|
+
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue73, _authdetailsContext$i15, _fetchcustomercartQue74, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _fetchcustomercartQue75, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _fetchcustomercartQue85, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _fetchcustomercartQue87, _authdetailsContext$i47, _fetchcustomercartQue89, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _fetchcustomercartQue91, _authdetailsContext$i54, _authdetailsContext$i55, _fetchcustomercartQue93, _fetchcustomercartQue95, _authdetailsContext$i56, _fetchcustomercartQue97, _authdetailsContext$i57, _fetchcustomercartQue99, _authdetailsContext$i58, _fetchcustomercartQue101, _authdetailsContext$i59, _fetchcustomercartQue103, _authdetailsContext$i60, _fetchcustomercartQue105, _authdetailsContext$i61, _fetchcustomercartQue107, _authdetailsContext$i62, _fetchcustomercartQue109, _authdetailsContext$i63, _authdetailsContext$i64, _fetchcustomercartQue111, _fetchcustomercartQue112;
|
|
16067
16067
|
var _useState = useState(null),
|
|
16068
16068
|
_useState2 = _slicedToArray(_useState, 2);
|
|
16069
16069
|
_useState2[0];
|
|
@@ -16357,7 +16357,7 @@ var Checkout = function Checkout(props) {
|
|
|
16357
16357
|
});
|
|
16358
16358
|
};
|
|
16359
16359
|
var is_order_extrafileds_required_fulfiled = function is_order_extrafileds_required_fulfiled() {
|
|
16360
|
-
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
16360
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
16361
16361
|
var is_fulfilled = true;
|
|
16362
16362
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d99c87c0a20') {
|
|
16363
16363
|
var _OrderExtraFieldsToBe;
|
|
@@ -16383,6 +16383,14 @@ var Checkout = function Checkout(props) {
|
|
|
16383
16383
|
is_fulfilled = false;
|
|
16384
16384
|
}
|
|
16385
16385
|
});
|
|
16386
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '66d6de1a1e04a') {
|
|
16387
|
+
var _OrderExtraFieldsToBe4;
|
|
16388
|
+
var OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
16389
|
+
(_OrderExtraFieldsToBe4 = OrderExtraFieldsToBeSentArr) === null || _OrderExtraFieldsToBe4 === void 0 || _OrderExtraFieldsToBe4.forEach(function (item, index) {
|
|
16390
|
+
if (item.isrequired == 1 && (item.value == undefined || item.value == null || item.value.length == 0)) {
|
|
16391
|
+
is_fulfilled = false;
|
|
16392
|
+
}
|
|
16393
|
+
});
|
|
16386
16394
|
}
|
|
16387
16395
|
if (is_fulfilled === false) {
|
|
16388
16396
|
alert('Please Fill The Missing fields');
|
|
@@ -16683,7 +16691,7 @@ var Checkout = function Checkout(props) {
|
|
|
16683
16691
|
return isloading;
|
|
16684
16692
|
};
|
|
16685
16693
|
var Mycart = function Mycart() {
|
|
16686
|
-
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$
|
|
16694
|
+
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i8, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i9, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i11, _fetchcustomercartQue70, _authdetailsContext$i12, _fetchcustomercartQue71;
|
|
16687
16695
|
return /*#__PURE__*/React.createElement("div", {
|
|
16688
16696
|
className: "row m-0 w-100 mb-md-3"
|
|
16689
16697
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -16948,7 +16956,7 @@ var Checkout = function Checkout(props) {
|
|
|
16948
16956
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
16949
16957
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16950
16958
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak '
|
|
16951
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16959
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6808c6295b598' ? langdetect == 'en' ? 'Sub Total' : 'تكلفة المنتجات' : lang.subtotal)), /*#__PURE__*/React.createElement("div", {
|
|
16952
16960
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
16953
16961
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16954
16962
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
@@ -17037,7 +17045,7 @@ var Checkout = function Checkout(props) {
|
|
|
17037
17045
|
textTransform: sectionproperties.total_texttransform,
|
|
17038
17046
|
color: sectionproperties.total_color
|
|
17039
17047
|
}
|
|
17040
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17048
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6808c6295b598' ? langdetect == 'en' ? 'Total' : 'المبلغ الإجمالي' : lang.total)), /*#__PURE__*/React.createElement("div", {
|
|
17041
17049
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
17042
17050
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17043
17051
|
className: "row m-0 w-100"
|
|
@@ -17057,7 +17065,7 @@ var Checkout = function Checkout(props) {
|
|
|
17057
17065
|
background: '#eee',
|
|
17058
17066
|
borderRadius: 10
|
|
17059
17067
|
}
|
|
17060
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17068
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '66b4a0338cb14' && /*#__PURE__*/React.createElement("input", {
|
|
17061
17069
|
type: "checkbox",
|
|
17062
17070
|
className: "mx-2 mt-2 mb-auto",
|
|
17063
17071
|
checked: checkboxisChecked,
|
|
@@ -17079,11 +17087,11 @@ var Checkout = function Checkout(props) {
|
|
|
17079
17087
|
style: {
|
|
17080
17088
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
17081
17089
|
}
|
|
17082
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17090
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React.createElement("button", {
|
|
17083
17091
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
17084
17092
|
onClick: function onClick() {
|
|
17085
|
-
var _authdetailsContext$
|
|
17086
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17093
|
+
var _authdetailsContext$i10;
|
|
17094
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '66b4a0338cb14') {
|
|
17087
17095
|
if (!checkboxisChecked) return;
|
|
17088
17096
|
}
|
|
17089
17097
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -17091,14 +17099,14 @@ var Checkout = function Checkout(props) {
|
|
|
17091
17099
|
}
|
|
17092
17100
|
addorderfuncrunner();
|
|
17093
17101
|
},
|
|
17094
|
-
disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17102
|
+
disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '66b4a0338cb14' ? ischeckoutbuttonloading() || !checkboxisChecked : ischeckoutbuttonloading() == true ? true : false
|
|
17095
17103
|
// disabled={}
|
|
17096
17104
|
}, ischeckoutbuttonloading() && /*#__PURE__*/React.createElement(CircularProgress, {
|
|
17097
17105
|
color: "#fff",
|
|
17098
17106
|
width: "20px",
|
|
17099
17107
|
height: "20px",
|
|
17100
17108
|
duration: "1s"
|
|
17101
|
-
}), !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$
|
|
17109
|
+
}), !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$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React.createElement("button", {
|
|
17102
17110
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
17103
17111
|
onClick: function onClick() {
|
|
17104
17112
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -17215,7 +17223,7 @@ var Checkout = function Checkout(props) {
|
|
|
17215
17223
|
}
|
|
17216
17224
|
}, /*#__PURE__*/React.createElement(BiPhone, null)), /*#__PURE__*/React.createElement("p", {
|
|
17217
17225
|
className: "m-0 p-0 wordbreak"
|
|
17218
|
-
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17226
|
+
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React.createElement("div", {
|
|
17219
17227
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
17220
17228
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17221
17229
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -17279,7 +17287,7 @@ var Checkout = function Checkout(props) {
|
|
|
17279
17287
|
})), /*#__PURE__*/React.createElement("div", {
|
|
17280
17288
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
17281
17289
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
17282
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17290
|
+
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'
|
|
17283
17291
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17284
17292
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
17285
17293
|
}, lang.name, /*#__PURE__*/React.createElement("sup", {
|
|
@@ -17299,7 +17307,7 @@ var Checkout = function Checkout(props) {
|
|
|
17299
17307
|
boxShadow: 'none'
|
|
17300
17308
|
}
|
|
17301
17309
|
})), /*#__PURE__*/React.createElement("div", {
|
|
17302
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17310
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
17303
17311
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17304
17312
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
17305
17313
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف', ' ', /*#__PURE__*/React.createElement("sup", {
|
|
@@ -17323,16 +17331,16 @@ var Checkout = function Checkout(props) {
|
|
|
17323
17331
|
})), /*#__PURE__*/React.createElement("div", {
|
|
17324
17332
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
17325
17333
|
style: {
|
|
17326
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17334
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
17327
17335
|
}
|
|
17328
17336
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17329
17337
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
17330
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17338
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.customerEmailrequiered) == 1 && /*#__PURE__*/React.createElement("sup", {
|
|
17331
17339
|
"class": "mx-2",
|
|
17332
17340
|
style: {
|
|
17333
17341
|
color: 'var(--danger)'
|
|
17334
17342
|
}
|
|
17335
|
-
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17343
|
+
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React.createElement("span", {
|
|
17336
17344
|
"class": "mx-2",
|
|
17337
17345
|
style: {
|
|
17338
17346
|
fontSize: 13
|
|
@@ -17410,7 +17418,7 @@ var Checkout = function Checkout(props) {
|
|
|
17410
17418
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
17411
17419
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17412
17420
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
17413
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17421
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '688b86aaf144b' ? langdetect == 'en' ? 'Governorate' : 'الولايه / الاماره' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '698cad1ddcf1a' ? langdetect == 'en' ? 'Governorate' : 'المدينة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React.createElement("sup", {
|
|
17414
17422
|
"class": "mx-2",
|
|
17415
17423
|
style: {
|
|
17416
17424
|
color: 'var(--danger)'
|
|
@@ -17470,7 +17478,7 @@ var Checkout = function Checkout(props) {
|
|
|
17470
17478
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
17471
17479
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17472
17480
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
17473
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17481
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '698cad1ddcf1a' ? langdetect == 'en' ? 'Area' : 'الحي' : langdetect == 'en' ? 'Area' : 'المنطقة', authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React.createElement("sup", {
|
|
17474
17482
|
"class": "mx-2",
|
|
17475
17483
|
style: {
|
|
17476
17484
|
color: 'var(--danger)'
|
|
@@ -17618,7 +17626,7 @@ var Checkout = function Checkout(props) {
|
|
|
17618
17626
|
// events mart
|
|
17619
17627
|
|
|
17620
17628
|
if (item.title_en == 'Event Date') {
|
|
17621
|
-
var _authdetailsContext$
|
|
17629
|
+
var _authdetailsContext$i27, _authdetailsContext$i28;
|
|
17622
17630
|
return /*#__PURE__*/React.createElement("div", {
|
|
17623
17631
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17624
17632
|
}, /*#__PURE__*/React.createElement("label", {
|
|
@@ -17647,12 +17655,12 @@ var Checkout = function Checkout(props) {
|
|
|
17647
17655
|
// }}
|
|
17648
17656
|
,
|
|
17649
17657
|
onChange: function onChange(event) {
|
|
17650
|
-
var _authdetailsContext$
|
|
17651
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17658
|
+
var _authdetailsContext$i25;
|
|
17659
|
+
if ((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') {
|
|
17652
17660
|
var selectedDate = event.target.value;
|
|
17653
17661
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17654
|
-
var _authdetailsContext$
|
|
17655
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17662
|
+
var _authdetailsContext$i26;
|
|
17663
|
+
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 || (_authdetailsContext$i26 = _authdetailsContext$i26.contactinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
|
|
17656
17664
|
if (minDate && selectedDate < minDate) {
|
|
17657
17665
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17658
17666
|
return;
|
|
@@ -17670,11 +17678,11 @@ var Checkout = function Checkout(props) {
|
|
|
17670
17678
|
style: {
|
|
17671
17679
|
boxShadow: 'none'
|
|
17672
17680
|
},
|
|
17673
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17674
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17681
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
17682
|
+
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
|
|
17675
17683
|
}));
|
|
17676
17684
|
} else {
|
|
17677
|
-
var _authdetailsContext$
|
|
17685
|
+
var _authdetailsContext$i31, _authdetailsContext$i32;
|
|
17678
17686
|
return /*#__PURE__*/React.createElement("div", {
|
|
17679
17687
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17680
17688
|
}, /*#__PURE__*/React.createElement("label", {
|
|
@@ -17695,12 +17703,12 @@ var Checkout = function Checkout(props) {
|
|
|
17695
17703
|
// }}
|
|
17696
17704
|
,
|
|
17697
17705
|
onChange: function onChange(event) {
|
|
17698
|
-
var _authdetailsContext$
|
|
17699
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17706
|
+
var _authdetailsContext$i29;
|
|
17707
|
+
if ((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') {
|
|
17700
17708
|
var selectedDate = event.target.value;
|
|
17701
17709
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17702
|
-
var _authdetailsContext$
|
|
17703
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17710
|
+
var _authdetailsContext$i30;
|
|
17711
|
+
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 || (_authdetailsContext$i30 = _authdetailsContext$i30.contactinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
|
|
17704
17712
|
if (minDate && selectedDate < minDate) {
|
|
17705
17713
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17706
17714
|
return;
|
|
@@ -17718,8 +17726,8 @@ var Checkout = function Checkout(props) {
|
|
|
17718
17726
|
style: {
|
|
17719
17727
|
boxShadow: 'none'
|
|
17720
17728
|
},
|
|
17721
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17722
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17729
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
17730
|
+
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
|
|
17723
17731
|
}));
|
|
17724
17732
|
}
|
|
17725
17733
|
}
|
|
@@ -17873,15 +17881,15 @@ var Checkout = function Checkout(props) {
|
|
|
17873
17881
|
})), /*#__PURE__*/React.createElement("div", {
|
|
17874
17882
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
17875
17883
|
}, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17876
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17884
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.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$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.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',
|
|
17877
17885
|
style: {
|
|
17878
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17886
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '68a6e2f865af8' ? '1px solid #ccc' : 0,
|
|
17879
17887
|
borderRadius: 15
|
|
17880
17888
|
}
|
|
17881
17889
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17882
17890
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17883
17891
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17884
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17892
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68a6e2f865af8' ? 'col-9 p-0' : 'col-12 p-0'
|
|
17885
17893
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17886
17894
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17887
17895
|
"for": "codcheckbox"
|
|
@@ -17908,26 +17916,26 @@ var Checkout = function Checkout(props) {
|
|
|
17908
17916
|
style: {
|
|
17909
17917
|
color: sectionproperties.checkbox_color
|
|
17910
17918
|
}
|
|
17911
|
-
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17919
|
+
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React.createElement("div", {
|
|
17912
17920
|
"class": "col-3 text-end p-0"
|
|
17913
17921
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17914
17922
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17915
17923
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17916
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17924
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React.createElement("div", {
|
|
17917
17925
|
"class": "col-3 text-end p-0"
|
|
17918
17926
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17919
17927
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17920
17928
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17921
17929
|
})))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17922
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17930
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.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$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.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',
|
|
17923
17931
|
style: {
|
|
17924
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17932
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '68a6e2f865af8' ? '1px solid #ccc' : 0,
|
|
17925
17933
|
borderRadius: 15
|
|
17926
17934
|
}
|
|
17927
17935
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17928
17936
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17929
17937
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17930
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17938
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '68a6e2f865af8' ? 'col-9 p-0' : 'col-12 p-0'
|
|
17931
17939
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17932
17940
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17933
17941
|
"for": "codcheckbox"
|
|
@@ -17954,7 +17962,7 @@ var Checkout = function Checkout(props) {
|
|
|
17954
17962
|
style: {
|
|
17955
17963
|
color: sectionproperties.checkbox_color
|
|
17956
17964
|
}
|
|
17957
|
-
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17965
|
+
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React.createElement("div", {
|
|
17958
17966
|
"class": "col-3 text-end p-0"
|
|
17959
17967
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17960
17968
|
src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
|
|
@@ -17986,15 +17994,15 @@ var Checkout = function Checkout(props) {
|
|
|
17986
17994
|
/*#__PURE__*/
|
|
17987
17995
|
// <div className=""
|
|
17988
17996
|
React.createElement("div", {
|
|
17989
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17997
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.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$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.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',
|
|
17990
17998
|
style: {
|
|
17991
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17999
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '68a6e2f865af8' ? '1px solid #ccc' : 0,
|
|
17992
18000
|
borderRadius: 15
|
|
17993
18001
|
}
|
|
17994
18002
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17995
18003
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17996
18004
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17997
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18005
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '68a6e2f865af8' ? 'col-9 p-0' : 'col-12 p-0'
|
|
17998
18006
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17999
18007
|
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 '
|
|
18000
18008
|
}, /*#__PURE__*/React.createElement("input", {
|
|
@@ -18016,12 +18024,12 @@ var Checkout = function Checkout(props) {
|
|
|
18016
18024
|
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"
|
|
18017
18025
|
})), /*#__PURE__*/React.createElement("p", {
|
|
18018
18026
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18019
|
-
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18027
|
+
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React.createElement("div", {
|
|
18020
18028
|
"class": "col-3 text-end p-0"
|
|
18021
18029
|
}, /*#__PURE__*/React.createElement("img", {
|
|
18022
18030
|
src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
|
|
18023
18031
|
"class": checkoutstyles.vismasterimage + ' mx-2 '
|
|
18024
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18032
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React.createElement("div", {
|
|
18025
18033
|
"class": "col-3 text-end p-0"
|
|
18026
18034
|
}, /*#__PURE__*/React.createElement("img", {
|
|
18027
18035
|
src: 'https://tabex-co.com/storage/StaticImages/fawry.png',
|
|
@@ -18070,7 +18078,7 @@ var Checkout = function Checkout(props) {
|
|
|
18070
18078
|
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"
|
|
18071
18079
|
})), /*#__PURE__*/React.createElement("p", {
|
|
18072
18080
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18073
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18081
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.acceptForsaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
18074
18082
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18075
18083
|
}, /*#__PURE__*/React.createElement("label", {
|
|
18076
18084
|
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 '
|
|
@@ -18092,7 +18100,7 @@ var Checkout = function Checkout(props) {
|
|
|
18092
18100
|
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"
|
|
18093
18101
|
})), /*#__PURE__*/React.createElement("p", {
|
|
18094
18102
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18095
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18103
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.acceptSouhoolaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
18096
18104
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18097
18105
|
}, /*#__PURE__*/React.createElement("label", {
|
|
18098
18106
|
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 '
|
|
@@ -18114,7 +18122,7 @@ var Checkout = function Checkout(props) {
|
|
|
18114
18122
|
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"
|
|
18115
18123
|
})), /*#__PURE__*/React.createElement("p", {
|
|
18116
18124
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18117
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18125
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.acceptonlinePaypal) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
18118
18126
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18119
18127
|
}, /*#__PURE__*/React.createElement("label", {
|
|
18120
18128
|
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 '
|
|
@@ -18136,7 +18144,7 @@ var Checkout = function Checkout(props) {
|
|
|
18136
18144
|
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"
|
|
18137
18145
|
})), /*#__PURE__*/React.createElement("p", {
|
|
18138
18146
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
18139
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18147
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
18140
18148
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18141
18149
|
}, /*#__PURE__*/React.createElement("label", {
|
|
18142
18150
|
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 '
|
|
@@ -18158,7 +18166,7 @@ var Checkout = function Checkout(props) {
|
|
|
18158
18166
|
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"
|
|
18159
18167
|
})), /*#__PURE__*/React.createElement("p", {
|
|
18160
18168
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18161
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18169
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.acceptAmanCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
18162
18170
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18163
18171
|
}, /*#__PURE__*/React.createElement("label", {
|
|
18164
18172
|
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 '
|
|
@@ -18180,7 +18188,7 @@ var Checkout = function Checkout(props) {
|
|
|
18180
18188
|
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"
|
|
18181
18189
|
})), /*#__PURE__*/React.createElement("p", {
|
|
18182
18190
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18183
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18191
|
+
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.acceptTamara) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
18184
18192
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18185
18193
|
}, /*#__PURE__*/React.createElement("label", {
|
|
18186
18194
|
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 '
|
|
@@ -18202,7 +18210,7 @@ var Checkout = function Checkout(props) {
|
|
|
18202
18210
|
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"
|
|
18203
18211
|
})), /*#__PURE__*/React.createElement("p", {
|
|
18204
18212
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18205
|
-
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18213
|
+
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.acceptTabby) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
18206
18214
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18207
18215
|
}, /*#__PURE__*/React.createElement("label", {
|
|
18208
18216
|
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 '
|
|
@@ -18234,7 +18242,7 @@ var Checkout = function Checkout(props) {
|
|
|
18234
18242
|
dangerouslySetInnerHTML: {
|
|
18235
18243
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
18236
18244
|
}
|
|
18237
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18245
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) == '696fa922c1d13' && cashchosen == true && /*#__PURE__*/React.createElement("div", {
|
|
18238
18246
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
18239
18247
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18240
18248
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -18242,7 +18250,7 @@ var Checkout = function Checkout(props) {
|
|
|
18242
18250
|
color: '#000'
|
|
18243
18251
|
}
|
|
18244
18252
|
// dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar }}
|
|
18245
|
-
}, 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$
|
|
18253
|
+
}, 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$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.contactinfo.instid) == '69c55e0a54075' && cashchosen == true && /*#__PURE__*/React.createElement("div", {
|
|
18246
18254
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
18247
18255
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18248
18256
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|