tabexseriescomponents 0.0.274 → 0.0.276
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 +333 -192
- package/dist/index.esm.js +333 -192
- package/dist/index.umd.js +333 -192
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -10788,6 +10788,7 @@
|
|
|
10788
10788
|
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
10789
10789
|
raterangevalue = _useState12[0],
|
|
10790
10790
|
setraterangevalue = _useState12[1];
|
|
10791
|
+
var timeoutRef = React__default["default"].useRef(null);
|
|
10791
10792
|
var _useState13 = React.useState([{
|
|
10792
10793
|
payloadvalue: 'sortprice',
|
|
10793
10794
|
name: lang.price,
|
|
@@ -10833,7 +10834,6 @@
|
|
|
10833
10834
|
React.useEffect(function () {
|
|
10834
10835
|
filterupdater();
|
|
10835
10836
|
}, [ProductFilterObjContext]);
|
|
10836
|
-
var timeoutRef = React__default["default"].useRef(null);
|
|
10837
10837
|
React__default["default"].useEffect(function () {
|
|
10838
10838
|
if (timeoutRef.current !== null) {
|
|
10839
10839
|
clearTimeout(timeoutRef.current);
|
|
@@ -10954,101 +10954,6 @@
|
|
|
10954
10954
|
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
10955
10955
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
10956
10956
|
};
|
|
10957
|
-
var filter_cssstyles = {
|
|
10958
|
-
collapsetitle: glamor.css({
|
|
10959
|
-
fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
10960
|
-
fontWeight: sectionproperties.filtertitle_fontweight,
|
|
10961
|
-
textTransform: sectionproperties.filtertitle_texttransform,
|
|
10962
|
-
color: sectionproperties.filtertitle_color,
|
|
10963
|
-
':hover': {
|
|
10964
|
-
color: sectionproperties.filtertitle_coloronhover
|
|
10965
|
-
}
|
|
10966
|
-
}),
|
|
10967
|
-
titlecontainer: glamor.css({
|
|
10968
|
-
color: sectionproperties.filtertitle_color,
|
|
10969
|
-
':hover .collapsetitle': {
|
|
10970
|
-
color: sectionproperties.filtertitle_coloronhover
|
|
10971
|
-
}
|
|
10972
|
-
}),
|
|
10973
|
-
timeline_text: glamor.css({
|
|
10974
|
-
fontSize: sectionproperties.timeline_text_fontsize + 'px',
|
|
10975
|
-
fontWeight: sectionproperties.timeline_text_fontweight,
|
|
10976
|
-
textTransform: sectionproperties.timeline_text_texttransform,
|
|
10977
|
-
color: sectionproperties.timeline_text_color,
|
|
10978
|
-
transition: '.3s',
|
|
10979
|
-
':hover': {
|
|
10980
|
-
color: sectionproperties.timeline_text_coloronhover
|
|
10981
|
-
}
|
|
10982
|
-
}),
|
|
10983
|
-
btnstyles: glamor.css({
|
|
10984
|
-
color: sectionproperties.generalbtn_textColor,
|
|
10985
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
10986
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
10987
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
10988
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
10989
|
-
background: sectionproperties.generalbtn_bgColor,
|
|
10990
|
-
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
10991
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
10992
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
10993
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
10994
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
10995
|
-
transition: '.3s',
|
|
10996
|
-
':hover': {
|
|
10997
|
-
background: sectionproperties.generalbtn_bgColoronhover,
|
|
10998
|
-
color: sectionproperties.generalbtn_textColoronhover
|
|
10999
|
-
}
|
|
11000
|
-
}),
|
|
11001
|
-
close_menu_icon_cont: glamor.css({
|
|
11002
|
-
background: sectionproperties.closeSliderBgColor,
|
|
11003
|
-
width: sectionproperties.closeSliderWidth + 'px',
|
|
11004
|
-
height: sectionproperties.closeSliderHeight + 'px',
|
|
11005
|
-
borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
|
|
11006
|
-
':hover': {
|
|
11007
|
-
background: sectionproperties.closeSliderBgColorHover
|
|
11008
|
-
}
|
|
11009
|
-
}),
|
|
11010
|
-
horizontalfilter_card: glamor.css({
|
|
11011
|
-
marginBottom: sectionproperties.horizontalfilter_mb + 'px',
|
|
11012
|
-
marginTop: sectionproperties.horizontalfilter_mt + 'px',
|
|
11013
|
-
background: sectionproperties.horizontalfilter_cardbg,
|
|
11014
|
-
border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
|
|
11015
|
-
boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow'
|
|
11016
|
-
}),
|
|
11017
|
-
btn_item: glamor.css({
|
|
11018
|
-
width: '20px',
|
|
11019
|
-
height: '20px',
|
|
11020
|
-
background: sectionproperties.filteritembtn_bgcolor,
|
|
11021
|
-
':hover': {
|
|
11022
|
-
background: sectionproperties.filteritembtn_bghover
|
|
11023
|
-
}
|
|
11024
|
-
}),
|
|
11025
|
-
btn_item_active: glamor.css({
|
|
11026
|
-
background: sectionproperties.btn_item_activebgcolor
|
|
11027
|
-
}),
|
|
11028
|
-
timelineinnercont_active: glamor.css({
|
|
11029
|
-
fontWeight: sectionproperties.activecat_fontweight,
|
|
11030
|
-
color: sectionproperties.activecat_color
|
|
11031
|
-
}),
|
|
11032
|
-
categoryName: glamor.css({
|
|
11033
|
-
color: sectionproperties.filtertitle_color,
|
|
11034
|
-
fontWeight: sectionproperties.filterCatFontWeight,
|
|
11035
|
-
fontSize: sectionproperties.filterCatFontSize + 'px'
|
|
11036
|
-
}),
|
|
11037
|
-
pCollectionName: glamor.css({
|
|
11038
|
-
color: sectionproperties.filtertitle_color,
|
|
11039
|
-
fontWeight: sectionproperties.filterPCollFontWeight,
|
|
11040
|
-
fontSize: sectionproperties.filterPCollFontSize + 'px'
|
|
11041
|
-
}),
|
|
11042
|
-
explorebtn: glamor.css({
|
|
11043
|
-
fontSize: sectionproperties.explorebtnfontsize + 'px',
|
|
11044
|
-
fontWeight: 600,
|
|
11045
|
-
color: sectionproperties.explorebtncolor,
|
|
11046
|
-
transition: '.3s',
|
|
11047
|
-
':hover': {
|
|
11048
|
-
color: sectionproperties.explorebtncoloronhover
|
|
11049
|
-
}
|
|
11050
|
-
})
|
|
11051
|
-
};
|
|
11052
10957
|
var CategoriesFilter = function CategoriesFilter() {
|
|
11053
10958
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11054
10959
|
"class": "col-lg-12 p-0"
|
|
@@ -11282,6 +11187,101 @@
|
|
|
11282
11187
|
}));
|
|
11283
11188
|
}));
|
|
11284
11189
|
};
|
|
11190
|
+
var filter_cssstyles = {
|
|
11191
|
+
collapsetitle: glamor.css({
|
|
11192
|
+
fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
11193
|
+
fontWeight: sectionproperties.filtertitle_fontweight,
|
|
11194
|
+
textTransform: sectionproperties.filtertitle_texttransform,
|
|
11195
|
+
color: sectionproperties.filtertitle_color,
|
|
11196
|
+
':hover': {
|
|
11197
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
11198
|
+
}
|
|
11199
|
+
}),
|
|
11200
|
+
titlecontainer: glamor.css({
|
|
11201
|
+
color: sectionproperties.filtertitle_color,
|
|
11202
|
+
':hover .collapsetitle': {
|
|
11203
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
11204
|
+
}
|
|
11205
|
+
}),
|
|
11206
|
+
timeline_text: glamor.css({
|
|
11207
|
+
fontSize: sectionproperties.timeline_text_fontsize + 'px',
|
|
11208
|
+
fontWeight: sectionproperties.timeline_text_fontweight,
|
|
11209
|
+
textTransform: sectionproperties.timeline_text_texttransform,
|
|
11210
|
+
color: sectionproperties.timeline_text_color,
|
|
11211
|
+
transition: '.3s',
|
|
11212
|
+
':hover': {
|
|
11213
|
+
color: sectionproperties.timeline_text_coloronhover
|
|
11214
|
+
}
|
|
11215
|
+
}),
|
|
11216
|
+
btnstyles: glamor.css({
|
|
11217
|
+
color: sectionproperties.generalbtn_textColor,
|
|
11218
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
11219
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
11220
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
11221
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
11222
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
11223
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
11224
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
11225
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
11226
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
11227
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
11228
|
+
transition: '.3s',
|
|
11229
|
+
':hover': {
|
|
11230
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
11231
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
11232
|
+
}
|
|
11233
|
+
}),
|
|
11234
|
+
close_menu_icon_cont: glamor.css({
|
|
11235
|
+
background: sectionproperties.closeSliderBgColor,
|
|
11236
|
+
width: sectionproperties.closeSliderWidth + 'px',
|
|
11237
|
+
height: sectionproperties.closeSliderHeight + 'px',
|
|
11238
|
+
borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
|
|
11239
|
+
':hover': {
|
|
11240
|
+
background: sectionproperties.closeSliderBgColorHover
|
|
11241
|
+
}
|
|
11242
|
+
}),
|
|
11243
|
+
horizontalfilter_card: glamor.css({
|
|
11244
|
+
marginBottom: sectionproperties.horizontalfilter_mb + 'px',
|
|
11245
|
+
marginTop: sectionproperties.horizontalfilter_mt + 'px',
|
|
11246
|
+
background: sectionproperties.horizontalfilter_cardbg,
|
|
11247
|
+
border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
|
|
11248
|
+
boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow'
|
|
11249
|
+
}),
|
|
11250
|
+
btn_item: glamor.css({
|
|
11251
|
+
width: '20px',
|
|
11252
|
+
height: '20px',
|
|
11253
|
+
background: sectionproperties.filteritembtn_bgcolor,
|
|
11254
|
+
':hover': {
|
|
11255
|
+
background: sectionproperties.filteritembtn_bghover
|
|
11256
|
+
}
|
|
11257
|
+
}),
|
|
11258
|
+
btn_item_active: glamor.css({
|
|
11259
|
+
background: sectionproperties.btn_item_activebgcolor
|
|
11260
|
+
}),
|
|
11261
|
+
timelineinnercont_active: glamor.css({
|
|
11262
|
+
fontWeight: sectionproperties.activecat_fontweight,
|
|
11263
|
+
color: sectionproperties.activecat_color
|
|
11264
|
+
}),
|
|
11265
|
+
categoryName: glamor.css({
|
|
11266
|
+
color: sectionproperties.filtertitle_color,
|
|
11267
|
+
fontWeight: sectionproperties.filterCatFontWeight,
|
|
11268
|
+
fontSize: sectionproperties.filterCatFontSize + 'px'
|
|
11269
|
+
}),
|
|
11270
|
+
pCollectionName: glamor.css({
|
|
11271
|
+
color: sectionproperties.filtertitle_color,
|
|
11272
|
+
fontWeight: sectionproperties.filterPCollFontWeight,
|
|
11273
|
+
fontSize: sectionproperties.filterPCollFontSize + 'px'
|
|
11274
|
+
}),
|
|
11275
|
+
explorebtn: glamor.css({
|
|
11276
|
+
fontSize: sectionproperties.explorebtnfontsize + 'px',
|
|
11277
|
+
fontWeight: 600,
|
|
11278
|
+
color: sectionproperties.explorebtncolor,
|
|
11279
|
+
transition: '.3s',
|
|
11280
|
+
':hover': {
|
|
11281
|
+
color: sectionproperties.explorebtncoloronhover
|
|
11282
|
+
}
|
|
11283
|
+
})
|
|
11284
|
+
};
|
|
11285
11285
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11286
11286
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none',
|
|
11287
11287
|
style: {
|
|
@@ -11294,7 +11294,7 @@
|
|
|
11294
11294
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11295
11295
|
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
11296
11296
|
}, langdetect == 'en' ? sectionproperties.filtercollectiontitle_en : sectionproperties.filtercollectiontitle_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11297
|
-
"class": "col-lg-12 p-0"
|
|
11297
|
+
"class": "col-lg-12 p-0 mb-4"
|
|
11298
11298
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
11299
11299
|
transitionBehavior: 'auto',
|
|
11300
11300
|
wrapperClassName: '',
|
|
@@ -11775,11 +11775,6 @@
|
|
|
11775
11775
|
if (fetchProductsQuery.isSuccess) {
|
|
11776
11776
|
var _fetchProductsQuery$d, _fetchProductsQuery$d2, _fetchProductsQuery$d3;
|
|
11777
11777
|
var allpagesarr = [];
|
|
11778
|
-
// fetchProductsQuery.data.pages.forEach((page) => {
|
|
11779
|
-
// page.data.products.forEach((productobj) => {
|
|
11780
|
-
// allpagesarr.push(productobj);
|
|
11781
|
-
// });
|
|
11782
|
-
// });
|
|
11783
11778
|
fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d = fetchProductsQuery.data) === null || _fetchProductsQuery$d === void 0 ? void 0 : (_fetchProductsQuery$d2 = _fetchProductsQuery$d.data) === null || _fetchProductsQuery$d2 === void 0 ? void 0 : (_fetchProductsQuery$d3 = _fetchProductsQuery$d2.products) === null || _fetchProductsQuery$d3 === void 0 ? void 0 : _fetchProductsQuery$d3.forEach(function (item) {
|
|
11784
11779
|
allpagesarr.push(item);
|
|
11785
11780
|
});
|
|
@@ -11898,11 +11893,6 @@
|
|
|
11898
11893
|
if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
|
|
11899
11894
|
var _fetchProductsQuery$d4, _fetchProductsQuery$d5, _fetchProductsQuery$d6;
|
|
11900
11895
|
var allpagesarr = [];
|
|
11901
|
-
// fetchProductsQuery.data.pages.forEach((page) => {
|
|
11902
|
-
// page.data.products.forEach((productobj) => {
|
|
11903
|
-
// allpagesarr.push(productobj);
|
|
11904
|
-
// });
|
|
11905
|
-
// });
|
|
11906
11896
|
fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d4 = fetchProductsQuery.data) === null || _fetchProductsQuery$d4 === void 0 ? void 0 : (_fetchProductsQuery$d5 = _fetchProductsQuery$d4.data) === null || _fetchProductsQuery$d5 === void 0 ? void 0 : (_fetchProductsQuery$d6 = _fetchProductsQuery$d5.products) === null || _fetchProductsQuery$d6 === void 0 ? void 0 : _fetchProductsQuery$d6.forEach(function (item) {
|
|
11907
11897
|
allpagesarr.push(item);
|
|
11908
11898
|
});
|
|
@@ -12050,7 +12040,6 @@
|
|
|
12050
12040
|
setcardsarray([].concat(temparray));
|
|
12051
12041
|
};
|
|
12052
12042
|
// Example items, to simulate fetching from another resources.
|
|
12053
|
-
|
|
12054
12043
|
var handlePageClick = function handlePageClick(event) {
|
|
12055
12044
|
props.scrolltotop();
|
|
12056
12045
|
var tempProductFilterObjContext = _objectSpread$1M({}, ProductFilterObjContext);
|
|
@@ -12365,7 +12354,10 @@
|
|
|
12365
12354
|
}) : /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowLeft.HiOutlineArrowLeft, {
|
|
12366
12355
|
size: sectionproperties.viewmoreiconfontsize
|
|
12367
12356
|
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12368
|
-
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-none align-items-center justify-content-center' : 'd-none d-md-flex align-items-center justify-content-center'
|
|
12357
|
+
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-none align-items-center justify-content-center' : 'd-none d-md-flex align-items-center justify-content-center',
|
|
12358
|
+
style: {
|
|
12359
|
+
color: sectionproperties.viewmorebtn_Textcolor
|
|
12360
|
+
}
|
|
12369
12361
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
12370
12362
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
12371
12363
|
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowRight.HiOutlineArrowRight, {
|
|
@@ -12407,7 +12399,7 @@
|
|
|
12407
12399
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12408
12400
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? sectionproperties.showFilter == 'show' ? 'col-lg-12 col-md-3 col-sm-3 d-flex align-item-center justify-content-center p-0' : 'col-lg-12 col-md-12 col-sm-12 d-flex align-item-center justify-content-center p-0' : 'col-lg-5 col-md-5 col-sm-3 d-flex align-item-center justify-content-end justify-content-sm-center p-0',
|
|
12409
12401
|
style: {
|
|
12410
|
-
marginTop: sectionproperties.sectiontitleposition == 'Centered' ? '
|
|
12402
|
+
marginTop: sectionproperties.sectiontitleposition == 'Centered' ? sectionproperties.viewmoremt + 'px' : 0
|
|
12411
12403
|
}
|
|
12412
12404
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12413
12405
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? ' row m-0 w-100 d-flex align-item-center justify-content-center mt-auto mb-auto ' : ' row m-0 w-100 d-flex align-item-center justify-content-end mt-auto mb-auto '
|
|
@@ -12446,9 +12438,11 @@
|
|
|
12446
12438
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
12447
12439
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
12448
12440
|
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowRight.HiOutlineArrowRight, {
|
|
12449
|
-
size: sectionproperties.viewmorebtn_fontSize
|
|
12441
|
+
size: sectionproperties.viewmorebtn_fontSize,
|
|
12442
|
+
color: sectionproperties.viewmorebtn_Textcolor
|
|
12450
12443
|
}) : /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowLeft.HiOutlineArrowLeft, {
|
|
12451
|
-
size: sectionproperties.viewmorebtn_fontSize
|
|
12444
|
+
size: sectionproperties.viewmorebtn_fontSize,
|
|
12445
|
+
color: sectionproperties.viewmorebtn_Textcolor
|
|
12452
12446
|
})))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
12453
12447
|
"class": ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ',
|
|
12454
12448
|
onClick: function onClick() {
|
|
@@ -12995,7 +12989,7 @@
|
|
|
12995
12989
|
}, fetchCategoriesQueryContext.isSuccess && fetchCategoriesQueryContext.data.data.status && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12996
12990
|
"class": "".concat(headerstyles$f.subheader) + ' row w-100 m-0 dropdownouter d-flex flex-row align-items-center justify-content-center w-sm-100 ',
|
|
12997
12991
|
style: {
|
|
12998
|
-
position: 'relative',
|
|
12992
|
+
position: sectionproperties.subheaderstyle == 'Style 1' ? 'relative' : '',
|
|
12999
12993
|
background: 'transparent'
|
|
13000
12994
|
}
|
|
13001
12995
|
}, (props === null || props === void 0 ? void 0 : props.subheaderpositionprops) == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -13073,7 +13067,8 @@
|
|
|
13073
13067
|
},
|
|
13074
13068
|
style: {
|
|
13075
13069
|
marginLeft: langdetect == 'ar' ? (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingLeftprops : 0,
|
|
13076
|
-
marginRight: langdetect == 'en' ? (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingRightprops : 0
|
|
13070
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingRightprops : 0,
|
|
13071
|
+
position: sectionproperties.subheaderstyle == 'Style 2' ? 'relative' : ''
|
|
13077
13072
|
}
|
|
13078
13073
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
13079
13074
|
}
|
|
@@ -13087,7 +13082,8 @@
|
|
|
13087
13082
|
},
|
|
13088
13083
|
style: {
|
|
13089
13084
|
marginLeft: langdetect == 'ar' ? (_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.paddingLeftprops : 0,
|
|
13090
|
-
marginRight: langdetect == 'en' ? (_props$subheaderprope11 = props.subheaderpropertiesprops) === null || _props$subheaderprope11 === void 0 ? void 0 : _props$subheaderprope11.paddingRightprops : 0
|
|
13085
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope11 = props.subheaderpropertiesprops) === null || _props$subheaderprope11 === void 0 ? void 0 : _props$subheaderprope11.paddingRightprops : 0,
|
|
13086
|
+
position: sectionproperties.subheaderstyle == 'Style 2' ? 'relative' : ''
|
|
13091
13087
|
}
|
|
13092
13088
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
13093
13089
|
}
|
|
@@ -13705,7 +13701,7 @@
|
|
|
13705
13701
|
className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
13706
13702
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13707
13703
|
className: ' d-flex align-items-center m-0 p-0 '
|
|
13708
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
13704
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
13709
13705
|
className: "ml-2 mr-2"
|
|
13710
13706
|
}, lang.viewcart))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
13711
13707
|
style: {
|
|
@@ -13740,7 +13736,7 @@
|
|
|
13740
13736
|
className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
13741
13737
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13742
13738
|
className: ' d-flex align-items-center m-0 p-0 '
|
|
13743
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
13739
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
13744
13740
|
className: langdetect == 'en' ? 'ml-2' : 'mr-2'
|
|
13745
13741
|
}, lang.orderhistory)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, {
|
|
13746
13742
|
style: {
|
|
@@ -13835,6 +13831,8 @@
|
|
|
13835
13831
|
size: sectionproperties.cartBtniconresp_size
|
|
13836
13832
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
13837
13833
|
size: sectionproperties.cartBtniconresp_size
|
|
13834
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
13835
|
+
size: sectionproperties.cartBtniconresp_size
|
|
13838
13836
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13839
13837
|
className: "".concat(header_cssstyles.badge_counter_header_notifications),
|
|
13840
13838
|
style: {
|
|
@@ -14503,6 +14501,8 @@
|
|
|
14503
14501
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
14504
14502
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
14505
14503
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
14504
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
14505
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
14506
14506
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14507
14507
|
"class": ' allcenetered m-0 p-0 '
|
|
14508
14508
|
}, lang.orderhistory))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
@@ -14580,6 +14580,8 @@
|
|
|
14580
14580
|
size: sectionproperties.cartBtn_iconFontSize
|
|
14581
14581
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
14582
14582
|
size: sectionproperties.cartBtn_iconFontSize
|
|
14583
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
14584
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
14583
14585
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14584
14586
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
|
|
14585
14587
|
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : _fetchcustomercartQue5.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue6 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.customercart) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.cartitems) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.length : 0)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -15393,7 +15395,7 @@
|
|
|
15393
15395
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
15394
15396
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15395
15397
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
15396
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
15398
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
15397
15399
|
"class": "ml-2 mr-2"
|
|
15398
15400
|
}, lang.orderhistory)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
15399
15401
|
onClick: function onClick() {
|
|
@@ -15463,6 +15465,8 @@
|
|
|
15463
15465
|
size: sectionproperties.cartBtn_iconFontSize
|
|
15464
15466
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
15465
15467
|
size: sectionproperties.cartBtn_iconFontSize
|
|
15468
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
15469
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
15466
15470
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15467
15471
|
"class": langdetect == 'en' ? 'headerdropdownml d-flex align-items-center justify-content-center' : 'headerdropdownmr d-flex align-items-center justify-content-center'
|
|
15468
15472
|
}, /*#__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", {
|
|
@@ -18904,6 +18908,8 @@
|
|
|
18904
18908
|
size: sectionproperties.cartBtn_iconFontSize
|
|
18905
18909
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
18906
18910
|
size: sectionproperties.cartBtn_iconFontSize
|
|
18911
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
18912
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
18907
18913
|
}))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18908
18914
|
"class": langdetect == 'en' ? " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ml-2 ' : " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center mr-2 ',
|
|
18909
18915
|
sytle: {
|
|
@@ -18962,6 +18968,8 @@
|
|
|
18962
18968
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
18963
18969
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
18964
18970
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
18971
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
18972
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
18965
18973
|
}), lang.orderhistory))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
18966
18974
|
onClick: function onClick() {
|
|
18967
18975
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
@@ -19855,7 +19863,7 @@
|
|
|
19855
19863
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
19856
19864
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19857
19865
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
19858
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19866
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
19859
19867
|
"class": "ml-2 mr-2"
|
|
19860
19868
|
}, lang.orderhistory)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, {
|
|
19861
19869
|
style: {
|
|
@@ -19957,6 +19965,8 @@
|
|
|
19957
19965
|
size: sectionproperties.cartBtn_iconFontSize
|
|
19958
19966
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
19959
19967
|
size: sectionproperties.cartBtn_iconFontSize
|
|
19968
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
19969
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
19960
19970
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19961
19971
|
"class": langdetect == 'en' ? 'ml-2 d-flex d-lg-none' : 'mr-2 d-flex d-lg-none'
|
|
19962
19972
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -21301,6 +21311,8 @@
|
|
|
21301
21311
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
21302
21312
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
21303
21313
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
21314
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
21315
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
21304
21316
|
}), /*#__PURE__*/React__default["default"].createElement("span", null, lang.orderhistory)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
21305
21317
|
onClick: function onClick() {
|
|
21306
21318
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
@@ -21386,6 +21398,8 @@
|
|
|
21386
21398
|
size: sectionproperties.cartBtn_iconFontSize
|
|
21387
21399
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
21388
21400
|
size: sectionproperties.cartBtn_iconFontSize
|
|
21401
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
21402
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
21389
21403
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21390
21404
|
className: "".concat(headerstyles$9.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
21391
21405
|
style: {
|
|
@@ -22138,7 +22152,7 @@
|
|
|
22138
22152
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
22139
22153
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22140
22154
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
22141
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
22155
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
22142
22156
|
"class": "ml-2 mr-2"
|
|
22143
22157
|
}, lang.orderhistory)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
22144
22158
|
onClick: function onClick() {
|
|
@@ -22212,6 +22226,8 @@
|
|
|
22212
22226
|
size: sectionproperties.cartBtn_iconFontSize
|
|
22213
22227
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
22214
22228
|
size: sectionproperties.cartBtn_iconFontSize
|
|
22229
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
22230
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
22215
22231
|
}))), sectionproperties.showupperheadersection == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22216
22232
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
22217
22233
|
}, /*#__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", {
|
|
@@ -22633,7 +22649,10 @@
|
|
|
22633
22649
|
}
|
|
22634
22650
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22635
22651
|
"class": "row m-0 w-100"
|
|
22636
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
22652
|
+
}, sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
22653
|
+
sectionpropertiesprops: sectionproperties,
|
|
22654
|
+
actions: actions
|
|
22655
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22637
22656
|
"class": "".concat(header_cssstyles.top_bar) + ' row m-0 w-100 d-flex align-items-center px-1025-1 '
|
|
22638
22657
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22639
22658
|
"class": "col-lg-4 col-md-6 col-sm-12 allcentered p-0",
|
|
@@ -22673,7 +22692,8 @@
|
|
|
22673
22692
|
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
22674
22693
|
style: {
|
|
22675
22694
|
maxWidth: '100%',
|
|
22676
|
-
maxHeight: '100%'
|
|
22695
|
+
maxHeight: '100%',
|
|
22696
|
+
objectFit: 'contain'
|
|
22677
22697
|
}
|
|
22678
22698
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22679
22699
|
"class": "col-lg-4 col-md-6 col-sm-12 p-0 d-flex align-items-center justify-content-end"
|
|
@@ -23031,6 +23051,10 @@
|
|
|
23031
23051
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
23032
23052
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
23033
23053
|
var actions = props.actions;
|
|
23054
|
+
var _useState3 = React.useState(false),
|
|
23055
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
23056
|
+
openSearchBar = _useState4[0],
|
|
23057
|
+
setopenSearchBar = _useState4[1];
|
|
23034
23058
|
React.useEffect(function () {
|
|
23035
23059
|
var secpropobj = {};
|
|
23036
23060
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -23047,10 +23071,10 @@
|
|
|
23047
23071
|
}
|
|
23048
23072
|
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
23049
23073
|
}, [StatePagePropertiesContext]);
|
|
23050
|
-
var
|
|
23051
|
-
|
|
23052
|
-
logoarrayofobjects =
|
|
23053
|
-
setlogoarrayofobjects =
|
|
23074
|
+
var _useState5 = React.useState([]),
|
|
23075
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
23076
|
+
logoarrayofobjects = _useState6[0],
|
|
23077
|
+
setlogoarrayofobjects = _useState6[1];
|
|
23054
23078
|
React.useEffect(function () {
|
|
23055
23079
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
23056
23080
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -23059,10 +23083,6 @@
|
|
|
23059
23083
|
}
|
|
23060
23084
|
}
|
|
23061
23085
|
}, [templateproperties_context]);
|
|
23062
|
-
var _useState5 = React.useState(false),
|
|
23063
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
23064
|
-
openSearchBar = _useState6[0],
|
|
23065
|
-
setopenSearchBar = _useState6[1];
|
|
23066
23086
|
var header_cssstyles = {
|
|
23067
23087
|
upperHeaderSection: glamor.css({
|
|
23068
23088
|
background: sectionproperties.uppersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.uppersection_bgcolor,
|
|
@@ -23611,9 +23631,23 @@
|
|
|
23611
23631
|
className: ' d-flex align-items-center justify-content-center '
|
|
23612
23632
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23613
23633
|
className: "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
23614
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
23634
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
23635
|
+
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
23636
|
+
className: "mr-2",
|
|
23637
|
+
style: {
|
|
23638
|
+
maxWidth: '2.5vh',
|
|
23639
|
+
maxHeight: '2.5vh'
|
|
23640
|
+
}
|
|
23641
|
+
}), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23615
23642
|
className: "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
23616
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
23643
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
23644
|
+
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
23645
|
+
className: "ml-2",
|
|
23646
|
+
style: {
|
|
23647
|
+
maxWidth: '2.5vh',
|
|
23648
|
+
maxHeight: '2.5vh'
|
|
23649
|
+
}
|
|
23650
|
+
}), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
23617
23651
|
onClick: function onClick() {
|
|
23618
23652
|
setlang('ar');
|
|
23619
23653
|
}
|
|
@@ -24319,7 +24353,7 @@
|
|
|
24319
24353
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
24320
24354
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24321
24355
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
24322
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
24356
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
24323
24357
|
"class": "ml-2 mr-2"
|
|
24324
24358
|
}, lang.orderhistory)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
24325
24359
|
onClick: function onClick() {
|
|
@@ -24513,6 +24547,8 @@
|
|
|
24513
24547
|
size: sectionproperties.cartBtn_iconFontSize
|
|
24514
24548
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
24515
24549
|
size: sectionproperties.cartBtn_iconFontSize
|
|
24550
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
24551
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
24516
24552
|
}))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24517
24553
|
"class": "ml-2 mr-2"
|
|
24518
24554
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -25424,7 +25460,7 @@
|
|
|
25424
25460
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
25425
25461
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
25426
25462
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
25427
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25463
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25428
25464
|
"class": "ml-2 mr-2"
|
|
25429
25465
|
}, lang.orderhistory)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
25430
25466
|
onClick: function onClick() {
|
|
@@ -25498,6 +25534,8 @@
|
|
|
25498
25534
|
size: sectionproperties.cartBtn_iconFontSize
|
|
25499
25535
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
25500
25536
|
size: sectionproperties.cartBtn_iconFontSize
|
|
25537
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
25538
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
25501
25539
|
}))), sectionproperties.showupperheadersection == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25502
25540
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
25503
25541
|
}, /*#__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", {
|
|
@@ -26279,6 +26317,8 @@
|
|
|
26279
26317
|
size: sectionproperties.cartBtn_iconFontSize
|
|
26280
26318
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
26281
26319
|
size: sectionproperties.cartBtn_iconFontSize
|
|
26320
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
26321
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
26282
26322
|
}))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26283
26323
|
"class": header_cssstyles.user_btnContainer + ' d-flex justify-content-center align-items-center '
|
|
26284
26324
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -26363,7 +26403,7 @@
|
|
|
26363
26403
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
26364
26404
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26365
26405
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
26366
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
26406
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
26367
26407
|
"class": "ml-2 mr-2"
|
|
26368
26408
|
}, lang.orderhistory)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
26369
26409
|
onClick: function onClick() {
|
|
@@ -27675,6 +27715,8 @@
|
|
|
27675
27715
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27676
27716
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
27677
27717
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27718
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
27719
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27678
27720
|
}), lang.orderhistory))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
27679
27721
|
onClick: function onClick() {
|
|
27680
27722
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
@@ -27730,6 +27772,8 @@
|
|
|
27730
27772
|
size: sectionproperties.cartBtn_iconFontSize
|
|
27731
27773
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
27732
27774
|
size: sectionproperties.cartBtn_iconFontSize
|
|
27775
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
27776
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
27733
27777
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27734
27778
|
"class": "col-lg-12 p-0"
|
|
27735
27779
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -28327,6 +28371,8 @@
|
|
|
28327
28371
|
size: sectionproperties.cartBtn_iconFontSize
|
|
28328
28372
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
28329
28373
|
size: sectionproperties.cartBtn_iconFontSize
|
|
28374
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
28375
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
28330
28376
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28331
28377
|
"class": langdetect == 'en' ? 'headerdropdownml dropdown-toggle_w100' : 'headerdropdownmr dropdown-toggle_w100',
|
|
28332
28378
|
style: {
|
|
@@ -28432,7 +28478,7 @@
|
|
|
28432
28478
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
28433
28479
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28434
28480
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
28435
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28481
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28436
28482
|
"class": "ml-2 mr-2"
|
|
28437
28483
|
}, lang.orderhistory)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28438
28484
|
onClick: function onClick() {
|
|
@@ -33696,17 +33742,17 @@
|
|
|
33696
33742
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33697
33743
|
"class": "row m-0 w-100"
|
|
33698
33744
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33699
|
-
"class":
|
|
33745
|
+
"class": sectionproperties.showdownloadsection == 'Show' ? 'col-lg-3 col-md-12 col-sm-12' : 'col-lg-4 col-md-12 col-sm-12'
|
|
33700
33746
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33701
33747
|
"class": "row m-0 w-100 d-flex justify-content-start"
|
|
33702
33748
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33703
|
-
"class":
|
|
33749
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
33704
33750
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33705
|
-
"class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 wordbreak
|
|
33751
|
+
"class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 wordbreak ',
|
|
33706
33752
|
style: {
|
|
33707
33753
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
33708
33754
|
}
|
|
33709
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
33755
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
33710
33756
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
33711
33757
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33712
33758
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
@@ -33754,8 +33800,8 @@
|
|
|
33754
33800
|
style: {
|
|
33755
33801
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
33756
33802
|
}
|
|
33757
|
-
}, lang.policies)))))
|
|
33758
|
-
"class":
|
|
33803
|
+
}, lang.policies))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33804
|
+
"class": sectionproperties.showdownloadsection == 'Show' ? 'col-lg-3 col-md-12 col-sm-12 mt-md-3' : 'col-lg-4 col-md-12 col-sm-12 mt-md-3'
|
|
33759
33805
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33760
33806
|
"class": "row m-0 w-100 d-flex justify-content-start"
|
|
33761
33807
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -33796,7 +33842,7 @@
|
|
|
33796
33842
|
}
|
|
33797
33843
|
}
|
|
33798
33844
|
}, "WhatsApp")))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33799
|
-
"class":
|
|
33845
|
+
"class": sectionproperties.showdownloadsection == 'Show' ? 'col-lg-3 col-md-12 col-sm-12 mt-md-3' : 'col-lg-4 col-md-12 col-sm-12 mt-md-3'
|
|
33800
33846
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33801
33847
|
"class": "row m-0 w-100"
|
|
33802
33848
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -33840,7 +33886,61 @@
|
|
|
33840
33886
|
}
|
|
33841
33887
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
33842
33888
|
"class": ' fa fa-at mr-2 text-transform-none ml-2 '
|
|
33843
|
-
}), authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : (_authdetailsContext$i16 = _authdetailsContext$i15.contactinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.email))))
|
|
33889
|
+
}), authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : (_authdetailsContext$i16 = _authdetailsContext$i15.contactinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.email)))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33890
|
+
"class": "col-lg-3 col-md-12 col-sm-12 mt-md-3"
|
|
33891
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33892
|
+
className: "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
33893
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33894
|
+
className: "".concat(footerStyles.sectionTitle) + ' m-0 p-0 '
|
|
33895
|
+
}, langdetect == 'en' ? sectionproperties.otherinfotitle3en : sectionproperties.otherinfotitle3ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33896
|
+
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-1 mb-sm-3'
|
|
33897
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
33898
|
+
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-flex d-md-none ',
|
|
33899
|
+
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
33900
|
+
onClick: function onClick() {
|
|
33901
|
+
var _authdetailsContext$i17;
|
|
33902
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.mobileapplink_appstore, '_blank');
|
|
33903
|
+
},
|
|
33904
|
+
style: {
|
|
33905
|
+
width: '40%',
|
|
33906
|
+
height: '40%'
|
|
33907
|
+
}
|
|
33908
|
+
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
33909
|
+
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-none d-md-flex ',
|
|
33910
|
+
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
33911
|
+
onClick: function onClick() {
|
|
33912
|
+
var _authdetailsContext$i18;
|
|
33913
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.mobileapplink_appstore, '_blank');
|
|
33914
|
+
},
|
|
33915
|
+
style: {
|
|
33916
|
+
width: '20%',
|
|
33917
|
+
height: '20%'
|
|
33918
|
+
}
|
|
33919
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33920
|
+
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start'
|
|
33921
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
33922
|
+
"class": "".concat(footerStyles.googleplay) + ' cursor-pointer d-flex d-md-none ',
|
|
33923
|
+
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
33924
|
+
onClick: function onClick() {
|
|
33925
|
+
var _authdetailsContext$i19;
|
|
33926
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.mobileapplink_playstore, '_blank');
|
|
33927
|
+
},
|
|
33928
|
+
style: {
|
|
33929
|
+
width: '40%',
|
|
33930
|
+
height: '40%'
|
|
33931
|
+
}
|
|
33932
|
+
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
33933
|
+
"class": "".concat(footerStyles.googleplay) + ' cursor-pointer d-none d-md-flex ',
|
|
33934
|
+
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
33935
|
+
onClick: function onClick() {
|
|
33936
|
+
var _authdetailsContext$i20;
|
|
33937
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.mobileapplink_playstore, '_blank');
|
|
33938
|
+
},
|
|
33939
|
+
style: {
|
|
33940
|
+
width: '20%',
|
|
33941
|
+
height: '20%'
|
|
33942
|
+
}
|
|
33943
|
+
}))))));
|
|
33844
33944
|
};
|
|
33845
33945
|
|
|
33846
33946
|
function ownKeys$1d(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -40225,23 +40325,15 @@
|
|
|
40225
40325
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
40226
40326
|
props.actions;
|
|
40227
40327
|
React.useEffect(function () {
|
|
40228
|
-
|
|
40229
|
-
|
|
40230
|
-
|
|
40231
|
-
|
|
40232
|
-
|
|
40233
|
-
|
|
40234
|
-
|
|
40235
|
-
|
|
40236
|
-
|
|
40237
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
40238
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
40239
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
40240
|
-
});
|
|
40241
|
-
}
|
|
40242
|
-
});
|
|
40243
|
-
setsectionproperties(_objectSpread$X({}, secpropobj));
|
|
40244
|
-
}
|
|
40328
|
+
var secpropobj = {};
|
|
40329
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
40330
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
40331
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
40332
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
40333
|
+
});
|
|
40334
|
+
}
|
|
40335
|
+
});
|
|
40336
|
+
setsectionproperties(_objectSpread$X({}, secpropobj));
|
|
40245
40337
|
}, [StatePagePropertiesContext]);
|
|
40246
40338
|
React.useEffect(function () {
|
|
40247
40339
|
if (sectionproperties.length != 0 && sectionproperties.videosarrayofobjs != undefined) {
|
|
@@ -40346,7 +40438,14 @@
|
|
|
40346
40438
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
40347
40439
|
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
40348
40440
|
}
|
|
40349
|
-
}, Description()),
|
|
40441
|
+
}, Description()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40442
|
+
"class": "col-lg-12 p-0"
|
|
40443
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40444
|
+
"class": "row m-0 w-100 d-flex",
|
|
40445
|
+
style: {
|
|
40446
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
40447
|
+
}
|
|
40448
|
+
}, Object.keys(videosarrayofobjs).length != 0 && videosarrayofobjs.map(function (item, index) {
|
|
40350
40449
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40351
40450
|
className: 'd-flex align-items-stretch col-md-6 col-sm-12 col-lg-' + item.numberofcols,
|
|
40352
40451
|
style: {
|
|
@@ -40374,7 +40473,16 @@
|
|
|
40374
40473
|
loop: true,
|
|
40375
40474
|
muted: true,
|
|
40376
40475
|
playsinline: true
|
|
40377
|
-
}), item.
|
|
40476
|
+
}), item.image == null && item.linktype != 'External Link ' && /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
|
|
40477
|
+
url: item.url,
|
|
40478
|
+
height: sectionproperties.image_height + 'px',
|
|
40479
|
+
width: '100%',
|
|
40480
|
+
playing: true,
|
|
40481
|
+
controls: true,
|
|
40482
|
+
loop: true,
|
|
40483
|
+
muted: true,
|
|
40484
|
+
playsinline: true
|
|
40485
|
+
}), item.linkclicked == false && item.image != '' && item.image != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40378
40486
|
onClick: function onClick() {
|
|
40379
40487
|
if (item.linktype == 'External Link') {
|
|
40380
40488
|
window.open(item.url, '_blank');
|
|
@@ -40401,7 +40509,7 @@
|
|
|
40401
40509
|
}))), sectionproperties.sectionbgstyle != 'Text above image' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40402
40510
|
"class": "col-lg-12 p-0 mt-3"
|
|
40403
40511
|
}, ImageContent(item))));
|
|
40404
|
-
}));
|
|
40512
|
+
}))));
|
|
40405
40513
|
};
|
|
40406
40514
|
|
|
40407
40515
|
function ownKeys$W(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -40445,22 +40553,6 @@
|
|
|
40445
40553
|
}
|
|
40446
40554
|
}
|
|
40447
40555
|
}, [sectionproperties]);
|
|
40448
|
-
({
|
|
40449
|
-
text1styles: glamor.css({
|
|
40450
|
-
color: sectionproperties.slideshowText1ContentColor,
|
|
40451
|
-
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
40452
|
-
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
40453
|
-
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
40454
|
-
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px'
|
|
40455
|
-
}),
|
|
40456
|
-
text2styles: glamor.css({
|
|
40457
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
40458
|
-
marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
|
|
40459
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
40460
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
40461
|
-
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
40462
|
-
})
|
|
40463
|
-
});
|
|
40464
40556
|
var SectionTitle = function SectionTitle() {
|
|
40465
40557
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40466
40558
|
"class": "d-flex align-items-center justify-content-md-center flex-row pl-md-2 pr-md-2 w-100",
|
|
@@ -40493,7 +40585,10 @@
|
|
|
40493
40585
|
};
|
|
40494
40586
|
var Content = function Content() {
|
|
40495
40587
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40496
|
-
"class": "col-lg-6 p-0"
|
|
40588
|
+
"class": "col-lg-6 p-0",
|
|
40589
|
+
style: {
|
|
40590
|
+
display: sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0 ? 'none' : 'flex'
|
|
40591
|
+
}
|
|
40497
40592
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40498
40593
|
"class": ' col-lg-12 p-0 d-flex d-md-none align-items-center ',
|
|
40499
40594
|
style: {
|
|
@@ -40542,8 +40637,9 @@
|
|
|
40542
40637
|
})));
|
|
40543
40638
|
};
|
|
40544
40639
|
var Video = function Video() {
|
|
40640
|
+
var _Videosarrayofobjs$;
|
|
40545
40641
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40546
|
-
className: 'col-lg-6 col-md-12 col-sm-12
|
|
40642
|
+
className: sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0 ? 'col-lg-12 col-md-12 col-sm-12 p-0 allcentered' : 'col-lg-6 col-md-12 col-sm-12 p-0 d-flex align-items-stretch',
|
|
40547
40643
|
style: {
|
|
40548
40644
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
40549
40645
|
}
|
|
@@ -40558,7 +40654,11 @@
|
|
|
40558
40654
|
url: Videosarrayofobjs[0].url,
|
|
40559
40655
|
height: sectionproperties.image_height + 'px',
|
|
40560
40656
|
width: '100%'
|
|
40561
|
-
}), Videosarrayofobjs[0]
|
|
40657
|
+
}), ((_Videosarrayofobjs$ = Videosarrayofobjs[0]) === null || _Videosarrayofobjs$ === void 0 ? void 0 : _Videosarrayofobjs$.image) == null && /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
|
|
40658
|
+
url: Videosarrayofobjs[0].url,
|
|
40659
|
+
height: sectionproperties.image_height + 'px',
|
|
40660
|
+
width: '100%'
|
|
40661
|
+
}), Videosarrayofobjs[0].linkclicked == false && Videosarrayofobjs[0].image != '' && Videosarrayofobjs[0].image != null && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
40562
40662
|
onClick: function onClick() {
|
|
40563
40663
|
var temparr = _toConsumableArray__default["default"](Videosarrayofobjs);
|
|
40564
40664
|
temparr[0].linkclicked = true;
|
|
@@ -52673,10 +52773,11 @@
|
|
|
52673
52773
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52674
52774
|
"class": "".concat(card_cssstyles.image_container, " ").concat(cardstyles.image_container) + ' d-flex d-sm-none ',
|
|
52675
52775
|
style: {
|
|
52676
|
-
position: 'relative'
|
|
52677
|
-
marginBottom: sectionproperties.image_mb + 'px'
|
|
52776
|
+
position: 'relative'
|
|
52777
|
+
// marginBottom: sectionproperties.image_borderType == 'All' ? 0 : sectionproperties.image_mb + 'px',
|
|
52778
|
+
// paddingBottom: sectionproperties.image_borderType == 'All' ? sectionproperties.image_mb + 'px' : 0,
|
|
52678
52779
|
}
|
|
52679
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
52780
|
+
}, item.image != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
52680
52781
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
52681
52782
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
52682
52783
|
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
@@ -52690,7 +52791,21 @@
|
|
|
52690
52791
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
52691
52792
|
},
|
|
52692
52793
|
loading: "lazy"
|
|
52693
|
-
}),
|
|
52794
|
+
}), item.image == '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52795
|
+
style: {
|
|
52796
|
+
width: '100%',
|
|
52797
|
+
height: '100%',
|
|
52798
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
|
|
52799
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52800
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
52801
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52802
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
52803
|
+
}
|
|
52804
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
52805
|
+
"class": "h-100 allcentered text-light"
|
|
52806
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
52807
|
+
size: 26
|
|
52808
|
+
}))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52694
52809
|
"class": "allcentered",
|
|
52695
52810
|
style: {
|
|
52696
52811
|
position: 'absolute',
|
|
@@ -53483,6 +53598,7 @@
|
|
|
53483
53598
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
53484
53599
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
53485
53600
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
53601
|
+
var NotificationManager = NotificationManager;
|
|
53486
53602
|
React.useEffect(function () {
|
|
53487
53603
|
var secpropobj = {};
|
|
53488
53604
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -53594,6 +53710,21 @@
|
|
|
53594
53710
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
53595
53711
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
53596
53712
|
}
|
|
53713
|
+
}),
|
|
53714
|
+
outstockbadge: glamor.css({
|
|
53715
|
+
width: sectionproperties.outstock_width + 'px',
|
|
53716
|
+
height: sectionproperties.outstock_height + 'px',
|
|
53717
|
+
background: sectionproperties.outstock_bg,
|
|
53718
|
+
color: sectionproperties.outstock_color,
|
|
53719
|
+
fontSize: sectionproperties.outstock_fontSize + 'px',
|
|
53720
|
+
borderRadius: sectionproperties.outstock_borderradius + 'px',
|
|
53721
|
+
position: 'absolute',
|
|
53722
|
+
zIndex: 2,
|
|
53723
|
+
top: 0,
|
|
53724
|
+
bottom: 0,
|
|
53725
|
+
left: 0,
|
|
53726
|
+
right: 0,
|
|
53727
|
+
margin: 'auto'
|
|
53597
53728
|
})
|
|
53598
53729
|
};
|
|
53599
53730
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -53613,7 +53744,8 @@
|
|
|
53613
53744
|
"class": "".concat(card_cssstyles.productcardimagecont) + ' p-0 cursor-pointer ',
|
|
53614
53745
|
style: {
|
|
53615
53746
|
height: sectionproperties.image_height + 'px',
|
|
53616
|
-
marginBottom: sectionproperties.image_mb + 'px'
|
|
53747
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
53748
|
+
position: 'relative'
|
|
53617
53749
|
}
|
|
53618
53750
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
53619
53751
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -53629,7 +53761,8 @@
|
|
|
53629
53761
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
53630
53762
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
53631
53763
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
53632
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
53764
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
53765
|
+
opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
|
|
53633
53766
|
}
|
|
53634
53767
|
}), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53635
53768
|
"class": "allcentered",
|
|
@@ -53667,7 +53800,11 @@
|
|
|
53667
53800
|
fontSize: sectionproperties.pillfontSize + 'px',
|
|
53668
53801
|
direction: 'ltr'
|
|
53669
53802
|
}
|
|
53670
|
-
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%'))
|
|
53803
|
+
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53804
|
+
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
53805
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53806
|
+
"class": "m-0 p-0"
|
|
53807
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53671
53808
|
"class": card_cssstyles.text_container + ' row m-0 w-100 text_container '
|
|
53672
53809
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53673
53810
|
onClick: function onClick() {
|
|
@@ -53689,8 +53826,12 @@
|
|
|
53689
53826
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53690
53827
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center cursor-pointer ',
|
|
53691
53828
|
onClick: function onClick() {
|
|
53692
|
-
|
|
53693
|
-
|
|
53829
|
+
if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
|
|
53830
|
+
NotificationManager.warning('', langdetect == 'en' ? 'Sold Out' : 'نفذت الكمية');
|
|
53831
|
+
} else {
|
|
53832
|
+
setShowProductInfoModalContext(true);
|
|
53833
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
53834
|
+
}
|
|
53694
53835
|
}
|
|
53695
53836
|
}, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
53696
53837
|
className: langdetect == 'en' ? 'mr-2' : 'ml-2',
|