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.umd.js
CHANGED
|
@@ -36489,6 +36489,19 @@
|
|
|
36489
36489
|
}
|
|
36490
36490
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr);
|
|
36491
36491
|
};
|
|
36492
|
+
var ImageContent = function ImageContent(item, index) {
|
|
36493
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36494
|
+
"class": "row m-0 w-100"
|
|
36495
|
+
}, sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36496
|
+
className: bgcssstyles.text1styles + ' col-lg-12 p-0 w-100 d-flex align-items-center '
|
|
36497
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36498
|
+
className: bgcssstyles.text1styles + ' d-flex wordbreak m-0 p-0 '
|
|
36499
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36500
|
+
className: bgcssstyles.text2styles + ' col-lg-12 p-0 w-100 d-flex '
|
|
36501
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36502
|
+
className: bgcssstyles.text2styles + ' d-flex wordbreak m-0 p-0 '
|
|
36503
|
+
}, langdetect == 'en' ? item.description_en : item.description_ar)));
|
|
36504
|
+
};
|
|
36492
36505
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36493
36506
|
className: "row ml-0 mr-0 w-100 pl-md-0 pr-md-0",
|
|
36494
36507
|
style: {
|
|
@@ -36526,21 +36539,15 @@
|
|
|
36526
36539
|
}
|
|
36527
36540
|
}, Description()), Object.keys(videosarrayofobjs).length != 0 && videosarrayofobjs.map(function (item, index) {
|
|
36528
36541
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36529
|
-
className: 'd-flex align-items-stretch col-md-6 col-sm-12 col-lg-' +
|
|
36542
|
+
className: 'd-flex align-items-stretch col-md-6 col-sm-12 col-lg-' + item.numberofcols,
|
|
36530
36543
|
style: {
|
|
36531
36544
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
36532
36545
|
}
|
|
36533
36546
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36534
36547
|
className: "row ml-0 mr-0 d-flex w-100"
|
|
36535
|
-
}, sectionproperties.
|
|
36536
|
-
|
|
36537
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
36538
|
-
className: bgcssstyles.text1styles + ' d-flex wordbreak m-0 p-0 '
|
|
36539
|
-
}, langdetect == 'en' ? videosarrayofobjs[index].title_en : videosarrayofobjs[index].title_ar)), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36540
|
-
className: bgcssstyles.text2styles + ' col-lg-12 p-0 w-100 d-flex '
|
|
36541
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36542
|
-
className: bgcssstyles.text2styles + ' d-flex wordbreak m-0 p-0 '
|
|
36543
|
-
}, langdetect == 'en' ? videosarrayofobjs[index].description_en : videosarrayofobjs[index].description_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36548
|
+
}, sectionproperties.sectionbgstyle == 'Text above image' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36549
|
+
"class": "col-lg-12 p-0"
|
|
36550
|
+
}, ImageContent(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36544
36551
|
className: 'col-lg-12 p-0 d-md-flex w-100 mt-auto',
|
|
36545
36552
|
style: {
|
|
36546
36553
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
@@ -36549,8 +36556,8 @@
|
|
|
36549
36556
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
36550
36557
|
height: sectionproperties.image_height + 'px'
|
|
36551
36558
|
}
|
|
36552
|
-
}, item.linkclicked == true &&
|
|
36553
|
-
url:
|
|
36559
|
+
}, item.linkclicked == true && item.linktype != 'External Link ' && /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
|
|
36560
|
+
url: item.url,
|
|
36554
36561
|
height: sectionproperties.image_height + 'px',
|
|
36555
36562
|
width: '100%',
|
|
36556
36563
|
playing: true,
|
|
@@ -36558,28 +36565,33 @@
|
|
|
36558
36565
|
loop: true,
|
|
36559
36566
|
muted: true,
|
|
36560
36567
|
playsinline: true
|
|
36561
|
-
}), item.linkclicked == false && /*#__PURE__*/React__default["default"].createElement("
|
|
36568
|
+
}), item.linkclicked == false && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36562
36569
|
onClick: function onClick() {
|
|
36563
|
-
if (
|
|
36564
|
-
window.open(
|
|
36565
|
-
} else {
|
|
36570
|
+
if (item.linktype == 'External Link') {
|
|
36571
|
+
window.open(item.url, '_blank');
|
|
36572
|
+
} else if (item.linktype == 'Image') ; else {
|
|
36566
36573
|
var temparr = _toConsumableArray__default["default"](videosarrayofobjs);
|
|
36567
36574
|
temparr[index].linkclicked = true;
|
|
36568
36575
|
setvideosarrayofobjs(_toConsumableArray__default["default"](temparr));
|
|
36569
36576
|
}
|
|
36570
36577
|
},
|
|
36571
|
-
"class": "w-100 h-100"
|
|
36578
|
+
"class": "w-100 h-100",
|
|
36579
|
+
style: {
|
|
36580
|
+
cursor: item.linktype == 'Image' ? 'default' : 'pointer'
|
|
36581
|
+
}
|
|
36572
36582
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
36573
36583
|
urlEndpoint: IKurlEndpoint,
|
|
36574
36584
|
publicKey: IKpublicKey,
|
|
36575
|
-
path: videosarrayofobjs.length != 0 ?
|
|
36585
|
+
path: videosarrayofobjs.length != 0 ? item.image : '',
|
|
36576
36586
|
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
36577
36587
|
style: {
|
|
36578
36588
|
height: '100%',
|
|
36579
36589
|
width: '100%',
|
|
36580
36590
|
objectFit: sectionproperties.bgcovercontain
|
|
36581
36591
|
}
|
|
36582
|
-
})))
|
|
36592
|
+
}))), sectionproperties.sectionbgstyle != 'Text above image' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36593
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
36594
|
+
}, ImageContent(item))));
|
|
36583
36595
|
}));
|
|
36584
36596
|
};
|
|
36585
36597
|
|
|
@@ -44385,6 +44397,13 @@
|
|
|
44385
44397
|
transition: 'all, 0.4s',
|
|
44386
44398
|
right: 10,
|
|
44387
44399
|
transform: "translateX(0px)"
|
|
44400
|
+
}),
|
|
44401
|
+
imageContainer: glamor.css({
|
|
44402
|
+
backgroundColor: sectionproperties.image_bgcolor,
|
|
44403
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
44404
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
44405
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44406
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
44388
44407
|
})
|
|
44389
44408
|
};
|
|
44390
44409
|
var plainString = function plainString(html) {
|
|
@@ -44392,6 +44411,65 @@
|
|
|
44392
44411
|
divContainer.innerHTML = html;
|
|
44393
44412
|
return divContainer.textContent || divContainer.innerText || '';
|
|
44394
44413
|
};
|
|
44414
|
+
var Image = function Image() {
|
|
44415
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44416
|
+
"class": "w-100"
|
|
44417
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
44418
|
+
urlEndpoint: IKurlEndpoint,
|
|
44419
|
+
publicKey: IKpublicKey,
|
|
44420
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
44421
|
+
style: {
|
|
44422
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
44423
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
44424
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
44425
|
+
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
44426
|
+
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
|
|
44427
|
+
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
44428
|
+
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
|
|
44429
|
+
},
|
|
44430
|
+
loading: "lazy",
|
|
44431
|
+
onClick: function onClick() {
|
|
44432
|
+
setShowProductInfoModalContext(true);
|
|
44433
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
44434
|
+
}
|
|
44435
|
+
}), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44436
|
+
"class": "row m-0 align-items-center justify-content-center",
|
|
44437
|
+
style: {
|
|
44438
|
+
position: 'absolute',
|
|
44439
|
+
top: 10,
|
|
44440
|
+
left: 10,
|
|
44441
|
+
height: sectionproperties.badge_height + 'px',
|
|
44442
|
+
width: sectionproperties.badge_width + 'px',
|
|
44443
|
+
backgroundColor: sectionproperties.badge_bgcolor,
|
|
44444
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
44445
|
+
paddingLeft: '10px',
|
|
44446
|
+
paddingRight: '10px',
|
|
44447
|
+
color: sectionproperties.badge_color
|
|
44448
|
+
}
|
|
44449
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44450
|
+
style: {
|
|
44451
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
44452
|
+
}
|
|
44453
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44454
|
+
"class": "allcentered",
|
|
44455
|
+
style: {
|
|
44456
|
+
position: 'absolute',
|
|
44457
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
44458
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
44459
|
+
width: sectionproperties.pillwidth + 'px',
|
|
44460
|
+
height: sectionproperties.pillheight + 'px',
|
|
44461
|
+
background: sectionproperties.pillbgcolor,
|
|
44462
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
44463
|
+
}
|
|
44464
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44465
|
+
"class": "m-0 p-0 text-uppercase",
|
|
44466
|
+
style: {
|
|
44467
|
+
color: sectionproperties.pillcolor,
|
|
44468
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
44469
|
+
direction: 'ltr'
|
|
44470
|
+
}
|
|
44471
|
+
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')));
|
|
44472
|
+
};
|
|
44395
44473
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44396
44474
|
"class": "row m-0 w-100 pl-sm-2 pr-sm-2",
|
|
44397
44475
|
style: {
|
|
@@ -44399,229 +44477,7 @@
|
|
|
44399
44477
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
44400
44478
|
}
|
|
44401
44479
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44402
|
-
"class": "".concat(cardsstyles2.card) + '
|
|
44403
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44404
|
-
"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 ',
|
|
44405
|
-
style: {
|
|
44406
|
-
zIndex: 100
|
|
44407
|
-
}
|
|
44408
|
-
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
44409
|
-
"class": "".concat(cardsstyles2.wishlist_btn) + ' mb-1 ',
|
|
44410
|
-
onClick: function onClick() {
|
|
44411
|
-
addtofavoritescontext(item.productid);
|
|
44412
|
-
}
|
|
44413
|
-
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44414
|
-
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
44415
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
44416
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
44417
|
-
style: {
|
|
44418
|
-
color: sectionproperties.activefaviconcolor
|
|
44419
|
-
}
|
|
44420
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
|
|
44421
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
44422
|
-
style: {
|
|
44423
|
-
color: sectionproperties.activefaviconcolor
|
|
44424
|
-
}
|
|
44425
|
-
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44426
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
44427
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
44428
|
-
size: sectionproperties.favBtnIconfontsize
|
|
44429
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
44430
|
-
size: sectionproperties.favBtnIconfontsize
|
|
44431
|
-
}))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
44432
|
-
"class": " ".concat(cardsstyles2.showmodal),
|
|
44433
|
-
onClick: function onClick(e) {
|
|
44434
|
-
e.stopPropagation();
|
|
44435
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
44436
|
-
}
|
|
44437
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44438
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
44439
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
|
|
44440
|
-
size: sectionproperties.generalbtn_fontsize
|
|
44441
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44442
|
-
"class": "".concat(cardsstyles2.iconsContainer, " ").concat(cardsstyles2.iconsContainer2) + ' iconsContainer d-none d-md-flex ',
|
|
44443
|
-
style: {
|
|
44444
|
-
zIndex: 100
|
|
44445
|
-
}
|
|
44446
|
-
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
44447
|
-
"class": " ".concat(cardsstyles2.wishlist_btn) + ' mb-1 ',
|
|
44448
|
-
onClick: function onClick() {
|
|
44449
|
-
addtofavoritescontext(item.productid);
|
|
44450
|
-
}
|
|
44451
|
-
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44452
|
-
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
44453
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
44454
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
44455
|
-
style: {
|
|
44456
|
-
color: sectionproperties.activefaviconcolor
|
|
44457
|
-
}
|
|
44458
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
|
|
44459
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
44460
|
-
style: {
|
|
44461
|
-
color: sectionproperties.activefaviconcolor
|
|
44462
|
-
}
|
|
44463
|
-
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44464
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
44465
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
44466
|
-
size: sectionproperties.favBtnIconfontsize
|
|
44467
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
44468
|
-
size: sectionproperties.favBtnIconfontsize
|
|
44469
|
-
}))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
44470
|
-
"class": " ".concat(cardsstyles2.showmodal),
|
|
44471
|
-
onClick: function onClick(e) {
|
|
44472
|
-
e.stopPropagation();
|
|
44473
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
44474
|
-
}
|
|
44475
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44476
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
44477
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
|
|
44478
|
-
size: sectionproperties.generalbtn_fontsize
|
|
44479
|
-
})))), sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44480
|
-
"class": "col-lg-12 col-md-12 col-sm-12 pl-0 pr-0 pl-sm-2 pr-sm-2",
|
|
44481
|
-
style: {
|
|
44482
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
44483
|
-
paddingBottom: sectionproperties.paddingBottom + 'px'
|
|
44484
|
-
}
|
|
44485
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44486
|
-
"class": "cursor-pointer",
|
|
44487
|
-
style: {
|
|
44488
|
-
backgroundColor: sectionproperties.image_bgcolor,
|
|
44489
|
-
height: sectionproperties.image_height + 'px',
|
|
44490
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
44491
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
44492
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44493
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
44494
|
-
}
|
|
44495
|
-
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
44496
|
-
urlEndpoint: IKurlEndpoint,
|
|
44497
|
-
publicKey: IKpublicKey,
|
|
44498
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
44499
|
-
style: {
|
|
44500
|
-
width: '100%',
|
|
44501
|
-
height: '100%',
|
|
44502
|
-
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
44503
|
-
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
44504
|
-
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
|
|
44505
|
-
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
44506
|
-
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
|
|
44507
|
-
},
|
|
44508
|
-
loading: "lazy",
|
|
44509
|
-
onClick: function onClick() {
|
|
44510
|
-
setShowProductInfoModalContext(true);
|
|
44511
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
44512
|
-
}
|
|
44513
|
-
}), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44514
|
-
"class": "row m-0 align-items-center justify-content-center",
|
|
44515
|
-
style: {
|
|
44516
|
-
position: 'absolute',
|
|
44517
|
-
top: 10,
|
|
44518
|
-
left: 10,
|
|
44519
|
-
height: sectionproperties.badge_height + 'px',
|
|
44520
|
-
width: sectionproperties.badge_width + 'px',
|
|
44521
|
-
backgroundColor: sectionproperties.badge_bgcolor,
|
|
44522
|
-
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
44523
|
-
paddingLeft: '10px',
|
|
44524
|
-
paddingRight: '10px',
|
|
44525
|
-
color: sectionproperties.badge_color
|
|
44526
|
-
}
|
|
44527
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44528
|
-
style: {
|
|
44529
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
44530
|
-
}
|
|
44531
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44532
|
-
"class": "allcentered",
|
|
44533
|
-
style: {
|
|
44534
|
-
position: 'absolute',
|
|
44535
|
-
top: sectionproperties.pillpositionfromtop + 'px',
|
|
44536
|
-
left: sectionproperties.pillpositionfromright + 'px',
|
|
44537
|
-
width: sectionproperties.pillwidth + 'px',
|
|
44538
|
-
height: sectionproperties.pillheight + 'px',
|
|
44539
|
-
background: sectionproperties.pillbgcolor,
|
|
44540
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
44541
|
-
}
|
|
44542
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44543
|
-
"class": "m-0 p-0 text-uppercase",
|
|
44544
|
-
style: {
|
|
44545
|
-
color: sectionproperties.pillcolor,
|
|
44546
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
44547
|
-
direction: 'ltr'
|
|
44548
|
-
}
|
|
44549
|
-
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%'))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44550
|
-
"class": 'row m-0 w-100 pl-sm-0 pr-sm-0',
|
|
44551
|
-
style: {
|
|
44552
|
-
paddingLeft: '10px',
|
|
44553
|
-
paddingRight: '10px',
|
|
44554
|
-
paddingTop: '10px',
|
|
44555
|
-
paddingBottom: '10px'
|
|
44556
|
-
}
|
|
44557
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44558
|
-
"class": "col-lg-12 p-0"
|
|
44559
|
-
}, sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44560
|
-
"class": "".concat(cardsstyles2.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 m-0 ',
|
|
44561
|
-
style: {
|
|
44562
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
44563
|
-
}
|
|
44564
|
-
}, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44565
|
-
"class": "col-lg-12 p-0 ",
|
|
44566
|
-
style: {
|
|
44567
|
-
minHeight: '6vh'
|
|
44568
|
-
}
|
|
44569
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44570
|
-
onClick: function onClick() {
|
|
44571
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
44572
|
-
},
|
|
44573
|
-
"class": sectionproperties.wordbreak == '1' ? "".concat(cardsstyles2.productNameStyles) + ' wordbreak wordbreak2 m-0 ' : "".concat(cardsstyles2.productNameStyles) + ' wordbreak wordbreak2 m-0 ',
|
|
44574
|
-
style: {
|
|
44575
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
44576
|
-
}
|
|
44577
|
-
}, item.name))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44578
|
-
"class": "row m-0 w-100 align-items-center mt-1 mb-1"
|
|
44579
|
-
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44580
|
-
"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 '
|
|
44581
|
-
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
44582
|
-
"class": "".concat(cardsstyles2.productSalePricestyles)
|
|
44583
|
-
}, "/"), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44584
|
-
"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 '
|
|
44585
|
-
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44586
|
-
"class": "d-flex align-items-center m-0"
|
|
44587
|
-
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
44588
|
-
"class": "".concat(cardsstyles2.cart_btn) + ' allcentered ',
|
|
44589
|
-
onClick: function onClick() {
|
|
44590
|
-
setShowProductInfoModalContext(true);
|
|
44591
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
44592
|
-
}
|
|
44593
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44594
|
-
"class": "d-flex align-items-center justify-content-center"
|
|
44595
|
-
}, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
44596
|
-
"class": "allcentered mr-2",
|
|
44597
|
-
style: {
|
|
44598
|
-
color: sectionproperties.cart_iconcolor,
|
|
44599
|
-
fontSize: sectionproperties.cartBtn_iconFontSize
|
|
44600
|
-
}
|
|
44601
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
44602
|
-
"class": "",
|
|
44603
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44604
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
44605
|
-
"class": "",
|
|
44606
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44607
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
44608
|
-
"class": "",
|
|
44609
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44610
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
44611
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44612
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
44613
|
-
"class": "",
|
|
44614
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44615
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
44616
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
44617
|
-
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
44618
|
-
"class": "m-0 p-0"
|
|
44619
|
-
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44620
|
-
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.card) + ' d-none d-md-flex w-100 ' : "".concat(cardsstyles2.card) + ' d-none d-md-flex ',
|
|
44621
|
-
style: {
|
|
44622
|
-
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
44623
|
-
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + ' px'
|
|
44624
|
-
}
|
|
44480
|
+
"class": "".concat(cardsstyles2.card) + ' '
|
|
44625
44481
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44626
44482
|
"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 ',
|
|
44627
44483
|
style: {
|
|
@@ -44705,66 +44561,16 @@
|
|
|
44705
44561
|
paddingBottom: sectionproperties.paddingBottom + 'px'
|
|
44706
44562
|
}
|
|
44707
44563
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44708
|
-
"class":
|
|
44564
|
+
"class": cardsstyles2.imageContainer + ' d-flex d-md-none ',
|
|
44709
44565
|
style: {
|
|
44710
|
-
|
|
44711
|
-
height: sectionproperties.image_height + 'px',
|
|
44712
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
44713
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
44714
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44715
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
44716
|
-
}
|
|
44717
|
-
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
44718
|
-
urlEndpoint: IKurlEndpoint,
|
|
44719
|
-
publicKey: IKpublicKey,
|
|
44720
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
44721
|
-
style: {
|
|
44722
|
-
width: '100%',
|
|
44723
|
-
height: '100%',
|
|
44724
|
-
objectFit: 'contain'
|
|
44725
|
-
},
|
|
44726
|
-
loading: "lazy",
|
|
44727
|
-
onClick: function onClick() {
|
|
44728
|
-
setShowProductInfoModalContext(true);
|
|
44729
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
44730
|
-
}
|
|
44731
|
-
}), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44732
|
-
"class": "row m-0 align-items-center justify-content-center",
|
|
44733
|
-
style: {
|
|
44734
|
-
position: 'absolute',
|
|
44735
|
-
top: 10,
|
|
44736
|
-
left: 10,
|
|
44737
|
-
height: sectionproperties.badge_height + 'px',
|
|
44738
|
-
width: sectionproperties.badge_width + 'px',
|
|
44739
|
-
backgroundColor: sectionproperties.badge_bgcolor,
|
|
44740
|
-
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
44741
|
-
paddingLeft: '10px',
|
|
44742
|
-
paddingRight: '10px',
|
|
44743
|
-
color: sectionproperties.badge_color
|
|
44744
|
-
}
|
|
44745
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44746
|
-
style: {
|
|
44747
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
44748
|
-
}
|
|
44749
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44750
|
-
"class": "allcentered",
|
|
44751
|
-
style: {
|
|
44752
|
-
position: 'absolute',
|
|
44753
|
-
top: sectionproperties.pillpositionfromtop + 'px',
|
|
44754
|
-
left: sectionproperties.pillpositionfromright + 'px',
|
|
44755
|
-
width: sectionproperties.pillwidth + 'px',
|
|
44756
|
-
height: sectionproperties.pillheight + 'px',
|
|
44757
|
-
background: sectionproperties.pillbgcolor,
|
|
44758
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
44566
|
+
height: sectionproperties.image_height + 'px'
|
|
44759
44567
|
}
|
|
44760
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
44761
|
-
"class":
|
|
44568
|
+
}, Image()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44569
|
+
"class": cardsstyles2.imageContainer + ' d-none d-md-flex ',
|
|
44762
44570
|
style: {
|
|
44763
|
-
|
|
44764
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
44765
|
-
direction: 'ltr'
|
|
44571
|
+
height: sectionproperties.height_responsive + 'px'
|
|
44766
44572
|
}
|
|
44767
|
-
},
|
|
44573
|
+
}, Image()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44768
44574
|
"class": 'row m-0 w-100 pl-sm-0 pr-sm-0',
|
|
44769
44575
|
style: {
|
|
44770
44576
|
paddingLeft: '10px',
|
package/package.json
CHANGED
package/src.zip
ADDED
|
Binary file
|