tabexseriescomponents 0.2.844 → 0.2.846
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 +148 -99
- package/dist/index.esm.js +148 -99
- package/dist/index.umd.js +148 -99
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2424,7 +2424,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2424
2424
|
function ownKeys$2B(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; }
|
|
2425
2425
|
function _objectSpread$2B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2426
2426
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2427
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$
|
|
2427
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _authdetailsContext$i6, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _authdetailsContext$i7, _authdetailsContext$i8, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _authdetailsContext$i9, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _authdetailsContext$i0, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _sizeguideimage$;
|
|
2428
2428
|
var lang = props.actions.lang;
|
|
2429
2429
|
var langdetect = props.actions.langdetect;
|
|
2430
2430
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2638,6 +2638,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2638
2638
|
}, sectionproperties.showvariantsku == 'Show' && variantsku != '' ? variantsku : fetchProductInfoQueryContext.data.data.productinfo.sku));
|
|
2639
2639
|
};
|
|
2640
2640
|
var MeasurementUnitSection = function MeasurementUnitSection() {
|
|
2641
|
+
var _authdetailsContext$i3;
|
|
2641
2642
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2642
2643
|
className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'
|
|
2643
2644
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -2646,7 +2647,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2646
2647
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2647
2648
|
fontWeight: sectionproperties.measurementunitfontweight,
|
|
2648
2649
|
color: sectionproperties.measurementunitcolor,
|
|
2649
|
-
fontSize: sectionproperties.measurementunitcolor + 'px'
|
|
2650
|
+
fontSize: sectionproperties.measurementunitcolor + 'px',
|
|
2651
|
+
direction: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '67e448d2ef6e0' ? 'ltr' : ''
|
|
2650
2652
|
}
|
|
2651
2653
|
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit));
|
|
2652
2654
|
};
|
|
@@ -2775,7 +2777,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2775
2777
|
}
|
|
2776
2778
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2777
2779
|
"class": ' col-lg-12 p-0 '
|
|
2778
|
-
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2780
|
+
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2779
2781
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
2780
2782
|
style: {
|
|
2781
2783
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -3273,7 +3275,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3273
3275
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
3274
3276
|
}))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3275
3277
|
className: "".concat(productinfo_cssstyles.quantitybtn_text)
|
|
3276
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3278
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '66d6de1a1e04a' ? parseFloat(addtocardpayloadobj.quantity).toFixed(3) : parseInt(addtocardpayloadobj.quantity)), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3277
3279
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
3278
3280
|
onClick: function onClick() {
|
|
3279
3281
|
var _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39;
|
|
@@ -3921,7 +3923,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3921
3923
|
"class": "my-3"
|
|
3922
3924
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3923
3925
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
3924
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3926
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3925
3927
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
|
|
3926
3928
|
style: {
|
|
3927
3929
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -4048,7 +4050,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4048
4050
|
dangerouslySetInnerHTML: {
|
|
4049
4051
|
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.description_ar
|
|
4050
4052
|
}
|
|
4051
|
-
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4053
|
+
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4052
4054
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
4053
4055
|
style: {
|
|
4054
4056
|
minHeight: '100vh'
|
|
@@ -4315,7 +4317,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4315
4317
|
width: "20px",
|
|
4316
4318
|
height: "20px",
|
|
4317
4319
|
duration: "1s"
|
|
4318
|
-
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4320
|
+
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4319
4321
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
4320
4322
|
style: {
|
|
4321
4323
|
minHeight: '100vh'
|
|
@@ -7200,7 +7202,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
7200
7202
|
function ownKeys$2x(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; }
|
|
7201
7203
|
function _objectSpread$2x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2x(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7202
7204
|
var Productinfo = function Productinfo(props) {
|
|
7203
|
-
var _css,
|
|
7205
|
+
var _css, _fetchProductInfoQuer66, _ref, _fetchProductInfoQuer67, _ref2, _fetchProductInfoQuer68, _ref3, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10;
|
|
7204
7206
|
var _useState = React.useState({}),
|
|
7205
7207
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7206
7208
|
ProductInfoObj = _useState2[0],
|
|
@@ -7581,6 +7583,11 @@ var Productinfo = function Productinfo(props) {
|
|
|
7581
7583
|
}
|
|
7582
7584
|
// quantitystepincrearse = parseFloat(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
|
|
7583
7585
|
}
|
|
7586
|
+
// if (fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != 1 && fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != '') {
|
|
7587
|
+
// quantitystepincrearse = parseFloat(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
|
|
7588
|
+
// } else {
|
|
7589
|
+
// quantitystepincrearse = parseInt(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
|
|
7590
|
+
// }
|
|
7584
7591
|
tempaddtocardpayloadobj.quantity = quantitystepincrearse;
|
|
7585
7592
|
setaddtocardpayloadobj(_objectSpread$2x({}, tempaddtocardpayloadobj));
|
|
7586
7593
|
}
|
|
@@ -7803,31 +7810,31 @@ var Productinfo = function Productinfo(props) {
|
|
|
7803
7810
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
7804
7811
|
}
|
|
7805
7812
|
if (runfunc == true) {
|
|
7806
|
-
var _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36
|
|
7813
|
+
var _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36;
|
|
7807
7814
|
var tempaddtocardpayloadobj = _objectSpread$2x({}, addtocardpayloadobj);
|
|
7808
|
-
if ((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) !=
|
|
7815
|
+
if ((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) != '') {
|
|
7809
7816
|
tempaddtocardpayloadobj.quantity = parseFloat(tempaddtocardpayloadobj.quantity).toFixed(3);
|
|
7810
7817
|
}
|
|
7811
|
-
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7812
|
-
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7818
|
+
tempaddtocardpayloadobj.isproductforcedtocheckout = 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.isproductforcedtocheckout;
|
|
7819
|
+
tempaddtocardpayloadobj.vendorid = 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.vendorproviderid;
|
|
7813
7820
|
if (forcetocheckoutvalue != undefined) {
|
|
7814
7821
|
tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
7815
7822
|
}
|
|
7816
7823
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
7817
7824
|
if (Extrafieldvalidationresponse.status) {
|
|
7818
|
-
var _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42
|
|
7825
|
+
var _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42;
|
|
7819
7826
|
var finalprice = 0;
|
|
7820
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7827
|
+
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.hassale) == 1) {
|
|
7821
7828
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
7822
7829
|
} else {
|
|
7823
7830
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
7824
7831
|
}
|
|
7825
7832
|
Pixel_EventsContext('AddToCart', {
|
|
7826
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7827
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7828
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7833
|
+
content_ids: [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.productid],
|
|
7834
|
+
content_name: (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.name_en) + ' - ' + (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.name_ar),
|
|
7835
|
+
content_sku: 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.sku,
|
|
7829
7836
|
content_type: 'product',
|
|
7830
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7837
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.currencyname_en,
|
|
7831
7838
|
value: finalprice,
|
|
7832
7839
|
quantity: addtocardpayloadobj.quantity
|
|
7833
7840
|
});
|
|
@@ -7836,12 +7843,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7836
7843
|
}
|
|
7837
7844
|
};
|
|
7838
7845
|
var validateextrafields = function validateextrafields() {
|
|
7839
|
-
var
|
|
7846
|
+
var _fetchProductInfoQuer43;
|
|
7840
7847
|
var tempaddtocardpayloadobj = _objectSpread$2x({}, addtocardpayloadobj);
|
|
7841
7848
|
var status = false;
|
|
7842
7849
|
var reason = '';
|
|
7843
7850
|
var missingitemsfound = [];
|
|
7844
|
-
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7851
|
+
var extrafields = 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.productextrafields;
|
|
7845
7852
|
if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
|
|
7846
7853
|
status = true;
|
|
7847
7854
|
} else {
|
|
@@ -7881,9 +7888,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
7881
7888
|
};
|
|
7882
7889
|
};
|
|
7883
7890
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
7884
|
-
var _authdetailsContext$
|
|
7891
|
+
var _authdetailsContext$i3;
|
|
7885
7892
|
var policyobj = {};
|
|
7886
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7893
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instpolicies) === null || _authdetailsContext$i3 === void 0 || _authdetailsContext$i3.forEach(function (item, index) {
|
|
7887
7894
|
if (item.policytype == policytype) {
|
|
7888
7895
|
policyobj = item;
|
|
7889
7896
|
}
|
|
@@ -7892,7 +7899,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7892
7899
|
};
|
|
7893
7900
|
var relatedproducts = function relatedproducts() {
|
|
7894
7901
|
if (Relatedproducts.length != 0) {
|
|
7895
|
-
var _authdetailsContext$
|
|
7902
|
+
var _authdetailsContext$i4;
|
|
7896
7903
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7897
7904
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
7898
7905
|
style: {
|
|
@@ -7939,12 +7946,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7939
7946
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
7940
7947
|
transitionBehavior: 'auto',
|
|
7941
7948
|
wrapperClassName: '',
|
|
7942
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7949
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
7943
7950
|
scrollContainerClassName: 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
7944
7951
|
}, Relatedproducts.map(function (item, index) {
|
|
7945
7952
|
if (item.productinfo != null) {
|
|
7946
|
-
var
|
|
7947
|
-
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7953
|
+
var _fetchProductInfoQuer44;
|
|
7954
|
+
if (item.productid != (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.productid)) {
|
|
7948
7955
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7949
7956
|
className: "col-lg-12 mb-3 px-1",
|
|
7950
7957
|
onClick: function onClick() {
|
|
@@ -8503,37 +8510,37 @@ var Productinfo = function Productinfo(props) {
|
|
|
8503
8510
|
}
|
|
8504
8511
|
}));
|
|
8505
8512
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
8506
|
-
var
|
|
8513
|
+
var _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48;
|
|
8507
8514
|
var price = 0;
|
|
8508
8515
|
var quantity = 0;
|
|
8509
8516
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
8510
8517
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
8511
8518
|
}
|
|
8512
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8513
|
-
var
|
|
8514
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8519
|
+
if ((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.productquantityoptions) != undefined && (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.productquantityoptions) != null && Array.isArray(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.productquantityoptions) && (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 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.productquantityoptions) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.length) != 0) {
|
|
8520
|
+
var _fetchProductInfoQuer49;
|
|
8521
|
+
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.productquantityoptions;
|
|
8515
8522
|
}
|
|
8516
8523
|
if (type == 'defaultprice') {
|
|
8517
|
-
var
|
|
8518
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8519
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8524
|
+
var _fetchProductInfoQuer50, _fetchProductInfoQuer51;
|
|
8525
|
+
price = 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.defaultprice;
|
|
8526
|
+
if ((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.hasvariants) == 1) {
|
|
8520
8527
|
if (variantindexcompleted != undefined) {
|
|
8521
|
-
var
|
|
8522
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8523
|
-
var
|
|
8524
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8528
|
+
var _fetchProductInfoQuer52;
|
|
8529
|
+
if ((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.variants[variantindexcompleted]) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.variantprice) != undefined) {
|
|
8530
|
+
var _fetchProductInfoQuer53;
|
|
8531
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.variants[variantindexcompleted]) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.variantprice;
|
|
8525
8532
|
}
|
|
8526
8533
|
}
|
|
8527
8534
|
}
|
|
8528
8535
|
} else if (type == 'defaultsaleprice') {
|
|
8529
|
-
var
|
|
8530
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8531
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8536
|
+
var _fetchProductInfoQuer54, _fetchProductInfoQuer55;
|
|
8537
|
+
price = 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.defaultsaleprice;
|
|
8538
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.hasvariants) == 1) {
|
|
8532
8539
|
if (variantindexcompleted != undefined) {
|
|
8533
|
-
var
|
|
8534
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8535
|
-
var
|
|
8536
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8540
|
+
var _fetchProductInfoQuer56;
|
|
8541
|
+
if ((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.variantsaleprice) != undefined) {
|
|
8542
|
+
var _fetchProductInfoQuer57;
|
|
8543
|
+
price = 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.variantsaleprice;
|
|
8537
8544
|
}
|
|
8538
8545
|
}
|
|
8539
8546
|
}
|
|
@@ -8570,7 +8577,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8570
8577
|
}
|
|
8571
8578
|
};
|
|
8572
8579
|
var getQuantityCondition = function getQuantityCondition() {
|
|
8573
|
-
var
|
|
8580
|
+
var _fetchProductInfoQuer58;
|
|
8574
8581
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8575
8582
|
"class": "col-lg-12 p-0",
|
|
8576
8583
|
style: {
|
|
@@ -8600,12 +8607,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8600
8607
|
height: 1,
|
|
8601
8608
|
background: sectionproperties.pricelisttitlecolor
|
|
8602
8609
|
}
|
|
8603
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8604
|
-
var
|
|
8610
|
+
})), 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.productquantityoptions) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.map(function (item, index) {
|
|
8611
|
+
var _fetchProductInfoQuer59;
|
|
8605
8612
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8606
8613
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
8607
8614
|
style: {
|
|
8608
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8615
|
+
marginBottom: (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 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productquantityoptions) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.length) - 1 != index ? '1rem' : 0
|
|
8609
8616
|
}
|
|
8610
8617
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8611
8618
|
"class": "d-flex align-items-center",
|
|
@@ -8639,7 +8646,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8639
8646
|
})));
|
|
8640
8647
|
};
|
|
8641
8648
|
var StoreInfo = function StoreInfo(position) {
|
|
8642
|
-
var
|
|
8649
|
+
var _fetchProductInfoQuer60, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
8643
8650
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8644
8651
|
"class": "row m-0 w-100"
|
|
8645
8652
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -8686,7 +8693,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8686
8693
|
style: {
|
|
8687
8694
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8688
8695
|
}
|
|
8689
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8696
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productquantityoptions) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8690
8697
|
"class": "col-lg-12 p-0 mb-4"
|
|
8691
8698
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8692
8699
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -8714,8 +8721,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8714
8721
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8715
8722
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
8716
8723
|
onClick: function onClick() {
|
|
8717
|
-
var _authdetailsContext$
|
|
8718
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8724
|
+
var _authdetailsContext$i5;
|
|
8725
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.contactinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.email), '_self');
|
|
8719
8726
|
}
|
|
8720
8727
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8721
8728
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -8735,7 +8742,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8735
8742
|
style: {
|
|
8736
8743
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8737
8744
|
}
|
|
8738
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8745
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.contactinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8739
8746
|
"class": "row m-0 w-100"
|
|
8740
8747
|
}, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8741
8748
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
@@ -8746,25 +8753,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
8746
8753
|
}
|
|
8747
8754
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8748
8755
|
"class": "m-0 p-0"
|
|
8749
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8756
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8750
8757
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8751
8758
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8752
8759
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8753
8760
|
onClick: function onClick() {
|
|
8754
|
-
var _authdetailsContext$
|
|
8755
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8761
|
+
var _authdetailsContext$i8;
|
|
8762
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.contactinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.email), '_self');
|
|
8756
8763
|
}
|
|
8757
8764
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8758
8765
|
"class": "m-0 p-0"
|
|
8759
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8766
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8760
8767
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8761
8768
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8762
8769
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8763
8770
|
onClick: function onClick() {
|
|
8764
|
-
var _authdetailsContext$
|
|
8765
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8766
|
-
var _authdetailsContext$
|
|
8767
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8771
|
+
var _authdetailsContext$i0;
|
|
8772
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.whatsappnumber) != null) {
|
|
8773
|
+
var _authdetailsContext$i1;
|
|
8774
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.whatsappnumber), '_blank');
|
|
8768
8775
|
}
|
|
8769
8776
|
}
|
|
8770
8777
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -8838,7 +8845,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8838
8845
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
8839
8846
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
|
|
8840
8847
|
}
|
|
8841
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8848
|
+
}, (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.item_type) == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
|
|
8842
8849
|
actions: (_ref = {
|
|
8843
8850
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
8844
8851
|
setisoutofstock: setisoutofstock,
|
|
@@ -8848,7 +8855,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8848
8855
|
lang: lang,
|
|
8849
8856
|
srcfromprops: props.srcfromprops
|
|
8850
8857
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal))
|
|
8851
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8858
|
+
}), (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.item_type) == 'Article' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
8852
8859
|
actions: (_ref2 = {
|
|
8853
8860
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
8854
8861
|
setisoutofstock: setisoutofstock,
|
|
@@ -8858,7 +8865,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8858
8865
|
lang: lang,
|
|
8859
8866
|
srcfromprops: props.srcfromprops
|
|
8860
8867
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier))
|
|
8861
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8868
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.item_type) == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
8862
8869
|
actions: (_ref3 = {
|
|
8863
8870
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
8864
8871
|
variantsku: variantsku,
|
|
@@ -8874,7 +8881,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8874
8881
|
style: {
|
|
8875
8882
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
8876
8883
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
8877
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8884
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.product_videos) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.product_videos) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.length) == 0 ? 'none' : 'flex'
|
|
8878
8885
|
}
|
|
8879
8886
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8880
8887
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -8936,12 +8943,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8936
8943
|
onClick: function onClick() {
|
|
8937
8944
|
settabname('refundpolicytab');
|
|
8938
8945
|
}
|
|
8939
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8946
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.product_videos) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8940
8947
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
8941
8948
|
onClick: function onClick() {
|
|
8942
8949
|
settabname('videostab');
|
|
8943
8950
|
}
|
|
8944
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8951
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8945
8952
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
8946
8953
|
onClick: function onClick() {
|
|
8947
8954
|
settabname('reviewstab');
|
|
@@ -8995,12 +9002,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8995
9002
|
onClick: function onClick() {
|
|
8996
9003
|
settabname('refundpolicytab');
|
|
8997
9004
|
}
|
|
8998
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9005
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.product_videos) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8999
9006
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
9000
9007
|
onClick: function onClick() {
|
|
9001
9008
|
settabname('videostab');
|
|
9002
9009
|
}
|
|
9003
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9010
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
9004
9011
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
9005
9012
|
onClick: function onClick() {
|
|
9006
9013
|
settabname('reviewstab');
|
|
@@ -13099,6 +13106,25 @@ var Checkout = function Checkout(props) {
|
|
|
13099
13106
|
}
|
|
13100
13107
|
}));
|
|
13101
13108
|
}
|
|
13109
|
+
if (item.type == 'text') {
|
|
13110
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13111
|
+
className: "col-lg-4 col-md-12 mb-3"
|
|
13112
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13113
|
+
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
13114
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
13115
|
+
type: 'text',
|
|
13116
|
+
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
13117
|
+
value: item.value,
|
|
13118
|
+
onChange: function onChange(event) {
|
|
13119
|
+
var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
|
|
13120
|
+
temporderextrafeilds[index].value = event.target.value;
|
|
13121
|
+
setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
|
|
13122
|
+
},
|
|
13123
|
+
style: {
|
|
13124
|
+
boxShadow: 'none'
|
|
13125
|
+
}
|
|
13126
|
+
}));
|
|
13127
|
+
}
|
|
13102
13128
|
})))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13103
13129
|
className: "col-lg-12 p-0 w-100"
|
|
13104
13130
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -48207,7 +48233,10 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
48207
48233
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48208
48234
|
"class": "row m-0 w-100"
|
|
48209
48235
|
}, sectionproperties.showfooteraddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48210
|
-
"class": footerStyles.footerinfoContainer + ' col-xl-4 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-md-4 '
|
|
48236
|
+
"class": footerStyles.footerinfoContainer + ' col-xl-4 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-md-4 ',
|
|
48237
|
+
onClick: function onClick() {
|
|
48238
|
+
window.open(sectionproperties.storeinfolocationlink, '_blank');
|
|
48239
|
+
}
|
|
48211
48240
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48212
48241
|
"class": "".concat(footerStyles.iconStyle) + ' allcentered ' + "".concat(langdetect == 'en' ? ' mr-2 ' : ' ml-2 ')
|
|
48213
48242
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -71723,6 +71752,11 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
71723
71752
|
':hover': {
|
|
71724
71753
|
background: sectionproperties.generalbtn_bgColoronhover,
|
|
71725
71754
|
color: sectionproperties.generalbtn_textColoronhover
|
|
71755
|
+
},
|
|
71756
|
+
'@media (max-width: 800px)': {
|
|
71757
|
+
width: sectionproperties.generalbtnwidthresponsive + 'px',
|
|
71758
|
+
height: sectionproperties.generalbtnheightresponsive + 'px',
|
|
71759
|
+
fontSize: sectionproperties.generalbtnfontsizeresponsive + 'px'
|
|
71726
71760
|
}
|
|
71727
71761
|
}),
|
|
71728
71762
|
slideshow_btnyrh: glamor.css({
|
|
@@ -71750,47 +71784,46 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
71750
71784
|
}
|
|
71751
71785
|
}),
|
|
71752
71786
|
textcont: glamor.css({
|
|
71753
|
-
bottom: sectionproperties.generalbtn_marginBottom + 'px',
|
|
71754
71787
|
position: 'absolute',
|
|
71755
|
-
// bottom: 40,
|
|
71756
71788
|
zIndex: 2,
|
|
71757
|
-
|
|
71758
|
-
|
|
71759
|
-
|
|
71789
|
+
bottom: sectionproperties.innersectionpositionbottom == -1 ? '' : sectionproperties.innersectionpositionbottom + 'px',
|
|
71790
|
+
width: sectionproperties.innersectionWidth + '%',
|
|
71791
|
+
left: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
|
|
71792
|
+
right: langdetect == 'ar' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
|
|
71793
|
+
// bottom: sectionproperties.generalbtn_marginBottom + 'px',
|
|
71794
|
+
// width: sectionproperties.generalbtn_position == 'Centered' ? '100%' : '%',
|
|
71795
|
+
// left: sectionproperties.generalbtn_position == 'Centered' ? '' : sectionproperties.showanimation == 'Yes' ? 0 : langdetect == 'en' ? 20 : '',
|
|
71796
|
+
// right: sectionproperties.generalbtn_position == 'Centered' ? '' : langdetect == 'ar' ? 20 : '',
|
|
71760
71797
|
'@media (max-width: 800px)': {
|
|
71761
|
-
bottom: '20px'
|
|
71798
|
+
// bottom: '20px',
|
|
71799
|
+
bottom: sectionproperties.innersectionmarginbottomresponsive + 'px'
|
|
71800
|
+
}
|
|
71801
|
+
}),
|
|
71802
|
+
text1styles: glamor.css({
|
|
71803
|
+
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
71804
|
+
color: sectionproperties.slideshowText1ContentColor,
|
|
71805
|
+
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
71806
|
+
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
71807
|
+
'@media (max-width: 800px)': {
|
|
71808
|
+
fontSize: sectionproperties.slideshowText1ContentFontSize_resp + 'px'
|
|
71762
71809
|
}
|
|
71763
|
-
|
|
71764
|
-
// authdetailsContext?.instinfo?.contactinfo.instid != '6790ae890234e'
|
|
71765
71810
|
})
|
|
71766
71811
|
};
|
|
71767
71812
|
var SlideShowTextContainer = function SlideShowTextContainer(item) {
|
|
71768
71813
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71769
|
-
"class": cardarrayofobjs.length != 0 ? slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center p-0 mt-sm-n6 px-2 ' : slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center p-0 px-2 '
|
|
71770
|
-
// style={{ position: 'absolute', top: cardarrayofobjs.length != 0 ? '40%' : '50%', zIndex: 2 }}
|
|
71771
|
-
,
|
|
71814
|
+
"class": cardarrayofobjs.length != 0 ? slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center p-0 mt-sm-n6 px-2 ' : sectionproperties.text1centered == 'Centered' ? slideshow_styles.textcont + ' mx-auto row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center p-0 px-2 ' : slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center p-0 px-2 ',
|
|
71772
71815
|
style: {}
|
|
71773
71816
|
}, sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71774
71817
|
"class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 text-start'
|
|
71775
71818
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
71776
|
-
className:
|
|
71777
|
-
style: {
|
|
71778
|
-
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
71779
|
-
color: sectionproperties.slideshowText1ContentColor,
|
|
71780
|
-
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
71781
|
-
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
71782
|
-
}
|
|
71819
|
+
className: slideshow_styles.text1styles + ' m-0 p-0 wordbreak ',
|
|
71820
|
+
style: {}
|
|
71783
71821
|
}, langdetect == 'en' ? item.titleen : item.titlear)), sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71784
71822
|
"class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 text-start',
|
|
71785
71823
|
"data-aos": 'fade-up'
|
|
71786
71824
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
71787
|
-
className:
|
|
71788
|
-
style: {
|
|
71789
|
-
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
71790
|
-
color: sectionproperties.slideshowText1ContentColor,
|
|
71791
|
-
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
71792
|
-
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
71793
|
-
}
|
|
71825
|
+
className: slideshow_styles.text1styles + ' m-0 p-0 wordbreak ',
|
|
71826
|
+
style: {}
|
|
71794
71827
|
}, langdetect == 'en' ? item.titleen : item.titlear)), sectionproperties.slideshowText2ContentFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71795
71828
|
"class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered mb-3' : 'col-lg-12 mb-3 text-start '
|
|
71796
71829
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -71802,9 +71835,17 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
71802
71835
|
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
71803
71836
|
}
|
|
71804
71837
|
}, langdetect == 'en' ? item.descriptionen : item.descriptionar)), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71805
|
-
"class":
|
|
71838
|
+
"class":
|
|
71839
|
+
// sectionproperties.generalbtn_position == 'Centered'
|
|
71840
|
+
// ? 'col-lg-12 allcentered'
|
|
71841
|
+
// : item.titleen == null && item.descriptionen == null
|
|
71842
|
+
// ? sectionproperties.generalbtn_position == 'Centered'
|
|
71843
|
+
// ? 'col-lg-12 allcentered'
|
|
71844
|
+
// : 'col-lg-12 allcentered-md'
|
|
71845
|
+
// : 'col-lg-12 text-start'
|
|
71846
|
+
sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
|
|
71806
71847
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
71807
|
-
"class": langdetect == 'en' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered
|
|
71848
|
+
"class": langdetect == 'en' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
71808
71849
|
onClick: function onClick() {
|
|
71809
71850
|
if (sectionproperties.showplayer == 'Show') {
|
|
71810
71851
|
setshowpopup(true);
|
|
@@ -86116,7 +86157,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
|
86116
86157
|
function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
86117
86158
|
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
86118
86159
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
86119
|
-
var _item$producttags, _item$producttags
|
|
86160
|
+
var _item$producttags, _item$producttags$, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
86120
86161
|
var _useState = React.useState(''),
|
|
86121
86162
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
86122
86163
|
sectionproperties = _useState2[0],
|
|
@@ -86823,13 +86864,21 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
86823
86864
|
color: sectionproperties.featurecolor,
|
|
86824
86865
|
fontSize: sectionproperties.featurefontsize + 'px'
|
|
86825
86866
|
}
|
|
86826
|
-
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86867
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), sectionproperties.showmeasurementunit == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86827
86868
|
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
86828
86869
|
style: {
|
|
86829
86870
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
86830
86871
|
fontSize: sectionproperties.measurementunitfontsize + 'px',
|
|
86831
86872
|
color: sectionproperties.measurementunitcolor
|
|
86832
86873
|
}
|
|
86874
|
+
}, item.measurmentunit), sectionproperties.showmeasurementunit == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86875
|
+
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
86876
|
+
style: {
|
|
86877
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
86878
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px',
|
|
86879
|
+
color: sectionproperties.measurementunitcolor,
|
|
86880
|
+
direction: 'ltr'
|
|
86881
|
+
}
|
|
86833
86882
|
}, item.measurmentunit), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86834
86883
|
"class": "col-lg-12 pl-0 pr-0",
|
|
86835
86884
|
style: {
|