tabexseriescomponents 0.2.864 → 0.2.866
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 +83 -77
- package/dist/index.esm.js +83 -77
- package/dist/index.umd.js +83 -77
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3019,7 +3019,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
3019
3019
|
function ownKeys$2z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3020
3020
|
function _objectSpread$2z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3021
3021
|
var Product_itemtype = function Product_itemtype(props) {
|
|
3022
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28,
|
|
3022
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _authdetailsContext$i6, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _authdetailsContext$i8, _authdetailsContext$i9, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _authdetailsContext$i0, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _authdetailsContext$i1, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _sizeguideimage$, _authdetailsContext$i10, _fetchProductInfoQuer94, _fetchProductInfoQuer95;
|
|
3023
3023
|
var lang = props.actions.lang;
|
|
3024
3024
|
var actions = props.actions;
|
|
3025
3025
|
var langdetect = props.actions.langdetect;
|
|
@@ -3824,29 +3824,35 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3824
3824
|
"class": "m-0 p-0",
|
|
3825
3825
|
style: {
|
|
3826
3826
|
color: '#000',
|
|
3827
|
-
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' : ''
|
|
3827
|
+
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '683c163d7f996' ? 'pointer' : ''
|
|
3828
3828
|
},
|
|
3829
3829
|
onClick: function onClick() {
|
|
3830
|
+
var _authdetailsContext$i7;
|
|
3830
3831
|
if (sectionproperties.vendornameclickable == 'Yes') {
|
|
3831
3832
|
var _fetchProductInfoQuer29;
|
|
3832
3833
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
3833
3834
|
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.vendorinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.vendorid]
|
|
3834
3835
|
})));
|
|
3836
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '683c163d7f996') {
|
|
3837
|
+
var _fetchProductInfoQuer30;
|
|
3838
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
3839
|
+
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.vendorinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.vendorid]
|
|
3840
|
+
})));
|
|
3835
3841
|
}
|
|
3836
3842
|
}
|
|
3837
3843
|
}, langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear, ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3838
3844
|
style: {
|
|
3839
3845
|
fontWeight: 600
|
|
3840
3846
|
}
|
|
3841
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3842
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3843
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3847
|
+
}, 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.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3848
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.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'
|
|
3849
|
+
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.currentquantity) < 1 && sectionproperties.showoutofstock == '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.quantavailtype) == 'limit' && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3844
3850
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
3845
3851
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3846
3852
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
3847
3853
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3848
3854
|
"class": "m-0 p-0"
|
|
3849
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3855
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == '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.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3850
3856
|
"class": "mb-4 col-lg-12 allcentered",
|
|
3851
3857
|
style: {
|
|
3852
3858
|
width: '100%',
|
|
@@ -3867,7 +3873,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3867
3873
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3868
3874
|
color: sectionproperties.deliverytimecontainercolor
|
|
3869
3875
|
}
|
|
3870
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3876
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', 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.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
3871
3877
|
actions: props.actions
|
|
3872
3878
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3873
3879
|
"class": "col-lg-12 p-0"
|
|
@@ -3908,7 +3914,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3908
3914
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
3909
3915
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
3910
3916
|
}
|
|
3911
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3917
|
+
}, (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.isproducttobesold) == 1 && (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.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3912
3918
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
3913
3919
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3914
3920
|
className: "m-0 p-0",
|
|
@@ -3925,11 +3931,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3925
3931
|
style: {
|
|
3926
3932
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
3927
3933
|
}
|
|
3928
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3934
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (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 && QuantityButton(), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3929
3935
|
"class": "col-lg-12 text-start p-md-0"
|
|
3930
3936
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3931
3937
|
className: "row m-0 w-100"
|
|
3932
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3938
|
+
}, 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 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productfeatures) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.map(function (fitem, findex) {
|
|
3933
3939
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3934
3940
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
3935
3941
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3967,12 +3973,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3967
3973
|
fontSize: sectionproperties.featurevaluefontsize
|
|
3968
3974
|
}
|
|
3969
3975
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
3970
|
-
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3976
|
+
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3971
3977
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3972
3978
|
onClick: function onClick() {
|
|
3973
3979
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
3974
|
-
var
|
|
3975
|
-
window.open('tel:' + ((
|
|
3980
|
+
var _fetchProductInfoQuer45;
|
|
3981
|
+
window.open('tel:' + ((_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.product_phonenumber), '_blank');
|
|
3976
3982
|
} else {
|
|
3977
3983
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
3978
3984
|
addtocartfunc();
|
|
@@ -4003,7 +4009,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4003
4009
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4004
4010
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4005
4011
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4006
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4012
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4007
4013
|
className: ' d-flex align-items-center justify-content-center '
|
|
4008
4014
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4009
4015
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -4048,7 +4054,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4048
4054
|
style: {
|
|
4049
4055
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
4050
4056
|
}
|
|
4051
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4057
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4052
4058
|
"class": "row m-0 w-100 mt-3",
|
|
4053
4059
|
style: {
|
|
4054
4060
|
overflow: 'hidden'
|
|
@@ -4060,8 +4066,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4060
4066
|
},
|
|
4061
4067
|
onClick: function onClick() {
|
|
4062
4068
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4063
|
-
var
|
|
4064
|
-
window.open('tel:' + ((
|
|
4069
|
+
var _fetchProductInfoQuer49;
|
|
4070
|
+
window.open('tel:' + ((_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.product_phonenumber), '_blank');
|
|
4065
4071
|
} else {
|
|
4066
4072
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4067
4073
|
addtocartfunc();
|
|
@@ -4092,7 +4098,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4092
4098
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4093
4099
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4094
4100
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4095
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4101
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4096
4102
|
className: ' d-flex align-items-center justify-content-center '
|
|
4097
4103
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4098
4104
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -4157,7 +4163,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4157
4163
|
style: {
|
|
4158
4164
|
width: sectionproperties.cartBtnWidth + '%'
|
|
4159
4165
|
}
|
|
4160
|
-
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4166
|
+
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4161
4167
|
"class": "row m-0 w-100 mt-3",
|
|
4162
4168
|
style: {
|
|
4163
4169
|
overflow: 'hidden'
|
|
@@ -4193,7 +4199,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4193
4199
|
"class": "col-lg-12 text-start p-md-0"
|
|
4194
4200
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4195
4201
|
className: "row m-0 w-100"
|
|
4196
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4202
|
+
}, 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 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.productfeatures) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.map(function (fitem, findex) {
|
|
4197
4203
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4198
4204
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4199
4205
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4231,19 +4237,19 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4231
4237
|
fontSize: sectionproperties.featurevaluefontsize
|
|
4232
4238
|
}
|
|
4233
4239
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
4234
|
-
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4240
|
+
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.productinfo) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4235
4241
|
"class": "col-12 text-start mt-3"
|
|
4236
4242
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4237
4243
|
"class": productinfo_cssstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
4238
4244
|
onClick: function onClick() {
|
|
4239
4245
|
setopensizeguidemodal(true);
|
|
4240
4246
|
}
|
|
4241
|
-
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4247
|
+
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4242
4248
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
4243
4249
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4244
4250
|
"class": "m-0"
|
|
4245
4251
|
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4246
|
-
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4252
|
+
"class": 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 ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mt-3'
|
|
4247
4253
|
}, sectionproperties.descriptioncollapseopen == 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
4248
4254
|
allowMultipleExpanded: true,
|
|
4249
4255
|
allowZeroExpanded: true,
|
|
@@ -4291,7 +4297,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4291
4297
|
color: sectionproperties.prodCatColor
|
|
4292
4298
|
},
|
|
4293
4299
|
dangerouslySetInnerHTML: {
|
|
4294
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4300
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.short_description_en : 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.short_description_ar
|
|
4295
4301
|
}
|
|
4296
4302
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4297
4303
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -4465,7 +4471,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4465
4471
|
})
|
|
4466
4472
|
// actions={props.actions}
|
|
4467
4473
|
// srcfromprops={'collapsepinfo'}
|
|
4468
|
-
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4474
|
+
})))))), (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.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4469
4475
|
className: "col-lg-12 p-0 mb-3"
|
|
4470
4476
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4471
4477
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -4488,7 +4494,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4488
4494
|
}
|
|
4489
4495
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4490
4496
|
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 '
|
|
4491
|
-
}, 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 || (
|
|
4497
|
+
}, 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 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.variants[variantindexcompleted]) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.variants[variantindexcompleted]) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.hassale) == 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", {
|
|
4492
4498
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
4493
4499
|
style: {
|
|
4494
4500
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -4502,14 +4508,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4502
4508
|
style: {
|
|
4503
4509
|
textDecoration: 'none'
|
|
4504
4510
|
}
|
|
4505
|
-
}, "-"), 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 || (
|
|
4511
|
+
}, "-"), 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 || (_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 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4506
4512
|
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 '
|
|
4507
4513
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4508
4514
|
className: "ml-2 mr-2",
|
|
4509
4515
|
style: {
|
|
4510
4516
|
textDecoration: 'none'
|
|
4511
4517
|
}
|
|
4512
|
-
}, "-"), 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 || (
|
|
4518
|
+
}, "-"), 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 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4513
4519
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
4514
4520
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4515
4521
|
style: {
|
|
@@ -4557,7 +4563,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4557
4563
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
4558
4564
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
4559
4565
|
}
|
|
4560
|
-
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4566
|
+
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.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 ? void 0 : _fetchProductInfoQuer64.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4561
4567
|
"class": "col-lg-12 allcentered mb-2 p-sm-0 mt-2"
|
|
4562
4568
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4563
4569
|
"class": productinfo_cssstyles.sizeguidebtn,
|
|
@@ -4579,7 +4585,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4579
4585
|
"class": "my-3"
|
|
4580
4586
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4581
4587
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
4582
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4588
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4583
4589
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
|
|
4584
4590
|
style: {
|
|
4585
4591
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -4596,7 +4602,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4596
4602
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
4597
4603
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
4598
4604
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
4599
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4605
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (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.productmainimage),
|
|
4600
4606
|
style: {
|
|
4601
4607
|
width: '100%',
|
|
4602
4608
|
height: '100%',
|
|
@@ -4629,13 +4635,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4629
4635
|
color: sectionproperties.prodCatColor
|
|
4630
4636
|
},
|
|
4631
4637
|
dangerouslySetInnerHTML: {
|
|
4632
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4638
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.short_description_en : 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.short_description_ar
|
|
4633
4639
|
}
|
|
4634
4640
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4635
4641
|
"class": "col-lg-12 text-start p-md-0"
|
|
4636
4642
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4637
4643
|
className: "row m-0 w-100"
|
|
4638
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4644
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productfeatures) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.map(function (fitem, findex) {
|
|
4639
4645
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4640
4646
|
"class": ' col-md-6 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4641
4647
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4677,7 +4683,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4677
4683
|
"class": "col-lg-12 p-0 my-4"
|
|
4678
4684
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4679
4685
|
"class": "row m-0 w-100"
|
|
4680
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4686
|
+
}, (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 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productimages) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.length) != 0 && (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.productimages.map(function (item, index) {
|
|
4681
4687
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4682
4688
|
"class": "col-lg-4 col-sm-12 mb-md-2 p-md-0"
|
|
4683
4689
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4704,9 +4710,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4704
4710
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
4705
4711
|
},
|
|
4706
4712
|
dangerouslySetInnerHTML: {
|
|
4707
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4713
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.description_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.description_ar
|
|
4708
4714
|
}
|
|
4709
|
-
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4715
|
+
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4710
4716
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
4711
4717
|
style: {
|
|
4712
4718
|
minHeight: '100vh'
|
|
@@ -4738,7 +4744,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4738
4744
|
duration: 1500,
|
|
4739
4745
|
arrow: true,
|
|
4740
4746
|
easing: "ease"
|
|
4741
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4747
|
+
}), (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 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productimages) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.productimages.map(function (item, index) {
|
|
4742
4748
|
if (item.is_size_guide != 1) {
|
|
4743
4749
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4744
4750
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -4793,7 +4799,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4793
4799
|
color: sectionproperties.prodCatColor
|
|
4794
4800
|
},
|
|
4795
4801
|
dangerouslySetInnerHTML: {
|
|
4796
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4802
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.description_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.description_ar
|
|
4797
4803
|
}
|
|
4798
4804
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4799
4805
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -4839,7 +4845,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4839
4845
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
4840
4846
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
4841
4847
|
className: 'table tablevertical'
|
|
4842
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4848
|
+
}, 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 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productfeatures) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.map(function (fitem, findex) {
|
|
4843
4849
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
4844
4850
|
style: {
|
|
4845
4851
|
textTransform: 'capitalize',
|
|
@@ -4882,8 +4888,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4882
4888
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4883
4889
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
4884
4890
|
onClick: function onClick() {
|
|
4885
|
-
var
|
|
4886
|
-
window.open('tel:' + ((
|
|
4891
|
+
var _fetchProductInfoQuer78;
|
|
4892
|
+
window.open('tel:' + ((_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.product_phonenumber), '_blank');
|
|
4887
4893
|
},
|
|
4888
4894
|
style: {
|
|
4889
4895
|
width: '40%',
|
|
@@ -4934,8 +4940,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4934
4940
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4935
4941
|
onClick: function onClick() {
|
|
4936
4942
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4937
|
-
var
|
|
4938
|
-
window.open('tel:' + ((
|
|
4943
|
+
var _fetchProductInfoQuer79;
|
|
4944
|
+
window.open('tel:' + ((_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.product_phonenumber), '_blank');
|
|
4939
4945
|
} else {
|
|
4940
4946
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4941
4947
|
addtocartfunc();
|
|
@@ -4966,14 +4972,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4966
4972
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4967
4973
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4968
4974
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4969
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4975
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.productactionbuttontext_en : 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 ? void 0 : _fetchProductInfoQuer81.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4970
4976
|
className: ' d-flex align-items-center justify-content-center '
|
|
4971
4977
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4972
4978
|
color: sectionproperties.cartBtnTextcolor,
|
|
4973
4979
|
width: "20px",
|
|
4974
4980
|
height: "20px",
|
|
4975
4981
|
duration: "1s"
|
|
4976
|
-
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4982
|
+
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4977
4983
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
4978
4984
|
style: {
|
|
4979
4985
|
minHeight: '100vh'
|
|
@@ -5005,7 +5011,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5005
5011
|
duration: 1500,
|
|
5006
5012
|
arrow: true,
|
|
5007
5013
|
easing: "ease"
|
|
5008
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5014
|
+
}), (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.productimages) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.productimages.map(function (item, index) {
|
|
5009
5015
|
if (item.is_size_guide != 1) {
|
|
5010
5016
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5011
5017
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -5060,7 +5066,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5060
5066
|
color: sectionproperties.prodCatColor
|
|
5061
5067
|
},
|
|
5062
5068
|
dangerouslySetInnerHTML: {
|
|
5063
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5069
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.description_en : 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.description_ar
|
|
5064
5070
|
}
|
|
5065
5071
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5066
5072
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -5104,7 +5110,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5104
5110
|
className: "p-0"
|
|
5105
5111
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5106
5112
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
5107
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5113
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productfeatures) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.map(function (fitem, findex) {
|
|
5108
5114
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5109
5115
|
"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'
|
|
5110
5116
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5200,7 +5206,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5200
5206
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
5201
5207
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5202
5208
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5203
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5209
|
+
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.productinfo) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.vendorinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.vendorlogourl,
|
|
5204
5210
|
loading: "lazy",
|
|
5205
5211
|
style: {
|
|
5206
5212
|
maxWidth: '100%',
|
|
@@ -5215,7 +5221,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5215
5221
|
fontSize: 17,
|
|
5216
5222
|
color: sectionproperties.featurecolor
|
|
5217
5223
|
}
|
|
5218
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5224
|
+
}, 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 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.vendorinfo) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.address)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5219
5225
|
"class": "col-lg-3"
|
|
5220
5226
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5221
5227
|
"class": "row m-0 w-100"
|
|
@@ -5224,8 +5230,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5224
5230
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5225
5231
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
5226
5232
|
onClick: function onClick() {
|
|
5227
|
-
var
|
|
5228
|
-
window.open('tel:' + ((
|
|
5233
|
+
var _fetchProductInfoQuer89;
|
|
5234
|
+
window.open('tel:' + ((_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.product_phonenumber), '_blank');
|
|
5229
5235
|
},
|
|
5230
5236
|
style: {
|
|
5231
5237
|
width: '40%',
|
|
@@ -5276,8 +5282,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5276
5282
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
5277
5283
|
onClick: function onClick() {
|
|
5278
5284
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5279
|
-
var
|
|
5280
|
-
window.open('tel:' + ((
|
|
5285
|
+
var _fetchProductInfoQuer90;
|
|
5286
|
+
window.open('tel:' + ((_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.product_phonenumber), '_blank');
|
|
5281
5287
|
} else {
|
|
5282
5288
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5283
5289
|
addtocartfunc();
|
|
@@ -5308,7 +5314,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5308
5314
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5309
5315
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5310
5316
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5311
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5317
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.productactionbuttontext_en : 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.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5312
5318
|
className: ' d-flex align-items-center justify-content-center '
|
|
5313
5319
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5314
5320
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5352,7 +5358,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5352
5358
|
objectFit: 'contain'
|
|
5353
5359
|
},
|
|
5354
5360
|
loading: "lazy"
|
|
5355
|
-
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5361
|
+
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68319d088f13e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5356
5362
|
"class": "col-12 p-0",
|
|
5357
5363
|
style: {
|
|
5358
5364
|
position: 'fixed',
|
|
@@ -5379,8 +5385,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5379
5385
|
},
|
|
5380
5386
|
onClick: function onClick() {
|
|
5381
5387
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5382
|
-
var
|
|
5383
|
-
window.open('tel:' + ((
|
|
5388
|
+
var _fetchProductInfoQuer93;
|
|
5389
|
+
window.open('tel:' + ((_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.product_phonenumber), '_blank');
|
|
5384
5390
|
} else {
|
|
5385
5391
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5386
5392
|
addtocartfunc();
|
|
@@ -5411,7 +5417,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5411
5417
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5412
5418
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5413
5419
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5414
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5420
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.productactionbuttontext_en : 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 ? void 0 : _fetchProductInfoQuer95.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5415
5421
|
className: ' d-flex align-items-center justify-content-center '
|
|
5416
5422
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5417
5423
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -11957,7 +11963,7 @@ styleInject(css_248z$G);
|
|
|
11957
11963
|
function ownKeys$2s(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; }
|
|
11958
11964
|
function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11959
11965
|
var Checkout = function Checkout(props) {
|
|
11960
|
-
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i5,
|
|
11966
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i5, _authdetailsContext$i6, _fetchcustomercartQue63, _authdetailsContext$i7, _fetchcustomercartQue64, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue65, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i10, _fetchcustomercartQue86, _authdetailsContext$i11, _fetchcustomercartQue88, _authdetailsContext$i12, _fetchcustomercartQue90, _authdetailsContext$i13, _fetchcustomercartQue92, _authdetailsContext$i14, _fetchcustomercartQue94, _fetchcustomercartQue96;
|
|
11961
11967
|
var _useState = React.useState(null),
|
|
11962
11968
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
11963
11969
|
_useState2[0];
|
|
@@ -12958,7 +12964,7 @@ var Checkout = function Checkout(props) {
|
|
|
12958
12964
|
}
|
|
12959
12965
|
}, /*#__PURE__*/React__default["default"].createElement(BiPhone.BiPhone, null)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12960
12966
|
className: "m-0 p-0 wordbreak"
|
|
12961
|
-
}, authdetailsContext.customerinfo.mobile))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12967
|
+
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12962
12968
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
12963
12969
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12964
12970
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -13022,7 +13028,7 @@ var Checkout = function Checkout(props) {
|
|
|
13022
13028
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13023
13029
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
13024
13030
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13025
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13031
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
13026
13032
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13027
13033
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
13028
13034
|
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -13037,7 +13043,7 @@ var Checkout = function Checkout(props) {
|
|
|
13037
13043
|
boxShadow: 'none'
|
|
13038
13044
|
}
|
|
13039
13045
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13040
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13046
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
13041
13047
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13042
13048
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
13043
13049
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -13054,11 +13060,11 @@ var Checkout = function Checkout(props) {
|
|
|
13054
13060
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13055
13061
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
13056
13062
|
style: {
|
|
13057
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13063
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
13058
13064
|
}
|
|
13059
13065
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13060
13066
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
13061
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13067
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
13062
13068
|
"class": "mx-2",
|
|
13063
13069
|
style: {
|
|
13064
13070
|
fontSize: 13
|
|
@@ -13544,7 +13550,7 @@ var Checkout = function Checkout(props) {
|
|
|
13544
13550
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
13545
13551
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13546
13552
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13547
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13553
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13548
13554
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13549
13555
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13550
13556
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -13566,7 +13572,7 @@ var Checkout = function Checkout(props) {
|
|
|
13566
13572
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
13567
13573
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13568
13574
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13569
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13575
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13570
13576
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13571
13577
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13572
13578
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -13588,7 +13594,7 @@ var Checkout = function Checkout(props) {
|
|
|
13588
13594
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
13589
13595
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13590
13596
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13591
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13597
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13592
13598
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13593
13599
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13594
13600
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -13610,7 +13616,7 @@ var Checkout = function Checkout(props) {
|
|
|
13610
13616
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
13611
13617
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13612
13618
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
13613
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13619
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13614
13620
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13615
13621
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13616
13622
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -13632,7 +13638,7 @@ var Checkout = function Checkout(props) {
|
|
|
13632
13638
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
13633
13639
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13634
13640
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13635
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13641
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13636
13642
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13637
13643
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13638
13644
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -13932,7 +13938,7 @@ var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
13932
13938
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
13933
13939
|
});
|
|
13934
13940
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
13935
|
-
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$
|
|
13941
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$i6, _authdetailsContext$c, _authdetailsContext$c2;
|
|
13936
13942
|
var lang = props.actions.lang;
|
|
13937
13943
|
var langdetect = props.actions.langdetect;
|
|
13938
13944
|
props.actions.routingcountext;
|
|
@@ -14299,7 +14305,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
14299
14305
|
})
|
|
14300
14306
|
};
|
|
14301
14307
|
var PersonalInformation = function PersonalInformation() {
|
|
14302
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
14308
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
14303
14309
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14304
14310
|
className: "row m-0 w-100"
|
|
14305
14311
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -14321,11 +14327,11 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
14321
14327
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14322
14328
|
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0 flex-column' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0 flex-column',
|
|
14323
14329
|
style: {
|
|
14324
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.customerEmailrequiered) == 0 ? 'none' : 'flex'
|
|
14330
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
14325
14331
|
}
|
|
14326
14332
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14327
14333
|
className: "".concat(formstyles.input_label_name) + ' d-flex align-items-start '
|
|
14328
|
-
}, lang.email, " ", props.srcfromprops == 'signup' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14334
|
+
}, lang.email, " ", props.srcfromprops == 'signup' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14329
14335
|
"class": "text-danger ml-1 mr-1"
|
|
14330
14336
|
}, "*")), sectionproperties.showemaildisclaimer == 'Show' && /*#__PURE__*/React__default["default"].createElement("sup", null, langdetect == 'en' ? sectionproperties.emaildisclaimeren : sectionproperties.emaildisclaimerar), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14331
14337
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
@@ -14749,7 +14755,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
14749
14755
|
style: {
|
|
14750
14756
|
background: sectionproperties.formLeftbgColor
|
|
14751
14757
|
}
|
|
14752
|
-
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14758
|
+
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.ispasswordrequired_signup) == 1 && Password()), dataloaded && props.srcfromprops == 'accountinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14753
14759
|
className: "col-lg-12 p-0"
|
|
14754
14760
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14755
14761
|
className: "row ml-0 mr-0 w-100"
|
|
@@ -21310,8 +21316,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
21310
21316
|
path: show_product_group_titles()['logo'],
|
|
21311
21317
|
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
21312
21318
|
style: {
|
|
21313
|
-
height: '
|
|
21314
|
-
width: '
|
|
21319
|
+
height: '15%',
|
|
21320
|
+
width: '15%'
|
|
21315
21321
|
}
|
|
21316
21322
|
}), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
21317
21323
|
"class": section_cssstyles.line_left
|