tabexseriescomponents 0.0.238 → 0.0.239
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 +104 -298
- package/dist/index.esm.js +104 -298
- package/dist/index.umd.js +104 -298
- package/package.json +1 -1
- package/src.zip +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -36632,6 +36632,19 @@ var VideosSection = function VideosSection(props) {
|
|
|
36632
36632
|
}
|
|
36633
36633
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr);
|
|
36634
36634
|
};
|
|
36635
|
+
var ImageContent = function ImageContent(item, index) {
|
|
36636
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36637
|
+
"class": "row m-0 w-100"
|
|
36638
|
+
}, sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36639
|
+
className: bgcssstyles.text1styles + ' col-lg-12 p-0 w-100 d-flex align-items-center '
|
|
36640
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36641
|
+
className: bgcssstyles.text1styles + ' d-flex wordbreak m-0 p-0 '
|
|
36642
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36643
|
+
className: bgcssstyles.text2styles + ' col-lg-12 p-0 w-100 d-flex '
|
|
36644
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36645
|
+
className: bgcssstyles.text2styles + ' d-flex wordbreak m-0 p-0 '
|
|
36646
|
+
}, langdetect == 'en' ? item.description_en : item.description_ar)));
|
|
36647
|
+
};
|
|
36635
36648
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36636
36649
|
className: "row ml-0 mr-0 w-100 pl-md-0 pr-md-0",
|
|
36637
36650
|
style: {
|
|
@@ -36669,21 +36682,15 @@ var VideosSection = function VideosSection(props) {
|
|
|
36669
36682
|
}
|
|
36670
36683
|
}, Description()), Object.keys(videosarrayofobjs).length != 0 && videosarrayofobjs.map(function (item, index) {
|
|
36671
36684
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36672
|
-
className: 'd-flex align-items-stretch col-md-6 col-sm-12 col-lg-' +
|
|
36685
|
+
className: 'd-flex align-items-stretch col-md-6 col-sm-12 col-lg-' + item.numberofcols,
|
|
36673
36686
|
style: {
|
|
36674
36687
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
36675
36688
|
}
|
|
36676
36689
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36677
36690
|
className: "row ml-0 mr-0 d-flex w-100"
|
|
36678
|
-
}, sectionproperties.
|
|
36679
|
-
|
|
36680
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
36681
|
-
className: bgcssstyles.text1styles + ' d-flex wordbreak m-0 p-0 '
|
|
36682
|
-
}, langdetect == 'en' ? videosarrayofobjs[index].title_en : videosarrayofobjs[index].title_ar)), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36683
|
-
className: bgcssstyles.text2styles + ' col-lg-12 p-0 w-100 d-flex '
|
|
36684
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36685
|
-
className: bgcssstyles.text2styles + ' d-flex wordbreak m-0 p-0 '
|
|
36686
|
-
}, langdetect == 'en' ? videosarrayofobjs[index].description_en : videosarrayofobjs[index].description_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36691
|
+
}, sectionproperties.sectionbgstyle == 'Text above image' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36692
|
+
"class": "col-lg-12 p-0"
|
|
36693
|
+
}, ImageContent(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36687
36694
|
className: 'col-lg-12 p-0 d-md-flex w-100 mt-auto',
|
|
36688
36695
|
style: {
|
|
36689
36696
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
@@ -36692,8 +36699,8 @@ var VideosSection = function VideosSection(props) {
|
|
|
36692
36699
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
36693
36700
|
height: sectionproperties.image_height + 'px'
|
|
36694
36701
|
}
|
|
36695
|
-
}, item.linkclicked == true &&
|
|
36696
|
-
url:
|
|
36702
|
+
}, item.linkclicked == true && item.linktype != 'External Link ' && /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
|
|
36703
|
+
url: item.url,
|
|
36697
36704
|
height: sectionproperties.image_height + 'px',
|
|
36698
36705
|
width: '100%',
|
|
36699
36706
|
playing: true,
|
|
@@ -36701,28 +36708,33 @@ var VideosSection = function VideosSection(props) {
|
|
|
36701
36708
|
loop: true,
|
|
36702
36709
|
muted: true,
|
|
36703
36710
|
playsinline: true
|
|
36704
|
-
}), item.linkclicked == false && /*#__PURE__*/React__default["default"].createElement("
|
|
36711
|
+
}), item.linkclicked == false && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36705
36712
|
onClick: function onClick() {
|
|
36706
|
-
if (
|
|
36707
|
-
window.open(
|
|
36708
|
-
} else {
|
|
36713
|
+
if (item.linktype == 'External Link') {
|
|
36714
|
+
window.open(item.url, '_blank');
|
|
36715
|
+
} else if (item.linktype == 'Image') ; else {
|
|
36709
36716
|
var temparr = _toConsumableArray__default["default"](videosarrayofobjs);
|
|
36710
36717
|
temparr[index].linkclicked = true;
|
|
36711
36718
|
setvideosarrayofobjs(_toConsumableArray__default["default"](temparr));
|
|
36712
36719
|
}
|
|
36713
36720
|
},
|
|
36714
|
-
"class": "w-100 h-100"
|
|
36721
|
+
"class": "w-100 h-100",
|
|
36722
|
+
style: {
|
|
36723
|
+
cursor: item.linktype == 'Image' ? 'default' : 'pointer'
|
|
36724
|
+
}
|
|
36715
36725
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
36716
36726
|
urlEndpoint: IKurlEndpoint,
|
|
36717
36727
|
publicKey: IKpublicKey,
|
|
36718
|
-
path: videosarrayofobjs.length != 0 ?
|
|
36728
|
+
path: videosarrayofobjs.length != 0 ? item.image : '',
|
|
36719
36729
|
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
36720
36730
|
style: {
|
|
36721
36731
|
height: '100%',
|
|
36722
36732
|
width: '100%',
|
|
36723
36733
|
objectFit: sectionproperties.bgcovercontain
|
|
36724
36734
|
}
|
|
36725
|
-
})))
|
|
36735
|
+
}))), sectionproperties.sectionbgstyle != 'Text above image' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36736
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
36737
|
+
}, ImageContent(item))));
|
|
36726
36738
|
}));
|
|
36727
36739
|
};
|
|
36728
36740
|
|
|
@@ -44528,6 +44540,13 @@ var Card23 = function Card23(props) {
|
|
|
44528
44540
|
transition: 'all, 0.4s',
|
|
44529
44541
|
right: 10,
|
|
44530
44542
|
transform: "translateX(0px)"
|
|
44543
|
+
}),
|
|
44544
|
+
imageContainer: glamor.css({
|
|
44545
|
+
backgroundColor: sectionproperties.image_bgcolor,
|
|
44546
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
44547
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
44548
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44549
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
44531
44550
|
})
|
|
44532
44551
|
};
|
|
44533
44552
|
var plainString = function plainString(html) {
|
|
@@ -44535,6 +44554,65 @@ var Card23 = function Card23(props) {
|
|
|
44535
44554
|
divContainer.innerHTML = html;
|
|
44536
44555
|
return divContainer.textContent || divContainer.innerText || '';
|
|
44537
44556
|
};
|
|
44557
|
+
var Image = function Image() {
|
|
44558
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44559
|
+
"class": "w-100"
|
|
44560
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
44561
|
+
urlEndpoint: IKurlEndpoint,
|
|
44562
|
+
publicKey: IKpublicKey,
|
|
44563
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
44564
|
+
style: {
|
|
44565
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
44566
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
44567
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
44568
|
+
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
44569
|
+
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
|
|
44570
|
+
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
44571
|
+
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
|
|
44572
|
+
},
|
|
44573
|
+
loading: "lazy",
|
|
44574
|
+
onClick: function onClick() {
|
|
44575
|
+
setShowProductInfoModalContext(true);
|
|
44576
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
44577
|
+
}
|
|
44578
|
+
}), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44579
|
+
"class": "row m-0 align-items-center justify-content-center",
|
|
44580
|
+
style: {
|
|
44581
|
+
position: 'absolute',
|
|
44582
|
+
top: 10,
|
|
44583
|
+
left: 10,
|
|
44584
|
+
height: sectionproperties.badge_height + 'px',
|
|
44585
|
+
width: sectionproperties.badge_width + 'px',
|
|
44586
|
+
backgroundColor: sectionproperties.badge_bgcolor,
|
|
44587
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
44588
|
+
paddingLeft: '10px',
|
|
44589
|
+
paddingRight: '10px',
|
|
44590
|
+
color: sectionproperties.badge_color
|
|
44591
|
+
}
|
|
44592
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44593
|
+
style: {
|
|
44594
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
44595
|
+
}
|
|
44596
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44597
|
+
"class": "allcentered",
|
|
44598
|
+
style: {
|
|
44599
|
+
position: 'absolute',
|
|
44600
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
44601
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
44602
|
+
width: sectionproperties.pillwidth + 'px',
|
|
44603
|
+
height: sectionproperties.pillheight + 'px',
|
|
44604
|
+
background: sectionproperties.pillbgcolor,
|
|
44605
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
44606
|
+
}
|
|
44607
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44608
|
+
"class": "m-0 p-0 text-uppercase",
|
|
44609
|
+
style: {
|
|
44610
|
+
color: sectionproperties.pillcolor,
|
|
44611
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
44612
|
+
direction: 'ltr'
|
|
44613
|
+
}
|
|
44614
|
+
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')));
|
|
44615
|
+
};
|
|
44538
44616
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44539
44617
|
"class": "row m-0 w-100 pl-sm-2 pr-sm-2",
|
|
44540
44618
|
style: {
|
|
@@ -44542,229 +44620,7 @@ var Card23 = function Card23(props) {
|
|
|
44542
44620
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
44543
44621
|
}
|
|
44544
44622
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44545
|
-
"class": "".concat(cardsstyles2.card) + '
|
|
44546
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44547
|
-
"class": item.IsFavExists == true ? "".concat(cardsstyles2.iconsContainer, " ").concat(cardsstyles2.iconsContainer2) + ' iconsContainer d-flex d-md-none ' : "".concat(cardsstyles2.iconsContainer) + ' iconsContainer d-flex d-md-none ',
|
|
44548
|
-
style: {
|
|
44549
|
-
zIndex: 100
|
|
44550
|
-
}
|
|
44551
|
-
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
44552
|
-
"class": "".concat(cardsstyles2.wishlist_btn) + ' mb-1 ',
|
|
44553
|
-
onClick: function onClick() {
|
|
44554
|
-
addtofavoritescontext(item.productid);
|
|
44555
|
-
}
|
|
44556
|
-
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44557
|
-
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
44558
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
44559
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
44560
|
-
style: {
|
|
44561
|
-
color: sectionproperties.activefaviconcolor
|
|
44562
|
-
}
|
|
44563
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
|
|
44564
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
44565
|
-
style: {
|
|
44566
|
-
color: sectionproperties.activefaviconcolor
|
|
44567
|
-
}
|
|
44568
|
-
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44569
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
44570
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
44571
|
-
size: sectionproperties.favBtnIconfontsize
|
|
44572
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
44573
|
-
size: sectionproperties.favBtnIconfontsize
|
|
44574
|
-
}))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
44575
|
-
"class": " ".concat(cardsstyles2.showmodal),
|
|
44576
|
-
onClick: function onClick(e) {
|
|
44577
|
-
e.stopPropagation();
|
|
44578
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
44579
|
-
}
|
|
44580
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44581
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
44582
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
|
|
44583
|
-
size: sectionproperties.generalbtn_fontsize
|
|
44584
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44585
|
-
"class": "".concat(cardsstyles2.iconsContainer, " ").concat(cardsstyles2.iconsContainer2) + ' iconsContainer d-none d-md-flex ',
|
|
44586
|
-
style: {
|
|
44587
|
-
zIndex: 100
|
|
44588
|
-
}
|
|
44589
|
-
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
44590
|
-
"class": " ".concat(cardsstyles2.wishlist_btn) + ' mb-1 ',
|
|
44591
|
-
onClick: function onClick() {
|
|
44592
|
-
addtofavoritescontext(item.productid);
|
|
44593
|
-
}
|
|
44594
|
-
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44595
|
-
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
44596
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
44597
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
44598
|
-
style: {
|
|
44599
|
-
color: sectionproperties.activefaviconcolor
|
|
44600
|
-
}
|
|
44601
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
|
|
44602
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
44603
|
-
style: {
|
|
44604
|
-
color: sectionproperties.activefaviconcolor
|
|
44605
|
-
}
|
|
44606
|
-
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44607
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
44608
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
44609
|
-
size: sectionproperties.favBtnIconfontsize
|
|
44610
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
44611
|
-
size: sectionproperties.favBtnIconfontsize
|
|
44612
|
-
}))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
44613
|
-
"class": " ".concat(cardsstyles2.showmodal),
|
|
44614
|
-
onClick: function onClick(e) {
|
|
44615
|
-
e.stopPropagation();
|
|
44616
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
44617
|
-
}
|
|
44618
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44619
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
44620
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
|
|
44621
|
-
size: sectionproperties.generalbtn_fontsize
|
|
44622
|
-
})))), sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44623
|
-
"class": "col-lg-12 col-md-12 col-sm-12 pl-0 pr-0 pl-sm-2 pr-sm-2",
|
|
44624
|
-
style: {
|
|
44625
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
44626
|
-
paddingBottom: sectionproperties.paddingBottom + 'px'
|
|
44627
|
-
}
|
|
44628
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44629
|
-
"class": "cursor-pointer",
|
|
44630
|
-
style: {
|
|
44631
|
-
backgroundColor: sectionproperties.image_bgcolor,
|
|
44632
|
-
height: sectionproperties.image_height + 'px',
|
|
44633
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
44634
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
44635
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44636
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
44637
|
-
}
|
|
44638
|
-
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
44639
|
-
urlEndpoint: IKurlEndpoint,
|
|
44640
|
-
publicKey: IKpublicKey,
|
|
44641
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
44642
|
-
style: {
|
|
44643
|
-
width: '100%',
|
|
44644
|
-
height: '100%',
|
|
44645
|
-
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
44646
|
-
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
44647
|
-
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
|
|
44648
|
-
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
44649
|
-
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
|
|
44650
|
-
},
|
|
44651
|
-
loading: "lazy",
|
|
44652
|
-
onClick: function onClick() {
|
|
44653
|
-
setShowProductInfoModalContext(true);
|
|
44654
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
44655
|
-
}
|
|
44656
|
-
}), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44657
|
-
"class": "row m-0 align-items-center justify-content-center",
|
|
44658
|
-
style: {
|
|
44659
|
-
position: 'absolute',
|
|
44660
|
-
top: 10,
|
|
44661
|
-
left: 10,
|
|
44662
|
-
height: sectionproperties.badge_height + 'px',
|
|
44663
|
-
width: sectionproperties.badge_width + 'px',
|
|
44664
|
-
backgroundColor: sectionproperties.badge_bgcolor,
|
|
44665
|
-
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
44666
|
-
paddingLeft: '10px',
|
|
44667
|
-
paddingRight: '10px',
|
|
44668
|
-
color: sectionproperties.badge_color
|
|
44669
|
-
}
|
|
44670
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44671
|
-
style: {
|
|
44672
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
44673
|
-
}
|
|
44674
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44675
|
-
"class": "allcentered",
|
|
44676
|
-
style: {
|
|
44677
|
-
position: 'absolute',
|
|
44678
|
-
top: sectionproperties.pillpositionfromtop + 'px',
|
|
44679
|
-
left: sectionproperties.pillpositionfromright + 'px',
|
|
44680
|
-
width: sectionproperties.pillwidth + 'px',
|
|
44681
|
-
height: sectionproperties.pillheight + 'px',
|
|
44682
|
-
background: sectionproperties.pillbgcolor,
|
|
44683
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
44684
|
-
}
|
|
44685
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44686
|
-
"class": "m-0 p-0 text-uppercase",
|
|
44687
|
-
style: {
|
|
44688
|
-
color: sectionproperties.pillcolor,
|
|
44689
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
44690
|
-
direction: 'ltr'
|
|
44691
|
-
}
|
|
44692
|
-
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%'))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44693
|
-
"class": 'row m-0 w-100 pl-sm-0 pr-sm-0',
|
|
44694
|
-
style: {
|
|
44695
|
-
paddingLeft: '10px',
|
|
44696
|
-
paddingRight: '10px',
|
|
44697
|
-
paddingTop: '10px',
|
|
44698
|
-
paddingBottom: '10px'
|
|
44699
|
-
}
|
|
44700
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44701
|
-
"class": "col-lg-12 p-0"
|
|
44702
|
-
}, sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44703
|
-
"class": "".concat(cardsstyles2.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 m-0 ',
|
|
44704
|
-
style: {
|
|
44705
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
44706
|
-
}
|
|
44707
|
-
}, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44708
|
-
"class": "col-lg-12 p-0 ",
|
|
44709
|
-
style: {
|
|
44710
|
-
minHeight: '6vh'
|
|
44711
|
-
}
|
|
44712
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44713
|
-
onClick: function onClick() {
|
|
44714
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
44715
|
-
},
|
|
44716
|
-
"class": sectionproperties.wordbreak == '1' ? "".concat(cardsstyles2.productNameStyles) + ' wordbreak wordbreak2 m-0 ' : "".concat(cardsstyles2.productNameStyles) + ' wordbreak wordbreak2 m-0 ',
|
|
44717
|
-
style: {
|
|
44718
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
44719
|
-
}
|
|
44720
|
-
}, item.name))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44721
|
-
"class": "row m-0 w-100 align-items-center mt-1 mb-1"
|
|
44722
|
-
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44723
|
-
"class": langdetect == 'en' ? "".concat(cardsstyles2.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(cardsstyles2.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
44724
|
-
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
44725
|
-
"class": "".concat(cardsstyles2.productSalePricestyles)
|
|
44726
|
-
}, "/"), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44727
|
-
"class": langdetect == 'en' ? "".concat(cardsstyles2.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ' : "".concat(cardsstyles2.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right '
|
|
44728
|
-
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44729
|
-
"class": "d-flex align-items-center m-0"
|
|
44730
|
-
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
44731
|
-
"class": "".concat(cardsstyles2.cart_btn) + ' allcentered ',
|
|
44732
|
-
onClick: function onClick() {
|
|
44733
|
-
setShowProductInfoModalContext(true);
|
|
44734
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
44735
|
-
}
|
|
44736
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44737
|
-
"class": "d-flex align-items-center justify-content-center"
|
|
44738
|
-
}, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44739
|
-
"class": "allcentered mr-2",
|
|
44740
|
-
style: {
|
|
44741
|
-
color: sectionproperties.cart_iconcolor,
|
|
44742
|
-
fontSize: sectionproperties.cartBtn_iconFontSize
|
|
44743
|
-
}
|
|
44744
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
44745
|
-
"class": "",
|
|
44746
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44747
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
44748
|
-
"class": "",
|
|
44749
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44750
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
44751
|
-
"class": "",
|
|
44752
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44753
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
44754
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44755
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
44756
|
-
"class": "",
|
|
44757
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44758
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
44759
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44760
|
-
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44761
|
-
"class": "m-0 p-0"
|
|
44762
|
-
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44763
|
-
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.card) + ' d-none d-md-flex w-100 ' : "".concat(cardsstyles2.card) + ' d-none d-md-flex ',
|
|
44764
|
-
style: {
|
|
44765
|
-
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
44766
|
-
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + ' px'
|
|
44767
|
-
}
|
|
44623
|
+
"class": "".concat(cardsstyles2.card) + ' '
|
|
44768
44624
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44769
44625
|
"class": item.IsFavExists == true ? "".concat(cardsstyles2.iconsContainer, " ").concat(cardsstyles2.iconsContainer2) + ' iconsContainer d-flex d-md-none ' : "".concat(cardsstyles2.iconsContainer) + ' iconsContainer d-flex d-md-none ',
|
|
44770
44626
|
style: {
|
|
@@ -44848,66 +44704,16 @@ var Card23 = function Card23(props) {
|
|
|
44848
44704
|
paddingBottom: sectionproperties.paddingBottom + 'px'
|
|
44849
44705
|
}
|
|
44850
44706
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44851
|
-
"class":
|
|
44707
|
+
"class": cardsstyles2.imageContainer + ' d-flex d-md-none ',
|
|
44852
44708
|
style: {
|
|
44853
|
-
|
|
44854
|
-
height: sectionproperties.image_height + 'px',
|
|
44855
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
44856
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
44857
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44858
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
44859
|
-
}
|
|
44860
|
-
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
44861
|
-
urlEndpoint: IKurlEndpoint,
|
|
44862
|
-
publicKey: IKpublicKey,
|
|
44863
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
44864
|
-
style: {
|
|
44865
|
-
width: '100%',
|
|
44866
|
-
height: '100%',
|
|
44867
|
-
objectFit: 'contain'
|
|
44868
|
-
},
|
|
44869
|
-
loading: "lazy",
|
|
44870
|
-
onClick: function onClick() {
|
|
44871
|
-
setShowProductInfoModalContext(true);
|
|
44872
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
44873
|
-
}
|
|
44874
|
-
}), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44875
|
-
"class": "row m-0 align-items-center justify-content-center",
|
|
44876
|
-
style: {
|
|
44877
|
-
position: 'absolute',
|
|
44878
|
-
top: 10,
|
|
44879
|
-
left: 10,
|
|
44880
|
-
height: sectionproperties.badge_height + 'px',
|
|
44881
|
-
width: sectionproperties.badge_width + 'px',
|
|
44882
|
-
backgroundColor: sectionproperties.badge_bgcolor,
|
|
44883
|
-
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
44884
|
-
paddingLeft: '10px',
|
|
44885
|
-
paddingRight: '10px',
|
|
44886
|
-
color: sectionproperties.badge_color
|
|
44887
|
-
}
|
|
44888
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44889
|
-
style: {
|
|
44890
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
44891
|
-
}
|
|
44892
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44893
|
-
"class": "allcentered",
|
|
44894
|
-
style: {
|
|
44895
|
-
position: 'absolute',
|
|
44896
|
-
top: sectionproperties.pillpositionfromtop + 'px',
|
|
44897
|
-
left: sectionproperties.pillpositionfromright + 'px',
|
|
44898
|
-
width: sectionproperties.pillwidth + 'px',
|
|
44899
|
-
height: sectionproperties.pillheight + 'px',
|
|
44900
|
-
background: sectionproperties.pillbgcolor,
|
|
44901
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
44709
|
+
height: sectionproperties.image_height + 'px'
|
|
44902
44710
|
}
|
|
44903
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
44904
|
-
"class":
|
|
44711
|
+
}, Image()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44712
|
+
"class": cardsstyles2.imageContainer + ' d-none d-md-flex ',
|
|
44905
44713
|
style: {
|
|
44906
|
-
|
|
44907
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
44908
|
-
direction: 'ltr'
|
|
44714
|
+
height: sectionproperties.height_responsive + 'px'
|
|
44909
44715
|
}
|
|
44910
|
-
},
|
|
44716
|
+
}, Image()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44911
44717
|
"class": 'row m-0 w-100 pl-sm-0 pr-sm-0',
|
|
44912
44718
|
style: {
|
|
44913
44719
|
paddingLeft: '10px',
|