tabexseriescomponents 0.2.853 → 0.2.855
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 +317 -161
- package/dist/index.esm.js +316 -161
- package/dist/index.umd.js +319 -165
- package/package.json +2 -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');
|
|
@@ -164,6 +165,7 @@ var GoStar = require('@react-icons/all-files/go/GoStar');
|
|
|
164
165
|
var IoIosStar = require('@react-icons/all-files/io/IoIosStar');
|
|
165
166
|
var reactCountdownCircleTimer = require('react-countdown-circle-timer');
|
|
166
167
|
var reactTypeAnimation = require('react-type-animation');
|
|
168
|
+
var AnimatedNumbers = require('react-animated-numbers');
|
|
167
169
|
var BackgroundSlideshow = require('react-background-slideshow');
|
|
168
170
|
var HiOutlineLocationMarker = require('@react-icons/all-files/hi/HiOutlineLocationMarker');
|
|
169
171
|
var FiPhoneCall = require('@react-icons/all-files/fi/FiPhoneCall');
|
|
@@ -219,6 +221,7 @@ var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$4);
|
|
|
219
221
|
var PhoneInput__default = /*#__PURE__*/_interopDefaultLegacy(PhoneInput);
|
|
220
222
|
var InputRange__default = /*#__PURE__*/_interopDefaultLegacy(InputRange);
|
|
221
223
|
var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
|
|
224
|
+
var AnimatedNumbers__default = /*#__PURE__*/_interopDefaultLegacy(AnimatedNumbers);
|
|
222
225
|
var BackgroundSlideshow__default = /*#__PURE__*/_interopDefaultLegacy(BackgroundSlideshow);
|
|
223
226
|
|
|
224
227
|
// import './index.module.css'
|
|
@@ -1881,7 +1884,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1881
1884
|
var ProductExtras = function ProductExtras(props) {
|
|
1882
1885
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2;
|
|
1883
1886
|
props.actions.lang;
|
|
1884
|
-
props.actions.langdetect;
|
|
1887
|
+
var langdetect = props.actions.langdetect;
|
|
1885
1888
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
1886
1889
|
props.actions.GeneralAPIMutationContext;
|
|
1887
1890
|
props.actions.NotificationManager;
|
|
@@ -1933,19 +1936,23 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
1933
1936
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1934
1937
|
className: 'row w-100 ml-0 mr-0 mt-3'
|
|
1935
1938
|
}, 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;
|
|
1939
|
+
var _item$productinfo, _item$productinfo2, _authdetailsContext, _authdetailsContext2;
|
|
1937
1940
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1938
|
-
"class": "col-lg-6 p-0"
|
|
1941
|
+
"class": "col-lg-6 col-sm-12 p-0 mb-3"
|
|
1939
1942
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1940
1943
|
"class": "row m-0 w-100"
|
|
1941
1944
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1942
|
-
className: formstyles.extracontainer + ' col-
|
|
1945
|
+
className: formstyles.extracontainer + ' col-8 p-sm-0 d-flex align-items-center justify-content-start cursor-pointer '
|
|
1943
1946
|
}, /*#__PURE__*/React__default["default"].createElement(HiOutlinePlusCircle.HiOutlinePlusCircle, {
|
|
1944
1947
|
size: 20,
|
|
1945
1948
|
color: sectionproperties.form_labelcolor
|
|
1946
1949
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1947
1950
|
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))
|
|
1951
|
+
}, 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", {
|
|
1952
|
+
className: ' col-4 p-sm-0 d-flex align-items-center justify-content-end cursor-pointer '
|
|
1953
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1954
|
+
className: "".concat(formstyles.input_label_name) + ' m-0 p-0 mx-2 '
|
|
1955
|
+
}, 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
1956
|
}));
|
|
1950
1957
|
};
|
|
1951
1958
|
|
|
@@ -2947,7 +2954,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
2947
2954
|
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
2955
|
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
2956
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2950
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$
|
|
2957
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _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
2958
|
var lang = props.actions.lang;
|
|
2952
2959
|
var actions = props.actions;
|
|
2953
2960
|
var langdetect = props.actions.langdetect;
|
|
@@ -3291,6 +3298,86 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3291
3298
|
srcfromprops: 'collap'
|
|
3292
3299
|
}))));
|
|
3293
3300
|
};
|
|
3301
|
+
var QuantityButton = function QuantityButton(position) {
|
|
3302
|
+
var _authdetailsContext$i3;
|
|
3303
|
+
return /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3304
|
+
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 ',
|
|
3305
|
+
style: {
|
|
3306
|
+
height: sectionproperties.quantitybtn_height + 'px',
|
|
3307
|
+
width: position == 'fixedcontainer' ? '100%' : sectionproperties.quantitybtn_width + 'px',
|
|
3308
|
+
flexDirection: 'row',
|
|
3309
|
+
direction: 'ltr'
|
|
3310
|
+
}
|
|
3311
|
+
}, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3312
|
+
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
3313
|
+
onClick: function onClick() {
|
|
3314
|
+
var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6;
|
|
3315
|
+
var quantitystepincrearse = 1;
|
|
3316
|
+
var tempaddtocardpayloadobj = _objectSpread$2z({}, addtocardpayloadobj);
|
|
3317
|
+
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) != '') {
|
|
3318
|
+
var _fetchProductInfoQuer7;
|
|
3319
|
+
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);
|
|
3320
|
+
}
|
|
3321
|
+
var finalquantity = tempaddtocardpayloadobj.quantity - quantitystepincrearse;
|
|
3322
|
+
if (finalquantity >= 0) {
|
|
3323
|
+
tempaddtocardpayloadobj.quantity = finalquantity;
|
|
3324
|
+
}
|
|
3325
|
+
setaddtocardpayloadobj(_objectSpread$2z({}, tempaddtocardpayloadobj));
|
|
3326
|
+
}
|
|
3327
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3328
|
+
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
|
|
3329
|
+
style: {
|
|
3330
|
+
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
|
|
3331
|
+
}
|
|
3332
|
+
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
3333
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
3334
|
+
}))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3335
|
+
className: "".concat(productinfo_cssstyles.quantitybtn_text)
|
|
3336
|
+
}, (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", {
|
|
3337
|
+
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
3338
|
+
onClick: function onClick() {
|
|
3339
|
+
var _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1;
|
|
3340
|
+
var quantitystepincrearse = 1;
|
|
3341
|
+
var tempaddtocardpayloadobj = _objectSpread$2z({}, addtocardpayloadobj);
|
|
3342
|
+
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) != '') {
|
|
3343
|
+
var _fetchProductInfoQuer10;
|
|
3344
|
+
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);
|
|
3345
|
+
}
|
|
3346
|
+
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + quantitystepincrearse;
|
|
3347
|
+
setaddtocardpayloadobj(_objectSpread$2z({}, tempaddtocardpayloadobj));
|
|
3348
|
+
}
|
|
3349
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3350
|
+
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered',
|
|
3351
|
+
style: {
|
|
3352
|
+
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
|
|
3353
|
+
}
|
|
3354
|
+
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
3355
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
3356
|
+
}))), sectionproperties.quantitybtneditable == 'Yes' && /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3357
|
+
type: "number",
|
|
3358
|
+
style: {
|
|
3359
|
+
width: 100,
|
|
3360
|
+
height: 40,
|
|
3361
|
+
background: 'transparent',
|
|
3362
|
+
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
3363
|
+
color: sectionproperties.quantitybtn_textcolor,
|
|
3364
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
3365
|
+
textAlign: 'center'
|
|
3366
|
+
},
|
|
3367
|
+
value: addtocardpayloadobj.quantity,
|
|
3368
|
+
onChange: function onChange(event) {
|
|
3369
|
+
if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
|
|
3370
|
+
var tempaddtocardpayloadobj = _objectSpread$2z({}, addtocardpayloadobj);
|
|
3371
|
+
tempaddtocardpayloadobj.quantity = 1;
|
|
3372
|
+
setaddtocardpayloadobj(_objectSpread$2z({}, tempaddtocardpayloadobj));
|
|
3373
|
+
} else {
|
|
3374
|
+
var tempaddtocardpayloadobj = _objectSpread$2z({}, addtocardpayloadobj);
|
|
3375
|
+
tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
|
|
3376
|
+
setaddtocardpayloadobj(_objectSpread$2z({}, tempaddtocardpayloadobj));
|
|
3377
|
+
}
|
|
3378
|
+
}
|
|
3379
|
+
}));
|
|
3380
|
+
};
|
|
3294
3381
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3295
3382
|
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
3383
|
style: {
|
|
@@ -3299,7 +3386,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3299
3386
|
}
|
|
3300
3387
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3301
3388
|
"class": ' col-lg-12 p-0 '
|
|
3302
|
-
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3389
|
+
}, 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
3390
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
3304
3391
|
style: {
|
|
3305
3392
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -3309,7 +3396,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3309
3396
|
// scrollhorizontalwithscrollbarremove
|
|
3310
3397
|
React__default["default"].createElement("div", {
|
|
3311
3398
|
"class": "w-100 scrollhorizontalwithscrollbar "
|
|
3312
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3399
|
+
}, (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
3400
|
if (item.is_size_guide != 1) {
|
|
3314
3401
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3315
3402
|
"class": ' scrollhorizontalcard mx-2 ',
|
|
@@ -3331,7 +3418,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3331
3418
|
}
|
|
3332
3419
|
}))), sectionproperties.gallerystyle == 'One Centered Image' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3333
3420
|
"class": "col-lg-12 allcentered"
|
|
3334
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3421
|
+
}, (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
3422
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3336
3423
|
"class": ' mx-2 ',
|
|
3337
3424
|
style: {
|
|
@@ -3447,15 +3534,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3447
3534
|
fontWeight: sectionproperties.quantityfontweight
|
|
3448
3535
|
}
|
|
3449
3536
|
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ":", ' ', fetchProductInfoQueryContext.data.data.productinfo.currentquantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3450
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3537
|
+
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
3538
|
style: {
|
|
3452
3539
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
3453
3540
|
}
|
|
3454
|
-
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3541
|
+
}, 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
3542
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
3456
3543
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
3457
3544
|
count: 5,
|
|
3458
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3545
|
+
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
3546
|
edit: false,
|
|
3460
3547
|
size: 18,
|
|
3461
3548
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -3476,7 +3563,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3476
3563
|
activeColor: "#ffd700"
|
|
3477
3564
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3478
3565
|
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 || (
|
|
3566
|
+
}, 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
3567
|
style: {
|
|
3481
3568
|
width: sectionproperties.availability_width + 'px',
|
|
3482
3569
|
height: sectionproperties.availability_height + 'px',
|
|
@@ -3529,7 +3616,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3529
3616
|
"class": "col-lg-12 text-start p-0"
|
|
3530
3617
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3531
3618
|
className: "row m-0 w-100"
|
|
3532
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3619
|
+
}, 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
3620
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3534
3621
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
3535
3622
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3587,7 +3674,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3587
3674
|
color: sectionproperties.prodCatColor
|
|
3588
3675
|
},
|
|
3589
3676
|
dangerouslySetInnerHTML: {
|
|
3590
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3677
|
+
__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
3678
|
}
|
|
3592
3679
|
})))), sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3593
3680
|
"class": "col-lg-12 text-start p-md-0"
|
|
@@ -3606,7 +3693,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3606
3693
|
className: "col-lg-12 m-0 w-100 p-0"
|
|
3607
3694
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
3608
3695
|
className: 'table tablevertical'
|
|
3609
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3696
|
+
}, 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
3697
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
3611
3698
|
style: {
|
|
3612
3699
|
textTransform: 'capitalize',
|
|
@@ -3638,11 +3725,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3638
3725
|
fontSize: sectionproperties.featurevaluefontsize
|
|
3639
3726
|
}
|
|
3640
3727
|
}, 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 || (
|
|
3728
|
+
}))))), 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
3729
|
actions: props.actions
|
|
3643
3730
|
}), sectionproperties.featuresposition == 'Under Pricing' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3644
3731
|
"class": "col-lg-12 text-start p-0"
|
|
3645
|
-
}, ProductFeaturesTable()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3732
|
+
}, 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
3733
|
"class": "col-lg-12 p-0"
|
|
3647
3734
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3648
3735
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -3652,9 +3739,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3652
3739
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3653
3740
|
},
|
|
3654
3741
|
dangerouslySetInnerHTML: {
|
|
3655
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3742
|
+
__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
3743
|
}
|
|
3657
|
-
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3744
|
+
}))), 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
3745
|
"class": "col-lg-12 p-0"
|
|
3659
3746
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3660
3747
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -3664,9 +3751,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3664
3751
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3665
3752
|
},
|
|
3666
3753
|
dangerouslySetInnerHTML: {
|
|
3667
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3754
|
+
__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
3755
|
}
|
|
3669
|
-
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3756
|
+
}))), (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
3757
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
3671
3758
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3672
3759
|
"class": "m-0 p-0",
|
|
@@ -3677,15 +3764,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3677
3764
|
style: {
|
|
3678
3765
|
fontWeight: 600
|
|
3679
3766
|
}
|
|
3680
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3681
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3682
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3767
|
+
}, 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", {
|
|
3768
|
+
"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'
|
|
3769
|
+
}, 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
3770
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
3684
3771
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3685
3772
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
3686
3773
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3687
3774
|
"class": "m-0 p-0"
|
|
3688
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3775
|
+
}, 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
3776
|
"class": "mb-4 col-lg-12 allcentered",
|
|
3690
3777
|
style: {
|
|
3691
3778
|
width: '100%',
|
|
@@ -3706,7 +3793,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3706
3793
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3707
3794
|
color: sectionproperties.deliverytimecontainercolor
|
|
3708
3795
|
}
|
|
3709
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3796
|
+
}, 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
3797
|
actions: props.actions
|
|
3711
3798
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3712
3799
|
"class": "col-lg-12 p-0"
|
|
@@ -3747,7 +3834,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3747
3834
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
3748
3835
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
3749
3836
|
}
|
|
3750
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3837
|
+
}, (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
3838
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
3752
3839
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3753
3840
|
className: "m-0 p-0",
|
|
@@ -3764,83 +3851,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3764
3851
|
style: {
|
|
3765
3852
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
3766
3853
|
}
|
|
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", {
|
|
3854
|
+
}, 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
3855
|
"class": "col-lg-12 text-start p-md-0"
|
|
3845
3856
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3846
3857
|
className: "row m-0 w-100"
|
|
@@ -5266,7 +5277,73 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5266
5277
|
objectFit: 'contain'
|
|
5267
5278
|
},
|
|
5268
5279
|
loading: "lazy"
|
|
5269
|
-
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)))
|
|
5280
|
+
}))), /*#__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", {
|
|
5281
|
+
"class": "col-12 p-0",
|
|
5282
|
+
style: {
|
|
5283
|
+
position: 'fixed',
|
|
5284
|
+
bottom: 0,
|
|
5285
|
+
background: '#fafafa',
|
|
5286
|
+
zIndex: 999,
|
|
5287
|
+
boxShadow: '0 0 10px #ccc'
|
|
5288
|
+
}
|
|
5289
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5290
|
+
"class": "row m-0 w-100 px-2 py-3"
|
|
5291
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5292
|
+
"class": "col-6 allcentered"
|
|
5293
|
+
}, QuantityButton('fixedcontainer')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5294
|
+
"class": "col-6"
|
|
5295
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5296
|
+
"class": "row m-0 w-100",
|
|
5297
|
+
style: {
|
|
5298
|
+
overflow: 'hidden'
|
|
5299
|
+
}
|
|
5300
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5301
|
+
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center ',
|
|
5302
|
+
style: {
|
|
5303
|
+
width: sectionproperties.cartBtnWidth + '%'
|
|
5304
|
+
},
|
|
5305
|
+
onClick: function onClick() {
|
|
5306
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5307
|
+
var _fetchProductInfoQuer91;
|
|
5308
|
+
window.open('tel:' + ((_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.product_phonenumber), '_blank');
|
|
5309
|
+
} else {
|
|
5310
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5311
|
+
addtocartfunc();
|
|
5312
|
+
} else {
|
|
5313
|
+
NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
5314
|
+
}
|
|
5315
|
+
}
|
|
5316
|
+
},
|
|
5317
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
5318
|
+
}, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5319
|
+
className: ' d-flex align-items-center justify-content-center '
|
|
5320
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
5321
|
+
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'
|
|
5322
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
5323
|
+
className: "",
|
|
5324
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
5325
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
5326
|
+
className: "",
|
|
5327
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
5328
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
5329
|
+
className: "",
|
|
5330
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
5331
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
|
|
5332
|
+
className: "",
|
|
5333
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
5334
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
5335
|
+
className: "",
|
|
5336
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
5337
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5338
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
5339
|
+
})), 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", {
|
|
5340
|
+
className: ' d-flex align-items-center justify-content-center '
|
|
5341
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5342
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
5343
|
+
width: "20px",
|
|
5344
|
+
height: "20px",
|
|
5345
|
+
duration: "1s"
|
|
5346
|
+
}))))))));
|
|
5270
5347
|
};
|
|
5271
5348
|
|
|
5272
5349
|
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 +16131,7 @@ styleInject(css_248z$E);
|
|
|
16054
16131
|
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
16132
|
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
16133
|
var CartSlider = function CartSlider(props) {
|
|
16057
|
-
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue0, _fetchcustomercartQue1, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
|
|
16134
|
+
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue0, _fetchcustomercartQue1, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
|
|
16058
16135
|
var lang = props.actions.lang;
|
|
16059
16136
|
var langdetect = props.actions.langdetect;
|
|
16060
16137
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -16323,7 +16400,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
16323
16400
|
})
|
|
16324
16401
|
};
|
|
16325
16402
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16326
|
-
className: cart_cssstyles.canvascontainer + ' col-lg-12 canvascontainer ',
|
|
16403
|
+
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
16404
|
style: {
|
|
16328
16405
|
zIndex: 1000000
|
|
16329
16406
|
}
|
|
@@ -25597,7 +25674,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
25597
25674
|
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
25675
|
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
25676
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
25600
|
-
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$
|
|
25677
|
+
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
25678
|
var actions = props.actions;
|
|
25602
25679
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
25603
25680
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -26257,7 +26334,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26257
26334
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26258
26335
|
className: "row m-0 w-100 d-none d-md-block",
|
|
26259
26336
|
style: {
|
|
26260
|
-
position: sectionproperties.respheaderposition,
|
|
26337
|
+
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
26338
|
// position: window.location.pathname == '/home' ? sectionproperties.respheaderposition : 'relative',
|
|
26262
26339
|
zIndex: 999,
|
|
26263
26340
|
top: sectionproperties.respheaderposition == 'absolute' || sectionproperties.respheaderposition == 'fixed' ? '50px' : 0
|
|
@@ -26278,7 +26355,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26278
26355
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26279
26356
|
className: "col-lg-12 p-0",
|
|
26280
26357
|
style: {
|
|
26281
|
-
background: sectionproperties.responsiveheadertransparentbg == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.resposive_bgcolor : 'transparent' : sectionproperties.resposive_bgcolor
|
|
26358
|
+
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
26359
|
// sectionproperties.responsiveheadertransparentbg == 'Transparent' && window.location.pathname == '/home' ? 'transparent' : sectionproperties.resposive_bgcolor,
|
|
26283
26360
|
}
|
|
26284
26361
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -26288,7 +26365,22 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26288
26365
|
}
|
|
26289
26366
|
}, sectionproperties.logocentered == 'Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26290
26367
|
className: "col-md-4 col-sm-3 text-start p-0"
|
|
26291
|
-
},
|
|
26368
|
+
}, (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", {
|
|
26369
|
+
style: {
|
|
26370
|
+
width: '35px',
|
|
26371
|
+
height: '35px'
|
|
26372
|
+
},
|
|
26373
|
+
onClick: function onClick() {
|
|
26374
|
+
if (window.location.pathname == '/home') ; else {
|
|
26375
|
+
window.history.back();
|
|
26376
|
+
}
|
|
26377
|
+
}
|
|
26378
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
26379
|
+
"class": "h-100 allcentered"
|
|
26380
|
+
}, /*#__PURE__*/React__default["default"].createElement(MdArrowBack.MdArrowBack, {
|
|
26381
|
+
color: sectionproperties.searchbaricon_color,
|
|
26382
|
+
size: 25
|
|
26383
|
+
}))), sectionproperties.respiconposition != 'Right' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26292
26384
|
"class": header_cssstyles.respicon
|
|
26293
26385
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
26294
26386
|
"class": ' h-100 allcentered ',
|
|
@@ -26387,7 +26479,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26387
26479
|
}, /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
26388
26480
|
size: 22,
|
|
26389
26481
|
color: sectionproperties.wishlistresponsivecolor
|
|
26390
|
-
}))), sectionproperties.cartBtnShow == 'Show' && CartButton(), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
26482
|
+
}))), 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
26483
|
"class": 'd-flex align-items-center pl-1 pr-1 pt-1',
|
|
26392
26484
|
style: {}
|
|
26393
26485
|
}, /*#__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 +26495,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26403
26495
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
26404
26496
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26405
26497
|
"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$
|
|
26498
|
+
}, 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) {
|
|
26499
|
+
var _authdetailsContext$i9;
|
|
26408
26500
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
26409
26501
|
"class": "m-0 p-0",
|
|
26410
26502
|
onClick: function onClick() {
|
|
@@ -26426,7 +26518,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26426
26518
|
}
|
|
26427
26519
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
26428
26520
|
"class": 'ml-2 mr-2'
|
|
26429
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
26521
|
+
}, 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
26522
|
"class": "col-lg-12 p-0"
|
|
26431
26523
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
26432
26524
|
"class": "m-0"
|
|
@@ -26546,8 +26638,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26546
26638
|
size: 20,
|
|
26547
26639
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
26548
26640
|
}))), templatepropcontext.pagesnprop.map(function (item, index) {
|
|
26549
|
-
var _authdetailsContext$
|
|
26550
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
26641
|
+
var _authdetailsContext$i0;
|
|
26642
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) != '6790ae890234e') {
|
|
26551
26643
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
26552
26644
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26553
26645
|
className: "row m-0 w-100 anim"
|
|
@@ -26693,9 +26785,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26693
26785
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
26694
26786
|
setmenuactive(false);
|
|
26695
26787
|
}
|
|
26696
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
26788
|
+
}, (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
26789
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
26698
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
26790
|
+
}, 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
26791
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
26700
26792
|
}, lang.wishlist))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26701
26793
|
className: "col-lg-12 p-0"
|
|
@@ -27093,9 +27185,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
27093
27185
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
27094
27186
|
setopenCnvas(false);
|
|
27095
27187
|
}
|
|
27096
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27188
|
+
}, (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
27189
|
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$
|
|
27190
|
+
}, 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
27191
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
27100
27192
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27101
27193
|
className: "col-lg-12 p-0"
|
|
@@ -27503,9 +27595,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
27503
27595
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
27504
27596
|
setopenCnvas(false);
|
|
27505
27597
|
}
|
|
27506
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27598
|
+
}, (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
27599
|
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$
|
|
27600
|
+
}, 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
27601
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
27510
27602
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27511
27603
|
className: "col-lg-12 p-0"
|
|
@@ -27608,7 +27700,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
27608
27700
|
style: {
|
|
27609
27701
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
27610
27702
|
}
|
|
27611
|
-
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27703
|
+
}))), 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
27704
|
"class": "row m-0 w-100 pl-3 pr-3"
|
|
27613
27705
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27614
27706
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '
|
|
@@ -27626,7 +27718,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
27626
27718
|
background: '#f4f4f4',
|
|
27627
27719
|
borderRadius: 5
|
|
27628
27720
|
}
|
|
27629
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27721
|
+
}, 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
27722
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27631
27723
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
|
|
27632
27724
|
onClick: function onClick() {
|
|
@@ -33865,7 +33957,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33865
33957
|
}, [templateproperties_context]);
|
|
33866
33958
|
var header_cssstyles = (_header_cssstyles = {
|
|
33867
33959
|
headercontainer: glamor.css({
|
|
33868
|
-
borderBottom: '
|
|
33960
|
+
borderBottom: sectionproperties.headerborderbottomwidth + 'px solid ' + sectionproperties.headerbordercolor,
|
|
33869
33961
|
position: sectionproperties.headerstyles_position,
|
|
33870
33962
|
top: 0,
|
|
33871
33963
|
display: 'flex',
|
|
@@ -38034,7 +38126,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
38034
38126
|
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
38127
|
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
38128
|
var Modernheader = function Modernheader(props) {
|
|
38037
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$
|
|
38129
|
+
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
38130
|
var _useState = React.useState(''),
|
|
38039
38131
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
38040
38132
|
sectionproperties = _useState2[0],
|
|
@@ -38445,7 +38537,22 @@ var Modernheader = function Modernheader(props) {
|
|
|
38445
38537
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38446
38538
|
"class": "col-lg-4 col-md-6 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
38447
38539
|
style: {}
|
|
38448
|
-
},
|
|
38540
|
+
}, (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", {
|
|
38541
|
+
style: {
|
|
38542
|
+
width: sectionproperties.searchbarcont_height + 'px',
|
|
38543
|
+
height: sectionproperties.searchbarcont_height + 'px'
|
|
38544
|
+
},
|
|
38545
|
+
onClick: function onClick() {
|
|
38546
|
+
if (window.location.pathname == '/home') ; else {
|
|
38547
|
+
window.history.back();
|
|
38548
|
+
}
|
|
38549
|
+
}
|
|
38550
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
38551
|
+
"class": "h-100 allcentered"
|
|
38552
|
+
}, /*#__PURE__*/React__default["default"].createElement(MdArrowBack.MdArrowBack, {
|
|
38553
|
+
color: sectionproperties.searchbaricon_color,
|
|
38554
|
+
size: 35
|
|
38555
|
+
}))), sectionproperties.searchbartype == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38449
38556
|
"class": header_cssstyles.searchbarcont
|
|
38450
38557
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
38451
38558
|
type: "text",
|
|
@@ -38479,7 +38586,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
38479
38586
|
"class": "h-100 "
|
|
38480
38587
|
}, /*#__PURE__*/React__default["default"].createElement(FiSearch.FiSearch, {
|
|
38481
38588
|
size: sectionproperties.searchbaricon_fontsize
|
|
38482
|
-
})))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38589
|
+
})))), 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
38590
|
"class": ' d-flex align-items-center justify-content-end '
|
|
38484
38591
|
}, /*#__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
38592
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -38501,8 +38608,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
38501
38608
|
}
|
|
38502
38609
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
38503
38610
|
color: sectionproperties.searchbaricon_color
|
|
38504
|
-
})))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38505
|
-
var _authdetailsContext$
|
|
38611
|
+
})))), /*#__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) {
|
|
38612
|
+
var _authdetailsContext$i5;
|
|
38506
38613
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
38507
38614
|
onClick: function onClick() {
|
|
38508
38615
|
setcurrencyfunccontext(item);
|
|
@@ -38523,7 +38630,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
38523
38630
|
}
|
|
38524
38631
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38525
38632
|
"class": 'ml-2 mr-2'
|
|
38526
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38633
|
+
}, 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
38634
|
"class": "col-lg-12 p-0"
|
|
38528
38635
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
38529
38636
|
"class": "m-0"
|
|
@@ -38759,23 +38866,23 @@ var Modernheader = function Modernheader(props) {
|
|
|
38759
38866
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
38760
38867
|
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38761
38868
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
38762
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38869
|
+
}, (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
38870
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
38764
38871
|
style: {
|
|
38765
38872
|
maxWidth: '2.5vh',
|
|
38766
38873
|
maxHeight: '2.5vh'
|
|
38767
38874
|
}
|
|
38768
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38875
|
+
}), (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
38876
|
"class": "m-0 p-0"
|
|
38770
38877
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38771
38878
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
38772
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38879
|
+
}, (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
38880
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
38774
38881
|
style: {
|
|
38775
38882
|
maxWidth: '2.5vh',
|
|
38776
38883
|
maxHeight: '2.5vh'
|
|
38777
38884
|
}
|
|
38778
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38885
|
+
}), (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
38886
|
"class": "m-0 p-0"
|
|
38780
38887
|
}, "En")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
38781
38888
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
@@ -38786,7 +38893,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
38786
38893
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
38787
38894
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38788
38895
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38789
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38896
|
+
}, (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
38897
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
38791
38898
|
style: {
|
|
38792
38899
|
maxWidth: '2vh',
|
|
@@ -38803,7 +38910,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
38803
38910
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
38804
38911
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38805
38912
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38806
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38913
|
+
}, (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
38914
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
38808
38915
|
style: {
|
|
38809
38916
|
maxWidth: '2vh',
|
|
@@ -46641,7 +46748,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46641
46748
|
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
46642
46749
|
transition: '.3s',
|
|
46643
46750
|
':hover': {
|
|
46644
|
-
background: sectionproperties.favBtnbgColoronhover,
|
|
46751
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
46645
46752
|
color: sectionproperties.favBtnTextcoloronhover,
|
|
46646
46753
|
borderColor: sectionproperties.favBtnTextcoloronhover
|
|
46647
46754
|
}
|
|
@@ -46655,7 +46762,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46655
46762
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
46656
46763
|
transition: '.3s',
|
|
46657
46764
|
':hover': {
|
|
46658
|
-
background: sectionproperties.cartBtnbgColoronhover,
|
|
46765
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
46659
46766
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
46660
46767
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
46661
46768
|
}
|
|
@@ -54830,7 +54937,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
54830
54937
|
}
|
|
54831
54938
|
}, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length), /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
54832
54939
|
size: 18
|
|
54833
|
-
})), langdetect == 'en' ? 'Wishlist' : '
|
|
54940
|
+
})), langdetect == 'en' ? 'Wishlist' : 'المفضلة'), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54834
54941
|
"class": footerStyles.subPages + ' flex-row m-0 p-0 ',
|
|
54835
54942
|
style: {
|
|
54836
54943
|
textAlign: 'center',
|
|
@@ -64221,7 +64328,7 @@ var VideosSection = function VideosSection(props) {
|
|
|
64221
64328
|
}, Object.keys(videosarrayofobjs).length != 0 && videosarrayofobjs.map(function (item, index) {
|
|
64222
64329
|
var _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
64223
64330
|
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,
|
|
64331
|
+
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
64332
|
style: {
|
|
64226
64333
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
64227
64334
|
padding: item.numberofcols == '12' ? 0 : '',
|
|
@@ -64231,6 +64338,14 @@ var VideosSection = function VideosSection(props) {
|
|
|
64231
64338
|
var _authdetailsContext$i2;
|
|
64232
64339
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6782b16e742b5') {
|
|
64233
64340
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + '67978b4e0d572');
|
|
64341
|
+
} else if (item.linkclicked == false && item.image != '' && item.image != null) {
|
|
64342
|
+
if (item.linktype == 'External Link') {
|
|
64343
|
+
window.open(item.url, '_blank');
|
|
64344
|
+
} else if (item.linktype == 'Image') ; else {
|
|
64345
|
+
var temparr = _toConsumableArray__default["default"](videosarrayofobjs);
|
|
64346
|
+
temparr[index].linkclicked = true;
|
|
64347
|
+
setvideosarrayofobjs(_toConsumableArray__default["default"](temparr));
|
|
64348
|
+
}
|
|
64234
64349
|
}
|
|
64235
64350
|
}
|
|
64236
64351
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -64300,7 +64415,7 @@ var VideosSection = function VideosSection(props) {
|
|
|
64300
64415
|
setvideosarrayofobjs(_toConsumableArray__default["default"](temparr));
|
|
64301
64416
|
}
|
|
64302
64417
|
},
|
|
64303
|
-
"class": "w-100 h-100",
|
|
64418
|
+
"class": "w-100 h-100 cursor-pointer imagevideocont",
|
|
64304
64419
|
style: {
|
|
64305
64420
|
cursor: item.linktype == 'Image' ? 'default' : 'pointer'
|
|
64306
64421
|
}
|
|
@@ -69372,6 +69487,14 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69372
69487
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
69373
69488
|
var routingcountext = props.actions.routingcountext;
|
|
69374
69489
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
69490
|
+
var _React$useState = React__default["default"].useState(331231),
|
|
69491
|
+
_React$useState2 = _slicedToArray__default["default"](_React$useState, 2);
|
|
69492
|
+
_React$useState2[0];
|
|
69493
|
+
_React$useState2[1];
|
|
69494
|
+
var _useState5 = React.useState([]),
|
|
69495
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
69496
|
+
maincontainerarrayofobjs = _useState6[0],
|
|
69497
|
+
setmaincontainerarrayofobjs = _useState6[1];
|
|
69375
69498
|
React.useEffect(function () {
|
|
69376
69499
|
var secpropobj = {};
|
|
69377
69500
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -69393,10 +69516,6 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69393
69516
|
}
|
|
69394
69517
|
}
|
|
69395
69518
|
}, [sectionproperties]);
|
|
69396
|
-
var _useState5 = React.useState([]),
|
|
69397
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
69398
|
-
maincontainerarrayofobjs = _useState6[0],
|
|
69399
|
-
setmaincontainerarrayofobjs = _useState6[1];
|
|
69400
69519
|
React.useEffect(function () {
|
|
69401
69520
|
if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
|
|
69402
69521
|
var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
|
|
@@ -70047,7 +70166,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
70047
70166
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
70048
70167
|
}
|
|
70049
70168
|
}, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
70050
|
-
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
70169
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
70051
70170
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70052
70171
|
// class={
|
|
70053
70172
|
// sectionproperties.numofcols == '2'
|
|
@@ -70157,7 +70276,30 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
70157
70276
|
}
|
|
70158
70277
|
})),
|
|
70159
70278
|
activeColor: sectionproperties.generalbtn_textColor
|
|
70160
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70279
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67b3592219709' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70280
|
+
"class": "col-lg-12 d-flex p-0",
|
|
70281
|
+
style: {
|
|
70282
|
+
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
70283
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
70284
|
+
}
|
|
70285
|
+
}, /*#__PURE__*/React__default["default"].createElement(AnimatedNumbers__default["default"], {
|
|
70286
|
+
includeComma: true,
|
|
70287
|
+
className: 'animatedcontainer',
|
|
70288
|
+
transitions: function transitions(index) {
|
|
70289
|
+
return {
|
|
70290
|
+
type: 'spring',
|
|
70291
|
+
duration: index + 0.3
|
|
70292
|
+
};
|
|
70293
|
+
},
|
|
70294
|
+
animateToNumber: langdetect == 'en' ? parseInt(cardinfoitem.cardobj_titleen) : parseInt(cardinfoitem.cardobj_titleen),
|
|
70295
|
+
fontStyle: {
|
|
70296
|
+
color: cardinfoitem.text1colorfromarray,
|
|
70297
|
+
textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
70298
|
+
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
70299
|
+
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
70300
|
+
direction: 'ltr'
|
|
70301
|
+
}
|
|
70302
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) != '67b3592219709' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70161
70303
|
"class": "col-lg-12 d-flex p-0",
|
|
70162
70304
|
style: {
|
|
70163
70305
|
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
@@ -71274,6 +71416,7 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
71274
71416
|
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
71417
|
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
71418
|
var Slideshowslide = function Slideshowslide(props) {
|
|
71419
|
+
var _authdetailsContext$i2;
|
|
71277
71420
|
var _useState = React.useState(''),
|
|
71278
71421
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
71279
71422
|
sectionproperties = _useState2[0],
|
|
@@ -71345,7 +71488,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71345
71488
|
var Slideshowsettings = {
|
|
71346
71489
|
indicators: false,
|
|
71347
71490
|
arrows: sectionproperties.showarrows == 'Show' ? true : false,
|
|
71348
|
-
pauseOnHover: false,
|
|
71491
|
+
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
71492
|
scale: 2
|
|
71350
71493
|
};
|
|
71351
71494
|
var slideshow_styles = {
|
|
@@ -71488,7 +71631,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71488
71631
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
71489
71632
|
};
|
|
71490
71633
|
var SlideshowContent = function SlideshowContent() {
|
|
71491
|
-
var _authdetailsContext$
|
|
71634
|
+
var _authdetailsContext$i3, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
|
|
71492
71635
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71493
71636
|
"class": "col-lg-12 p-0"
|
|
71494
71637
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -71521,8 +71664,8 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71521
71664
|
height: sectionproperties.height + 'vh',
|
|
71522
71665
|
overflowY: 'scroll'
|
|
71523
71666
|
}
|
|
71524
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
71525
|
-
var _authdetailsContext$
|
|
71667
|
+
}, 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) {
|
|
71668
|
+
var _authdetailsContext$i4;
|
|
71526
71669
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71527
71670
|
"class": slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
71528
71671
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -71544,7 +71687,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71544
71687
|
size: sectionproperties.collectionsectioniconfontsize
|
|
71545
71688
|
}) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
71546
71689
|
size: sectionproperties.collectionsectioniconfontsize
|
|
71547
|
-
}))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
71690
|
+
}))), 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
71691
|
className: "col-lg-12 p-0 mt-3 mb-3"
|
|
71549
71692
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
71550
71693
|
"class": "m-0"
|
|
@@ -71578,7 +71721,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71578
71721
|
"class": "m-0"
|
|
71579
71722
|
})));
|
|
71580
71723
|
}
|
|
71581
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
71724
|
+
})), 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
71725
|
if (item.isshowntocustomers == 1) {
|
|
71583
71726
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71584
71727
|
"class": slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
@@ -71616,7 +71759,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71616
71759
|
"class": "m-0"
|
|
71617
71760
|
})));
|
|
71618
71761
|
}
|
|
71619
|
-
}))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
71762
|
+
}))), 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
71763
|
"class": langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
|
|
71621
71764
|
style: {
|
|
71622
71765
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -71626,7 +71769,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71626
71769
|
}
|
|
71627
71770
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71628
71771
|
"class": "row m-0 w-100"
|
|
71629
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
71772
|
+
}, 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
71773
|
var _item$collections;
|
|
71631
71774
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71632
71775
|
"class": "col-lg-4 p-0"
|
|
@@ -71661,7 +71804,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
71661
71804
|
}
|
|
71662
71805
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71663
71806
|
"class": "row m-0 w-100"
|
|
71664
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
71807
|
+
}, 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
71808
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71666
71809
|
"class": "col-lg-4 p-0",
|
|
71667
71810
|
onClick: function onClick() {
|
|
@@ -74451,7 +74594,7 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
74451
74594
|
}),
|
|
74452
74595
|
pinfohover: glamor.css({
|
|
74453
74596
|
opacity: 0,
|
|
74454
|
-
background:
|
|
74597
|
+
background: sectionproperties.backgroundColor,
|
|
74455
74598
|
position: 'absolute',
|
|
74456
74599
|
top: 0,
|
|
74457
74600
|
transition: '.3s'
|
|
@@ -74639,7 +74782,20 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
74639
74782
|
}
|
|
74640
74783
|
}
|
|
74641
74784
|
}, 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 '
|
|
74785
|
+
"class": card_cssstyles.pinfohover + ' row m-0 w-100 pinfohover h-100 d-flex align-items-center ',
|
|
74786
|
+
onClick: function onClick(e) {
|
|
74787
|
+
var _sectionproperties$se2;
|
|
74788
|
+
if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
|
|
74789
|
+
e.stopPropagation();
|
|
74790
|
+
var productidtobesend = null;
|
|
74791
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
74792
|
+
productidtobesend = item.productendpointurl;
|
|
74793
|
+
} else {
|
|
74794
|
+
productidtobesend = item.productid;
|
|
74795
|
+
}
|
|
74796
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
74797
|
+
}
|
|
74798
|
+
}
|
|
74643
74799
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74644
74800
|
"class": "row m-0 w-100 px-3"
|
|
74645
74801
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|