tabexseriescomponents 0.2.853 → 0.2.854
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 +279 -152
- package/dist/index.esm.js +279 -152
- package/dist/index.umd.js +282 -156
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -126,6 +126,7 @@ var FaMap = require('@react-icons/all-files/fa/FaMap');
|
|
|
126
126
|
var FiMenu = require('@react-icons/all-files/fi/FiMenu');
|
|
127
127
|
var BsChevronDown = require('@react-icons/all-files/bs/BsChevronDown');
|
|
128
128
|
var IoClose = require('@react-icons/all-files/io5/IoClose');
|
|
129
|
+
var MdArrowBack = require('@react-icons/all-files/md/MdArrowBack');
|
|
129
130
|
var BiSearch = require('@react-icons/all-files/bi/BiSearch');
|
|
130
131
|
var FiUser = require('@react-icons/all-files/fi/FiUser');
|
|
131
132
|
var AiOutlineHeart = require('@react-icons/all-files/ai/AiOutlineHeart');
|
|
@@ -1881,7 +1882,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1881
1882
|
var ProductExtras = function ProductExtras(props) {
|
|
1882
1883
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2;
|
|
1883
1884
|
props.actions.lang;
|
|
1884
|
-
props.actions.langdetect;
|
|
1885
|
+
var langdetect = props.actions.langdetect;
|
|
1885
1886
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
1886
1887
|
props.actions.GeneralAPIMutationContext;
|
|
1887
1888
|
props.actions.NotificationManager;
|
|
@@ -1933,19 +1934,23 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
1933
1934
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1934
1935
|
className: 'row w-100 ml-0 mr-0 mt-3'
|
|
1935
1936
|
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.product_extras) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.map(function (item, index) {
|
|
1936
|
-
var _item$productinfo;
|
|
1937
|
+
var _item$productinfo, _item$productinfo2, _authdetailsContext, _authdetailsContext2;
|
|
1937
1938
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1938
|
-
"class": "col-lg-6 p-0"
|
|
1939
|
+
"class": "col-lg-6 col-sm-12 p-0 mb-3"
|
|
1939
1940
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1940
1941
|
"class": "row m-0 w-100"
|
|
1941
1942
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1942
|
-
className: formstyles.extracontainer + ' col-
|
|
1943
|
+
className: formstyles.extracontainer + ' col-8 p-sm-0 d-flex align-items-center justify-content-start cursor-pointer '
|
|
1943
1944
|
}, /*#__PURE__*/React__default["default"].createElement(HiOutlinePlusCircle.HiOutlinePlusCircle, {
|
|
1944
1945
|
size: 20,
|
|
1945
1946
|
color: sectionproperties.form_labelcolor
|
|
1946
1947
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1947
1948
|
className: "".concat(formstyles.input_label_name) + ' m-0 p-0 mx-2 '
|
|
1948
|
-
}, item === null || item === void 0 || (_item$productinfo = item.productinfo) === null || _item$productinfo === void 0 ? void 0 : _item$productinfo.name_en))
|
|
1949
|
+
}, item === null || item === void 0 || (_item$productinfo = item.productinfo) === null || _item$productinfo === void 0 ? void 0 : _item$productinfo.name_en)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1950
|
+
className: ' col-4 p-sm-0 d-flex align-items-center justify-content-end cursor-pointer '
|
|
1951
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1952
|
+
className: "".concat(formstyles.input_label_name) + ' m-0 p-0 mx-2 '
|
|
1953
|
+
}, item === null || item === void 0 || (_item$productinfo2 = item.productinfo) === null || _item$productinfo2 === void 0 ? void 0 : _item$productinfo2.defaultprice, " ", langdetect == 'en' ? (_authdetailsContext = authdetailsContext) === null || _authdetailsContext === void 0 ? void 0 : _authdetailsContext.currencyname_en : (_authdetailsContext2 = authdetailsContext) === null || _authdetailsContext2 === void 0 ? void 0 : _authdetailsContext2.currencyname_ar))));
|
|
1949
1954
|
}));
|
|
1950
1955
|
};
|
|
1951
1956
|
|
|
@@ -2947,7 +2952,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
2947
2952
|
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; }
|
|
2948
2953
|
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; }
|
|
2949
2954
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2950
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$
|
|
2955
|
+
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, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _authdetailsContext$i6, _authdetailsContext$i7, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _authdetailsContext$i8, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _authdetailsContext$i9, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _sizeguideimage$, _authdetailsContext$i0, _fetchProductInfoQuer92, _fetchProductInfoQuer93;
|
|
2951
2956
|
var lang = props.actions.lang;
|
|
2952
2957
|
var actions = props.actions;
|
|
2953
2958
|
var langdetect = props.actions.langdetect;
|
|
@@ -3291,6 +3296,86 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3291
3296
|
srcfromprops: 'collap'
|
|
3292
3297
|
}))));
|
|
3293
3298
|
};
|
|
3299
|
+
var QuantityButton = function QuantityButton(position) {
|
|
3300
|
+
var _authdetailsContext$i3;
|
|
3301
|
+
return /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3302
|
+
className: position == 'fixedcontainer' ? " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center ' : " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3303
|
+
style: {
|
|
3304
|
+
height: sectionproperties.quantitybtn_height + 'px',
|
|
3305
|
+
width: position == 'fixedcontainer' ? '100%' : sectionproperties.quantitybtn_width + 'px',
|
|
3306
|
+
flexDirection: 'row',
|
|
3307
|
+
direction: 'ltr'
|
|
3308
|
+
}
|
|
3309
|
+
}, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3310
|
+
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
3311
|
+
onClick: function onClick() {
|
|
3312
|
+
var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6;
|
|
3313
|
+
var quantitystepincrearse = 1;
|
|
3314
|
+
var tempaddtocardpayloadobj = _objectSpread$2z({}, addtocardpayloadobj);
|
|
3315
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.quantitystepincrearse) != '') {
|
|
3316
|
+
var _fetchProductInfoQuer7;
|
|
3317
|
+
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.quantitystepincrearse);
|
|
3318
|
+
}
|
|
3319
|
+
var finalquantity = tempaddtocardpayloadobj.quantity - quantitystepincrearse;
|
|
3320
|
+
if (finalquantity >= 0) {
|
|
3321
|
+
tempaddtocardpayloadobj.quantity = finalquantity;
|
|
3322
|
+
}
|
|
3323
|
+
setaddtocardpayloadobj(_objectSpread$2z({}, tempaddtocardpayloadobj));
|
|
3324
|
+
}
|
|
3325
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3326
|
+
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
|
|
3327
|
+
style: {
|
|
3328
|
+
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
|
|
3329
|
+
}
|
|
3330
|
+
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
3331
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
3332
|
+
}))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3333
|
+
className: "".concat(productinfo_cssstyles.quantitybtn_text)
|
|
3334
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '66d6de1a1e04a' ? parseFloat(addtocardpayloadobj.quantity).toFixed(3) : parseInt(addtocardpayloadobj.quantity)), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3335
|
+
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
3336
|
+
onClick: function onClick() {
|
|
3337
|
+
var _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1;
|
|
3338
|
+
var quantitystepincrearse = 1;
|
|
3339
|
+
var tempaddtocardpayloadobj = _objectSpread$2z({}, addtocardpayloadobj);
|
|
3340
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer0 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.productinfo) === null || _fetchProductInfoQuer0 === void 0 ? void 0 : _fetchProductInfoQuer0.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer1 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.productinfo) === null || _fetchProductInfoQuer1 === void 0 ? void 0 : _fetchProductInfoQuer1.quantitystepincrearse) != '') {
|
|
3341
|
+
var _fetchProductInfoQuer10;
|
|
3342
|
+
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.quantitystepincrearse);
|
|
3343
|
+
}
|
|
3344
|
+
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + quantitystepincrearse;
|
|
3345
|
+
setaddtocardpayloadobj(_objectSpread$2z({}, tempaddtocardpayloadobj));
|
|
3346
|
+
}
|
|
3347
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3348
|
+
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered',
|
|
3349
|
+
style: {
|
|
3350
|
+
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
|
|
3351
|
+
}
|
|
3352
|
+
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
3353
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
3354
|
+
}))), sectionproperties.quantitybtneditable == 'Yes' && /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3355
|
+
type: "number",
|
|
3356
|
+
style: {
|
|
3357
|
+
width: 100,
|
|
3358
|
+
height: 40,
|
|
3359
|
+
background: 'transparent',
|
|
3360
|
+
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
3361
|
+
color: sectionproperties.quantitybtn_textcolor,
|
|
3362
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
3363
|
+
textAlign: 'center'
|
|
3364
|
+
},
|
|
3365
|
+
value: addtocardpayloadobj.quantity,
|
|
3366
|
+
onChange: function onChange(event) {
|
|
3367
|
+
if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
|
|
3368
|
+
var tempaddtocardpayloadobj = _objectSpread$2z({}, addtocardpayloadobj);
|
|
3369
|
+
tempaddtocardpayloadobj.quantity = 1;
|
|
3370
|
+
setaddtocardpayloadobj(_objectSpread$2z({}, tempaddtocardpayloadobj));
|
|
3371
|
+
} else {
|
|
3372
|
+
var tempaddtocardpayloadobj = _objectSpread$2z({}, addtocardpayloadobj);
|
|
3373
|
+
tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
|
|
3374
|
+
setaddtocardpayloadobj(_objectSpread$2z({}, tempaddtocardpayloadobj));
|
|
3375
|
+
}
|
|
3376
|
+
}
|
|
3377
|
+
}));
|
|
3378
|
+
};
|
|
3294
3379
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3295
3380
|
className: sectionproperties.productInformationType == 'Portfolio' ? ' row m-0 w-100 p-0 ' : sectionproperties.card_marginLeft != 0 ? ' row m-0 w-100 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 p-sm-0 ' : ' row m-0 w-100 p-sm-0 ',
|
|
3296
3381
|
style: {
|
|
@@ -3299,7 +3384,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3299
3384
|
}
|
|
3300
3385
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3301
3386
|
"class": ' col-lg-12 p-0 '
|
|
3302
|
-
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3387
|
+
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3303
3388
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
3304
3389
|
style: {
|
|
3305
3390
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -3309,7 +3394,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3309
3394
|
// scrollhorizontalwithscrollbarremove
|
|
3310
3395
|
React__default["default"].createElement("div", {
|
|
3311
3396
|
"class": "w-100 scrollhorizontalwithscrollbar "
|
|
3312
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3397
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productimages) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.productimages.map(function (item, index) {
|
|
3313
3398
|
if (item.is_size_guide != 1) {
|
|
3314
3399
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3315
3400
|
"class": ' scrollhorizontalcard mx-2 ',
|
|
@@ -3331,7 +3416,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3331
3416
|
}
|
|
3332
3417
|
}))), sectionproperties.gallerystyle == 'One Centered Image' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3333
3418
|
"class": "col-lg-12 allcentered"
|
|
3334
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3419
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productimages) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.productimages.map(function (item, index) {
|
|
3335
3420
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3336
3421
|
"class": ' mx-2 ',
|
|
3337
3422
|
style: {
|
|
@@ -3447,15 +3532,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3447
3532
|
fontWeight: sectionproperties.quantityfontweight
|
|
3448
3533
|
}
|
|
3449
3534
|
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ":", ' ', fetchProductInfoQueryContext.data.data.productinfo.currentquantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3450
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3535
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : 'col-lg-12 p-0 mb-1 d-flex align-items-center',
|
|
3451
3536
|
style: {
|
|
3452
3537
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
3453
3538
|
}
|
|
3454
|
-
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3539
|
+
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3455
3540
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
3456
3541
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
3457
3542
|
count: 5,
|
|
3458
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3543
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.productoverallrate,
|
|
3459
3544
|
edit: false,
|
|
3460
3545
|
size: 18,
|
|
3461
3546
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -3476,7 +3561,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3476
3561
|
activeColor: "#ffd700"
|
|
3477
3562
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3478
3563
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
3479
|
-
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3564
|
+
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3480
3565
|
style: {
|
|
3481
3566
|
width: sectionproperties.availability_width + 'px',
|
|
3482
3567
|
height: sectionproperties.availability_height + 'px',
|
|
@@ -3529,7 +3614,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3529
3614
|
"class": "col-lg-12 text-start p-0"
|
|
3530
3615
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3531
3616
|
className: "row m-0 w-100"
|
|
3532
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3617
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productfeatures) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.map(function (fitem, findex) {
|
|
3533
3618
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3534
3619
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
3535
3620
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3587,7 +3672,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3587
3672
|
color: sectionproperties.prodCatColor
|
|
3588
3673
|
},
|
|
3589
3674
|
dangerouslySetInnerHTML: {
|
|
3590
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3675
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.short_description_ar
|
|
3591
3676
|
}
|
|
3592
3677
|
})))), sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3593
3678
|
"class": "col-lg-12 text-start p-md-0"
|
|
@@ -3606,7 +3691,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3606
3691
|
className: "col-lg-12 m-0 w-100 p-0"
|
|
3607
3692
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
3608
3693
|
className: 'table tablevertical'
|
|
3609
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3694
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productfeatures) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.map(function (fitem, findex) {
|
|
3610
3695
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
3611
3696
|
style: {
|
|
3612
3697
|
textTransform: 'capitalize',
|
|
@@ -3638,11 +3723,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3638
3723
|
fontSize: sectionproperties.featurevaluefontsize
|
|
3639
3724
|
}
|
|
3640
3725
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
3641
|
-
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3726
|
+
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
3642
3727
|
actions: props.actions
|
|
3643
3728
|
}), sectionproperties.featuresposition == 'Under Pricing' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3644
3729
|
"class": "col-lg-12 text-start p-0"
|
|
3645
|
-
}, ProductFeaturesTable()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3730
|
+
}, ProductFeaturesTable()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.short_description_en) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3646
3731
|
"class": "col-lg-12 p-0"
|
|
3647
3732
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3648
3733
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -3652,9 +3737,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3652
3737
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3653
3738
|
},
|
|
3654
3739
|
dangerouslySetInnerHTML: {
|
|
3655
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3740
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.short_description_en
|
|
3656
3741
|
}
|
|
3657
|
-
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3742
|
+
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.short_description_ar) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3658
3743
|
"class": "col-lg-12 p-0"
|
|
3659
3744
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3660
3745
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -3664,9 +3749,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3664
3749
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3665
3750
|
},
|
|
3666
3751
|
dangerouslySetInnerHTML: {
|
|
3667
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3752
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.short_description_ar
|
|
3668
3753
|
}
|
|
3669
|
-
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3754
|
+
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3670
3755
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
3671
3756
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3672
3757
|
"class": "m-0 p-0",
|
|
@@ -3677,15 +3762,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3677
3762
|
style: {
|
|
3678
3763
|
fontWeight: 600
|
|
3679
3764
|
}
|
|
3680
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3681
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3682
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3765
|
+
}, 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.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3766
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.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'
|
|
3767
|
+
}, ProductsSKUContainer()), (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.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (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.quantavailtype) == 'limit' && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3683
3768
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
3684
3769
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3685
3770
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
3686
3771
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3687
3772
|
"class": "m-0 p-0"
|
|
3688
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3773
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3689
3774
|
"class": "mb-4 col-lg-12 allcentered",
|
|
3690
3775
|
style: {
|
|
3691
3776
|
width: '100%',
|
|
@@ -3706,7 +3791,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3706
3791
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3707
3792
|
color: sectionproperties.deliverytimecontainercolor
|
|
3708
3793
|
}
|
|
3709
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3794
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', 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)), sectionproperties.defaultpricingposition != 'Under Name' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
3710
3795
|
actions: props.actions
|
|
3711
3796
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3712
3797
|
"class": "col-lg-12 p-0"
|
|
@@ -3747,7 +3832,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3747
3832
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
3748
3833
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
3749
3834
|
}
|
|
3750
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3835
|
+
}, (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 && (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.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3751
3836
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
3752
3837
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3753
3838
|
className: "m-0 p-0",
|
|
@@ -3764,83 +3849,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3764
3849
|
style: {
|
|
3765
3850
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
3766
3851
|
}
|
|
3767
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3768
|
-
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
3769
|
-
style: {
|
|
3770
|
-
height: sectionproperties.quantitybtn_height + 'px',
|
|
3771
|
-
width: sectionproperties.quantitybtn_width + 'px',
|
|
3772
|
-
flexDirection: 'row',
|
|
3773
|
-
direction: 'ltr'
|
|
3774
|
-
}
|
|
3775
|
-
}, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3776
|
-
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
3777
|
-
onClick: function onClick() {
|
|
3778
|
-
var _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34;
|
|
3779
|
-
var quantitystepincrearse = 1;
|
|
3780
|
-
var tempaddtocardpayloadobj = _objectSpread$2z({}, addtocardpayloadobj);
|
|
3781
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.quantitystepincrearse) != '') {
|
|
3782
|
-
var _fetchProductInfoQuer35;
|
|
3783
|
-
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.quantitystepincrearse);
|
|
3784
|
-
}
|
|
3785
|
-
var finalquantity = tempaddtocardpayloadobj.quantity - quantitystepincrearse;
|
|
3786
|
-
if (finalquantity >= 0) {
|
|
3787
|
-
tempaddtocardpayloadobj.quantity = finalquantity;
|
|
3788
|
-
}
|
|
3789
|
-
setaddtocardpayloadobj(_objectSpread$2z({}, tempaddtocardpayloadobj));
|
|
3790
|
-
}
|
|
3791
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3792
|
-
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
|
|
3793
|
-
style: {
|
|
3794
|
-
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
|
|
3795
|
-
}
|
|
3796
|
-
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
3797
|
-
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
3798
|
-
}))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3799
|
-
className: "".concat(productinfo_cssstyles.quantitybtn_text)
|
|
3800
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '66d6de1a1e04a' ? parseFloat(addtocardpayloadobj.quantity).toFixed(3) : parseInt(addtocardpayloadobj.quantity)), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3801
|
-
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
3802
|
-
onClick: function onClick() {
|
|
3803
|
-
var _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39;
|
|
3804
|
-
var quantitystepincrearse = 1;
|
|
3805
|
-
var tempaddtocardpayloadobj = _objectSpread$2z({}, addtocardpayloadobj);
|
|
3806
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.quantitystepincrearse) != '') {
|
|
3807
|
-
var _fetchProductInfoQuer40;
|
|
3808
|
-
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.quantitystepincrearse);
|
|
3809
|
-
}
|
|
3810
|
-
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + quantitystepincrearse;
|
|
3811
|
-
setaddtocardpayloadobj(_objectSpread$2z({}, tempaddtocardpayloadobj));
|
|
3812
|
-
}
|
|
3813
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3814
|
-
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered',
|
|
3815
|
-
style: {
|
|
3816
|
-
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
|
|
3817
|
-
}
|
|
3818
|
-
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
3819
|
-
size: sectionproperties.add_quantitybtn_textfontsize
|
|
3820
|
-
}))), sectionproperties.quantitybtneditable == 'Yes' && /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3821
|
-
type: "number",
|
|
3822
|
-
style: {
|
|
3823
|
-
width: 100,
|
|
3824
|
-
height: 40,
|
|
3825
|
-
background: 'transparent',
|
|
3826
|
-
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
3827
|
-
color: sectionproperties.quantitybtn_textcolor,
|
|
3828
|
-
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
3829
|
-
textAlign: 'center'
|
|
3830
|
-
},
|
|
3831
|
-
value: addtocardpayloadobj.quantity,
|
|
3832
|
-
onChange: function onChange(event) {
|
|
3833
|
-
if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
|
|
3834
|
-
var tempaddtocardpayloadobj = _objectSpread$2z({}, addtocardpayloadobj);
|
|
3835
|
-
tempaddtocardpayloadobj.quantity = 1;
|
|
3836
|
-
setaddtocardpayloadobj(_objectSpread$2z({}, tempaddtocardpayloadobj));
|
|
3837
|
-
} else {
|
|
3838
|
-
var tempaddtocardpayloadobj = _objectSpread$2z({}, addtocardpayloadobj);
|
|
3839
|
-
tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
|
|
3840
|
-
setaddtocardpayloadobj(_objectSpread$2z({}, tempaddtocardpayloadobj));
|
|
3841
|
-
}
|
|
3842
|
-
}
|
|
3843
|
-
})), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3852
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (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.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.isproducthasquantitychange) == 1 && QuantityButton(), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3844
3853
|
"class": "col-lg-12 text-start p-md-0"
|
|
3845
3854
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3846
3855
|
className: "row m-0 w-100"
|
|
@@ -5266,7 +5275,73 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5266
5275
|
objectFit: 'contain'
|
|
5267
5276
|
},
|
|
5268
5277
|
loading: "lazy"
|
|
5269
|
-
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)))
|
|
5278
|
+
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68319d088f13e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5279
|
+
"class": "col-12 p-0",
|
|
5280
|
+
style: {
|
|
5281
|
+
position: 'fixed',
|
|
5282
|
+
bottom: 0,
|
|
5283
|
+
background: '#fafafa',
|
|
5284
|
+
zIndex: 999,
|
|
5285
|
+
boxShadow: '0 0 10px #ccc'
|
|
5286
|
+
}
|
|
5287
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5288
|
+
"class": "row m-0 w-100 px-2 py-3"
|
|
5289
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5290
|
+
"class": "col-6 allcentered"
|
|
5291
|
+
}, QuantityButton('fixedcontainer')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5292
|
+
"class": "col-6"
|
|
5293
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5294
|
+
"class": "row m-0 w-100",
|
|
5295
|
+
style: {
|
|
5296
|
+
overflow: 'hidden'
|
|
5297
|
+
}
|
|
5298
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5299
|
+
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center ',
|
|
5300
|
+
style: {
|
|
5301
|
+
width: sectionproperties.cartBtnWidth + '%'
|
|
5302
|
+
},
|
|
5303
|
+
onClick: function onClick() {
|
|
5304
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5305
|
+
var _fetchProductInfoQuer91;
|
|
5306
|
+
window.open('tel:' + ((_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.product_phonenumber), '_blank');
|
|
5307
|
+
} else {
|
|
5308
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5309
|
+
addtocartfunc();
|
|
5310
|
+
} else {
|
|
5311
|
+
NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
5312
|
+
}
|
|
5313
|
+
}
|
|
5314
|
+
},
|
|
5315
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
5316
|
+
}, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5317
|
+
className: ' d-flex align-items-center justify-content-center '
|
|
5318
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
5319
|
+
className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
5320
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
5321
|
+
className: "",
|
|
5322
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
5323
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
5324
|
+
className: "",
|
|
5325
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
5326
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
5327
|
+
className: "",
|
|
5328
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
5329
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
|
|
5330
|
+
className: "",
|
|
5331
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
5332
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
5333
|
+
className: "",
|
|
5334
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
5335
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5336
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
5337
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.productactionbuttontext_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_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5338
|
+
className: ' d-flex align-items-center justify-content-center '
|
|
5339
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5340
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
5341
|
+
width: "20px",
|
|
5342
|
+
height: "20px",
|
|
5343
|
+
duration: "1s"
|
|
5344
|
+
}))))))));
|
|
5270
5345
|
};
|
|
5271
5346
|
|
|
5272
5347
|
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; }
|
|
@@ -16054,7 +16129,7 @@ styleInject(css_248z$E);
|
|
|
16054
16129
|
function ownKeys$2l(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; }
|
|
16055
16130
|
function _objectSpread$2l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2l(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16056
16131
|
var CartSlider = function CartSlider(props) {
|
|
16057
|
-
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue0, _fetchcustomercartQue1, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
|
|
16132
|
+
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue0, _fetchcustomercartQue1, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
|
|
16058
16133
|
var lang = props.actions.lang;
|
|
16059
16134
|
var langdetect = props.actions.langdetect;
|
|
16060
16135
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -16323,7 +16398,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
16323
16398
|
})
|
|
16324
16399
|
};
|
|
16325
16400
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16326
|
-
className: cart_cssstyles.canvascontainer + ' col-lg-12 canvascontainer ',
|
|
16401
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) == '67b1bb900a541' ? cart_cssstyles.canvascontainer + ' col-lg-12 canvascontainer ' : cart_cssstyles.canvascontainer + ' col-lg-12 canvascontainer canvascontainerrest ',
|
|
16327
16402
|
style: {
|
|
16328
16403
|
zIndex: 1000000
|
|
16329
16404
|
}
|
|
@@ -25597,7 +25672,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
25597
25672
|
function ownKeys$24(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; }
|
|
25598
25673
|
function _objectSpread$24(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$24(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$24(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25599
25674
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
25600
|
-
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$
|
|
25675
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i1, _authdetailsContext$i10, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i11, _authdetailsContext$i12, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i13, _authdetailsContext$i14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
25601
25676
|
var actions = props.actions;
|
|
25602
25677
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
25603
25678
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -26257,7 +26332,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26257
26332
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26258
26333
|
className: "row m-0 w-100 d-none d-md-block",
|
|
26259
26334
|
style: {
|
|
26260
|
-
position: sectionproperties.respheaderposition,
|
|
26335
|
+
position: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instid) == '68319d088f13e' ? 'fixed' : sectionproperties.respheaderposition,
|
|
26261
26336
|
// position: window.location.pathname == '/home' ? sectionproperties.respheaderposition : 'relative',
|
|
26262
26337
|
zIndex: 999,
|
|
26263
26338
|
top: sectionproperties.respheaderposition == 'absolute' || sectionproperties.respheaderposition == 'fixed' ? '50px' : 0
|
|
@@ -26278,7 +26353,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26278
26353
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26279
26354
|
className: "col-lg-12 p-0",
|
|
26280
26355
|
style: {
|
|
26281
|
-
background: sectionproperties.responsiveheadertransparentbg == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.resposive_bgcolor : 'transparent' : sectionproperties.resposive_bgcolor
|
|
26356
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '68319d088f13e' ? sectionproperties.resposive_bgcolor : sectionproperties.responsiveheadertransparentbg == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.resposive_bgcolor : 'transparent' : sectionproperties.resposive_bgcolor
|
|
26282
26357
|
// sectionproperties.responsiveheadertransparentbg == 'Transparent' && window.location.pathname == '/home' ? 'transparent' : sectionproperties.resposive_bgcolor,
|
|
26283
26358
|
}
|
|
26284
26359
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -26288,7 +26363,22 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26288
26363
|
}
|
|
26289
26364
|
}, sectionproperties.logocentered == 'Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26290
26365
|
className: "col-md-4 col-sm-3 text-start p-0"
|
|
26291
|
-
},
|
|
26366
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '68319d088f13e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26367
|
+
style: {
|
|
26368
|
+
width: '35px',
|
|
26369
|
+
height: '35px'
|
|
26370
|
+
},
|
|
26371
|
+
onClick: function onClick() {
|
|
26372
|
+
if (window.location.pathname == '/home') ; else {
|
|
26373
|
+
window.history.back();
|
|
26374
|
+
}
|
|
26375
|
+
}
|
|
26376
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
26377
|
+
"class": "h-100 allcentered"
|
|
26378
|
+
}, /*#__PURE__*/React__default["default"].createElement(MdArrowBack.MdArrowBack, {
|
|
26379
|
+
color: sectionproperties.searchbaricon_color,
|
|
26380
|
+
size: 25
|
|
26381
|
+
}))), sectionproperties.respiconposition != 'Right' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26292
26382
|
"class": header_cssstyles.respicon
|
|
26293
26383
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
26294
26384
|
"class": ' h-100 allcentered ',
|
|
@@ -26387,7 +26477,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26387
26477
|
}, /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
26388
26478
|
size: 22,
|
|
26389
26479
|
color: sectionproperties.wishlistresponsivecolor
|
|
26390
|
-
}))), sectionproperties.cartBtnShow == 'Show' && CartButton(), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
26480
|
+
}))), sectionproperties.cartBtnShow == 'Show' && CartButton(), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcurrencies) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.length) > 1 && sectionproperties.showcurrency == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26391
26481
|
"class": 'd-flex align-items-center pl-1 pr-1 pt-1',
|
|
26392
26482
|
style: {}
|
|
26393
26483
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
@@ -26403,8 +26493,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26403
26493
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
26404
26494
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26405
26495
|
"class": "m-0 p-0 ml-1 mr-1"
|
|
26406
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
26407
|
-
var _authdetailsContext$
|
|
26496
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcurrencies) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.map(function (item, index) {
|
|
26497
|
+
var _authdetailsContext$i9;
|
|
26408
26498
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
26409
26499
|
"class": "m-0 p-0",
|
|
26410
26500
|
onClick: function onClick() {
|
|
@@ -26426,7 +26516,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26426
26516
|
}
|
|
26427
26517
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
26428
26518
|
"class": 'ml-2 mr-2'
|
|
26429
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
26519
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcurrencies) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26430
26520
|
"class": "col-lg-12 p-0"
|
|
26431
26521
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
26432
26522
|
"class": "m-0"
|
|
@@ -26546,8 +26636,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26546
26636
|
size: 20,
|
|
26547
26637
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
26548
26638
|
}))), templatepropcontext.pagesnprop.map(function (item, index) {
|
|
26549
|
-
var _authdetailsContext$
|
|
26550
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
26639
|
+
var _authdetailsContext$i0;
|
|
26640
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) != '6790ae890234e') {
|
|
26551
26641
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
26552
26642
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26553
26643
|
className: "row m-0 w-100 anim"
|
|
@@ -26693,9 +26783,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26693
26783
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
26694
26784
|
setmenuactive(false);
|
|
26695
26785
|
}
|
|
26696
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
26786
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26697
26787
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
26698
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
26788
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26699
26789
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
26700
26790
|
}, lang.wishlist))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26701
26791
|
className: "col-lg-12 p-0"
|
|
@@ -27093,9 +27183,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
27093
27183
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
27094
27184
|
setopenCnvas(false);
|
|
27095
27185
|
}
|
|
27096
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27186
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27097
27187
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
27098
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27188
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27099
27189
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
27100
27190
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27101
27191
|
className: "col-lg-12 p-0"
|
|
@@ -27503,9 +27593,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
27503
27593
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
27504
27594
|
setopenCnvas(false);
|
|
27505
27595
|
}
|
|
27506
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27596
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27507
27597
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
27508
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27598
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27509
27599
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
27510
27600
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27511
27601
|
className: "col-lg-12 p-0"
|
|
@@ -27608,7 +27698,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
27608
27698
|
style: {
|
|
27609
27699
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
27610
27700
|
}
|
|
27611
|
-
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27701
|
+
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 || (_authdetailsContext$i15 = _authdetailsContext$i15.instcurrencies) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.length) > 1 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67f69c023cbd4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27612
27702
|
"class": "row m-0 w-100 pl-3 pr-3"
|
|
27613
27703
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27614
27704
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '
|
|
@@ -27626,7 +27716,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
27626
27716
|
background: '#f4f4f4',
|
|
27627
27717
|
borderRadius: 5
|
|
27628
27718
|
}
|
|
27629
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27719
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.instcurrencies) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.map(function (item, index) {
|
|
27630
27720
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27631
27721
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
|
|
27632
27722
|
onClick: function onClick() {
|
|
@@ -33865,7 +33955,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33865
33955
|
}, [templateproperties_context]);
|
|
33866
33956
|
var header_cssstyles = (_header_cssstyles = {
|
|
33867
33957
|
headercontainer: glamor.css({
|
|
33868
|
-
borderBottom: '
|
|
33958
|
+
borderBottom: sectionproperties.headerborderbottomwidth + 'px solid ' + sectionproperties.headerbordercolor,
|
|
33869
33959
|
position: sectionproperties.headerstyles_position,
|
|
33870
33960
|
top: 0,
|
|
33871
33961
|
display: 'flex',
|
|
@@ -38034,7 +38124,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
38034
38124
|
function ownKeys$1U(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; }
|
|
38035
38125
|
function _objectSpread$1U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1U(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38036
38126
|
var Modernheader = function Modernheader(props) {
|
|
38037
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$
|
|
38127
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
38038
38128
|
var _useState = React.useState(''),
|
|
38039
38129
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
38040
38130
|
sectionproperties = _useState2[0],
|
|
@@ -38445,7 +38535,22 @@ var Modernheader = function Modernheader(props) {
|
|
|
38445
38535
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38446
38536
|
"class": "col-lg-4 col-md-6 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
38447
38537
|
style: {}
|
|
38448
|
-
},
|
|
38538
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) == '68319d088f13e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38539
|
+
style: {
|
|
38540
|
+
width: sectionproperties.searchbarcont_height + 'px',
|
|
38541
|
+
height: sectionproperties.searchbarcont_height + 'px'
|
|
38542
|
+
},
|
|
38543
|
+
onClick: function onClick() {
|
|
38544
|
+
if (window.location.pathname == '/home') ; else {
|
|
38545
|
+
window.history.back();
|
|
38546
|
+
}
|
|
38547
|
+
}
|
|
38548
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
38549
|
+
"class": "h-100 allcentered"
|
|
38550
|
+
}, /*#__PURE__*/React__default["default"].createElement(MdArrowBack.MdArrowBack, {
|
|
38551
|
+
color: sectionproperties.searchbaricon_color,
|
|
38552
|
+
size: 35
|
|
38553
|
+
}))), sectionproperties.searchbartype == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38449
38554
|
"class": header_cssstyles.searchbarcont
|
|
38450
38555
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
38451
38556
|
type: "text",
|
|
@@ -38479,7 +38584,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
38479
38584
|
"class": "h-100 "
|
|
38480
38585
|
}, /*#__PURE__*/React__default["default"].createElement(FiSearch.FiSearch, {
|
|
38481
38586
|
size: sectionproperties.searchbaricon_fontsize
|
|
38482
|
-
})))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38587
|
+
})))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38483
38588
|
"class": ' d-flex align-items-center justify-content-end '
|
|
38484
38589
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
38485
38590
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -38501,8 +38606,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
38501
38606
|
}
|
|
38502
38607
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
38503
38608
|
color: sectionproperties.searchbaricon_color
|
|
38504
|
-
})))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38505
|
-
var _authdetailsContext$
|
|
38609
|
+
})))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.map(function (item, index) {
|
|
38610
|
+
var _authdetailsContext$i5;
|
|
38506
38611
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
38507
38612
|
onClick: function onClick() {
|
|
38508
38613
|
setcurrencyfunccontext(item);
|
|
@@ -38523,7 +38628,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
38523
38628
|
}
|
|
38524
38629
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38525
38630
|
"class": 'ml-2 mr-2'
|
|
38526
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38631
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.instcurrencies) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38527
38632
|
"class": "col-lg-12 p-0"
|
|
38528
38633
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
38529
38634
|
"class": "m-0"
|
|
@@ -38759,23 +38864,23 @@ var Modernheader = function Modernheader(props) {
|
|
|
38759
38864
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
38760
38865
|
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38761
38866
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
38762
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38867
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
38763
38868
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
38764
38869
|
style: {
|
|
38765
38870
|
maxWidth: '2.5vh',
|
|
38766
38871
|
maxHeight: '2.5vh'
|
|
38767
38872
|
}
|
|
38768
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38873
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38769
38874
|
"class": "m-0 p-0"
|
|
38770
38875
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38771
38876
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
38772
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38877
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
38773
38878
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
38774
38879
|
style: {
|
|
38775
38880
|
maxWidth: '2.5vh',
|
|
38776
38881
|
maxHeight: '2.5vh'
|
|
38777
38882
|
}
|
|
38778
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38883
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38779
38884
|
"class": "m-0 p-0"
|
|
38780
38885
|
}, "En")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
38781
38886
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
@@ -38786,7 +38891,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
38786
38891
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
38787
38892
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38788
38893
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38789
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38894
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
38790
38895
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
38791
38896
|
style: {
|
|
38792
38897
|
maxWidth: '2vh',
|
|
@@ -38803,7 +38908,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
38803
38908
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
38804
38909
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38805
38910
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38806
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38911
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
38807
38912
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
38808
38913
|
style: {
|
|
38809
38914
|
maxWidth: '2vh',
|
|
@@ -64221,7 +64326,7 @@ var VideosSection = function VideosSection(props) {
|
|
|
64221
64326
|
}, Object.keys(videosarrayofobjs).length != 0 && videosarrayofobjs.map(function (item, index) {
|
|
64222
64327
|
var _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
64223
64328
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64224
|
-
className: item.numberofcols == 12 ? 'd-flex align-items-stretch p-0 col-md-12 col-sm-12 col-lg-' + item.numberofcols : 'd-flex align-items-stretch col-md-12 col-sm-12 col-lg-' + item.numberofcols,
|
|
64329
|
+
className: item.numberofcols == 12 ? ' imagevideozoominhover d-flex align-items-stretch p-0 col-md-12 col-sm-12 col-lg-' + item.numberofcols : ' imagevideozoominhover d-flex align-items-stretch col-md-12 col-sm-12 col-lg-' + item.numberofcols,
|
|
64225
64330
|
style: {
|
|
64226
64331
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
64227
64332
|
padding: item.numberofcols == '12' ? 0 : '',
|
|
@@ -64231,6 +64336,14 @@ var VideosSection = function VideosSection(props) {
|
|
|
64231
64336
|
var _authdetailsContext$i2;
|
|
64232
64337
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6782b16e742b5') {
|
|
64233
64338
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + '67978b4e0d572');
|
|
64339
|
+
} else if (item.linkclicked == false && item.image != '' && item.image != null) {
|
|
64340
|
+
if (item.linktype == 'External Link') {
|
|
64341
|
+
window.open(item.url, '_blank');
|
|
64342
|
+
} else if (item.linktype == 'Image') ; else {
|
|
64343
|
+
var temparr = _toConsumableArray__default["default"](videosarrayofobjs);
|
|
64344
|
+
temparr[index].linkclicked = true;
|
|
64345
|
+
setvideosarrayofobjs(_toConsumableArray__default["default"](temparr));
|
|
64346
|
+
}
|
|
64234
64347
|
}
|
|
64235
64348
|
}
|
|
64236
64349
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -64300,7 +64413,7 @@ var VideosSection = function VideosSection(props) {
|
|
|
64300
64413
|
setvideosarrayofobjs(_toConsumableArray__default["default"](temparr));
|
|
64301
64414
|
}
|
|
64302
64415
|
},
|
|
64303
|
-
"class": "w-100 h-100",
|
|
64416
|
+
"class": "w-100 h-100 cursor-pointer imagevideocont",
|
|
64304
64417
|
style: {
|
|
64305
64418
|
cursor: item.linktype == 'Image' ? 'default' : 'pointer'
|
|
64306
64419
|
}
|
|
@@ -71274,6 +71387,7 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
71274
71387
|
function ownKeys$Q(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; }
|
|
71275
71388
|
function _objectSpread$Q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
71276
71389
|
var Slideshowslide = function Slideshowslide(props) {
|
|
71390
|
+
var _authdetailsContext$i2;
|
|
71277
71391
|
var _useState = React.useState(''),
|
|
71278
71392
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
71279
71393
|
sectionproperties = _useState2[0],
|
|
@@ -71345,7 +71459,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71345
71459
|
var Slideshowsettings = {
|
|
71346
71460
|
indicators: false,
|
|
71347
71461
|
arrows: sectionproperties.showarrows == 'Show' ? true : false,
|
|
71348
|
-
pauseOnHover: false,
|
|
71462
|
+
pauseOnHover: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6807d313bae63' ? true : false,
|
|
71349
71463
|
scale: 2
|
|
71350
71464
|
};
|
|
71351
71465
|
var slideshow_styles = {
|
|
@@ -71488,7 +71602,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71488
71602
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
71489
71603
|
};
|
|
71490
71604
|
var SlideshowContent = function SlideshowContent() {
|
|
71491
|
-
var _authdetailsContext$
|
|
71605
|
+
var _authdetailsContext$i3, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
|
|
71492
71606
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71493
71607
|
"class": "col-lg-12 p-0"
|
|
71494
71608
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -71521,8 +71635,8 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71521
71635
|
height: sectionproperties.height + 'vh',
|
|
71522
71636
|
overflowY: 'scroll'
|
|
71523
71637
|
}
|
|
71524
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
71525
|
-
var _authdetailsContext$
|
|
71638
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcategories) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
71639
|
+
var _authdetailsContext$i4;
|
|
71526
71640
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71527
71641
|
"class": slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
71528
71642
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -71544,7 +71658,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71544
71658
|
size: sectionproperties.collectionsectioniconfontsize
|
|
71545
71659
|
}) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
71546
71660
|
size: sectionproperties.collectionsectioniconfontsize
|
|
71547
|
-
}))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
71661
|
+
}))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instcategories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71548
71662
|
className: "col-lg-12 p-0 mt-3 mb-3"
|
|
71549
71663
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
71550
71664
|
"class": "m-0"
|
|
@@ -71578,7 +71692,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71578
71692
|
"class": "m-0"
|
|
71579
71693
|
})));
|
|
71580
71694
|
}
|
|
71581
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
71695
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instcollections.map(function (item, index) {
|
|
71582
71696
|
if (item.isshowntocustomers == 1) {
|
|
71583
71697
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71584
71698
|
"class": slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
@@ -71616,7 +71730,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71616
71730
|
"class": "m-0"
|
|
71617
71731
|
})));
|
|
71618
71732
|
}
|
|
71619
|
-
}))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
71733
|
+
}))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.instcategories[Choosenindex]) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.parentcolletions) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71620
71734
|
"class": langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
|
|
71621
71735
|
style: {
|
|
71622
71736
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -71626,7 +71740,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71626
71740
|
}
|
|
71627
71741
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71628
71742
|
"class": "row m-0 w-100"
|
|
71629
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
71743
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcategories[Choosenindex]) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.parentcolletions) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.map(function (item, index) {
|
|
71630
71744
|
var _item$collections;
|
|
71631
71745
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71632
71746
|
"class": "col-lg-4 p-0"
|
|
@@ -71661,7 +71775,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71661
71775
|
}
|
|
71662
71776
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71663
71777
|
"class": "row m-0 w-100"
|
|
71664
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
71778
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcategories[0]) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.parentcolletions[Choosenindex]) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.collections) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.map(function (item, index) {
|
|
71665
71779
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71666
71780
|
"class": "col-lg-4 p-0",
|
|
71667
71781
|
onClick: function onClick() {
|
|
@@ -74451,7 +74565,7 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
74451
74565
|
}),
|
|
74452
74566
|
pinfohover: glamor.css({
|
|
74453
74567
|
opacity: 0,
|
|
74454
|
-
background:
|
|
74568
|
+
background: sectionproperties.backgroundColor,
|
|
74455
74569
|
position: 'absolute',
|
|
74456
74570
|
top: 0,
|
|
74457
74571
|
transition: '.3s'
|
|
@@ -74639,7 +74753,20 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
74639
74753
|
}
|
|
74640
74754
|
}
|
|
74641
74755
|
}, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74642
|
-
"class": card_cssstyles.pinfohover + ' row m-0 w-100 pinfohover h-100 d-flex align-items-center '
|
|
74756
|
+
"class": card_cssstyles.pinfohover + ' row m-0 w-100 pinfohover h-100 d-flex align-items-center ',
|
|
74757
|
+
onClick: function onClick(e) {
|
|
74758
|
+
var _sectionproperties$se2;
|
|
74759
|
+
if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
|
|
74760
|
+
e.stopPropagation();
|
|
74761
|
+
var productidtobesend = null;
|
|
74762
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
74763
|
+
productidtobesend = item.productendpointurl;
|
|
74764
|
+
} else {
|
|
74765
|
+
productidtobesend = item.productid;
|
|
74766
|
+
}
|
|
74767
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
74768
|
+
}
|
|
74769
|
+
}
|
|
74643
74770
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74644
74771
|
"class": "row m-0 w-100 px-3"
|
|
74645
74772
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|