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.cjs.js
CHANGED
|
@@ -16114,7 +16114,7 @@ styleInject(css_248z$G);
|
|
|
16114
16114
|
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; }
|
|
16115
16115
|
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; }
|
|
16116
16116
|
var Checkout = function Checkout(props) {
|
|
16117
|
-
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$
|
|
16117
|
+
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;
|
|
16118
16118
|
var _useState = React.useState(null),
|
|
16119
16119
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
16120
16120
|
_useState2[0];
|
|
@@ -16408,7 +16408,7 @@ var Checkout = function Checkout(props) {
|
|
|
16408
16408
|
});
|
|
16409
16409
|
};
|
|
16410
16410
|
var is_order_extrafileds_required_fulfiled = function is_order_extrafileds_required_fulfiled() {
|
|
16411
|
-
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
16411
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
16412
16412
|
var is_fulfilled = true;
|
|
16413
16413
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d99c87c0a20') {
|
|
16414
16414
|
var _OrderExtraFieldsToBe;
|
|
@@ -16434,6 +16434,14 @@ var Checkout = function Checkout(props) {
|
|
|
16434
16434
|
is_fulfilled = false;
|
|
16435
16435
|
}
|
|
16436
16436
|
});
|
|
16437
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '66d6de1a1e04a') {
|
|
16438
|
+
var _OrderExtraFieldsToBe4;
|
|
16439
|
+
var OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
16440
|
+
(_OrderExtraFieldsToBe4 = OrderExtraFieldsToBeSentArr) === null || _OrderExtraFieldsToBe4 === void 0 || _OrderExtraFieldsToBe4.forEach(function (item, index) {
|
|
16441
|
+
if (item.isrequired == 1 && (item.value == undefined || item.value == null || item.value.length == 0)) {
|
|
16442
|
+
is_fulfilled = false;
|
|
16443
|
+
}
|
|
16444
|
+
});
|
|
16437
16445
|
}
|
|
16438
16446
|
if (is_fulfilled === false) {
|
|
16439
16447
|
alert('Please Fill The Missing fields');
|
|
@@ -16734,7 +16742,7 @@ var Checkout = function Checkout(props) {
|
|
|
16734
16742
|
return isloading;
|
|
16735
16743
|
};
|
|
16736
16744
|
var Mycart = function Mycart() {
|
|
16737
|
-
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$
|
|
16745
|
+
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;
|
|
16738
16746
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16739
16747
|
className: "row m-0 w-100 mb-md-3"
|
|
16740
16748
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -16999,7 +17007,7 @@ var Checkout = function Checkout(props) {
|
|
|
16999
17007
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
17000
17008
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17001
17009
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak '
|
|
17002
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17010
|
+
}, (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__default["default"].createElement("div", {
|
|
17003
17011
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
17004
17012
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17005
17013
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
@@ -17088,7 +17096,7 @@ var Checkout = function Checkout(props) {
|
|
|
17088
17096
|
textTransform: sectionproperties.total_texttransform,
|
|
17089
17097
|
color: sectionproperties.total_color
|
|
17090
17098
|
}
|
|
17091
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17099
|
+
}, (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__default["default"].createElement("div", {
|
|
17092
17100
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
17093
17101
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17094
17102
|
className: "row m-0 w-100"
|
|
@@ -17108,7 +17116,7 @@ var Checkout = function Checkout(props) {
|
|
|
17108
17116
|
background: '#eee',
|
|
17109
17117
|
borderRadius: 10
|
|
17110
17118
|
}
|
|
17111
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17119
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '66b4a0338cb14' && /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17112
17120
|
type: "checkbox",
|
|
17113
17121
|
className: "mx-2 mt-2 mb-auto",
|
|
17114
17122
|
checked: checkboxisChecked,
|
|
@@ -17130,11 +17138,11 @@ var Checkout = function Checkout(props) {
|
|
|
17130
17138
|
style: {
|
|
17131
17139
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
17132
17140
|
}
|
|
17133
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17141
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
17134
17142
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
17135
17143
|
onClick: function onClick() {
|
|
17136
|
-
var _authdetailsContext$
|
|
17137
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17144
|
+
var _authdetailsContext$i10;
|
|
17145
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '66b4a0338cb14') {
|
|
17138
17146
|
if (!checkboxisChecked) return;
|
|
17139
17147
|
}
|
|
17140
17148
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -17142,14 +17150,14 @@ var Checkout = function Checkout(props) {
|
|
|
17142
17150
|
}
|
|
17143
17151
|
addorderfuncrunner();
|
|
17144
17152
|
},
|
|
17145
|
-
disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17153
|
+
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
|
|
17146
17154
|
// disabled={}
|
|
17147
17155
|
}, ischeckoutbuttonloading() && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
17148
17156
|
color: "#fff",
|
|
17149
17157
|
width: "20px",
|
|
17150
17158
|
height: "20px",
|
|
17151
17159
|
duration: "1s"
|
|
17152
|
-
}), !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$
|
|
17160
|
+
}), !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__default["default"].createElement("button", {
|
|
17153
17161
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
17154
17162
|
onClick: function onClick() {
|
|
17155
17163
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -17266,7 +17274,7 @@ var Checkout = function Checkout(props) {
|
|
|
17266
17274
|
}
|
|
17267
17275
|
}, /*#__PURE__*/React__default["default"].createElement(BiPhone.BiPhone, null)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17268
17276
|
className: "m-0 p-0 wordbreak"
|
|
17269
|
-
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17277
|
+
}, 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__default["default"].createElement("div", {
|
|
17270
17278
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
17271
17279
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17272
17280
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -17330,7 +17338,7 @@ var Checkout = function Checkout(props) {
|
|
|
17330
17338
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17331
17339
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
17332
17340
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17333
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17341
|
+
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'
|
|
17334
17342
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17335
17343
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
17336
17344
|
}, lang.name, /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
@@ -17350,7 +17358,7 @@ var Checkout = function Checkout(props) {
|
|
|
17350
17358
|
boxShadow: 'none'
|
|
17351
17359
|
}
|
|
17352
17360
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17353
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17361
|
+
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'
|
|
17354
17362
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17355
17363
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
17356
17364
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف', ' ', /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
@@ -17374,16 +17382,16 @@ var Checkout = function Checkout(props) {
|
|
|
17374
17382
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17375
17383
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
17376
17384
|
style: {
|
|
17377
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17385
|
+
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'
|
|
17378
17386
|
}
|
|
17379
17387
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17380
17388
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
17381
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17389
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
17382
17390
|
"class": "mx-2",
|
|
17383
17391
|
style: {
|
|
17384
17392
|
color: 'var(--danger)'
|
|
17385
17393
|
}
|
|
17386
|
-
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17394
|
+
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
17387
17395
|
"class": "mx-2",
|
|
17388
17396
|
style: {
|
|
17389
17397
|
fontSize: 13
|
|
@@ -17461,7 +17469,7 @@ var Checkout = function Checkout(props) {
|
|
|
17461
17469
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
17462
17470
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17463
17471
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
17464
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17472
|
+
}, (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__default["default"].createElement("sup", {
|
|
17465
17473
|
"class": "mx-2",
|
|
17466
17474
|
style: {
|
|
17467
17475
|
color: 'var(--danger)'
|
|
@@ -17521,7 +17529,7 @@ var Checkout = function Checkout(props) {
|
|
|
17521
17529
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
17522
17530
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17523
17531
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
17524
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17532
|
+
}, (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__default["default"].createElement("sup", {
|
|
17525
17533
|
"class": "mx-2",
|
|
17526
17534
|
style: {
|
|
17527
17535
|
color: 'var(--danger)'
|
|
@@ -17669,7 +17677,7 @@ var Checkout = function Checkout(props) {
|
|
|
17669
17677
|
// events mart
|
|
17670
17678
|
|
|
17671
17679
|
if (item.title_en == 'Event Date') {
|
|
17672
|
-
var _authdetailsContext$
|
|
17680
|
+
var _authdetailsContext$i27, _authdetailsContext$i28;
|
|
17673
17681
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17674
17682
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17675
17683
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -17698,12 +17706,12 @@ var Checkout = function Checkout(props) {
|
|
|
17698
17706
|
// }}
|
|
17699
17707
|
,
|
|
17700
17708
|
onChange: function onChange(event) {
|
|
17701
|
-
var _authdetailsContext$
|
|
17702
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17709
|
+
var _authdetailsContext$i25;
|
|
17710
|
+
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') {
|
|
17703
17711
|
var selectedDate = event.target.value;
|
|
17704
17712
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17705
|
-
var _authdetailsContext$
|
|
17706
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17713
|
+
var _authdetailsContext$i26;
|
|
17714
|
+
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;
|
|
17707
17715
|
if (minDate && selectedDate < minDate) {
|
|
17708
17716
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17709
17717
|
return;
|
|
@@ -17721,11 +17729,11 @@ var Checkout = function Checkout(props) {
|
|
|
17721
17729
|
style: {
|
|
17722
17730
|
boxShadow: 'none'
|
|
17723
17731
|
},
|
|
17724
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17725
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17732
|
+
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
|
|
17733
|
+
.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
|
|
17726
17734
|
}));
|
|
17727
17735
|
} else {
|
|
17728
|
-
var _authdetailsContext$
|
|
17736
|
+
var _authdetailsContext$i31, _authdetailsContext$i32;
|
|
17729
17737
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17730
17738
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17731
17739
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -17746,12 +17754,12 @@ var Checkout = function Checkout(props) {
|
|
|
17746
17754
|
// }}
|
|
17747
17755
|
,
|
|
17748
17756
|
onChange: function onChange(event) {
|
|
17749
|
-
var _authdetailsContext$
|
|
17750
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17757
|
+
var _authdetailsContext$i29;
|
|
17758
|
+
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') {
|
|
17751
17759
|
var selectedDate = event.target.value;
|
|
17752
17760
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17753
|
-
var _authdetailsContext$
|
|
17754
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17761
|
+
var _authdetailsContext$i30;
|
|
17762
|
+
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;
|
|
17755
17763
|
if (minDate && selectedDate < minDate) {
|
|
17756
17764
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17757
17765
|
return;
|
|
@@ -17769,8 +17777,8 @@ var Checkout = function Checkout(props) {
|
|
|
17769
17777
|
style: {
|
|
17770
17778
|
boxShadow: 'none'
|
|
17771
17779
|
},
|
|
17772
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17773
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17780
|
+
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
|
|
17781
|
+
.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
|
|
17774
17782
|
}));
|
|
17775
17783
|
}
|
|
17776
17784
|
}
|
|
@@ -17924,15 +17932,15 @@ var Checkout = function Checkout(props) {
|
|
|
17924
17932
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17925
17933
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
17926
17934
|
}, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17927
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17935
|
+
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',
|
|
17928
17936
|
style: {
|
|
17929
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17937
|
+
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,
|
|
17930
17938
|
borderRadius: 15
|
|
17931
17939
|
}
|
|
17932
17940
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17933
17941
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17934
17942
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17935
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17943
|
+
"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'
|
|
17936
17944
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17937
17945
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17938
17946
|
"for": "codcheckbox"
|
|
@@ -17959,26 +17967,26 @@ var Checkout = function Checkout(props) {
|
|
|
17959
17967
|
style: {
|
|
17960
17968
|
color: sectionproperties.checkbox_color
|
|
17961
17969
|
}
|
|
17962
|
-
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17970
|
+
}, 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__default["default"].createElement("div", {
|
|
17963
17971
|
"class": "col-3 text-end p-0"
|
|
17964
17972
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17965
17973
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17966
17974
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17967
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17975
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17968
17976
|
"class": "col-3 text-end p-0"
|
|
17969
17977
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17970
17978
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17971
17979
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17972
17980
|
})))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17973
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17981
|
+
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',
|
|
17974
17982
|
style: {
|
|
17975
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17983
|
+
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,
|
|
17976
17984
|
borderRadius: 15
|
|
17977
17985
|
}
|
|
17978
17986
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17979
17987
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17980
17988
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17981
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17989
|
+
"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'
|
|
17982
17990
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17983
17991
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17984
17992
|
"for": "codcheckbox"
|
|
@@ -18005,7 +18013,7 @@ var Checkout = function Checkout(props) {
|
|
|
18005
18013
|
style: {
|
|
18006
18014
|
color: sectionproperties.checkbox_color
|
|
18007
18015
|
}
|
|
18008
|
-
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18016
|
+
}, 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__default["default"].createElement("div", {
|
|
18009
18017
|
"class": "col-3 text-end p-0"
|
|
18010
18018
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
18011
18019
|
src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
|
|
@@ -18037,15 +18045,15 @@ var Checkout = function Checkout(props) {
|
|
|
18037
18045
|
/*#__PURE__*/
|
|
18038
18046
|
// <div className=""
|
|
18039
18047
|
React__default["default"].createElement("div", {
|
|
18040
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18048
|
+
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',
|
|
18041
18049
|
style: {
|
|
18042
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18050
|
+
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,
|
|
18043
18051
|
borderRadius: 15
|
|
18044
18052
|
}
|
|
18045
18053
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18046
18054
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
18047
18055
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18048
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18056
|
+
"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'
|
|
18049
18057
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
18050
18058
|
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 '
|
|
18051
18059
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -18067,12 +18075,12 @@ var Checkout = function Checkout(props) {
|
|
|
18067
18075
|
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"
|
|
18068
18076
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18069
18077
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18070
|
-
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18078
|
+
}, 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__default["default"].createElement("div", {
|
|
18071
18079
|
"class": "col-3 text-end p-0"
|
|
18072
18080
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
18073
18081
|
src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
|
|
18074
18082
|
"class": checkoutstyles.vismasterimage + ' mx-2 '
|
|
18075
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18083
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18076
18084
|
"class": "col-3 text-end p-0"
|
|
18077
18085
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
18078
18086
|
src: 'https://tabex-co.com/storage/StaticImages/fawry.png',
|
|
@@ -18121,7 +18129,7 @@ var Checkout = function Checkout(props) {
|
|
|
18121
18129
|
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"
|
|
18122
18130
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18123
18131
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18124
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18132
|
+
}, 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__default["default"].createElement("div", {
|
|
18125
18133
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18126
18134
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
18127
18135
|
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 '
|
|
@@ -18143,7 +18151,7 @@ var Checkout = function Checkout(props) {
|
|
|
18143
18151
|
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"
|
|
18144
18152
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18145
18153
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18146
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18154
|
+
}, 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__default["default"].createElement("div", {
|
|
18147
18155
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18148
18156
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
18149
18157
|
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 '
|
|
@@ -18165,7 +18173,7 @@ var Checkout = function Checkout(props) {
|
|
|
18165
18173
|
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"
|
|
18166
18174
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18167
18175
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18168
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18176
|
+
}, 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__default["default"].createElement("div", {
|
|
18169
18177
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18170
18178
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
18171
18179
|
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 '
|
|
@@ -18187,7 +18195,7 @@ var Checkout = function Checkout(props) {
|
|
|
18187
18195
|
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"
|
|
18188
18196
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18189
18197
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
18190
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18198
|
+
}, 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__default["default"].createElement("div", {
|
|
18191
18199
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18192
18200
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
18193
18201
|
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 '
|
|
@@ -18209,7 +18217,7 @@ var Checkout = function Checkout(props) {
|
|
|
18209
18217
|
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"
|
|
18210
18218
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18211
18219
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18212
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18220
|
+
}, 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__default["default"].createElement("div", {
|
|
18213
18221
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18214
18222
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
18215
18223
|
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 '
|
|
@@ -18231,7 +18239,7 @@ var Checkout = function Checkout(props) {
|
|
|
18231
18239
|
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"
|
|
18232
18240
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18233
18241
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18234
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18242
|
+
}, 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__default["default"].createElement("div", {
|
|
18235
18243
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18236
18244
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
18237
18245
|
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 '
|
|
@@ -18253,7 +18261,7 @@ var Checkout = function Checkout(props) {
|
|
|
18253
18261
|
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"
|
|
18254
18262
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18255
18263
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
18256
|
-
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18264
|
+
}, 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__default["default"].createElement("div", {
|
|
18257
18265
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
18258
18266
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
18259
18267
|
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 '
|
|
@@ -18285,7 +18293,7 @@ var Checkout = function Checkout(props) {
|
|
|
18285
18293
|
dangerouslySetInnerHTML: {
|
|
18286
18294
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
18287
18295
|
}
|
|
18288
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
18296
|
+
})), (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__default["default"].createElement("div", {
|
|
18289
18297
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
18290
18298
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18291
18299
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -18293,7 +18301,7 @@ var Checkout = function Checkout(props) {
|
|
|
18293
18301
|
color: '#000'
|
|
18294
18302
|
}
|
|
18295
18303
|
// dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar }}
|
|
18296
|
-
}, 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$
|
|
18304
|
+
}, 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__default["default"].createElement("div", {
|
|
18297
18305
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
18298
18306
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18299
18307
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|