tabexseriescomponents 0.2.856 → 0.2.857
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 +116 -59
- package/dist/index.esm.js +116 -59
- package/dist/index.umd.js +116 -59
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -2969,7 +2969,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
2969
2969
|
function ownKeys$2z(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; }
|
|
2970
2970
|
function _objectSpread$2z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2971
2971
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2972
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28,
|
|
2972
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _authdetailsContext$i6, _authdetailsContext$i7, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _authdetailsContext$i8, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _authdetailsContext$i9, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _sizeguideimage$, _authdetailsContext$i0, _fetchProductInfoQuer93, _fetchProductInfoQuer94;
|
|
2973
2973
|
var lang = props.actions.lang;
|
|
2974
2974
|
var actions = props.actions;
|
|
2975
2975
|
var langdetect = props.actions.langdetect;
|
|
@@ -3773,21 +3773,30 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3773
3773
|
}, /*#__PURE__*/React.createElement("p", {
|
|
3774
3774
|
"class": "m-0 p-0",
|
|
3775
3775
|
style: {
|
|
3776
|
-
color: '#000'
|
|
3776
|
+
color: '#000',
|
|
3777
|
+
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' : ''
|
|
3778
|
+
},
|
|
3779
|
+
onClick: function onClick() {
|
|
3780
|
+
if (sectionproperties.vendornameclickable == 'Yes') {
|
|
3781
|
+
var _fetchProductInfoQuer29;
|
|
3782
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
3783
|
+
vendorsarr: [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 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.vendorinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.vendorid]
|
|
3784
|
+
})));
|
|
3785
|
+
}
|
|
3777
3786
|
}
|
|
3778
3787
|
}, langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear, ":", ' ', /*#__PURE__*/React.createElement("span", {
|
|
3779
3788
|
style: {
|
|
3780
3789
|
fontWeight: 600
|
|
3781
3790
|
}
|
|
3782
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3783
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3784
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3791
|
+
}, 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 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.vendorinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React.createElement("div", {
|
|
3792
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (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.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
3793
|
+
}, ProductsSKUContainer()), (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.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (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 ? void 0 : _fetchProductInfoQuer33.quantavailtype) == 'limit' && (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 ? void 0 : _fetchProductInfoQuer34.hasvariants) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
3785
3794
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
3786
3795
|
}, /*#__PURE__*/React.createElement("div", {
|
|
3787
3796
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
3788
3797
|
}, /*#__PURE__*/React.createElement("p", {
|
|
3789
3798
|
"class": "m-0 p-0"
|
|
3790
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3799
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (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 ? void 0 : _fetchProductInfoQuer35.deliverydatetext) != null && /*#__PURE__*/React.createElement("div", {
|
|
3791
3800
|
"class": "mb-4 col-lg-12 allcentered",
|
|
3792
3801
|
style: {
|
|
3793
3802
|
width: '100%',
|
|
@@ -3808,7 +3817,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3808
3817
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3809
3818
|
color: sectionproperties.deliverytimecontainercolor
|
|
3810
3819
|
}
|
|
3811
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React.createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3820
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React.createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', 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 ? void 0 : _fetchProductInfoQuer36.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (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 ? void 0 : _fetchProductInfoQuer37.isproducttobesold) == 1 && /*#__PURE__*/React.createElement(ProductHeaderPricing, {
|
|
3812
3821
|
actions: props.actions
|
|
3813
3822
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
3814
3823
|
"class": "col-lg-12 p-0"
|
|
@@ -3849,7 +3858,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3849
3858
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
3850
3859
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
3851
3860
|
}
|
|
3852
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3861
|
+
}, (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 ? void 0 : _fetchProductInfoQuer38.isproducttobesold) == 1 && (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 ? void 0 : _fetchProductInfoQuer39.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
3853
3862
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
3854
3863
|
}, /*#__PURE__*/React.createElement("p", {
|
|
3855
3864
|
className: "m-0 p-0",
|
|
@@ -3866,11 +3875,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3866
3875
|
style: {
|
|
3867
3876
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
3868
3877
|
}
|
|
3869
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3878
|
+
}, sectionproperties.quantitybtn_show == '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 ? void 0 : _fetchProductInfoQuer40.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.isproducthasquantitychange) == 1 && QuantityButton(), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React.createElement("div", {
|
|
3870
3879
|
"class": "col-lg-12 text-start p-md-0"
|
|
3871
3880
|
}, /*#__PURE__*/React.createElement("div", {
|
|
3872
3881
|
className: "row m-0 w-100"
|
|
3873
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3882
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productfeatures) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.map(function (fitem, findex) {
|
|
3874
3883
|
return /*#__PURE__*/React.createElement("div", {
|
|
3875
3884
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
3876
3885
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -3908,12 +3917,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3908
3917
|
fontSize: sectionproperties.featurevaluefontsize
|
|
3909
3918
|
}
|
|
3910
3919
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
3911
|
-
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3920
|
+
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("button", {
|
|
3912
3921
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3913
3922
|
onClick: function onClick() {
|
|
3914
3923
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
3915
|
-
var
|
|
3916
|
-
window.open('tel:' + ((
|
|
3924
|
+
var _fetchProductInfoQuer44;
|
|
3925
|
+
window.open('tel:' + ((_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.product_phonenumber), '_blank');
|
|
3917
3926
|
} else {
|
|
3918
3927
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
3919
3928
|
addtocartfunc();
|
|
@@ -3944,7 +3953,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3944
3953
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3945
3954
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
3946
3955
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3947
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3956
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.productactionbuttontext_en : 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 ? void 0 : _fetchProductInfoQuer46.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
3948
3957
|
className: ' d-flex align-items-center justify-content-center '
|
|
3949
3958
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
3950
3959
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -3989,20 +3998,20 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3989
3998
|
style: {
|
|
3990
3999
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
3991
4000
|
}
|
|
3992
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4001
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
3993
4002
|
"class": "row m-0 w-100 mt-3",
|
|
3994
4003
|
style: {
|
|
3995
4004
|
overflow: 'hidden'
|
|
3996
4005
|
}
|
|
3997
4006
|
}, /*#__PURE__*/React.createElement("button", {
|
|
3998
|
-
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4007
|
+
className: sectionproperties.cartbtntramsitionafterwhile == 'Yes' ? "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ' : "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3999
4008
|
style: {
|
|
4000
4009
|
width: sectionproperties.cartBtnWidth + '%'
|
|
4001
4010
|
},
|
|
4002
4011
|
onClick: function onClick() {
|
|
4003
4012
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4004
|
-
var
|
|
4005
|
-
window.open('tel:' + ((
|
|
4013
|
+
var _fetchProductInfoQuer48;
|
|
4014
|
+
window.open('tel:' + ((_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.product_phonenumber), '_blank');
|
|
4006
4015
|
} else {
|
|
4007
4016
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4008
4017
|
addtocartfunc();
|
|
@@ -4033,7 +4042,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4033
4042
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4034
4043
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
4035
4044
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4036
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4045
|
+
})), langdetect == 'en' ? 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 ? void 0 : _fetchProductInfoQuer49.productactionbuttontext_en : 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.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
4037
4046
|
className: ' d-flex align-items-center justify-content-center '
|
|
4038
4047
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
4039
4048
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -4098,7 +4107,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4098
4107
|
style: {
|
|
4099
4108
|
width: sectionproperties.cartBtnWidth + '%'
|
|
4100
4109
|
}
|
|
4101
|
-
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4110
|
+
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (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 ? void 0 : _fetchProductInfoQuer51.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
4102
4111
|
"class": "row m-0 w-100 mt-3",
|
|
4103
4112
|
style: {
|
|
4104
4113
|
overflow: 'hidden'
|
|
@@ -4134,7 +4143,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4134
4143
|
"class": "col-lg-12 text-start p-md-0"
|
|
4135
4144
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4136
4145
|
className: "row m-0 w-100"
|
|
4137
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4146
|
+
}, 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 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productfeatures) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.map(function (fitem, findex) {
|
|
4138
4147
|
return /*#__PURE__*/React.createElement("div", {
|
|
4139
4148
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4140
4149
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -4172,19 +4181,19 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4172
4181
|
fontSize: sectionproperties.featurevaluefontsize
|
|
4173
4182
|
}
|
|
4174
4183
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
4175
|
-
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4184
|
+
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.hasvariants) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
4176
4185
|
"class": "col-12 text-start mt-3"
|
|
4177
4186
|
}, /*#__PURE__*/React.createElement("p", {
|
|
4178
4187
|
"class": productinfo_cssstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
4179
4188
|
onClick: function onClick() {
|
|
4180
4189
|
setopensizeguidemodal(true);
|
|
4181
4190
|
}
|
|
4182
|
-
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4191
|
+
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.productinfo) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.hasvariants) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
4183
4192
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
4184
4193
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
4185
4194
|
"class": "m-0"
|
|
4186
4195
|
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
4187
|
-
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4196
|
+
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.hasvariants) == 0 ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mt-3'
|
|
4188
4197
|
}, sectionproperties.descriptioncollapseopen == 'Yes' && /*#__PURE__*/React.createElement(Accordion, {
|
|
4189
4198
|
allowMultipleExpanded: true,
|
|
4190
4199
|
allowZeroExpanded: true,
|
|
@@ -4232,7 +4241,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4232
4241
|
color: sectionproperties.prodCatColor
|
|
4233
4242
|
},
|
|
4234
4243
|
dangerouslySetInnerHTML: {
|
|
4235
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4244
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.short_description_ar
|
|
4236
4245
|
}
|
|
4237
4246
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4238
4247
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -4406,7 +4415,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4406
4415
|
})
|
|
4407
4416
|
// actions={props.actions}
|
|
4408
4417
|
// srcfromprops={'collapsepinfo'}
|
|
4409
|
-
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4418
|
+
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.productinfo) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4410
4419
|
className: "col-lg-12 p-0 mb-3"
|
|
4411
4420
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4412
4421
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -4429,7 +4438,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4429
4438
|
}
|
|
4430
4439
|
}, /*#__PURE__*/React.createElement("span", {
|
|
4431
4440
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
|
|
4432
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4441
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.variants[variantindexcompleted]) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.variants[variantindexcompleted]) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("p", {
|
|
4433
4442
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
4434
4443
|
style: {
|
|
4435
4444
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -4443,14 +4452,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4443
4452
|
style: {
|
|
4444
4453
|
textDecoration: 'none'
|
|
4445
4454
|
}
|
|
4446
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4455
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.variants[variantindexcompleted]) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.hassale) == 1 && /*#__PURE__*/React.createElement("span", {
|
|
4447
4456
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
4448
4457
|
}, /*#__PURE__*/React.createElement("span", {
|
|
4449
4458
|
className: "ml-2 mr-2",
|
|
4450
4459
|
style: {
|
|
4451
4460
|
textDecoration: 'none'
|
|
4452
4461
|
}
|
|
4453
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4462
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
4454
4463
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
4455
4464
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4456
4465
|
style: {
|
|
@@ -4498,7 +4507,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4498
4507
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
4499
4508
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
4500
4509
|
}
|
|
4501
|
-
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4510
|
+
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.hasvariants) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
4502
4511
|
"class": "col-lg-12 allcentered mb-2 p-sm-0 mt-2"
|
|
4503
4512
|
}, /*#__PURE__*/React.createElement("button", {
|
|
4504
4513
|
"class": productinfo_cssstyles.sizeguidebtn,
|
|
@@ -4537,7 +4546,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4537
4546
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
4538
4547
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
4539
4548
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
4540
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4549
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.productmainimage),
|
|
4541
4550
|
style: {
|
|
4542
4551
|
width: '100%',
|
|
4543
4552
|
height: '100%',
|
|
@@ -4570,13 +4579,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4570
4579
|
color: sectionproperties.prodCatColor
|
|
4571
4580
|
},
|
|
4572
4581
|
dangerouslySetInnerHTML: {
|
|
4573
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4582
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.short_description_ar
|
|
4574
4583
|
}
|
|
4575
4584
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
4576
4585
|
"class": "col-lg-12 text-start p-md-0"
|
|
4577
4586
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4578
4587
|
className: "row m-0 w-100"
|
|
4579
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4588
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productinfo) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productfeatures) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.map(function (fitem, findex) {
|
|
4580
4589
|
return /*#__PURE__*/React.createElement("div", {
|
|
4581
4590
|
"class": ' col-md-6 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4582
4591
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -4618,7 +4627,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4618
4627
|
"class": "col-lg-12 p-0 my-4"
|
|
4619
4628
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4620
4629
|
"class": "row m-0 w-100"
|
|
4621
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4630
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productimages) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.productimages.map(function (item, index) {
|
|
4622
4631
|
return /*#__PURE__*/React.createElement("div", {
|
|
4623
4632
|
"class": "col-lg-4 col-sm-12 mb-md-2 p-md-0"
|
|
4624
4633
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -4645,7 +4654,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4645
4654
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
4646
4655
|
},
|
|
4647
4656
|
dangerouslySetInnerHTML: {
|
|
4648
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4657
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.description_ar
|
|
4649
4658
|
}
|
|
4650
4659
|
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React.createElement("div", {
|
|
4651
4660
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
@@ -4679,7 +4688,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4679
4688
|
duration: 1500,
|
|
4680
4689
|
arrow: true,
|
|
4681
4690
|
easing: "ease"
|
|
4682
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4691
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productimages) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.productimages.map(function (item, index) {
|
|
4683
4692
|
if (item.is_size_guide != 1) {
|
|
4684
4693
|
return /*#__PURE__*/React.createElement("div", {
|
|
4685
4694
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -4734,7 +4743,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4734
4743
|
color: sectionproperties.prodCatColor
|
|
4735
4744
|
},
|
|
4736
4745
|
dangerouslySetInnerHTML: {
|
|
4737
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4746
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.description_ar
|
|
4738
4747
|
}
|
|
4739
4748
|
})), /*#__PURE__*/React.createElement("div", {
|
|
4740
4749
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -4780,7 +4789,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4780
4789
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
4781
4790
|
}, /*#__PURE__*/React.createElement("table", {
|
|
4782
4791
|
className: 'table tablevertical'
|
|
4783
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4792
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productfeatures) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.map(function (fitem, findex) {
|
|
4784
4793
|
return /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("th", {
|
|
4785
4794
|
style: {
|
|
4786
4795
|
textTransform: 'capitalize',
|
|
@@ -4823,8 +4832,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4823
4832
|
}, /*#__PURE__*/React.createElement("button", {
|
|
4824
4833
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
4825
4834
|
onClick: function onClick() {
|
|
4826
|
-
var
|
|
4827
|
-
window.open('tel:' + ((
|
|
4835
|
+
var _fetchProductInfoQuer77;
|
|
4836
|
+
window.open('tel:' + ((_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.product_phonenumber), '_blank');
|
|
4828
4837
|
},
|
|
4829
4838
|
style: {
|
|
4830
4839
|
width: '40%',
|
|
@@ -4875,8 +4884,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4875
4884
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4876
4885
|
onClick: function onClick() {
|
|
4877
4886
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4878
|
-
var
|
|
4879
|
-
window.open('tel:' + ((
|
|
4887
|
+
var _fetchProductInfoQuer78;
|
|
4888
|
+
window.open('tel:' + ((_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.product_phonenumber), '_blank');
|
|
4880
4889
|
} else {
|
|
4881
4890
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4882
4891
|
addtocartfunc();
|
|
@@ -4907,7 +4916,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4907
4916
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4908
4917
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
4909
4918
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4910
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4919
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
4911
4920
|
className: ' d-flex align-items-center justify-content-center '
|
|
4912
4921
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
4913
4922
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -4946,7 +4955,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4946
4955
|
duration: 1500,
|
|
4947
4956
|
arrow: true,
|
|
4948
4957
|
easing: "ease"
|
|
4949
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4958
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productimages) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.productimages.map(function (item, index) {
|
|
4950
4959
|
if (item.is_size_guide != 1) {
|
|
4951
4960
|
return /*#__PURE__*/React.createElement("div", {
|
|
4952
4961
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -5001,7 +5010,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5001
5010
|
color: sectionproperties.prodCatColor
|
|
5002
5011
|
},
|
|
5003
5012
|
dangerouslySetInnerHTML: {
|
|
5004
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5013
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.description_ar
|
|
5005
5014
|
}
|
|
5006
5015
|
})), /*#__PURE__*/React.createElement("div", {
|
|
5007
5016
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -5045,7 +5054,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5045
5054
|
className: "p-0"
|
|
5046
5055
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5047
5056
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
5048
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5057
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productfeatures) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.map(function (fitem, findex) {
|
|
5049
5058
|
return /*#__PURE__*/React.createElement("div", {
|
|
5050
5059
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'
|
|
5051
5060
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -5141,7 +5150,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5141
5150
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
5142
5151
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5143
5152
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5144
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5153
|
+
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.vendorinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.vendorlogourl,
|
|
5145
5154
|
loading: "lazy",
|
|
5146
5155
|
style: {
|
|
5147
5156
|
maxWidth: '100%',
|
|
@@ -5155,7 +5164,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5155
5164
|
style: {
|
|
5156
5165
|
fontSize: 17
|
|
5157
5166
|
}
|
|
5158
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5167
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.productinfo) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.vendorinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.address)))))))))), /*#__PURE__*/React.createElement("div", {
|
|
5159
5168
|
"class": "col-lg-3"
|
|
5160
5169
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5161
5170
|
"class": "row m-0 w-100"
|
|
@@ -5164,8 +5173,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5164
5173
|
}, /*#__PURE__*/React.createElement("button", {
|
|
5165
5174
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
5166
5175
|
onClick: function onClick() {
|
|
5167
|
-
var
|
|
5168
|
-
window.open('tel:' + ((
|
|
5176
|
+
var _fetchProductInfoQuer88;
|
|
5177
|
+
window.open('tel:' + ((_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.product_phonenumber), '_blank');
|
|
5169
5178
|
},
|
|
5170
5179
|
style: {
|
|
5171
5180
|
width: '40%',
|
|
@@ -5216,8 +5225,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5216
5225
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
5217
5226
|
onClick: function onClick() {
|
|
5218
5227
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5219
|
-
var
|
|
5220
|
-
window.open('tel:' + ((
|
|
5228
|
+
var _fetchProductInfoQuer89;
|
|
5229
|
+
window.open('tel:' + ((_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.product_phonenumber), '_blank');
|
|
5221
5230
|
} else {
|
|
5222
5231
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5223
5232
|
addtocartfunc();
|
|
@@ -5248,7 +5257,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5248
5257
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5249
5258
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
5250
5259
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5251
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5260
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
5252
5261
|
className: ' d-flex align-items-center justify-content-center '
|
|
5253
5262
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
5254
5263
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5319,8 +5328,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5319
5328
|
},
|
|
5320
5329
|
onClick: function onClick() {
|
|
5321
5330
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5322
|
-
var
|
|
5323
|
-
window.open('tel:' + ((
|
|
5331
|
+
var _fetchProductInfoQuer92;
|
|
5332
|
+
window.open('tel:' + ((_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.product_phonenumber), '_blank');
|
|
5324
5333
|
} else {
|
|
5325
5334
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5326
5335
|
addtocartfunc();
|
|
@@ -5351,7 +5360,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5351
5360
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5352
5361
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
5353
5362
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5354
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5363
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
5355
5364
|
className: ' d-flex align-items-center justify-content-center '
|
|
5356
5365
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
5357
5366
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -67079,7 +67088,7 @@ styleInject(css_248z$i);
|
|
|
67079
67088
|
function ownKeys$Z(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; }
|
|
67080
67089
|
function _objectSpread$Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
67081
67090
|
var Freetextsection = function Freetextsection(props) {
|
|
67082
|
-
var _maincontainerarrayof;
|
|
67091
|
+
var _maincontainerarrayof, _authdetailsContext$i;
|
|
67083
67092
|
var _useState = useState(''),
|
|
67084
67093
|
_useState2 = _slicedToArray(_useState, 2),
|
|
67085
67094
|
sectionproperties = _useState2[0],
|
|
@@ -67431,8 +67440,13 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
67431
67440
|
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center '
|
|
67432
67441
|
}, SectionContent('responsive')));
|
|
67433
67442
|
};
|
|
67443
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
67434
67444
|
return /*#__PURE__*/React.createElement("div", {
|
|
67435
|
-
"class": "w-100 allcentered"
|
|
67445
|
+
"class": "row m-0 w-100 allcentered"
|
|
67446
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
67447
|
+
"class": "col-lg-12 p-0"
|
|
67448
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
67449
|
+
"class": "row m-0 w-100 allcentered",
|
|
67436
67450
|
style: {
|
|
67437
67451
|
background: sectionproperties.outerbgcolor
|
|
67438
67452
|
}
|
|
@@ -67441,7 +67455,50 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
67441
67455
|
"data-aos": 'fade-up'
|
|
67442
67456
|
}, FreeTextSectionContainer()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
67443
67457
|
"class": "".concat(section_styles.sectioncont) + ' row ml-0 mr-0 w-100 '
|
|
67444
|
-
}, FreeTextSectionContainer()))
|
|
67458
|
+
}, FreeTextSectionContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '682c6a888d70e' && window.location.pathname == '/home' && /*#__PURE__*/React.createElement("div", {
|
|
67459
|
+
"class": "col-lg-12 p-0 allcentered d-flex flex-column pt-5 pb-5 px-sm-3",
|
|
67460
|
+
style: {
|
|
67461
|
+
background: 'white'
|
|
67462
|
+
}
|
|
67463
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
67464
|
+
"class": "row m-0 w-100"
|
|
67465
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
67466
|
+
"class": "col-12 allcentered p-0"
|
|
67467
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
67468
|
+
className: "mb-4",
|
|
67469
|
+
style: {
|
|
67470
|
+
color: '#000',
|
|
67471
|
+
fontSize: 30,
|
|
67472
|
+
fontWeight: 600
|
|
67473
|
+
}
|
|
67474
|
+
}, "Subscribe to never missout")), /*#__PURE__*/React.createElement("div", {
|
|
67475
|
+
"class": "col-12 allcentered p-0 px-sm-4"
|
|
67476
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
67477
|
+
"class": "w-sm-100",
|
|
67478
|
+
style: {
|
|
67479
|
+
width: '40%',
|
|
67480
|
+
height: 40,
|
|
67481
|
+
background: 'transparent',
|
|
67482
|
+
border: '1px solid #ccc',
|
|
67483
|
+
borderRadius: 100,
|
|
67484
|
+
paddingLeft: 10,
|
|
67485
|
+
paddingRight: 10,
|
|
67486
|
+
color: '#000'
|
|
67487
|
+
},
|
|
67488
|
+
placeholder: "write your email"
|
|
67489
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
67490
|
+
"class": "col-12 allcentered p-0 px-sm-4"
|
|
67491
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
67492
|
+
"class": "mt-5 w-sm-100",
|
|
67493
|
+
style: {
|
|
67494
|
+
width: '30%',
|
|
67495
|
+
borderRadius: 100,
|
|
67496
|
+
border: '1px solid #000',
|
|
67497
|
+
color: '#000',
|
|
67498
|
+
fontSize: 14,
|
|
67499
|
+
height: 40
|
|
67500
|
+
}
|
|
67501
|
+
}, "SUBSCRIBE")))));
|
|
67445
67502
|
};
|
|
67446
67503
|
|
|
67447
67504
|
function ownKeys$Y(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; }
|