tabexseriescomponents 0.2.855 → 0.2.857
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 +532 -133
- package/dist/index.esm.js +532 -133
- package/dist/index.umd.js +532 -133
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1224,6 +1224,71 @@ styleInject(css_248z$J);
|
|
|
1224
1224
|
|
|
1225
1225
|
function ownKeys$2D(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; }
|
|
1226
1226
|
function _objectSpread$2D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1227
|
+
var selectcustomStyles = {
|
|
1228
|
+
option: function option(provided, state) {
|
|
1229
|
+
return _objectSpread$2D(_objectSpread$2D({}, provided), {}, {
|
|
1230
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1231
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1232
|
+
padding: 5,
|
|
1233
|
+
textTransform: 'capitalize',
|
|
1234
|
+
color: state.isSelected ? '#eac435' : '#022648',
|
|
1235
|
+
transition: '.3s',
|
|
1236
|
+
'&:hover': {
|
|
1237
|
+
color: '#eac435',
|
|
1238
|
+
cursor: 'pointer'
|
|
1239
|
+
}
|
|
1240
|
+
});
|
|
1241
|
+
},
|
|
1242
|
+
control: function control() {
|
|
1243
|
+
return {
|
|
1244
|
+
border: '1px solid #e6e6e6',
|
|
1245
|
+
// boxShadow: '0 0 10px #e6e6e6',
|
|
1246
|
+
borderRadius: '5px',
|
|
1247
|
+
display: 'flex',
|
|
1248
|
+
cursor: 'pointer',
|
|
1249
|
+
transition: '.3s',
|
|
1250
|
+
'&:hover': {
|
|
1251
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1252
|
+
}
|
|
1253
|
+
};
|
|
1254
|
+
}
|
|
1255
|
+
};
|
|
1256
|
+
var selectcustomStylesTranslated = {
|
|
1257
|
+
option: function option(provided, state) {
|
|
1258
|
+
return _objectSpread$2D(_objectSpread$2D({}, provided), {}, {
|
|
1259
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1260
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1261
|
+
padding: 5,
|
|
1262
|
+
textTransform: 'capitalize',
|
|
1263
|
+
color: state.isSelected ? '#eac435' : '#ffffff',
|
|
1264
|
+
transition: '.3s',
|
|
1265
|
+
textAlign: 'right',
|
|
1266
|
+
'&:hover': {
|
|
1267
|
+
color: '#eac435',
|
|
1268
|
+
cursor: 'pointer'
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1271
|
+
},
|
|
1272
|
+
control: function control() {
|
|
1273
|
+
return {
|
|
1274
|
+
border: '2px solid #e6e6e6',
|
|
1275
|
+
// boxShadow: '0 0 10px #e6e6e6',
|
|
1276
|
+
borderRadius: '10px',
|
|
1277
|
+
display: 'flex',
|
|
1278
|
+
cursor: 'pointer',
|
|
1279
|
+
transition: '.3s',
|
|
1280
|
+
textAlign: 'right',
|
|
1281
|
+
'&:hover': {
|
|
1282
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1283
|
+
}
|
|
1284
|
+
};
|
|
1285
|
+
},
|
|
1286
|
+
placeholder: function placeholder(provided, state) {
|
|
1287
|
+
return _objectSpread$2D(_objectSpread$2D({}, provided), {}, {
|
|
1288
|
+
textAlign: 'right'
|
|
1289
|
+
});
|
|
1290
|
+
}
|
|
1291
|
+
};
|
|
1227
1292
|
var defaultstyles = {
|
|
1228
1293
|
option: function option(provided, state) {
|
|
1229
1294
|
return _objectSpread$2D(_objectSpread$2D({}, provided), {}, {
|
|
@@ -1487,7 +1552,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1487
1552
|
}
|
|
1488
1553
|
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
1489
1554
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1490
|
-
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
|
|
1555
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? productinfostyles.color_container + ' mr-2 variabttcontainer showcrossiconcolor ' + "".concat(productinfostyles.color_container_active) : productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
|
|
1491
1556
|
// `${isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''}`
|
|
1492
1557
|
,
|
|
1493
1558
|
onClick: function onClick() {
|
|
@@ -2954,7 +3019,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
2954
3019
|
function ownKeys$2z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2955
3020
|
function _objectSpread$2z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2956
3021
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2957
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28,
|
|
3022
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _authdetailsContext$i6, _authdetailsContext$i7, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _authdetailsContext$i8, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _authdetailsContext$i9, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _sizeguideimage$, _authdetailsContext$i0, _fetchProductInfoQuer93, _fetchProductInfoQuer94;
|
|
2958
3023
|
var lang = props.actions.lang;
|
|
2959
3024
|
var actions = props.actions;
|
|
2960
3025
|
var langdetect = props.actions.langdetect;
|
|
@@ -3758,21 +3823,30 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3758
3823
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3759
3824
|
"class": "m-0 p-0",
|
|
3760
3825
|
style: {
|
|
3761
|
-
color: '#000'
|
|
3826
|
+
color: '#000',
|
|
3827
|
+
cursor: sectionproperties.vendornameclickable == 'Yes' ? 'pointer' : ''
|
|
3828
|
+
},
|
|
3829
|
+
onClick: function onClick() {
|
|
3830
|
+
if (sectionproperties.vendornameclickable == 'Yes') {
|
|
3831
|
+
var _fetchProductInfoQuer29;
|
|
3832
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
3833
|
+
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.vendorinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.vendorid]
|
|
3834
|
+
})));
|
|
3835
|
+
}
|
|
3762
3836
|
}
|
|
3763
3837
|
}, langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear, ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3764
3838
|
style: {
|
|
3765
3839
|
fontWeight: 600
|
|
3766
3840
|
}
|
|
3767
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3768
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3769
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3841
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.vendorinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3842
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (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.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'
|
|
3843
|
+
}, ProductsSKUContainer()), (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.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (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.quantavailtype) == 'limit' && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3770
3844
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
3771
3845
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3772
3846
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
3773
3847
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3774
3848
|
"class": "m-0 p-0"
|
|
3775
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3849
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (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.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3776
3850
|
"class": "mb-4 col-lg-12 allcentered",
|
|
3777
3851
|
style: {
|
|
3778
3852
|
width: '100%',
|
|
@@ -3793,7 +3867,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3793
3867
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3794
3868
|
color: sectionproperties.deliverytimecontainercolor
|
|
3795
3869
|
}
|
|
3796
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3870
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
3797
3871
|
actions: props.actions
|
|
3798
3872
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3799
3873
|
"class": "col-lg-12 p-0"
|
|
@@ -3834,7 +3908,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3834
3908
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
3835
3909
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
3836
3910
|
}
|
|
3837
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3911
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.isproducttobesold) == 1 && (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.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3838
3912
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
3839
3913
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3840
3914
|
className: "m-0 p-0",
|
|
@@ -3851,11 +3925,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3851
3925
|
style: {
|
|
3852
3926
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
3853
3927
|
}
|
|
3854
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3928
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.isproducttobesold) == 1 && (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.isproducthasquantitychange) == 1 && QuantityButton(), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3855
3929
|
"class": "col-lg-12 text-start p-md-0"
|
|
3856
3930
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3857
3931
|
className: "row m-0 w-100"
|
|
3858
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3932
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productfeatures) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.map(function (fitem, findex) {
|
|
3859
3933
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3860
3934
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
3861
3935
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3893,12 +3967,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3893
3967
|
fontSize: sectionproperties.featurevaluefontsize
|
|
3894
3968
|
}
|
|
3895
3969
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
3896
|
-
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3970
|
+
}))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3897
3971
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3898
3972
|
onClick: function onClick() {
|
|
3899
3973
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
3900
|
-
var
|
|
3901
|
-
window.open('tel:' + ((
|
|
3974
|
+
var _fetchProductInfoQuer44;
|
|
3975
|
+
window.open('tel:' + ((_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.product_phonenumber), '_blank');
|
|
3902
3976
|
} else {
|
|
3903
3977
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
3904
3978
|
addtocartfunc();
|
|
@@ -3929,7 +4003,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3929
4003
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3930
4004
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
3931
4005
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3932
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4006
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3933
4007
|
className: ' d-flex align-items-center justify-content-center '
|
|
3934
4008
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3935
4009
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -3974,20 +4048,20 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3974
4048
|
style: {
|
|
3975
4049
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
3976
4050
|
}
|
|
3977
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4051
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3978
4052
|
"class": "row m-0 w-100 mt-3",
|
|
3979
4053
|
style: {
|
|
3980
4054
|
overflow: 'hidden'
|
|
3981
4055
|
}
|
|
3982
4056
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3983
|
-
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4057
|
+
className: sectionproperties.cartbtntramsitionafterwhile == 'Yes' ? "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ' : "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3984
4058
|
style: {
|
|
3985
4059
|
width: sectionproperties.cartBtnWidth + '%'
|
|
3986
4060
|
},
|
|
3987
4061
|
onClick: function onClick() {
|
|
3988
4062
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
3989
|
-
var
|
|
3990
|
-
window.open('tel:' + ((
|
|
4063
|
+
var _fetchProductInfoQuer48;
|
|
4064
|
+
window.open('tel:' + ((_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.product_phonenumber), '_blank');
|
|
3991
4065
|
} else {
|
|
3992
4066
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
3993
4067
|
addtocartfunc();
|
|
@@ -4018,7 +4092,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4018
4092
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4019
4093
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4020
4094
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4021
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4095
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.productinfo) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4022
4096
|
className: ' d-flex align-items-center justify-content-center '
|
|
4023
4097
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4024
4098
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -4083,7 +4157,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4083
4157
|
style: {
|
|
4084
4158
|
width: sectionproperties.cartBtnWidth + '%'
|
|
4085
4159
|
}
|
|
4086
|
-
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4160
|
+
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4087
4161
|
"class": "row m-0 w-100 mt-3",
|
|
4088
4162
|
style: {
|
|
4089
4163
|
overflow: 'hidden'
|
|
@@ -4119,7 +4193,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4119
4193
|
"class": "col-lg-12 text-start p-md-0"
|
|
4120
4194
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4121
4195
|
className: "row m-0 w-100"
|
|
4122
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4196
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productinfo) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productfeatures) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.map(function (fitem, findex) {
|
|
4123
4197
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4124
4198
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4125
4199
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4157,19 +4231,19 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4157
4231
|
fontSize: sectionproperties.featurevaluefontsize
|
|
4158
4232
|
}
|
|
4159
4233
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
4160
|
-
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4234
|
+
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4161
4235
|
"class": "col-12 text-start mt-3"
|
|
4162
4236
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4163
4237
|
"class": productinfo_cssstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
4164
4238
|
onClick: function onClick() {
|
|
4165
4239
|
setopensizeguidemodal(true);
|
|
4166
4240
|
}
|
|
4167
|
-
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4241
|
+
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.productinfo) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4168
4242
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
4169
4243
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4170
4244
|
"class": "m-0"
|
|
4171
4245
|
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4172
|
-
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4246
|
+
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.hasvariants) == 0 ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mt-3'
|
|
4173
4247
|
}, sectionproperties.descriptioncollapseopen == 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
4174
4248
|
allowMultipleExpanded: true,
|
|
4175
4249
|
allowZeroExpanded: true,
|
|
@@ -4217,7 +4291,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4217
4291
|
color: sectionproperties.prodCatColor
|
|
4218
4292
|
},
|
|
4219
4293
|
dangerouslySetInnerHTML: {
|
|
4220
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4294
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.short_description_ar
|
|
4221
4295
|
}
|
|
4222
4296
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4223
4297
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -4391,7 +4465,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4391
4465
|
})
|
|
4392
4466
|
// actions={props.actions}
|
|
4393
4467
|
// srcfromprops={'collapsepinfo'}
|
|
4394
|
-
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4468
|
+
})))))), (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 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4395
4469
|
className: "col-lg-12 p-0 mb-3"
|
|
4396
4470
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4397
4471
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -4414,7 +4488,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4414
4488
|
}
|
|
4415
4489
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4416
4490
|
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 '
|
|
4417
|
-
}, 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 || (
|
|
4491
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.variants[variantindexcompleted]) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.variants[variantindexcompleted]) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.hassale) == 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", {
|
|
4418
4492
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
4419
4493
|
style: {
|
|
4420
4494
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -4428,14 +4502,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4428
4502
|
style: {
|
|
4429
4503
|
textDecoration: 'none'
|
|
4430
4504
|
}
|
|
4431
|
-
}, "-"), 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 || (
|
|
4505
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.variants[variantindexcompleted]) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4432
4506
|
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 '
|
|
4433
4507
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4434
4508
|
className: "ml-2 mr-2",
|
|
4435
4509
|
style: {
|
|
4436
4510
|
textDecoration: 'none'
|
|
4437
4511
|
}
|
|
4438
|
-
}, "-"), 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 || (
|
|
4512
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4439
4513
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
4440
4514
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4441
4515
|
style: {
|
|
@@ -4483,7 +4557,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4483
4557
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
4484
4558
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
4485
4559
|
}
|
|
4486
|
-
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4560
|
+
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4487
4561
|
"class": "col-lg-12 allcentered mb-2 p-sm-0 mt-2"
|
|
4488
4562
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4489
4563
|
"class": productinfo_cssstyles.sizeguidebtn,
|
|
@@ -4522,7 +4596,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4522
4596
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
4523
4597
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
4524
4598
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
4525
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4599
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.productmainimage),
|
|
4526
4600
|
style: {
|
|
4527
4601
|
width: '100%',
|
|
4528
4602
|
height: '100%',
|
|
@@ -4555,13 +4629,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4555
4629
|
color: sectionproperties.prodCatColor
|
|
4556
4630
|
},
|
|
4557
4631
|
dangerouslySetInnerHTML: {
|
|
4558
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4632
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.short_description_ar
|
|
4559
4633
|
}
|
|
4560
4634
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4561
4635
|
"class": "col-lg-12 text-start p-md-0"
|
|
4562
4636
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4563
4637
|
className: "row m-0 w-100"
|
|
4564
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4638
|
+
}, 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 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productfeatures) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.map(function (fitem, findex) {
|
|
4565
4639
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4566
4640
|
"class": ' col-md-6 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
4567
4641
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4603,7 +4677,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4603
4677
|
"class": "col-lg-12 p-0 my-4"
|
|
4604
4678
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4605
4679
|
"class": "row m-0 w-100"
|
|
4606
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4680
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productimages) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.length) != 0 && (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.productimages.map(function (item, index) {
|
|
4607
4681
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4608
4682
|
"class": "col-lg-4 col-sm-12 mb-md-2 p-md-0"
|
|
4609
4683
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4630,7 +4704,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4630
4704
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
4631
4705
|
},
|
|
4632
4706
|
dangerouslySetInnerHTML: {
|
|
4633
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4707
|
+
__html: langdetect == '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_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.description_ar
|
|
4634
4708
|
}
|
|
4635
4709
|
}))))), Object.keys(sectionproperties).length != 0 && (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", {
|
|
4636
4710
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
@@ -4664,7 +4738,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4664
4738
|
duration: 1500,
|
|
4665
4739
|
arrow: true,
|
|
4666
4740
|
easing: "ease"
|
|
4667
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4741
|
+
}), (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.productimages) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.length) != 0 && (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.productimages.map(function (item, index) {
|
|
4668
4742
|
if (item.is_size_guide != 1) {
|
|
4669
4743
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4670
4744
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -4719,7 +4793,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4719
4793
|
color: sectionproperties.prodCatColor
|
|
4720
4794
|
},
|
|
4721
4795
|
dangerouslySetInnerHTML: {
|
|
4722
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4796
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.description_ar
|
|
4723
4797
|
}
|
|
4724
4798
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4725
4799
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -4765,7 +4839,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4765
4839
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
4766
4840
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
4767
4841
|
className: 'table tablevertical'
|
|
4768
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4842
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productfeatures) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.map(function (fitem, findex) {
|
|
4769
4843
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
4770
4844
|
style: {
|
|
4771
4845
|
textTransform: 'capitalize',
|
|
@@ -4808,8 +4882,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4808
4882
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4809
4883
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
4810
4884
|
onClick: function onClick() {
|
|
4811
|
-
var
|
|
4812
|
-
window.open('tel:' + ((
|
|
4885
|
+
var _fetchProductInfoQuer77;
|
|
4886
|
+
window.open('tel:' + ((_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.product_phonenumber), '_blank');
|
|
4813
4887
|
},
|
|
4814
4888
|
style: {
|
|
4815
4889
|
width: '40%',
|
|
@@ -4860,8 +4934,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4860
4934
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4861
4935
|
onClick: function onClick() {
|
|
4862
4936
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4863
|
-
var
|
|
4864
|
-
window.open('tel:' + ((
|
|
4937
|
+
var _fetchProductInfoQuer78;
|
|
4938
|
+
window.open('tel:' + ((_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.product_phonenumber), '_blank');
|
|
4865
4939
|
} else {
|
|
4866
4940
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4867
4941
|
addtocartfunc();
|
|
@@ -4892,7 +4966,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4892
4966
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4893
4967
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4894
4968
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4895
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4969
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4896
4970
|
className: ' d-flex align-items-center justify-content-center '
|
|
4897
4971
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4898
4972
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -4931,7 +5005,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4931
5005
|
duration: 1500,
|
|
4932
5006
|
arrow: true,
|
|
4933
5007
|
easing: "ease"
|
|
4934
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5008
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productimages) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.productimages.map(function (item, index) {
|
|
4935
5009
|
if (item.is_size_guide != 1) {
|
|
4936
5010
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4937
5011
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -4986,7 +5060,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4986
5060
|
color: sectionproperties.prodCatColor
|
|
4987
5061
|
},
|
|
4988
5062
|
dangerouslySetInnerHTML: {
|
|
4989
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5063
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.description_ar
|
|
4990
5064
|
}
|
|
4991
5065
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4992
5066
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -5030,7 +5104,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5030
5104
|
className: "p-0"
|
|
5031
5105
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5032
5106
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
5033
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5107
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productfeatures) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.map(function (fitem, findex) {
|
|
5034
5108
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5035
5109
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'
|
|
5036
5110
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5126,7 +5200,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5126
5200
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
5127
5201
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5128
5202
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5129
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5203
|
+
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.vendorinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.vendorlogourl,
|
|
5130
5204
|
loading: "lazy",
|
|
5131
5205
|
style: {
|
|
5132
5206
|
maxWidth: '100%',
|
|
@@ -5140,7 +5214,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5140
5214
|
style: {
|
|
5141
5215
|
fontSize: 17
|
|
5142
5216
|
}
|
|
5143
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5217
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.productinfo) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.vendorinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.address)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5144
5218
|
"class": "col-lg-3"
|
|
5145
5219
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5146
5220
|
"class": "row m-0 w-100"
|
|
@@ -5149,8 +5223,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5149
5223
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5150
5224
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
5151
5225
|
onClick: function onClick() {
|
|
5152
|
-
var
|
|
5153
|
-
window.open('tel:' + ((
|
|
5226
|
+
var _fetchProductInfoQuer88;
|
|
5227
|
+
window.open('tel:' + ((_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.product_phonenumber), '_blank');
|
|
5154
5228
|
},
|
|
5155
5229
|
style: {
|
|
5156
5230
|
width: '40%',
|
|
@@ -5201,8 +5275,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5201
5275
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
5202
5276
|
onClick: function onClick() {
|
|
5203
5277
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5204
|
-
var
|
|
5205
|
-
window.open('tel:' + ((
|
|
5278
|
+
var _fetchProductInfoQuer89;
|
|
5279
|
+
window.open('tel:' + ((_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.product_phonenumber), '_blank');
|
|
5206
5280
|
} else {
|
|
5207
5281
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5208
5282
|
addtocartfunc();
|
|
@@ -5233,7 +5307,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5233
5307
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5234
5308
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5235
5309
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5236
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5310
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5237
5311
|
className: ' d-flex align-items-center justify-content-center '
|
|
5238
5312
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5239
5313
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5304,8 +5378,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5304
5378
|
},
|
|
5305
5379
|
onClick: function onClick() {
|
|
5306
5380
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5307
|
-
var
|
|
5308
|
-
window.open('tel:' + ((
|
|
5381
|
+
var _fetchProductInfoQuer92;
|
|
5382
|
+
window.open('tel:' + ((_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.product_phonenumber), '_blank');
|
|
5309
5383
|
} else {
|
|
5310
5384
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5311
5385
|
addtocartfunc();
|
|
@@ -5336,7 +5410,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5336
5410
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5337
5411
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5338
5412
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5339
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5413
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5340
5414
|
className: ' d-flex align-items-center justify-content-center '
|
|
5341
5415
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5342
5416
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5349,7 +5423,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5349
5423
|
function ownKeys$2y(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; }
|
|
5350
5424
|
function _objectSpread$2y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5351
5425
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
5352
|
-
var _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer22, _fetchProductInfoQuer23;
|
|
5426
|
+
var _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _authdetailsContext$i, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer22, _fetchProductInfoQuer23;
|
|
5353
5427
|
var langdetect = props.actions.langdetect;
|
|
5354
5428
|
var lang = props.actions.lang;
|
|
5355
5429
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -5379,10 +5453,6 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
5379
5453
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
5380
5454
|
tabsarray = _useState2[0];
|
|
5381
5455
|
_useState2[1];
|
|
5382
|
-
// const excludeDates = [
|
|
5383
|
-
// new Date(2024, 12, 20), // Dec 25, 2024
|
|
5384
|
-
// new Date(2024, 12, 31), // Dec 31, 2024
|
|
5385
|
-
// ];
|
|
5386
5456
|
var _useState3 = React.useState(''),
|
|
5387
5457
|
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
5388
5458
|
_useState4[0];
|
|
@@ -5793,7 +5863,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
5793
5863
|
"class": "col-lg-12 col-md-12 col-sm-12 mb-2"
|
|
5794
5864
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5795
5865
|
"class": "row m-0 w-100"
|
|
5796
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5866
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '66cf4427e144e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5797
5867
|
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
5798
5868
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5799
5869
|
"class": TabsStyles.inputfield_label + ' m-0 pb-2 '
|
|
@@ -17147,7 +17217,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
17147
17217
|
function ownKeys$2j(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; }
|
|
17148
17218
|
function _objectSpread$2j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2j(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17149
17219
|
var OrderSuccess = function OrderSuccess(props) {
|
|
17150
|
-
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$
|
|
17220
|
+
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat3, _lastOrderinfoObj$dat4, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat0, _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
17151
17221
|
var lang = props.actions.lang;
|
|
17152
17222
|
var langdetect = props.actions.langdetect;
|
|
17153
17223
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -17313,6 +17383,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17313
17383
|
})
|
|
17314
17384
|
};
|
|
17315
17385
|
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat('My order number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat === void 0 || (_lastOrderinfoObj$dat = _lastOrderinfoObj$dat.orderinfo) === null || _lastOrderinfoObj$dat === void 0 ? void 0 : _lastOrderinfoObj$dat.orderid));
|
|
17386
|
+
var whatsappUrlshelghada = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat('My reservation number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat2 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat2 === void 0 || (_lastOrderinfoObj$dat2 = _lastOrderinfoObj$dat2.orderinfo) === null || _lastOrderinfoObj$dat2 === void 0 ? void 0 : _lastOrderinfoObj$dat2.orderid));
|
|
17316
17387
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17317
17388
|
className: ordersuccessstyle.containerstyle + ' row ml-0 mr-0 w-100 justify-content-center pl-md-3 pr-md-3 pl-sm-2 pr-sm-2 ',
|
|
17318
17389
|
style: {}
|
|
@@ -17361,9 +17432,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17361
17432
|
style: {
|
|
17362
17433
|
fontSize: 15
|
|
17363
17434
|
}
|
|
17364
|
-
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17435
|
+
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat3 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat3 === void 0 || (_lastOrderinfoObj$dat3 = _lastOrderinfoObj$dat3.orderinfo) === null || _lastOrderinfoObj$dat3 === void 0 ? void 0 : _lastOrderinfoObj$dat3.orderid), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17365
17436
|
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
17366
|
-
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17437
|
+
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat4 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat4 === void 0 || (_lastOrderinfoObj$dat4 = _lastOrderinfoObj$dat4.orderinfo) === null || _lastOrderinfoObj$dat4 === void 0 ? void 0 : _lastOrderinfoObj$dat4.customername), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17367
17438
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
17368
17439
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17369
17440
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
@@ -17397,9 +17468,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17397
17468
|
}
|
|
17398
17469
|
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17399
17470
|
"class": "col-12 p-0 text-start"
|
|
17400
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17471
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat5 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat5 === void 0 || (_lastOrderinfoObj$dat5 = _lastOrderinfoObj$dat5.orderinfo) === null || _lastOrderinfoObj$dat5 === void 0 ? void 0 : _lastOrderinfoObj$dat5.customeremail)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17401
17472
|
"class": "col-12 p-0 text-start"
|
|
17402
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17473
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat6 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat6 === void 0 || (_lastOrderinfoObj$dat6 = _lastOrderinfoObj$dat6.orderinfo) === null || _lastOrderinfoObj$dat6 === void 0 ? void 0 : _lastOrderinfoObj$dat6.customerphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17403
17474
|
"class": "col-12 p-0 text-start mb-2"
|
|
17404
17475
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17405
17476
|
style: {
|
|
@@ -17409,7 +17480,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17409
17480
|
"class": "m-0"
|
|
17410
17481
|
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17411
17482
|
"class": "col-12 p-0 text-start"
|
|
17412
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17483
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat7 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat7 === void 0 || (_lastOrderinfoObj$dat7 = _lastOrderinfoObj$dat7.orderinfo) === null || _lastOrderinfoObj$dat7 === void 0 ? void 0 : _lastOrderinfoObj$dat7.address)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17413
17484
|
"class": "col-6 col-md-12"
|
|
17414
17485
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17415
17486
|
"class": "col-12 p-0 text-start mb-2"
|
|
@@ -17421,7 +17492,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17421
17492
|
"class": "m-0"
|
|
17422
17493
|
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17423
17494
|
"class": "col-12 p-0 text-start"
|
|
17424
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17495
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat8 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat8 === void 0 || (_lastOrderinfoObj$dat8 = _lastOrderinfoObj$dat8.orderinfo) === null || _lastOrderinfoObj$dat8 === void 0 ? void 0 : _lastOrderinfoObj$dat8.paymentmethod) == 'cod' ? langdetect == 'en' ? 'Cash on delivery' : 'الدفع عند الاستلام' : lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat9 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat9 === void 0 || (_lastOrderinfoObj$dat9 = _lastOrderinfoObj$dat9.orderinfo) === null || _lastOrderinfoObj$dat9 === void 0 ? void 0 : _lastOrderinfoObj$dat9.paymentmethod))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17425
17496
|
"class": "col-6 col-md-12 p-md-0"
|
|
17426
17497
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17427
17498
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -17441,8 +17512,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17441
17512
|
maxHeight: '40vh',
|
|
17442
17513
|
overflowY: 'auto'
|
|
17443
17514
|
}
|
|
17444
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17445
|
-
var _lastOrderinfoObj$
|
|
17515
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat0 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat0 === void 0 ? void 0 : _lastOrderinfoObj$dat0.orderitems.map(function (item, index) {
|
|
17516
|
+
var _lastOrderinfoObj$dat1, _lastOrderinfoObj$dat10;
|
|
17446
17517
|
var variantoptions = [];
|
|
17447
17518
|
if (item.isvariant == 1) {
|
|
17448
17519
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -17484,7 +17555,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17484
17555
|
className: "col-4 d-flex text-end"
|
|
17485
17556
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17486
17557
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
17487
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17558
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat1 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat1 === void 0 || (_lastOrderinfoObj$dat1 = _lastOrderinfoObj$dat1.orderinfo) === null || _lastOrderinfoObj$dat1 === void 0 ? void 0 : _lastOrderinfoObj$dat1.currencyname_en : '', " ", item.finalprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat10 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat10 === void 0 || (_lastOrderinfoObj$dat10 = _lastOrderinfoObj$dat10.orderinfo) === null || _lastOrderinfoObj$dat10 === void 0 ? void 0 : _lastOrderinfoObj$dat10.currencyname_ar : '')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17488
17559
|
"class": "col-12 my-2"
|
|
17489
17560
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17490
17561
|
style: {
|
|
@@ -17508,7 +17579,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17508
17579
|
"class": "col-6 text-end"
|
|
17509
17580
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17510
17581
|
className: "m-0 p-0 font-weight-500"
|
|
17511
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17582
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat11 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat11 === void 0 || (_lastOrderinfoObj$dat11 = _lastOrderinfoObj$dat11.orderinfo) === null || _lastOrderinfoObj$dat11 === void 0 ? void 0 : _lastOrderinfoObj$dat11.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat12 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat12 === void 0 ? void 0 : _lastOrderinfoObj$dat12.totalitemsprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat13 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat13 === void 0 || (_lastOrderinfoObj$dat13 = _lastOrderinfoObj$dat13.orderinfo) === null || _lastOrderinfoObj$dat13 === void 0 ? void 0 : _lastOrderinfoObj$dat13.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17512
17583
|
"class": "col-lg-12 p-0 mt-1",
|
|
17513
17584
|
style: {
|
|
17514
17585
|
fontSize: 16
|
|
@@ -17523,7 +17594,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17523
17594
|
"class": "col-6 text-end"
|
|
17524
17595
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17525
17596
|
className: "m-0 p-0 font-weight-500"
|
|
17526
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17597
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 || (_lastOrderinfoObj$dat14 = _lastOrderinfoObj$dat14.orderinfo) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat15 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat15 === void 0 ? void 0 : _lastOrderinfoObj$dat15.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat16 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat16 === void 0 || (_lastOrderinfoObj$dat16 = _lastOrderinfoObj$dat16.orderinfo) === null || _lastOrderinfoObj$dat16 === void 0 ? void 0 : _lastOrderinfoObj$dat16.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17527
17598
|
"class": "col-lg-12 p-0 my-3"
|
|
17528
17599
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17529
17600
|
style: {
|
|
@@ -17546,7 +17617,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17546
17617
|
"class": "col-6 text-end"
|
|
17547
17618
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17548
17619
|
className: "m-0 p-0 font-weight-500"
|
|
17549
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17620
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat17 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat17 === void 0 || (_lastOrderinfoObj$dat17 = _lastOrderinfoObj$dat17.orderinfo) === null || _lastOrderinfoObj$dat17 === void 0 ? void 0 : _lastOrderinfoObj$dat17.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat18 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat18 === void 0 ? void 0 : _lastOrderinfoObj$dat18.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat19 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat19 === void 0 || (_lastOrderinfoObj$dat19 = _lastOrderinfoObj$dat19.orderinfo) === null || _lastOrderinfoObj$dat19 === void 0 ? void 0 : _lastOrderinfoObj$dat19.currencyname_ar : '')))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17550
17621
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
17551
17622
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17552
17623
|
"class": ' allcentered cursor-pointer ',
|
|
@@ -17567,7 +17638,28 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17567
17638
|
}
|
|
17568
17639
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
17569
17640
|
"class": ''
|
|
17570
|
-
}, 'Send it to whatsApp'))))
|
|
17641
|
+
}, 'Send it to whatsApp')))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instid) == '681d303ba75f2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17642
|
+
"class": "col-12 allcentered mt-5 mb-3"
|
|
17643
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17644
|
+
"class": ' allcentered cursor-pointer ',
|
|
17645
|
+
style: {
|
|
17646
|
+
width: '200px',
|
|
17647
|
+
height: 40,
|
|
17648
|
+
borderRadius: 10,
|
|
17649
|
+
color: 'white',
|
|
17650
|
+
background: '#22cd5b'
|
|
17651
|
+
}
|
|
17652
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
17653
|
+
href: langdetect == 'en' ? whatsappUrlshelghada : whatsappUrlshelghada,
|
|
17654
|
+
target: "_blank",
|
|
17655
|
+
rel: "noopener noreferrer",
|
|
17656
|
+
"class": ' allcentered cursor-pointer ',
|
|
17657
|
+
style: {
|
|
17658
|
+
color: 'white'
|
|
17659
|
+
}
|
|
17660
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
17661
|
+
"class": ''
|
|
17662
|
+
}, 'Send your passport number via whatsApp'))))), sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17571
17663
|
className: "col-lg-12 allcentered flex-column "
|
|
17572
17664
|
}, /*#__PURE__*/React__default["default"].createElement(IoBagCheckOutline.IoBagCheckOutline, {
|
|
17573
17665
|
size: sectionproperties.icontextfontsize,
|
|
@@ -61939,7 +62031,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
|
|
|
61939
62031
|
function ownKeys$1g(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; }
|
|
61940
62032
|
function _objectSpread$1g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1g(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
61941
62033
|
var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props) {
|
|
61942
|
-
var _css,
|
|
62034
|
+
var _css, _fetchProductFeatures;
|
|
61943
62035
|
var _useState = React.useState(''),
|
|
61944
62036
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
61945
62037
|
sectionproperties = _useState2[0],
|
|
@@ -61955,7 +62047,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61955
62047
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
61956
62048
|
imagesarray = _useState6[0],
|
|
61957
62049
|
setimagesarray = _useState6[1];
|
|
61958
|
-
|
|
62050
|
+
props.actions.lang;
|
|
61959
62051
|
var langdetect = props.actions.langdetect;
|
|
61960
62052
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
61961
62053
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
@@ -61966,7 +62058,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61966
62058
|
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
61967
62059
|
var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
|
|
61968
62060
|
var fetchproductsfilerobjcontext = props.actions.fetchproductsfilerobjcontext;
|
|
61969
|
-
props.actions.fetchProductFeaturesQueryContext;
|
|
62061
|
+
var fetchProductFeaturesQueryContext = props.actions.fetchProductFeaturesQueryContext;
|
|
61970
62062
|
var routingcountext = props.actions.routingcountext;
|
|
61971
62063
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
61972
62064
|
// const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
@@ -61987,21 +62079,21 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61987
62079
|
_useState10[0];
|
|
61988
62080
|
_useState10[1];
|
|
61989
62081
|
var _useState11 = React.useState([]),
|
|
61990
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2)
|
|
61991
|
-
_useState12[0]
|
|
61992
|
-
_useState12[1];
|
|
62082
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
62083
|
+
productfeatuesarr = _useState12[0],
|
|
62084
|
+
setproductfeatuesarr = _useState12[1];
|
|
61993
62085
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
61994
62086
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
61995
62087
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
61996
62088
|
props.actions.fetchcollectionsQueryContext;
|
|
61997
62089
|
var _useState13 = React.useState(''),
|
|
61998
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2)
|
|
61999
|
-
_useState14[0]
|
|
62000
|
-
_useState14[1];
|
|
62090
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
62091
|
+
from_date_filter_input = _useState14[0],
|
|
62092
|
+
setfrom_date_filter_input = _useState14[1];
|
|
62001
62093
|
var _useState15 = React.useState(''),
|
|
62002
|
-
_useState16 = _slicedToArray__default["default"](_useState15, 2)
|
|
62003
|
-
_useState16[0]
|
|
62004
|
-
_useState16[1];
|
|
62094
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
62095
|
+
to_date_filter_input = _useState16[0],
|
|
62096
|
+
setto_date_filter_input = _useState16[1];
|
|
62005
62097
|
React.useEffect(function () {
|
|
62006
62098
|
var tempFetchQueriesEngineContext = _objectSpread$1g({}, FetchQueriesEngineContext);
|
|
62007
62099
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
@@ -62040,17 +62132,6 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62040
62132
|
}
|
|
62041
62133
|
}
|
|
62042
62134
|
}, [sectionproperties]);
|
|
62043
|
-
var options = [{
|
|
62044
|
-
value: 'chocolate',
|
|
62045
|
-
label: 'السعودية'
|
|
62046
|
-
}];
|
|
62047
|
-
var optionsSTATE = [{
|
|
62048
|
-
value: 'chocolate',
|
|
62049
|
-
label: 'جدة'
|
|
62050
|
-
}, {
|
|
62051
|
-
value: 'chocolate',
|
|
62052
|
-
label: 'مكة'
|
|
62053
|
-
}];
|
|
62054
62135
|
var sectionstyles = {
|
|
62055
62136
|
form_control: glamor.css((_css = {
|
|
62056
62137
|
position: 'relative',
|
|
@@ -62126,8 +62207,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62126
62207
|
marginRight: sectionproperties.card_marginRight + 'px',
|
|
62127
62208
|
backgroundColor: 'white',
|
|
62128
62209
|
'@media (max-width: 800px)': {
|
|
62129
|
-
height: sectionproperties.height_responsive + 'vh'
|
|
62130
|
-
marginTop: sectionproperties.marginTopResp + 'px'
|
|
62210
|
+
height: sectionproperties.height_responsive + 'vh'
|
|
62131
62211
|
}
|
|
62132
62212
|
})
|
|
62133
62213
|
};
|
|
@@ -62213,7 +62293,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62213
62293
|
}, langdetect == 'en' ? sectionproperties.formRightText2 : sectionproperties.formRightText2_ar), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62214
62294
|
"class": "row m-0 w-100 justify-content-center"
|
|
62215
62295
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
62216
|
-
"class": sectionstyles.btnstyles + ' allcentered
|
|
62296
|
+
"class": sectionstyles.btnstyles + ' allcentered '
|
|
62217
62297
|
// onClick={() => {
|
|
62218
62298
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
62219
62299
|
// }}
|
|
@@ -62298,7 +62378,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62298
62378
|
placeholder: ''
|
|
62299
62379
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62300
62380
|
"class": sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? 'col-lg-8 p-0' : sectionproperties.showpricerange == 'Show' ? 'col-lg-9 p-0' : sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Hide' ? 'col-lg-8 p-0' : 'col-lg-12 p-0'
|
|
62301
|
-
},
|
|
62381
|
+
}, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm, {
|
|
62302
62382
|
payloadobj: payloadobj,
|
|
62303
62383
|
setpayloadobj: setpayloadobj,
|
|
62304
62384
|
sectionproperties: sectionproperties
|
|
@@ -62311,30 +62391,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62311
62391
|
fetchTabexCountriesQueryContext: fetchTabexCountriesQueryContext,
|
|
62312
62392
|
fetchTabexStatesQueryContext: fetchTabexStatesQueryContext,
|
|
62313
62393
|
fetchTabexCitiesQueryContext: fetchTabexCitiesQueryContext
|
|
62314
|
-
}),
|
|
62315
|
-
className: "row m-0 w-100",
|
|
62316
|
-
style: {
|
|
62317
|
-
display: sectionproperties.hidecountrystatecity == 'Show' ? 'flex' : sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
|
|
62318
|
-
}
|
|
62319
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62320
|
-
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
62321
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62322
|
-
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
62323
|
-
}, lang.country), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
62324
|
-
options: options,
|
|
62325
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
62326
|
-
placeholder: '',
|
|
62327
|
-
isSearchable: true
|
|
62328
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62329
|
-
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
62330
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62331
|
-
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
62332
|
-
}, 'المنطقة'), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
62333
|
-
options: optionsSTATE,
|
|
62334
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
62335
|
-
placeholder: '',
|
|
62336
|
-
isSearchable: true
|
|
62337
|
-
})))), sectionproperties.showpricerange == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62394
|
+
})), sectionproperties.showpricerange == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62338
62395
|
className: sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-2 col-md-12 col-sm-12 mb-sm-3 ' : "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
|
|
62339
62396
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62340
62397
|
className: "".concat(sectionstyles.input_label_name) + ' mb-3 '
|
|
@@ -62357,7 +62414,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62357
62414
|
}))))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62358
62415
|
"class": 'col-lg-12 mt-3 p-0 allcentered'
|
|
62359
62416
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
62360
|
-
"class": sectionstyles.btnstyles + ' allcentered
|
|
62417
|
+
"class": sectionstyles.btnstyles + ' allcentered ',
|
|
62361
62418
|
onClick: function onClick() {
|
|
62362
62419
|
var _payloadobj$countryid, _payloadobj$stateid, _payloadobj$cityid, _pricevalue$min, _pricevalue$max;
|
|
62363
62420
|
var tempfetchproductsfilerobjcontext = _objectSpread$1g({}, fetchproductsfilerobjcontext);
|
|
@@ -62402,7 +62459,301 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62402
62459
|
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
62403
62460
|
}
|
|
62404
62461
|
}
|
|
62405
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))
|
|
62462
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), sectionproperties.sectionstyletype == 'Style 3' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62463
|
+
"class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
|
|
62464
|
+
style: {
|
|
62465
|
+
zIndex: 2
|
|
62466
|
+
}
|
|
62467
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62468
|
+
"class": imagesarray.length != 0 ? 'row m-0 w-100 d-flex align-items-center justify-content-start' : 'row m-0 w-100 d-flex align-items-center justify-content-center'
|
|
62469
|
+
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62470
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
62471
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62472
|
+
"class": "wordbreak",
|
|
62473
|
+
style: {
|
|
62474
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
62475
|
+
color: sectionproperties.sectionTitleColor,
|
|
62476
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
62477
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
62478
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
62479
|
+
marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
|
|
62480
|
+
}
|
|
62481
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62482
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
62483
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62484
|
+
style: {
|
|
62485
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
62486
|
+
color: sectionproperties.prodCatColor,
|
|
62487
|
+
textTransform: sectionproperties.prodCatTextTranform,
|
|
62488
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
62489
|
+
maxWidth: '500px'
|
|
62490
|
+
}
|
|
62491
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62492
|
+
"class": 'col-lg-11 col-md-12 col-sm-12 allcentered mt-3',
|
|
62493
|
+
style: {
|
|
62494
|
+
backgroundColor: sectionproperties.reservation_bgcolor,
|
|
62495
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
62496
|
+
paddingTop: sectionproperties.reservation_padding_top + 'px',
|
|
62497
|
+
paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
|
|
62498
|
+
paddingLeft: sectionproperties.reservation_padding_left + 'px',
|
|
62499
|
+
paddingRight: sectionproperties.reservation_padding_right + 'px'
|
|
62500
|
+
}
|
|
62501
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62502
|
+
"class": "row m-0 w-100 allcentered"
|
|
62503
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62504
|
+
"class": "col-lg-12 p-0"
|
|
62505
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62506
|
+
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
62507
|
+
}, (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 ? void 0 : fetchProductFeaturesQueryContext.isSuccess) && (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 || (_fetchProductFeatures = fetchProductFeaturesQueryContext.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.productfeatues) === null || _fetchProductFeatures === void 0 ? void 0 : _fetchProductFeatures.map(function (item, index) {
|
|
62508
|
+
if (item.type == 'Selectbox') {
|
|
62509
|
+
var _item$featuresselectb;
|
|
62510
|
+
var selectboxarr = [];
|
|
62511
|
+
item === null || item === void 0 || (_item$featuresselectb = item.featuresselectbovalue) === null || _item$featuresselectb === void 0 || _item$featuresselectb.forEach(function (slecitem) {
|
|
62512
|
+
var itemlabel = '';
|
|
62513
|
+
if (langdetect == 'en') {
|
|
62514
|
+
itemlabel = slecitem.value_en;
|
|
62515
|
+
} else {
|
|
62516
|
+
itemlabel = slecitem.value_ar;
|
|
62517
|
+
}
|
|
62518
|
+
selectboxarr.push({
|
|
62519
|
+
label: itemlabel,
|
|
62520
|
+
value: slecitem.value_en
|
|
62521
|
+
});
|
|
62522
|
+
});
|
|
62523
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62524
|
+
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
62525
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62526
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
62527
|
+
style: {
|
|
62528
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
62529
|
+
}
|
|
62530
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62531
|
+
"class": 'col-lg-12 p-0'
|
|
62532
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
62533
|
+
options: selectboxarr,
|
|
62534
|
+
styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
|
|
62535
|
+
placeholder: '',
|
|
62536
|
+
onChange: function onChange(e) {
|
|
62537
|
+
var isattrexists = false;
|
|
62538
|
+
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
62539
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
62540
|
+
if (attritem.id == item.id) {
|
|
62541
|
+
tempproductfeatuesarr[attrindex].value = e.value;
|
|
62542
|
+
isattrexists = true;
|
|
62543
|
+
}
|
|
62544
|
+
});
|
|
62545
|
+
if (isattrexists == false) {
|
|
62546
|
+
tempproductfeatuesarr.push({
|
|
62547
|
+
id: item.id,
|
|
62548
|
+
value: e.value
|
|
62549
|
+
});
|
|
62550
|
+
}
|
|
62551
|
+
setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
|
|
62552
|
+
}
|
|
62553
|
+
})));
|
|
62554
|
+
}
|
|
62555
|
+
if (item.type == 'Number') {
|
|
62556
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62557
|
+
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
62558
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62559
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
62560
|
+
style: {
|
|
62561
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
62562
|
+
}
|
|
62563
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62564
|
+
"class": 'col-lg-12 p-0 mt-1'
|
|
62565
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
62566
|
+
type: "number",
|
|
62567
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control),
|
|
62568
|
+
placeholder: '',
|
|
62569
|
+
onChange: function onChange(e) {
|
|
62570
|
+
var isattrexists = false;
|
|
62571
|
+
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
62572
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
62573
|
+
if (attritem.id == item.id) {
|
|
62574
|
+
tempproductfeatuesarr[attrindex].value = e.target.value;
|
|
62575
|
+
isattrexists = true;
|
|
62576
|
+
}
|
|
62577
|
+
});
|
|
62578
|
+
if (isattrexists == false) {
|
|
62579
|
+
tempproductfeatuesarr.push({
|
|
62580
|
+
id: item.id,
|
|
62581
|
+
value: e.target.value
|
|
62582
|
+
});
|
|
62583
|
+
}
|
|
62584
|
+
setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
|
|
62585
|
+
}
|
|
62586
|
+
})));
|
|
62587
|
+
}
|
|
62588
|
+
if (item.type == 'NumberRange') {
|
|
62589
|
+
var temppricevalue = {
|
|
62590
|
+
min: 0,
|
|
62591
|
+
max: 10000
|
|
62592
|
+
};
|
|
62593
|
+
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
62594
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
62595
|
+
if (attritem.id == item.id) {
|
|
62596
|
+
var _attritem$value, _attritem$valuemax;
|
|
62597
|
+
if (attritem.value != undefined && attritem.value != null && (attritem === null || attritem === void 0 || (_attritem$value = attritem.value) === null || _attritem$value === void 0 ? void 0 : _attritem$value.length) != 0) {
|
|
62598
|
+
temppricevalue.min = attritem.value;
|
|
62599
|
+
}
|
|
62600
|
+
if (attritem.valuemax != undefined && attritem.valuemax != null && (attritem === null || attritem === void 0 || (_attritem$valuemax = attritem.valuemax) === null || _attritem$valuemax === void 0 ? void 0 : _attritem$valuemax.length) != 0) {
|
|
62601
|
+
temppricevalue.max = attritem.valuemax;
|
|
62602
|
+
}
|
|
62603
|
+
}
|
|
62604
|
+
});
|
|
62605
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62606
|
+
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-3 '
|
|
62607
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62608
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
62609
|
+
style: {
|
|
62610
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
62611
|
+
}
|
|
62612
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62613
|
+
"class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
|
|
62614
|
+
style: {
|
|
62615
|
+
direction: 'ltr'
|
|
62616
|
+
}
|
|
62617
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputRange__default["default"], {
|
|
62618
|
+
draggableTrack: true,
|
|
62619
|
+
formatLabel: function formatLabel(value) {
|
|
62620
|
+
return "".concat(value);
|
|
62621
|
+
},
|
|
62622
|
+
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
62623
|
+
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
62624
|
+
value: temppricevalue,
|
|
62625
|
+
onChange: function onChange(e) {
|
|
62626
|
+
// setpricevalue({ ...value });
|
|
62627
|
+
var isattrexists = false;
|
|
62628
|
+
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
62629
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
62630
|
+
if (attritem.id == item.id) {
|
|
62631
|
+
tempproductfeatuesarr[attrindex].value = e.min;
|
|
62632
|
+
tempproductfeatuesarr[attrindex].valuemax = e.max;
|
|
62633
|
+
isattrexists = true;
|
|
62634
|
+
}
|
|
62635
|
+
});
|
|
62636
|
+
if (isattrexists == false) {
|
|
62637
|
+
tempproductfeatuesarr.push({
|
|
62638
|
+
id: item.id,
|
|
62639
|
+
value: e.min,
|
|
62640
|
+
valuemax: e.max
|
|
62641
|
+
});
|
|
62642
|
+
}
|
|
62643
|
+
setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
|
|
62644
|
+
}
|
|
62645
|
+
})));
|
|
62646
|
+
}
|
|
62647
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62648
|
+
"class": "col-lg-3 col-md-12"
|
|
62649
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62650
|
+
"class": "row m-0 w-100"
|
|
62651
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62652
|
+
"class": "col-lg-12 p-0 text-start"
|
|
62653
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62654
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
62655
|
+
style: {
|
|
62656
|
+
color: sectionproperties.form_labelcolor,
|
|
62657
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
62658
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
62659
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
62660
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0,
|
|
62661
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
62662
|
+
}
|
|
62663
|
+
}, langdetect == 'en' ? 'From' : 'من')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62664
|
+
"class": "col-lg-12 p-0 text-start"
|
|
62665
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
62666
|
+
type: 'date',
|
|
62667
|
+
onChange: function onChange(e) {
|
|
62668
|
+
setfrom_date_filter_input(e.target.value);
|
|
62669
|
+
},
|
|
62670
|
+
value: from_date_filter_input,
|
|
62671
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
62672
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62673
|
+
"class": "col-lg-3 col-md-12"
|
|
62674
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62675
|
+
"class": "col-lg-12 p-0 text-start"
|
|
62676
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62677
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
62678
|
+
style: {
|
|
62679
|
+
color: sectionproperties.form_labelcolor,
|
|
62680
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
62681
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
62682
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
62683
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0,
|
|
62684
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
62685
|
+
}
|
|
62686
|
+
}, langdetect == 'en' ? 'To' : 'الى')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62687
|
+
"class": "col-lg-12 p-0 text-start"
|
|
62688
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
62689
|
+
type: 'date',
|
|
62690
|
+
onChange: function onChange(e) {
|
|
62691
|
+
setto_date_filter_input(e.target.value);
|
|
62692
|
+
},
|
|
62693
|
+
value: to_date_filter_input,
|
|
62694
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
62695
|
+
})), "\xA0"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62696
|
+
"class": "col-lg-2 col-md-12 text-end",
|
|
62697
|
+
style: {
|
|
62698
|
+
marginLeft: langdetect == 'en' ? 'auto' : '',
|
|
62699
|
+
marginRight: langdetect == 'ar' ? 'auto' : ''
|
|
62700
|
+
}
|
|
62701
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
62702
|
+
"class": sectionstyles.btnstyles + ' allcentered ',
|
|
62703
|
+
onClick: function onClick() {
|
|
62704
|
+
var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
|
|
62705
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1g({}, fetchproductsfilerobjcontext);
|
|
62706
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.countryid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$countryid2 = payloadobj.countryid) === null || _payloadobj$countryid2 === void 0 ? void 0 : _payloadobj$countryid2.length) != 0) {
|
|
62707
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
62708
|
+
tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
|
|
62709
|
+
} else {
|
|
62710
|
+
tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
|
|
62711
|
+
}
|
|
62712
|
+
}
|
|
62713
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.stateid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$stateid2 = payloadobj.stateid) === null || _payloadobj$stateid2 === void 0 ? void 0 : _payloadobj$stateid2.length) != 0) {
|
|
62714
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
62715
|
+
tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
|
|
62716
|
+
} else {
|
|
62717
|
+
tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
|
|
62718
|
+
}
|
|
62719
|
+
}
|
|
62720
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.cityid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$cityid2 = payloadobj.cityid) === null || _payloadobj$cityid2 === void 0 ? void 0 : _payloadobj$cityid2.length) != 0) {
|
|
62721
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
62722
|
+
tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
|
|
62723
|
+
} else {
|
|
62724
|
+
tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
|
|
62725
|
+
}
|
|
62726
|
+
}
|
|
62727
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
|
|
62728
|
+
tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
|
|
62729
|
+
}
|
|
62730
|
+
if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.min) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$min2 = pricevalue.min) === null || _pricevalue$min2 === void 0 ? void 0 : _pricevalue$min2.length) != 0) {
|
|
62731
|
+
tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
|
|
62732
|
+
}
|
|
62733
|
+
if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.max) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$max2 = pricevalue.max) === null || _pricevalue$max2 === void 0 ? void 0 : _pricevalue$max2.length) != 0) {
|
|
62734
|
+
if (sectionproperties.showpricerange == 'Hide') {
|
|
62735
|
+
tempfetchproductsfilerobjcontext.price_max = 99999999999999;
|
|
62736
|
+
} else {
|
|
62737
|
+
tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
|
|
62738
|
+
}
|
|
62739
|
+
}
|
|
62740
|
+
if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
|
|
62741
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
62742
|
+
}
|
|
62743
|
+
if (from_date_filter_input != undefined && from_date_filter_input != null && (from_date_filter_input === null || from_date_filter_input === void 0 ? void 0 : from_date_filter_input.length) != 0) {
|
|
62744
|
+
tempfetchproductsfilerobjcontext.from_date_filter = from_date_filter_input;
|
|
62745
|
+
}
|
|
62746
|
+
if (to_date_filter_input != undefined && to_date_filter_input != null && (to_date_filter_input === null || to_date_filter_input === void 0 ? void 0 : to_date_filter_input.length) != 0) {
|
|
62747
|
+
tempfetchproductsfilerobjcontext.to_date_filter = to_date_filter_input;
|
|
62748
|
+
}
|
|
62749
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
62750
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
62751
|
+
}
|
|
62752
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
|
|
62753
|
+
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
62754
|
+
}
|
|
62755
|
+
}
|
|
62756
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
|
|
62406
62757
|
};
|
|
62407
62758
|
|
|
62408
62759
|
function ownKeys$1f(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; }
|
|
@@ -66787,7 +67138,7 @@ styleInject(css_248z$i);
|
|
|
66787
67138
|
function ownKeys$Z(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; }
|
|
66788
67139
|
function _objectSpread$Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
66789
67140
|
var Freetextsection = function Freetextsection(props) {
|
|
66790
|
-
var _maincontainerarrayof;
|
|
67141
|
+
var _maincontainerarrayof, _authdetailsContext$i;
|
|
66791
67142
|
var _useState = React.useState(''),
|
|
66792
67143
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
66793
67144
|
sectionproperties = _useState2[0],
|
|
@@ -67139,8 +67490,13 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
67139
67490
|
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center '
|
|
67140
67491
|
}, SectionContent('responsive')));
|
|
67141
67492
|
};
|
|
67493
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
67142
67494
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67143
|
-
"class": "w-100 allcentered"
|
|
67495
|
+
"class": "row m-0 w-100 allcentered"
|
|
67496
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67497
|
+
"class": "col-lg-12 p-0"
|
|
67498
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67499
|
+
"class": "row m-0 w-100 allcentered",
|
|
67144
67500
|
style: {
|
|
67145
67501
|
background: sectionproperties.outerbgcolor
|
|
67146
67502
|
}
|
|
@@ -67149,7 +67505,50 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
67149
67505
|
"data-aos": 'fade-up'
|
|
67150
67506
|
}, FreeTextSectionContainer()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67151
67507
|
"class": "".concat(section_styles.sectioncont) + ' row ml-0 mr-0 w-100 '
|
|
67152
|
-
}, FreeTextSectionContainer()))
|
|
67508
|
+
}, FreeTextSectionContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '682c6a888d70e' && window.location.pathname == '/home' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67509
|
+
"class": "col-lg-12 p-0 allcentered d-flex flex-column pt-5 pb-5 px-sm-3",
|
|
67510
|
+
style: {
|
|
67511
|
+
background: 'white'
|
|
67512
|
+
}
|
|
67513
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67514
|
+
"class": "row m-0 w-100"
|
|
67515
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67516
|
+
"class": "col-12 allcentered p-0"
|
|
67517
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
67518
|
+
className: "mb-4",
|
|
67519
|
+
style: {
|
|
67520
|
+
color: '#000',
|
|
67521
|
+
fontSize: 30,
|
|
67522
|
+
fontWeight: 600
|
|
67523
|
+
}
|
|
67524
|
+
}, "Subscribe to never missout")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67525
|
+
"class": "col-12 allcentered p-0 px-sm-4"
|
|
67526
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
67527
|
+
"class": "w-sm-100",
|
|
67528
|
+
style: {
|
|
67529
|
+
width: '40%',
|
|
67530
|
+
height: 40,
|
|
67531
|
+
background: 'transparent',
|
|
67532
|
+
border: '1px solid #ccc',
|
|
67533
|
+
borderRadius: 100,
|
|
67534
|
+
paddingLeft: 10,
|
|
67535
|
+
paddingRight: 10,
|
|
67536
|
+
color: '#000'
|
|
67537
|
+
},
|
|
67538
|
+
placeholder: "write your email"
|
|
67539
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67540
|
+
"class": "col-12 allcentered p-0 px-sm-4"
|
|
67541
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
67542
|
+
"class": "mt-5 w-sm-100",
|
|
67543
|
+
style: {
|
|
67544
|
+
width: '30%',
|
|
67545
|
+
borderRadius: 100,
|
|
67546
|
+
border: '1px solid #000',
|
|
67547
|
+
color: '#000',
|
|
67548
|
+
fontSize: 14,
|
|
67549
|
+
height: 40
|
|
67550
|
+
}
|
|
67551
|
+
}, "SUBSCRIBE")))));
|
|
67153
67552
|
};
|
|
67154
67553
|
|
|
67155
67554
|
function ownKeys$Y(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; }
|