tabexseriescomponents 0.50.189 → 0.50.190
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 +537 -535
- package/dist/index.esm.js +537 -535
- package/dist/index.umd.js +537 -535
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -5477,12 +5477,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5477
5477
|
srcfromprops: 'undername'
|
|
5478
5478
|
})))), /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
|
|
5479
5479
|
actions: props.actions
|
|
5480
|
+
}), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
|
|
5481
|
+
actions: props.actions
|
|
5480
5482
|
}), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
|
|
5481
5483
|
actions: props.actions,
|
|
5482
5484
|
srcfromprops: 'servicestyle2',
|
|
5483
5485
|
addtocartfunc: addtocartfunc
|
|
5484
|
-
}), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
|
|
5485
|
-
actions: props.actions
|
|
5486
5486
|
}), sectionproperties.gallerystyle != 'Style 1' && sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition != 'Top' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
5487
5487
|
actions: props.actions
|
|
5488
5488
|
}), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -14469,7 +14469,7 @@ styleInject(css_248z$G);
|
|
|
14469
14469
|
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; }
|
|
14470
14470
|
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; }
|
|
14471
14471
|
var Checkout = function Checkout(props) {
|
|
14472
|
-
var _fetchTabexCountriesQ2, _css, _authdetailsContext$
|
|
14472
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i1, _authdetailsContext$i10, _fetchcustomercartQue66, _authdetailsContext$i11, _fetchcustomercartQue67, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue68, _authdetailsContext$i16, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _fetchcustomercartQue86, _fetchcustomercartQue88, _authdetailsContext$i17, _fetchcustomercartQue90, _authdetailsContext$i18, _fetchcustomercartQue92, _authdetailsContext$i19, _fetchcustomercartQue94, _authdetailsContext$i20, _fetchcustomercartQue96, _authdetailsContext$i21, _fetchcustomercartQue98, _authdetailsContext$i22, _authdetailsContext$i23, _fetchcustomercartQue100, _fetchcustomercartQue101;
|
|
14473
14473
|
var _useState = React.useState(null),
|
|
14474
14474
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
14475
14475
|
_useState2[0];
|
|
@@ -14740,9 +14740,9 @@ var Checkout = function Checkout(props) {
|
|
|
14740
14740
|
});
|
|
14741
14741
|
};
|
|
14742
14742
|
var is_order_extrafileds_required_fulfiled = function is_order_extrafileds_required_fulfiled() {
|
|
14743
|
-
var _authdetailsContext$i5, _authdetailsContext$i6;
|
|
14743
|
+
var _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
14744
14744
|
var is_fulfilled = true;
|
|
14745
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.contactinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '66d99c87c0a20' || (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.contactinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '68c6a5ff3e0d0') {
|
|
14745
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.contactinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '66d99c87c0a20' || (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.contactinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '68c6a5ff3e0d0' || (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '68e4efe8cb18e') {
|
|
14746
14746
|
var OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
14747
14747
|
OrderExtraFieldsToBeSentArr === null || OrderExtraFieldsToBeSentArr === void 0 || OrderExtraFieldsToBeSentArr.forEach(function (item, index) {
|
|
14748
14748
|
if (item.isrequired == 1 && (item.value == undefined || item.value == null || item.value.length == 0)) {
|
|
@@ -15027,7 +15027,7 @@ var Checkout = function Checkout(props) {
|
|
|
15027
15027
|
return isloading;
|
|
15028
15028
|
};
|
|
15029
15029
|
var Mycart = function Mycart() {
|
|
15030
|
-
var _fetchcustomercartQue34,
|
|
15030
|
+
var _fetchcustomercartQue34, _fetchcustomercartQue36, _fetchcustomercartQue37, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _authdetailsContext$i8, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _authdetailsContext$i9, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _authdetailsContext$i0, _fetchcustomercartQue65;
|
|
15031
15031
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15032
15032
|
className: "row m-0 w-100 mb-md-3"
|
|
15033
15033
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -15053,118 +15053,146 @@ var Checkout = function Checkout(props) {
|
|
|
15053
15053
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15054
15054
|
className: "col-lg-12 p-0"
|
|
15055
15055
|
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.customercart.cartitems.map(function (item, index) {
|
|
15056
|
+
var _fetchcustomercartQue35;
|
|
15056
15057
|
if (item.product_extrafields != null) {
|
|
15057
15058
|
var product_extrafields = JSON.parse(item.product_extrafields);
|
|
15058
15059
|
// var product_extrafields_parsed = JSON.stringify(product_extrafields);
|
|
15059
15060
|
// alert(product_extrafields_parsed);
|
|
15060
15061
|
}
|
|
15061
|
-
|
|
15062
|
-
|
|
15063
|
-
|
|
15064
|
-
|
|
15065
|
-
|
|
15066
|
-
|
|
15067
|
-
}
|
|
15068
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15069
|
-
className: "row m-0 w-100 d-flex"
|
|
15070
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15071
|
-
className: "".concat(checkoutstyles.imagecont)
|
|
15072
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
15073
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
15074
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
15075
|
-
path: item.productinfo.hasvariants == 0 ? item.productinfo.productmainimage : item.productinfo.variantinfo.variantimageurl,
|
|
15076
|
-
style: {
|
|
15077
|
-
width: '100%',
|
|
15078
|
-
height: '100%',
|
|
15079
|
-
objectFit: 'contain'
|
|
15080
|
-
},
|
|
15081
|
-
loading: "lazy"
|
|
15082
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15083
|
-
className: "col-lg-7 col-md-7 col-sm-7"
|
|
15084
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15085
|
-
className: "row m-0 w-100"
|
|
15086
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15087
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start"
|
|
15088
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15089
|
-
className: "".concat(checkoutstyles.productNameStyles) + ' m-0 p-0 w-100 ',
|
|
15090
|
-
style: {
|
|
15091
|
-
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
15092
|
-
}
|
|
15093
|
-
}, item.productinfo["name_".concat(langdetect)] || item.productinfo.name_en)), sectionproperties.producttype == 'Product' && sectionproperties.showquantity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15094
|
-
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
15095
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15096
|
-
className: "m-0 p-0 font-weight-500 w-100",
|
|
15097
|
-
style: {
|
|
15098
|
-
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
15099
|
-
color: sectionproperties.prodNameColor
|
|
15062
|
+
var extras_for_product = [];
|
|
15063
|
+
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue35 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue35 === void 0 || (_fetchcustomercartQue35 = _fetchcustomercartQue35.data) === null || _fetchcustomercartQue35 === void 0 || (_fetchcustomercartQue35 = _fetchcustomercartQue35.customercart) === null || _fetchcustomercartQue35 === void 0 || (_fetchcustomercartQue35 = _fetchcustomercartQue35.cartitems) === null || _fetchcustomercartQue35 === void 0 || _fetchcustomercartQue35.forEach(function (cartitem_in, cartindex_in) {
|
|
15064
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
15065
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (item === null || item === void 0 ? void 0 : item.productid)) {
|
|
15066
|
+
extras_for_product.push(cartitem_in);
|
|
15067
|
+
}
|
|
15100
15068
|
}
|
|
15101
|
-
}
|
|
15102
|
-
|
|
15103
|
-
}, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
|
|
15069
|
+
});
|
|
15070
|
+
if (item.item_type != 'Extras') {
|
|
15104
15071
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15105
|
-
|
|
15072
|
+
className: langdetect != 'ar' ? 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pl-2 pr-0 mb-3' : 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pr-2 pl-0 mb-3',
|
|
15073
|
+
style: {
|
|
15074
|
+
background: sectionproperties.summary_sectionbgcolor,
|
|
15075
|
+
borderRadius: sectionproperties.summary_sectionborderradius + 'px',
|
|
15076
|
+
border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor
|
|
15077
|
+
}
|
|
15106
15078
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15107
|
-
className: "
|
|
15079
|
+
className: "row m-0 w-100 d-flex"
|
|
15080
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15081
|
+
className: "".concat(checkoutstyles.imagecont)
|
|
15082
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
15083
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
15084
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
15085
|
+
path: item.productinfo.hasvariants == 0 ? item.productinfo.productmainimage : item.productinfo.variantinfo.variantimageurl,
|
|
15108
15086
|
style: {
|
|
15109
|
-
|
|
15087
|
+
width: '100%',
|
|
15088
|
+
height: '100%',
|
|
15089
|
+
objectFit: 'contain'
|
|
15090
|
+
},
|
|
15091
|
+
loading: "lazy"
|
|
15092
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15093
|
+
className: "col-lg-7 col-md-7 col-sm-7"
|
|
15094
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15095
|
+
className: "row m-0 w-100"
|
|
15096
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15097
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start"
|
|
15098
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15099
|
+
className: "".concat(checkoutstyles.productNameStyles) + ' m-0 p-0 w-100 ',
|
|
15100
|
+
style: {
|
|
15101
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
15110
15102
|
}
|
|
15103
|
+
}, item.productinfo["name_".concat(langdetect)] || item.productinfo.name_en)), sectionproperties.producttype == 'Product' && sectionproperties.showquantity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15104
|
+
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
15111
15105
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15112
|
-
className:
|
|
15113
|
-
}, langdetect == 'nrwig' && variantitem.optionname == 'Size' ? 'Størrelse' : langdetect == 'nrwig' && variantitem.optionname == 'Color' ? 'Farge' : variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15114
|
-
className: ' text-capitalize font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
|
|
15115
|
-
}, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue)));
|
|
15116
|
-
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
15117
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15118
|
-
"class": "row m-0 w-100"
|
|
15119
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15120
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
15106
|
+
className: "m-0 p-0 font-weight-500 w-100",
|
|
15121
15107
|
style: {
|
|
15108
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
15122
15109
|
color: sectionproperties.prodNameColor
|
|
15123
15110
|
}
|
|
15111
|
+
}, lang.qty, ": ", item.quantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15112
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2 flex-column p-0"
|
|
15113
|
+
}, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
|
|
15114
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15115
|
+
"class": "row m-0 w-100"
|
|
15116
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15117
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
15118
|
+
style: {
|
|
15119
|
+
color: sectionproperties.prodNameColor
|
|
15120
|
+
}
|
|
15121
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15122
|
+
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
15123
|
+
}, langdetect == 'nrwig' && variantitem.optionname == 'Size' ? 'Størrelse' : langdetect == 'nrwig' && variantitem.optionname == 'Color' ? 'Farge' : variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15124
|
+
className: ' text-capitalize font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
|
|
15125
|
+
}, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue)));
|
|
15126
|
+
}), extras_for_product === null || extras_for_product === void 0 ? void 0 : extras_for_product.map(function (extraitem, extraindex) {
|
|
15127
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15128
|
+
"class": "row m-0 w-100"
|
|
15129
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15130
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
15131
|
+
style: {
|
|
15132
|
+
color: sectionproperties.prodNameColor
|
|
15133
|
+
}
|
|
15134
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15135
|
+
className: 'font-13 m-0 p-0 '
|
|
15136
|
+
}, extraitem.productinfo["name_".concat(langdetect)] || extraitem.productinfo.name_en, " (x", extraitem === null || extraitem === void 0 ? void 0 : extraitem.quantity, ")")))
|
|
15137
|
+
// <div>
|
|
15138
|
+
// <p>
|
|
15139
|
+
// name:{},quantity:{extraitem?.quantity}
|
|
15140
|
+
// </p>
|
|
15141
|
+
// </div>
|
|
15142
|
+
;
|
|
15143
|
+
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
15144
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15145
|
+
"class": "row m-0 w-100"
|
|
15146
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15147
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
15148
|
+
style: {
|
|
15149
|
+
color: sectionproperties.prodNameColor
|
|
15150
|
+
}
|
|
15151
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15152
|
+
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
15153
|
+
}, extrafielditem["title_".concat(langdetect)] || extrafielditem.title_en, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15154
|
+
className: ' text-capitalize font-weight-500 font-13 m-0 p-0 ml-1 mr-1 '
|
|
15155
|
+
}, " ", extrafielditem.value)));
|
|
15156
|
+
})))), sectionproperties.prodPriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15157
|
+
className: "col-lg-3 col-md-3 col-sm-2 p-0"
|
|
15158
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15159
|
+
className: "row m-0 w-100 h-100"
|
|
15160
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15161
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end mb-auto"
|
|
15162
|
+
}, item.productinfo.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15163
|
+
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
15164
|
+
}, item.productinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15165
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
15124
15166
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15125
|
-
className: '
|
|
15126
|
-
},
|
|
15127
|
-
className:
|
|
15128
|
-
}, "
|
|
15129
|
-
|
|
15130
|
-
|
|
15131
|
-
|
|
15132
|
-
|
|
15133
|
-
|
|
15134
|
-
|
|
15135
|
-
|
|
15136
|
-
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
|
|
15140
|
-
|
|
15141
|
-
|
|
15142
|
-
|
|
15143
|
-
|
|
15144
|
-
|
|
15145
|
-
|
|
15146
|
-
|
|
15147
|
-
|
|
15148
|
-
|
|
15149
|
-
|
|
15150
|
-
|
|
15151
|
-
|
|
15152
|
-
|
|
15153
|
-
}
|
|
15154
|
-
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
15155
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15156
|
-
className: langdetect != 'ar' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
15157
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2))), item.productinfo.variantinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15158
|
-
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
15159
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15160
|
-
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
15161
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15162
|
-
className: langdetect != 'ar' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
15163
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantsaleprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantsaleprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantsaleprice).toFixed(2), ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15164
|
-
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
15165
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15166
|
-
className: langdetect != 'ar' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
15167
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))))));
|
|
15167
|
+
className: langdetect != 'ar' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
15168
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), item.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15169
|
+
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
15170
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15171
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
15172
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15173
|
+
className: langdetect != 'ar' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
15174
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15175
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
15176
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15177
|
+
className: langdetect != 'ar' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-left '
|
|
15178
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.defaultprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.defaultprice).toLocaleString() : parseFloat(item.productinfo.defaultprice).toFixed(2), ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))), item.productinfo.hasvariants == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15179
|
+
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
15180
|
+
}, item.productinfo.variantinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15181
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
15182
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15183
|
+
className: langdetect != 'ar' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
15184
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2))), item.productinfo.variantinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15185
|
+
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
15186
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15187
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
15188
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15189
|
+
className: langdetect != 'ar' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
15190
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantsaleprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantsaleprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantsaleprice).toFixed(2), ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15191
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
15192
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15193
|
+
className: langdetect != 'ar' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
15194
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))))));
|
|
15195
|
+
}
|
|
15168
15196
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15169
15197
|
"class": "".concat(checkoutstyles.innersection) + ' row m-0 w-100 p-3 '
|
|
15170
15198
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -15181,13 +15209,13 @@ var Checkout = function Checkout(props) {
|
|
|
15181
15209
|
type: "text",
|
|
15182
15210
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
15183
15211
|
placeholder: lang.giftcarddicountcode,
|
|
15184
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15212
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue36 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue36 === void 0 || (_fetchcustomercartQue36 = _fetchcustomercartQue36.data) === null || _fetchcustomercartQue36 === void 0 ? void 0 : _fetchcustomercartQue36.customercart.couponname,
|
|
15185
15213
|
onChange: function onChange(event) {
|
|
15186
15214
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
15187
15215
|
cartarr.data.customercart.couponname = event.target.value;
|
|
15188
15216
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
15189
15217
|
},
|
|
15190
|
-
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
15218
|
+
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue37 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue37 !== void 0 && (_fetchcustomercartQue37 = _fetchcustomercartQue37.data) !== null && _fetchcustomercartQue37 !== void 0 && _fetchcustomercartQue37.customercart.couponexists ? true : false,
|
|
15191
15219
|
style: {
|
|
15192
15220
|
boxShadow: 'none'
|
|
15193
15221
|
}
|
|
@@ -15196,14 +15224,14 @@ var Checkout = function Checkout(props) {
|
|
|
15196
15224
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
15197
15225
|
className: " ".concat(checkoutstyles.applybtnstyles),
|
|
15198
15226
|
onClick: function onClick() {
|
|
15199
|
-
var
|
|
15200
|
-
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
15201
|
-
var
|
|
15227
|
+
var _fetchcustomercartQue38;
|
|
15228
|
+
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue38 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue38 !== void 0 && (_fetchcustomercartQue38 = _fetchcustomercartQue38.data) !== null && _fetchcustomercartQue38 !== void 0 && _fetchcustomercartQue38.customercart.couponexists)) {
|
|
15229
|
+
var _fetchcustomercartQue39, _fetchcustomercartQue40;
|
|
15202
15230
|
var payloadobj = {
|
|
15203
|
-
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15231
|
+
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue39 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue39 === void 0 || (_fetchcustomercartQue39 = _fetchcustomercartQue39.data) === null || _fetchcustomercartQue39 === void 0 ? void 0 : _fetchcustomercartQue39.customercart.couponname,
|
|
15204
15232
|
functype: 'add'
|
|
15205
15233
|
};
|
|
15206
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15234
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue40 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue40 === void 0 || (_fetchcustomercartQue40 = _fetchcustomercartQue40.data) === null || _fetchcustomercartQue40 === void 0 ? void 0 : _fetchcustomercartQue40.customercart.couponname.length) != 0) {
|
|
15207
15235
|
ApplyPromoCodeMutationContext.mutate(payloadobj);
|
|
15208
15236
|
} else {
|
|
15209
15237
|
NotificationManager.warning('', langdetect === 'ar' ? 'من فضلك اكتب كود الخصم' : langdetect === 'chin' ? '请输入您的优惠码' : langdetect === 'es' ? 'Por favor, introduce tu código promocional' : langdetect === 'fr' ? 'Veuillez saisir votre code promo' : langdetect === 'rus' ? 'Пожалуйста, введите промокод' : 'Please Write Your Promo Code');
|
|
@@ -15218,14 +15246,14 @@ var Checkout = function Checkout(props) {
|
|
|
15218
15246
|
disabled: ApplyPromoCodeMutationContext.isLoading ? true : false
|
|
15219
15247
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
15220
15248
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeOutButton) : "".concat(generalstyles.fadeInButton)
|
|
15221
|
-
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
15249
|
+
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue41 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue41 !== void 0 && (_fetchcustomercartQue41 = _fetchcustomercartQue41.data) !== null && _fetchcustomercartQue41 !== void 0 && _fetchcustomercartQue41.customercart.couponexists ? lang.remove : lang.apply), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15222
15250
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeInButton, " ").concat(generalstyles.btn_preloader) + ' d-flex align-items-center justify-content-center ' : "".concat(generalstyles.fadeOutButton) + ' align-items-center justify-content-center '
|
|
15223
15251
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
15224
15252
|
color: "#fff",
|
|
15225
15253
|
width: "20px",
|
|
15226
15254
|
height: "20px",
|
|
15227
15255
|
duration: "1s"
|
|
15228
|
-
})))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15256
|
+
})))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue42 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue42 === void 0 || (_fetchcustomercartQue42 = _fetchcustomercartQue42.data) === null || _fetchcustomercartQue42 === void 0 || (_fetchcustomercartQue42 = _fetchcustomercartQue42.customercart) === null || _fetchcustomercartQue42 === void 0 ? void 0 : _fetchcustomercartQue42.availablewalletbalance) > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15229
15257
|
className: "row m-0 w-100"
|
|
15230
15258
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15231
15259
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -15235,7 +15263,7 @@ var Checkout = function Checkout(props) {
|
|
|
15235
15263
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
15236
15264
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15237
15265
|
className: langdetect != 'ar' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
15238
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15266
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue43 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.data) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.customercart) === null || _fetchcustomercartQue43 === void 0 ? void 0 : _fetchcustomercartQue43.availablewalletbalance, langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue44 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.customercart) === null || _fetchcustomercartQue44 === void 0 ? void 0 : _fetchcustomercartQue44.usewalletpoints) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15239
15267
|
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
15240
15268
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15241
15269
|
style: {
|
|
@@ -15245,7 +15273,7 @@ var Checkout = function Checkout(props) {
|
|
|
15245
15273
|
onClick: function onClick() {
|
|
15246
15274
|
usewalletpoints();
|
|
15247
15275
|
}
|
|
15248
|
-
}, langdetect === 'ar' ? 'إستخدام النقاط' : langdetect === 'chin' ? '使用积分' : langdetect === 'es' ? 'Usar puntos' : langdetect === 'fr' ? 'Utiliser les points' : langdetect === 'rus' ? 'Использовать баллы' : 'Use Points'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15276
|
+
}, langdetect === 'ar' ? 'إستخدام النقاط' : langdetect === 'chin' ? '使用积分' : langdetect === 'es' ? 'Usar puntos' : langdetect === 'fr' ? 'Utiliser les points' : langdetect === 'rus' ? 'Использовать баллы' : 'Use Points'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue45 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.customercart) === null || _fetchcustomercartQue45 === void 0 ? void 0 : _fetchcustomercartQue45.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15249
15277
|
className: "row m-0 w-100"
|
|
15250
15278
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15251
15279
|
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
@@ -15263,14 +15291,14 @@ var Checkout = function Checkout(props) {
|
|
|
15263
15291
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
15264
15292
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15265
15293
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak '
|
|
15266
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15294
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.contactinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) === '6808c6295b598' ? langdetect === 'ar' ? 'تكلفة المنتجات' : langdetect === 'chin' ? '小计' : langdetect === 'es' ? 'Subtotal' : langdetect === 'fr' ? 'Sous-total' : langdetect === 'rus' ? 'Промежуточный итог' : 'Sub Total' : lang.subtotal)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15267
15295
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
15268
15296
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15269
15297
|
className: langdetect != 'ar' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
15270
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15298
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(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)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue47 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.data) === null || _fetchcustomercartQue47 === void 0 ? void 0 : _fetchcustomercartQue47.customercart.totalprice).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue48 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue48 === void 0 || (_fetchcustomercartQue48 = _fetchcustomercartQue48.data) === null || _fetchcustomercartQue48 === void 0 ? void 0 : _fetchcustomercartQue48.customercart.totalprice).toFixed(2), ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (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 || (_fetchcustomercartQue49 = _fetchcustomercartQue49.genpayments) === null || _fetchcustomercartQue49 === void 0 ? void 0 : _fetchcustomercartQue49.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15271
15299
|
className: "row m-0 w-100"
|
|
15272
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15273
|
-
var
|
|
15300
|
+
}, 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 || (_fetchcustomercartQue50 = _fetchcustomercartQue50.genpayments) === null || _fetchcustomercartQue50 === void 0 ? void 0 : _fetchcustomercartQue50.map(function (item, index) {
|
|
15301
|
+
var _fetchcustomercartQue51;
|
|
15274
15302
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15275
15303
|
"class": "col-lg-12 p-0"
|
|
15276
15304
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -15289,8 +15317,8 @@ var Checkout = function Checkout(props) {
|
|
|
15289
15317
|
style: {
|
|
15290
15318
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
15291
15319
|
}
|
|
15292
|
-
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), " ", item.value, ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect != 'ar' ? authdetailsContext.currencyname_en : '', ' ', (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15293
|
-
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15320
|
+
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), " ", item.value, ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect != 'ar' ? authdetailsContext.currencyname_en : '', ' ', (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.totalprice) * (item.value / 100), ' ', langdetect == 'ar' ? authdetailsContext.currencyname_ar : '', ")")))));
|
|
15321
|
+
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.customercart) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15294
15322
|
className: "row m-0 w-100"
|
|
15295
15323
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15296
15324
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -15303,7 +15331,7 @@ var Checkout = function Checkout(props) {
|
|
|
15303
15331
|
style: {
|
|
15304
15332
|
color: 'red'
|
|
15305
15333
|
}
|
|
15306
|
-
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, "-", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15334
|
+
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, "-", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.customercart) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.walletpointsused), " ", langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.data) === null || _fetchcustomercartQue55 === void 0 ? void 0 : _fetchcustomercartQue55.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15307
15335
|
className: "col-lg-12 p-0 mb-1"
|
|
15308
15336
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15309
15337
|
className: "row m-0 w-100"
|
|
@@ -15315,7 +15343,7 @@ var Checkout = function Checkout(props) {
|
|
|
15315
15343
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
15316
15344
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15317
15345
|
className: langdetect != 'ar' ? "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-left '
|
|
15318
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15346
|
+
}, (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, "- ", authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue57 === void 0 ? void 0 : _fetchcustomercartQue57.customercart.discountprice).toFixed(2), ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15319
15347
|
className: "col-lg-12 p-0"
|
|
15320
15348
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15321
15349
|
className: "row m-0 w-100"
|
|
@@ -15323,11 +15351,11 @@ var Checkout = function Checkout(props) {
|
|
|
15323
15351
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
15324
15352
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15325
15353
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
15326
|
-
}, langdetect == 'nrwig' ? 'Fraktgebyrer' : sectionproperties["shippingfeestitle_".concat(langdetect)] || sectionproperties.shippingfeestitle_en)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15354
|
+
}, langdetect == 'nrwig' ? 'Fraktgebyrer' : sectionproperties["shippingfeestitle_".concat(langdetect)] || sectionproperties.shippingfeestitle_en)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue59 === void 0 ? void 0 : _fetchcustomercartQue59.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15327
15355
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
15328
15356
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15329
15357
|
className: langdetect != 'ar' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
15330
|
-
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15358
|
+
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.zoneprice).toFixed(2), ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue61 !== void 0 && (_fetchcustomercartQue61 = _fetchcustomercartQue61.data) !== null && _fetchcustomercartQue61 !== void 0 && _fetchcustomercartQue61.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15331
15359
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
15332
15360
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15333
15361
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -15352,7 +15380,7 @@ var Checkout = function Checkout(props) {
|
|
|
15352
15380
|
textTransform: sectionproperties.total_texttransform,
|
|
15353
15381
|
color: sectionproperties.total_color
|
|
15354
15382
|
}
|
|
15355
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15383
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6808c6295b598' ? langdetect != 'ar' ? 'Total' : 'المبلغ الإجمالي' : lang.total)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15356
15384
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
15357
15385
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15358
15386
|
className: "row m-0 w-100"
|
|
@@ -15366,7 +15394,7 @@ var Checkout = function Checkout(props) {
|
|
|
15366
15394
|
textTransform: sectionproperties.total_texttransform,
|
|
15367
15395
|
color: sectionproperties.total_color
|
|
15368
15396
|
}
|
|
15369
|
-
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15397
|
+
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(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)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 || (_fetchcustomercartQue63 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : _fetchcustomercartQue63.customercart.totalpriceafterdiscount).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15370
15398
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
15371
15399
|
style: {
|
|
15372
15400
|
background: '#eee',
|
|
@@ -15387,7 +15415,7 @@ var Checkout = function Checkout(props) {
|
|
|
15387
15415
|
style: {
|
|
15388
15416
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
15389
15417
|
}
|
|
15390
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15418
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
15391
15419
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
15392
15420
|
onClick: function onClick() {
|
|
15393
15421
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -15401,7 +15429,7 @@ var Checkout = function Checkout(props) {
|
|
|
15401
15429
|
width: "20px",
|
|
15402
15430
|
height: "20px",
|
|
15403
15431
|
duration: "1s"
|
|
15404
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15432
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : langdetect == 'nrwig' ? 'Bekreft bestilling' : sectionproperties["checkoutbtn_".concat(langdetect, "2")] || sectionproperties.checkoutbtn_en2 : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15405
15433
|
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
15406
15434
|
style: {
|
|
15407
15435
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
@@ -15498,7 +15526,7 @@ var Checkout = function Checkout(props) {
|
|
|
15498
15526
|
}
|
|
15499
15527
|
}, /*#__PURE__*/React__default["default"].createElement(BiPhone.BiPhone, null)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15500
15528
|
className: "m-0 p-0 wordbreak"
|
|
15501
|
-
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15529
|
+
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15502
15530
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
15503
15531
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15504
15532
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -15562,13 +15590,13 @@ var Checkout = function Checkout(props) {
|
|
|
15562
15590
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15563
15591
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
15564
15592
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15565
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15593
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
15566
15594
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15567
15595
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
15568
15596
|
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
15569
15597
|
type: 'text',
|
|
15570
15598
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
15571
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15599
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.name,
|
|
15572
15600
|
onChange: function onChange(event) {
|
|
15573
15601
|
cartinfoupdater('name', event.target.value);
|
|
15574
15602
|
},
|
|
@@ -15577,13 +15605,13 @@ var Checkout = function Checkout(props) {
|
|
|
15577
15605
|
boxShadow: 'none'
|
|
15578
15606
|
}
|
|
15579
15607
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15580
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15608
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
15581
15609
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15582
15610
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
15583
15611
|
}, langdetect === 'ar' ? 'رقم الهاتف' : langdetect === 'chin' ? '电话号码' : langdetect === 'es' ? 'Número de teléfono' : langdetect === 'fr' ? 'Numéro de téléphone' : langdetect === 'rus' ? 'Номер телефона' : 'Phone Number'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
15584
15612
|
type: 'text',
|
|
15585
15613
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
15586
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15614
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : _fetchcustomercartQue67.customercart.mobile,
|
|
15587
15615
|
onChange: function onChange(event) {
|
|
15588
15616
|
cartinfoupdater('mobile', event.target.value);
|
|
15589
15617
|
},
|
|
@@ -15594,11 +15622,11 @@ var Checkout = function Checkout(props) {
|
|
|
15594
15622
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15595
15623
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
15596
15624
|
style: {
|
|
15597
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15625
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
15598
15626
|
}
|
|
15599
15627
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15600
15628
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
15601
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15629
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
15602
15630
|
"class": "mx-2",
|
|
15603
15631
|
style: {
|
|
15604
15632
|
fontSize: 13
|
|
@@ -15606,7 +15634,7 @@ var Checkout = function Checkout(props) {
|
|
|
15606
15634
|
}, langdetect != 'ar' ? 'Optional' : 'اختياري'), ' '), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
15607
15635
|
type: 'text',
|
|
15608
15636
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
15609
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15637
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.email,
|
|
15610
15638
|
onChange: function onChange(event) {
|
|
15611
15639
|
cartinfoupdater('email', event.target.value);
|
|
15612
15640
|
},
|
|
@@ -15659,8 +15687,8 @@ var Checkout = function Checkout(props) {
|
|
|
15659
15687
|
return option.id;
|
|
15660
15688
|
},
|
|
15661
15689
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
15662
|
-
var
|
|
15663
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15690
|
+
var _fetchcustomercartQue69;
|
|
15691
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.countryid);
|
|
15664
15692
|
}),
|
|
15665
15693
|
onChange: function onChange(option) {
|
|
15666
15694
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2w({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -15676,7 +15704,7 @@ var Checkout = function Checkout(props) {
|
|
|
15676
15704
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
15677
15705
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15678
15706
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
15679
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15707
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67e448d2ef6e0' ? langdetect != 'ar' ? 'Governorate' : 'المحافظة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
15680
15708
|
"class": "mx-2",
|
|
15681
15709
|
style: {
|
|
15682
15710
|
color: 'var(--danger)'
|
|
@@ -15714,12 +15742,12 @@ var Checkout = function Checkout(props) {
|
|
|
15714
15742
|
return option.id;
|
|
15715
15743
|
},
|
|
15716
15744
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
15717
|
-
var
|
|
15718
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15745
|
+
var _fetchcustomercartQue70;
|
|
15746
|
+
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.stateid);
|
|
15719
15747
|
}),
|
|
15720
15748
|
onChange: function onChange(option) {
|
|
15721
|
-
var
|
|
15722
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15749
|
+
var _fetchcustomercartQue71;
|
|
15750
|
+
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.countryid.length) != 0) {
|
|
15723
15751
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2w({}, FetchTabexStatesPayloadobjContext);
|
|
15724
15752
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
15725
15753
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -15771,13 +15799,13 @@ var Checkout = function Checkout(props) {
|
|
|
15771
15799
|
return option.id;
|
|
15772
15800
|
},
|
|
15773
15801
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
15774
|
-
var
|
|
15775
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15802
|
+
var _fetchcustomercartQue72;
|
|
15803
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.cityid);
|
|
15776
15804
|
}),
|
|
15777
15805
|
onChange: function onChange(option) {
|
|
15778
|
-
var
|
|
15806
|
+
var _fetchcustomercartQue73;
|
|
15779
15807
|
cartinfoupdater('cityid', option.id);
|
|
15780
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15808
|
+
if ((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.zonenotes) != null) {
|
|
15781
15809
|
setshowpopup(true);
|
|
15782
15810
|
}
|
|
15783
15811
|
},
|
|
@@ -15796,7 +15824,7 @@ var Checkout = function Checkout(props) {
|
|
|
15796
15824
|
}, "*")), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
15797
15825
|
type: 'text',
|
|
15798
15826
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
15799
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15827
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.address,
|
|
15800
15828
|
onChange: function onChange(event) {
|
|
15801
15829
|
cartinfoupdater('address', event.target.value);
|
|
15802
15830
|
},
|
|
@@ -15811,7 +15839,7 @@ var Checkout = function Checkout(props) {
|
|
|
15811
15839
|
}, langdetect != 'ar' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
15812
15840
|
type: 'text',
|
|
15813
15841
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
15814
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15842
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.notes,
|
|
15815
15843
|
onChange: function onChange(event) {
|
|
15816
15844
|
cartinfoupdater('notes', event.target.value);
|
|
15817
15845
|
},
|
|
@@ -15826,7 +15854,7 @@ var Checkout = function Checkout(props) {
|
|
|
15826
15854
|
}, langdetect != 'ar' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
15827
15855
|
type: 'number',
|
|
15828
15856
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
15829
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15857
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.customercart) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.aff_code,
|
|
15830
15858
|
onChange: function onChange(event) {
|
|
15831
15859
|
cartinfoupdater('aff_code', event.target.value);
|
|
15832
15860
|
},
|
|
@@ -15860,7 +15888,7 @@ var Checkout = function Checkout(props) {
|
|
|
15860
15888
|
onChange: function onChange(event) {
|
|
15861
15889
|
cartinfoupdater('shippingmethod_id', event.target.value);
|
|
15862
15890
|
},
|
|
15863
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15891
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.customercart) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.shippingmethod_id
|
|
15864
15892
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
15865
15893
|
value: null
|
|
15866
15894
|
}, langdetect != 'ar' ? 'Choose Shipping Method' : 'الشحن اخنر طريقة'), shippingmethods === null || shippingmethods === void 0 ? void 0 : shippingmethods.map(function (item, index) {
|
|
@@ -15959,10 +15987,10 @@ var Checkout = function Checkout(props) {
|
|
|
15959
15987
|
id: 'codcheckbox',
|
|
15960
15988
|
type: "checkbox",
|
|
15961
15989
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
15962
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15990
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.paymentmethod) == 'cod' ? true : false,
|
|
15963
15991
|
onChange: function onChange() {
|
|
15964
|
-
var
|
|
15965
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
15992
|
+
var _fetchcustomercartQue79;
|
|
15993
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) != 'cod') {
|
|
15966
15994
|
cartinfoupdater('paymentmethod', 'cod');
|
|
15967
15995
|
setinstapaychosen(false);
|
|
15968
15996
|
}
|
|
@@ -15986,10 +16014,10 @@ var Checkout = function Checkout(props) {
|
|
|
15986
16014
|
id: 'codcheckbox',
|
|
15987
16015
|
type: "checkbox",
|
|
15988
16016
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
15989
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16017
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.paymentmethod) == 'instapay' ? true : false,
|
|
15990
16018
|
onChange: function onChange() {
|
|
15991
|
-
var
|
|
15992
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16019
|
+
var _fetchcustomercartQue81;
|
|
16020
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) != 'instapay') {
|
|
15993
16021
|
cartinfoupdater('paymentmethod', 'instapay');
|
|
15994
16022
|
setinstapaychosen(true);
|
|
15995
16023
|
// alert('1');
|
|
@@ -16012,10 +16040,10 @@ var Checkout = function Checkout(props) {
|
|
|
16012
16040
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16013
16041
|
type: "checkbox",
|
|
16014
16042
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
16015
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16043
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.paymentmethod) == 'cardondelivery' ? true : false,
|
|
16016
16044
|
onChange: function onChange() {
|
|
16017
|
-
var
|
|
16018
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16045
|
+
var _fetchcustomercartQue83;
|
|
16046
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) != 'cardondelivery') {
|
|
16019
16047
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
16020
16048
|
setinstapaychosen(false);
|
|
16021
16049
|
}
|
|
@@ -16034,10 +16062,10 @@ var Checkout = function Checkout(props) {
|
|
|
16034
16062
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16035
16063
|
type: "checkbox",
|
|
16036
16064
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
16037
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16065
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.paymentmethod) == 'onlinepayment' ? true : false,
|
|
16038
16066
|
onChange: function onChange() {
|
|
16039
|
-
var
|
|
16040
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16067
|
+
var _fetchcustomercartQue85;
|
|
16068
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.customercart.paymentmethod) != 'onlinepayment') {
|
|
16041
16069
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
16042
16070
|
setinstapaychosen(false);
|
|
16043
16071
|
}
|
|
@@ -16056,10 +16084,10 @@ var Checkout = function Checkout(props) {
|
|
|
16056
16084
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16057
16085
|
type: "checkbox",
|
|
16058
16086
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
16059
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16087
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.customercart.paymentmethod) == 'valU' ? true : false,
|
|
16060
16088
|
onChange: function onChange() {
|
|
16061
|
-
var
|
|
16062
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16089
|
+
var _fetchcustomercartQue87;
|
|
16090
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.customercart.paymentmethod) != 'valU') {
|
|
16063
16091
|
cartinfoupdater('paymentmethod', 'valU');
|
|
16064
16092
|
setinstapaychosen(false);
|
|
16065
16093
|
}
|
|
@@ -16078,10 +16106,10 @@ var Checkout = function Checkout(props) {
|
|
|
16078
16106
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16079
16107
|
type: "checkbox",
|
|
16080
16108
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
16081
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16109
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.customercart.paymentmethod) == 'mobilewallet' ? true : false,
|
|
16082
16110
|
onChange: function onChange() {
|
|
16083
|
-
var
|
|
16084
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16111
|
+
var _fetchcustomercartQue89;
|
|
16112
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.customercart.paymentmethod) != 'mobilewallet') {
|
|
16085
16113
|
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
16086
16114
|
setinstapaychosen(false);
|
|
16087
16115
|
}
|
|
@@ -16093,17 +16121,17 @@ var Checkout = function Checkout(props) {
|
|
|
16093
16121
|
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"
|
|
16094
16122
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16095
16123
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16096
|
-
}, langdetect != 'ar' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16124
|
+
}, langdetect != 'ar' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16097
16125
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16098
16126
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16099
16127
|
className: langdetect != 'ar' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
16100
16128
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16101
16129
|
type: "checkbox",
|
|
16102
16130
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
16103
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16131
|
+
checked: (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) == 'forsa' ? true : false,
|
|
16104
16132
|
onChange: function onChange() {
|
|
16105
|
-
var
|
|
16106
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16133
|
+
var _fetchcustomercartQue91;
|
|
16134
|
+
if ((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) != 'forsa') {
|
|
16107
16135
|
cartinfoupdater('paymentmethod', 'forsa');
|
|
16108
16136
|
setinstapaychosen(false);
|
|
16109
16137
|
}
|
|
@@ -16115,17 +16143,17 @@ var Checkout = function Checkout(props) {
|
|
|
16115
16143
|
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"
|
|
16116
16144
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16117
16145
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16118
|
-
}, langdetect != 'ar' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16146
|
+
}, langdetect != 'ar' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16119
16147
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16120
16148
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16121
16149
|
className: langdetect != 'ar' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
16122
16150
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16123
16151
|
type: "checkbox",
|
|
16124
16152
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
16125
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16153
|
+
checked: (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) == 'Souhoola' ? true : false,
|
|
16126
16154
|
onChange: function onChange() {
|
|
16127
|
-
var
|
|
16128
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16155
|
+
var _fetchcustomercartQue93;
|
|
16156
|
+
if ((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) != 'Souhoola') {
|
|
16129
16157
|
cartinfoupdater('paymentmethod', 'Souhoola');
|
|
16130
16158
|
setinstapaychosen(false);
|
|
16131
16159
|
}
|
|
@@ -16137,17 +16165,17 @@ var Checkout = function Checkout(props) {
|
|
|
16137
16165
|
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"
|
|
16138
16166
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16139
16167
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16140
|
-
}, langdetect != 'ar' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16168
|
+
}, langdetect != 'ar' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16141
16169
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16142
16170
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16143
16171
|
className: langdetect != 'ar' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
16144
16172
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16145
16173
|
type: "checkbox",
|
|
16146
16174
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
16147
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16175
|
+
checked: (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) == 'paypal' ? true : false,
|
|
16148
16176
|
onChange: function onChange() {
|
|
16149
|
-
var
|
|
16150
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16177
|
+
var _fetchcustomercartQue95;
|
|
16178
|
+
if ((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) != 'paypal') {
|
|
16151
16179
|
cartinfoupdater('paymentmethod', 'paypal');
|
|
16152
16180
|
setinstapaychosen(false);
|
|
16153
16181
|
}
|
|
@@ -16159,17 +16187,17 @@ var Checkout = function Checkout(props) {
|
|
|
16159
16187
|
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"
|
|
16160
16188
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16161
16189
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
16162
|
-
}, langdetect != 'ar' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16190
|
+
}, langdetect != 'ar' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16163
16191
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16164
16192
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16165
16193
|
className: langdetect != 'ar' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
16166
16194
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16167
16195
|
type: "checkbox",
|
|
16168
16196
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
16169
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16197
|
+
checked: (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) == 'bankinstallments' ? true : false,
|
|
16170
16198
|
onChange: function onChange() {
|
|
16171
|
-
var
|
|
16172
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16199
|
+
var _fetchcustomercartQue97;
|
|
16200
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.customercart) === null || _fetchcustomercartQue97 === void 0 ? void 0 : _fetchcustomercartQue97.paymentmethod) != 'bankinstallments') {
|
|
16173
16201
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
16174
16202
|
setinstapaychosen(false);
|
|
16175
16203
|
}
|
|
@@ -16181,17 +16209,17 @@ var Checkout = function Checkout(props) {
|
|
|
16181
16209
|
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"
|
|
16182
16210
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16183
16211
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16184
|
-
}, langdetect != 'ar' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16212
|
+
}, langdetect != 'ar' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16185
16213
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
16186
16214
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16187
16215
|
className: langdetect != 'ar' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
16188
16216
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16189
16217
|
type: "checkbox",
|
|
16190
16218
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
16191
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16219
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue98 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue98 === void 0 || (_fetchcustomercartQue98 = _fetchcustomercartQue98.data) === null || _fetchcustomercartQue98 === void 0 || (_fetchcustomercartQue98 = _fetchcustomercartQue98.customercart) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.paymentmethod) == 'Aman' ? true : false,
|
|
16192
16220
|
onChange: function onChange() {
|
|
16193
|
-
var
|
|
16194
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16221
|
+
var _fetchcustomercartQue99;
|
|
16222
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue99 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue99 === void 0 || (_fetchcustomercartQue99 = _fetchcustomercartQue99.data) === null || _fetchcustomercartQue99 === void 0 || (_fetchcustomercartQue99 = _fetchcustomercartQue99.customercart) === null || _fetchcustomercartQue99 === void 0 ? void 0 : _fetchcustomercartQue99.paymentmethod) != 'Aman') {
|
|
16195
16223
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
16196
16224
|
setinstapaychosen(false);
|
|
16197
16225
|
}
|
|
@@ -16203,7 +16231,7 @@ var Checkout = function Checkout(props) {
|
|
|
16203
16231
|
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"
|
|
16204
16232
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16205
16233
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
16206
|
-
}, langdetect != 'ar' ? 'Aman' : 'Aman'))), instapaychosen && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16234
|
+
}, langdetect != 'ar' ? 'Aman' : 'Aman'))), instapaychosen && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) != '6808cf481006d' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16207
16235
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
16208
16236
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16209
16237
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -16213,7 +16241,7 @@ var Checkout = function Checkout(props) {
|
|
|
16213
16241
|
dangerouslySetInnerHTML: {
|
|
16214
16242
|
__html: langdetect != 'ar' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
16215
16243
|
}
|
|
16216
|
-
})), instapaychosen && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16244
|
+
})), instapaychosen && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '6808cf481006d' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16217
16245
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
16218
16246
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16219
16247
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -16221,7 +16249,7 @@ var Checkout = function Checkout(props) {
|
|
|
16221
16249
|
color: '#000',
|
|
16222
16250
|
fontSize: 16
|
|
16223
16251
|
}
|
|
16224
|
-
}, langdetect != 'ar' ? 'To pay via InstaPay, please send a screenshot of the payment to WhatsApp number 0110 1016292' : 'للدفع عبر InstaPay، برجاء إرسال سكرين شوت لعملية الدفع على رقم الواتساب01101016292'))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16252
|
+
}, langdetect != 'ar' ? 'To pay via InstaPay, please send a screenshot of the payment to WhatsApp number 0110 1016292' : 'للدفع عبر InstaPay، برجاء إرسال سكرين شوت لعملية الدفع على رقم الواتساب01101016292'))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue100 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue100 === void 0 || (_fetchcustomercartQue100 = _fetchcustomercartQue100.data) === null || _fetchcustomercartQue100 === void 0 ? void 0 : _fetchcustomercartQue100.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16225
16253
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
16226
16254
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16227
16255
|
style: {
|
|
@@ -16361,7 +16389,7 @@ var Checkout = function Checkout(props) {
|
|
|
16361
16389
|
color: '#000',
|
|
16362
16390
|
textAlign: 'center'
|
|
16363
16391
|
}
|
|
16364
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16392
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue101 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue101 === void 0 || (_fetchcustomercartQue101 = _fetchcustomercartQue101.data) === null || _fetchcustomercartQue101 === void 0 || (_fetchcustomercartQue101 = _fetchcustomercartQue101.customercart) === null || _fetchcustomercartQue101 === void 0 ? void 0 : _fetchcustomercartQue101.zonenotes)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
16365
16393
|
};
|
|
16366
16394
|
|
|
16367
16395
|
function ownKeys$2v(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; }
|
|
@@ -18806,7 +18834,7 @@ styleInject(css_248z$E);
|
|
|
18806
18834
|
function ownKeys$2p(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; }
|
|
18807
18835
|
function _objectSpread$2p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2p(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18808
18836
|
var CartSlider = function CartSlider(props) {
|
|
18809
|
-
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8,
|
|
18837
|
+
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue1, _fetchcustomercartQue10, _authdetailsContext$i2, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14;
|
|
18810
18838
|
var lang = props.actions.lang;
|
|
18811
18839
|
var langdetect = props.actions.langdetect;
|
|
18812
18840
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -19235,275 +19263,301 @@ var CartSlider = function CartSlider(props) {
|
|
|
19235
19263
|
animationDuration: '.7s'
|
|
19236
19264
|
}
|
|
19237
19265
|
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.map(function (item, index) {
|
|
19238
|
-
var
|
|
19266
|
+
var _fetchcustomercartQue9;
|
|
19239
19267
|
if (item.product_extrafields != null) {
|
|
19240
19268
|
var product_extrafields = JSON.parse(item.product_extrafields);
|
|
19241
19269
|
// var product_extrafields_parsed = JSON.stringify(product_extrafields);
|
|
19242
19270
|
// alert(product_extrafields_parsed);
|
|
19243
19271
|
}
|
|
19244
|
-
|
|
19245
|
-
|
|
19246
|
-
|
|
19247
|
-
|
|
19248
|
-
|
|
19249
|
-
|
|
19250
|
-
|
|
19251
|
-
|
|
19252
|
-
|
|
19253
|
-
|
|
19254
|
-
|
|
19255
|
-
|
|
19256
|
-
loading: "lazy",
|
|
19257
|
-
style: {
|
|
19258
|
-
height: '100%',
|
|
19259
|
-
width: '100%',
|
|
19260
|
-
objectFit: 'contain'
|
|
19261
|
-
}
|
|
19262
|
-
}), item.productinfo.hasvariants == 0 && item.productinfo.productmainimage == '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19263
|
-
style: {
|
|
19264
|
-
width: '100%',
|
|
19265
|
-
height: '100%',
|
|
19266
|
-
background: '#eee',
|
|
19267
|
-
borderRadius: 10
|
|
19268
|
-
}
|
|
19269
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
19270
|
-
"class": "h-100 allcentered text-light"
|
|
19271
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
19272
|
-
size: 26
|
|
19273
|
-
}))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl == '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19274
|
-
style: {
|
|
19275
|
-
width: '100%',
|
|
19276
|
-
height: '100%',
|
|
19277
|
-
background: '#eee',
|
|
19278
|
-
borderRadius: 10
|
|
19279
|
-
}
|
|
19280
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
19281
|
-
"class": "h-100 allcentered text-light"
|
|
19282
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
19283
|
-
size: 26
|
|
19284
|
-
}))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
19285
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
19286
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
19287
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.variantinfo.variantimageurl,
|
|
19288
|
-
loading: "lazy",
|
|
19289
|
-
style: {
|
|
19290
|
-
height: '100%',
|
|
19291
|
-
width: '100%',
|
|
19292
|
-
objectFit: 'contain'
|
|
19293
|
-
}
|
|
19294
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19295
|
-
className: "col-lg-8 col-md-8 col-sm-8 pl-2"
|
|
19296
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19297
|
-
className: "row m-0 w-100"
|
|
19298
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19299
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
19300
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19301
|
-
className: "".concat(cart_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex align-items-start ',
|
|
19302
|
-
style: {
|
|
19303
|
-
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
19304
|
-
},
|
|
19305
|
-
onClick: function onClick() {
|
|
19306
|
-
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
19307
|
-
setOpenCloseCartSlider(false);
|
|
19308
|
-
setsidecartnavshowWorkplaceDesigncontext(false);
|
|
19309
|
-
setsidecartnavshowcontext(false);
|
|
19272
|
+
var extras_for_product = [];
|
|
19273
|
+
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue9 === void 0 || _fetchcustomercartQue9.forEach(function (cartitem_in, cartindex_in) {
|
|
19274
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
19275
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (item === null || item === void 0 ? void 0 : item.productid)) {
|
|
19276
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_variantid) == null) {
|
|
19277
|
+
extras_for_product.push(cartitem_in);
|
|
19278
|
+
} else {
|
|
19279
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_variantid) == (item === null || item === void 0 ? void 0 : item.variantid)) {
|
|
19280
|
+
extras_for_product.push(cartitem_in);
|
|
19281
|
+
}
|
|
19282
|
+
}
|
|
19283
|
+
}
|
|
19310
19284
|
}
|
|
19311
|
-
}
|
|
19312
|
-
|
|
19313
|
-
|
|
19285
|
+
});
|
|
19286
|
+
if (item.item_type != 'Extras') {
|
|
19287
|
+
var _item$productinfo, _item$variantoptions, _fetchcustomercartQue0;
|
|
19314
19288
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19315
|
-
className: "col-lg-12
|
|
19289
|
+
className: "col-lg-12 mb-3 p-0"
|
|
19316
19290
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19317
|
-
|
|
19291
|
+
className: "row w-100 m-0"
|
|
19292
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19293
|
+
className: 'col-lg-4 col-md-4 col-sm-4 p-0'
|
|
19294
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19295
|
+
className: cart_cssstyles.imagecont + ' mb-auto '
|
|
19296
|
+
}, item.productinfo.hasvariants == 0 && item.productinfo.productmainimage != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
19297
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
19298
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
19299
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.productmainimage,
|
|
19300
|
+
loading: "lazy",
|
|
19301
|
+
style: {
|
|
19302
|
+
height: '100%',
|
|
19303
|
+
width: '100%',
|
|
19304
|
+
objectFit: 'contain'
|
|
19305
|
+
}
|
|
19306
|
+
}), item.productinfo.hasvariants == 0 && item.productinfo.productmainimage == '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19307
|
+
style: {
|
|
19308
|
+
width: '100%',
|
|
19309
|
+
height: '100%',
|
|
19310
|
+
background: '#eee',
|
|
19311
|
+
borderRadius: 10
|
|
19312
|
+
}
|
|
19313
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
19314
|
+
"class": "h-100 allcentered text-light"
|
|
19315
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
19316
|
+
size: 26
|
|
19317
|
+
}))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl == '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19318
19318
|
style: {
|
|
19319
|
-
|
|
19319
|
+
width: '100%',
|
|
19320
|
+
height: '100%',
|
|
19321
|
+
background: '#eee',
|
|
19322
|
+
borderRadius: 10
|
|
19320
19323
|
}
|
|
19324
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
19325
|
+
"class": "h-100 allcentered text-light"
|
|
19326
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
19327
|
+
size: 26
|
|
19328
|
+
}))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
19329
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
19330
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
19331
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.variantinfo.variantimageurl,
|
|
19332
|
+
loading: "lazy",
|
|
19333
|
+
style: {
|
|
19334
|
+
height: '100%',
|
|
19335
|
+
width: '100%',
|
|
19336
|
+
objectFit: 'contain'
|
|
19337
|
+
}
|
|
19338
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19339
|
+
className: "col-lg-8 col-md-8 col-sm-8 pl-2"
|
|
19340
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19341
|
+
className: "row m-0 w-100"
|
|
19321
19342
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19322
19343
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
19323
19344
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19324
|
-
className: '
|
|
19325
|
-
}, langdetect == 'nrwig' && variantitem.optionname == 'Size' ? 'Størrelse' : langdetect == 'nrwig' && variantitem.optionname == 'Color' ? 'Farge' : variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19326
|
-
className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
|
|
19327
|
-
}, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue))));
|
|
19328
|
-
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
19329
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19330
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
19331
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19332
|
-
"class": "row m-0 w-100",
|
|
19345
|
+
className: "".concat(cart_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex align-items-start ',
|
|
19333
19346
|
style: {
|
|
19334
|
-
|
|
19347
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
19348
|
+
},
|
|
19349
|
+
onClick: function onClick() {
|
|
19350
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
19351
|
+
setOpenCloseCartSlider(false);
|
|
19352
|
+
setsidecartnavshowWorkplaceDesigncontext(false);
|
|
19353
|
+
setsidecartnavshowcontext(false);
|
|
19335
19354
|
}
|
|
19355
|
+
}, item.productinfo["name_".concat(langdetect)] || item.productinfo.name_en)), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19356
|
+
className: "".concat(cart_cssstyles.productPricestyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex mt-1 '
|
|
19357
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : parseFloat(item.finalprice).toFixed(2), ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.productinfo.hasvariants == 1 && item.variantoptions.map(function (variantitem, variantindex) {
|
|
19358
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19359
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
19360
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19361
|
+
"class": "row m-0 w-100",
|
|
19362
|
+
style: {
|
|
19363
|
+
color: sectionproperties.prodNameColor
|
|
19364
|
+
}
|
|
19365
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19366
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
19367
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19368
|
+
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
19369
|
+
}, langdetect == 'nrwig' && variantitem.optionname == 'Size' ? 'Størrelse' : langdetect == 'nrwig' && variantitem.optionname == 'Color' ? 'Farge' : variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19370
|
+
className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
|
|
19371
|
+
}, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue))));
|
|
19372
|
+
}), extras_for_product === null || extras_for_product === void 0 ? void 0 : extras_for_product.map(function (extraitem, extraindex) {
|
|
19373
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19374
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
19375
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19376
|
+
className: 'm-0 p-0 font-weight-500 font-13 m-0 p-0 ',
|
|
19377
|
+
style: {
|
|
19378
|
+
color: sectionproperties.prodNameColor
|
|
19379
|
+
}
|
|
19380
|
+
}, extraitem.productinfo["name_".concat(langdetect)] || extraitem.productinfo.name_en, " (x", extraitem === null || extraitem === void 0 ? void 0 : extraitem.quantity, ")"));
|
|
19381
|
+
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
19382
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19383
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
19384
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19385
|
+
"class": "row m-0 w-100",
|
|
19386
|
+
style: {
|
|
19387
|
+
color: sectionproperties.prodNameColor
|
|
19388
|
+
}
|
|
19389
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19390
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
19391
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19392
|
+
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
19393
|
+
}, langdetect == 'en' ? extrafielditem.title_en : extrafielditem.title_ar, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19394
|
+
className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
|
|
19395
|
+
}, extrafielditem.value))));
|
|
19396
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19397
|
+
"class": (item === null || item === void 0 || (_item$productinfo = item.productinfo) === null || _item$productinfo === void 0 ? void 0 : _item$productinfo.hasvariants) == 1 && (item === null || item === void 0 || (_item$variantoptions = item.variantoptions) === null || _item$variantoptions === void 0 ? void 0 : _item$variantoptions.length) != 0 ? 'col-lg-12 p-0 mt-1' : 'col-lg-12 p-0 mt-4'
|
|
19336
19398
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19337
|
-
|
|
19338
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
19339
|
-
|
|
19340
|
-
},
|
|
19341
|
-
className: '
|
|
19342
|
-
},
|
|
19343
|
-
|
|
19344
|
-
|
|
19345
|
-
|
|
19346
|
-
|
|
19347
|
-
|
|
19348
|
-
|
|
19349
|
-
|
|
19350
|
-
|
|
19351
|
-
|
|
19352
|
-
|
|
19353
|
-
|
|
19354
|
-
|
|
19355
|
-
|
|
19356
|
-
|
|
19357
|
-
|
|
19399
|
+
"class": "row m-0 w-100"
|
|
19400
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19401
|
+
"class": "col-9 p-0 d-flex justify-content-start align-items-center"
|
|
19402
|
+
}, item.productinfo.item_type == 'product' && item.productinfo.isproducthasquantitychange == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
19403
|
+
className: " ".concat(cart_cssstyles.quantitybtn) + ' px-2 d-flex align-items-center justify-content-center '
|
|
19404
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19405
|
+
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
19406
|
+
onClick: function onClick() {
|
|
19407
|
+
var _item$productinfo2, _item$productinfo3, _item$productinfo4, _item$productinfo5;
|
|
19408
|
+
var quantitystepincrearse = 1;
|
|
19409
|
+
var quantity = parseFloat(item.quantity);
|
|
19410
|
+
if ((item === null || item === void 0 || (_item$productinfo2 = item.productinfo) === null || _item$productinfo2 === void 0 ? void 0 : _item$productinfo2.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo3 = item.productinfo) === null || _item$productinfo3 === void 0 ? void 0 : _item$productinfo3.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo4 = item.productinfo) === null || _item$productinfo4 === void 0 ? void 0 : _item$productinfo4.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.quantitystepincrearse) != '') {
|
|
19411
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
19412
|
+
var _item$productinfo6;
|
|
19413
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
|
|
19414
|
+
} else {
|
|
19415
|
+
var _item$productinfo7;
|
|
19416
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse);
|
|
19417
|
+
}
|
|
19418
|
+
}
|
|
19419
|
+
quantity = quantity - quantitystepincrearse;
|
|
19358
19420
|
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
19359
|
-
|
|
19360
|
-
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
|
|
19421
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
19361
19422
|
} else {
|
|
19362
|
-
|
|
19363
|
-
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse);
|
|
19423
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
19364
19424
|
}
|
|
19365
19425
|
}
|
|
19366
|
-
|
|
19367
|
-
|
|
19368
|
-
|
|
19369
|
-
|
|
19370
|
-
|
|
19371
|
-
|
|
19372
|
-
|
|
19373
|
-
|
|
19374
|
-
|
|
19375
|
-
|
|
19376
|
-
|
|
19377
|
-
|
|
19378
|
-
|
|
19379
|
-
|
|
19380
|
-
|
|
19381
|
-
|
|
19426
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
19427
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
19428
|
+
})), langdetect != 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19429
|
+
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
19430
|
+
onClick: function onClick() {
|
|
19431
|
+
var _item$productinfo8, _item$productinfo9, _item$productinfo0, _item$productinfo1;
|
|
19432
|
+
var quantitystepincrearse = 1;
|
|
19433
|
+
var quantity = parseFloat(item.quantity);
|
|
19434
|
+
if ((item === null || item === void 0 || (_item$productinfo8 = item.productinfo) === null || _item$productinfo8 === void 0 ? void 0 : _item$productinfo8.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo9 = item.productinfo) === null || _item$productinfo9 === void 0 ? void 0 : _item$productinfo9.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo0 = item.productinfo) === null || _item$productinfo0 === void 0 ? void 0 : _item$productinfo0.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo1 = item.productinfo) === null || _item$productinfo1 === void 0 ? void 0 : _item$productinfo1.quantitystepincrearse) != '') {
|
|
19435
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
19436
|
+
var _item$productinfo10;
|
|
19437
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse);
|
|
19438
|
+
} else {
|
|
19439
|
+
var _item$productinfo11;
|
|
19440
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
|
|
19441
|
+
}
|
|
19442
|
+
}
|
|
19443
|
+
quantity = quantity + quantitystepincrearse;
|
|
19382
19444
|
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
19383
|
-
|
|
19384
|
-
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse);
|
|
19445
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
19385
19446
|
} else {
|
|
19386
|
-
|
|
19387
|
-
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
|
|
19447
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
19388
19448
|
}
|
|
19389
19449
|
}
|
|
19390
|
-
|
|
19391
|
-
|
|
19392
|
-
|
|
19393
|
-
|
|
19394
|
-
|
|
19450
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
19451
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
19452
|
+
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19453
|
+
className: "".concat(cart_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
19454
|
+
style: {
|
|
19455
|
+
background: 'transparent'
|
|
19395
19456
|
}
|
|
19396
|
-
}
|
|
19397
|
-
|
|
19398
|
-
|
|
19399
|
-
|
|
19400
|
-
|
|
19401
|
-
|
|
19402
|
-
|
|
19403
|
-
|
|
19404
|
-
|
|
19405
|
-
|
|
19406
|
-
|
|
19407
|
-
|
|
19408
|
-
|
|
19409
|
-
|
|
19410
|
-
|
|
19457
|
+
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19458
|
+
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
19459
|
+
onClick: function onClick() {
|
|
19460
|
+
var _item$productinfo12, _item$productinfo13, _item$productinfo14, _item$productinfo15;
|
|
19461
|
+
var quantitystepincrearse = 1;
|
|
19462
|
+
var quantity = parseFloat(item.quantity);
|
|
19463
|
+
if ((item === null || item === void 0 || (_item$productinfo12 = item.productinfo) === null || _item$productinfo12 === void 0 ? void 0 : _item$productinfo12.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo13 = item.productinfo) === null || _item$productinfo13 === void 0 ? void 0 : _item$productinfo13.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo14 = item.productinfo) === null || _item$productinfo14 === void 0 ? void 0 : _item$productinfo14.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo15 = item.productinfo) === null || _item$productinfo15 === void 0 ? void 0 : _item$productinfo15.quantitystepincrearse) != '') {
|
|
19464
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
19465
|
+
var _item$productinfo16;
|
|
19466
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
|
|
19467
|
+
} else {
|
|
19468
|
+
var _item$productinfo17;
|
|
19469
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse);
|
|
19470
|
+
}
|
|
19471
|
+
}
|
|
19472
|
+
quantity = quantity + quantitystepincrearse;
|
|
19411
19473
|
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
19412
|
-
|
|
19413
|
-
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
|
|
19474
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
19414
19475
|
} else {
|
|
19415
|
-
|
|
19416
|
-
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse);
|
|
19476
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
19417
19477
|
}
|
|
19418
19478
|
}
|
|
19419
|
-
|
|
19420
|
-
|
|
19421
|
-
|
|
19422
|
-
|
|
19423
|
-
|
|
19424
|
-
|
|
19425
|
-
|
|
19426
|
-
|
|
19427
|
-
|
|
19428
|
-
|
|
19429
|
-
|
|
19430
|
-
|
|
19431
|
-
|
|
19432
|
-
|
|
19433
|
-
|
|
19434
|
-
|
|
19479
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
19480
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
19481
|
+
})), langdetect != 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19482
|
+
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
19483
|
+
onClick: function onClick() {
|
|
19484
|
+
var _item$productinfo18, _item$productinfo19, _item$productinfo20, _item$productinfo21;
|
|
19485
|
+
var quantitystepincrearse = 1;
|
|
19486
|
+
var quantity = parseFloat(item.quantity);
|
|
19487
|
+
if ((item === null || item === void 0 || (_item$productinfo18 = item.productinfo) === null || _item$productinfo18 === void 0 ? void 0 : _item$productinfo18.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo19 = item.productinfo) === null || _item$productinfo19 === void 0 ? void 0 : _item$productinfo19.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo20 = item.productinfo) === null || _item$productinfo20 === void 0 ? void 0 : _item$productinfo20.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo21 = item.productinfo) === null || _item$productinfo21 === void 0 ? void 0 : _item$productinfo21.quantitystepincrearse) != '') {
|
|
19488
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
19489
|
+
var _item$productinfo22;
|
|
19490
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo22 = item.productinfo) === null || _item$productinfo22 === void 0 ? void 0 : _item$productinfo22.quantitystepincrearse);
|
|
19491
|
+
} else {
|
|
19492
|
+
var _item$productinfo23;
|
|
19493
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo23 = item.productinfo) === null || _item$productinfo23 === void 0 ? void 0 : _item$productinfo23.quantitystepincrearse);
|
|
19494
|
+
}
|
|
19495
|
+
}
|
|
19496
|
+
quantity = quantity - quantitystepincrearse;
|
|
19435
19497
|
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
19436
|
-
|
|
19437
|
-
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo22 = item.productinfo) === null || _item$productinfo22 === void 0 ? void 0 : _item$productinfo22.quantitystepincrearse);
|
|
19498
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
19438
19499
|
} else {
|
|
19439
|
-
|
|
19440
|
-
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo23 = item.productinfo) === null || _item$productinfo23 === void 0 ? void 0 : _item$productinfo23.quantitystepincrearse);
|
|
19500
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
19441
19501
|
}
|
|
19442
19502
|
}
|
|
19443
|
-
|
|
19444
|
-
|
|
19445
|
-
|
|
19446
|
-
|
|
19447
|
-
|
|
19503
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
19504
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
19505
|
+
}))), item.productinfo.item_type == 'service' && item.reserv_fixeddate != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19506
|
+
"class": "col-lg-12 p-0 text-start"
|
|
19507
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19508
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-start",
|
|
19509
|
+
style: {
|
|
19510
|
+
color: sectionproperties.quantitybtn_textcolor
|
|
19448
19511
|
}
|
|
19449
|
-
}
|
|
19450
|
-
|
|
19451
|
-
|
|
19452
|
-
|
|
19453
|
-
|
|
19454
|
-
|
|
19455
|
-
|
|
19456
|
-
|
|
19457
|
-
|
|
19458
|
-
}
|
|
19459
|
-
|
|
19460
|
-
|
|
19461
|
-
|
|
19462
|
-
|
|
19463
|
-
|
|
19464
|
-
|
|
19465
|
-
}
|
|
19466
|
-
|
|
19467
|
-
|
|
19468
|
-
|
|
19469
|
-
|
|
19470
|
-
|
|
19471
|
-
|
|
19472
|
-
}
|
|
19473
|
-
|
|
19474
|
-
|
|
19475
|
-
|
|
19476
|
-
|
|
19477
|
-
|
|
19478
|
-
|
|
19479
|
-
}
|
|
19480
|
-
|
|
19481
|
-
|
|
19482
|
-
|
|
19483
|
-
|
|
19484
|
-
|
|
19485
|
-
|
|
19486
|
-
}
|
|
19487
|
-
|
|
19488
|
-
|
|
19489
|
-
|
|
19490
|
-
|
|
19491
|
-
|
|
19492
|
-
|
|
19493
|
-
}
|
|
19494
|
-
|
|
19495
|
-
|
|
19496
|
-
}
|
|
19497
|
-
|
|
19498
|
-
onClick: function onClick() {
|
|
19499
|
-
deletecartitemContext(item);
|
|
19500
|
-
}
|
|
19501
|
-
}, lang.remove))))))), index != (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19502
|
-
className: "col-lg-12 mt-3 p-0"
|
|
19503
|
-
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
19504
|
-
className: "m-0"
|
|
19505
|
-
})));
|
|
19506
|
-
}))))), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue0 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue0 === void 0 || (_fetchcustomercartQue0 = _fetchcustomercartQue0.data) === null || _fetchcustomercartQue0 === void 0 ? void 0 : _fetchcustomercartQue0.customercart) != null && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue1 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue1 === void 0 || (_fetchcustomercartQue1 = _fetchcustomercartQue1.data) === null || _fetchcustomercartQue1 === void 0 || (_fetchcustomercartQue1 = _fetchcustomercartQue1.customercart) === null || _fetchcustomercartQue1 === void 0 || (_fetchcustomercartQue1 = _fetchcustomercartQue1.cartitems) === null || _fetchcustomercartQue1 === void 0 ? void 0 : _fetchcustomercartQue1.length) != 0 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19512
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19513
|
+
"class": "col-lg-12 p-0 text-start flex-row"
|
|
19514
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19515
|
+
"class": "m-0 p-0",
|
|
19516
|
+
style: {
|
|
19517
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
19518
|
+
}
|
|
19519
|
+
}, item.reserv_fixeddate)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19520
|
+
"class": "col-lg-12 p-0 text-start flex-row"
|
|
19521
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19522
|
+
"class": "m-0 p-0",
|
|
19523
|
+
style: {
|
|
19524
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
19525
|
+
}
|
|
19526
|
+
}, item.reserv_time)))), item.productinfo.item_type == 'service' && item.reserv_fixeddate == null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19527
|
+
"class": "col-lg-12 p-0 text-start"
|
|
19528
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19529
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-start",
|
|
19530
|
+
style: {
|
|
19531
|
+
color: sectionproperties.quantitybtn_textcolor
|
|
19532
|
+
}
|
|
19533
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19534
|
+
"class": "col-lg-12 p-0 text-start flex-row"
|
|
19535
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19536
|
+
"class": "m-0 p-0",
|
|
19537
|
+
style: {
|
|
19538
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
19539
|
+
}
|
|
19540
|
+
}, langdetect == 'en' ? 'From' : 'من', ": ", item.reserv_fromdate)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19541
|
+
"class": "col-lg-12 p-0 text-start flex-row"
|
|
19542
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19543
|
+
"class": "m-0 p-0",
|
|
19544
|
+
style: {
|
|
19545
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
19546
|
+
}
|
|
19547
|
+
}, langdetect == 'en' ? 'To' : 'إلى', ": ", item.reserv_todate))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19548
|
+
"class": "col-3 p-0 d-flex justify-content-end align-items-center"
|
|
19549
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19550
|
+
"class": "".concat(cart_cssstyles.trash_btn) + ' cursor-pointer m-0 p-0 ',
|
|
19551
|
+
onClick: function onClick() {
|
|
19552
|
+
deletecartitemContext(item);
|
|
19553
|
+
}
|
|
19554
|
+
}, lang.remove))))))), index != (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue0 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue0 === void 0 || (_fetchcustomercartQue0 = _fetchcustomercartQue0.data) === null || _fetchcustomercartQue0 === void 0 || (_fetchcustomercartQue0 = _fetchcustomercartQue0.customercart) === null || _fetchcustomercartQue0 === void 0 || (_fetchcustomercartQue0 = _fetchcustomercartQue0.cartitems) === null || _fetchcustomercartQue0 === void 0 ? void 0 : _fetchcustomercartQue0.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19555
|
+
className: "col-lg-12 mt-3 p-0"
|
|
19556
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
19557
|
+
className: "m-0"
|
|
19558
|
+
})));
|
|
19559
|
+
}
|
|
19560
|
+
}))))), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue1 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue1 === void 0 || (_fetchcustomercartQue1 = _fetchcustomercartQue1.data) === null || _fetchcustomercartQue1 === void 0 ? void 0 : _fetchcustomercartQue1.customercart) != null && (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 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length) != 0 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19507
19561
|
className: "col-lg-12 mb-1 p-0 mt-auto anim mb-md-4",
|
|
19508
19562
|
style: {
|
|
19509
19563
|
animationDuration: '.8s'
|
|
@@ -19538,7 +19592,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
19538
19592
|
textTransform: sectionproperties.total_texttransform,
|
|
19539
19593
|
color: sectionproperties.total_color
|
|
19540
19594
|
}
|
|
19541
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
19595
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(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).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(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).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue13 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.customercart) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.totalprice).toFixed(2), ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19542
19596
|
"class": "col-lg-12 mt-1 d-flex align-items-center justify-content-start p-0"
|
|
19543
19597
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19544
19598
|
"class": "m-0 p-0",
|
|
@@ -19547,7 +19601,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
19547
19601
|
fontSize: '13px',
|
|
19548
19602
|
fontWeight: 500
|
|
19549
19603
|
}
|
|
19550
|
-
}, langdetect == 'nrwig' ? 'Frakt beregnes ved kassen.' : sectionproperties["general_text_content_".concat(langdetect)] || sectionproperties.general_text_content)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
19604
|
+
}, langdetect == 'nrwig' ? 'Frakt beregnes ved kassen.' : sectionproperties["general_text_content_".concat(langdetect)] || sectionproperties.general_text_content)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue14 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.customercart) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.cartitems) === null || _fetchcustomercartQue14 === void 0 ? void 0 : _fetchcustomercartQue14.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19551
19605
|
className: "col-lg-12 p-0 mt-4 d-flex flex-column align-items-center justify-content-center"
|
|
19552
19606
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
19553
19607
|
className: " ".concat(cart_cssstyles.cart_btn) + ' mb-2 d-flex align-items-center justify-content-center ',
|
|
@@ -24109,40 +24163,22 @@ var CardsSection = function CardsSection(props) {
|
|
|
24109
24163
|
var _fetchCategoriesQuery4;
|
|
24110
24164
|
fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery4 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery4 === void 0 || (_fetchCategoriesQuery4 = _fetchCategoriesQuery4.data) === null || _fetchCategoriesQuery4 === void 0 || (_fetchCategoriesQuery4 = _fetchCategoriesQuery4.categories) === null || _fetchCategoriesQuery4 === void 0 || _fetchCategoriesQuery4.map(function (catitem) {
|
|
24111
24165
|
if (catitem.categoryid == id) {
|
|
24112
|
-
|
|
24113
|
-
|
|
24114
|
-
|
|
24115
|
-
|
|
24116
|
-
|
|
24117
|
-
|
|
24118
|
-
|
|
24119
|
-
|
|
24120
|
-
|
|
24121
|
-
|
|
24122
|
-
|
|
24123
|
-
|
|
24124
|
-
|
|
24125
|
-
|
|
24126
|
-
|
|
24127
|
-
|
|
24128
|
-
}
|
|
24129
|
-
if (langdetect == 'en') {
|
|
24130
|
-
description_en = catitem.description_en;
|
|
24131
|
-
} else if (langdetect == 'ar') {
|
|
24132
|
-
description_en = catitem.description_ar;
|
|
24133
|
-
} else if (langdetect == 'fr') {
|
|
24134
|
-
description_en = catitem.description_fr;
|
|
24135
|
-
} else if (langdetect == 'turk') {
|
|
24136
|
-
description_en = catitem.description_turk;
|
|
24137
|
-
} else if (langdetect == 'magr') {
|
|
24138
|
-
description_en = catitem.description_magr;
|
|
24139
|
-
} else if (langdetect == 'ital') {
|
|
24140
|
-
description_en = catitem.description_ital;
|
|
24141
|
-
} else if (langdetect == 'rus') {
|
|
24142
|
-
description_en = catitem.description_rus;
|
|
24143
|
-
} else if (langdetect == 'nrwig') {
|
|
24144
|
-
description_en = catitem.description_nrwig;
|
|
24145
|
-
}
|
|
24166
|
+
title_en = catitem.title_en;
|
|
24167
|
+
title_ar = catitem.title_ar;
|
|
24168
|
+
title_fr = catitem.title_fr;
|
|
24169
|
+
title_nrwig = catitem.title_nrwig;
|
|
24170
|
+
title_turk = catitem.title_turk;
|
|
24171
|
+
title_magr = catitem.title_magr;
|
|
24172
|
+
title_ital = catitem.title_ital;
|
|
24173
|
+
title_rus = catitem.title_rus;
|
|
24174
|
+
description_en = catitem.description_en;
|
|
24175
|
+
description_ar = catitem.description_ar;
|
|
24176
|
+
description_fr = catitem.description_fr;
|
|
24177
|
+
description_turk = catitem.description_turk;
|
|
24178
|
+
description_magr = catitem.description_magr;
|
|
24179
|
+
description_ital = catitem.description_ital;
|
|
24180
|
+
description_rus = catitem.description_rus;
|
|
24181
|
+
description_nrwig = catitem.description_nrwig;
|
|
24146
24182
|
logo = catitem.categorylogo;
|
|
24147
24183
|
type = 'category';
|
|
24148
24184
|
}
|
|
@@ -24150,40 +24186,22 @@ var CardsSection = function CardsSection(props) {
|
|
|
24150
24186
|
var _catitem$parentcollet;
|
|
24151
24187
|
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.map(function (parentitem) {
|
|
24152
24188
|
if (parentitem.parentcollectionid == id) {
|
|
24153
|
-
|
|
24154
|
-
|
|
24155
|
-
|
|
24156
|
-
|
|
24157
|
-
|
|
24158
|
-
|
|
24159
|
-
|
|
24160
|
-
|
|
24161
|
-
|
|
24162
|
-
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
|
|
24167
|
-
|
|
24168
|
-
|
|
24169
|
-
}
|
|
24170
|
-
if (langdetect == 'en') {
|
|
24171
|
-
description_en = catitem.description_en;
|
|
24172
|
-
} else if (langdetect == 'ar') {
|
|
24173
|
-
description_en = catitem.description_ar;
|
|
24174
|
-
} else if (langdetect == 'fr') {
|
|
24175
|
-
description_en = catitem.description_fr;
|
|
24176
|
-
} else if (langdetect == 'turk') {
|
|
24177
|
-
description_en = catitem.description_turk;
|
|
24178
|
-
} else if (langdetect == 'magr') {
|
|
24179
|
-
description_en = catitem.description_magr;
|
|
24180
|
-
} else if (langdetect == 'ital') {
|
|
24181
|
-
description_en = catitem.description_ital;
|
|
24182
|
-
} else if (langdetect == 'rus') {
|
|
24183
|
-
description_en = catitem.description_rus;
|
|
24184
|
-
} else if (langdetect == 'nrwig') {
|
|
24185
|
-
description_en = catitem.description_nrwig;
|
|
24186
|
-
}
|
|
24189
|
+
title_en = parentitem.title_en;
|
|
24190
|
+
title_ar = parentitem.title_ar;
|
|
24191
|
+
title_fr = parentitem.title_fr;
|
|
24192
|
+
title_nrwig = parentitem.title_nrwig;
|
|
24193
|
+
title_turk = parentitem.title_turk;
|
|
24194
|
+
title_magr = parentitem.title_magr;
|
|
24195
|
+
title_ital = parentitem.title_ital;
|
|
24196
|
+
title_rus = parentitem.title_rus;
|
|
24197
|
+
description_en = parentitem.description_en;
|
|
24198
|
+
description_ar = parentitem.description_ar;
|
|
24199
|
+
description_fr = parentitem.description_fr;
|
|
24200
|
+
description_turk = parentitem.description_turk;
|
|
24201
|
+
description_magr = parentitem.description_magr;
|
|
24202
|
+
description_ital = parentitem.description_ital;
|
|
24203
|
+
description_rus = parentitem.description_rus;
|
|
24204
|
+
description_nrwig = parentitem.description_nrwig;
|
|
24187
24205
|
logo = parentitem.parentcollectionlogo;
|
|
24188
24206
|
type = 'parentcollection';
|
|
24189
24207
|
}
|
|
@@ -24191,40 +24209,24 @@ var CardsSection = function CardsSection(props) {
|
|
|
24191
24209
|
var _parentitem$collectio;
|
|
24192
24210
|
parentitem === null || parentitem === void 0 || (_parentitem$collectio = parentitem.collections) === null || _parentitem$collectio === void 0 || _parentitem$collectio.map(function (colitem) {
|
|
24193
24211
|
if (colitem.collectionid == id) {
|
|
24194
|
-
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
description_en = catitem.description_en;
|
|
24213
|
-
} else if (langdetect == 'ar') {
|
|
24214
|
-
description_en = catitem.description_ar;
|
|
24215
|
-
} else if (langdetect == 'fr') {
|
|
24216
|
-
description_en = catitem.description_fr;
|
|
24217
|
-
} else if (langdetect == 'turk') {
|
|
24218
|
-
description_en = catitem.description_turk;
|
|
24219
|
-
} else if (langdetect == 'magr') {
|
|
24220
|
-
description_en = catitem.description_magr;
|
|
24221
|
-
} else if (langdetect == 'ital') {
|
|
24222
|
-
description_en = catitem.description_ital;
|
|
24223
|
-
} else if (langdetect == 'rus') {
|
|
24224
|
-
description_en = catitem.description_rus;
|
|
24225
|
-
} else if (langdetect == 'nrwig') {
|
|
24226
|
-
description_en = catitem.description_nrwig;
|
|
24227
|
-
}
|
|
24212
|
+
title_en = colitem.title_en;
|
|
24213
|
+
title_ar = colitem.title_ar;
|
|
24214
|
+
title_fr = colitem.title_fr;
|
|
24215
|
+
title_nrwig = colitem.title_nrwig;
|
|
24216
|
+
title_turk = colitem.title_turk;
|
|
24217
|
+
title_magr = colitem.title_magr;
|
|
24218
|
+
title_ital = colitem.title_ital;
|
|
24219
|
+
title_rus = colitem.title_rus;
|
|
24220
|
+
description_en = colitem.description_en;
|
|
24221
|
+
description_ar = colitem.description_ar;
|
|
24222
|
+
description_fr = colitem.description_fr;
|
|
24223
|
+
description_turk = colitem.description_turk;
|
|
24224
|
+
description_magr = colitem.description_magr;
|
|
24225
|
+
description_ital = colitem.description_ital;
|
|
24226
|
+
description_rus = colitem.description_rus;
|
|
24227
|
+
description_nrwig = colitem.description_nrwig;
|
|
24228
|
+
description_en = colitem.description_en;
|
|
24229
|
+
description_ar = colitem.description_ar;
|
|
24228
24230
|
logo = colitem.collectionlogo;
|
|
24229
24231
|
type = 'collection';
|
|
24230
24232
|
}
|
|
@@ -24333,7 +24335,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
24333
24335
|
}
|
|
24334
24336
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24335
24337
|
"class": section_cssstyles.groupbytitle + ' m-0 '
|
|
24336
|
-
}, show_product_group_titles()[
|
|
24338
|
+
}, show_product_group_titles()["title_".concat(langdetect)])), sectionproperties.groupbydescriptionshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24337
24339
|
"class": 'col-lg-12 d-flex align-items-center',
|
|
24338
24340
|
style: {
|
|
24339
24341
|
justifyContent: sectionproperties.groupbydescriptionposition == 'Center' ? 'center' : 'start',
|
|
@@ -24345,7 +24347,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
24345
24347
|
textAlign: sectionproperties.groupbydescriptionposition == 'Center' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
24346
24348
|
},
|
|
24347
24349
|
dangerouslySetInnerHTML: {
|
|
24348
|
-
__html: show_product_group_titles()[
|
|
24350
|
+
__html: show_product_group_titles()["description_".concat(langdetect)]
|
|
24349
24351
|
}
|
|
24350
24352
|
})))))
|
|
24351
24353
|
// <div class={authdetailsContext.instinfo.instid == '67d6bda67adf6' ? 'row m-0 w-100 px-5 px-md-0' : 'row m-0 w-100'}>
|