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.esm.js
CHANGED
|
@@ -36588,6 +36588,19 @@ var VideosSection = function VideosSection(props) {
|
|
|
36588
36588
|
}
|
|
36589
36589
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr);
|
|
36590
36590
|
};
|
|
36591
|
+
var ImageContent = function ImageContent(item, index) {
|
|
36592
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
36593
|
+
"class": "row m-0 w-100"
|
|
36594
|
+
}, sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36595
|
+
className: bgcssstyles.text1styles + ' col-lg-12 p-0 w-100 d-flex align-items-center '
|
|
36596
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
36597
|
+
className: bgcssstyles.text1styles + ' d-flex wordbreak m-0 p-0 '
|
|
36598
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36599
|
+
className: bgcssstyles.text2styles + ' col-lg-12 p-0 w-100 d-flex '
|
|
36600
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
36601
|
+
className: bgcssstyles.text2styles + ' d-flex wordbreak m-0 p-0 '
|
|
36602
|
+
}, langdetect == 'en' ? item.description_en : item.description_ar)));
|
|
36603
|
+
};
|
|
36591
36604
|
return /*#__PURE__*/React.createElement("div", {
|
|
36592
36605
|
className: "row ml-0 mr-0 w-100 pl-md-0 pr-md-0",
|
|
36593
36606
|
style: {
|
|
@@ -36625,21 +36638,15 @@ var VideosSection = function VideosSection(props) {
|
|
|
36625
36638
|
}
|
|
36626
36639
|
}, Description()), Object.keys(videosarrayofobjs).length != 0 && videosarrayofobjs.map(function (item, index) {
|
|
36627
36640
|
return /*#__PURE__*/React.createElement("div", {
|
|
36628
|
-
className: 'd-flex align-items-stretch col-md-6 col-sm-12 col-lg-' +
|
|
36641
|
+
className: 'd-flex align-items-stretch col-md-6 col-sm-12 col-lg-' + item.numberofcols,
|
|
36629
36642
|
style: {
|
|
36630
36643
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
36631
36644
|
}
|
|
36632
36645
|
}, /*#__PURE__*/React.createElement("div", {
|
|
36633
36646
|
className: "row ml-0 mr-0 d-flex w-100"
|
|
36634
|
-
}, sectionproperties.
|
|
36635
|
-
|
|
36636
|
-
}, /*#__PURE__*/React.createElement("
|
|
36637
|
-
className: bgcssstyles.text1styles + ' d-flex wordbreak m-0 p-0 '
|
|
36638
|
-
}, langdetect == 'en' ? videosarrayofobjs[index].title_en : videosarrayofobjs[index].title_ar)), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36639
|
-
className: bgcssstyles.text2styles + ' col-lg-12 p-0 w-100 d-flex '
|
|
36640
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
36641
|
-
className: bgcssstyles.text2styles + ' d-flex wordbreak m-0 p-0 '
|
|
36642
|
-
}, langdetect == 'en' ? videosarrayofobjs[index].description_en : videosarrayofobjs[index].description_ar)), /*#__PURE__*/React.createElement("div", {
|
|
36647
|
+
}, sectionproperties.sectionbgstyle == 'Text above image' && /*#__PURE__*/React.createElement("div", {
|
|
36648
|
+
"class": "col-lg-12 p-0"
|
|
36649
|
+
}, ImageContent(item)), /*#__PURE__*/React.createElement("div", {
|
|
36643
36650
|
className: 'col-lg-12 p-0 d-md-flex w-100 mt-auto',
|
|
36644
36651
|
style: {
|
|
36645
36652
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
@@ -36648,8 +36655,8 @@ var VideosSection = function VideosSection(props) {
|
|
|
36648
36655
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
36649
36656
|
height: sectionproperties.image_height + 'px'
|
|
36650
36657
|
}
|
|
36651
|
-
}, item.linkclicked == true &&
|
|
36652
|
-
url:
|
|
36658
|
+
}, item.linkclicked == true && item.linktype != 'External Link ' && /*#__PURE__*/React.createElement(ReactPlayer, {
|
|
36659
|
+
url: item.url,
|
|
36653
36660
|
height: sectionproperties.image_height + 'px',
|
|
36654
36661
|
width: '100%',
|
|
36655
36662
|
playing: true,
|
|
@@ -36657,28 +36664,33 @@ var VideosSection = function VideosSection(props) {
|
|
|
36657
36664
|
loop: true,
|
|
36658
36665
|
muted: true,
|
|
36659
36666
|
playsinline: true
|
|
36660
|
-
}), item.linkclicked == false && /*#__PURE__*/React.createElement("
|
|
36667
|
+
}), item.linkclicked == false && /*#__PURE__*/React.createElement("div", {
|
|
36661
36668
|
onClick: function onClick() {
|
|
36662
|
-
if (
|
|
36663
|
-
window.open(
|
|
36664
|
-
} else {
|
|
36669
|
+
if (item.linktype == 'External Link') {
|
|
36670
|
+
window.open(item.url, '_blank');
|
|
36671
|
+
} else if (item.linktype == 'Image') ; else {
|
|
36665
36672
|
var temparr = _toConsumableArray(videosarrayofobjs);
|
|
36666
36673
|
temparr[index].linkclicked = true;
|
|
36667
36674
|
setvideosarrayofobjs(_toConsumableArray(temparr));
|
|
36668
36675
|
}
|
|
36669
36676
|
},
|
|
36670
|
-
"class": "w-100 h-100"
|
|
36677
|
+
"class": "w-100 h-100",
|
|
36678
|
+
style: {
|
|
36679
|
+
cursor: item.linktype == 'Image' ? 'default' : 'pointer'
|
|
36680
|
+
}
|
|
36671
36681
|
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
36672
36682
|
urlEndpoint: IKurlEndpoint,
|
|
36673
36683
|
publicKey: IKpublicKey,
|
|
36674
|
-
path: videosarrayofobjs.length != 0 ?
|
|
36684
|
+
path: videosarrayofobjs.length != 0 ? item.image : '',
|
|
36675
36685
|
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
36676
36686
|
style: {
|
|
36677
36687
|
height: '100%',
|
|
36678
36688
|
width: '100%',
|
|
36679
36689
|
objectFit: sectionproperties.bgcovercontain
|
|
36680
36690
|
}
|
|
36681
|
-
})))
|
|
36691
|
+
}))), sectionproperties.sectionbgstyle != 'Text above image' && /*#__PURE__*/React.createElement("div", {
|
|
36692
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
36693
|
+
}, ImageContent(item))));
|
|
36682
36694
|
}));
|
|
36683
36695
|
};
|
|
36684
36696
|
|
|
@@ -44484,6 +44496,13 @@ var Card23 = function Card23(props) {
|
|
|
44484
44496
|
transition: 'all, 0.4s',
|
|
44485
44497
|
right: 10,
|
|
44486
44498
|
transform: "translateX(0px)"
|
|
44499
|
+
}),
|
|
44500
|
+
imageContainer: css({
|
|
44501
|
+
backgroundColor: sectionproperties.image_bgcolor,
|
|
44502
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
44503
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
44504
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44505
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
44487
44506
|
})
|
|
44488
44507
|
};
|
|
44489
44508
|
var plainString = function plainString(html) {
|
|
@@ -44491,6 +44510,65 @@ var Card23 = function Card23(props) {
|
|
|
44491
44510
|
divContainer.innerHTML = html;
|
|
44492
44511
|
return divContainer.textContent || divContainer.innerText || '';
|
|
44493
44512
|
};
|
|
44513
|
+
var Image = function Image() {
|
|
44514
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
44515
|
+
"class": "w-100"
|
|
44516
|
+
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
44517
|
+
urlEndpoint: IKurlEndpoint,
|
|
44518
|
+
publicKey: IKpublicKey,
|
|
44519
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
44520
|
+
style: {
|
|
44521
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
44522
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
44523
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
44524
|
+
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
44525
|
+
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
|
|
44526
|
+
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
44527
|
+
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
|
|
44528
|
+
},
|
|
44529
|
+
loading: "lazy",
|
|
44530
|
+
onClick: function onClick() {
|
|
44531
|
+
setShowProductInfoModalContext(true);
|
|
44532
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
44533
|
+
}
|
|
44534
|
+
}), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
44535
|
+
"class": "row m-0 align-items-center justify-content-center",
|
|
44536
|
+
style: {
|
|
44537
|
+
position: 'absolute',
|
|
44538
|
+
top: 10,
|
|
44539
|
+
left: 10,
|
|
44540
|
+
height: sectionproperties.badge_height + 'px',
|
|
44541
|
+
width: sectionproperties.badge_width + 'px',
|
|
44542
|
+
backgroundColor: sectionproperties.badge_bgcolor,
|
|
44543
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
44544
|
+
paddingLeft: '10px',
|
|
44545
|
+
paddingRight: '10px',
|
|
44546
|
+
color: sectionproperties.badge_color
|
|
44547
|
+
}
|
|
44548
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
44549
|
+
style: {
|
|
44550
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
44551
|
+
}
|
|
44552
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
44553
|
+
"class": "allcentered",
|
|
44554
|
+
style: {
|
|
44555
|
+
position: 'absolute',
|
|
44556
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
44557
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
44558
|
+
width: sectionproperties.pillwidth + 'px',
|
|
44559
|
+
height: sectionproperties.pillheight + 'px',
|
|
44560
|
+
background: sectionproperties.pillbgcolor,
|
|
44561
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
44562
|
+
}
|
|
44563
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
44564
|
+
"class": "m-0 p-0 text-uppercase",
|
|
44565
|
+
style: {
|
|
44566
|
+
color: sectionproperties.pillcolor,
|
|
44567
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
44568
|
+
direction: 'ltr'
|
|
44569
|
+
}
|
|
44570
|
+
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')));
|
|
44571
|
+
};
|
|
44494
44572
|
return /*#__PURE__*/React.createElement("div", {
|
|
44495
44573
|
"class": "row m-0 w-100 pl-sm-2 pr-sm-2",
|
|
44496
44574
|
style: {
|
|
@@ -44498,229 +44576,7 @@ var Card23 = function Card23(props) {
|
|
|
44498
44576
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
44499
44577
|
}
|
|
44500
44578
|
}, /*#__PURE__*/React.createElement("div", {
|
|
44501
|
-
"class": "".concat(cardsstyles2.card) + '
|
|
44502
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
44503
|
-
"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 ',
|
|
44504
|
-
style: {
|
|
44505
|
-
zIndex: 100
|
|
44506
|
-
}
|
|
44507
|
-
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
44508
|
-
"class": "".concat(cardsstyles2.wishlist_btn) + ' mb-1 ',
|
|
44509
|
-
onClick: function onClick() {
|
|
44510
|
-
addtofavoritescontext(item.productid);
|
|
44511
|
-
}
|
|
44512
|
-
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
44513
|
-
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
44514
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
|
|
44515
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
44516
|
-
style: {
|
|
44517
|
-
color: sectionproperties.activefaviconcolor
|
|
44518
|
-
}
|
|
44519
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
|
|
44520
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
44521
|
-
style: {
|
|
44522
|
-
color: sectionproperties.activefaviconcolor
|
|
44523
|
-
}
|
|
44524
|
-
})), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
44525
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
44526
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
44527
|
-
size: sectionproperties.favBtnIconfontsize
|
|
44528
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
44529
|
-
size: sectionproperties.favBtnIconfontsize
|
|
44530
|
-
}))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
44531
|
-
"class": " ".concat(cardsstyles2.showmodal),
|
|
44532
|
-
onClick: function onClick(e) {
|
|
44533
|
-
e.stopPropagation();
|
|
44534
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
44535
|
-
}
|
|
44536
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
44537
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
44538
|
-
}, /*#__PURE__*/React.createElement(BsEye, {
|
|
44539
|
-
size: sectionproperties.generalbtn_fontsize
|
|
44540
|
-
})))), /*#__PURE__*/React.createElement("div", {
|
|
44541
|
-
"class": "".concat(cardsstyles2.iconsContainer, " ").concat(cardsstyles2.iconsContainer2) + ' iconsContainer d-none d-md-flex ',
|
|
44542
|
-
style: {
|
|
44543
|
-
zIndex: 100
|
|
44544
|
-
}
|
|
44545
|
-
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
44546
|
-
"class": " ".concat(cardsstyles2.wishlist_btn) + ' mb-1 ',
|
|
44547
|
-
onClick: function onClick() {
|
|
44548
|
-
addtofavoritescontext(item.productid);
|
|
44549
|
-
}
|
|
44550
|
-
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
44551
|
-
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
44552
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
|
|
44553
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
44554
|
-
style: {
|
|
44555
|
-
color: sectionproperties.activefaviconcolor
|
|
44556
|
-
}
|
|
44557
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
|
|
44558
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
44559
|
-
style: {
|
|
44560
|
-
color: sectionproperties.activefaviconcolor
|
|
44561
|
-
}
|
|
44562
|
-
})), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
44563
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
44564
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
44565
|
-
size: sectionproperties.favBtnIconfontsize
|
|
44566
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
44567
|
-
size: sectionproperties.favBtnIconfontsize
|
|
44568
|
-
}))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
44569
|
-
"class": " ".concat(cardsstyles2.showmodal),
|
|
44570
|
-
onClick: function onClick(e) {
|
|
44571
|
-
e.stopPropagation();
|
|
44572
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
44573
|
-
}
|
|
44574
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
44575
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
44576
|
-
}, /*#__PURE__*/React.createElement(BsEye, {
|
|
44577
|
-
size: sectionproperties.generalbtn_fontsize
|
|
44578
|
-
})))), sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
44579
|
-
"class": "col-lg-12 col-md-12 col-sm-12 pl-0 pr-0 pl-sm-2 pr-sm-2",
|
|
44580
|
-
style: {
|
|
44581
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
44582
|
-
paddingBottom: sectionproperties.paddingBottom + 'px'
|
|
44583
|
-
}
|
|
44584
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
44585
|
-
"class": "cursor-pointer",
|
|
44586
|
-
style: {
|
|
44587
|
-
backgroundColor: sectionproperties.image_bgcolor,
|
|
44588
|
-
height: sectionproperties.image_height + 'px',
|
|
44589
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
44590
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
44591
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44592
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
44593
|
-
}
|
|
44594
|
-
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
44595
|
-
urlEndpoint: IKurlEndpoint,
|
|
44596
|
-
publicKey: IKpublicKey,
|
|
44597
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
44598
|
-
style: {
|
|
44599
|
-
width: '100%',
|
|
44600
|
-
height: '100%',
|
|
44601
|
-
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
44602
|
-
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
44603
|
-
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
|
|
44604
|
-
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
44605
|
-
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
|
|
44606
|
-
},
|
|
44607
|
-
loading: "lazy",
|
|
44608
|
-
onClick: function onClick() {
|
|
44609
|
-
setShowProductInfoModalContext(true);
|
|
44610
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
44611
|
-
}
|
|
44612
|
-
}), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
44613
|
-
"class": "row m-0 align-items-center justify-content-center",
|
|
44614
|
-
style: {
|
|
44615
|
-
position: 'absolute',
|
|
44616
|
-
top: 10,
|
|
44617
|
-
left: 10,
|
|
44618
|
-
height: sectionproperties.badge_height + 'px',
|
|
44619
|
-
width: sectionproperties.badge_width + 'px',
|
|
44620
|
-
backgroundColor: sectionproperties.badge_bgcolor,
|
|
44621
|
-
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
44622
|
-
paddingLeft: '10px',
|
|
44623
|
-
paddingRight: '10px',
|
|
44624
|
-
color: sectionproperties.badge_color
|
|
44625
|
-
}
|
|
44626
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
44627
|
-
style: {
|
|
44628
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
44629
|
-
}
|
|
44630
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
44631
|
-
"class": "allcentered",
|
|
44632
|
-
style: {
|
|
44633
|
-
position: 'absolute',
|
|
44634
|
-
top: sectionproperties.pillpositionfromtop + 'px',
|
|
44635
|
-
left: sectionproperties.pillpositionfromright + 'px',
|
|
44636
|
-
width: sectionproperties.pillwidth + 'px',
|
|
44637
|
-
height: sectionproperties.pillheight + 'px',
|
|
44638
|
-
background: sectionproperties.pillbgcolor,
|
|
44639
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
44640
|
-
}
|
|
44641
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
44642
|
-
"class": "m-0 p-0 text-uppercase",
|
|
44643
|
-
style: {
|
|
44644
|
-
color: sectionproperties.pillcolor,
|
|
44645
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
44646
|
-
direction: 'ltr'
|
|
44647
|
-
}
|
|
44648
|
-
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%'))), /*#__PURE__*/React.createElement("div", {
|
|
44649
|
-
"class": 'row m-0 w-100 pl-sm-0 pr-sm-0',
|
|
44650
|
-
style: {
|
|
44651
|
-
paddingLeft: '10px',
|
|
44652
|
-
paddingRight: '10px',
|
|
44653
|
-
paddingTop: '10px',
|
|
44654
|
-
paddingBottom: '10px'
|
|
44655
|
-
}
|
|
44656
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
44657
|
-
"class": "col-lg-12 p-0"
|
|
44658
|
-
}, sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
44659
|
-
"class": "".concat(cardsstyles2.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 m-0 ',
|
|
44660
|
-
style: {
|
|
44661
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
44662
|
-
}
|
|
44663
|
-
}, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
44664
|
-
"class": "col-lg-12 p-0 ",
|
|
44665
|
-
style: {
|
|
44666
|
-
minHeight: '6vh'
|
|
44667
|
-
}
|
|
44668
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
44669
|
-
onClick: function onClick() {
|
|
44670
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
44671
|
-
},
|
|
44672
|
-
"class": sectionproperties.wordbreak == '1' ? "".concat(cardsstyles2.productNameStyles) + ' wordbreak wordbreak2 m-0 ' : "".concat(cardsstyles2.productNameStyles) + ' wordbreak wordbreak2 m-0 ',
|
|
44673
|
-
style: {
|
|
44674
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
44675
|
-
}
|
|
44676
|
-
}, item.name))), /*#__PURE__*/React.createElement("div", {
|
|
44677
|
-
"class": "row m-0 w-100 align-items-center mt-1 mb-1"
|
|
44678
|
-
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
44679
|
-
"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 '
|
|
44680
|
-
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
44681
|
-
"class": "".concat(cardsstyles2.productSalePricestyles)
|
|
44682
|
-
}, "/"), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
|
|
44683
|
-
"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 '
|
|
44684
|
-
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')), /*#__PURE__*/React.createElement("div", {
|
|
44685
|
-
"class": "d-flex align-items-center m-0"
|
|
44686
|
-
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
44687
|
-
"class": "".concat(cardsstyles2.cart_btn) + ' allcentered ',
|
|
44688
|
-
onClick: function onClick() {
|
|
44689
|
-
setShowProductInfoModalContext(true);
|
|
44690
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
44691
|
-
}
|
|
44692
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
44693
|
-
"class": "d-flex align-items-center justify-content-center"
|
|
44694
|
-
}, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React.createElement("i", {
|
|
44695
|
-
"class": "allcentered mr-2",
|
|
44696
|
-
style: {
|
|
44697
|
-
color: sectionproperties.cart_iconcolor,
|
|
44698
|
-
fontSize: sectionproperties.cartBtn_iconFontSize
|
|
44699
|
-
}
|
|
44700
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
44701
|
-
"class": "",
|
|
44702
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44703
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
44704
|
-
"class": "",
|
|
44705
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44706
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
44707
|
-
"class": "",
|
|
44708
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44709
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
44710
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44711
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
44712
|
-
"class": "",
|
|
44713
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44714
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
44715
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44716
|
-
})), /*#__PURE__*/React.createElement("p", {
|
|
44717
|
-
"class": "m-0 p-0"
|
|
44718
|
-
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))))))), /*#__PURE__*/React.createElement("div", {
|
|
44719
|
-
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.card) + ' d-none d-md-flex w-100 ' : "".concat(cardsstyles2.card) + ' d-none d-md-flex ',
|
|
44720
|
-
style: {
|
|
44721
|
-
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
44722
|
-
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + ' px'
|
|
44723
|
-
}
|
|
44579
|
+
"class": "".concat(cardsstyles2.card) + ' '
|
|
44724
44580
|
}, /*#__PURE__*/React.createElement("div", {
|
|
44725
44581
|
"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 ',
|
|
44726
44582
|
style: {
|
|
@@ -44804,66 +44660,16 @@ var Card23 = function Card23(props) {
|
|
|
44804
44660
|
paddingBottom: sectionproperties.paddingBottom + 'px'
|
|
44805
44661
|
}
|
|
44806
44662
|
}, /*#__PURE__*/React.createElement("div", {
|
|
44807
|
-
"class":
|
|
44663
|
+
"class": cardsstyles2.imageContainer + ' d-flex d-md-none ',
|
|
44808
44664
|
style: {
|
|
44809
|
-
|
|
44810
|
-
height: sectionproperties.image_height + 'px',
|
|
44811
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
44812
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
44813
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44814
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
44815
|
-
}
|
|
44816
|
-
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
44817
|
-
urlEndpoint: IKurlEndpoint,
|
|
44818
|
-
publicKey: IKpublicKey,
|
|
44819
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
44820
|
-
style: {
|
|
44821
|
-
width: '100%',
|
|
44822
|
-
height: '100%',
|
|
44823
|
-
objectFit: 'contain'
|
|
44824
|
-
},
|
|
44825
|
-
loading: "lazy",
|
|
44826
|
-
onClick: function onClick() {
|
|
44827
|
-
setShowProductInfoModalContext(true);
|
|
44828
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
44829
|
-
}
|
|
44830
|
-
}), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
44831
|
-
"class": "row m-0 align-items-center justify-content-center",
|
|
44832
|
-
style: {
|
|
44833
|
-
position: 'absolute',
|
|
44834
|
-
top: 10,
|
|
44835
|
-
left: 10,
|
|
44836
|
-
height: sectionproperties.badge_height + 'px',
|
|
44837
|
-
width: sectionproperties.badge_width + 'px',
|
|
44838
|
-
backgroundColor: sectionproperties.badge_bgcolor,
|
|
44839
|
-
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
44840
|
-
paddingLeft: '10px',
|
|
44841
|
-
paddingRight: '10px',
|
|
44842
|
-
color: sectionproperties.badge_color
|
|
44843
|
-
}
|
|
44844
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
44845
|
-
style: {
|
|
44846
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
44847
|
-
}
|
|
44848
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
44849
|
-
"class": "allcentered",
|
|
44850
|
-
style: {
|
|
44851
|
-
position: 'absolute',
|
|
44852
|
-
top: sectionproperties.pillpositionfromtop + 'px',
|
|
44853
|
-
left: sectionproperties.pillpositionfromright + 'px',
|
|
44854
|
-
width: sectionproperties.pillwidth + 'px',
|
|
44855
|
-
height: sectionproperties.pillheight + 'px',
|
|
44856
|
-
background: sectionproperties.pillbgcolor,
|
|
44857
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
44665
|
+
height: sectionproperties.image_height + 'px'
|
|
44858
44666
|
}
|
|
44859
|
-
}, /*#__PURE__*/React.createElement("
|
|
44860
|
-
"class":
|
|
44667
|
+
}, Image()), /*#__PURE__*/React.createElement("div", {
|
|
44668
|
+
"class": cardsstyles2.imageContainer + ' d-none d-md-flex ',
|
|
44861
44669
|
style: {
|
|
44862
|
-
|
|
44863
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
44864
|
-
direction: 'ltr'
|
|
44670
|
+
height: sectionproperties.height_responsive + 'px'
|
|
44865
44671
|
}
|
|
44866
|
-
},
|
|
44672
|
+
}, Image()), /*#__PURE__*/React.createElement("div", {
|
|
44867
44673
|
"class": 'row m-0 w-100 pl-sm-0 pr-sm-0',
|
|
44868
44674
|
style: {
|
|
44869
44675
|
paddingLeft: '10px',
|