tabexseriescomponents 0.2.884 → 0.2.886
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 +76 -75
- package/dist/index.esm.js +76 -75
- package/dist/index.umd.js +76 -75
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -13275,7 +13275,7 @@ styleInject(css_248z$G);
|
|
|
13275
13275
|
function ownKeys$2t(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; }
|
|
13276
13276
|
function _objectSpread$2t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2t(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13277
13277
|
var Checkout = function Checkout(props) {
|
|
13278
|
-
var _fetchTabexCountriesQ2, _css, _authdetailsContext$
|
|
13278
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i6, _authdetailsContext$i7, _fetchcustomercartQue64, _authdetailsContext$i8, _fetchcustomercartQue65, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _fetchcustomercartQue66, _authdetailsContext$i11, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue77, _fetchcustomercartQue79, _fetchcustomercartQue81, _fetchcustomercartQue83, _fetchcustomercartQue85, _authdetailsContext$i12, _fetchcustomercartQue87, _authdetailsContext$i13, _fetchcustomercartQue89, _authdetailsContext$i14, _fetchcustomercartQue91, _authdetailsContext$i15, _fetchcustomercartQue93, _authdetailsContext$i16, _fetchcustomercartQue95, _fetchcustomercartQue97;
|
|
13279
13279
|
var _useState = React.useState(null),
|
|
13280
13280
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
13281
13281
|
_useState2[0];
|
|
@@ -13806,7 +13806,7 @@ var Checkout = function Checkout(props) {
|
|
|
13806
13806
|
return isloading;
|
|
13807
13807
|
};
|
|
13808
13808
|
var Mycart = function Mycart() {
|
|
13809
|
-
var _fetchcustomercartQue33, _fetchcustomercartQue34, _fetchcustomercartQue35, _fetchcustomercartQue39, _fetchcustomercartQue40, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48,
|
|
13809
|
+
var _fetchcustomercartQue33, _fetchcustomercartQue34, _fetchcustomercartQue35, _fetchcustomercartQue39, _fetchcustomercartQue40, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _authdetailsContext$i5, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63;
|
|
13810
13810
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13811
13811
|
className: "row m-0 w-100 mb-md-3"
|
|
13812
13812
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -14049,6 +14049,7 @@ var Checkout = function Checkout(props) {
|
|
|
14049
14049
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue44 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.data) === null || _fetchcustomercartQue44 === void 0 ? void 0 : _fetchcustomercartQue44.customercart.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue45 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.data) === null || _fetchcustomercartQue45 === void 0 ? void 0 : _fetchcustomercartQue45.customercart.totalprice).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue46 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue46 === void 0 || (_fetchcustomercartQue46 = _fetchcustomercartQue46.data) === null || _fetchcustomercartQue46 === void 0 ? void 0 : _fetchcustomercartQue46.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue47 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.data) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.customercart) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.genpayments) === null || _fetchcustomercartQue47 === void 0 ? void 0 : _fetchcustomercartQue47.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14050
14050
|
className: "row m-0 w-100"
|
|
14051
14051
|
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue48 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue48 === void 0 || (_fetchcustomercartQue48 = _fetchcustomercartQue48.data) === null || _fetchcustomercartQue48 === void 0 || (_fetchcustomercartQue48 = _fetchcustomercartQue48.customercart) === null || _fetchcustomercartQue48 === void 0 || (_fetchcustomercartQue48 = _fetchcustomercartQue48.genpayments) === null || _fetchcustomercartQue48 === void 0 ? void 0 : _fetchcustomercartQue48.map(function (item, index) {
|
|
14052
|
+
var _fetchcustomercartQue49;
|
|
14052
14053
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14053
14054
|
"class": "col-lg-12 p-0"
|
|
14054
14055
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -14067,8 +14068,8 @@ var Checkout = function Checkout(props) {
|
|
|
14067
14068
|
style: {
|
|
14068
14069
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
14069
14070
|
}
|
|
14070
|
-
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.value, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "%")))));
|
|
14071
|
-
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14071
|
+
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.value, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect == 'en' ? authdetailsContext.currencyname_en : '', ' ', (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue49 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue49 === void 0 || (_fetchcustomercartQue49 = _fetchcustomercartQue49.data) === null || _fetchcustomercartQue49 === void 0 || (_fetchcustomercartQue49 = _fetchcustomercartQue49.customercart) === null || _fetchcustomercartQue49 === void 0 ? void 0 : _fetchcustomercartQue49.totalprice) * (item.value / 100), ' ', langdetect == 'ar' ? authdetailsContext.currencyname_ar : '', ")")))));
|
|
14072
|
+
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue50 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue50 === void 0 || (_fetchcustomercartQue50 = _fetchcustomercartQue50.data) === null || _fetchcustomercartQue50 === void 0 || (_fetchcustomercartQue50 = _fetchcustomercartQue50.customercart) === null || _fetchcustomercartQue50 === void 0 ? void 0 : _fetchcustomercartQue50.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14072
14073
|
className: "row m-0 w-100"
|
|
14073
14074
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14074
14075
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -14081,7 +14082,7 @@ var Checkout = function Checkout(props) {
|
|
|
14081
14082
|
style: {
|
|
14082
14083
|
color: 'red'
|
|
14083
14084
|
}
|
|
14084
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14085
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.customercart) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14085
14086
|
className: "col-lg-12 p-0 mb-1"
|
|
14086
14087
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14087
14088
|
className: "row m-0 w-100"
|
|
@@ -14093,7 +14094,7 @@ var Checkout = function Checkout(props) {
|
|
|
14093
14094
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
14094
14095
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14095
14096
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-left '
|
|
14096
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14097
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.data) === null || _fetchcustomercartQue55 === void 0 ? void 0 : _fetchcustomercartQue55.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14097
14098
|
className: "col-lg-12 p-0"
|
|
14098
14099
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14099
14100
|
className: "row m-0 w-100"
|
|
@@ -14101,11 +14102,11 @@ var Checkout = function Checkout(props) {
|
|
|
14101
14102
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
14102
14103
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14103
14104
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
14104
|
-
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14105
|
+
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue57 === void 0 ? void 0 : _fetchcustomercartQue57.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14105
14106
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
14106
14107
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14107
14108
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
14108
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14109
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue59 !== void 0 && (_fetchcustomercartQue59 = _fetchcustomercartQue59.data) !== null && _fetchcustomercartQue59 !== void 0 && _fetchcustomercartQue59.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14109
14110
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
14110
14111
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14111
14112
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -14130,7 +14131,7 @@ var Checkout = function Checkout(props) {
|
|
|
14130
14131
|
textTransform: sectionproperties.total_texttransform,
|
|
14131
14132
|
color: sectionproperties.total_color
|
|
14132
14133
|
}
|
|
14133
|
-
}, lang.total)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14134
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '6808c6295b598' ? langdetect == 'en' ? 'Total' : 'تكلفة المنتجات' : lang.total)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14134
14135
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
14135
14136
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14136
14137
|
className: "row m-0 w-100"
|
|
@@ -14144,7 +14145,7 @@ var Checkout = function Checkout(props) {
|
|
|
14144
14145
|
textTransform: sectionproperties.total_texttransform,
|
|
14145
14146
|
color: sectionproperties.total_color
|
|
14146
14147
|
}
|
|
14147
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14148
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.totalpriceafterdiscount).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue61 === void 0 || (_fetchcustomercartQue61 = _fetchcustomercartQue61.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : _fetchcustomercartQue61.customercart.totalpriceafterdiscount).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue62 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue62 === void 0 || (_fetchcustomercartQue62 = _fetchcustomercartQue62.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14148
14149
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
14149
14150
|
style: {
|
|
14150
14151
|
background: '#eee',
|
|
@@ -14179,7 +14180,7 @@ var Checkout = function Checkout(props) {
|
|
|
14179
14180
|
width: "20px",
|
|
14180
14181
|
height: "20px",
|
|
14181
14182
|
duration: "1s"
|
|
14182
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14183
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 || (_fetchcustomercartQue63 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : _fetchcustomercartQue63.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.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14183
14184
|
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
14184
14185
|
style: {
|
|
14185
14186
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
@@ -14276,7 +14277,7 @@ var Checkout = function Checkout(props) {
|
|
|
14276
14277
|
}
|
|
14277
14278
|
}, /*#__PURE__*/React__default["default"].createElement(BiPhone.BiPhone, null)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14278
14279
|
className: "m-0 p-0 wordbreak"
|
|
14279
|
-
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14280
|
+
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14280
14281
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
14281
14282
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14282
14283
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -14340,13 +14341,13 @@ var Checkout = function Checkout(props) {
|
|
|
14340
14341
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14341
14342
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
14342
14343
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14343
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14344
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
14344
14345
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14345
14346
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
14346
14347
|
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14347
14348
|
type: 'text',
|
|
14348
14349
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
14349
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14350
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.name,
|
|
14350
14351
|
onChange: function onChange(event) {
|
|
14351
14352
|
cartinfoupdater('name', event.target.value);
|
|
14352
14353
|
},
|
|
@@ -14355,13 +14356,13 @@ var Checkout = function Checkout(props) {
|
|
|
14355
14356
|
boxShadow: 'none'
|
|
14356
14357
|
}
|
|
14357
14358
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14358
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14359
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
14359
14360
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14360
14361
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
14361
14362
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14362
14363
|
type: 'text',
|
|
14363
14364
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
14364
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14365
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.mobile,
|
|
14365
14366
|
onChange: function onChange(event) {
|
|
14366
14367
|
cartinfoupdater('mobile', event.target.value);
|
|
14367
14368
|
},
|
|
@@ -14372,11 +14373,11 @@ var Checkout = function Checkout(props) {
|
|
|
14372
14373
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14373
14374
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
14374
14375
|
style: {
|
|
14375
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14376
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
14376
14377
|
}
|
|
14377
14378
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14378
14379
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
14379
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14380
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14380
14381
|
"class": "mx-2",
|
|
14381
14382
|
style: {
|
|
14382
14383
|
fontSize: 13
|
|
@@ -14384,7 +14385,7 @@ var Checkout = function Checkout(props) {
|
|
|
14384
14385
|
}, langdetect == 'en' ? 'Optional' : 'اختياري'), ' '), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14385
14386
|
type: 'text',
|
|
14386
14387
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
14387
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14388
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.email,
|
|
14388
14389
|
onChange: function onChange(event) {
|
|
14389
14390
|
cartinfoupdater('email', event.target.value);
|
|
14390
14391
|
},
|
|
@@ -14437,8 +14438,8 @@ var Checkout = function Checkout(props) {
|
|
|
14437
14438
|
return option.id;
|
|
14438
14439
|
},
|
|
14439
14440
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
14440
|
-
var
|
|
14441
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14441
|
+
var _fetchcustomercartQue67;
|
|
14442
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : _fetchcustomercartQue67.customercart.countryid);
|
|
14442
14443
|
}),
|
|
14443
14444
|
onChange: function onChange(option) {
|
|
14444
14445
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2t({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -14454,7 +14455,7 @@ var Checkout = function Checkout(props) {
|
|
|
14454
14455
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
14455
14456
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14456
14457
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
14457
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14458
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
14458
14459
|
"class": "mx-2",
|
|
14459
14460
|
style: {
|
|
14460
14461
|
color: 'var(--danger)'
|
|
@@ -14492,12 +14493,12 @@ var Checkout = function Checkout(props) {
|
|
|
14492
14493
|
return option.id;
|
|
14493
14494
|
},
|
|
14494
14495
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
14495
|
-
var
|
|
14496
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14496
|
+
var _fetchcustomercartQue68;
|
|
14497
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.stateid);
|
|
14497
14498
|
}),
|
|
14498
14499
|
onChange: function onChange(option) {
|
|
14499
|
-
var
|
|
14500
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14500
|
+
var _fetchcustomercartQue69;
|
|
14501
|
+
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.countryid.length) != 0) {
|
|
14501
14502
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2t({}, FetchTabexStatesPayloadobjContext);
|
|
14502
14503
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
14503
14504
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -14549,8 +14550,8 @@ var Checkout = function Checkout(props) {
|
|
|
14549
14550
|
return option.id;
|
|
14550
14551
|
},
|
|
14551
14552
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
14552
|
-
var
|
|
14553
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14553
|
+
var _fetchcustomercartQue70;
|
|
14554
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.cityid);
|
|
14554
14555
|
}),
|
|
14555
14556
|
onChange: function onChange(option) {
|
|
14556
14557
|
cartinfoupdater('cityid', option.id);
|
|
@@ -14570,7 +14571,7 @@ var Checkout = function Checkout(props) {
|
|
|
14570
14571
|
}, "*")), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
14571
14572
|
type: 'text',
|
|
14572
14573
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
14573
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14574
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.address,
|
|
14574
14575
|
onChange: function onChange(event) {
|
|
14575
14576
|
cartinfoupdater('address', event.target.value);
|
|
14576
14577
|
},
|
|
@@ -14585,7 +14586,7 @@ var Checkout = function Checkout(props) {
|
|
|
14585
14586
|
}, langdetect == 'en' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
14586
14587
|
type: 'text',
|
|
14587
14588
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
14588
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14589
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.notes,
|
|
14589
14590
|
onChange: function onChange(event) {
|
|
14590
14591
|
cartinfoupdater('notes', event.target.value);
|
|
14591
14592
|
},
|
|
@@ -14600,7 +14601,7 @@ var Checkout = function Checkout(props) {
|
|
|
14600
14601
|
}, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14601
14602
|
type: 'number',
|
|
14602
14603
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
14603
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14604
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.customercart) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.aff_code,
|
|
14604
14605
|
onChange: function onChange(event) {
|
|
14605
14606
|
cartinfoupdater('aff_code', event.target.value);
|
|
14606
14607
|
},
|
|
@@ -14634,7 +14635,7 @@ var Checkout = function Checkout(props) {
|
|
|
14634
14635
|
onChange: function onChange(event) {
|
|
14635
14636
|
cartinfoupdater('shippingmethod_id', event.target.value);
|
|
14636
14637
|
},
|
|
14637
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14638
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.customercart) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.shippingmethod_id
|
|
14638
14639
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
14639
14640
|
value: null
|
|
14640
14641
|
}, langdetect == 'en' ? 'Choose Shipping Method' : 'الشحن اخنر طريقة'), shippingmethods === null || shippingmethods === void 0 ? void 0 : shippingmethods.map(function (item, index) {
|
|
@@ -14728,10 +14729,10 @@ var Checkout = function Checkout(props) {
|
|
|
14728
14729
|
id: 'codcheckbox',
|
|
14729
14730
|
type: "checkbox",
|
|
14730
14731
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
14731
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14732
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) == 'cod' ? true : false,
|
|
14732
14733
|
onChange: function onChange() {
|
|
14733
|
-
var
|
|
14734
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14734
|
+
var _fetchcustomercartQue76;
|
|
14735
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.paymentmethod) != 'cod') {
|
|
14735
14736
|
cartinfoupdater('paymentmethod', 'cod');
|
|
14736
14737
|
setinstapaychosen(false);
|
|
14737
14738
|
}
|
|
@@ -14755,10 +14756,10 @@ var Checkout = function Checkout(props) {
|
|
|
14755
14756
|
id: 'codcheckbox',
|
|
14756
14757
|
type: "checkbox",
|
|
14757
14758
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
14758
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14759
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.paymentmethod) == 'instapay' ? true : false,
|
|
14759
14760
|
onChange: function onChange() {
|
|
14760
|
-
var
|
|
14761
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14761
|
+
var _fetchcustomercartQue78;
|
|
14762
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.paymentmethod) != 'instapay') {
|
|
14762
14763
|
cartinfoupdater('paymentmethod', 'instapay');
|
|
14763
14764
|
setinstapaychosen(true);
|
|
14764
14765
|
// alert('1');
|
|
@@ -14781,10 +14782,10 @@ var Checkout = function Checkout(props) {
|
|
|
14781
14782
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14782
14783
|
type: "checkbox",
|
|
14783
14784
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
14784
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14785
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) == 'cardondelivery' ? true : false,
|
|
14785
14786
|
onChange: function onChange() {
|
|
14786
|
-
var
|
|
14787
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14787
|
+
var _fetchcustomercartQue80;
|
|
14788
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.paymentmethod) != 'cardondelivery') {
|
|
14788
14789
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
14789
14790
|
setinstapaychosen(false);
|
|
14790
14791
|
}
|
|
@@ -14803,10 +14804,10 @@ var Checkout = function Checkout(props) {
|
|
|
14803
14804
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14804
14805
|
type: "checkbox",
|
|
14805
14806
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
14806
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14807
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) == 'onlinepayment' ? true : false,
|
|
14807
14808
|
onChange: function onChange() {
|
|
14808
|
-
var
|
|
14809
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14809
|
+
var _fetchcustomercartQue82;
|
|
14810
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.paymentmethod) != 'onlinepayment') {
|
|
14810
14811
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
14811
14812
|
setinstapaychosen(false);
|
|
14812
14813
|
}
|
|
@@ -14825,10 +14826,10 @@ var Checkout = function Checkout(props) {
|
|
|
14825
14826
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14826
14827
|
type: "checkbox",
|
|
14827
14828
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
14828
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14829
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) == 'valU' ? true : false,
|
|
14829
14830
|
onChange: function onChange() {
|
|
14830
|
-
var
|
|
14831
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14831
|
+
var _fetchcustomercartQue84;
|
|
14832
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.paymentmethod) != 'valU') {
|
|
14832
14833
|
cartinfoupdater('paymentmethod', 'valU');
|
|
14833
14834
|
setinstapaychosen(false);
|
|
14834
14835
|
}
|
|
@@ -14847,10 +14848,10 @@ var Checkout = function Checkout(props) {
|
|
|
14847
14848
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14848
14849
|
type: "checkbox",
|
|
14849
14850
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
14850
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14851
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.customercart.paymentmethod) == 'mobilewallet' ? true : false,
|
|
14851
14852
|
onChange: function onChange() {
|
|
14852
|
-
var
|
|
14853
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14853
|
+
var _fetchcustomercartQue86;
|
|
14854
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.customercart.paymentmethod) != 'mobilewallet') {
|
|
14854
14855
|
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
14855
14856
|
setinstapaychosen(false);
|
|
14856
14857
|
}
|
|
@@ -14862,17 +14863,17 @@ var Checkout = function Checkout(props) {
|
|
|
14862
14863
|
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"
|
|
14863
14864
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14864
14865
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
14865
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14866
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14866
14867
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
14867
14868
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14868
14869
|
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 '
|
|
14869
14870
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14870
14871
|
type: "checkbox",
|
|
14871
14872
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
14872
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14873
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.customercart) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.paymentmethod) == 'forsa' ? true : false,
|
|
14873
14874
|
onChange: function onChange() {
|
|
14874
|
-
var
|
|
14875
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14875
|
+
var _fetchcustomercartQue88;
|
|
14876
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) != 'forsa') {
|
|
14876
14877
|
cartinfoupdater('paymentmethod', 'forsa');
|
|
14877
14878
|
setinstapaychosen(false);
|
|
14878
14879
|
}
|
|
@@ -14884,17 +14885,17 @@ var Checkout = function Checkout(props) {
|
|
|
14884
14885
|
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"
|
|
14885
14886
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14886
14887
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
14887
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14888
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14888
14889
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
14889
14890
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14890
14891
|
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 '
|
|
14891
14892
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14892
14893
|
type: "checkbox",
|
|
14893
14894
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
14894
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14895
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) == 'Souhoola' ? true : false,
|
|
14895
14896
|
onChange: function onChange() {
|
|
14896
|
-
var
|
|
14897
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14897
|
+
var _fetchcustomercartQue90;
|
|
14898
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.customercart) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.paymentmethod) != 'Souhoola') {
|
|
14898
14899
|
cartinfoupdater('paymentmethod', 'Souhoola');
|
|
14899
14900
|
setinstapaychosen(false);
|
|
14900
14901
|
}
|
|
@@ -14906,17 +14907,17 @@ var Checkout = function Checkout(props) {
|
|
|
14906
14907
|
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"
|
|
14907
14908
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14908
14909
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
14909
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14910
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14910
14911
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
14911
14912
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14912
14913
|
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 '
|
|
14913
14914
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14914
14915
|
type: "checkbox",
|
|
14915
14916
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
14916
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14917
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) == 'paypal' ? true : false,
|
|
14917
14918
|
onChange: function onChange() {
|
|
14918
|
-
var
|
|
14919
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14919
|
+
var _fetchcustomercartQue92;
|
|
14920
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) != 'paypal') {
|
|
14920
14921
|
cartinfoupdater('paymentmethod', 'paypal');
|
|
14921
14922
|
setinstapaychosen(false);
|
|
14922
14923
|
}
|
|
@@ -14928,17 +14929,17 @@ var Checkout = function Checkout(props) {
|
|
|
14928
14929
|
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"
|
|
14929
14930
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14930
14931
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
14931
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14932
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14932
14933
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
14933
14934
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14934
14935
|
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 '
|
|
14935
14936
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14936
14937
|
type: "checkbox",
|
|
14937
14938
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
14938
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14939
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) == 'bankinstallments' ? true : false,
|
|
14939
14940
|
onChange: function onChange() {
|
|
14940
|
-
var
|
|
14941
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14941
|
+
var _fetchcustomercartQue94;
|
|
14942
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.customercart) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.paymentmethod) != 'bankinstallments') {
|
|
14942
14943
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
14943
14944
|
setinstapaychosen(false);
|
|
14944
14945
|
}
|
|
@@ -14950,17 +14951,17 @@ var Checkout = function Checkout(props) {
|
|
|
14950
14951
|
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"
|
|
14951
14952
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14952
14953
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
14953
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14954
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14954
14955
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
14955
14956
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14956
14957
|
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 '
|
|
14957
14958
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14958
14959
|
type: "checkbox",
|
|
14959
14960
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
14960
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14961
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.customercart) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.paymentmethod) == 'Aman' ? true : false,
|
|
14961
14962
|
onChange: function onChange() {
|
|
14962
|
-
var
|
|
14963
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14963
|
+
var _fetchcustomercartQue96;
|
|
14964
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.customercart) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.paymentmethod) != 'Aman') {
|
|
14964
14965
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
14965
14966
|
setinstapaychosen(false);
|
|
14966
14967
|
}
|
|
@@ -14982,7 +14983,7 @@ var Checkout = function Checkout(props) {
|
|
|
14982
14983
|
dangerouslySetInnerHTML: {
|
|
14983
14984
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
14984
14985
|
}
|
|
14985
|
-
}))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14986
|
+
}))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue97 === void 0 ? void 0 : _fetchcustomercartQue97.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14986
14987
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
14987
14988
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14988
14989
|
style: {
|
|
@@ -17521,7 +17522,7 @@ styleInject(css_248z$E);
|
|
|
17521
17522
|
function ownKeys$2m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17522
17523
|
function _objectSpread$2m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17523
17524
|
var CartSlider = function CartSlider(props) {
|
|
17524
|
-
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue0, _fetchcustomercartQue1, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
|
|
17525
|
+
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue0, _fetchcustomercartQue1, _authdetailsContext$i2, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
|
|
17525
17526
|
var lang = props.actions.lang;
|
|
17526
17527
|
var langdetect = props.actions.langdetect;
|
|
17527
17528
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -18243,7 +18244,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
18243
18244
|
textTransform: sectionproperties.total_texttransform,
|
|
18244
18245
|
color: sectionproperties.total_color
|
|
18245
18246
|
}
|
|
18246
|
-
}, lang.subtotal)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18247
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6808c6295b598' ? langdetect == 'en' ? 'Total' : 'تكلفة المنتجات' : lang.subtotal)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18247
18248
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
18248
18249
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18249
18250
|
className: langdetect == 'en' ? ' p-0 m-0 wordbreak text-right ' : ' p-0 m-0 wordbreak text-left',
|
|
@@ -18253,7 +18254,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
18253
18254
|
textTransform: sectionproperties.total_texttransform,
|
|
18254
18255
|
color: sectionproperties.total_color
|
|
18255
18256
|
}
|
|
18256
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue10 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue10 === void 0 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue10 === void 0 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.customercart) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.totalprice).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.totalprice).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18257
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue10 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue10 === void 0 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue10 === void 0 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.customercart) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.totalprice).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18257
18258
|
"class": "col-lg-12 mt-1 d-flex align-items-center justify-content-start p-0"
|
|
18258
18259
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18259
18260
|
"class": "m-0 p-0",
|
|
@@ -40475,7 +40476,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
40475
40476
|
target: '_self',
|
|
40476
40477
|
style: {
|
|
40477
40478
|
position: 'fixed',
|
|
40478
|
-
bottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) == '684dada1b631b' ?
|
|
40479
|
+
bottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) == '684dada1b631b' ? 70 : sectionproperties.callppositionfrombottom + 'px',
|
|
40479
40480
|
right: langdetect == 'en' ? (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) == '684dada1b631b' ? 20 : sectionproperties.callppositionfromright + 'px' : '',
|
|
40480
40481
|
left: langdetect == 'ar' ? (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instid) == '684dada1b631b' ? 20 : sectionproperties.callppositionfromright + 'px' : '',
|
|
40481
40482
|
zIndex: 999999,
|