tabexseriescomponents 0.0.637 → 0.0.639
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 +91 -48
- package/dist/index.esm.js +91 -48
- package/dist/index.umd.js +91 -48
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2416,7 +2416,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2416
2416
|
function ownKeys$2u(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; }
|
|
2417
2417
|
function _objectSpread$2u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2u(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2418
2418
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2419
|
-
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,
|
|
2419
|
+
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, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58;
|
|
2420
2420
|
var lang = props.actions.lang;
|
|
2421
2421
|
var langdetect = props.actions.langdetect;
|
|
2422
2422
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2863,7 +2863,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2863
2863
|
color: '#000'
|
|
2864
2864
|
}
|
|
2865
2865
|
}, 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));
|
|
2866
|
-
}))))),
|
|
2866
|
+
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
2867
|
+
actions: props.actions
|
|
2868
|
+
}), langdetect == '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_en) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2867
2869
|
"class": "col-lg-12 p-0"
|
|
2868
2870
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2869
2871
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -2873,9 +2875,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2873
2875
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2874
2876
|
},
|
|
2875
2877
|
dangerouslySetInnerHTML: {
|
|
2876
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2878
|
+
__html: 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 ? void 0 : _fetchProductInfoQuer13.short_description_en
|
|
2877
2879
|
}
|
|
2878
|
-
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2880
|
+
}))), langdetect == 'ar' && (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.short_description_ar) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2879
2881
|
"class": "col-lg-12 p-0"
|
|
2880
2882
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2881
2883
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -2885,9 +2887,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2885
2887
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2886
2888
|
},
|
|
2887
2889
|
dangerouslySetInnerHTML: {
|
|
2888
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2890
|
+
__html: 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_ar
|
|
2889
2891
|
}
|
|
2890
|
-
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2892
|
+
}))), (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.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2891
2893
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2892
2894
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2893
2895
|
"class": "m-0 p-0",
|
|
@@ -2898,15 +2900,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2898
2900
|
style: {
|
|
2899
2901
|
fontWeight: 600
|
|
2900
2902
|
}
|
|
2901
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2902
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2903
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2903
|
+
}, 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 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.vendorinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2904
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (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.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'
|
|
2905
|
+
}, ProductsSKUContainer()), (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.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (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 ? void 0 : _fetchProductInfoQuer20.quantavailtype) == 'limit' && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2904
2906
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
2905
2907
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2906
2908
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
2907
2909
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2908
2910
|
"class": "m-0 p-0"
|
|
2909
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2911
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (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.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2910
2912
|
"class": "mb-4 col-lg-12 allcentered",
|
|
2911
2913
|
style: {
|
|
2912
2914
|
width: '100%',
|
|
@@ -2927,7 +2929,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2927
2929
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2928
2930
|
color: sectionproperties.deliverytimecontainercolor
|
|
2929
2931
|
}
|
|
2930
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2932
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', 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.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
2931
2933
|
actions: props.actions
|
|
2932
2934
|
}), sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2933
2935
|
"class": "col-lg-12 p-0"
|
|
@@ -2945,9 +2947,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2945
2947
|
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2946
2948
|
actions: props.actions,
|
|
2947
2949
|
srcfromprops: 'undername'
|
|
2948
|
-
})))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2950
|
+
})))), (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.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2949
2951
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
2950
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2952
|
+
}, 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 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productoptions) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.map(function (item, index) {
|
|
2951
2953
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2952
2954
|
className: "col-lg-12 p-0 d-flex justify-content-start",
|
|
2953
2955
|
style: {
|
|
@@ -3028,7 +3030,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3028
3030
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
3029
3031
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
3030
3032
|
}
|
|
3031
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3033
|
+
}, (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 && (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.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3032
3034
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
3033
3035
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3034
3036
|
className: "m-0 p-0",
|
|
@@ -3045,7 +3047,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3045
3047
|
style: {
|
|
3046
3048
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
3047
3049
|
}
|
|
3048
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3050
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (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.isproducttobesold) == 1 && (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.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3049
3051
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3050
3052
|
style: {
|
|
3051
3053
|
height: sectionproperties.quantitybtn_height + 'px',
|
|
@@ -3056,13 +3058,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3056
3058
|
}, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3057
3059
|
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
3058
3060
|
onClick: function onClick() {
|
|
3059
|
-
var
|
|
3061
|
+
var _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34;
|
|
3060
3062
|
var quantitystepincrearse = 1;
|
|
3061
3063
|
// var finalquantity = 0;
|
|
3062
3064
|
var tempaddtocardpayloadobj = _objectSpread$2u({}, addtocardpayloadobj);
|
|
3063
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3064
|
-
var
|
|
3065
|
-
quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3065
|
+
if ((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.quantitystepincrearse) != undefined && (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) != null && (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) != 1 && (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) != '') {
|
|
3066
|
+
var _fetchProductInfoQuer35;
|
|
3067
|
+
quantitystepincrearse = parseInt(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);
|
|
3066
3068
|
}
|
|
3067
3069
|
var finalquantity = tempaddtocardpayloadobj.quantity - quantitystepincrearse;
|
|
3068
3070
|
if (finalquantity >= 0) {
|
|
@@ -3103,12 +3105,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3103
3105
|
}, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3104
3106
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
3105
3107
|
onClick: function onClick() {
|
|
3106
|
-
var
|
|
3108
|
+
var _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39;
|
|
3107
3109
|
var quantitystepincrearse = 1;
|
|
3108
3110
|
var tempaddtocardpayloadobj = _objectSpread$2u({}, addtocardpayloadobj);
|
|
3109
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3110
|
-
var
|
|
3111
|
-
quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3111
|
+
if ((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) != undefined && (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) != null && (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) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.quantitystepincrearse) != '') {
|
|
3112
|
+
var _fetchProductInfoQuer40;
|
|
3113
|
+
quantitystepincrearse = parseInt(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);
|
|
3112
3114
|
}
|
|
3113
3115
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + quantitystepincrearse;
|
|
3114
3116
|
|
|
@@ -3149,12 +3151,54 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3149
3151
|
setaddtocardpayloadobj(_objectSpread$2u({}, tempaddtocardpayloadobj));
|
|
3150
3152
|
}
|
|
3151
3153
|
}
|
|
3152
|
-
})), sectionproperties.
|
|
3154
|
+
})), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3155
|
+
"class": "col-lg-12 text-start p-md-0"
|
|
3156
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3157
|
+
className: "row m-0 w-100"
|
|
3158
|
+
}, 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 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productfeatures) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.map(function (fitem, findex) {
|
|
3159
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3160
|
+
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
3161
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3162
|
+
"class": "row m-0 w-100 text-start"
|
|
3163
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3164
|
+
"class": "col-lg-12 text-start mb-3 text-uppercase p-0"
|
|
3165
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3166
|
+
style: {
|
|
3167
|
+
width: '20px'
|
|
3168
|
+
},
|
|
3169
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
3170
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
3171
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
3172
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
3173
|
+
path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
|
|
3174
|
+
loading: "lazy",
|
|
3175
|
+
style: {
|
|
3176
|
+
maxWidth: '100%',
|
|
3177
|
+
maxHeight: '100%'
|
|
3178
|
+
}
|
|
3179
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3180
|
+
"class": "m-0 p-0",
|
|
3181
|
+
style: {
|
|
3182
|
+
color: sectionproperties.featurecolor,
|
|
3183
|
+
fontWeight: sectionproperties.featurefontweight,
|
|
3184
|
+
fontSize: sectionproperties.featurefontsize
|
|
3185
|
+
}
|
|
3186
|
+
}, 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", {
|
|
3187
|
+
"class": "col-lg-12 text-start text-capitalize"
|
|
3188
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3189
|
+
"class": "m-0 p-0",
|
|
3190
|
+
style: {
|
|
3191
|
+
color: sectionproperties.featurevaluecolor,
|
|
3192
|
+
fontWeight: sectionproperties.featurevaluefontweight,
|
|
3193
|
+
fontSize: sectionproperties.featurevaluefontsize
|
|
3194
|
+
}
|
|
3195
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
3196
|
+
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3153
3197
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3154
3198
|
onClick: function onClick() {
|
|
3155
3199
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
3156
|
-
var
|
|
3157
|
-
window.open('tel:' + ((
|
|
3200
|
+
var _fetchProductInfoQuer43;
|
|
3201
|
+
window.open('tel:' + ((_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.product_phonenumber), '_blank');
|
|
3158
3202
|
} else {
|
|
3159
3203
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
3160
3204
|
addtocartfunc();
|
|
@@ -3185,7 +3229,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3185
3229
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3186
3230
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
3187
3231
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3188
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3232
|
+
})), langdetect == 'en' ? 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.productactionbuttontext_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_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3189
3233
|
className: ' d-flex align-items-center justify-content-center '
|
|
3190
3234
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3191
3235
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -3230,7 +3274,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3230
3274
|
style: {
|
|
3231
3275
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
3232
3276
|
}
|
|
3233
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3277
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && 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("div", {
|
|
3234
3278
|
"class": "row m-0 w-100 mt-3",
|
|
3235
3279
|
style: {
|
|
3236
3280
|
overflow: 'hidden'
|
|
@@ -3242,8 +3286,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3242
3286
|
},
|
|
3243
3287
|
onClick: function onClick() {
|
|
3244
3288
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
3245
|
-
var
|
|
3246
|
-
window.open('tel:' + ((
|
|
3289
|
+
var _fetchProductInfoQuer47;
|
|
3290
|
+
window.open('tel:' + ((_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.product_phonenumber), '_blank');
|
|
3247
3291
|
} else {
|
|
3248
3292
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
3249
3293
|
addtocartfunc();
|
|
@@ -3274,7 +3318,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3274
3318
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3275
3319
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
3276
3320
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3277
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3321
|
+
})), 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", {
|
|
3278
3322
|
className: ' d-flex align-items-center justify-content-center '
|
|
3279
3323
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3280
3324
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -3309,7 +3353,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3309
3353
|
size: sectionproperties.favBtnIconfontsize
|
|
3310
3354
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
3311
3355
|
size: sectionproperties.favBtnIconfontsize
|
|
3312
|
-
}))))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3356
|
+
}))))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == '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", {
|
|
3313
3357
|
"class": "row m-0 w-100 mt-3",
|
|
3314
3358
|
style: {
|
|
3315
3359
|
overflow: 'hidden'
|
|
@@ -3336,11 +3380,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3336
3380
|
"class": "col-lg-12 p-md-0"
|
|
3337
3381
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
3338
3382
|
"class": "my-3"
|
|
3339
|
-
})), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3383
|
+
})), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition != 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3340
3384
|
"class": "col-lg-12 text-start p-md-0"
|
|
3341
3385
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3342
3386
|
className: "row m-0 w-100"
|
|
3343
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3387
|
+
}, 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 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productfeatures) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.map(function (fitem, findex) {
|
|
3344
3388
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3345
3389
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
3346
3390
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3466,7 +3510,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3466
3510
|
color: sectionproperties.prodCatColor
|
|
3467
3511
|
},
|
|
3468
3512
|
dangerouslySetInnerHTML: {
|
|
3469
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3513
|
+
__html: 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.short_description_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_ar
|
|
3470
3514
|
}
|
|
3471
3515
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3472
3516
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -3591,7 +3635,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3591
3635
|
onClick: function onClick() {
|
|
3592
3636
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
3593
3637
|
}
|
|
3594
|
-
}, "SEE MORE")))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3638
|
+
}, "SEE MORE")))))), sectionproperties.productInformationType == 'Product/Service Information' && (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 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3595
3639
|
className: "col-lg-12 p-0 mb-3"
|
|
3596
3640
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3597
3641
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -3614,7 +3658,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3614
3658
|
}
|
|
3615
3659
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3616
3660
|
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 '
|
|
3617
|
-
}, 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 || (
|
|
3661
|
+
}, 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 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.variants[variantindexcompleted]) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.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) == 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", {
|
|
3618
3662
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
3619
3663
|
style: {
|
|
3620
3664
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -3628,14 +3672,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3628
3672
|
style: {
|
|
3629
3673
|
textDecoration: 'none'
|
|
3630
3674
|
}
|
|
3631
|
-
}, "-"), 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 || (
|
|
3675
|
+
}, "-"), 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 || (_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) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3632
3676
|
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 '
|
|
3633
3677
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3634
3678
|
className: "ml-2 mr-2",
|
|
3635
3679
|
style: {
|
|
3636
3680
|
textDecoration: 'none'
|
|
3637
3681
|
}
|
|
3638
|
-
}, "-"), 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 || (
|
|
3682
|
+
}, "-"), 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 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.productinfo) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3639
3683
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
3640
3684
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3641
3685
|
style: {
|
|
@@ -10614,7 +10658,7 @@ var Checkout = function Checkout(props) {
|
|
|
10614
10658
|
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
10615
10659
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
10616
10660
|
}
|
|
10617
|
-
},
|
|
10661
|
+
}, langdetect == 'en' ? sectionproperties.cartTitlte_en : sectionproperties.cartTitlte_ar)), ChooseState_CountryMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10618
10662
|
className: "col-lg-12 allcentered p-0"
|
|
10619
10663
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.Messaging, {
|
|
10620
10664
|
color: "#000",
|
|
@@ -10664,7 +10708,7 @@ var Checkout = function Checkout(props) {
|
|
|
10664
10708
|
style: {
|
|
10665
10709
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10666
10710
|
}
|
|
10667
|
-
}, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), sectionproperties.producttype == 'Product' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10711
|
+
}, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), sectionproperties.producttype == 'Product' && sectionproperties.showquantity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10668
10712
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
10669
10713
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10670
10714
|
className: "m-0 p-0 font-weight-500 text-light w-100",
|
|
@@ -17412,11 +17456,6 @@ var image_serverbaselink = 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com
|
|
|
17412
17456
|
function ownKeys$29(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; }
|
|
17413
17457
|
function _objectSpread$29(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$29(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$29(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17414
17458
|
var CardsSection = function CardsSection(props) {
|
|
17415
|
-
var plainString = function plainString(html) {
|
|
17416
|
-
var divContainer = document.createElement('div');
|
|
17417
|
-
divContainer.innerHTML = html;
|
|
17418
|
-
return divContainer.textContent || divContainer.innerText || '';
|
|
17419
|
-
};
|
|
17420
17459
|
var refscr = /*#__PURE__*/React.createRef();
|
|
17421
17460
|
var _useInView = reactIntersectionObserver.useInView();
|
|
17422
17461
|
_useInView.ref;
|
|
@@ -18853,8 +18892,12 @@ var CardsSection = function CardsSection(props) {
|
|
|
18853
18892
|
color: sectionproperties.sectionTitleColor
|
|
18854
18893
|
|
|
18855
18894
|
// color: '#62554a',
|
|
18895
|
+
},
|
|
18896
|
+
|
|
18897
|
+
dangerouslySetInnerHTML: {
|
|
18898
|
+
__html: show_product_group_titles()['description_en']
|
|
18856
18899
|
}
|
|
18857
|
-
}
|
|
18900
|
+
})), sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18858
18901
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex p-0' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
|
|
18859
18902
|
}, /*#__PURE__*/React__default["default"].createElement(Filter$1, {
|
|
18860
18903
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -34003,7 +34046,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
34003
34046
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
34004
34047
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34005
34048
|
"class": ' allcenetered m-0 p-0 '
|
|
34006
|
-
}, lang.logout)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34049
|
+
}, lang.logout)))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34007
34050
|
"class": "".concat(header_cssstyles.wishlist_btn, " ").concat(headerstyles$g.header_menu) + ' cursor-pointer allcentered ',
|
|
34008
34051
|
onClick: function onClick() {
|
|
34009
34052
|
routingcountext(StaticPagesLinksContext.Wishlist);
|