tabexseriescomponents 0.0.758 → 0.0.760
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +116 -61
- package/dist/index.esm.js +116 -61
- package/dist/index.umd.js +116 -61
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2229,7 +2229,15 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
2229
2229
|
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
2230
2230
|
color: sectionproperties.defaultSalePriceColor
|
|
2231
2231
|
}
|
|
2232
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))
|
|
2232
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), sectionproperties.showmeasurementunit == 'Show' && sectionproperties.measurementunitposition == 'Besides Price' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2233
|
+
className: ' m-0 p-0 wordbreak d-flex justify-content-start mt-auto mb-auto px-2 ',
|
|
2234
|
+
style: {
|
|
2235
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2236
|
+
fontWeight: sectionproperties.measurementunitfontweight,
|
|
2237
|
+
color: sectionproperties.measurementunitcolor,
|
|
2238
|
+
fontSize: sectionproperties.measurementunitcolor + 'px'
|
|
2239
|
+
}
|
|
2240
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && sectionproperties.showpill == 'Show' && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2233
2241
|
"class": "col-lg-12 p-0 d-flex align-items-center justift-content-start"
|
|
2234
2242
|
}, SaleCounterPill()), fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1 && variantindexcompleted != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.variants[variantindexcompleted]) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.hassale) == 1 &&
|
|
2235
2243
|
/*#__PURE__*/
|
|
@@ -2564,7 +2572,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2564
2572
|
function ownKeys$2v(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; }
|
|
2565
2573
|
function _objectSpread$2v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2566
2574
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2567
|
-
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28,
|
|
2575
|
+
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67;
|
|
2568
2576
|
var lang = props.actions.lang;
|
|
2569
2577
|
var langdetect = props.actions.langdetect;
|
|
2570
2578
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2755,7 +2763,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2755
2763
|
className: ' m-0 p-0 wordbreak d-flex justify-content-start ',
|
|
2756
2764
|
style: {
|
|
2757
2765
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2758
|
-
fontWeight:
|
|
2766
|
+
fontWeight: sectionproperties.measurementunitfontweight,
|
|
2759
2767
|
color: sectionproperties.measurementunitcolor,
|
|
2760
2768
|
fontSize: sectionproperties.measurementunitcolor + 'px'
|
|
2761
2769
|
}
|
|
@@ -2844,9 +2852,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2844
2852
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2845
2853
|
"class": "col-lg-12 p-0"
|
|
2846
2854
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2847
|
-
"class":
|
|
2855
|
+
"class": sectionproperties.infomarionsectionpaddinghorizontal == 0 ? 'row mx-0 w-100' : 'row mx-0 w-100 px-md-3',
|
|
2848
2856
|
style: {
|
|
2849
|
-
marginTop: sectionproperties.gallerystyle == 'Style 2' ? '3rem' : 0
|
|
2857
|
+
marginTop: sectionproperties.gallerystyle == 'Style 2' ? '3rem' : 0,
|
|
2858
|
+
paddingLeft: sectionproperties.infomarionsectionpaddinghorizontal + 'px',
|
|
2859
|
+
paddingRight: sectionproperties.infomarionsectionpaddinghorizontal + 'px'
|
|
2850
2860
|
}
|
|
2851
2861
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2852
2862
|
className: sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' && sectionproperties.showstoreinfo2 == 'Hide' && sectionproperties.showstoreinfo1 == 'Hide' ? 'col-lg-12' : sectionproperties.storeinfoposition == 'Below Information' ? 'col-lg-12' : langdetect == 'en' ? 'col-lg-9 pl-0 mb-md-3 p-md-0' : 'col-lg-9 pr-0 mb-md-3 p-md-0',
|
|
@@ -2918,7 +2928,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2918
2928
|
// }
|
|
2919
2929
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2920
2930
|
className: sectionproperties.evencols == 'Yes' ? 'row m-0 w-100 mt-md-5' : 'row m-0 w-100'
|
|
2921
|
-
}, sectionproperties.showmeasurementunit == 'Show' && MeasurementUnitSection(), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2931
|
+
}, sectionproperties.showmeasurementunit == 'Show' && sectionproperties.measurementunitposition == 'Above Name' && MeasurementUnitSection(), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2922
2932
|
"class": "col-lg-12 p-0 text-start"
|
|
2923
2933
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2924
2934
|
"class": "m-0 p-0",
|
|
@@ -3006,7 +3016,49 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3006
3016
|
size: sectionproperties.favBtnIconfontsize
|
|
3007
3017
|
}))))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3008
3018
|
"class": 'col-lg-12 p-0 my-3 d-flex justify-content-start'
|
|
3009
|
-
}, ProductsSKUContainer()), sectionproperties.
|
|
3019
|
+
}, ProductsSKUContainer()), sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3020
|
+
"class": "col-lg-12 text-start p-0"
|
|
3021
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3022
|
+
className: "row m-0 w-100"
|
|
3023
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productfeatures) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.map(function (fitem, findex) {
|
|
3024
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3025
|
+
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
3026
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3027
|
+
"class": "row m-0 w-100 text-start"
|
|
3028
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3029
|
+
"class": "col-lg-12 text-start mb-3 text-uppercase p-0"
|
|
3030
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3031
|
+
style: {
|
|
3032
|
+
width: '20px'
|
|
3033
|
+
},
|
|
3034
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
3035
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
3036
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
3037
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
3038
|
+
path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
|
|
3039
|
+
loading: "lazy",
|
|
3040
|
+
style: {
|
|
3041
|
+
maxWidth: '100%',
|
|
3042
|
+
maxHeight: '100%'
|
|
3043
|
+
}
|
|
3044
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3045
|
+
"class": "m-0 p-0",
|
|
3046
|
+
style: {
|
|
3047
|
+
color: sectionproperties.featurecolor,
|
|
3048
|
+
fontWeight: sectionproperties.featurefontweight,
|
|
3049
|
+
fontSize: sectionproperties.featurefontsize
|
|
3050
|
+
}
|
|
3051
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3052
|
+
"class": "col-lg-12 text-start text-capitalize"
|
|
3053
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3054
|
+
"class": "m-0 p-0",
|
|
3055
|
+
style: {
|
|
3056
|
+
color: sectionproperties.featurevaluecolor,
|
|
3057
|
+
fontWeight: sectionproperties.featurevaluefontweight,
|
|
3058
|
+
fontSize: sectionproperties.featurevaluefontsize
|
|
3059
|
+
}
|
|
3060
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
3061
|
+
}))), sectionproperties.descriptionposition == 'Under Name' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3010
3062
|
"class": "col-lg-12 p-0"
|
|
3011
3063
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3012
3064
|
"class": "row m-0 w-100"
|
|
@@ -3017,11 +3069,17 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3017
3069
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3018
3070
|
color: sectionproperties.generaltext_fontColor
|
|
3019
3071
|
}
|
|
3020
|
-
},
|
|
3072
|
+
}, ShortDescriptionTitle())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3021
3073
|
"class": "col-lg-12 p-0"
|
|
3022
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
3023
|
-
|
|
3024
|
-
|
|
3074
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3075
|
+
className: 'm-0 p-0 wordbreak',
|
|
3076
|
+
style: {
|
|
3077
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3078
|
+
color: sectionproperties.prodCatColor
|
|
3079
|
+
},
|
|
3080
|
+
dangerouslySetInnerHTML: {
|
|
3081
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.short_description_ar
|
|
3082
|
+
}
|
|
3025
3083
|
})))), sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3026
3084
|
"class": "col-lg-12 text-start p-md-0"
|
|
3027
3085
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3039,16 +3097,16 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3039
3097
|
className: "col-lg-12 m-0 w-100 p-0"
|
|
3040
3098
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
3041
3099
|
className: 'table tablevertical'
|
|
3042
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3100
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productfeatures) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.map(function (fitem, findex) {
|
|
3043
3101
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
3044
3102
|
style: {
|
|
3045
3103
|
textTransform: 'capitalize',
|
|
3046
3104
|
color: '#000'
|
|
3047
3105
|
}
|
|
3048
3106
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar), /*#__PURE__*/React__default["default"].createElement("td", null, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
3049
|
-
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3107
|
+
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
3050
3108
|
actions: props.actions
|
|
3051
|
-
}), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3109
|
+
}), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.short_description_en) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3052
3110
|
"class": "col-lg-12 p-0"
|
|
3053
3111
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3054
3112
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -3058,9 +3116,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3058
3116
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3059
3117
|
},
|
|
3060
3118
|
dangerouslySetInnerHTML: {
|
|
3061
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3119
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.short_description_en
|
|
3062
3120
|
}
|
|
3063
|
-
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3121
|
+
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.short_description_ar) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3064
3122
|
"class": "col-lg-12 p-0"
|
|
3065
3123
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3066
3124
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -3070,9 +3128,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3070
3128
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3071
3129
|
},
|
|
3072
3130
|
dangerouslySetInnerHTML: {
|
|
3073
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3131
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.short_description_ar
|
|
3074
3132
|
}
|
|
3075
|
-
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3133
|
+
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3076
3134
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
3077
3135
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3078
3136
|
"class": "m-0 p-0",
|
|
@@ -3083,15 +3141,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3083
3141
|
style: {
|
|
3084
3142
|
fontWeight: 600
|
|
3085
3143
|
}
|
|
3086
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3087
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3088
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3144
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.vendorinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3145
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.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'
|
|
3146
|
+
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3089
3147
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
3090
3148
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3091
3149
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
3092
3150
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3093
3151
|
"class": "m-0 p-0"
|
|
3094
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3152
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3095
3153
|
"class": "mb-4 col-lg-12 allcentered",
|
|
3096
3154
|
style: {
|
|
3097
3155
|
width: '100%',
|
|
@@ -3112,7 +3170,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3112
3170
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3113
3171
|
color: sectionproperties.deliverytimecontainercolor
|
|
3114
3172
|
}
|
|
3115
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3173
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
3116
3174
|
actions: props.actions
|
|
3117
3175
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3118
3176
|
"class": "col-lg-12 p-0"
|
|
@@ -3153,7 +3211,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3153
3211
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
3154
3212
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
3155
3213
|
}
|
|
3156
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3214
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3157
3215
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
3158
3216
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3159
3217
|
className: "m-0 p-0",
|
|
@@ -3170,7 +3228,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3170
3228
|
style: {
|
|
3171
3229
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
3172
3230
|
}
|
|
3173
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3231
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3174
3232
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3175
3233
|
style: {
|
|
3176
3234
|
height: sectionproperties.quantitybtn_height + 'px',
|
|
@@ -3181,13 +3239,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3181
3239
|
}, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3182
3240
|
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
3183
3241
|
onClick: function onClick() {
|
|
3184
|
-
var
|
|
3242
|
+
var _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35;
|
|
3185
3243
|
var quantitystepincrearse = 1;
|
|
3186
3244
|
// var finalquantity = 0;
|
|
3187
3245
|
var tempaddtocardpayloadobj = _objectSpread$2v({}, addtocardpayloadobj);
|
|
3188
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3189
|
-
var
|
|
3190
|
-
quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3246
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.quantitystepincrearse) != null && (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.quantitystepincrearse) != 1 && (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.quantitystepincrearse) != '') {
|
|
3247
|
+
var _fetchProductInfoQuer36;
|
|
3248
|
+
quantitystepincrearse = parseInt(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.quantitystepincrearse);
|
|
3191
3249
|
}
|
|
3192
3250
|
var finalquantity = tempaddtocardpayloadobj.quantity - quantitystepincrearse;
|
|
3193
3251
|
if (finalquantity >= 0) {
|
|
@@ -3228,12 +3286,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3228
3286
|
}, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3229
3287
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
3230
3288
|
onClick: function onClick() {
|
|
3231
|
-
var
|
|
3289
|
+
var _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
|
|
3232
3290
|
var quantitystepincrearse = 1;
|
|
3233
3291
|
var tempaddtocardpayloadobj = _objectSpread$2v({}, addtocardpayloadobj);
|
|
3234
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3235
|
-
var
|
|
3236
|
-
quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3292
|
+
if ((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.quantitystepincrearse) != undefined && (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.quantitystepincrearse) != null && (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.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.quantitystepincrearse) != '') {
|
|
3293
|
+
var _fetchProductInfoQuer41;
|
|
3294
|
+
quantitystepincrearse = parseInt(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.quantitystepincrearse);
|
|
3237
3295
|
}
|
|
3238
3296
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + quantitystepincrearse;
|
|
3239
3297
|
|
|
@@ -3278,7 +3336,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3278
3336
|
"class": "col-lg-12 text-start p-md-0"
|
|
3279
3337
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3280
3338
|
className: "row m-0 w-100"
|
|
3281
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3339
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productfeatures) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.map(function (fitem, findex) {
|
|
3282
3340
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3283
3341
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
3284
3342
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3316,12 +3374,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3316
3374
|
fontSize: sectionproperties.featurevaluefontsize
|
|
3317
3375
|
}
|
|
3318
3376
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
3319
|
-
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3377
|
+
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3320
3378
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3321
3379
|
onClick: function onClick() {
|
|
3322
3380
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
3323
|
-
var
|
|
3324
|
-
window.open('tel:' + ((
|
|
3381
|
+
var _fetchProductInfoQuer44;
|
|
3382
|
+
window.open('tel:' + ((_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.product_phonenumber), '_blank');
|
|
3325
3383
|
} else {
|
|
3326
3384
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
3327
3385
|
addtocartfunc();
|
|
@@ -3352,7 +3410,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3352
3410
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3353
3411
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
3354
3412
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3355
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3413
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3356
3414
|
className: ' d-flex align-items-center justify-content-center '
|
|
3357
3415
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3358
3416
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -3397,7 +3455,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3397
3455
|
style: {
|
|
3398
3456
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
3399
3457
|
}
|
|
3400
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3458
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3401
3459
|
"class": "row m-0 w-100 mt-3",
|
|
3402
3460
|
style: {
|
|
3403
3461
|
overflow: 'hidden'
|
|
@@ -3409,8 +3467,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3409
3467
|
},
|
|
3410
3468
|
onClick: function onClick() {
|
|
3411
3469
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
3412
|
-
var
|
|
3413
|
-
window.open('tel:' + ((
|
|
3470
|
+
var _fetchProductInfoQuer48;
|
|
3471
|
+
window.open('tel:' + ((_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.product_phonenumber), '_blank');
|
|
3414
3472
|
} else {
|
|
3415
3473
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
3416
3474
|
addtocartfunc();
|
|
@@ -3441,7 +3499,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3441
3499
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3442
3500
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
3443
3501
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3444
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3502
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.productinfo) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3445
3503
|
className: ' d-flex align-items-center justify-content-center '
|
|
3446
3504
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3447
3505
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -3476,7 +3534,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3476
3534
|
size: sectionproperties.favBtnIconfontsize
|
|
3477
3535
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
3478
3536
|
size: sectionproperties.favBtnIconfontsize
|
|
3479
|
-
}))))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3537
|
+
}))))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3480
3538
|
"class": "row m-0 w-100 mt-3",
|
|
3481
3539
|
style: {
|
|
3482
3540
|
overflow: 'hidden'
|
|
@@ -3512,7 +3570,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3512
3570
|
"class": "col-lg-12 text-start p-md-0"
|
|
3513
3571
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3514
3572
|
className: "row m-0 w-100"
|
|
3515
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3573
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productinfo) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productfeatures) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.map(function (fitem, findex) {
|
|
3516
3574
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3517
3575
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
3518
3576
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3630,7 +3688,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3630
3688
|
color: sectionproperties.prodCatColor
|
|
3631
3689
|
},
|
|
3632
3690
|
dangerouslySetInnerHTML: {
|
|
3633
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3691
|
+
__html: langdetect == '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.short_description_en : 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.short_description_ar
|
|
3634
3692
|
}
|
|
3635
3693
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3636
3694
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -3755,7 +3813,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3755
3813
|
onClick: function onClick() {
|
|
3756
3814
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
3757
3815
|
}
|
|
3758
|
-
}, "SEE MORE")))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3816
|
+
}, "SEE MORE")))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3759
3817
|
className: "col-lg-12 p-0 mb-3"
|
|
3760
3818
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3761
3819
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -3778,7 +3836,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3778
3836
|
}
|
|
3779
3837
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3780
3838
|
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 '
|
|
3781
|
-
}, 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 || (
|
|
3839
|
+
}, 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 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.variants[variantindexcompleted]) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.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 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.variants[variantindexcompleted]) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.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", {
|
|
3782
3840
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
3783
3841
|
style: {
|
|
3784
3842
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -3792,14 +3850,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3792
3850
|
style: {
|
|
3793
3851
|
textDecoration: 'none'
|
|
3794
3852
|
}
|
|
3795
|
-
}, "-"), 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 || (
|
|
3853
|
+
}, "-"), 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 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.productinfo) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.variants[variantindexcompleted]) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3796
3854
|
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 '
|
|
3797
3855
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3798
3856
|
className: "ml-2 mr-2",
|
|
3799
3857
|
style: {
|
|
3800
3858
|
textDecoration: 'none'
|
|
3801
3859
|
}
|
|
3802
|
-
}, "-"), 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 || (
|
|
3860
|
+
}, "-"), 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 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3803
3861
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
3804
3862
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3805
3863
|
style: {
|
|
@@ -3870,7 +3928,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3870
3928
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
3871
3929
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
3872
3930
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
3873
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3931
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (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.productmainimage),
|
|
3874
3932
|
style: {
|
|
3875
3933
|
width: '100%',
|
|
3876
3934
|
height: '100%',
|
|
@@ -3903,13 +3961,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3903
3961
|
color: sectionproperties.prodCatColor
|
|
3904
3962
|
},
|
|
3905
3963
|
dangerouslySetInnerHTML: {
|
|
3906
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3964
|
+
__html: langdetect == 'en' ? 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.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.short_description_ar
|
|
3907
3965
|
}
|
|
3908
3966
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3909
3967
|
"class": "col-lg-12 text-start p-md-0"
|
|
3910
3968
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3911
3969
|
className: "row m-0 w-100"
|
|
3912
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3970
|
+
}, 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.productfeatures) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.map(function (fitem, findex) {
|
|
3913
3971
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3914
3972
|
"class": ' col-md-6 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
3915
3973
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3951,7 +4009,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3951
4009
|
"class": "col-lg-12 p-0 my-4"
|
|
3952
4010
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3953
4011
|
"class": "row m-0 w-100"
|
|
3954
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4012
|
+
}, (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.productimages) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.length) != 0 && (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.productimages.map(function (item, index) {
|
|
3955
4013
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3956
4014
|
"class": "col-lg-4 col-sm-12 mb-md-2 p-md-0"
|
|
3957
4015
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3978,7 +4036,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3978
4036
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3979
4037
|
},
|
|
3980
4038
|
dangerouslySetInnerHTML: {
|
|
3981
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4039
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productinfo) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.description_ar
|
|
3982
4040
|
}
|
|
3983
4041
|
})))))));
|
|
3984
4042
|
};
|
|
@@ -7688,7 +7746,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7688
7746
|
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.contactinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7689
7747
|
"class": "row m-0 w-100"
|
|
7690
7748
|
}, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7691
|
-
"class":
|
|
7749
|
+
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
7692
7750
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7693
7751
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
7694
7752
|
onClick: function onClick() {
|
|
@@ -7697,7 +7755,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7697
7755
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7698
7756
|
"class": "m-0 p-0"
|
|
7699
7757
|
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7700
|
-
"class":
|
|
7758
|
+
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
7701
7759
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7702
7760
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
7703
7761
|
onClick: function onClick() {
|
|
@@ -18367,11 +18425,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
18367
18425
|
// }, [targetStartDate]);
|
|
18368
18426
|
|
|
18369
18427
|
// Format the remaining time into days, hours, minutes, and seconds
|
|
18370
|
-
|
|
18371
|
-
_formatTime.days;
|
|
18372
|
-
_formatTime.hours;
|
|
18373
|
-
_formatTime.minutes;
|
|
18374
|
-
_formatTime.seconds;
|
|
18428
|
+
// const { days, hours, minutes, seconds } = formatTime(remainingTimeInSeconds);
|
|
18375
18429
|
var refscr = /*#__PURE__*/React.createRef();
|
|
18376
18430
|
var _useInView = reactIntersectionObserver.useInView();
|
|
18377
18431
|
_useInView.ref;
|
|
@@ -31363,6 +31417,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
31363
31417
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
31364
31418
|
paddingBottom: sectionproperties.header_paddingBottom + 'px',
|
|
31365
31419
|
backgroundColor: sectionproperties.keepheadertransparent == 'Yes' ? 'transparent' : sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.header_backgroundColor : 'transparent' : sectionproperties.header_backgroundColor,
|
|
31420
|
+
borderBottom: sectionproperties.headerborderbottomwidth + 'px solid ' + sectionproperties.headerbordercolor,
|
|
31366
31421
|
':hover': {
|
|
31367
31422
|
backgroundColor: sectionproperties.header_backgroundColor,
|
|
31368
31423
|
transition: '.3s ease-in-out'
|