tabexseriescomponents 0.0.755 → 0.0.756
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 +74 -53
- package/dist/index.esm.js +74 -53
- package/dist/index.umd.js +74 -53
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -6316,7 +6316,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
6316
6316
|
function ownKeys$2r(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; }
|
|
6317
6317
|
function _objectSpread$2r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2r(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6318
6318
|
var Productinfo = function Productinfo(props) {
|
|
6319
|
-
var _css, _ref, _ref2, _ref3,
|
|
6319
|
+
var _css, _ref, _ref2, _ref3, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
6320
6320
|
var _useState = React.useState({}),
|
|
6321
6321
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
6322
6322
|
ProductInfoObj = _useState2[0],
|
|
@@ -6522,9 +6522,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
6522
6522
|
// }
|
|
6523
6523
|
// }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data, props, props.actions]);
|
|
6524
6524
|
React.useEffect(function () {
|
|
6525
|
+
var _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9;
|
|
6525
6526
|
if (Object.keys(ProductInfoObj).length != 0 && !isloaded) {
|
|
6526
6527
|
variantchecker();
|
|
6527
6528
|
}
|
|
6529
|
+
Pixel_EventsContext('productview', {
|
|
6530
|
+
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.name_en,
|
|
6531
|
+
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.name_ar,
|
|
6532
|
+
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.productid,
|
|
6533
|
+
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.sku
|
|
6534
|
+
});
|
|
6528
6535
|
}, [ProductInfoObj, isloaded]);
|
|
6529
6536
|
var productidassigner = function productidassigner(productid) {
|
|
6530
6537
|
var tempFetchQueriesEngineContext = _objectSpread$2r({}, FetchQueriesEngineContext);
|
|
@@ -6537,12 +6544,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
6537
6544
|
React.useEffect(function () {
|
|
6538
6545
|
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
6539
6546
|
if (fetchProductInfoQueryContext.data.data.productinfo != null) {
|
|
6540
|
-
var
|
|
6547
|
+
var _fetchProductInfoQuer10, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18;
|
|
6541
6548
|
var tempproductimagesarray = [];
|
|
6542
6549
|
var sizeguideimagetemp = [];
|
|
6543
|
-
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6544
|
-
var
|
|
6545
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6550
|
+
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.productimages)) {
|
|
6551
|
+
var _fetchProductInfoQuer11;
|
|
6552
|
+
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 || _fetchProductInfoQuer11.productimages.forEach(function (arrayItem, arrayindex) {
|
|
6546
6553
|
var imagepath = arrayItem.path;
|
|
6547
6554
|
|
|
6548
6555
|
// var sizeguideimagearrayobj = {
|
|
@@ -6588,7 +6595,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6588
6595
|
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
|
|
6589
6596
|
// setaddtocardpayloadobj({ ...tempaddtocardpayloadobj });
|
|
6590
6597
|
setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
|
|
6591
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6598
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.maintagid) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.length) != 0) {
|
|
6592
6599
|
GeneralAPIMutationContext.mutate({
|
|
6593
6600
|
endpointurl: '/FetchRelatedProducts',
|
|
6594
6601
|
tagid: fetchProductInfoQueryContext.data.data.productinfo.maintagid,
|
|
@@ -6599,14 +6606,14 @@ var Productinfo = function Productinfo(props) {
|
|
|
6599
6606
|
}
|
|
6600
6607
|
});
|
|
6601
6608
|
}
|
|
6602
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6609
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.item_type) == 'package list') {
|
|
6603
6610
|
tempaddtocardpayloadobj.item_type = 'package list';
|
|
6604
6611
|
} else {
|
|
6605
6612
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
6606
6613
|
}
|
|
6607
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6608
|
-
var
|
|
6609
|
-
quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6614
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.quantitystepincrearse) != '') {
|
|
6615
|
+
var _fetchProductInfoQuer19;
|
|
6616
|
+
quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.quantitystepincrearse);
|
|
6610
6617
|
}
|
|
6611
6618
|
tempaddtocardpayloadobj.quantity = quantitystepincrearse;
|
|
6612
6619
|
setaddtocardpayloadobj(_objectSpread$2r({}, tempaddtocardpayloadobj));
|
|
@@ -6793,8 +6800,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
6793
6800
|
var forcetocheckoutvalue = forcetocheckout;
|
|
6794
6801
|
// alert(addtocardpayloadobj.quantity + 'sad');
|
|
6795
6802
|
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
6796
|
-
var
|
|
6797
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6803
|
+
var _fetchProductInfoQuer20;
|
|
6804
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.hasvariants) == 1) {
|
|
6798
6805
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
6799
6806
|
runfunc = true;
|
|
6800
6807
|
} else {
|
|
@@ -6807,16 +6814,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
6807
6814
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
6808
6815
|
}
|
|
6809
6816
|
if (runfunc == true) {
|
|
6810
|
-
var
|
|
6817
|
+
var _fetchProductInfoQuer21, _fetchProductInfoQuer22;
|
|
6811
6818
|
var tempaddtocardpayloadobj = _objectSpread$2r({}, addtocardpayloadobj);
|
|
6812
|
-
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6813
|
-
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6819
|
+
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.isproductforcedtocheckout;
|
|
6820
|
+
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.vendorproviderid;
|
|
6814
6821
|
if (forcetocheckoutvalue != undefined) {
|
|
6815
6822
|
tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
6816
6823
|
}
|
|
6817
6824
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
6818
6825
|
if (Extrafieldvalidationresponse.status) {
|
|
6819
|
-
var
|
|
6826
|
+
var _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28;
|
|
6820
6827
|
// Pixel_EventsContext('AddToCart', {
|
|
6821
6828
|
// content_ids: [fetchProductInfoQueryContext?.data?.data?.productinfo?.productid],
|
|
6822
6829
|
// content_name: fetchProductInfoQueryContext?.data?.data?.productinfo?.name_en + ' - ' + fetchProductInfoQueryContext?.data?.data?.productinfo?.name_ar,
|
|
@@ -6827,17 +6834,17 @@ var Productinfo = function Productinfo(props) {
|
|
|
6827
6834
|
// quantity: addtocardpayloadobj.quantity,
|
|
6828
6835
|
// });
|
|
6829
6836
|
var finalprice = 0;
|
|
6830
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6837
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.hassale) == 1) {
|
|
6831
6838
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
6832
6839
|
} else {
|
|
6833
6840
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
6834
6841
|
}
|
|
6835
6842
|
Pixel_EventsContext('AddToCart', {
|
|
6836
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6837
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6838
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6843
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.productid],
|
|
6844
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.name_ar),
|
|
6845
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.sku,
|
|
6839
6846
|
content_type: 'product',
|
|
6840
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6847
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.currencyname_en,
|
|
6841
6848
|
value: finalprice,
|
|
6842
6849
|
quantity: addtocardpayloadobj.quantity
|
|
6843
6850
|
});
|
|
@@ -6846,12 +6853,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
6846
6853
|
}
|
|
6847
6854
|
};
|
|
6848
6855
|
var validateextrafields = function validateextrafields() {
|
|
6849
|
-
var
|
|
6856
|
+
var _fetchProductInfoQuer29;
|
|
6850
6857
|
var tempaddtocardpayloadobj = _objectSpread$2r({}, addtocardpayloadobj);
|
|
6851
6858
|
var status = false;
|
|
6852
6859
|
var reason = '';
|
|
6853
6860
|
var missingitemsfound = [];
|
|
6854
|
-
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6861
|
+
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.productextrafields;
|
|
6855
6862
|
if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
|
|
6856
6863
|
status = true;
|
|
6857
6864
|
} else {
|
|
@@ -7449,24 +7456,24 @@ var Productinfo = function Productinfo(props) {
|
|
|
7449
7456
|
}
|
|
7450
7457
|
}));
|
|
7451
7458
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
7452
|
-
var
|
|
7459
|
+
var _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33;
|
|
7453
7460
|
var price = 0;
|
|
7454
7461
|
var quantityconditions = [];
|
|
7455
7462
|
var quantity = 0;
|
|
7456
7463
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
7457
7464
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
7458
7465
|
}
|
|
7459
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7466
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productquantityoptions) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.length) != 0) {
|
|
7460
7467
|
quantityconditions = fetchProductInfoQueryContext.data.data.productinfo.productquantityoptions;
|
|
7461
7468
|
}
|
|
7462
7469
|
if (type == 'defaultprice') {
|
|
7463
7470
|
price = fetchProductInfoQueryContext.data.data.productinfo.defaultprice;
|
|
7464
7471
|
if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
|
|
7465
7472
|
if (variantindexcompleted != undefined) {
|
|
7466
|
-
var
|
|
7467
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7468
|
-
var
|
|
7469
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7473
|
+
var _fetchProductInfoQuer34;
|
|
7474
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.variants[variantindexcompleted]) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.variantprice) != undefined) {
|
|
7475
|
+
var _fetchProductInfoQuer35;
|
|
7476
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.variants[variantindexcompleted]) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.variantprice;
|
|
7470
7477
|
}
|
|
7471
7478
|
}
|
|
7472
7479
|
}
|
|
@@ -7474,10 +7481,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
7474
7481
|
price = fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice;
|
|
7475
7482
|
if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
|
|
7476
7483
|
if (variantindexcompleted != undefined) {
|
|
7477
|
-
var
|
|
7478
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7479
|
-
var
|
|
7480
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7484
|
+
var _fetchProductInfoQuer36;
|
|
7485
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.variants[variantindexcompleted]) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.variantsaleprice) != undefined) {
|
|
7486
|
+
var _fetchProductInfoQuer37;
|
|
7487
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.variants[variantindexcompleted]) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.variantsaleprice;
|
|
7481
7488
|
}
|
|
7482
7489
|
}
|
|
7483
7490
|
}
|
|
@@ -7513,7 +7520,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7513
7520
|
}
|
|
7514
7521
|
};
|
|
7515
7522
|
var getQuantityCondition = function getQuantityCondition() {
|
|
7516
|
-
var
|
|
7523
|
+
var _fetchProductInfoQuer38;
|
|
7517
7524
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7518
7525
|
"class": "col-lg-12 p-0",
|
|
7519
7526
|
style: {
|
|
@@ -7543,12 +7550,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7543
7550
|
height: 1,
|
|
7544
7551
|
background: sectionproperties.pricelisttitlecolor
|
|
7545
7552
|
}
|
|
7546
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7547
|
-
var
|
|
7553
|
+
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productquantityoptions) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.map(function (item, index) {
|
|
7554
|
+
var _fetchProductInfoQuer39;
|
|
7548
7555
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7549
7556
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
7550
7557
|
style: {
|
|
7551
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7558
|
+
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productquantityoptions) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.length) - 1 != index ? '1rem' : 0
|
|
7552
7559
|
}
|
|
7553
7560
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7554
7561
|
"class": "d-flex align-items-center",
|
|
@@ -7582,7 +7589,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7582
7589
|
})));
|
|
7583
7590
|
};
|
|
7584
7591
|
var StoreInfo = function StoreInfo(position) {
|
|
7585
|
-
var
|
|
7592
|
+
var _fetchProductInfoQuer40, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6;
|
|
7586
7593
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7587
7594
|
"class": "row m-0 w-100"
|
|
7588
7595
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -7629,7 +7636,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7629
7636
|
style: {
|
|
7630
7637
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
7631
7638
|
}
|
|
7632
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7639
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productquantityoptions) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7633
7640
|
"class": "col-lg-12 p-0 mb-4"
|
|
7634
7641
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7635
7642
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -7814,7 +7821,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7814
7821
|
style: {
|
|
7815
7822
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
7816
7823
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
7817
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7824
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.product_videos) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.productinfo) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.product_videos) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.length) == 0 ? 'none' : 'flex'
|
|
7818
7825
|
}
|
|
7819
7826
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7820
7827
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -7876,12 +7883,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7876
7883
|
onClick: function onClick() {
|
|
7877
7884
|
settabname('refundpolicytab');
|
|
7878
7885
|
}
|
|
7879
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7886
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.productinfo) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.product_videos) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
7880
7887
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
7881
7888
|
onClick: function onClick() {
|
|
7882
7889
|
settabname('videostab');
|
|
7883
7890
|
}
|
|
7884
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7891
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
7885
7892
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
7886
7893
|
onClick: function onClick() {
|
|
7887
7894
|
settabname('reviewstab');
|
|
@@ -7935,12 +7942,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7935
7942
|
onClick: function onClick() {
|
|
7936
7943
|
settabname('refundpolicytab');
|
|
7937
7944
|
}
|
|
7938
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7945
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.product_videos) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
7939
7946
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
7940
7947
|
onClick: function onClick() {
|
|
7941
7948
|
settabname('videostab');
|
|
7942
7949
|
}
|
|
7943
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7950
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productinfo) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
7944
7951
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
7945
7952
|
onClick: function onClick() {
|
|
7946
7953
|
settabname('reviewstab');
|
|
@@ -51150,7 +51157,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
51150
51157
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
51151
51158
|
}
|
|
51152
51159
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent3 : sectionproperties.sectionTitleContent_ar3)), sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
51153
|
-
"class": footerStyles.facebook_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
51160
|
+
"class": footerStyles.facebook_btn + ' m-0 p-0 allcentered mx-2 mb-2 ',
|
|
51154
51161
|
onClick: function onClick() {
|
|
51155
51162
|
var _authdetailsContext$i9;
|
|
51156
51163
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.facebooklink) != null) {
|
|
@@ -51161,7 +51168,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
51161
51168
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
51162
51169
|
size: sectionproperties.facebkbtnniconfontsize
|
|
51163
51170
|
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
51164
|
-
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
51171
|
+
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 mb-2 ',
|
|
51165
51172
|
onClick: function onClick() {
|
|
51166
51173
|
var _authdetailsContext$i12;
|
|
51167
51174
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instagramlink) != null) {
|
|
@@ -51172,7 +51179,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
51172
51179
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
51173
51180
|
size: sectionproperties.instgrambtniconfontsize
|
|
51174
51181
|
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
51175
|
-
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
51182
|
+
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 mb-2 ',
|
|
51176
51183
|
onClick: function onClick() {
|
|
51177
51184
|
var _authdetailsContext$i15;
|
|
51178
51185
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.youtubelink) != null) {
|
|
@@ -51183,7 +51190,9 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
51183
51190
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube.AiFillYoutube, {
|
|
51184
51191
|
size: sectionproperties.instgrambtniconfontsize
|
|
51185
51192
|
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.twitterlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51186
|
-
|
|
51193
|
+
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 mb-2 '
|
|
51194
|
+
// className={langdetect == 'en' ? `${footerStyles.youtube_btn}` + ' allcentered mr-3 mr-sm-4 mb-2 ' : `${footerStyles.youtube_btn}` + ' allcentered ml-3 ml-sm-4 mb-2 '}
|
|
51195
|
+
,
|
|
51187
51196
|
onClick: function onClick() {
|
|
51188
51197
|
var _authdetailsContext$i18;
|
|
51189
51198
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.twitterlink) != null) {
|
|
@@ -51197,7 +51206,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
51197
51206
|
fontSize: 20
|
|
51198
51207
|
}
|
|
51199
51208
|
}, "x")), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
51200
|
-
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
51209
|
+
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 mb-2 ',
|
|
51201
51210
|
onClick: function onClick() {
|
|
51202
51211
|
var _authdetailsContext$i21;
|
|
51203
51212
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.tiktoklink) != null) {
|
|
@@ -51208,7 +51217,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
51208
51217
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
51209
51218
|
size: sectionproperties.instgrambtniconfontsize
|
|
51210
51219
|
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
51211
|
-
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
51220
|
+
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 mb-2 ',
|
|
51212
51221
|
onClick: function onClick() {
|
|
51213
51222
|
var _authdetailsContext$i24;
|
|
51214
51223
|
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.linkedinlink, '_blank');
|
|
@@ -51216,7 +51225,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
51216
51225
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
51217
51226
|
size: sectionproperties.instgrambtniconfontsize
|
|
51218
51227
|
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
51219
|
-
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
51228
|
+
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 mb-2 ',
|
|
51220
51229
|
onClick: function onClick() {
|
|
51221
51230
|
var _authdetailsContext$i26;
|
|
51222
51231
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.whatsappnumber) != null) {
|
|
@@ -51227,7 +51236,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
51227
51236
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
51228
51237
|
size: sectionproperties.youtubebtniconfontsize
|
|
51229
51238
|
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.googlemapslink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
51230
|
-
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
51239
|
+
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 mb-2 ',
|
|
51231
51240
|
onClick: function onClick() {
|
|
51232
51241
|
var _authdetailsContext$i29;
|
|
51233
51242
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.googlemapslink) != null) {
|
|
@@ -80420,7 +80429,19 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
80420
80429
|
}
|
|
80421
80430
|
}
|
|
80422
80431
|
// disabled={AddtoCartMutationContext.isLoading == true ? true : false}
|
|
80423
|
-
}, addtocartbuttonrender()))
|
|
80432
|
+
}, addtocartbuttonrender())), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
80433
|
+
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
80434
|
+
style: {
|
|
80435
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
80436
|
+
}
|
|
80437
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
80438
|
+
"class": "m-0 p-0",
|
|
80439
|
+
style: {
|
|
80440
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
80441
|
+
color: sectionproperties.quantitycolor,
|
|
80442
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
80443
|
+
}
|
|
80444
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
80424
80445
|
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
80425
80446
|
style: {
|
|
80426
80447
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|