tabexseriescomponents 0.2.905 → 0.2.907
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +247 -153
- package/dist/index.esm.js +247 -153
- package/dist/index.umd.js +247 -153
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3135,7 +3135,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
3135
3135
|
function ownKeys$2A(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3136
3136
|
function _objectSpread$2A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2A(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3137
3137
|
var Product_itemtype = function Product_itemtype(props) {
|
|
3138
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _authdetailsContext$i7, _authdetailsContext$
|
|
3138
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _authdetailsContext$i7, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _authdetailsContext$i13, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _authdetailsContext$i14, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _fetchProductInfoQuer115, _fetchProductInfoQuer116, _authdetailsContext$i16, _authdetailsContext$i17, _fetchProductInfoQuer117, _fetchProductInfoQuer118, _fetchProductInfoQuer119, _fetchProductInfoQuer120, _fetchProductInfoQuer121, _fetchProductInfoQuer122, _fetchProductInfoQuer123, _fetchProductInfoQuer124, _authdetailsContext$i18, _fetchProductInfoQuer125, _fetchProductInfoQuer126, _fetchProductInfoQuer127, _fetchProductInfoQuer128, _fetchProductInfoQuer129, _fetchProductInfoQuer132, _fetchProductInfoQuer133, _authdetailsContext$i19, _fetchProductInfoQuer134, _fetchProductInfoQuer135, _fetchProductInfoQuer136, _fetchProductInfoQuer137, _fetchProductInfoQuer138, _fetchProductInfoQuer139, _fetchProductInfoQuer140, _fetchProductInfoQuer143, _fetchProductInfoQuer144, _sizeguideimage$, _authdetailsContext$i20, _fetchProductInfoQuer146, _fetchProductInfoQuer147;
|
|
3139
3139
|
var lang = props.actions.lang;
|
|
3140
3140
|
var actions = props.actions;
|
|
3141
3141
|
var langdetect = props.actions.langdetect;
|
|
@@ -3951,7 +3951,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3951
3951
|
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '683c163d7f996' ? 'pointer' : ''
|
|
3952
3952
|
},
|
|
3953
3953
|
onClick: function onClick() {
|
|
3954
|
-
var _authdetailsContext$i8, _authdetailsContext$i9;
|
|
3954
|
+
var _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0;
|
|
3955
3955
|
if (sectionproperties.vendornameclickable == 'Yes') {
|
|
3956
3956
|
var _fetchProductInfoQuer29;
|
|
3957
3957
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
@@ -3967,22 +3967,27 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3967
3967
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
3968
3968
|
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.vendorinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.vendorid]
|
|
3969
3969
|
})));
|
|
3970
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6805437ab0f3b') {
|
|
3971
|
+
var _fetchProductInfoQuer32;
|
|
3972
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
3973
|
+
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.vendorinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.vendorid]
|
|
3974
|
+
})));
|
|
3970
3975
|
}
|
|
3971
3976
|
}
|
|
3972
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3977
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) != '683c163d7f996' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) != '67f3c23abb18f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '6805437ab0f3b' && /*#__PURE__*/React__default["default"].createElement("span", null, " ", langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear, ": "), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3973
3978
|
style: {
|
|
3974
3979
|
fontWeight: 600,
|
|
3975
|
-
textDecoration: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3980
|
+
textDecoration: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67f3c23abb18f' ? 'underline' : 'none'
|
|
3976
3981
|
}
|
|
3977
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3978
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3979
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3982
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.vendorinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3983
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
3984
|
+
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3980
3985
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
3981
3986
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3982
3987
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
3983
3988
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3984
3989
|
"class": "m-0 p-0"
|
|
3985
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3990
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3986
3991
|
"class": "mb-4 col-lg-12 allcentered",
|
|
3987
3992
|
style: {
|
|
3988
3993
|
width: '100%',
|
|
@@ -4003,7 +4008,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4003
4008
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4004
4009
|
color: sectionproperties.deliverytimecontainercolor
|
|
4005
4010
|
}
|
|
4006
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4011
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
4007
4012
|
actions: props.actions
|
|
4008
4013
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4009
4014
|
"class": "col-lg-12 p-0"
|
|
@@ -4044,7 +4049,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4044
4049
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
4045
4050
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
4046
4051
|
}
|
|
4047
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4052
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4048
4053
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
4049
4054
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4050
4055
|
className: "m-0 p-0",
|
|
@@ -4061,11 +4066,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4061
4066
|
style: {
|
|
4062
4067
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
4063
4068
|
}
|
|
4064
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4069
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.isproducthasquantitychange) == 1 && QuantityButton(), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4065
4070
|
"class": "col-lg-12 text-start p-md-0"
|
|
4066
4071
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4067
4072
|
className: "row m-0 w-100"
|
|
4068
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4073
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productfeatures) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.map(function (fitem, findex) {
|
|
4069
4074
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4070
4075
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4071
4076
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4103,12 +4108,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4103
4108
|
fontSize: sectionproperties.featurevaluefontsize
|
|
4104
4109
|
}
|
|
4105
4110
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
4106
|
-
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4111
|
+
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4107
4112
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4108
4113
|
onClick: function onClick() {
|
|
4109
4114
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4110
|
-
var
|
|
4111
|
-
window.open('tel:' + ((
|
|
4115
|
+
var _fetchProductInfoQuer47;
|
|
4116
|
+
window.open('tel:' + ((_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.product_phonenumber), '_blank');
|
|
4112
4117
|
} else {
|
|
4113
4118
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4114
4119
|
addtocartfunc();
|
|
@@ -4139,7 +4144,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4139
4144
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4140
4145
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4141
4146
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4142
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4147
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.productinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.productinfo) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4143
4148
|
className: ' d-flex align-items-center justify-content-center '
|
|
4144
4149
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4145
4150
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -4184,7 +4189,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4184
4189
|
style: {
|
|
4185
4190
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
4186
4191
|
}
|
|
4187
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4192
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4188
4193
|
"class": "row m-0 w-100 mt-3",
|
|
4189
4194
|
style: {
|
|
4190
4195
|
overflow: 'hidden'
|
|
@@ -4196,8 +4201,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4196
4201
|
},
|
|
4197
4202
|
onClick: function onClick() {
|
|
4198
4203
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4199
|
-
var
|
|
4200
|
-
window.open('tel:' + ((
|
|
4204
|
+
var _fetchProductInfoQuer51;
|
|
4205
|
+
window.open('tel:' + ((_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.product_phonenumber), '_blank');
|
|
4201
4206
|
} else {
|
|
4202
4207
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4203
4208
|
addtocartfunc();
|
|
@@ -4228,7 +4233,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4228
4233
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4229
4234
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4230
4235
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4231
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4236
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productinfo) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4232
4237
|
className: ' d-flex align-items-center justify-content-center '
|
|
4233
4238
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4234
4239
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -4293,7 +4298,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4293
4298
|
style: {
|
|
4294
4299
|
width: sectionproperties.cartBtnWidth + '%'
|
|
4295
4300
|
}
|
|
4296
|
-
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4301
|
+
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.productinfo) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4297
4302
|
"class": "row m-0 w-100 mt-3",
|
|
4298
4303
|
style: {
|
|
4299
4304
|
overflow: 'hidden'
|
|
@@ -4329,7 +4334,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4329
4334
|
"class": "col-lg-12 text-start p-md-0"
|
|
4330
4335
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4331
4336
|
className: "row m-0 w-100"
|
|
4332
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4337
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productfeatures) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.map(function (fitem, findex) {
|
|
4333
4338
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4334
4339
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4335
4340
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4367,19 +4372,19 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4367
4372
|
fontSize: sectionproperties.featurevaluefontsize
|
|
4368
4373
|
}
|
|
4369
4374
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
4370
|
-
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4375
|
+
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4371
4376
|
"class": "col-12 text-start mt-3"
|
|
4372
4377
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4373
4378
|
"class": productinfo_cssstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
4374
4379
|
onClick: function onClick() {
|
|
4375
4380
|
setopensizeguidemodal(true);
|
|
4376
4381
|
}
|
|
4377
|
-
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4382
|
+
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4378
4383
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
4379
4384
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4380
4385
|
"class": "m-0"
|
|
4381
4386
|
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4382
|
-
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4387
|
+
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.productinfo) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.hasvariants) == 0 ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mt-3'
|
|
4383
4388
|
}, sectionproperties.descriptioncollapseopen == 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
4384
4389
|
allowMultipleExpanded: true,
|
|
4385
4390
|
allowZeroExpanded: true,
|
|
@@ -4427,7 +4432,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4427
4432
|
color: sectionproperties.prodCatColor
|
|
4428
4433
|
},
|
|
4429
4434
|
dangerouslySetInnerHTML: {
|
|
4430
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4435
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.short_description_ar
|
|
4431
4436
|
}
|
|
4432
4437
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4433
4438
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -4601,7 +4606,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4601
4606
|
})
|
|
4602
4607
|
// actions={props.actions}
|
|
4603
4608
|
// srcfromprops={'collapsepinfo'}
|
|
4604
|
-
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4609
|
+
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4605
4610
|
className: "col-lg-12 p-0 mb-3"
|
|
4606
4611
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4607
4612
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -4624,7 +4629,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4624
4629
|
}
|
|
4625
4630
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4626
4631
|
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 '
|
|
4627
|
-
}, 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 || (
|
|
4632
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.variants[variantindexcompleted]) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.variants[variantindexcompleted]) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4628
4633
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
4629
4634
|
style: {
|
|
4630
4635
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -4638,14 +4643,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4638
4643
|
style: {
|
|
4639
4644
|
textDecoration: 'none'
|
|
4640
4645
|
}
|
|
4641
|
-
}, "-"), 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 || (
|
|
4646
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.variants[variantindexcompleted]) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4642
4647
|
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 '
|
|
4643
4648
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4644
4649
|
className: "ml-2 mr-2",
|
|
4645
4650
|
style: {
|
|
4646
4651
|
textDecoration: 'none'
|
|
4647
4652
|
}
|
|
4648
|
-
}, "-"), 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 || (
|
|
4653
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4649
4654
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
4650
4655
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4651
4656
|
style: {
|
|
@@ -4693,7 +4698,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4693
4698
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
4694
4699
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
4695
4700
|
}
|
|
4696
|
-
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4701
|
+
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4697
4702
|
"class": "col-lg-12 allcentered mb-2 p-sm-0 mt-2"
|
|
4698
4703
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4699
4704
|
"class": productinfo_cssstyles.sizeguidebtn,
|
|
@@ -4715,7 +4720,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4715
4720
|
"class": "my-3"
|
|
4716
4721
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4717
4722
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
4718
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4723
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4719
4724
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
4720
4725
|
style: {
|
|
4721
4726
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -4877,15 +4882,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4877
4882
|
fontWeight: sectionproperties.quantityfontweight
|
|
4878
4883
|
}
|
|
4879
4884
|
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ":", ' ', fetchProductInfoQueryContext.data.data.productinfo.currentquantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4880
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4885
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productinfo) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : 'col-lg-12 p-0 mb-1 d-flex align-items-center',
|
|
4881
4886
|
style: {
|
|
4882
4887
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
4883
4888
|
}
|
|
4884
|
-
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4889
|
+
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4885
4890
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
4886
4891
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
4887
4892
|
count: 5,
|
|
4888
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4893
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.productoverallrate,
|
|
4889
4894
|
edit: false,
|
|
4890
4895
|
size: 18,
|
|
4891
4896
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -4906,7 +4911,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4906
4911
|
activeColor: "#ffd700"
|
|
4907
4912
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4908
4913
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
4909
|
-
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4914
|
+
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4910
4915
|
style: {
|
|
4911
4916
|
width: sectionproperties.availability_width + 'px',
|
|
4912
4917
|
height: sectionproperties.availability_height + 'px',
|
|
@@ -4959,7 +4964,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4959
4964
|
"class": "col-lg-12 text-start p-0"
|
|
4960
4965
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4961
4966
|
className: "row m-0 w-100"
|
|
4962
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4967
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productfeatures) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.map(function (fitem, findex) {
|
|
4963
4968
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4964
4969
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4965
4970
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5017,7 +5022,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5017
5022
|
color: sectionproperties.prodCatColor
|
|
5018
5023
|
},
|
|
5019
5024
|
dangerouslySetInnerHTML: {
|
|
5020
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5025
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.short_description_ar
|
|
5021
5026
|
}
|
|
5022
5027
|
})))), sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5023
5028
|
"class": "col-lg-12 text-start p-md-0"
|
|
@@ -5036,7 +5041,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5036
5041
|
className: "col-lg-12 m-0 w-100 p-0"
|
|
5037
5042
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
5038
5043
|
className: 'table tablevertical'
|
|
5039
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5044
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productfeatures) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.map(function (fitem, findex) {
|
|
5040
5045
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
5041
5046
|
style: {
|
|
5042
5047
|
textTransform: 'capitalize',
|
|
@@ -5068,11 +5073,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5068
5073
|
fontSize: sectionproperties.featurevaluefontsize
|
|
5069
5074
|
}
|
|
5070
5075
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
5071
|
-
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5076
|
+
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
5072
5077
|
actions: props.actions
|
|
5073
5078
|
}), sectionproperties.showmeasurementunit == 'Show' && sectionproperties.measurementunitposition == 'Above Name' && MeasurementUnitSection(), sectionproperties.featuresposition == 'Under Pricing' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5074
5079
|
"class": "col-lg-12 text-start p-0"
|
|
5075
|
-
}, ProductFeaturesTable()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5080
|
+
}, ProductFeaturesTable()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.short_description_en) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5076
5081
|
"class": "col-lg-12 p-0"
|
|
5077
5082
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5078
5083
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -5082,9 +5087,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5082
5087
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5083
5088
|
},
|
|
5084
5089
|
dangerouslySetInnerHTML: {
|
|
5085
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5090
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.short_description_en
|
|
5086
5091
|
}
|
|
5087
|
-
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5092
|
+
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.short_description_ar) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5088
5093
|
"class": "col-lg-12 p-0"
|
|
5089
5094
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5090
5095
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -5094,43 +5099,43 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5094
5099
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5095
5100
|
},
|
|
5096
5101
|
dangerouslySetInnerHTML: {
|
|
5097
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5102
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.short_description_ar
|
|
5098
5103
|
}
|
|
5099
|
-
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5104
|
+
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5100
5105
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
5101
5106
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5102
5107
|
"class": "m-0 p-0",
|
|
5103
5108
|
style: {
|
|
5104
5109
|
color: '#000',
|
|
5105
|
-
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5110
|
+
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '683c163d7f996' ? 'pointer' : ''
|
|
5106
5111
|
},
|
|
5107
5112
|
onClick: function onClick() {
|
|
5108
|
-
var _authdetailsContext$
|
|
5113
|
+
var _authdetailsContext$i15;
|
|
5109
5114
|
if (sectionproperties.vendornameclickable == 'Yes') {
|
|
5110
|
-
var _fetchProductInfoQuer80;
|
|
5111
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
5112
|
-
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.vendorinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.vendorid]
|
|
5113
|
-
})));
|
|
5114
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '683c163d7f996') {
|
|
5115
5115
|
var _fetchProductInfoQuer81;
|
|
5116
5116
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
5117
5117
|
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.vendorinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.vendorid]
|
|
5118
5118
|
})));
|
|
5119
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '683c163d7f996') {
|
|
5120
|
+
var _fetchProductInfoQuer82;
|
|
5121
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
5122
|
+
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.vendorinfo) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.vendorid]
|
|
5123
|
+
})));
|
|
5119
5124
|
}
|
|
5120
5125
|
}
|
|
5121
5126
|
}, langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear, ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5122
5127
|
style: {
|
|
5123
5128
|
fontWeight: 600
|
|
5124
5129
|
}
|
|
5125
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5126
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5127
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5130
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.vendorinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5131
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
5132
|
+
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.productinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5128
5133
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
5129
5134
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5130
5135
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
5131
5136
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5132
5137
|
"class": "m-0 p-0"
|
|
5133
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5138
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5134
5139
|
"class": "mb-4 col-lg-12 allcentered",
|
|
5135
5140
|
style: {
|
|
5136
5141
|
width: '100%',
|
|
@@ -5151,7 +5156,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5151
5156
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
5152
5157
|
color: sectionproperties.deliverytimecontainercolor
|
|
5153
5158
|
}
|
|
5154
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5159
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
5155
5160
|
actions: props.actions
|
|
5156
5161
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5157
5162
|
"class": "col-lg-12 p-0"
|
|
@@ -5192,7 +5197,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5192
5197
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
5193
5198
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
5194
5199
|
}
|
|
5195
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5200
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5196
5201
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
5197
5202
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5198
5203
|
className: "m-0 p-0",
|
|
@@ -5209,11 +5214,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5209
5214
|
style: {
|
|
5210
5215
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
5211
5216
|
}
|
|
5212
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5217
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.isproducthasquantitychange) == 1 && QuantityButton(), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5213
5218
|
"class": "col-lg-12 text-start p-md-0"
|
|
5214
5219
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5215
5220
|
className: "row m-0 w-100"
|
|
5216
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5221
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productfeatures) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.map(function (fitem, findex) {
|
|
5217
5222
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5218
5223
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
5219
5224
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5251,12 +5256,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5251
5256
|
fontSize: sectionproperties.featurevaluefontsize
|
|
5252
5257
|
}
|
|
5253
5258
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
5254
|
-
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5259
|
+
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5255
5260
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
5256
5261
|
onClick: function onClick() {
|
|
5257
5262
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5258
|
-
var
|
|
5259
|
-
window.open('tel:' + ((
|
|
5263
|
+
var _fetchProductInfoQuer97;
|
|
5264
|
+
window.open('tel:' + ((_fetchProductInfoQuer97 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.product_phonenumber), '_blank');
|
|
5260
5265
|
} else {
|
|
5261
5266
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5262
5267
|
addtocartfunc();
|
|
@@ -5287,7 +5292,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5287
5292
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5288
5293
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5289
5294
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5290
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5295
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5291
5296
|
className: ' d-flex align-items-center justify-content-center '
|
|
5292
5297
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5293
5298
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5332,7 +5337,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5332
5337
|
style: {
|
|
5333
5338
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
5334
5339
|
}
|
|
5335
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5340
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5336
5341
|
"class": "row m-0 w-100 mt-3",
|
|
5337
5342
|
style: {
|
|
5338
5343
|
overflow: 'hidden'
|
|
@@ -5344,8 +5349,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5344
5349
|
},
|
|
5345
5350
|
onClick: function onClick() {
|
|
5346
5351
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5347
|
-
var
|
|
5348
|
-
window.open('tel:' + ((
|
|
5352
|
+
var _fetchProductInfoQuer101;
|
|
5353
|
+
window.open('tel:' + ((_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.product_phonenumber), '_blank');
|
|
5349
5354
|
} else {
|
|
5350
5355
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5351
5356
|
addtocartfunc();
|
|
@@ -5376,7 +5381,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5376
5381
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5377
5382
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5378
5383
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5379
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5384
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5380
5385
|
className: ' d-flex align-items-center justify-content-center '
|
|
5381
5386
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5382
5387
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5441,7 +5446,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5441
5446
|
style: {
|
|
5442
5447
|
width: sectionproperties.cartBtnWidth + '%'
|
|
5443
5448
|
}
|
|
5444
|
-
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5449
|
+
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer104 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5445
5450
|
"class": "row m-0 w-100 mt-3",
|
|
5446
5451
|
style: {
|
|
5447
5452
|
overflow: 'hidden'
|
|
@@ -5477,7 +5482,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5477
5482
|
"class": "col-lg-12 text-start p-md-0"
|
|
5478
5483
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5479
5484
|
className: "row m-0 w-100"
|
|
5480
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5485
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer105 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.productinfo) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.productfeatures) === null || _fetchProductInfoQuer105 === void 0 ? void 0 : _fetchProductInfoQuer105.map(function (fitem, findex) {
|
|
5481
5486
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5482
5487
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
5483
5488
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5515,19 +5520,19 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5515
5520
|
fontSize: sectionproperties.featurevaluefontsize
|
|
5516
5521
|
}
|
|
5517
5522
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
5518
|
-
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5523
|
+
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer106 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.productinfo) === null || _fetchProductInfoQuer106 === void 0 ? void 0 : _fetchProductInfoQuer106.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5519
5524
|
"class": "col-12 text-start mt-3"
|
|
5520
5525
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5521
5526
|
"class": productinfo_cssstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
5522
5527
|
onClick: function onClick() {
|
|
5523
5528
|
setopensizeguidemodal(true);
|
|
5524
5529
|
}
|
|
5525
|
-
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5530
|
+
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5526
5531
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
5527
5532
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
5528
5533
|
"class": "m-0"
|
|
5529
5534
|
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5530
|
-
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5535
|
+
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.hasvariants) == 0 ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mt-3'
|
|
5531
5536
|
}, sectionproperties.descriptioncollapseopen == 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
5532
5537
|
allowMultipleExpanded: true,
|
|
5533
5538
|
allowZeroExpanded: true,
|
|
@@ -5575,7 +5580,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5575
5580
|
color: sectionproperties.prodCatColor
|
|
5576
5581
|
},
|
|
5577
5582
|
dangerouslySetInnerHTML: {
|
|
5578
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5583
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer109 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.productinfo) === null || _fetchProductInfoQuer109 === void 0 ? void 0 : _fetchProductInfoQuer109.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer110 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.productinfo) === null || _fetchProductInfoQuer110 === void 0 ? void 0 : _fetchProductInfoQuer110.short_description_ar
|
|
5579
5584
|
}
|
|
5580
5585
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5581
5586
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -5749,7 +5754,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5749
5754
|
})
|
|
5750
5755
|
// actions={props.actions}
|
|
5751
5756
|
// srcfromprops={'collapsepinfo'}
|
|
5752
|
-
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5757
|
+
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer111 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.productinfo) === null || _fetchProductInfoQuer111 === void 0 ? void 0 : _fetchProductInfoQuer111.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5753
5758
|
className: "col-lg-12 p-0 mb-3"
|
|
5754
5759
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5755
5760
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -5772,7 +5777,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5772
5777
|
}
|
|
5773
5778
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5774
5779
|
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 '
|
|
5775
|
-
}, 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 || (
|
|
5780
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer112 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.productinfo) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.variants[variantindexcompleted]) === null || _fetchProductInfoQuer112 === void 0 ? void 0 : _fetchProductInfoQuer112.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer113 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.productinfo) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.variants[variantindexcompleted]) === null || _fetchProductInfoQuer113 === void 0 ? void 0 : _fetchProductInfoQuer113.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5776
5781
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
5777
5782
|
style: {
|
|
5778
5783
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -5786,14 +5791,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5786
5791
|
style: {
|
|
5787
5792
|
textDecoration: 'none'
|
|
5788
5793
|
}
|
|
5789
|
-
}, "-"), 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 || (
|
|
5794
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer114 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.productinfo) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.variants[variantindexcompleted]) === null || _fetchProductInfoQuer114 === void 0 ? void 0 : _fetchProductInfoQuer114.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5790
5795
|
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 '
|
|
5791
5796
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5792
5797
|
className: "ml-2 mr-2",
|
|
5793
5798
|
style: {
|
|
5794
5799
|
textDecoration: 'none'
|
|
5795
5800
|
}
|
|
5796
|
-
}, "-"), 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 || (
|
|
5801
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer115 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.productinfo) === null || _fetchProductInfoQuer115 === void 0 ? void 0 : _fetchProductInfoQuer115.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5797
5802
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
5798
5803
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5799
5804
|
style: {
|
|
@@ -5841,7 +5846,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5841
5846
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
5842
5847
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
5843
5848
|
}
|
|
5844
|
-
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5849
|
+
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer116 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.data) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.productinfo) === null || _fetchProductInfoQuer116 === void 0 ? void 0 : _fetchProductInfoQuer116.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5845
5850
|
"class": "col-lg-12 allcentered mb-2 p-sm-0 mt-2"
|
|
5846
5851
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5847
5852
|
"class": productinfo_cssstyles.sizeguidebtn,
|
|
@@ -5863,7 +5868,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5863
5868
|
"class": "my-3"
|
|
5864
5869
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5865
5870
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
5866
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5871
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5867
5872
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
|
|
5868
5873
|
style: {
|
|
5869
5874
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5880,7 +5885,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5880
5885
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
5881
5886
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5882
5887
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5883
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5888
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer117 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.data) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.productinfo) === null || _fetchProductInfoQuer117 === void 0 ? void 0 : _fetchProductInfoQuer117.productmainimage),
|
|
5884
5889
|
style: {
|
|
5885
5890
|
width: '100%',
|
|
5886
5891
|
height: '100%',
|
|
@@ -5913,13 +5918,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5913
5918
|
color: sectionproperties.prodCatColor
|
|
5914
5919
|
},
|
|
5915
5920
|
dangerouslySetInnerHTML: {
|
|
5916
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5921
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer118 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer118 === void 0 || (_fetchProductInfoQuer118 = _fetchProductInfoQuer118.data) === null || _fetchProductInfoQuer118 === void 0 || (_fetchProductInfoQuer118 = _fetchProductInfoQuer118.productinfo) === null || _fetchProductInfoQuer118 === void 0 ? void 0 : _fetchProductInfoQuer118.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer119 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer119 === void 0 || (_fetchProductInfoQuer119 = _fetchProductInfoQuer119.data) === null || _fetchProductInfoQuer119 === void 0 || (_fetchProductInfoQuer119 = _fetchProductInfoQuer119.productinfo) === null || _fetchProductInfoQuer119 === void 0 ? void 0 : _fetchProductInfoQuer119.short_description_ar
|
|
5917
5922
|
}
|
|
5918
5923
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5919
5924
|
"class": "col-lg-12 text-start p-md-0"
|
|
5920
5925
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5921
5926
|
className: "row m-0 w-100"
|
|
5922
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5927
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer120 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.data) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.productinfo) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.productfeatures) === null || _fetchProductInfoQuer120 === void 0 ? void 0 : _fetchProductInfoQuer120.map(function (fitem, findex) {
|
|
5923
5928
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5924
5929
|
"class": ' col-md-6 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
5925
5930
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5961,7 +5966,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5961
5966
|
"class": "col-lg-12 p-0 my-4"
|
|
5962
5967
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5963
5968
|
"class": "row m-0 w-100"
|
|
5964
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5969
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer121 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.data) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.productinfo) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.productimages) === null || _fetchProductInfoQuer121 === void 0 ? void 0 : _fetchProductInfoQuer121.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer122 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer122 === void 0 || (_fetchProductInfoQuer122 = _fetchProductInfoQuer122.data) === null || _fetchProductInfoQuer122 === void 0 || (_fetchProductInfoQuer122 = _fetchProductInfoQuer122.productinfo) === null || _fetchProductInfoQuer122 === void 0 ? void 0 : _fetchProductInfoQuer122.productimages.map(function (item, index) {
|
|
5965
5970
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5966
5971
|
"class": "col-lg-4 col-sm-12 mb-md-2 p-md-0"
|
|
5967
5972
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5988,9 +5993,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5988
5993
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5989
5994
|
},
|
|
5990
5995
|
dangerouslySetInnerHTML: {
|
|
5991
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5996
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer123 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer123 === void 0 || (_fetchProductInfoQuer123 = _fetchProductInfoQuer123.data) === null || _fetchProductInfoQuer123 === void 0 || (_fetchProductInfoQuer123 = _fetchProductInfoQuer123.productinfo) === null || _fetchProductInfoQuer123 === void 0 ? void 0 : _fetchProductInfoQuer123.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer124 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer124 === void 0 || (_fetchProductInfoQuer124 = _fetchProductInfoQuer124.data) === null || _fetchProductInfoQuer124 === void 0 || (_fetchProductInfoQuer124 = _fetchProductInfoQuer124.productinfo) === null || _fetchProductInfoQuer124 === void 0 ? void 0 : _fetchProductInfoQuer124.description_ar
|
|
5992
5997
|
}
|
|
5993
|
-
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5998
|
+
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5994
5999
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
5995
6000
|
style: {
|
|
5996
6001
|
minHeight: '100vh'
|
|
@@ -6022,7 +6027,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6022
6027
|
duration: 1500,
|
|
6023
6028
|
arrow: true,
|
|
6024
6029
|
easing: "ease"
|
|
6025
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6030
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer125 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer125 === void 0 || (_fetchProductInfoQuer125 = _fetchProductInfoQuer125.data) === null || _fetchProductInfoQuer125 === void 0 || (_fetchProductInfoQuer125 = _fetchProductInfoQuer125.productinfo) === null || _fetchProductInfoQuer125 === void 0 || (_fetchProductInfoQuer125 = _fetchProductInfoQuer125.productimages) === null || _fetchProductInfoQuer125 === void 0 ? void 0 : _fetchProductInfoQuer125.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer126 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer126 === void 0 || (_fetchProductInfoQuer126 = _fetchProductInfoQuer126.data) === null || _fetchProductInfoQuer126 === void 0 || (_fetchProductInfoQuer126 = _fetchProductInfoQuer126.productinfo) === null || _fetchProductInfoQuer126 === void 0 ? void 0 : _fetchProductInfoQuer126.productimages.map(function (item, index) {
|
|
6026
6031
|
if (item.is_size_guide != 1) {
|
|
6027
6032
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6028
6033
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -6077,7 +6082,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6077
6082
|
color: sectionproperties.prodCatColor
|
|
6078
6083
|
},
|
|
6079
6084
|
dangerouslySetInnerHTML: {
|
|
6080
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6085
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer127 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer127 === void 0 || (_fetchProductInfoQuer127 = _fetchProductInfoQuer127.data) === null || _fetchProductInfoQuer127 === void 0 || (_fetchProductInfoQuer127 = _fetchProductInfoQuer127.productinfo) === null || _fetchProductInfoQuer127 === void 0 ? void 0 : _fetchProductInfoQuer127.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer128 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer128 === void 0 || (_fetchProductInfoQuer128 = _fetchProductInfoQuer128.data) === null || _fetchProductInfoQuer128 === void 0 || (_fetchProductInfoQuer128 = _fetchProductInfoQuer128.productinfo) === null || _fetchProductInfoQuer128 === void 0 ? void 0 : _fetchProductInfoQuer128.description_ar
|
|
6081
6086
|
}
|
|
6082
6087
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6083
6088
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -6123,7 +6128,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6123
6128
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
6124
6129
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
6125
6130
|
className: 'table tablevertical'
|
|
6126
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6131
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer129 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer129 === void 0 || (_fetchProductInfoQuer129 = _fetchProductInfoQuer129.data) === null || _fetchProductInfoQuer129 === void 0 || (_fetchProductInfoQuer129 = _fetchProductInfoQuer129.productinfo) === null || _fetchProductInfoQuer129 === void 0 || (_fetchProductInfoQuer129 = _fetchProductInfoQuer129.productfeatures) === null || _fetchProductInfoQuer129 === void 0 ? void 0 : _fetchProductInfoQuer129.map(function (fitem, findex) {
|
|
6127
6132
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
6128
6133
|
style: {
|
|
6129
6134
|
textTransform: 'capitalize',
|
|
@@ -6166,8 +6171,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6166
6171
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
6167
6172
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
6168
6173
|
onClick: function onClick() {
|
|
6169
|
-
var
|
|
6170
|
-
window.open('tel:' + ((
|
|
6174
|
+
var _fetchProductInfoQuer130;
|
|
6175
|
+
window.open('tel:' + ((_fetchProductInfoQuer130 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer130 === void 0 ? void 0 : _fetchProductInfoQuer130.product_phonenumber), '_blank');
|
|
6171
6176
|
},
|
|
6172
6177
|
style: {
|
|
6173
6178
|
width: '40%',
|
|
@@ -6218,8 +6223,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6218
6223
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
6219
6224
|
onClick: function onClick() {
|
|
6220
6225
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
6221
|
-
var
|
|
6222
|
-
window.open('tel:' + ((
|
|
6226
|
+
var _fetchProductInfoQuer131;
|
|
6227
|
+
window.open('tel:' + ((_fetchProductInfoQuer131 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer131 === void 0 ? void 0 : _fetchProductInfoQuer131.product_phonenumber), '_blank');
|
|
6223
6228
|
} else {
|
|
6224
6229
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
6225
6230
|
addtocartfunc();
|
|
@@ -6250,14 +6255,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6250
6255
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6251
6256
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6252
6257
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6253
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6258
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer132 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer132 === void 0 || (_fetchProductInfoQuer132 = _fetchProductInfoQuer132.data) === null || _fetchProductInfoQuer132 === void 0 || (_fetchProductInfoQuer132 = _fetchProductInfoQuer132.productinfo) === null || _fetchProductInfoQuer132 === void 0 ? void 0 : _fetchProductInfoQuer132.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer133 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer133 === void 0 || (_fetchProductInfoQuer133 = _fetchProductInfoQuer133.data) === null || _fetchProductInfoQuer133 === void 0 || (_fetchProductInfoQuer133 = _fetchProductInfoQuer133.productinfo) === null || _fetchProductInfoQuer133 === void 0 ? void 0 : _fetchProductInfoQuer133.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6254
6259
|
className: ' d-flex align-items-center justify-content-center '
|
|
6255
6260
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6256
6261
|
color: sectionproperties.cartBtnTextcolor,
|
|
6257
6262
|
width: "20px",
|
|
6258
6263
|
height: "20px",
|
|
6259
6264
|
duration: "1s"
|
|
6260
|
-
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6265
|
+
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6261
6266
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
6262
6267
|
style: {
|
|
6263
6268
|
minHeight: '100vh'
|
|
@@ -6289,7 +6294,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6289
6294
|
duration: 1500,
|
|
6290
6295
|
arrow: true,
|
|
6291
6296
|
easing: "ease"
|
|
6292
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6297
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer134 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.data) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.productinfo) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.productimages) === null || _fetchProductInfoQuer134 === void 0 ? void 0 : _fetchProductInfoQuer134.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer135 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.data) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.productinfo) === null || _fetchProductInfoQuer135 === void 0 ? void 0 : _fetchProductInfoQuer135.productimages.map(function (item, index) {
|
|
6293
6298
|
if (item.is_size_guide != 1) {
|
|
6294
6299
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6295
6300
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -6344,7 +6349,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6344
6349
|
color: sectionproperties.prodCatColor
|
|
6345
6350
|
},
|
|
6346
6351
|
dangerouslySetInnerHTML: {
|
|
6347
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6352
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer136 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer136 === void 0 || (_fetchProductInfoQuer136 = _fetchProductInfoQuer136.data) === null || _fetchProductInfoQuer136 === void 0 || (_fetchProductInfoQuer136 = _fetchProductInfoQuer136.productinfo) === null || _fetchProductInfoQuer136 === void 0 ? void 0 : _fetchProductInfoQuer136.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer137 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer137 === void 0 || (_fetchProductInfoQuer137 = _fetchProductInfoQuer137.data) === null || _fetchProductInfoQuer137 === void 0 || (_fetchProductInfoQuer137 = _fetchProductInfoQuer137.productinfo) === null || _fetchProductInfoQuer137 === void 0 ? void 0 : _fetchProductInfoQuer137.description_ar
|
|
6348
6353
|
}
|
|
6349
6354
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6350
6355
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -6388,7 +6393,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6388
6393
|
className: "p-0"
|
|
6389
6394
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6390
6395
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
6391
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6396
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer138 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer138 === void 0 || (_fetchProductInfoQuer138 = _fetchProductInfoQuer138.data) === null || _fetchProductInfoQuer138 === void 0 || (_fetchProductInfoQuer138 = _fetchProductInfoQuer138.productinfo) === null || _fetchProductInfoQuer138 === void 0 || (_fetchProductInfoQuer138 = _fetchProductInfoQuer138.productfeatures) === null || _fetchProductInfoQuer138 === void 0 ? void 0 : _fetchProductInfoQuer138.map(function (fitem, findex) {
|
|
6392
6397
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6393
6398
|
"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'
|
|
6394
6399
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -6484,7 +6489,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6484
6489
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
6485
6490
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
6486
6491
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
6487
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6492
|
+
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer139 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer139 === void 0 || (_fetchProductInfoQuer139 = _fetchProductInfoQuer139.data) === null || _fetchProductInfoQuer139 === void 0 || (_fetchProductInfoQuer139 = _fetchProductInfoQuer139.productinfo) === null || _fetchProductInfoQuer139 === void 0 || (_fetchProductInfoQuer139 = _fetchProductInfoQuer139.vendorinfo) === null || _fetchProductInfoQuer139 === void 0 ? void 0 : _fetchProductInfoQuer139.vendorlogourl,
|
|
6488
6493
|
loading: "lazy",
|
|
6489
6494
|
style: {
|
|
6490
6495
|
maxWidth: '100%',
|
|
@@ -6499,7 +6504,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6499
6504
|
fontSize: 17,
|
|
6500
6505
|
color: sectionproperties.featurecolor
|
|
6501
6506
|
}
|
|
6502
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6507
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer140 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer140 === void 0 || (_fetchProductInfoQuer140 = _fetchProductInfoQuer140.data) === null || _fetchProductInfoQuer140 === void 0 || (_fetchProductInfoQuer140 = _fetchProductInfoQuer140.productinfo) === null || _fetchProductInfoQuer140 === void 0 || (_fetchProductInfoQuer140 = _fetchProductInfoQuer140.vendorinfo) === null || _fetchProductInfoQuer140 === void 0 ? void 0 : _fetchProductInfoQuer140.address)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6503
6508
|
"class": "col-lg-3"
|
|
6504
6509
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6505
6510
|
"class": "row m-0 w-100"
|
|
@@ -6508,8 +6513,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6508
6513
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
6509
6514
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
6510
6515
|
onClick: function onClick() {
|
|
6511
|
-
var
|
|
6512
|
-
window.open('tel:' + ((
|
|
6516
|
+
var _fetchProductInfoQuer141;
|
|
6517
|
+
window.open('tel:' + ((_fetchProductInfoQuer141 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer141 === void 0 ? void 0 : _fetchProductInfoQuer141.product_phonenumber), '_blank');
|
|
6513
6518
|
},
|
|
6514
6519
|
style: {
|
|
6515
6520
|
width: '40%',
|
|
@@ -6560,8 +6565,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6560
6565
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
6561
6566
|
onClick: function onClick() {
|
|
6562
6567
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
6563
|
-
var
|
|
6564
|
-
window.open('tel:' + ((
|
|
6568
|
+
var _fetchProductInfoQuer142;
|
|
6569
|
+
window.open('tel:' + ((_fetchProductInfoQuer142 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer142 === void 0 ? void 0 : _fetchProductInfoQuer142.product_phonenumber), '_blank');
|
|
6565
6570
|
} else {
|
|
6566
6571
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
6567
6572
|
addtocartfunc();
|
|
@@ -6592,7 +6597,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6592
6597
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6593
6598
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6594
6599
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6595
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6600
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer143 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer143 === void 0 || (_fetchProductInfoQuer143 = _fetchProductInfoQuer143.data) === null || _fetchProductInfoQuer143 === void 0 || (_fetchProductInfoQuer143 = _fetchProductInfoQuer143.productinfo) === null || _fetchProductInfoQuer143 === void 0 ? void 0 : _fetchProductInfoQuer143.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer144 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer144 === void 0 || (_fetchProductInfoQuer144 = _fetchProductInfoQuer144.data) === null || _fetchProductInfoQuer144 === void 0 || (_fetchProductInfoQuer144 = _fetchProductInfoQuer144.productinfo) === null || _fetchProductInfoQuer144 === void 0 ? void 0 : _fetchProductInfoQuer144.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6596
6601
|
className: ' d-flex align-items-center justify-content-center '
|
|
6597
6602
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6598
6603
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -6636,7 +6641,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6636
6641
|
objectFit: 'contain'
|
|
6637
6642
|
},
|
|
6638
6643
|
loading: "lazy"
|
|
6639
|
-
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6644
|
+
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '68319d088f13e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6640
6645
|
"class": "col-12 p-0",
|
|
6641
6646
|
style: {
|
|
6642
6647
|
position: 'fixed',
|
|
@@ -6663,8 +6668,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6663
6668
|
},
|
|
6664
6669
|
onClick: function onClick() {
|
|
6665
6670
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
6666
|
-
var
|
|
6667
|
-
window.open('tel:' + ((
|
|
6671
|
+
var _fetchProductInfoQuer145;
|
|
6672
|
+
window.open('tel:' + ((_fetchProductInfoQuer145 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer145 === void 0 ? void 0 : _fetchProductInfoQuer145.product_phonenumber), '_blank');
|
|
6668
6673
|
} else {
|
|
6669
6674
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
6670
6675
|
addtocartfunc();
|
|
@@ -6695,7 +6700,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6695
6700
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6696
6701
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6697
6702
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6698
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6703
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer146 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer146 === void 0 || (_fetchProductInfoQuer146 = _fetchProductInfoQuer146.data) === null || _fetchProductInfoQuer146 === void 0 || (_fetchProductInfoQuer146 = _fetchProductInfoQuer146.productinfo) === null || _fetchProductInfoQuer146 === void 0 ? void 0 : _fetchProductInfoQuer146.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer147 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer147 === void 0 || (_fetchProductInfoQuer147 = _fetchProductInfoQuer147.data) === null || _fetchProductInfoQuer147 === void 0 || (_fetchProductInfoQuer147 = _fetchProductInfoQuer147.productinfo) === null || _fetchProductInfoQuer147 === void 0 ? void 0 : _fetchProductInfoQuer147.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6699
6704
|
className: ' d-flex align-items-center justify-content-center '
|
|
6700
6705
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6701
6706
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -19523,12 +19528,12 @@ var Filter$1 = function Filter(props) {
|
|
|
19523
19528
|
}
|
|
19524
19529
|
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcollections]);
|
|
19525
19530
|
React.useEffect(function () {
|
|
19526
|
-
if (productfeatuesarr.length != 0) {
|
|
19527
|
-
|
|
19528
|
-
|
|
19529
|
-
|
|
19530
|
-
|
|
19531
|
-
}
|
|
19531
|
+
// if (productfeatuesarr.length != 0) {
|
|
19532
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
19533
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
19534
|
+
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
19535
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
19536
|
+
// }
|
|
19532
19537
|
}, [productfeatuesarr]);
|
|
19533
19538
|
React.useEffect(function () {
|
|
19534
19539
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
@@ -19641,7 +19646,7 @@ var Filter$1 = function Filter(props) {
|
|
|
19641
19646
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
19642
19647
|
};
|
|
19643
19648
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
19644
|
-
var _tempfetchproductsfil2;
|
|
19649
|
+
var _tempfetchproductsfil2, _tempfetchproductsfil3;
|
|
19645
19650
|
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
19646
19651
|
var CollectionExists = false;
|
|
19647
19652
|
if (tempfetchproductsfilerobjcontext.ProductFetchingType == 'Parent Collection' && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter == undefined) {
|
|
@@ -19667,8 +19672,14 @@ var Filter$1 = function Filter(props) {
|
|
|
19667
19672
|
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
19668
19673
|
}
|
|
19669
19674
|
}
|
|
19670
|
-
tempfetchproductsfilerobjcontext.page = 0;
|
|
19671
19675
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
19676
|
+
if (tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != undefined && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil3 = tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter) === null || _tempfetchproductsfil3 === void 0 ? void 0 : _tempfetchproductsfil3.length) != 0) {
|
|
19677
|
+
var _tempfetchproductsfil4;
|
|
19678
|
+
if (tempfetchproductsfilerobjcontext.collections != undefined && tempfetchproductsfilerobjcontext.collections != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil4 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil4 === void 0 ? void 0 : _tempfetchproductsfil4.length) == 1) {
|
|
19679
|
+
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Parent Collection';
|
|
19680
|
+
}
|
|
19681
|
+
}
|
|
19682
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
19672
19683
|
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
19673
19684
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
19674
19685
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
@@ -20002,28 +20013,29 @@ var Filter$1 = function Filter(props) {
|
|
|
20002
20013
|
// }
|
|
20003
20014
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-center pb-3 ',
|
|
20004
20015
|
onClick: function onClick(e) {
|
|
20005
|
-
var isattrexists = false;
|
|
20006
20016
|
var tempproductfeatuesarr = [];
|
|
20007
20017
|
if (ProductFilterObjContext != undefined && ProductFilterObjContext != null && ProductFilterObjContext.prod_featruesar != undefined && ProductFilterObjContext.prod_featruesar != null && ProductFilterObjContext.prod_featruesar.length != 0) {
|
|
20008
|
-
var _tempproductfeatuesar;
|
|
20009
20018
|
tempproductfeatuesarr = _toConsumableArray__default["default"](ProductFilterObjContext.prod_featruesar);
|
|
20010
|
-
|
|
20011
|
-
|
|
20012
|
-
tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
20013
|
-
isattrexists = true;
|
|
20014
|
-
}
|
|
20015
|
-
// if (attritem.id == slecitem.featureid) {
|
|
20016
|
-
// if (tempproductfeatuesarr[attrindex].value == slecitem.value_en) {
|
|
20017
|
-
// tempproductfeatuesarr.splice(attrindex, 1);
|
|
20018
|
-
// isattrexists = true;
|
|
20019
|
-
// } else {
|
|
20020
|
-
// tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
20021
|
-
// isattrexists = true;
|
|
20022
|
-
// }
|
|
20023
|
-
// }
|
|
20019
|
+
var existingIndex = tempproductfeatuesarr.findIndex(function (attritem) {
|
|
20020
|
+
return attritem.id === slecitem.featureid;
|
|
20024
20021
|
});
|
|
20025
|
-
|
|
20026
|
-
|
|
20022
|
+
if (existingIndex !== -1) {
|
|
20023
|
+
if (tempproductfeatuesarr[existingIndex].value === slecitem.value_en) {
|
|
20024
|
+
// Same feature and value -> remove (toggle off)
|
|
20025
|
+
tempproductfeatuesarr.splice(existingIndex, 1);
|
|
20026
|
+
} else {
|
|
20027
|
+
// Same feature, different value -> update
|
|
20028
|
+
tempproductfeatuesarr[existingIndex].value = slecitem.value_en;
|
|
20029
|
+
}
|
|
20030
|
+
} else {
|
|
20031
|
+
// Feature doesn't exist -> add new
|
|
20032
|
+
tempproductfeatuesarr.push({
|
|
20033
|
+
id: slecitem.featureid,
|
|
20034
|
+
value: slecitem.value_en
|
|
20035
|
+
});
|
|
20036
|
+
}
|
|
20037
|
+
} else {
|
|
20038
|
+
// Feature list is empty -> add new
|
|
20027
20039
|
tempproductfeatuesarr.push({
|
|
20028
20040
|
id: slecitem.featureid,
|
|
20029
20041
|
value: slecitem.value_en
|
|
@@ -21127,11 +21139,11 @@ var Filter$1 = function Filter(props) {
|
|
|
21127
21139
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21128
21140
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(item.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n ") + ' d-flex align-items-center pb-3 col-12 ',
|
|
21129
21141
|
onClick: function onClick() {
|
|
21130
|
-
var
|
|
21142
|
+
var _tempfetchproductsfil5;
|
|
21131
21143
|
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
21132
21144
|
// alert(JSON.stringify(tempfetchproductsfilerobjcontext));
|
|
21133
21145
|
tempfetchproductsfilerobjcontext.vendorsarr = [];
|
|
21134
|
-
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (
|
|
21146
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil5 = tempfetchproductsfilerobjcontext.vendorsarr) === null || _tempfetchproductsfil5 === void 0 || _tempfetchproductsfil5.push(item.vendorid);
|
|
21135
21147
|
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
21136
21148
|
var temp = _toConsumableArray__default["default"](vendorarr);
|
|
21137
21149
|
temp === null || temp === void 0 || temp.forEach(function (instfilteritem, instfilterindex) {
|
|
@@ -22250,7 +22262,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
22250
22262
|
image: ''
|
|
22251
22263
|
};
|
|
22252
22264
|
if (fetchingtype == 'products') {
|
|
22253
|
-
var _arrayItem$productinf, _arrayItem$productinf2, _arrayItem$productinf3, _arrayItem$productinf4, _arrayItem$productinf5, _arrayItem$productinf6, _arrayItem$features3;
|
|
22265
|
+
var _arrayItem$productinf, _arrayItem$productinf2, _arrayItem$productinf3, _arrayItem$productinf4, _arrayItem$productinf5, _arrayItem$productinf6, _arrayItem$vendorinfo, _arrayItem$vendorinfo2, _arrayItem$features3;
|
|
22254
22266
|
// var itemquantity = parseInt(sectionproperties.startquantity);
|
|
22255
22267
|
|
|
22256
22268
|
var itemquantity = 0;
|
|
@@ -22299,6 +22311,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
22299
22311
|
cardobj.stateid = arrayItem.productinfo.stateid;
|
|
22300
22312
|
cardobj.cityid = arrayItem.productinfo.cityid;
|
|
22301
22313
|
cardobj.producttags = arrayItem.tags;
|
|
22314
|
+
cardobj.vendorname = arrayItem === null || arrayItem === void 0 || (_arrayItem$vendorinfo = arrayItem.vendorinfo) === null || _arrayItem$vendorinfo === void 0 ? void 0 : _arrayItem$vendorinfo.vendorname;
|
|
22315
|
+
cardobj.vendorlogo = arrayItem === null || arrayItem === void 0 || (_arrayItem$vendorinfo2 = arrayItem.vendorinfo) === null || _arrayItem$vendorinfo2 === void 0 ? void 0 : _arrayItem$vendorinfo2.vendorlogourl;
|
|
22302
22316
|
if (langdetect == 'en') {
|
|
22303
22317
|
var _arrayItem$features;
|
|
22304
22318
|
cardobj.productfeature = arrayItem === null || arrayItem === void 0 || (_arrayItem$features = arrayItem.features) === null || _arrayItem$features === void 0 ? void 0 : _arrayItem$features.value_en;
|
|
@@ -27255,7 +27269,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
27255
27269
|
function ownKeys$25(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
27256
27270
|
function _objectSpread$25(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$25(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$25(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27257
27271
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
27258
|
-
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$
|
|
27272
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24;
|
|
27259
27273
|
var actions = props.actions;
|
|
27260
27274
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
27261
27275
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -28474,6 +28488,25 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
28474
28488
|
style: {
|
|
28475
28489
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
28476
28490
|
}
|
|
28491
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28492
|
+
className: "row m-0 w-100 anim"
|
|
28493
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28494
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
28495
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28496
|
+
onClick: function onClick() {
|
|
28497
|
+
setopenmenuCanvas(false);
|
|
28498
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
28499
|
+
setmenuactive(false);
|
|
28500
|
+
}
|
|
28501
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28502
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
28503
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28504
|
+
className: "col-lg-12 p-0"
|
|
28505
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
28506
|
+
className: "mt-3 mb-3",
|
|
28507
|
+
style: {
|
|
28508
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
28509
|
+
}
|
|
28477
28510
|
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28478
28511
|
className: "row m-0 w-100 anim"
|
|
28479
28512
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -28749,9 +28782,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
28749
28782
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
28750
28783
|
setopenCnvas(false);
|
|
28751
28784
|
}
|
|
28752
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28785
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28753
28786
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
28754
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28787
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28755
28788
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
28756
28789
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28757
28790
|
className: "col-lg-12 p-0"
|
|
@@ -28873,7 +28906,26 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
28873
28906
|
style: {
|
|
28874
28907
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
28875
28908
|
}
|
|
28876
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28909
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28910
|
+
className: "row m-0 w-100"
|
|
28911
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28912
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
28913
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28914
|
+
onClick: function onClick() {
|
|
28915
|
+
setopenmenuCanvas(false);
|
|
28916
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
28917
|
+
setmenuactive(false);
|
|
28918
|
+
}
|
|
28919
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28920
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
28921
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28922
|
+
className: "col-lg-12 p-0"
|
|
28923
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
28924
|
+
className: "mt-3 mb-3",
|
|
28925
|
+
style: {
|
|
28926
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
28927
|
+
}
|
|
28928
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28877
28929
|
className: "row m-0 w-100"
|
|
28878
28930
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28879
28931
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
@@ -29169,7 +29221,25 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29169
29221
|
style: {
|
|
29170
29222
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
29171
29223
|
}
|
|
29172
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29224
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29225
|
+
className: "row m-0 w-100"
|
|
29226
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29227
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
29228
|
+
onClick: function onClick() {
|
|
29229
|
+
setopenmenuCanvas(false);
|
|
29230
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
29231
|
+
setopenCnvas(false);
|
|
29232
|
+
}
|
|
29233
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29234
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29235
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29236
|
+
className: "col-lg-12 p-0"
|
|
29237
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
29238
|
+
className: "mt-4 mb-4",
|
|
29239
|
+
style: {
|
|
29240
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
29241
|
+
}
|
|
29242
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29173
29243
|
className: "row m-0 w-100"
|
|
29174
29244
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29175
29245
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
@@ -29196,9 +29266,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29196
29266
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
29197
29267
|
setopenCnvas(false);
|
|
29198
29268
|
}
|
|
29199
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29269
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29200
29270
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29201
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29271
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29202
29272
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29203
29273
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29204
29274
|
className: "col-lg-12 p-0"
|
|
@@ -29301,7 +29371,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29301
29371
|
style: {
|
|
29302
29372
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
29303
29373
|
}
|
|
29304
|
-
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29374
|
+
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.instcurrencies) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.length) > 1 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '67f69c023cbd4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29305
29375
|
"class": "row m-0 w-100 pl-3 pr-3"
|
|
29306
29376
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29307
29377
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '
|
|
@@ -29319,7 +29389,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29319
29389
|
background: '#f4f4f4',
|
|
29320
29390
|
borderRadius: 5
|
|
29321
29391
|
}
|
|
29322
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29392
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.instcurrencies) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.map(function (item, index) {
|
|
29323
29393
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29324
29394
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
|
|
29325
29395
|
onClick: function onClick() {
|
|
@@ -89324,7 +89394,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
|
89324
89394
|
function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
89325
89395
|
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
89326
89396
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
89327
|
-
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _item$producttags2, _authdetailsContext$
|
|
89397
|
+
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i4, _item$producttags2, _authdetailsContext$i5, _item$producttags$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
|
|
89328
89398
|
var _useState = React.useState(''),
|
|
89329
89399
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
89330
89400
|
sectionproperties = _useState2[0],
|
|
@@ -90113,7 +90183,31 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
90113
90183
|
color: sectionproperties.featurecolor,
|
|
90114
90184
|
fontSize: sectionproperties.featurefontsize + 'px'
|
|
90115
90185
|
}
|
|
90116
|
-
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("
|
|
90186
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6805437ab0f3b' && sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
90187
|
+
"class": "col-lg-12 p-0 text-start mb-1"
|
|
90188
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
90189
|
+
style: {
|
|
90190
|
+
width: 40,
|
|
90191
|
+
height: 40,
|
|
90192
|
+
borderRadius: 100,
|
|
90193
|
+
border: '1px solid #ccc'
|
|
90194
|
+
}
|
|
90195
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
90196
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
90197
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
90198
|
+
path: item.vendorlogo,
|
|
90199
|
+
loading: "lazy",
|
|
90200
|
+
style: {
|
|
90201
|
+
width: '100%',
|
|
90202
|
+
height: '100%'
|
|
90203
|
+
}
|
|
90204
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
90205
|
+
"class": "m-0 p-0 px-2",
|
|
90206
|
+
style: {
|
|
90207
|
+
color: '#000',
|
|
90208
|
+
fontSize: 13
|
|
90209
|
+
}
|
|
90210
|
+
}, item.vendorname)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
90117
90211
|
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
90118
90212
|
style: {
|
|
90119
90213
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
@@ -90144,7 +90238,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
90144
90238
|
style: {
|
|
90145
90239
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
90146
90240
|
}
|
|
90147
|
-
}, item.name)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags2 = item.producttags) === null || _item$producttags2 === void 0 ? void 0 : _item$producttags2.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
90241
|
+
}, item.name)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags2 = item.producttags) === null || _item$producttags2 === void 0 ? void 0 : _item$producttags2.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
90148
90242
|
"class": "allcentered",
|
|
90149
90243
|
style: {
|
|
90150
90244
|
width: '100%',
|
|
@@ -90262,7 +90356,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
90262
90356
|
color: sectionproperties.quantitycolor,
|
|
90263
90357
|
fontWeight: sectionproperties.quantityfontweight
|
|
90264
90358
|
}
|
|
90265
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), sectionproperties.cartBtnShow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
90359
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), sectionproperties.cartBtnShow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) != '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
90266
90360
|
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
90267
90361
|
style: {
|
|
90268
90362
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
@@ -90287,7 +90381,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
90287
90381
|
}
|
|
90288
90382
|
}
|
|
90289
90383
|
}
|
|
90290
|
-
}, addtocartbuttonrender())), sectionproperties.cartBtnShow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
90384
|
+
}, addtocartbuttonrender())), sectionproperties.cartBtnShow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '67d6bda67adf6' && showquantity == false && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
90291
90385
|
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
90292
90386
|
style: {
|
|
90293
90387
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
@@ -90297,7 +90391,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
90297
90391
|
onClick: function onClick() {
|
|
90298
90392
|
setshowquantity(true);
|
|
90299
90393
|
}
|
|
90300
|
-
}, addtocartbuttonrender())), showquantity == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
90394
|
+
}, addtocartbuttonrender())), showquantity == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
90301
90395
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
90302
90396
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
90303
90397
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center ',
|