tabexseriescomponents 0.2.905 → 0.2.907
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 +247 -153
- package/dist/index.esm.js +247 -153
- package/dist/index.umd.js +247 -153
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -2945,7 +2945,7 @@
|
|
|
2945
2945
|
function ownKeys$2A(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; }
|
|
2946
2946
|
function _objectSpread$2A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2A(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2947
2947
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2948
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _authdetailsContext$i7, _authdetailsContext$
|
|
2948
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _authdetailsContext$i7, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _authdetailsContext$i13, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _authdetailsContext$i14, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _fetchProductInfoQuer115, _fetchProductInfoQuer116, _authdetailsContext$i16, _authdetailsContext$i17, _fetchProductInfoQuer117, _fetchProductInfoQuer118, _fetchProductInfoQuer119, _fetchProductInfoQuer120, _fetchProductInfoQuer121, _fetchProductInfoQuer122, _fetchProductInfoQuer123, _fetchProductInfoQuer124, _authdetailsContext$i18, _fetchProductInfoQuer125, _fetchProductInfoQuer126, _fetchProductInfoQuer127, _fetchProductInfoQuer128, _fetchProductInfoQuer129, _fetchProductInfoQuer132, _fetchProductInfoQuer133, _authdetailsContext$i19, _fetchProductInfoQuer134, _fetchProductInfoQuer135, _fetchProductInfoQuer136, _fetchProductInfoQuer137, _fetchProductInfoQuer138, _fetchProductInfoQuer139, _fetchProductInfoQuer140, _fetchProductInfoQuer143, _fetchProductInfoQuer144, _sizeguideimage$, _authdetailsContext$i20, _fetchProductInfoQuer146, _fetchProductInfoQuer147;
|
|
2949
2949
|
var lang = props.actions.lang;
|
|
2950
2950
|
var actions = props.actions;
|
|
2951
2951
|
var langdetect = props.actions.langdetect;
|
|
@@ -3761,7 +3761,7 @@
|
|
|
3761
3761
|
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '683c163d7f996' ? 'pointer' : ''
|
|
3762
3762
|
},
|
|
3763
3763
|
onClick: function onClick() {
|
|
3764
|
-
var _authdetailsContext$i8, _authdetailsContext$i9;
|
|
3764
|
+
var _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0;
|
|
3765
3765
|
if (sectionproperties.vendornameclickable == 'Yes') {
|
|
3766
3766
|
var _fetchProductInfoQuer29;
|
|
3767
3767
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
@@ -3777,22 +3777,27 @@
|
|
|
3777
3777
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
3778
3778
|
vendorsarr: [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 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.vendorinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.vendorid]
|
|
3779
3779
|
})));
|
|
3780
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6805437ab0f3b') {
|
|
3781
|
+
var _fetchProductInfoQuer32;
|
|
3782
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
3783
|
+
vendorsarr: [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 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.vendorinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.vendorid]
|
|
3784
|
+
})));
|
|
3780
3785
|
}
|
|
3781
3786
|
}
|
|
3782
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3787
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) != '683c163d7f996' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) != '67f3c23abb18f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '6805437ab0f3b' && /*#__PURE__*/React__default["default"].createElement("span", null, " ", langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear, ": "), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3783
3788
|
style: {
|
|
3784
3789
|
fontWeight: 600,
|
|
3785
|
-
textDecoration: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3790
|
+
textDecoration: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67f3c23abb18f' ? 'underline' : 'none'
|
|
3786
3791
|
}
|
|
3787
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3788
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3789
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3792
|
+
}, 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.vendorinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3793
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (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.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'
|
|
3794
|
+
}, ProductsSKUContainer()), (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.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (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.quantavailtype) == 'limit' && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3790
3795
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
3791
3796
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3792
3797
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
3793
3798
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3794
3799
|
"class": "m-0 p-0"
|
|
3795
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3800
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (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.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3796
3801
|
"class": "mb-4 col-lg-12 allcentered",
|
|
3797
3802
|
style: {
|
|
3798
3803
|
width: '100%',
|
|
@@ -3813,7 +3818,7 @@
|
|
|
3813
3818
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3814
3819
|
color: sectionproperties.deliverytimecontainercolor
|
|
3815
3820
|
}
|
|
3816
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3821
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', 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.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (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 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
3817
3822
|
actions: props.actions
|
|
3818
3823
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3819
3824
|
"class": "col-lg-12 p-0"
|
|
@@ -3854,7 +3859,7 @@
|
|
|
3854
3859
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
3855
3860
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
3856
3861
|
}
|
|
3857
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3862
|
+
}, (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.isproducttobesold) == 1 && (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 ? void 0 : _fetchProductInfoQuer42.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3858
3863
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
3859
3864
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3860
3865
|
className: "m-0 p-0",
|
|
@@ -3871,11 +3876,11 @@
|
|
|
3871
3876
|
style: {
|
|
3872
3877
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
3873
3878
|
}
|
|
3874
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3879
|
+
}, sectionproperties.quantitybtn_show == '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 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.isproducthasquantitychange) == 1 && QuantityButton(), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3875
3880
|
"class": "col-lg-12 text-start p-md-0"
|
|
3876
3881
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3877
3882
|
className: "row m-0 w-100"
|
|
3878
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3883
|
+
}, 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 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productfeatures) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.map(function (fitem, findex) {
|
|
3879
3884
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3880
3885
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
3881
3886
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3913,12 +3918,12 @@
|
|
|
3913
3918
|
fontSize: sectionproperties.featurevaluefontsize
|
|
3914
3919
|
}
|
|
3915
3920
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
3916
|
-
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3921
|
+
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3917
3922
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3918
3923
|
onClick: function onClick() {
|
|
3919
3924
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
3920
|
-
var
|
|
3921
|
-
window.open('tel:' + ((
|
|
3925
|
+
var _fetchProductInfoQuer47;
|
|
3926
|
+
window.open('tel:' + ((_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.product_phonenumber), '_blank');
|
|
3922
3927
|
} else {
|
|
3923
3928
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
3924
3929
|
addtocartfunc();
|
|
@@ -3949,7 +3954,7 @@
|
|
|
3949
3954
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3950
3955
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
3951
3956
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3952
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3957
|
+
})), langdetect == 'en' ? 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 ? void 0 : _fetchProductInfoQuer48.productactionbuttontext_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_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3953
3958
|
className: ' d-flex align-items-center justify-content-center '
|
|
3954
3959
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3955
3960
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -3994,7 +3999,7 @@
|
|
|
3994
3999
|
style: {
|
|
3995
4000
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
3996
4001
|
}
|
|
3997
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4002
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3998
4003
|
"class": "row m-0 w-100 mt-3",
|
|
3999
4004
|
style: {
|
|
4000
4005
|
overflow: 'hidden'
|
|
@@ -4006,8 +4011,8 @@
|
|
|
4006
4011
|
},
|
|
4007
4012
|
onClick: function onClick() {
|
|
4008
4013
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4009
|
-
var
|
|
4010
|
-
window.open('tel:' + ((
|
|
4014
|
+
var _fetchProductInfoQuer51;
|
|
4015
|
+
window.open('tel:' + ((_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.product_phonenumber), '_blank');
|
|
4011
4016
|
} else {
|
|
4012
4017
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4013
4018
|
addtocartfunc();
|
|
@@ -4038,7 +4043,7 @@
|
|
|
4038
4043
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4039
4044
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4040
4045
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4041
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4046
|
+
})), langdetect == 'en' ? 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.productactionbuttontext_en : 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.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4042
4047
|
className: ' d-flex align-items-center justify-content-center '
|
|
4043
4048
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4044
4049
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -4103,7 +4108,7 @@
|
|
|
4103
4108
|
style: {
|
|
4104
4109
|
width: sectionproperties.cartBtnWidth + '%'
|
|
4105
4110
|
}
|
|
4106
|
-
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4111
|
+
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4107
4112
|
"class": "row m-0 w-100 mt-3",
|
|
4108
4113
|
style: {
|
|
4109
4114
|
overflow: 'hidden'
|
|
@@ -4139,7 +4144,7 @@
|
|
|
4139
4144
|
"class": "col-lg-12 text-start p-md-0"
|
|
4140
4145
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4141
4146
|
className: "row m-0 w-100"
|
|
4142
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4147
|
+
}, 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 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productfeatures) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.map(function (fitem, findex) {
|
|
4143
4148
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4144
4149
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4145
4150
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4177,19 +4182,19 @@
|
|
|
4177
4182
|
fontSize: sectionproperties.featurevaluefontsize
|
|
4178
4183
|
}
|
|
4179
4184
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
4180
|
-
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4185
|
+
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4181
4186
|
"class": "col-12 text-start mt-3"
|
|
4182
4187
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4183
4188
|
"class": productinfo_cssstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
4184
4189
|
onClick: function onClick() {
|
|
4185
4190
|
setopensizeguidemodal(true);
|
|
4186
4191
|
}
|
|
4187
|
-
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4192
|
+
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4188
4193
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
4189
4194
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4190
4195
|
"class": "m-0"
|
|
4191
4196
|
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4192
|
-
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4197
|
+
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (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.hasvariants) == 0 ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mt-3'
|
|
4193
4198
|
}, sectionproperties.descriptioncollapseopen == 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
4194
4199
|
allowMultipleExpanded: true,
|
|
4195
4200
|
allowZeroExpanded: true,
|
|
@@ -4237,7 +4242,7 @@
|
|
|
4237
4242
|
color: sectionproperties.prodCatColor
|
|
4238
4243
|
},
|
|
4239
4244
|
dangerouslySetInnerHTML: {
|
|
4240
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4245
|
+
__html: langdetect == 'en' ? 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 ? void 0 : _fetchProductInfoQuer59.short_description_en : 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 ? void 0 : _fetchProductInfoQuer60.short_description_ar
|
|
4241
4246
|
}
|
|
4242
4247
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4243
4248
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -4411,7 +4416,7 @@
|
|
|
4411
4416
|
})
|
|
4412
4417
|
// actions={props.actions}
|
|
4413
4418
|
// srcfromprops={'collapsepinfo'}
|
|
4414
|
-
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4419
|
+
})))))), (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 ? void 0 : _fetchProductInfoQuer61.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4415
4420
|
className: "col-lg-12 p-0 mb-3"
|
|
4416
4421
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4417
4422
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -4434,7 +4439,7 @@
|
|
|
4434
4439
|
}
|
|
4435
4440
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4436
4441
|
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 '
|
|
4437
|
-
}, 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 || (
|
|
4442
|
+
}, 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 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.variants[variantindexcompleted]) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.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 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.variants[variantindexcompleted]) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4438
4443
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
4439
4444
|
style: {
|
|
4440
4445
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -4448,14 +4453,14 @@
|
|
|
4448
4453
|
style: {
|
|
4449
4454
|
textDecoration: 'none'
|
|
4450
4455
|
}
|
|
4451
|
-
}, "-"), 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 || (
|
|
4456
|
+
}, "-"), 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 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.variants[variantindexcompleted]) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4452
4457
|
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 '
|
|
4453
4458
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4454
4459
|
className: "ml-2 mr-2",
|
|
4455
4460
|
style: {
|
|
4456
4461
|
textDecoration: 'none'
|
|
4457
4462
|
}
|
|
4458
|
-
}, "-"), 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 || (
|
|
4463
|
+
}, "-"), 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 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4459
4464
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
4460
4465
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4461
4466
|
style: {
|
|
@@ -4503,7 +4508,7 @@
|
|
|
4503
4508
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
4504
4509
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
4505
4510
|
}
|
|
4506
|
-
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4511
|
+
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4507
4512
|
"class": "col-lg-12 allcentered mb-2 p-sm-0 mt-2"
|
|
4508
4513
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4509
4514
|
"class": productinfo_cssstyles.sizeguidebtn,
|
|
@@ -4525,7 +4530,7 @@
|
|
|
4525
4530
|
"class": "my-3"
|
|
4526
4531
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4527
4532
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
4528
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4533
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4529
4534
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
4530
4535
|
style: {
|
|
4531
4536
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -4687,15 +4692,15 @@
|
|
|
4687
4692
|
fontWeight: sectionproperties.quantityfontweight
|
|
4688
4693
|
}
|
|
4689
4694
|
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ":", ' ', fetchProductInfoQueryContext.data.data.productinfo.currentquantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4690
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4695
|
+
className: (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 ? void 0 : _fetchProductInfoQuer67.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : 'col-lg-12 p-0 mb-1 d-flex align-items-center',
|
|
4691
4696
|
style: {
|
|
4692
4697
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
4693
4698
|
}
|
|
4694
|
-
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4699
|
+
}, ProductNameSection()), (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 ? void 0 : _fetchProductInfoQuer68.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4695
4700
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
4696
4701
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
4697
4702
|
count: 5,
|
|
4698
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4703
|
+
value: 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.productoverallrate,
|
|
4699
4704
|
edit: false,
|
|
4700
4705
|
size: 18,
|
|
4701
4706
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -4716,7 +4721,7 @@
|
|
|
4716
4721
|
activeColor: "#ffd700"
|
|
4717
4722
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4718
4723
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
4719
|
-
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4724
|
+
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4720
4725
|
style: {
|
|
4721
4726
|
width: sectionproperties.availability_width + 'px',
|
|
4722
4727
|
height: sectionproperties.availability_height + 'px',
|
|
@@ -4769,7 +4774,7 @@
|
|
|
4769
4774
|
"class": "col-lg-12 text-start p-0"
|
|
4770
4775
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4771
4776
|
className: "row m-0 w-100"
|
|
4772
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4777
|
+
}, 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 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productfeatures) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.map(function (fitem, findex) {
|
|
4773
4778
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4774
4779
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4775
4780
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4827,7 +4832,7 @@
|
|
|
4827
4832
|
color: sectionproperties.prodCatColor
|
|
4828
4833
|
},
|
|
4829
4834
|
dangerouslySetInnerHTML: {
|
|
4830
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4835
|
+
__html: langdetect == 'en' ? 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 ? void 0 : _fetchProductInfoQuer72.short_description_en : 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.short_description_ar
|
|
4831
4836
|
}
|
|
4832
4837
|
})))), sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4833
4838
|
"class": "col-lg-12 text-start p-md-0"
|
|
@@ -4846,7 +4851,7 @@
|
|
|
4846
4851
|
className: "col-lg-12 m-0 w-100 p-0"
|
|
4847
4852
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
4848
4853
|
className: 'table tablevertical'
|
|
4849
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4854
|
+
}, 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 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productfeatures) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.map(function (fitem, findex) {
|
|
4850
4855
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
4851
4856
|
style: {
|
|
4852
4857
|
textTransform: 'capitalize',
|
|
@@ -4878,11 +4883,11 @@
|
|
|
4878
4883
|
fontSize: sectionproperties.featurevaluefontsize
|
|
4879
4884
|
}
|
|
4880
4885
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
4881
|
-
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4886
|
+
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
4882
4887
|
actions: props.actions
|
|
4883
4888
|
}), sectionproperties.showmeasurementunit == 'Show' && sectionproperties.measurementunitposition == 'Above Name' && MeasurementUnitSection(), sectionproperties.featuresposition == 'Under Pricing' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4884
4889
|
"class": "col-lg-12 text-start p-0"
|
|
4885
|
-
}, ProductFeaturesTable()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4890
|
+
}, ProductFeaturesTable()), langdetect == 'en' && (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 ? void 0 : _fetchProductInfoQuer76.short_description_en) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4886
4891
|
"class": "col-lg-12 p-0"
|
|
4887
4892
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4888
4893
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -4892,9 +4897,9 @@
|
|
|
4892
4897
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
4893
4898
|
},
|
|
4894
4899
|
dangerouslySetInnerHTML: {
|
|
4895
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4900
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.short_description_en
|
|
4896
4901
|
}
|
|
4897
|
-
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4902
|
+
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.short_description_ar) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4898
4903
|
"class": "col-lg-12 p-0"
|
|
4899
4904
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4900
4905
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -4904,43 +4909,43 @@
|
|
|
4904
4909
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
4905
4910
|
},
|
|
4906
4911
|
dangerouslySetInnerHTML: {
|
|
4907
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4912
|
+
__html: 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.short_description_ar
|
|
4908
4913
|
}
|
|
4909
|
-
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4914
|
+
}))), (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.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4910
4915
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
4911
4916
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4912
4917
|
"class": "m-0 p-0",
|
|
4913
4918
|
style: {
|
|
4914
4919
|
color: '#000',
|
|
4915
|
-
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4920
|
+
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '683c163d7f996' ? 'pointer' : ''
|
|
4916
4921
|
},
|
|
4917
4922
|
onClick: function onClick() {
|
|
4918
|
-
var _authdetailsContext$
|
|
4923
|
+
var _authdetailsContext$i15;
|
|
4919
4924
|
if (sectionproperties.vendornameclickable == 'Yes') {
|
|
4920
|
-
var _fetchProductInfoQuer80;
|
|
4921
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
4922
|
-
vendorsarr: [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 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.vendorinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.vendorid]
|
|
4923
|
-
})));
|
|
4924
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '683c163d7f996') {
|
|
4925
4925
|
var _fetchProductInfoQuer81;
|
|
4926
4926
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
4927
4927
|
vendorsarr: [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.vendorinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.vendorid]
|
|
4928
4928
|
})));
|
|
4929
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '683c163d7f996') {
|
|
4930
|
+
var _fetchProductInfoQuer82;
|
|
4931
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
4932
|
+
vendorsarr: [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 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.vendorinfo) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.vendorid]
|
|
4933
|
+
})));
|
|
4929
4934
|
}
|
|
4930
4935
|
}
|
|
4931
4936
|
}, langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear, ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4932
4937
|
style: {
|
|
4933
4938
|
fontWeight: 600
|
|
4934
4939
|
}
|
|
4935
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4936
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4937
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4940
|
+
}, 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 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.vendorinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4941
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (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.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'
|
|
4942
|
+
}, ProductsSKUContainer()), (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 ? void 0 : _fetchProductInfoQuer85.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (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 ? void 0 : _fetchProductInfoQuer86.quantavailtype) == 'limit' && (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 ? void 0 : _fetchProductInfoQuer87.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4938
4943
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
4939
4944
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4940
4945
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
4941
4946
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4942
4947
|
"class": "m-0 p-0"
|
|
4943
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4948
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4944
4949
|
"class": "mb-4 col-lg-12 allcentered",
|
|
4945
4950
|
style: {
|
|
4946
4951
|
width: '100%',
|
|
@@ -4961,7 +4966,7 @@
|
|
|
4961
4966
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4962
4967
|
color: sectionproperties.deliverytimecontainercolor
|
|
4963
4968
|
}
|
|
4964
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4969
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
4965
4970
|
actions: props.actions
|
|
4966
4971
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4967
4972
|
"class": "col-lg-12 p-0"
|
|
@@ -5002,7 +5007,7 @@
|
|
|
5002
5007
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
5003
5008
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
5004
5009
|
}
|
|
5005
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5010
|
+
}, (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.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5006
5011
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
5007
5012
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5008
5013
|
className: "m-0 p-0",
|
|
@@ -5019,11 +5024,11 @@
|
|
|
5019
5024
|
style: {
|
|
5020
5025
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
5021
5026
|
}
|
|
5022
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5027
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (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.isproducttobesold) == 1 && (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.isproducthasquantitychange) == 1 && QuantityButton(), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5023
5028
|
"class": "col-lg-12 text-start p-md-0"
|
|
5024
5029
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5025
5030
|
className: "row m-0 w-100"
|
|
5026
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5031
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productfeatures) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.map(function (fitem, findex) {
|
|
5027
5032
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5028
5033
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
5029
5034
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5061,12 +5066,12 @@
|
|
|
5061
5066
|
fontSize: sectionproperties.featurevaluefontsize
|
|
5062
5067
|
}
|
|
5063
5068
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
5064
|
-
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5069
|
+
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5065
5070
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
5066
5071
|
onClick: function onClick() {
|
|
5067
5072
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5068
|
-
var
|
|
5069
|
-
window.open('tel:' + ((
|
|
5073
|
+
var _fetchProductInfoQuer97;
|
|
5074
|
+
window.open('tel:' + ((_fetchProductInfoQuer97 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.product_phonenumber), '_blank');
|
|
5070
5075
|
} else {
|
|
5071
5076
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5072
5077
|
addtocartfunc();
|
|
@@ -5097,7 +5102,7 @@
|
|
|
5097
5102
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5098
5103
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5099
5104
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5100
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5105
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5101
5106
|
className: ' d-flex align-items-center justify-content-center '
|
|
5102
5107
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5103
5108
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5142,7 +5147,7 @@
|
|
|
5142
5147
|
style: {
|
|
5143
5148
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
5144
5149
|
}
|
|
5145
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5150
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5146
5151
|
"class": "row m-0 w-100 mt-3",
|
|
5147
5152
|
style: {
|
|
5148
5153
|
overflow: 'hidden'
|
|
@@ -5154,8 +5159,8 @@
|
|
|
5154
5159
|
},
|
|
5155
5160
|
onClick: function onClick() {
|
|
5156
5161
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5157
|
-
var
|
|
5158
|
-
window.open('tel:' + ((
|
|
5162
|
+
var _fetchProductInfoQuer101;
|
|
5163
|
+
window.open('tel:' + ((_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.product_phonenumber), '_blank');
|
|
5159
5164
|
} else {
|
|
5160
5165
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5161
5166
|
addtocartfunc();
|
|
@@ -5186,7 +5191,7 @@
|
|
|
5186
5191
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5187
5192
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5188
5193
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5189
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5194
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5190
5195
|
className: ' d-flex align-items-center justify-content-center '
|
|
5191
5196
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5192
5197
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5251,7 +5256,7 @@
|
|
|
5251
5256
|
style: {
|
|
5252
5257
|
width: sectionproperties.cartBtnWidth + '%'
|
|
5253
5258
|
}
|
|
5254
|
-
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5259
|
+
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer104 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5255
5260
|
"class": "row m-0 w-100 mt-3",
|
|
5256
5261
|
style: {
|
|
5257
5262
|
overflow: 'hidden'
|
|
@@ -5287,7 +5292,7 @@
|
|
|
5287
5292
|
"class": "col-lg-12 text-start p-md-0"
|
|
5288
5293
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5289
5294
|
className: "row m-0 w-100"
|
|
5290
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5295
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer105 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.productinfo) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.productfeatures) === null || _fetchProductInfoQuer105 === void 0 ? void 0 : _fetchProductInfoQuer105.map(function (fitem, findex) {
|
|
5291
5296
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5292
5297
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
5293
5298
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5325,19 +5330,19 @@
|
|
|
5325
5330
|
fontSize: sectionproperties.featurevaluefontsize
|
|
5326
5331
|
}
|
|
5327
5332
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
5328
|
-
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5333
|
+
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer106 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.productinfo) === null || _fetchProductInfoQuer106 === void 0 ? void 0 : _fetchProductInfoQuer106.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5329
5334
|
"class": "col-12 text-start mt-3"
|
|
5330
5335
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5331
5336
|
"class": productinfo_cssstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
5332
5337
|
onClick: function onClick() {
|
|
5333
5338
|
setopensizeguidemodal(true);
|
|
5334
5339
|
}
|
|
5335
|
-
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5340
|
+
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5336
5341
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
5337
5342
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
5338
5343
|
"class": "m-0"
|
|
5339
5344
|
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5340
|
-
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5345
|
+
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.hasvariants) == 0 ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mt-3'
|
|
5341
5346
|
}, sectionproperties.descriptioncollapseopen == 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
5342
5347
|
allowMultipleExpanded: true,
|
|
5343
5348
|
allowZeroExpanded: true,
|
|
@@ -5385,7 +5390,7 @@
|
|
|
5385
5390
|
color: sectionproperties.prodCatColor
|
|
5386
5391
|
},
|
|
5387
5392
|
dangerouslySetInnerHTML: {
|
|
5388
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5393
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer109 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.productinfo) === null || _fetchProductInfoQuer109 === void 0 ? void 0 : _fetchProductInfoQuer109.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer110 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.productinfo) === null || _fetchProductInfoQuer110 === void 0 ? void 0 : _fetchProductInfoQuer110.short_description_ar
|
|
5389
5394
|
}
|
|
5390
5395
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5391
5396
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -5559,7 +5564,7 @@
|
|
|
5559
5564
|
})
|
|
5560
5565
|
// actions={props.actions}
|
|
5561
5566
|
// srcfromprops={'collapsepinfo'}
|
|
5562
|
-
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5567
|
+
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer111 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.productinfo) === null || _fetchProductInfoQuer111 === void 0 ? void 0 : _fetchProductInfoQuer111.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5563
5568
|
className: "col-lg-12 p-0 mb-3"
|
|
5564
5569
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5565
5570
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -5582,7 +5587,7 @@
|
|
|
5582
5587
|
}
|
|
5583
5588
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5584
5589
|
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 '
|
|
5585
|
-
}, 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 || (
|
|
5590
|
+
}, 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 || (_fetchProductInfoQuer112 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.productinfo) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.variants[variantindexcompleted]) === null || _fetchProductInfoQuer112 === void 0 ? void 0 : _fetchProductInfoQuer112.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer113 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.productinfo) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.variants[variantindexcompleted]) === null || _fetchProductInfoQuer113 === void 0 ? void 0 : _fetchProductInfoQuer113.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5586
5591
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
5587
5592
|
style: {
|
|
5588
5593
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -5596,14 +5601,14 @@
|
|
|
5596
5601
|
style: {
|
|
5597
5602
|
textDecoration: 'none'
|
|
5598
5603
|
}
|
|
5599
|
-
}, "-"), 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 || (
|
|
5604
|
+
}, "-"), 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 || (_fetchProductInfoQuer114 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.productinfo) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.variants[variantindexcompleted]) === null || _fetchProductInfoQuer114 === void 0 ? void 0 : _fetchProductInfoQuer114.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5600
5605
|
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 '
|
|
5601
5606
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5602
5607
|
className: "ml-2 mr-2",
|
|
5603
5608
|
style: {
|
|
5604
5609
|
textDecoration: 'none'
|
|
5605
5610
|
}
|
|
5606
|
-
}, "-"), 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 || (
|
|
5611
|
+
}, "-"), 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 || (_fetchProductInfoQuer115 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.productinfo) === null || _fetchProductInfoQuer115 === void 0 ? void 0 : _fetchProductInfoQuer115.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5607
5612
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
5608
5613
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5609
5614
|
style: {
|
|
@@ -5651,7 +5656,7 @@
|
|
|
5651
5656
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
5652
5657
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
5653
5658
|
}
|
|
5654
|
-
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5659
|
+
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer116 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.data) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.productinfo) === null || _fetchProductInfoQuer116 === void 0 ? void 0 : _fetchProductInfoQuer116.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5655
5660
|
"class": "col-lg-12 allcentered mb-2 p-sm-0 mt-2"
|
|
5656
5661
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5657
5662
|
"class": productinfo_cssstyles.sizeguidebtn,
|
|
@@ -5673,7 +5678,7 @@
|
|
|
5673
5678
|
"class": "my-3"
|
|
5674
5679
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5675
5680
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
5676
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5681
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5677
5682
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
|
|
5678
5683
|
style: {
|
|
5679
5684
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5690,7 +5695,7 @@
|
|
|
5690
5695
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
5691
5696
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5692
5697
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5693
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5698
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer117 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.data) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.productinfo) === null || _fetchProductInfoQuer117 === void 0 ? void 0 : _fetchProductInfoQuer117.productmainimage),
|
|
5694
5699
|
style: {
|
|
5695
5700
|
width: '100%',
|
|
5696
5701
|
height: '100%',
|
|
@@ -5723,13 +5728,13 @@
|
|
|
5723
5728
|
color: sectionproperties.prodCatColor
|
|
5724
5729
|
},
|
|
5725
5730
|
dangerouslySetInnerHTML: {
|
|
5726
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5731
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer118 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer118 === void 0 || (_fetchProductInfoQuer118 = _fetchProductInfoQuer118.data) === null || _fetchProductInfoQuer118 === void 0 || (_fetchProductInfoQuer118 = _fetchProductInfoQuer118.productinfo) === null || _fetchProductInfoQuer118 === void 0 ? void 0 : _fetchProductInfoQuer118.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer119 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer119 === void 0 || (_fetchProductInfoQuer119 = _fetchProductInfoQuer119.data) === null || _fetchProductInfoQuer119 === void 0 || (_fetchProductInfoQuer119 = _fetchProductInfoQuer119.productinfo) === null || _fetchProductInfoQuer119 === void 0 ? void 0 : _fetchProductInfoQuer119.short_description_ar
|
|
5727
5732
|
}
|
|
5728
5733
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5729
5734
|
"class": "col-lg-12 text-start p-md-0"
|
|
5730
5735
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5731
5736
|
className: "row m-0 w-100"
|
|
5732
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5737
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer120 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.data) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.productinfo) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.productfeatures) === null || _fetchProductInfoQuer120 === void 0 ? void 0 : _fetchProductInfoQuer120.map(function (fitem, findex) {
|
|
5733
5738
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5734
5739
|
"class": ' col-md-6 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
5735
5740
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5771,7 +5776,7 @@
|
|
|
5771
5776
|
"class": "col-lg-12 p-0 my-4"
|
|
5772
5777
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5773
5778
|
"class": "row m-0 w-100"
|
|
5774
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5779
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer121 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.data) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.productinfo) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.productimages) === null || _fetchProductInfoQuer121 === void 0 ? void 0 : _fetchProductInfoQuer121.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer122 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer122 === void 0 || (_fetchProductInfoQuer122 = _fetchProductInfoQuer122.data) === null || _fetchProductInfoQuer122 === void 0 || (_fetchProductInfoQuer122 = _fetchProductInfoQuer122.productinfo) === null || _fetchProductInfoQuer122 === void 0 ? void 0 : _fetchProductInfoQuer122.productimages.map(function (item, index) {
|
|
5775
5780
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5776
5781
|
"class": "col-lg-4 col-sm-12 mb-md-2 p-md-0"
|
|
5777
5782
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5798,9 +5803,9 @@
|
|
|
5798
5803
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5799
5804
|
},
|
|
5800
5805
|
dangerouslySetInnerHTML: {
|
|
5801
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5806
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer123 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer123 === void 0 || (_fetchProductInfoQuer123 = _fetchProductInfoQuer123.data) === null || _fetchProductInfoQuer123 === void 0 || (_fetchProductInfoQuer123 = _fetchProductInfoQuer123.productinfo) === null || _fetchProductInfoQuer123 === void 0 ? void 0 : _fetchProductInfoQuer123.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer124 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer124 === void 0 || (_fetchProductInfoQuer124 = _fetchProductInfoQuer124.data) === null || _fetchProductInfoQuer124 === void 0 || (_fetchProductInfoQuer124 = _fetchProductInfoQuer124.productinfo) === null || _fetchProductInfoQuer124 === void 0 ? void 0 : _fetchProductInfoQuer124.description_ar
|
|
5802
5807
|
}
|
|
5803
|
-
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5808
|
+
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5804
5809
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
5805
5810
|
style: {
|
|
5806
5811
|
minHeight: '100vh'
|
|
@@ -5832,7 +5837,7 @@
|
|
|
5832
5837
|
duration: 1500,
|
|
5833
5838
|
arrow: true,
|
|
5834
5839
|
easing: "ease"
|
|
5835
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5840
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer125 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer125 === void 0 || (_fetchProductInfoQuer125 = _fetchProductInfoQuer125.data) === null || _fetchProductInfoQuer125 === void 0 || (_fetchProductInfoQuer125 = _fetchProductInfoQuer125.productinfo) === null || _fetchProductInfoQuer125 === void 0 || (_fetchProductInfoQuer125 = _fetchProductInfoQuer125.productimages) === null || _fetchProductInfoQuer125 === void 0 ? void 0 : _fetchProductInfoQuer125.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer126 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer126 === void 0 || (_fetchProductInfoQuer126 = _fetchProductInfoQuer126.data) === null || _fetchProductInfoQuer126 === void 0 || (_fetchProductInfoQuer126 = _fetchProductInfoQuer126.productinfo) === null || _fetchProductInfoQuer126 === void 0 ? void 0 : _fetchProductInfoQuer126.productimages.map(function (item, index) {
|
|
5836
5841
|
if (item.is_size_guide != 1) {
|
|
5837
5842
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5838
5843
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -5887,7 +5892,7 @@
|
|
|
5887
5892
|
color: sectionproperties.prodCatColor
|
|
5888
5893
|
},
|
|
5889
5894
|
dangerouslySetInnerHTML: {
|
|
5890
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5895
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer127 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer127 === void 0 || (_fetchProductInfoQuer127 = _fetchProductInfoQuer127.data) === null || _fetchProductInfoQuer127 === void 0 || (_fetchProductInfoQuer127 = _fetchProductInfoQuer127.productinfo) === null || _fetchProductInfoQuer127 === void 0 ? void 0 : _fetchProductInfoQuer127.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer128 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer128 === void 0 || (_fetchProductInfoQuer128 = _fetchProductInfoQuer128.data) === null || _fetchProductInfoQuer128 === void 0 || (_fetchProductInfoQuer128 = _fetchProductInfoQuer128.productinfo) === null || _fetchProductInfoQuer128 === void 0 ? void 0 : _fetchProductInfoQuer128.description_ar
|
|
5891
5896
|
}
|
|
5892
5897
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5893
5898
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -5933,7 +5938,7 @@
|
|
|
5933
5938
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
5934
5939
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
5935
5940
|
className: 'table tablevertical'
|
|
5936
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5941
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer129 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer129 === void 0 || (_fetchProductInfoQuer129 = _fetchProductInfoQuer129.data) === null || _fetchProductInfoQuer129 === void 0 || (_fetchProductInfoQuer129 = _fetchProductInfoQuer129.productinfo) === null || _fetchProductInfoQuer129 === void 0 || (_fetchProductInfoQuer129 = _fetchProductInfoQuer129.productfeatures) === null || _fetchProductInfoQuer129 === void 0 ? void 0 : _fetchProductInfoQuer129.map(function (fitem, findex) {
|
|
5937
5942
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
5938
5943
|
style: {
|
|
5939
5944
|
textTransform: 'capitalize',
|
|
@@ -5976,8 +5981,8 @@
|
|
|
5976
5981
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5977
5982
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
5978
5983
|
onClick: function onClick() {
|
|
5979
|
-
var
|
|
5980
|
-
window.open('tel:' + ((
|
|
5984
|
+
var _fetchProductInfoQuer130;
|
|
5985
|
+
window.open('tel:' + ((_fetchProductInfoQuer130 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer130 === void 0 ? void 0 : _fetchProductInfoQuer130.product_phonenumber), '_blank');
|
|
5981
5986
|
},
|
|
5982
5987
|
style: {
|
|
5983
5988
|
width: '40%',
|
|
@@ -6028,8 +6033,8 @@
|
|
|
6028
6033
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
6029
6034
|
onClick: function onClick() {
|
|
6030
6035
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
6031
|
-
var
|
|
6032
|
-
window.open('tel:' + ((
|
|
6036
|
+
var _fetchProductInfoQuer131;
|
|
6037
|
+
window.open('tel:' + ((_fetchProductInfoQuer131 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer131 === void 0 ? void 0 : _fetchProductInfoQuer131.product_phonenumber), '_blank');
|
|
6033
6038
|
} else {
|
|
6034
6039
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
6035
6040
|
addtocartfunc();
|
|
@@ -6060,14 +6065,14 @@
|
|
|
6060
6065
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6061
6066
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6062
6067
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6063
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6068
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer132 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer132 === void 0 || (_fetchProductInfoQuer132 = _fetchProductInfoQuer132.data) === null || _fetchProductInfoQuer132 === void 0 || (_fetchProductInfoQuer132 = _fetchProductInfoQuer132.productinfo) === null || _fetchProductInfoQuer132 === void 0 ? void 0 : _fetchProductInfoQuer132.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer133 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer133 === void 0 || (_fetchProductInfoQuer133 = _fetchProductInfoQuer133.data) === null || _fetchProductInfoQuer133 === void 0 || (_fetchProductInfoQuer133 = _fetchProductInfoQuer133.productinfo) === null || _fetchProductInfoQuer133 === void 0 ? void 0 : _fetchProductInfoQuer133.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6064
6069
|
className: ' d-flex align-items-center justify-content-center '
|
|
6065
6070
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6066
6071
|
color: sectionproperties.cartBtnTextcolor,
|
|
6067
6072
|
width: "20px",
|
|
6068
6073
|
height: "20px",
|
|
6069
6074
|
duration: "1s"
|
|
6070
|
-
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6075
|
+
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6071
6076
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
6072
6077
|
style: {
|
|
6073
6078
|
minHeight: '100vh'
|
|
@@ -6099,7 +6104,7 @@
|
|
|
6099
6104
|
duration: 1500,
|
|
6100
6105
|
arrow: true,
|
|
6101
6106
|
easing: "ease"
|
|
6102
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6107
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer134 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.data) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.productinfo) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.productimages) === null || _fetchProductInfoQuer134 === void 0 ? void 0 : _fetchProductInfoQuer134.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer135 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.data) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.productinfo) === null || _fetchProductInfoQuer135 === void 0 ? void 0 : _fetchProductInfoQuer135.productimages.map(function (item, index) {
|
|
6103
6108
|
if (item.is_size_guide != 1) {
|
|
6104
6109
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6105
6110
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -6154,7 +6159,7 @@
|
|
|
6154
6159
|
color: sectionproperties.prodCatColor
|
|
6155
6160
|
},
|
|
6156
6161
|
dangerouslySetInnerHTML: {
|
|
6157
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6162
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer136 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer136 === void 0 || (_fetchProductInfoQuer136 = _fetchProductInfoQuer136.data) === null || _fetchProductInfoQuer136 === void 0 || (_fetchProductInfoQuer136 = _fetchProductInfoQuer136.productinfo) === null || _fetchProductInfoQuer136 === void 0 ? void 0 : _fetchProductInfoQuer136.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer137 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer137 === void 0 || (_fetchProductInfoQuer137 = _fetchProductInfoQuer137.data) === null || _fetchProductInfoQuer137 === void 0 || (_fetchProductInfoQuer137 = _fetchProductInfoQuer137.productinfo) === null || _fetchProductInfoQuer137 === void 0 ? void 0 : _fetchProductInfoQuer137.description_ar
|
|
6158
6163
|
}
|
|
6159
6164
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6160
6165
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -6198,7 +6203,7 @@
|
|
|
6198
6203
|
className: "p-0"
|
|
6199
6204
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6200
6205
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
6201
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6206
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer138 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer138 === void 0 || (_fetchProductInfoQuer138 = _fetchProductInfoQuer138.data) === null || _fetchProductInfoQuer138 === void 0 || (_fetchProductInfoQuer138 = _fetchProductInfoQuer138.productinfo) === null || _fetchProductInfoQuer138 === void 0 || (_fetchProductInfoQuer138 = _fetchProductInfoQuer138.productfeatures) === null || _fetchProductInfoQuer138 === void 0 ? void 0 : _fetchProductInfoQuer138.map(function (fitem, findex) {
|
|
6202
6207
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6203
6208
|
"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'
|
|
6204
6209
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -6294,7 +6299,7 @@
|
|
|
6294
6299
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
6295
6300
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
6296
6301
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
6297
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6302
|
+
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer139 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer139 === void 0 || (_fetchProductInfoQuer139 = _fetchProductInfoQuer139.data) === null || _fetchProductInfoQuer139 === void 0 || (_fetchProductInfoQuer139 = _fetchProductInfoQuer139.productinfo) === null || _fetchProductInfoQuer139 === void 0 || (_fetchProductInfoQuer139 = _fetchProductInfoQuer139.vendorinfo) === null || _fetchProductInfoQuer139 === void 0 ? void 0 : _fetchProductInfoQuer139.vendorlogourl,
|
|
6298
6303
|
loading: "lazy",
|
|
6299
6304
|
style: {
|
|
6300
6305
|
maxWidth: '100%',
|
|
@@ -6309,7 +6314,7 @@
|
|
|
6309
6314
|
fontSize: 17,
|
|
6310
6315
|
color: sectionproperties.featurecolor
|
|
6311
6316
|
}
|
|
6312
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6317
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer140 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer140 === void 0 || (_fetchProductInfoQuer140 = _fetchProductInfoQuer140.data) === null || _fetchProductInfoQuer140 === void 0 || (_fetchProductInfoQuer140 = _fetchProductInfoQuer140.productinfo) === null || _fetchProductInfoQuer140 === void 0 || (_fetchProductInfoQuer140 = _fetchProductInfoQuer140.vendorinfo) === null || _fetchProductInfoQuer140 === void 0 ? void 0 : _fetchProductInfoQuer140.address)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6313
6318
|
"class": "col-lg-3"
|
|
6314
6319
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6315
6320
|
"class": "row m-0 w-100"
|
|
@@ -6318,8 +6323,8 @@
|
|
|
6318
6323
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
6319
6324
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
6320
6325
|
onClick: function onClick() {
|
|
6321
|
-
var
|
|
6322
|
-
window.open('tel:' + ((
|
|
6326
|
+
var _fetchProductInfoQuer141;
|
|
6327
|
+
window.open('tel:' + ((_fetchProductInfoQuer141 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer141 === void 0 ? void 0 : _fetchProductInfoQuer141.product_phonenumber), '_blank');
|
|
6323
6328
|
},
|
|
6324
6329
|
style: {
|
|
6325
6330
|
width: '40%',
|
|
@@ -6370,8 +6375,8 @@
|
|
|
6370
6375
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
6371
6376
|
onClick: function onClick() {
|
|
6372
6377
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
6373
|
-
var
|
|
6374
|
-
window.open('tel:' + ((
|
|
6378
|
+
var _fetchProductInfoQuer142;
|
|
6379
|
+
window.open('tel:' + ((_fetchProductInfoQuer142 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer142 === void 0 ? void 0 : _fetchProductInfoQuer142.product_phonenumber), '_blank');
|
|
6375
6380
|
} else {
|
|
6376
6381
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
6377
6382
|
addtocartfunc();
|
|
@@ -6402,7 +6407,7 @@
|
|
|
6402
6407
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6403
6408
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6404
6409
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6405
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6410
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer143 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer143 === void 0 || (_fetchProductInfoQuer143 = _fetchProductInfoQuer143.data) === null || _fetchProductInfoQuer143 === void 0 || (_fetchProductInfoQuer143 = _fetchProductInfoQuer143.productinfo) === null || _fetchProductInfoQuer143 === void 0 ? void 0 : _fetchProductInfoQuer143.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer144 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer144 === void 0 || (_fetchProductInfoQuer144 = _fetchProductInfoQuer144.data) === null || _fetchProductInfoQuer144 === void 0 || (_fetchProductInfoQuer144 = _fetchProductInfoQuer144.productinfo) === null || _fetchProductInfoQuer144 === void 0 ? void 0 : _fetchProductInfoQuer144.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6406
6411
|
className: ' d-flex align-items-center justify-content-center '
|
|
6407
6412
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6408
6413
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -6446,7 +6451,7 @@
|
|
|
6446
6451
|
objectFit: 'contain'
|
|
6447
6452
|
},
|
|
6448
6453
|
loading: "lazy"
|
|
6449
|
-
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6454
|
+
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '68319d088f13e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6450
6455
|
"class": "col-12 p-0",
|
|
6451
6456
|
style: {
|
|
6452
6457
|
position: 'fixed',
|
|
@@ -6473,8 +6478,8 @@
|
|
|
6473
6478
|
},
|
|
6474
6479
|
onClick: function onClick() {
|
|
6475
6480
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
6476
|
-
var
|
|
6477
|
-
window.open('tel:' + ((
|
|
6481
|
+
var _fetchProductInfoQuer145;
|
|
6482
|
+
window.open('tel:' + ((_fetchProductInfoQuer145 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer145 === void 0 ? void 0 : _fetchProductInfoQuer145.product_phonenumber), '_blank');
|
|
6478
6483
|
} else {
|
|
6479
6484
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
6480
6485
|
addtocartfunc();
|
|
@@ -6505,7 +6510,7 @@
|
|
|
6505
6510
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6506
6511
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6507
6512
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6508
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6513
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer146 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer146 === void 0 || (_fetchProductInfoQuer146 = _fetchProductInfoQuer146.data) === null || _fetchProductInfoQuer146 === void 0 || (_fetchProductInfoQuer146 = _fetchProductInfoQuer146.productinfo) === null || _fetchProductInfoQuer146 === void 0 ? void 0 : _fetchProductInfoQuer146.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer147 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer147 === void 0 || (_fetchProductInfoQuer147 = _fetchProductInfoQuer147.data) === null || _fetchProductInfoQuer147 === void 0 || (_fetchProductInfoQuer147 = _fetchProductInfoQuer147.productinfo) === null || _fetchProductInfoQuer147 === void 0 ? void 0 : _fetchProductInfoQuer147.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6509
6514
|
className: ' d-flex align-items-center justify-content-center '
|
|
6510
6515
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6511
6516
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -19333,12 +19338,12 @@
|
|
|
19333
19338
|
}
|
|
19334
19339
|
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcollections]);
|
|
19335
19340
|
React.useEffect(function () {
|
|
19336
|
-
if (productfeatuesarr.length != 0) {
|
|
19337
|
-
|
|
19338
|
-
|
|
19339
|
-
|
|
19340
|
-
|
|
19341
|
-
}
|
|
19341
|
+
// if (productfeatuesarr.length != 0) {
|
|
19342
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
19343
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
19344
|
+
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
19345
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
19346
|
+
// }
|
|
19342
19347
|
}, [productfeatuesarr]);
|
|
19343
19348
|
React.useEffect(function () {
|
|
19344
19349
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
@@ -19451,7 +19456,7 @@
|
|
|
19451
19456
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
19452
19457
|
};
|
|
19453
19458
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
19454
|
-
var _tempfetchproductsfil2;
|
|
19459
|
+
var _tempfetchproductsfil2, _tempfetchproductsfil3;
|
|
19455
19460
|
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
19456
19461
|
var CollectionExists = false;
|
|
19457
19462
|
if (tempfetchproductsfilerobjcontext.ProductFetchingType == 'Parent Collection' && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter == undefined) {
|
|
@@ -19477,8 +19482,14 @@
|
|
|
19477
19482
|
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
19478
19483
|
}
|
|
19479
19484
|
}
|
|
19480
|
-
tempfetchproductsfilerobjcontext.page = 0;
|
|
19481
19485
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
19486
|
+
if (tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != undefined && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil3 = tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter) === null || _tempfetchproductsfil3 === void 0 ? void 0 : _tempfetchproductsfil3.length) != 0) {
|
|
19487
|
+
var _tempfetchproductsfil4;
|
|
19488
|
+
if (tempfetchproductsfilerobjcontext.collections != undefined && tempfetchproductsfilerobjcontext.collections != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil4 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil4 === void 0 ? void 0 : _tempfetchproductsfil4.length) == 1) {
|
|
19489
|
+
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Parent Collection';
|
|
19490
|
+
}
|
|
19491
|
+
}
|
|
19492
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
19482
19493
|
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
19483
19494
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
19484
19495
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
@@ -19812,28 +19823,29 @@
|
|
|
19812
19823
|
// }
|
|
19813
19824
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-center pb-3 ',
|
|
19814
19825
|
onClick: function onClick(e) {
|
|
19815
|
-
var isattrexists = false;
|
|
19816
19826
|
var tempproductfeatuesarr = [];
|
|
19817
19827
|
if (ProductFilterObjContext != undefined && ProductFilterObjContext != null && ProductFilterObjContext.prod_featruesar != undefined && ProductFilterObjContext.prod_featruesar != null && ProductFilterObjContext.prod_featruesar.length != 0) {
|
|
19818
|
-
var _tempproductfeatuesar;
|
|
19819
19828
|
tempproductfeatuesarr = _toConsumableArray__default["default"](ProductFilterObjContext.prod_featruesar);
|
|
19820
|
-
|
|
19821
|
-
|
|
19822
|
-
tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
19823
|
-
isattrexists = true;
|
|
19824
|
-
}
|
|
19825
|
-
// if (attritem.id == slecitem.featureid) {
|
|
19826
|
-
// if (tempproductfeatuesarr[attrindex].value == slecitem.value_en) {
|
|
19827
|
-
// tempproductfeatuesarr.splice(attrindex, 1);
|
|
19828
|
-
// isattrexists = true;
|
|
19829
|
-
// } else {
|
|
19830
|
-
// tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
19831
|
-
// isattrexists = true;
|
|
19832
|
-
// }
|
|
19833
|
-
// }
|
|
19829
|
+
var existingIndex = tempproductfeatuesarr.findIndex(function (attritem) {
|
|
19830
|
+
return attritem.id === slecitem.featureid;
|
|
19834
19831
|
});
|
|
19835
|
-
|
|
19836
|
-
|
|
19832
|
+
if (existingIndex !== -1) {
|
|
19833
|
+
if (tempproductfeatuesarr[existingIndex].value === slecitem.value_en) {
|
|
19834
|
+
// Same feature and value -> remove (toggle off)
|
|
19835
|
+
tempproductfeatuesarr.splice(existingIndex, 1);
|
|
19836
|
+
} else {
|
|
19837
|
+
// Same feature, different value -> update
|
|
19838
|
+
tempproductfeatuesarr[existingIndex].value = slecitem.value_en;
|
|
19839
|
+
}
|
|
19840
|
+
} else {
|
|
19841
|
+
// Feature doesn't exist -> add new
|
|
19842
|
+
tempproductfeatuesarr.push({
|
|
19843
|
+
id: slecitem.featureid,
|
|
19844
|
+
value: slecitem.value_en
|
|
19845
|
+
});
|
|
19846
|
+
}
|
|
19847
|
+
} else {
|
|
19848
|
+
// Feature list is empty -> add new
|
|
19837
19849
|
tempproductfeatuesarr.push({
|
|
19838
19850
|
id: slecitem.featureid,
|
|
19839
19851
|
value: slecitem.value_en
|
|
@@ -20937,11 +20949,11 @@
|
|
|
20937
20949
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20938
20950
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(item.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n ") + ' d-flex align-items-center pb-3 col-12 ',
|
|
20939
20951
|
onClick: function onClick() {
|
|
20940
|
-
var
|
|
20952
|
+
var _tempfetchproductsfil5;
|
|
20941
20953
|
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
20942
20954
|
// alert(JSON.stringify(tempfetchproductsfilerobjcontext));
|
|
20943
20955
|
tempfetchproductsfilerobjcontext.vendorsarr = [];
|
|
20944
|
-
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (
|
|
20956
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil5 = tempfetchproductsfilerobjcontext.vendorsarr) === null || _tempfetchproductsfil5 === void 0 || _tempfetchproductsfil5.push(item.vendorid);
|
|
20945
20957
|
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
20946
20958
|
var temp = _toConsumableArray__default["default"](vendorarr);
|
|
20947
20959
|
temp === null || temp === void 0 || temp.forEach(function (instfilteritem, instfilterindex) {
|
|
@@ -22060,7 +22072,7 @@
|
|
|
22060
22072
|
image: ''
|
|
22061
22073
|
};
|
|
22062
22074
|
if (fetchingtype == 'products') {
|
|
22063
|
-
var _arrayItem$productinf, _arrayItem$productinf2, _arrayItem$productinf3, _arrayItem$productinf4, _arrayItem$productinf5, _arrayItem$productinf6, _arrayItem$features3;
|
|
22075
|
+
var _arrayItem$productinf, _arrayItem$productinf2, _arrayItem$productinf3, _arrayItem$productinf4, _arrayItem$productinf5, _arrayItem$productinf6, _arrayItem$vendorinfo, _arrayItem$vendorinfo2, _arrayItem$features3;
|
|
22064
22076
|
// var itemquantity = parseInt(sectionproperties.startquantity);
|
|
22065
22077
|
|
|
22066
22078
|
var itemquantity = 0;
|
|
@@ -22109,6 +22121,8 @@
|
|
|
22109
22121
|
cardobj.stateid = arrayItem.productinfo.stateid;
|
|
22110
22122
|
cardobj.cityid = arrayItem.productinfo.cityid;
|
|
22111
22123
|
cardobj.producttags = arrayItem.tags;
|
|
22124
|
+
cardobj.vendorname = arrayItem === null || arrayItem === void 0 || (_arrayItem$vendorinfo = arrayItem.vendorinfo) === null || _arrayItem$vendorinfo === void 0 ? void 0 : _arrayItem$vendorinfo.vendorname;
|
|
22125
|
+
cardobj.vendorlogo = arrayItem === null || arrayItem === void 0 || (_arrayItem$vendorinfo2 = arrayItem.vendorinfo) === null || _arrayItem$vendorinfo2 === void 0 ? void 0 : _arrayItem$vendorinfo2.vendorlogourl;
|
|
22112
22126
|
if (langdetect == 'en') {
|
|
22113
22127
|
var _arrayItem$features;
|
|
22114
22128
|
cardobj.productfeature = arrayItem === null || arrayItem === void 0 || (_arrayItem$features = arrayItem.features) === null || _arrayItem$features === void 0 ? void 0 : _arrayItem$features.value_en;
|
|
@@ -27065,7 +27079,7 @@
|
|
|
27065
27079
|
function ownKeys$25(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; }
|
|
27066
27080
|
function _objectSpread$25(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$25(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$25(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27067
27081
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
27068
|
-
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$
|
|
27082
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24;
|
|
27069
27083
|
var actions = props.actions;
|
|
27070
27084
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
27071
27085
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -28284,6 +28298,25 @@
|
|
|
28284
28298
|
style: {
|
|
28285
28299
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
28286
28300
|
}
|
|
28301
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28302
|
+
className: "row m-0 w-100 anim"
|
|
28303
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28304
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
28305
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28306
|
+
onClick: function onClick() {
|
|
28307
|
+
setopenmenuCanvas(false);
|
|
28308
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
28309
|
+
setmenuactive(false);
|
|
28310
|
+
}
|
|
28311
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28312
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
28313
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28314
|
+
className: "col-lg-12 p-0"
|
|
28315
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
28316
|
+
className: "mt-3 mb-3",
|
|
28317
|
+
style: {
|
|
28318
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
28319
|
+
}
|
|
28287
28320
|
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28288
28321
|
className: "row m-0 w-100 anim"
|
|
28289
28322
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -28559,9 +28592,9 @@
|
|
|
28559
28592
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
28560
28593
|
setopenCnvas(false);
|
|
28561
28594
|
}
|
|
28562
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28595
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28563
28596
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
28564
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28597
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28565
28598
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
28566
28599
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28567
28600
|
className: "col-lg-12 p-0"
|
|
@@ -28683,7 +28716,26 @@
|
|
|
28683
28716
|
style: {
|
|
28684
28717
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
28685
28718
|
}
|
|
28686
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28719
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28720
|
+
className: "row m-0 w-100"
|
|
28721
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28722
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
28723
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28724
|
+
onClick: function onClick() {
|
|
28725
|
+
setopenmenuCanvas(false);
|
|
28726
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
28727
|
+
setmenuactive(false);
|
|
28728
|
+
}
|
|
28729
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28730
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
28731
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28732
|
+
className: "col-lg-12 p-0"
|
|
28733
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
28734
|
+
className: "mt-3 mb-3",
|
|
28735
|
+
style: {
|
|
28736
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
28737
|
+
}
|
|
28738
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28687
28739
|
className: "row m-0 w-100"
|
|
28688
28740
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28689
28741
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
@@ -28979,7 +29031,25 @@
|
|
|
28979
29031
|
style: {
|
|
28980
29032
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
28981
29033
|
}
|
|
28982
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29034
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29035
|
+
className: "row m-0 w-100"
|
|
29036
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29037
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
29038
|
+
onClick: function onClick() {
|
|
29039
|
+
setopenmenuCanvas(false);
|
|
29040
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
29041
|
+
setopenCnvas(false);
|
|
29042
|
+
}
|
|
29043
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29044
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29045
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29046
|
+
className: "col-lg-12 p-0"
|
|
29047
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
29048
|
+
className: "mt-4 mb-4",
|
|
29049
|
+
style: {
|
|
29050
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
29051
|
+
}
|
|
29052
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28983
29053
|
className: "row m-0 w-100"
|
|
28984
29054
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28985
29055
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
@@ -29006,9 +29076,9 @@
|
|
|
29006
29076
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
29007
29077
|
setopenCnvas(false);
|
|
29008
29078
|
}
|
|
29009
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29079
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29010
29080
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29011
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29081
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29012
29082
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29013
29083
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29014
29084
|
className: "col-lg-12 p-0"
|
|
@@ -29111,7 +29181,7 @@
|
|
|
29111
29181
|
style: {
|
|
29112
29182
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
29113
29183
|
}
|
|
29114
|
-
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29184
|
+
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.instcurrencies) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.length) > 1 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '67f69c023cbd4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29115
29185
|
"class": "row m-0 w-100 pl-3 pr-3"
|
|
29116
29186
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29117
29187
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '
|
|
@@ -29129,7 +29199,7 @@
|
|
|
29129
29199
|
background: '#f4f4f4',
|
|
29130
29200
|
borderRadius: 5
|
|
29131
29201
|
}
|
|
29132
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29202
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.instcurrencies) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.map(function (item, index) {
|
|
29133
29203
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29134
29204
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
|
|
29135
29205
|
onClick: function onClick() {
|
|
@@ -89134,7 +89204,7 @@
|
|
|
89134
89204
|
function ownKeys$6(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; }
|
|
89135
89205
|
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
89136
89206
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
89137
|
-
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _item$producttags2, _authdetailsContext$
|
|
89207
|
+
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i4, _item$producttags2, _authdetailsContext$i5, _item$producttags$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
|
|
89138
89208
|
var _useState = React.useState(''),
|
|
89139
89209
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
89140
89210
|
sectionproperties = _useState2[0],
|
|
@@ -89923,7 +89993,31 @@
|
|
|
89923
89993
|
color: sectionproperties.featurecolor,
|
|
89924
89994
|
fontSize: sectionproperties.featurefontsize + 'px'
|
|
89925
89995
|
}
|
|
89926
|
-
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("
|
|
89996
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6805437ab0f3b' && sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
89997
|
+
"class": "col-lg-12 p-0 text-start mb-1"
|
|
89998
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
89999
|
+
style: {
|
|
90000
|
+
width: 40,
|
|
90001
|
+
height: 40,
|
|
90002
|
+
borderRadius: 100,
|
|
90003
|
+
border: '1px solid #ccc'
|
|
90004
|
+
}
|
|
90005
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
90006
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
90007
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
90008
|
+
path: item.vendorlogo,
|
|
90009
|
+
loading: "lazy",
|
|
90010
|
+
style: {
|
|
90011
|
+
width: '100%',
|
|
90012
|
+
height: '100%'
|
|
90013
|
+
}
|
|
90014
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
90015
|
+
"class": "m-0 p-0 px-2",
|
|
90016
|
+
style: {
|
|
90017
|
+
color: '#000',
|
|
90018
|
+
fontSize: 13
|
|
90019
|
+
}
|
|
90020
|
+
}, item.vendorname)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
89927
90021
|
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
89928
90022
|
style: {
|
|
89929
90023
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
@@ -89954,7 +90048,7 @@
|
|
|
89954
90048
|
style: {
|
|
89955
90049
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
89956
90050
|
}
|
|
89957
|
-
}, item.name)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags2 = item.producttags) === null || _item$producttags2 === void 0 ? void 0 : _item$producttags2.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
90051
|
+
}, item.name)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags2 = item.producttags) === null || _item$producttags2 === void 0 ? void 0 : _item$producttags2.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
89958
90052
|
"class": "allcentered",
|
|
89959
90053
|
style: {
|
|
89960
90054
|
width: '100%',
|
|
@@ -90072,7 +90166,7 @@
|
|
|
90072
90166
|
color: sectionproperties.quantitycolor,
|
|
90073
90167
|
fontWeight: sectionproperties.quantityfontweight
|
|
90074
90168
|
}
|
|
90075
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), sectionproperties.cartBtnShow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
90169
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), sectionproperties.cartBtnShow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) != '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
90076
90170
|
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
90077
90171
|
style: {
|
|
90078
90172
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
@@ -90097,7 +90191,7 @@
|
|
|
90097
90191
|
}
|
|
90098
90192
|
}
|
|
90099
90193
|
}
|
|
90100
|
-
}, addtocartbuttonrender())), sectionproperties.cartBtnShow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
90194
|
+
}, addtocartbuttonrender())), sectionproperties.cartBtnShow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '67d6bda67adf6' && showquantity == false && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
90101
90195
|
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
90102
90196
|
style: {
|
|
90103
90197
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
@@ -90107,7 +90201,7 @@
|
|
|
90107
90201
|
onClick: function onClick() {
|
|
90108
90202
|
setshowquantity(true);
|
|
90109
90203
|
}
|
|
90110
|
-
}, addtocartbuttonrender())), showquantity == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
90204
|
+
}, addtocartbuttonrender())), showquantity == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
90111
90205
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
90112
90206
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
90113
90207
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center ',
|