tabexseriescomponents 0.2.1348 → 0.2.1349
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 +65 -57
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -15594,7 +15594,7 @@ styleInject(css_248z$G);
|
|
|
15594
15594
|
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; }
|
|
15595
15595
|
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__default["default"](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; }
|
|
15596
15596
|
var Checkout = function Checkout(props) {
|
|
15597
|
-
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$
|
|
15597
|
+
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;
|
|
15598
15598
|
var _useState = React.useState(null),
|
|
15599
15599
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
15600
15600
|
_useState2[0];
|
|
@@ -15888,7 +15888,7 @@ var Checkout = function Checkout(props) {
|
|
|
15888
15888
|
});
|
|
15889
15889
|
};
|
|
15890
15890
|
var is_order_extrafileds_required_fulfiled = function is_order_extrafileds_required_fulfiled() {
|
|
15891
|
-
var _authdetailsContext$i4, _authdetailsContext$i5;
|
|
15891
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
15892
15892
|
var is_fulfilled = true;
|
|
15893
15893
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d99c87c0a20') {
|
|
15894
15894
|
var _OrderExtraFieldsToBe;
|
|
@@ -15906,6 +15906,14 @@ var Checkout = function Checkout(props) {
|
|
|
15906
15906
|
is_fulfilled = false;
|
|
15907
15907
|
}
|
|
15908
15908
|
});
|
|
15909
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68f5fec923609') {
|
|
15910
|
+
var _OrderExtraFieldsToBe3;
|
|
15911
|
+
var OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
15912
|
+
(_OrderExtraFieldsToBe3 = OrderExtraFieldsToBeSentArr) === null || _OrderExtraFieldsToBe3 === void 0 || _OrderExtraFieldsToBe3.forEach(function (item, index) {
|
|
15913
|
+
if (item.isrequired == 1 && (item.value == undefined || item.value == null || item.value.length == 0)) {
|
|
15914
|
+
is_fulfilled = false;
|
|
15915
|
+
}
|
|
15916
|
+
});
|
|
15909
15917
|
}
|
|
15910
15918
|
if (is_fulfilled === false) {
|
|
15911
15919
|
alert('Please Fill The Missing fields');
|
|
@@ -16206,7 +16214,7 @@ var Checkout = function Checkout(props) {
|
|
|
16206
16214
|
return isloading;
|
|
16207
16215
|
};
|
|
16208
16216
|
var Mycart = function Mycart() {
|
|
16209
|
-
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$
|
|
16217
|
+
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;
|
|
16210
16218
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16211
16219
|
className: "row m-0 w-100 mb-md-3"
|
|
16212
16220
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -16471,7 +16479,7 @@ var Checkout = function Checkout(props) {
|
|
|
16471
16479
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
16472
16480
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16473
16481
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak '
|
|
16474
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16482
|
+
}, (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__default["default"].createElement("div", {
|
|
16475
16483
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
16476
16484
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16477
16485
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
@@ -16560,7 +16568,7 @@ var Checkout = function Checkout(props) {
|
|
|
16560
16568
|
textTransform: sectionproperties.total_texttransform,
|
|
16561
16569
|
color: sectionproperties.total_color
|
|
16562
16570
|
}
|
|
16563
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16571
|
+
}, (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__default["default"].createElement("div", {
|
|
16564
16572
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
16565
16573
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16566
16574
|
className: "row m-0 w-100"
|
|
@@ -16580,7 +16588,7 @@ var Checkout = function Checkout(props) {
|
|
|
16580
16588
|
background: '#eee',
|
|
16581
16589
|
borderRadius: 10
|
|
16582
16590
|
}
|
|
16583
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16591
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '66b4a0338cb14' && /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16584
16592
|
type: "checkbox",
|
|
16585
16593
|
className: "mx-2 mt-2 mb-auto",
|
|
16586
16594
|
checked: checkboxisChecked,
|
|
@@ -16602,11 +16610,11 @@ var Checkout = function Checkout(props) {
|
|
|
16602
16610
|
style: {
|
|
16603
16611
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
16604
16612
|
}
|
|
16605
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16613
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
16606
16614
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
16607
16615
|
onClick: function onClick() {
|
|
16608
|
-
var _authdetailsContext$
|
|
16609
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16616
|
+
var _authdetailsContext$i1;
|
|
16617
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '66b4a0338cb14') {
|
|
16610
16618
|
if (!checkboxisChecked) return;
|
|
16611
16619
|
}
|
|
16612
16620
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -16614,14 +16622,14 @@ var Checkout = function Checkout(props) {
|
|
|
16614
16622
|
}
|
|
16615
16623
|
addorderfuncrunner();
|
|
16616
16624
|
},
|
|
16617
|
-
disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16625
|
+
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
|
|
16618
16626
|
// disabled={}
|
|
16619
16627
|
}, ischeckoutbuttonloading() && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
16620
16628
|
color: "#fff",
|
|
16621
16629
|
width: "20px",
|
|
16622
16630
|
height: "20px",
|
|
16623
16631
|
duration: "1s"
|
|
16624
|
-
}), !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$
|
|
16632
|
+
}), !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__default["default"].createElement("button", {
|
|
16625
16633
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
16626
16634
|
onClick: function onClick() {
|
|
16627
16635
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -16738,7 +16746,7 @@ var Checkout = function Checkout(props) {
|
|
|
16738
16746
|
}
|
|
16739
16747
|
}, /*#__PURE__*/React__default["default"].createElement(BiPhone.BiPhone, null)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16740
16748
|
className: "m-0 p-0 wordbreak"
|
|
16741
|
-
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16749
|
+
}, 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__default["default"].createElement("div", {
|
|
16742
16750
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
16743
16751
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16744
16752
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -16802,7 +16810,7 @@ var Checkout = function Checkout(props) {
|
|
|
16802
16810
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16803
16811
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
16804
16812
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16805
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16813
|
+
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'
|
|
16806
16814
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16807
16815
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16808
16816
|
}, lang.name, /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
@@ -16822,7 +16830,7 @@ var Checkout = function Checkout(props) {
|
|
|
16822
16830
|
boxShadow: 'none'
|
|
16823
16831
|
}
|
|
16824
16832
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16825
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16833
|
+
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'
|
|
16826
16834
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16827
16835
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16828
16836
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف', ' ', /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
@@ -16846,16 +16854,16 @@ var Checkout = function Checkout(props) {
|
|
|
16846
16854
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16847
16855
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
16848
16856
|
style: {
|
|
16849
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16857
|
+
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'
|
|
16850
16858
|
}
|
|
16851
16859
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16852
16860
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16853
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16861
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
16854
16862
|
"class": "mx-2",
|
|
16855
16863
|
style: {
|
|
16856
16864
|
color: 'var(--danger)'
|
|
16857
16865
|
}
|
|
16858
|
-
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16866
|
+
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16859
16867
|
"class": "mx-2",
|
|
16860
16868
|
style: {
|
|
16861
16869
|
fontSize: 13
|
|
@@ -16933,7 +16941,7 @@ var Checkout = function Checkout(props) {
|
|
|
16933
16941
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
16934
16942
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16935
16943
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
16936
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16944
|
+
}, (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__default["default"].createElement("sup", {
|
|
16937
16945
|
"class": "mx-2",
|
|
16938
16946
|
style: {
|
|
16939
16947
|
color: 'var(--danger)'
|
|
@@ -16993,7 +17001,7 @@ var Checkout = function Checkout(props) {
|
|
|
16993
17001
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
16994
17002
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16995
17003
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
16996
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17004
|
+
}, (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__default["default"].createElement("sup", {
|
|
16997
17005
|
"class": "mx-2",
|
|
16998
17006
|
style: {
|
|
16999
17007
|
color: 'var(--danger)'
|
|
@@ -17141,7 +17149,7 @@ var Checkout = function Checkout(props) {
|
|
|
17141
17149
|
// events mart
|
|
17142
17150
|
|
|
17143
17151
|
if (item.title_en == 'Event Date') {
|
|
17144
|
-
var _authdetailsContext$
|
|
17152
|
+
var _authdetailsContext$i26, _authdetailsContext$i27;
|
|
17145
17153
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17146
17154
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17147
17155
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -17170,12 +17178,12 @@ var Checkout = function Checkout(props) {
|
|
|
17170
17178
|
// }}
|
|
17171
17179
|
,
|
|
17172
17180
|
onChange: function onChange(event) {
|
|
17173
|
-
var _authdetailsContext$
|
|
17174
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17181
|
+
var _authdetailsContext$i24;
|
|
17182
|
+
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') {
|
|
17175
17183
|
var selectedDate = event.target.value;
|
|
17176
17184
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17177
|
-
var _authdetailsContext$
|
|
17178
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17185
|
+
var _authdetailsContext$i25;
|
|
17186
|
+
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;
|
|
17179
17187
|
if (minDate && selectedDate < minDate) {
|
|
17180
17188
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17181
17189
|
return;
|
|
@@ -17193,11 +17201,11 @@ var Checkout = function Checkout(props) {
|
|
|
17193
17201
|
style: {
|
|
17194
17202
|
boxShadow: 'none'
|
|
17195
17203
|
},
|
|
17196
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17197
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17204
|
+
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
|
|
17205
|
+
.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
|
|
17198
17206
|
}));
|
|
17199
17207
|
} else {
|
|
17200
|
-
var _authdetailsContext$
|
|
17208
|
+
var _authdetailsContext$i30, _authdetailsContext$i31;
|
|
17201
17209
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17202
17210
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17203
17211
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -17218,12 +17226,12 @@ var Checkout = function Checkout(props) {
|
|
|
17218
17226
|
// }}
|
|
17219
17227
|
,
|
|
17220
17228
|
onChange: function onChange(event) {
|
|
17221
|
-
var _authdetailsContext$
|
|
17222
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17229
|
+
var _authdetailsContext$i28;
|
|
17230
|
+
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') {
|
|
17223
17231
|
var selectedDate = event.target.value;
|
|
17224
17232
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17225
|
-
var _authdetailsContext$
|
|
17226
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17233
|
+
var _authdetailsContext$i29;
|
|
17234
|
+
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;
|
|
17227
17235
|
if (minDate && selectedDate < minDate) {
|
|
17228
17236
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17229
17237
|
return;
|
|
@@ -17241,8 +17249,8 @@ var Checkout = function Checkout(props) {
|
|
|
17241
17249
|
style: {
|
|
17242
17250
|
boxShadow: 'none'
|
|
17243
17251
|
},
|
|
17244
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17245
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17252
|
+
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
|
|
17253
|
+
.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
|
|
17246
17254
|
}));
|
|
17247
17255
|
}
|
|
17248
17256
|
}
|
|
@@ -17396,15 +17404,15 @@ var Checkout = function Checkout(props) {
|
|
|
17396
17404
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17397
17405
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
17398
17406
|
}, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17399
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17407
|
+
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',
|
|
17400
17408
|
style: {
|
|
17401
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17409
|
+
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,
|
|
17402
17410
|
borderRadius: 15
|
|
17403
17411
|
}
|
|
17404
17412
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17405
17413
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17406
17414
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17407
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17415
|
+
"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'
|
|
17408
17416
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17409
17417
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17410
17418
|
"for": "codcheckbox"
|
|
@@ -17431,26 +17439,26 @@ var Checkout = function Checkout(props) {
|
|
|
17431
17439
|
style: {
|
|
17432
17440
|
color: sectionproperties.checkbox_color
|
|
17433
17441
|
}
|
|
17434
|
-
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17442
|
+
}, 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__default["default"].createElement("div", {
|
|
17435
17443
|
"class": "col-3 text-end p-0"
|
|
17436
17444
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17437
17445
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17438
17446
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17439
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17447
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17440
17448
|
"class": "col-3 text-end p-0"
|
|
17441
17449
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17442
17450
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17443
17451
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17444
17452
|
})))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17445
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17453
|
+
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',
|
|
17446
17454
|
style: {
|
|
17447
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17455
|
+
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,
|
|
17448
17456
|
borderRadius: 15
|
|
17449
17457
|
}
|
|
17450
17458
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17451
17459
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17452
17460
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17453
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17461
|
+
"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'
|
|
17454
17462
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17455
17463
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17456
17464
|
"for": "codcheckbox"
|
|
@@ -17477,7 +17485,7 @@ var Checkout = function Checkout(props) {
|
|
|
17477
17485
|
style: {
|
|
17478
17486
|
color: sectionproperties.checkbox_color
|
|
17479
17487
|
}
|
|
17480
|
-
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17488
|
+
}, 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__default["default"].createElement("div", {
|
|
17481
17489
|
"class": "col-3 text-end p-0"
|
|
17482
17490
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17483
17491
|
src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
|
|
@@ -17509,15 +17517,15 @@ var Checkout = function Checkout(props) {
|
|
|
17509
17517
|
/*#__PURE__*/
|
|
17510
17518
|
// <div className=""
|
|
17511
17519
|
React__default["default"].createElement("div", {
|
|
17512
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17520
|
+
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',
|
|
17513
17521
|
style: {
|
|
17514
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17522
|
+
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,
|
|
17515
17523
|
borderRadius: 15
|
|
17516
17524
|
}
|
|
17517
17525
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17518
17526
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17519
17527
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17520
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17528
|
+
"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'
|
|
17521
17529
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17522
17530
|
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 '
|
|
17523
17531
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -17539,12 +17547,12 @@ var Checkout = function Checkout(props) {
|
|
|
17539
17547
|
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"
|
|
17540
17548
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17541
17549
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17542
|
-
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17550
|
+
}, 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__default["default"].createElement("div", {
|
|
17543
17551
|
"class": "col-3 text-end p-0"
|
|
17544
17552
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17545
17553
|
src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
|
|
17546
17554
|
"class": checkoutstyles.vismasterimage + ' mx-2 '
|
|
17547
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17555
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17548
17556
|
"class": "col-3 text-end p-0"
|
|
17549
17557
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17550
17558
|
src: 'https://tabex-co.com/storage/StaticImages/fawry.png',
|
|
@@ -17593,7 +17601,7 @@ var Checkout = function Checkout(props) {
|
|
|
17593
17601
|
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"
|
|
17594
17602
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17595
17603
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17596
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17604
|
+
}, 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__default["default"].createElement("div", {
|
|
17597
17605
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17598
17606
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17599
17607
|
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 '
|
|
@@ -17615,7 +17623,7 @@ var Checkout = function Checkout(props) {
|
|
|
17615
17623
|
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"
|
|
17616
17624
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17617
17625
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17618
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17626
|
+
}, 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__default["default"].createElement("div", {
|
|
17619
17627
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17620
17628
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17621
17629
|
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 '
|
|
@@ -17637,7 +17645,7 @@ var Checkout = function Checkout(props) {
|
|
|
17637
17645
|
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"
|
|
17638
17646
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17639
17647
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17640
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17648
|
+
}, 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__default["default"].createElement("div", {
|
|
17641
17649
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17642
17650
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17643
17651
|
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 '
|
|
@@ -17659,7 +17667,7 @@ var Checkout = function Checkout(props) {
|
|
|
17659
17667
|
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"
|
|
17660
17668
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17661
17669
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
17662
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17670
|
+
}, 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__default["default"].createElement("div", {
|
|
17663
17671
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17664
17672
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17665
17673
|
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 '
|
|
@@ -17681,7 +17689,7 @@ var Checkout = function Checkout(props) {
|
|
|
17681
17689
|
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"
|
|
17682
17690
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17683
17691
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17684
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17692
|
+
}, 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__default["default"].createElement("div", {
|
|
17685
17693
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17686
17694
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17687
17695
|
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 '
|
|
@@ -17703,7 +17711,7 @@ var Checkout = function Checkout(props) {
|
|
|
17703
17711
|
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"
|
|
17704
17712
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17705
17713
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17706
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17714
|
+
}, 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__default["default"].createElement("div", {
|
|
17707
17715
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17708
17716
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17709
17717
|
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 '
|
|
@@ -17725,7 +17733,7 @@ var Checkout = function Checkout(props) {
|
|
|
17725
17733
|
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"
|
|
17726
17734
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17727
17735
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17728
|
-
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17736
|
+
}, 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__default["default"].createElement("div", {
|
|
17729
17737
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17730
17738
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17731
17739
|
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 '
|
|
@@ -17757,7 +17765,7 @@ var Checkout = function Checkout(props) {
|
|
|
17757
17765
|
dangerouslySetInnerHTML: {
|
|
17758
17766
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
17759
17767
|
}
|
|
17760
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17768
|
+
})), (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__default["default"].createElement("div", {
|
|
17761
17769
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
17762
17770
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17763
17771
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -17765,7 +17773,7 @@ var Checkout = function Checkout(props) {
|
|
|
17765
17773
|
color: '#000'
|
|
17766
17774
|
}
|
|
17767
17775
|
// dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar }}
|
|
17768
|
-
}, 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$
|
|
17776
|
+
}, 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__default["default"].createElement("div", {
|
|
17769
17777
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
17770
17778
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17771
17779
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|