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.esm.js
CHANGED
|
@@ -10896,6 +10896,7 @@ var Filter$1 = function Filter(props) {
|
|
|
10896
10896
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
10897
10897
|
raterangevalue = _useState12[0],
|
|
10898
10898
|
setraterangevalue = _useState12[1];
|
|
10899
|
+
var timeoutRef = React.useRef(null);
|
|
10899
10900
|
var _useState13 = useState([{
|
|
10900
10901
|
payloadvalue: 'sortprice',
|
|
10901
10902
|
name: lang.price,
|
|
@@ -10941,7 +10942,6 @@ var Filter$1 = function Filter(props) {
|
|
|
10941
10942
|
useEffect(function () {
|
|
10942
10943
|
filterupdater();
|
|
10943
10944
|
}, [ProductFilterObjContext]);
|
|
10944
|
-
var timeoutRef = React.useRef(null);
|
|
10945
10945
|
React.useEffect(function () {
|
|
10946
10946
|
if (timeoutRef.current !== null) {
|
|
10947
10947
|
clearTimeout(timeoutRef.current);
|
|
@@ -11062,101 +11062,6 @@ var Filter$1 = function Filter(props) {
|
|
|
11062
11062
|
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
11063
11063
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
11064
11064
|
};
|
|
11065
|
-
var filter_cssstyles = {
|
|
11066
|
-
collapsetitle: css({
|
|
11067
|
-
fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
11068
|
-
fontWeight: sectionproperties.filtertitle_fontweight,
|
|
11069
|
-
textTransform: sectionproperties.filtertitle_texttransform,
|
|
11070
|
-
color: sectionproperties.filtertitle_color,
|
|
11071
|
-
':hover': {
|
|
11072
|
-
color: sectionproperties.filtertitle_coloronhover
|
|
11073
|
-
}
|
|
11074
|
-
}),
|
|
11075
|
-
titlecontainer: css({
|
|
11076
|
-
color: sectionproperties.filtertitle_color,
|
|
11077
|
-
':hover .collapsetitle': {
|
|
11078
|
-
color: sectionproperties.filtertitle_coloronhover
|
|
11079
|
-
}
|
|
11080
|
-
}),
|
|
11081
|
-
timeline_text: css({
|
|
11082
|
-
fontSize: sectionproperties.timeline_text_fontsize + 'px',
|
|
11083
|
-
fontWeight: sectionproperties.timeline_text_fontweight,
|
|
11084
|
-
textTransform: sectionproperties.timeline_text_texttransform,
|
|
11085
|
-
color: sectionproperties.timeline_text_color,
|
|
11086
|
-
transition: '.3s',
|
|
11087
|
-
':hover': {
|
|
11088
|
-
color: sectionproperties.timeline_text_coloronhover
|
|
11089
|
-
}
|
|
11090
|
-
}),
|
|
11091
|
-
btnstyles: css({
|
|
11092
|
-
color: sectionproperties.generalbtn_textColor,
|
|
11093
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
11094
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
11095
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
11096
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
11097
|
-
background: sectionproperties.generalbtn_bgColor,
|
|
11098
|
-
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
11099
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
11100
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
11101
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
11102
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
11103
|
-
transition: '.3s',
|
|
11104
|
-
':hover': {
|
|
11105
|
-
background: sectionproperties.generalbtn_bgColoronhover,
|
|
11106
|
-
color: sectionproperties.generalbtn_textColoronhover
|
|
11107
|
-
}
|
|
11108
|
-
}),
|
|
11109
|
-
close_menu_icon_cont: css({
|
|
11110
|
-
background: sectionproperties.closeSliderBgColor,
|
|
11111
|
-
width: sectionproperties.closeSliderWidth + 'px',
|
|
11112
|
-
height: sectionproperties.closeSliderHeight + 'px',
|
|
11113
|
-
borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
|
|
11114
|
-
':hover': {
|
|
11115
|
-
background: sectionproperties.closeSliderBgColorHover
|
|
11116
|
-
}
|
|
11117
|
-
}),
|
|
11118
|
-
horizontalfilter_card: css({
|
|
11119
|
-
marginBottom: sectionproperties.horizontalfilter_mb + 'px',
|
|
11120
|
-
marginTop: sectionproperties.horizontalfilter_mt + 'px',
|
|
11121
|
-
background: sectionproperties.horizontalfilter_cardbg,
|
|
11122
|
-
border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
|
|
11123
|
-
boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow'
|
|
11124
|
-
}),
|
|
11125
|
-
btn_item: css({
|
|
11126
|
-
width: '20px',
|
|
11127
|
-
height: '20px',
|
|
11128
|
-
background: sectionproperties.filteritembtn_bgcolor,
|
|
11129
|
-
':hover': {
|
|
11130
|
-
background: sectionproperties.filteritembtn_bghover
|
|
11131
|
-
}
|
|
11132
|
-
}),
|
|
11133
|
-
btn_item_active: css({
|
|
11134
|
-
background: sectionproperties.btn_item_activebgcolor
|
|
11135
|
-
}),
|
|
11136
|
-
timelineinnercont_active: css({
|
|
11137
|
-
fontWeight: sectionproperties.activecat_fontweight,
|
|
11138
|
-
color: sectionproperties.activecat_color
|
|
11139
|
-
}),
|
|
11140
|
-
categoryName: css({
|
|
11141
|
-
color: sectionproperties.filtertitle_color,
|
|
11142
|
-
fontWeight: sectionproperties.filterCatFontWeight,
|
|
11143
|
-
fontSize: sectionproperties.filterCatFontSize + 'px'
|
|
11144
|
-
}),
|
|
11145
|
-
pCollectionName: css({
|
|
11146
|
-
color: sectionproperties.filtertitle_color,
|
|
11147
|
-
fontWeight: sectionproperties.filterPCollFontWeight,
|
|
11148
|
-
fontSize: sectionproperties.filterPCollFontSize + 'px'
|
|
11149
|
-
}),
|
|
11150
|
-
explorebtn: css({
|
|
11151
|
-
fontSize: sectionproperties.explorebtnfontsize + 'px',
|
|
11152
|
-
fontWeight: 600,
|
|
11153
|
-
color: sectionproperties.explorebtncolor,
|
|
11154
|
-
transition: '.3s',
|
|
11155
|
-
':hover': {
|
|
11156
|
-
color: sectionproperties.explorebtncoloronhover
|
|
11157
|
-
}
|
|
11158
|
-
})
|
|
11159
|
-
};
|
|
11160
11065
|
var CategoriesFilter = function CategoriesFilter() {
|
|
11161
11066
|
return /*#__PURE__*/React.createElement("div", {
|
|
11162
11067
|
"class": "col-lg-12 p-0"
|
|
@@ -11390,6 +11295,101 @@ var Filter$1 = function Filter(props) {
|
|
|
11390
11295
|
}));
|
|
11391
11296
|
}));
|
|
11392
11297
|
};
|
|
11298
|
+
var filter_cssstyles = {
|
|
11299
|
+
collapsetitle: css({
|
|
11300
|
+
fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
11301
|
+
fontWeight: sectionproperties.filtertitle_fontweight,
|
|
11302
|
+
textTransform: sectionproperties.filtertitle_texttransform,
|
|
11303
|
+
color: sectionproperties.filtertitle_color,
|
|
11304
|
+
':hover': {
|
|
11305
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
11306
|
+
}
|
|
11307
|
+
}),
|
|
11308
|
+
titlecontainer: css({
|
|
11309
|
+
color: sectionproperties.filtertitle_color,
|
|
11310
|
+
':hover .collapsetitle': {
|
|
11311
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
11312
|
+
}
|
|
11313
|
+
}),
|
|
11314
|
+
timeline_text: css({
|
|
11315
|
+
fontSize: sectionproperties.timeline_text_fontsize + 'px',
|
|
11316
|
+
fontWeight: sectionproperties.timeline_text_fontweight,
|
|
11317
|
+
textTransform: sectionproperties.timeline_text_texttransform,
|
|
11318
|
+
color: sectionproperties.timeline_text_color,
|
|
11319
|
+
transition: '.3s',
|
|
11320
|
+
':hover': {
|
|
11321
|
+
color: sectionproperties.timeline_text_coloronhover
|
|
11322
|
+
}
|
|
11323
|
+
}),
|
|
11324
|
+
btnstyles: css({
|
|
11325
|
+
color: sectionproperties.generalbtn_textColor,
|
|
11326
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
11327
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
11328
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
11329
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
11330
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
11331
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
11332
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
11333
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
11334
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
11335
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
11336
|
+
transition: '.3s',
|
|
11337
|
+
':hover': {
|
|
11338
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
11339
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
11340
|
+
}
|
|
11341
|
+
}),
|
|
11342
|
+
close_menu_icon_cont: css({
|
|
11343
|
+
background: sectionproperties.closeSliderBgColor,
|
|
11344
|
+
width: sectionproperties.closeSliderWidth + 'px',
|
|
11345
|
+
height: sectionproperties.closeSliderHeight + 'px',
|
|
11346
|
+
borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
|
|
11347
|
+
':hover': {
|
|
11348
|
+
background: sectionproperties.closeSliderBgColorHover
|
|
11349
|
+
}
|
|
11350
|
+
}),
|
|
11351
|
+
horizontalfilter_card: css({
|
|
11352
|
+
marginBottom: sectionproperties.horizontalfilter_mb + 'px',
|
|
11353
|
+
marginTop: sectionproperties.horizontalfilter_mt + 'px',
|
|
11354
|
+
background: sectionproperties.horizontalfilter_cardbg,
|
|
11355
|
+
border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
|
|
11356
|
+
boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow'
|
|
11357
|
+
}),
|
|
11358
|
+
btn_item: css({
|
|
11359
|
+
width: '20px',
|
|
11360
|
+
height: '20px',
|
|
11361
|
+
background: sectionproperties.filteritembtn_bgcolor,
|
|
11362
|
+
':hover': {
|
|
11363
|
+
background: sectionproperties.filteritembtn_bghover
|
|
11364
|
+
}
|
|
11365
|
+
}),
|
|
11366
|
+
btn_item_active: css({
|
|
11367
|
+
background: sectionproperties.btn_item_activebgcolor
|
|
11368
|
+
}),
|
|
11369
|
+
timelineinnercont_active: css({
|
|
11370
|
+
fontWeight: sectionproperties.activecat_fontweight,
|
|
11371
|
+
color: sectionproperties.activecat_color
|
|
11372
|
+
}),
|
|
11373
|
+
categoryName: css({
|
|
11374
|
+
color: sectionproperties.filtertitle_color,
|
|
11375
|
+
fontWeight: sectionproperties.filterCatFontWeight,
|
|
11376
|
+
fontSize: sectionproperties.filterCatFontSize + 'px'
|
|
11377
|
+
}),
|
|
11378
|
+
pCollectionName: css({
|
|
11379
|
+
color: sectionproperties.filtertitle_color,
|
|
11380
|
+
fontWeight: sectionproperties.filterPCollFontWeight,
|
|
11381
|
+
fontSize: sectionproperties.filterPCollFontSize + 'px'
|
|
11382
|
+
}),
|
|
11383
|
+
explorebtn: css({
|
|
11384
|
+
fontSize: sectionproperties.explorebtnfontsize + 'px',
|
|
11385
|
+
fontWeight: 600,
|
|
11386
|
+
color: sectionproperties.explorebtncolor,
|
|
11387
|
+
transition: '.3s',
|
|
11388
|
+
':hover': {
|
|
11389
|
+
color: sectionproperties.explorebtncoloronhover
|
|
11390
|
+
}
|
|
11391
|
+
})
|
|
11392
|
+
};
|
|
11393
11393
|
return /*#__PURE__*/React.createElement("div", {
|
|
11394
11394
|
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',
|
|
11395
11395
|
style: {
|
|
@@ -11402,7 +11402,7 @@ var Filter$1 = function Filter(props) {
|
|
|
11402
11402
|
}, /*#__PURE__*/React.createElement("p", {
|
|
11403
11403
|
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
11404
11404
|
}, langdetect == 'en' ? sectionproperties.filtercollectiontitle_en : sectionproperties.filtercollectiontitle_ar)), /*#__PURE__*/React.createElement("div", {
|
|
11405
|
-
"class": "col-lg-12 p-0"
|
|
11405
|
+
"class": "col-lg-12 p-0 mb-4"
|
|
11406
11406
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
11407
11407
|
transitionBehavior: 'auto',
|
|
11408
11408
|
wrapperClassName: '',
|
|
@@ -11883,11 +11883,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
11883
11883
|
if (fetchProductsQuery.isSuccess) {
|
|
11884
11884
|
var _fetchProductsQuery$d, _fetchProductsQuery$d2, _fetchProductsQuery$d3;
|
|
11885
11885
|
var allpagesarr = [];
|
|
11886
|
-
// fetchProductsQuery.data.pages.forEach((page) => {
|
|
11887
|
-
// page.data.products.forEach((productobj) => {
|
|
11888
|
-
// allpagesarr.push(productobj);
|
|
11889
|
-
// });
|
|
11890
|
-
// });
|
|
11891
11886
|
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) {
|
|
11892
11887
|
allpagesarr.push(item);
|
|
11893
11888
|
});
|
|
@@ -12006,11 +12001,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
12006
12001
|
if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
|
|
12007
12002
|
var _fetchProductsQuery$d4, _fetchProductsQuery$d5, _fetchProductsQuery$d6;
|
|
12008
12003
|
var allpagesarr = [];
|
|
12009
|
-
// fetchProductsQuery.data.pages.forEach((page) => {
|
|
12010
|
-
// page.data.products.forEach((productobj) => {
|
|
12011
|
-
// allpagesarr.push(productobj);
|
|
12012
|
-
// });
|
|
12013
|
-
// });
|
|
12014
12004
|
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) {
|
|
12015
12005
|
allpagesarr.push(item);
|
|
12016
12006
|
});
|
|
@@ -12158,7 +12148,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
12158
12148
|
setcardsarray([].concat(temparray));
|
|
12159
12149
|
};
|
|
12160
12150
|
// Example items, to simulate fetching from another resources.
|
|
12161
|
-
|
|
12162
12151
|
var handlePageClick = function handlePageClick(event) {
|
|
12163
12152
|
props.scrolltotop();
|
|
12164
12153
|
var tempProductFilterObjContext = _objectSpread$1M({}, ProductFilterObjContext);
|
|
@@ -12473,7 +12462,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
12473
12462
|
}) : /*#__PURE__*/React.createElement(HiOutlineArrowLeft, {
|
|
12474
12463
|
size: sectionproperties.viewmoreiconfontsize
|
|
12475
12464
|
}))), /*#__PURE__*/React.createElement("span", {
|
|
12476
|
-
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-none align-items-center justify-content-center' : 'd-none d-md-flex align-items-center justify-content-center'
|
|
12465
|
+
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-none align-items-center justify-content-center' : 'd-none d-md-flex align-items-center justify-content-center',
|
|
12466
|
+
style: {
|
|
12467
|
+
color: sectionproperties.viewmorebtn_Textcolor
|
|
12468
|
+
}
|
|
12477
12469
|
}, /*#__PURE__*/React.createElement("i", {
|
|
12478
12470
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
12479
12471
|
}, langdetect == 'en' ? /*#__PURE__*/React.createElement(HiOutlineArrowRight, {
|
|
@@ -12515,7 +12507,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
12515
12507
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)))), /*#__PURE__*/React.createElement("div", {
|
|
12516
12508
|
"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',
|
|
12517
12509
|
style: {
|
|
12518
|
-
marginTop: sectionproperties.sectiontitleposition == 'Centered' ? '
|
|
12510
|
+
marginTop: sectionproperties.sectiontitleposition == 'Centered' ? sectionproperties.viewmoremt + 'px' : 0
|
|
12519
12511
|
}
|
|
12520
12512
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12521
12513
|
"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 '
|
|
@@ -12554,9 +12546,11 @@ var CardsSection = function CardsSection(props) {
|
|
|
12554
12546
|
}, /*#__PURE__*/React.createElement("i", {
|
|
12555
12547
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
12556
12548
|
}, langdetect == 'en' ? /*#__PURE__*/React.createElement(HiOutlineArrowRight, {
|
|
12557
|
-
size: sectionproperties.viewmorebtn_fontSize
|
|
12549
|
+
size: sectionproperties.viewmorebtn_fontSize,
|
|
12550
|
+
color: sectionproperties.viewmorebtn_Textcolor
|
|
12558
12551
|
}) : /*#__PURE__*/React.createElement(HiOutlineArrowLeft, {
|
|
12559
|
-
size: sectionproperties.viewmorebtn_fontSize
|
|
12552
|
+
size: sectionproperties.viewmorebtn_fontSize,
|
|
12553
|
+
color: sectionproperties.viewmorebtn_Textcolor
|
|
12560
12554
|
})))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React.createElement("button", {
|
|
12561
12555
|
"class": ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ',
|
|
12562
12556
|
onClick: function onClick() {
|
|
@@ -13103,7 +13097,7 @@ var Subheader = function Subheader(props) {
|
|
|
13103
13097
|
}, fetchCategoriesQueryContext.isSuccess && fetchCategoriesQueryContext.data.data.status && /*#__PURE__*/React.createElement("div", {
|
|
13104
13098
|
"class": "".concat(headerstyles$f.subheader) + ' row w-100 m-0 dropdownouter d-flex flex-row align-items-center justify-content-center w-sm-100 ',
|
|
13105
13099
|
style: {
|
|
13106
|
-
position: 'relative',
|
|
13100
|
+
position: sectionproperties.subheaderstyle == 'Style 1' ? 'relative' : '',
|
|
13107
13101
|
background: 'transparent'
|
|
13108
13102
|
}
|
|
13109
13103
|
}, (props === null || props === void 0 ? void 0 : props.subheaderpositionprops) == 'Full Width' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -13181,7 +13175,8 @@ var Subheader = function Subheader(props) {
|
|
|
13181
13175
|
},
|
|
13182
13176
|
style: {
|
|
13183
13177
|
marginLeft: langdetect == 'ar' ? (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingLeftprops : 0,
|
|
13184
|
-
marginRight: langdetect == 'en' ? (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingRightprops : 0
|
|
13178
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingRightprops : 0,
|
|
13179
|
+
position: sectionproperties.subheaderstyle == 'Style 2' ? 'relative' : ''
|
|
13185
13180
|
}
|
|
13186
13181
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
13187
13182
|
}
|
|
@@ -13195,7 +13190,8 @@ var Subheader = function Subheader(props) {
|
|
|
13195
13190
|
},
|
|
13196
13191
|
style: {
|
|
13197
13192
|
marginLeft: langdetect == 'ar' ? (_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.paddingLeftprops : 0,
|
|
13198
|
-
marginRight: langdetect == 'en' ? (_props$subheaderprope11 = props.subheaderpropertiesprops) === null || _props$subheaderprope11 === void 0 ? void 0 : _props$subheaderprope11.paddingRightprops : 0
|
|
13193
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope11 = props.subheaderpropertiesprops) === null || _props$subheaderprope11 === void 0 ? void 0 : _props$subheaderprope11.paddingRightprops : 0,
|
|
13194
|
+
position: sectionproperties.subheaderstyle == 'Style 2' ? 'relative' : ''
|
|
13199
13195
|
}
|
|
13200
13196
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
13201
13197
|
}
|
|
@@ -13813,7 +13809,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
13813
13809
|
className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
13814
13810
|
}, /*#__PURE__*/React.createElement("p", {
|
|
13815
13811
|
className: ' d-flex align-items-center m-0 p-0 '
|
|
13816
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
|
|
13812
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
|
|
13817
13813
|
className: "ml-2 mr-2"
|
|
13818
13814
|
}, lang.viewcart))))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
|
|
13819
13815
|
style: {
|
|
@@ -13848,7 +13844,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
13848
13844
|
className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
13849
13845
|
}, /*#__PURE__*/React.createElement("p", {
|
|
13850
13846
|
className: ' d-flex align-items-center m-0 p-0 '
|
|
13851
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
|
|
13847
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
|
|
13852
13848
|
className: langdetect == 'en' ? 'ml-2' : 'mr-2'
|
|
13853
13849
|
}, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
|
|
13854
13850
|
style: {
|
|
@@ -13943,6 +13939,8 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
13943
13939
|
size: sectionproperties.cartBtniconresp_size
|
|
13944
13940
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
13945
13941
|
size: sectionproperties.cartBtniconresp_size
|
|
13942
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
13943
|
+
size: sectionproperties.cartBtniconresp_size
|
|
13946
13944
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
13947
13945
|
className: "".concat(header_cssstyles.badge_counter_header_notifications),
|
|
13948
13946
|
style: {
|
|
@@ -14611,6 +14609,8 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
14611
14609
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
14612
14610
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
14613
14611
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
14612
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
14613
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
14614
14614
|
})), /*#__PURE__*/React.createElement("p", {
|
|
14615
14615
|
"class": ' allcenetered m-0 p-0 '
|
|
14616
14616
|
}, lang.orderhistory))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
@@ -14688,6 +14688,8 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
14688
14688
|
size: sectionproperties.cartBtn_iconFontSize
|
|
14689
14689
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
14690
14690
|
size: sectionproperties.cartBtn_iconFontSize
|
|
14691
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
14692
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
14691
14693
|
}), /*#__PURE__*/React.createElement("div", {
|
|
14692
14694
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
|
|
14693
14695
|
}, (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.createElement("p", {
|
|
@@ -15501,7 +15503,7 @@ var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
|
15501
15503
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
15502
15504
|
}, /*#__PURE__*/React.createElement("p", {
|
|
15503
15505
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
15504
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
|
|
15506
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
|
|
15505
15507
|
"class": "ml-2 mr-2"
|
|
15506
15508
|
}, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
15507
15509
|
onClick: function onClick() {
|
|
@@ -15571,6 +15573,8 @@ var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
|
15571
15573
|
size: sectionproperties.cartBtn_iconFontSize
|
|
15572
15574
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
15573
15575
|
size: sectionproperties.cartBtn_iconFontSize
|
|
15576
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
15577
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
15574
15578
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
15575
15579
|
"class": langdetect == 'en' ? 'headerdropdownml d-flex align-items-center justify-content-center' : 'headerdropdownmr d-flex align-items-center justify-content-center'
|
|
15576
15580
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
@@ -19012,6 +19016,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
19012
19016
|
size: sectionproperties.cartBtn_iconFontSize
|
|
19013
19017
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
19014
19018
|
size: sectionproperties.cartBtn_iconFontSize
|
|
19019
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
19020
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
19015
19021
|
}))), /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
19016
19022
|
"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 ',
|
|
19017
19023
|
sytle: {
|
|
@@ -19070,6 +19076,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
19070
19076
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
19071
19077
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
19072
19078
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
19079
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
19080
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
19073
19081
|
}), lang.orderhistory))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
19074
19082
|
onClick: function onClick() {
|
|
19075
19083
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
@@ -19963,7 +19971,7 @@ var Header8 = function Header8(props) {
|
|
|
19963
19971
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
19964
19972
|
}, /*#__PURE__*/React.createElement("p", {
|
|
19965
19973
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
19966
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
|
|
19974
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
|
|
19967
19975
|
"class": "ml-2 mr-2"
|
|
19968
19976
|
}, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
|
|
19969
19977
|
style: {
|
|
@@ -20065,6 +20073,8 @@ var Header8 = function Header8(props) {
|
|
|
20065
20073
|
size: sectionproperties.cartBtn_iconFontSize
|
|
20066
20074
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
20067
20075
|
size: sectionproperties.cartBtn_iconFontSize
|
|
20076
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
20077
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
20068
20078
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
20069
20079
|
"class": langdetect == 'en' ? 'ml-2 d-flex d-lg-none' : 'mr-2 d-flex d-lg-none'
|
|
20070
20080
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -21409,6 +21419,8 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
21409
21419
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
21410
21420
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
21411
21421
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
21422
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
21423
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
21412
21424
|
}), /*#__PURE__*/React.createElement("span", null, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
21413
21425
|
onClick: function onClick() {
|
|
21414
21426
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
@@ -21494,6 +21506,8 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
21494
21506
|
size: sectionproperties.cartBtn_iconFontSize
|
|
21495
21507
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
21496
21508
|
size: sectionproperties.cartBtn_iconFontSize
|
|
21509
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
21510
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
21497
21511
|
})), /*#__PURE__*/React.createElement("div", {
|
|
21498
21512
|
className: "".concat(headerstyles$9.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
21499
21513
|
style: {
|
|
@@ -22246,7 +22260,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
22246
22260
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
22247
22261
|
}, /*#__PURE__*/React.createElement("p", {
|
|
22248
22262
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
22249
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
|
|
22263
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
|
|
22250
22264
|
"class": "ml-2 mr-2"
|
|
22251
22265
|
}, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
22252
22266
|
onClick: function onClick() {
|
|
@@ -22320,6 +22334,8 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
22320
22334
|
size: sectionproperties.cartBtn_iconFontSize
|
|
22321
22335
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
22322
22336
|
size: sectionproperties.cartBtn_iconFontSize
|
|
22337
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
22338
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
22323
22339
|
}))), sectionproperties.showupperheadersection == 'Hide' && /*#__PURE__*/React.createElement("div", {
|
|
22324
22340
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
22325
22341
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
@@ -22741,7 +22757,10 @@ var Modernheader = function Modernheader(props) {
|
|
|
22741
22757
|
}
|
|
22742
22758
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22743
22759
|
"class": "row m-0 w-100"
|
|
22744
|
-
}, /*#__PURE__*/React.createElement(
|
|
22760
|
+
}, sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React.createElement(MarqueeHeader, {
|
|
22761
|
+
sectionpropertiesprops: sectionproperties,
|
|
22762
|
+
actions: actions
|
|
22763
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
22745
22764
|
"class": "".concat(header_cssstyles.top_bar) + ' row m-0 w-100 d-flex align-items-center px-1025-1 '
|
|
22746
22765
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22747
22766
|
"class": "col-lg-4 col-md-6 col-sm-12 allcentered p-0",
|
|
@@ -22781,7 +22800,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
22781
22800
|
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,
|
|
22782
22801
|
style: {
|
|
22783
22802
|
maxWidth: '100%',
|
|
22784
|
-
maxHeight: '100%'
|
|
22803
|
+
maxHeight: '100%',
|
|
22804
|
+
objectFit: 'contain'
|
|
22785
22805
|
}
|
|
22786
22806
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
22787
22807
|
"class": "col-lg-4 col-md-6 col-sm-12 p-0 d-flex align-items-center justify-content-end"
|
|
@@ -23139,6 +23159,10 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
23139
23159
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
23140
23160
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
23141
23161
|
var actions = props.actions;
|
|
23162
|
+
var _useState3 = useState(false),
|
|
23163
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
23164
|
+
openSearchBar = _useState4[0],
|
|
23165
|
+
setopenSearchBar = _useState4[1];
|
|
23142
23166
|
useEffect(function () {
|
|
23143
23167
|
var secpropobj = {};
|
|
23144
23168
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -23155,10 +23179,10 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
23155
23179
|
}
|
|
23156
23180
|
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
23157
23181
|
}, [StatePagePropertiesContext]);
|
|
23158
|
-
var
|
|
23159
|
-
|
|
23160
|
-
logoarrayofobjects =
|
|
23161
|
-
setlogoarrayofobjects =
|
|
23182
|
+
var _useState5 = useState([]),
|
|
23183
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
23184
|
+
logoarrayofobjects = _useState6[0],
|
|
23185
|
+
setlogoarrayofobjects = _useState6[1];
|
|
23162
23186
|
useEffect(function () {
|
|
23163
23187
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
23164
23188
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -23167,10 +23191,6 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
23167
23191
|
}
|
|
23168
23192
|
}
|
|
23169
23193
|
}, [templateproperties_context]);
|
|
23170
|
-
var _useState5 = useState(false),
|
|
23171
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
23172
|
-
openSearchBar = _useState6[0],
|
|
23173
|
-
setopenSearchBar = _useState6[1];
|
|
23174
23194
|
var header_cssstyles = {
|
|
23175
23195
|
upperHeaderSection: css({
|
|
23176
23196
|
background: sectionproperties.uppersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.uppersection_bgcolor,
|
|
@@ -23719,9 +23739,23 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
23719
23739
|
className: ' d-flex align-items-center justify-content-center '
|
|
23720
23740
|
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
23721
23741
|
className: "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
23722
|
-
}, /*#__PURE__*/React.createElement(
|
|
23742
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
23743
|
+
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
23744
|
+
className: "mr-2",
|
|
23745
|
+
style: {
|
|
23746
|
+
maxWidth: '2.5vh',
|
|
23747
|
+
maxHeight: '2.5vh'
|
|
23748
|
+
}
|
|
23749
|
+
}), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
23723
23750
|
className: "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
23724
|
-
}, /*#__PURE__*/React.createElement(
|
|
23751
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
23752
|
+
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
23753
|
+
className: "ml-2",
|
|
23754
|
+
style: {
|
|
23755
|
+
maxWidth: '2.5vh',
|
|
23756
|
+
maxHeight: '2.5vh'
|
|
23757
|
+
}
|
|
23758
|
+
}), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
23725
23759
|
onClick: function onClick() {
|
|
23726
23760
|
setlang('ar');
|
|
23727
23761
|
}
|
|
@@ -24427,7 +24461,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
24427
24461
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
24428
24462
|
}, /*#__PURE__*/React.createElement("p", {
|
|
24429
24463
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
24430
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
|
|
24464
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
|
|
24431
24465
|
"class": "ml-2 mr-2"
|
|
24432
24466
|
}, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
24433
24467
|
onClick: function onClick() {
|
|
@@ -24621,6 +24655,8 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
24621
24655
|
size: sectionproperties.cartBtn_iconFontSize
|
|
24622
24656
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
24623
24657
|
size: sectionproperties.cartBtn_iconFontSize
|
|
24658
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
24659
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
24624
24660
|
}))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
24625
24661
|
"class": "ml-2 mr-2"
|
|
24626
24662
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -25532,7 +25568,7 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
|
25532
25568
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
25533
25569
|
}, /*#__PURE__*/React.createElement("p", {
|
|
25534
25570
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
25535
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
|
|
25571
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
|
|
25536
25572
|
"class": "ml-2 mr-2"
|
|
25537
25573
|
}, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
25538
25574
|
onClick: function onClick() {
|
|
@@ -25606,6 +25642,8 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
|
25606
25642
|
size: sectionproperties.cartBtn_iconFontSize
|
|
25607
25643
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
25608
25644
|
size: sectionproperties.cartBtn_iconFontSize
|
|
25645
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
25646
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
25609
25647
|
}))), sectionproperties.showupperheadersection == 'Hide' && /*#__PURE__*/React.createElement("div", {
|
|
25610
25648
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
25611
25649
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
@@ -26387,6 +26425,8 @@ var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
|
26387
26425
|
size: sectionproperties.cartBtn_iconFontSize
|
|
26388
26426
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
26389
26427
|
size: sectionproperties.cartBtn_iconFontSize
|
|
26428
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
26429
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
26390
26430
|
}))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
26391
26431
|
"class": header_cssstyles.user_btnContainer + ' d-flex justify-content-center align-items-center '
|
|
26392
26432
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -26471,7 +26511,7 @@ var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
|
26471
26511
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
26472
26512
|
}, /*#__PURE__*/React.createElement("p", {
|
|
26473
26513
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
26474
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
|
|
26514
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
|
|
26475
26515
|
"class": "ml-2 mr-2"
|
|
26476
26516
|
}, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
26477
26517
|
onClick: function onClick() {
|
|
@@ -27783,6 +27823,8 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
27783
27823
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27784
27824
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
27785
27825
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27826
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
27827
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27786
27828
|
}), lang.orderhistory))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
27787
27829
|
onClick: function onClick() {
|
|
27788
27830
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
@@ -27838,6 +27880,8 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
27838
27880
|
size: sectionproperties.cartBtn_iconFontSize
|
|
27839
27881
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
27840
27882
|
size: sectionproperties.cartBtn_iconFontSize
|
|
27883
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
27884
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
27841
27885
|
})))))), /*#__PURE__*/React.createElement("div", {
|
|
27842
27886
|
"class": "col-lg-12 p-0"
|
|
27843
27887
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -28435,6 +28479,8 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
28435
28479
|
size: sectionproperties.cartBtn_iconFontSize
|
|
28436
28480
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
28437
28481
|
size: sectionproperties.cartBtn_iconFontSize
|
|
28482
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
28483
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
28438
28484
|
})), /*#__PURE__*/React.createElement("div", {
|
|
28439
28485
|
"class": langdetect == 'en' ? 'headerdropdownml dropdown-toggle_w100' : 'headerdropdownmr dropdown-toggle_w100',
|
|
28440
28486
|
style: {
|
|
@@ -28540,7 +28586,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
28540
28586
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
28541
28587
|
}, /*#__PURE__*/React.createElement("p", {
|
|
28542
28588
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
28543
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
|
|
28589
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
|
|
28544
28590
|
"class": "ml-2 mr-2"
|
|
28545
28591
|
}, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
28546
28592
|
onClick: function onClick() {
|
|
@@ -33804,17 +33850,17 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
33804
33850
|
}, /*#__PURE__*/React.createElement("div", {
|
|
33805
33851
|
"class": "row m-0 w-100"
|
|
33806
33852
|
}, /*#__PURE__*/React.createElement("div", {
|
|
33807
|
-
"class":
|
|
33853
|
+
"class": sectionproperties.showdownloadsection == 'Show' ? 'col-lg-3 col-md-12 col-sm-12' : 'col-lg-4 col-md-12 col-sm-12'
|
|
33808
33854
|
}, /*#__PURE__*/React.createElement("div", {
|
|
33809
33855
|
"class": "row m-0 w-100 d-flex justify-content-start"
|
|
33810
33856
|
}, /*#__PURE__*/React.createElement("div", {
|
|
33811
|
-
"class":
|
|
33857
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
33812
33858
|
}, /*#__PURE__*/React.createElement("p", {
|
|
33813
|
-
"class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 wordbreak
|
|
33859
|
+
"class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 wordbreak ',
|
|
33814
33860
|
style: {
|
|
33815
33861
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
33816
33862
|
}
|
|
33817
|
-
}, 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) {
|
|
33863
|
+
}, 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) {
|
|
33818
33864
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
33819
33865
|
return /*#__PURE__*/React.createElement("div", {
|
|
33820
33866
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
@@ -33862,8 +33908,8 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
33862
33908
|
style: {
|
|
33863
33909
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
33864
33910
|
}
|
|
33865
|
-
}, lang.policies)))))
|
|
33866
|
-
"class":
|
|
33911
|
+
}, lang.policies))))), /*#__PURE__*/React.createElement("div", {
|
|
33912
|
+
"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'
|
|
33867
33913
|
}, /*#__PURE__*/React.createElement("div", {
|
|
33868
33914
|
"class": "row m-0 w-100 d-flex justify-content-start"
|
|
33869
33915
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -33904,7 +33950,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
33904
33950
|
}
|
|
33905
33951
|
}
|
|
33906
33952
|
}, "WhatsApp")))), /*#__PURE__*/React.createElement("div", {
|
|
33907
|
-
"class":
|
|
33953
|
+
"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'
|
|
33908
33954
|
}, /*#__PURE__*/React.createElement("div", {
|
|
33909
33955
|
"class": "row m-0 w-100"
|
|
33910
33956
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -33948,7 +33994,61 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
33948
33994
|
}
|
|
33949
33995
|
}, /*#__PURE__*/React.createElement("i", {
|
|
33950
33996
|
"class": ' fa fa-at mr-2 text-transform-none ml-2 '
|
|
33951
|
-
}), 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))))
|
|
33997
|
+
}), 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.createElement("div", {
|
|
33998
|
+
"class": "col-lg-3 col-md-12 col-sm-12 mt-md-3"
|
|
33999
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
34000
|
+
className: "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
34001
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
34002
|
+
className: "".concat(footerStyles.sectionTitle) + ' m-0 p-0 '
|
|
34003
|
+
}, langdetect == 'en' ? sectionproperties.otherinfotitle3en : sectionproperties.otherinfotitle3ar)), /*#__PURE__*/React.createElement("div", {
|
|
34004
|
+
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-1 mb-sm-3'
|
|
34005
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
34006
|
+
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-flex d-md-none ',
|
|
34007
|
+
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
34008
|
+
onClick: function onClick() {
|
|
34009
|
+
var _authdetailsContext$i17;
|
|
34010
|
+
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');
|
|
34011
|
+
},
|
|
34012
|
+
style: {
|
|
34013
|
+
width: '40%',
|
|
34014
|
+
height: '40%'
|
|
34015
|
+
}
|
|
34016
|
+
}), /*#__PURE__*/React.createElement("img", {
|
|
34017
|
+
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-none d-md-flex ',
|
|
34018
|
+
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
34019
|
+
onClick: function onClick() {
|
|
34020
|
+
var _authdetailsContext$i18;
|
|
34021
|
+
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');
|
|
34022
|
+
},
|
|
34023
|
+
style: {
|
|
34024
|
+
width: '20%',
|
|
34025
|
+
height: '20%'
|
|
34026
|
+
}
|
|
34027
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
34028
|
+
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start'
|
|
34029
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
34030
|
+
"class": "".concat(footerStyles.googleplay) + ' cursor-pointer d-flex d-md-none ',
|
|
34031
|
+
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
34032
|
+
onClick: function onClick() {
|
|
34033
|
+
var _authdetailsContext$i19;
|
|
34034
|
+
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');
|
|
34035
|
+
},
|
|
34036
|
+
style: {
|
|
34037
|
+
width: '40%',
|
|
34038
|
+
height: '40%'
|
|
34039
|
+
}
|
|
34040
|
+
}), /*#__PURE__*/React.createElement("img", {
|
|
34041
|
+
"class": "".concat(footerStyles.googleplay) + ' cursor-pointer d-none d-md-flex ',
|
|
34042
|
+
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
34043
|
+
onClick: function onClick() {
|
|
34044
|
+
var _authdetailsContext$i20;
|
|
34045
|
+
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');
|
|
34046
|
+
},
|
|
34047
|
+
style: {
|
|
34048
|
+
width: '20%',
|
|
34049
|
+
height: '20%'
|
|
34050
|
+
}
|
|
34051
|
+
}))))));
|
|
33952
34052
|
};
|
|
33953
34053
|
|
|
33954
34054
|
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; }
|
|
@@ -40333,23 +40433,15 @@ var VideosSection = function VideosSection(props) {
|
|
|
40333
40433
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
40334
40434
|
props.actions;
|
|
40335
40435
|
useEffect(function () {
|
|
40336
|
-
|
|
40337
|
-
|
|
40338
|
-
|
|
40339
|
-
|
|
40340
|
-
|
|
40341
|
-
|
|
40342
|
-
|
|
40343
|
-
|
|
40344
|
-
|
|
40345
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
40346
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
40347
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
40348
|
-
});
|
|
40349
|
-
}
|
|
40350
|
-
});
|
|
40351
|
-
setsectionproperties(_objectSpread$X({}, secpropobj));
|
|
40352
|
-
}
|
|
40436
|
+
var secpropobj = {};
|
|
40437
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
40438
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
40439
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
40440
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
40441
|
+
});
|
|
40442
|
+
}
|
|
40443
|
+
});
|
|
40444
|
+
setsectionproperties(_objectSpread$X({}, secpropobj));
|
|
40353
40445
|
}, [StatePagePropertiesContext]);
|
|
40354
40446
|
useEffect(function () {
|
|
40355
40447
|
if (sectionproperties.length != 0 && sectionproperties.videosarrayofobjs != undefined) {
|
|
@@ -40454,7 +40546,14 @@ var VideosSection = function VideosSection(props) {
|
|
|
40454
40546
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
40455
40547
|
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
40456
40548
|
}
|
|
40457
|
-
}, Description()),
|
|
40549
|
+
}, Description()), /*#__PURE__*/React.createElement("div", {
|
|
40550
|
+
"class": "col-lg-12 p-0"
|
|
40551
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
40552
|
+
"class": "row m-0 w-100 d-flex",
|
|
40553
|
+
style: {
|
|
40554
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
40555
|
+
}
|
|
40556
|
+
}, Object.keys(videosarrayofobjs).length != 0 && videosarrayofobjs.map(function (item, index) {
|
|
40458
40557
|
return /*#__PURE__*/React.createElement("div", {
|
|
40459
40558
|
className: 'd-flex align-items-stretch col-md-6 col-sm-12 col-lg-' + item.numberofcols,
|
|
40460
40559
|
style: {
|
|
@@ -40482,7 +40581,16 @@ var VideosSection = function VideosSection(props) {
|
|
|
40482
40581
|
loop: true,
|
|
40483
40582
|
muted: true,
|
|
40484
40583
|
playsinline: true
|
|
40485
|
-
}), item.
|
|
40584
|
+
}), item.image == null && item.linktype != 'External Link ' && /*#__PURE__*/React.createElement(ReactPlayer, {
|
|
40585
|
+
url: item.url,
|
|
40586
|
+
height: sectionproperties.image_height + 'px',
|
|
40587
|
+
width: '100%',
|
|
40588
|
+
playing: true,
|
|
40589
|
+
controls: true,
|
|
40590
|
+
loop: true,
|
|
40591
|
+
muted: true,
|
|
40592
|
+
playsinline: true
|
|
40593
|
+
}), item.linkclicked == false && item.image != '' && item.image != null && /*#__PURE__*/React.createElement("div", {
|
|
40486
40594
|
onClick: function onClick() {
|
|
40487
40595
|
if (item.linktype == 'External Link') {
|
|
40488
40596
|
window.open(item.url, '_blank');
|
|
@@ -40509,7 +40617,7 @@ var VideosSection = function VideosSection(props) {
|
|
|
40509
40617
|
}))), sectionproperties.sectionbgstyle != 'Text above image' && /*#__PURE__*/React.createElement("div", {
|
|
40510
40618
|
"class": "col-lg-12 p-0 mt-3"
|
|
40511
40619
|
}, ImageContent(item))));
|
|
40512
|
-
}));
|
|
40620
|
+
}))));
|
|
40513
40621
|
};
|
|
40514
40622
|
|
|
40515
40623
|
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; }
|
|
@@ -40553,22 +40661,6 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
40553
40661
|
}
|
|
40554
40662
|
}
|
|
40555
40663
|
}, [sectionproperties]);
|
|
40556
|
-
({
|
|
40557
|
-
text1styles: css({
|
|
40558
|
-
color: sectionproperties.slideshowText1ContentColor,
|
|
40559
|
-
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
40560
|
-
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
40561
|
-
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
40562
|
-
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px'
|
|
40563
|
-
}),
|
|
40564
|
-
text2styles: css({
|
|
40565
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
40566
|
-
marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
|
|
40567
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
40568
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
40569
|
-
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
40570
|
-
})
|
|
40571
|
-
});
|
|
40572
40664
|
var SectionTitle = function SectionTitle() {
|
|
40573
40665
|
return /*#__PURE__*/React.createElement("div", {
|
|
40574
40666
|
"class": "d-flex align-items-center justify-content-md-center flex-row pl-md-2 pr-md-2 w-100",
|
|
@@ -40601,7 +40693,10 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
40601
40693
|
};
|
|
40602
40694
|
var Content = function Content() {
|
|
40603
40695
|
return /*#__PURE__*/React.createElement("div", {
|
|
40604
|
-
"class": "col-lg-6 p-0"
|
|
40696
|
+
"class": "col-lg-6 p-0",
|
|
40697
|
+
style: {
|
|
40698
|
+
display: sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0 ? 'none' : 'flex'
|
|
40699
|
+
}
|
|
40605
40700
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
40606
40701
|
"class": ' col-lg-12 p-0 d-flex d-md-none align-items-center ',
|
|
40607
40702
|
style: {
|
|
@@ -40650,8 +40745,9 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
40650
40745
|
})));
|
|
40651
40746
|
};
|
|
40652
40747
|
var Video = function Video() {
|
|
40748
|
+
var _Videosarrayofobjs$;
|
|
40653
40749
|
return /*#__PURE__*/React.createElement("div", {
|
|
40654
|
-
className: 'col-lg-6 col-md-12 col-sm-12
|
|
40750
|
+
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',
|
|
40655
40751
|
style: {
|
|
40656
40752
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
40657
40753
|
}
|
|
@@ -40666,7 +40762,11 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
40666
40762
|
url: Videosarrayofobjs[0].url,
|
|
40667
40763
|
height: sectionproperties.image_height + 'px',
|
|
40668
40764
|
width: '100%'
|
|
40669
|
-
}), Videosarrayofobjs[0]
|
|
40765
|
+
}), ((_Videosarrayofobjs$ = Videosarrayofobjs[0]) === null || _Videosarrayofobjs$ === void 0 ? void 0 : _Videosarrayofobjs$.image) == null && /*#__PURE__*/React.createElement(ReactPlayer, {
|
|
40766
|
+
url: Videosarrayofobjs[0].url,
|
|
40767
|
+
height: sectionproperties.image_height + 'px',
|
|
40768
|
+
width: '100%'
|
|
40769
|
+
}), Videosarrayofobjs[0].linkclicked == false && Videosarrayofobjs[0].image != '' && Videosarrayofobjs[0].image != null && /*#__PURE__*/React.createElement("button", {
|
|
40670
40770
|
onClick: function onClick() {
|
|
40671
40771
|
var temparr = _toConsumableArray(Videosarrayofobjs);
|
|
40672
40772
|
temparr[0].linkclicked = true;
|
|
@@ -52781,10 +52881,11 @@ var Productcard_animatedbuttons = function Productcard_animatedbuttons(props) {
|
|
|
52781
52881
|
}, /*#__PURE__*/React.createElement("div", {
|
|
52782
52882
|
"class": "".concat(card_cssstyles.image_container, " ").concat(cardstyles.image_container) + ' d-flex d-sm-none ',
|
|
52783
52883
|
style: {
|
|
52784
|
-
position: 'relative'
|
|
52785
|
-
marginBottom: sectionproperties.image_mb + 'px'
|
|
52884
|
+
position: 'relative'
|
|
52885
|
+
// marginBottom: sectionproperties.image_borderType == 'All' ? 0 : sectionproperties.image_mb + 'px',
|
|
52886
|
+
// paddingBottom: sectionproperties.image_borderType == 'All' ? sectionproperties.image_mb + 'px' : 0,
|
|
52786
52887
|
}
|
|
52787
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
52888
|
+
}, item.image != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
52788
52889
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
52789
52890
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
52790
52891
|
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
@@ -52798,7 +52899,21 @@ var Productcard_animatedbuttons = function Productcard_animatedbuttons(props) {
|
|
|
52798
52899
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
52799
52900
|
},
|
|
52800
52901
|
loading: "lazy"
|
|
52801
|
-
}),
|
|
52902
|
+
}), item.image == '' && /*#__PURE__*/React.createElement("div", {
|
|
52903
|
+
style: {
|
|
52904
|
+
width: '100%',
|
|
52905
|
+
height: '100%',
|
|
52906
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
|
|
52907
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52908
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
52909
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52910
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
52911
|
+
}
|
|
52912
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
52913
|
+
"class": "h-100 allcentered text-light"
|
|
52914
|
+
}, /*#__PURE__*/React.createElement(FiLayers, {
|
|
52915
|
+
size: 26
|
|
52916
|
+
}))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
52802
52917
|
"class": "allcentered",
|
|
52803
52918
|
style: {
|
|
52804
52919
|
position: 'absolute',
|
|
@@ -53591,6 +53706,7 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
53591
53706
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
53592
53707
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
53593
53708
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
53709
|
+
var NotificationManager = NotificationManager;
|
|
53594
53710
|
useEffect(function () {
|
|
53595
53711
|
var secpropobj = {};
|
|
53596
53712
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -53702,6 +53818,21 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
53702
53818
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
53703
53819
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
53704
53820
|
}
|
|
53821
|
+
}),
|
|
53822
|
+
outstockbadge: css({
|
|
53823
|
+
width: sectionproperties.outstock_width + 'px',
|
|
53824
|
+
height: sectionproperties.outstock_height + 'px',
|
|
53825
|
+
background: sectionproperties.outstock_bg,
|
|
53826
|
+
color: sectionproperties.outstock_color,
|
|
53827
|
+
fontSize: sectionproperties.outstock_fontSize + 'px',
|
|
53828
|
+
borderRadius: sectionproperties.outstock_borderradius + 'px',
|
|
53829
|
+
position: 'absolute',
|
|
53830
|
+
zIndex: 2,
|
|
53831
|
+
top: 0,
|
|
53832
|
+
bottom: 0,
|
|
53833
|
+
left: 0,
|
|
53834
|
+
right: 0,
|
|
53835
|
+
margin: 'auto'
|
|
53705
53836
|
})
|
|
53706
53837
|
};
|
|
53707
53838
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -53721,7 +53852,8 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
53721
53852
|
"class": "".concat(card_cssstyles.productcardimagecont) + ' p-0 cursor-pointer ',
|
|
53722
53853
|
style: {
|
|
53723
53854
|
height: sectionproperties.image_height + 'px',
|
|
53724
|
-
marginBottom: sectionproperties.image_mb + 'px'
|
|
53855
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
53856
|
+
position: 'relative'
|
|
53725
53857
|
}
|
|
53726
53858
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
53727
53859
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -53737,7 +53869,8 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
53737
53869
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
53738
53870
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
53739
53871
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
53740
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
53872
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
53873
|
+
opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
|
|
53741
53874
|
}
|
|
53742
53875
|
}), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
53743
53876
|
"class": "allcentered",
|
|
@@ -53775,7 +53908,11 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
53775
53908
|
fontSize: sectionproperties.pillfontSize + 'px',
|
|
53776
53909
|
direction: 'ltr'
|
|
53777
53910
|
}
|
|
53778
|
-
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%'))
|
|
53911
|
+
}, '-' + 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.createElement("div", {
|
|
53912
|
+
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
53913
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
53914
|
+
"class": "m-0 p-0"
|
|
53915
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React.createElement("div", {
|
|
53779
53916
|
"class": card_cssstyles.text_container + ' row m-0 w-100 text_container '
|
|
53780
53917
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
53781
53918
|
onClick: function onClick() {
|
|
@@ -53797,8 +53934,12 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
53797
53934
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
53798
53935
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center cursor-pointer ',
|
|
53799
53936
|
onClick: function onClick() {
|
|
53800
|
-
|
|
53801
|
-
|
|
53937
|
+
if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
|
|
53938
|
+
NotificationManager.warning('', langdetect == 'en' ? 'Sold Out' : 'نفذت الكمية');
|
|
53939
|
+
} else {
|
|
53940
|
+
setShowProductInfoModalContext(true);
|
|
53941
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
53942
|
+
}
|
|
53802
53943
|
}
|
|
53803
53944
|
}, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React.createElement("span", {
|
|
53804
53945
|
className: langdetect == 'en' ? 'mr-2' : 'ml-2',
|