tabexseriescomponents 0.0.296 → 0.0.297
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 +746 -4
- package/dist/index.esm.js +746 -4
- package/dist/index.umd.js +746 -4
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -51277,7 +51277,7 @@ var Card23 = function Card23(props) {
|
|
|
51277
51277
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
51278
51278
|
}
|
|
51279
51279
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51280
|
-
"class": "".concat(cardsstyles2.card) + '
|
|
51280
|
+
"class": "".concat(cardsstyles2.card) + ' w-100 '
|
|
51281
51281
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51282
51282
|
"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 ',
|
|
51283
51283
|
style: {
|
|
@@ -51355,13 +51355,13 @@ var Card23 = function Card23(props) {
|
|
|
51355
51355
|
}, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
|
|
51356
51356
|
size: sectionproperties.generalbtn_fontsize
|
|
51357
51357
|
})))), sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51358
|
-
"class": "col-lg-12 col-md-12 col-sm-12 pl-0 pr-0
|
|
51358
|
+
"class": "col-lg-12 col-md-12 col-sm-12 pl-0 pr-0 ",
|
|
51359
51359
|
style: {
|
|
51360
51360
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
51361
51361
|
paddingBottom: sectionproperties.paddingBottom + 'px'
|
|
51362
51362
|
}
|
|
51363
51363
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51364
|
-
"class": sectionproperties.hideshowcardtransition == 'Show' ? "".concat(cardsstyles2.
|
|
51364
|
+
"class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(cardsstyles2.imageContainer, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : " ".concat(cardsstyles2.imageContainer, " ") + ' d-flex d-md-none ',
|
|
51365
51365
|
style: {
|
|
51366
51366
|
height: sectionproperties.image_height + 'px'
|
|
51367
51367
|
}
|
|
@@ -51371,7 +51371,7 @@ var Card23 = function Card23(props) {
|
|
|
51371
51371
|
height: sectionproperties.height_responsive + 'px'
|
|
51372
51372
|
}
|
|
51373
51373
|
}, Image('responsive')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51374
|
-
"class": 'row m-0 w-100 pl-sm-
|
|
51374
|
+
"class": 'row m-0 w-100 pl-sm-2 pr-sm-2',
|
|
51375
51375
|
style: {
|
|
51376
51376
|
paddingLeft: '10px',
|
|
51377
51377
|
paddingRight: '10px',
|
|
@@ -51443,6 +51443,748 @@ var Card23 = function Card23(props) {
|
|
|
51443
51443
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))))))));
|
|
51444
51444
|
};
|
|
51445
51445
|
|
|
51446
|
+
// import React, { useEffect, useState } from 'react';
|
|
51447
|
+
// import { css } from 'glamor';
|
|
51448
|
+
// import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
|
|
51449
|
+
// import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
|
|
51450
|
+
// import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
|
|
51451
|
+
// import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
|
|
51452
|
+
// import { FaHeart } from '@react-icons/all-files/fa/FaHeart';
|
|
51453
|
+
// import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
|
|
51454
|
+
// import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
|
|
51455
|
+
// import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
|
|
51456
|
+
// import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
|
|
51457
|
+
// import { BsBag } from '@react-icons/all-files/bs/BsBag';
|
|
51458
|
+
// import { RiHandbagLine } from '@react-icons/all-files/ri/RiHandbagLine';
|
|
51459
|
+
// import { BsEye } from '@react-icons/all-files/bs/BsEye';
|
|
51460
|
+
|
|
51461
|
+
// const Card23 = (props) => {
|
|
51462
|
+
// const [sectionproperties, setsectionproperties] = useState('');
|
|
51463
|
+
// const [item, setitem] = useState(props.cardinfoitemprops);
|
|
51464
|
+
// const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
51465
|
+
// const lang = props.actions.lang;
|
|
51466
|
+
// const langdetect = props.actions.langdetect;
|
|
51467
|
+
// const addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
51468
|
+
// const setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
51469
|
+
// const setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
51470
|
+
// const cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
51471
|
+
// const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
51472
|
+
// const [index, setindex] = useState(props.cardinfoindexprops);
|
|
51473
|
+
// useEffect(() => {
|
|
51474
|
+
// var secpropobj = {};
|
|
51475
|
+
// StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
51476
|
+
// if (sectionitem.sectionid == props.sectionidprops) {
|
|
51477
|
+
// sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
51478
|
+
// secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
51479
|
+
// });
|
|
51480
|
+
// }
|
|
51481
|
+
// });
|
|
51482
|
+
// setsectionproperties({ ...secpropobj });
|
|
51483
|
+
// }, [StatePagePropertiesContext]);
|
|
51484
|
+
// useEffect(() => {
|
|
51485
|
+
// setitem(props.cardinfoitemprops);
|
|
51486
|
+
// }, [props.cardinfoitemprops]);
|
|
51487
|
+
// const cardsstyles2 = {
|
|
51488
|
+
// showmodal: css({
|
|
51489
|
+
// backgroundColor: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
|
|
51490
|
+
// borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
51491
|
+
// borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
51492
|
+
// borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
51493
|
+
// borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
51494
|
+
// height: sectionproperties.generalbtn_height + 'px',
|
|
51495
|
+
// width: sectionproperties.generalbtn_width + 'px',
|
|
51496
|
+
// fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
51497
|
+
// color: sectionproperties.generalbtn_textColor,
|
|
51498
|
+
// cursor: 'pointer',
|
|
51499
|
+
// transition: '0.3s',
|
|
51500
|
+
// ':hover': {
|
|
51501
|
+
// backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
51502
|
+
// color: sectionproperties.generalbtn_textColoronhover,
|
|
51503
|
+
// },
|
|
51504
|
+
// }),
|
|
51505
|
+
// productNameStyles: css({
|
|
51506
|
+
// color: sectionproperties.prodNameColor,
|
|
51507
|
+
// fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
51508
|
+
// textTransform: sectionproperties.prodNameTextTranform,
|
|
51509
|
+
// fontWeight: sectionproperties.prodNameFontWeight,
|
|
51510
|
+
// transition: '.3s',
|
|
51511
|
+
// cursor: 'pointer',
|
|
51512
|
+
// ':hover': {
|
|
51513
|
+
// color: sectionproperties.prodNameColorOnHover,
|
|
51514
|
+
// },
|
|
51515
|
+
// }),
|
|
51516
|
+
// productDescStyles: css({
|
|
51517
|
+
// color: sectionproperties.prodCatColor,
|
|
51518
|
+
// fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
51519
|
+
// textTransform: sectionproperties.prodCatTextTranform,
|
|
51520
|
+
// fontWeight: sectionproperties.prodCatFontWeight,
|
|
51521
|
+
// transition: '.3s',
|
|
51522
|
+
// }),
|
|
51523
|
+
// productPricestyles: css({
|
|
51524
|
+
// color: sectionproperties.prodPriceColor,
|
|
51525
|
+
// fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
51526
|
+
// fontWeight: sectionproperties.prodPriceFontWeight,
|
|
51527
|
+
// }),
|
|
51528
|
+
// productSalePricestyles: css({
|
|
51529
|
+
// color: sectionproperties.prodsalePriceColor,
|
|
51530
|
+
// fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
51531
|
+
// fontWeight: sectionproperties.prodsalePriceFontWeight,
|
|
51532
|
+
// }),
|
|
51533
|
+
// wishlist_btn: css({
|
|
51534
|
+
// width: sectionproperties.favBtnWidth + 'px',
|
|
51535
|
+
// height: sectionproperties.favBtnHeight + 'px',
|
|
51536
|
+
// background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : item.IsFavExists == true ? sectionproperties.activebgcolor : sectionproperties.favBtnbgColor,
|
|
51537
|
+
// borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
51538
|
+
// color: item.IsFavExists == true ? sectionproperties.activefaviconcolor : sectionproperties.favBtniconcolor,
|
|
51539
|
+
// fontSize: sectionproperties.favBtnTextfontsize + 'px',
|
|
51540
|
+
// textTransform: sectionproperties.favBtnTexttransform,
|
|
51541
|
+
// fontWeight: sectionproperties.favBtnTextfontweight,
|
|
51542
|
+
// border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
51543
|
+
// transition: '.3s',
|
|
51544
|
+
// ':hover': {
|
|
51545
|
+
// background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
51546
|
+
// color: sectionproperties.favBtnTextcoloronhover,
|
|
51547
|
+
// },
|
|
51548
|
+
// ':hover .icon': {
|
|
51549
|
+
// transition: 'all, 0.2s',
|
|
51550
|
+
// transform: ' rotate(360deg)',
|
|
51551
|
+
// },
|
|
51552
|
+
// }),
|
|
51553
|
+
// cart_btn: css({
|
|
51554
|
+
// width: sectionproperties.cartBtnWidth + 'px',
|
|
51555
|
+
// height: sectionproperties.cartBtnHeight + 'px',
|
|
51556
|
+
// background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
51557
|
+
// borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
51558
|
+
// color: sectionproperties.cartBtnTextcolor,
|
|
51559
|
+
// fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
51560
|
+
// fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
51561
|
+
// border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
51562
|
+
// transition: '.3s',
|
|
51563
|
+
// ':hover': {
|
|
51564
|
+
// background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
51565
|
+
// color: sectionproperties.cartBtnTextcoloronhover,
|
|
51566
|
+
// borderColor: sectionproperties.cartBtnTextcoloronhover,
|
|
51567
|
+
// },
|
|
51568
|
+
// }),
|
|
51569
|
+
// iconsContainer: css({
|
|
51570
|
+
// display: 'flex',
|
|
51571
|
+
// flexDirection: 'column',
|
|
51572
|
+
// position: 'absolute',
|
|
51573
|
+
// top: 10,
|
|
51574
|
+
// right: -15,
|
|
51575
|
+
// opacity: 0,
|
|
51576
|
+
// transform: `translateX(5px)`,
|
|
51577
|
+
// }),
|
|
51578
|
+
// card: css({
|
|
51579
|
+
// marginBottom: sectionproperties.marginBottom + 'px',
|
|
51580
|
+
// marginTop: sectionproperties.marginTop + 'px',
|
|
51581
|
+
// backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
51582
|
+
// borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
51583
|
+
// borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
51584
|
+
// borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
51585
|
+
// borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
51586
|
+
// border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
51587
|
+
// paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
51588
|
+
// paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
51589
|
+
// ':hover .iconsContainer': {
|
|
51590
|
+
// opacity: 1,
|
|
51591
|
+
// transition: 'all, 0.4s',
|
|
51592
|
+
// right: 10,
|
|
51593
|
+
// transform: `translateX(0px)`,
|
|
51594
|
+
// },
|
|
51595
|
+
// }),
|
|
51596
|
+
// iconsContainer2: css({
|
|
51597
|
+
// opacity: 1,
|
|
51598
|
+
// transition: 'all, 0.4s',
|
|
51599
|
+
// right: 10,
|
|
51600
|
+
// transform: `translateX(0px)`,
|
|
51601
|
+
// }),
|
|
51602
|
+
// imageContainer: css({
|
|
51603
|
+
// backgroundColor: sectionproperties.image_bgcolor,
|
|
51604
|
+
// borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
51605
|
+
// borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
51606
|
+
// borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
51607
|
+
// borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
51608
|
+
// }),
|
|
51609
|
+
// };
|
|
51610
|
+
|
|
51611
|
+
// const plainString = (html) => {
|
|
51612
|
+
// var divContainer = document.createElement('div');
|
|
51613
|
+
// divContainer.innerHTML = html;
|
|
51614
|
+
// return divContainer.textContent || divContainer.innerText || '';
|
|
51615
|
+
// };
|
|
51616
|
+
// const Image = () => {
|
|
51617
|
+
// return (
|
|
51618
|
+
// <div class="w-100">
|
|
51619
|
+
// <Imagekitimagecomp
|
|
51620
|
+
// urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
51621
|
+
// publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
51622
|
+
// path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image}
|
|
51623
|
+
// style={{
|
|
51624
|
+
// width: sectionproperties.imageInnerWidth_Height + '%',
|
|
51625
|
+
// height: sectionproperties.imageInnerWidth_Height + '%',
|
|
51626
|
+
// objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
51627
|
+
// borderBottomLeftRadius:
|
|
51628
|
+
// sectionproperties.bgcovercontain == 'Cover'
|
|
51629
|
+
// ? langdetect == 'en'
|
|
51630
|
+
// ? sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
51631
|
+
// : sectionproperties.image_borderBottomRightRadius + 'px'
|
|
51632
|
+
// : 0,
|
|
51633
|
+
// borderBottomRightRadius:
|
|
51634
|
+
// sectionproperties.bgcovercontain == 'Cover'
|
|
51635
|
+
// ? langdetect == 'en'
|
|
51636
|
+
// ? sectionproperties.image_borderBottomRightRadius + 'px'
|
|
51637
|
+
// : sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
51638
|
+
// : 0,
|
|
51639
|
+
// borderTopLeftRadius:
|
|
51640
|
+
// sectionproperties.bgcovercontain == 'Cover'
|
|
51641
|
+
// ? langdetect == 'en'
|
|
51642
|
+
// ? sectionproperties.image_bordertopleftradius + 'px'
|
|
51643
|
+
// : sectionproperties.image_bordertoprightradius + 'px'
|
|
51644
|
+
// : 0,
|
|
51645
|
+
// borderTopRightRadius:
|
|
51646
|
+
// sectionproperties.bgcovercontain == 'Cover'
|
|
51647
|
+
// ? langdetect == 'en'
|
|
51648
|
+
// ? sectionproperties.image_bordertoprightradius + 'px'
|
|
51649
|
+
// : sectionproperties.image_bordertopleftradius + 'px'
|
|
51650
|
+
// : 0,
|
|
51651
|
+
// }}
|
|
51652
|
+
// loading="lazy"
|
|
51653
|
+
// onClick={() => {
|
|
51654
|
+
// setShowProductInfoModalContext(true);
|
|
51655
|
+
// setProductIdProdutInfoModalContext(item.productid);
|
|
51656
|
+
// }}
|
|
51657
|
+
// />
|
|
51658
|
+
// {item?.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && (
|
|
51659
|
+
// <div
|
|
51660
|
+
// class="row m-0 align-items-center justify-content-center"
|
|
51661
|
+
// style={{
|
|
51662
|
+
// position: 'absolute',
|
|
51663
|
+
// top: 10,
|
|
51664
|
+
// left: 10,
|
|
51665
|
+
// height: sectionproperties.badge_height + 'px',
|
|
51666
|
+
// width: sectionproperties.badge_width + 'px',
|
|
51667
|
+
// backgroundColor: sectionproperties.badge_bgcolor,
|
|
51668
|
+
// borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
51669
|
+
// paddingLeft: '10px',
|
|
51670
|
+
// paddingRight: '10px',
|
|
51671
|
+
// color: sectionproperties.badge_color,
|
|
51672
|
+
// }}
|
|
51673
|
+
// >
|
|
51674
|
+
// <div style={{ fontSize: sectionproperties.badge_fontsize + 'px' }}>{langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr}</div>
|
|
51675
|
+
// </div>
|
|
51676
|
+
// )}
|
|
51677
|
+
// {sectionproperties.showpill == 'Show' && item.hassale == 1 && (
|
|
51678
|
+
// <div
|
|
51679
|
+
// class="allcentered"
|
|
51680
|
+
// style={{
|
|
51681
|
+
// position: 'absolute',
|
|
51682
|
+
// top: sectionproperties.pillpositionfromtop + 'px',
|
|
51683
|
+
// left: sectionproperties.pillpositionfromright + 'px',
|
|
51684
|
+
// width: sectionproperties.pillwidth + 'px',
|
|
51685
|
+
// height: sectionproperties.pillheight + 'px',
|
|
51686
|
+
// background: sectionproperties.pillbgcolor,
|
|
51687
|
+
// borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
|
|
51688
|
+
// }}
|
|
51689
|
+
// >
|
|
51690
|
+
// <p class="m-0 p-0 text-uppercase" style={{ color: sectionproperties.pillcolor, fontSize: sectionproperties.pillfontSize + 'px', direction: 'ltr' }}>
|
|
51691
|
+
// {'-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%'}
|
|
51692
|
+
// </p>
|
|
51693
|
+
// </div>
|
|
51694
|
+
// )}
|
|
51695
|
+
// </div>
|
|
51696
|
+
// );
|
|
51697
|
+
// };
|
|
51698
|
+
// return (
|
|
51699
|
+
// <div
|
|
51700
|
+
// class={
|
|
51701
|
+
// langdetect == 'en'
|
|
51702
|
+
// ? sectionproperties.card_marginLeft != 0
|
|
51703
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
51704
|
+
// : sectionproperties.card_marginRight != 0
|
|
51705
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
51706
|
+
// : 'row m-0 w-100'
|
|
51707
|
+
// : langdetect == 'en'
|
|
51708
|
+
// ? sectionproperties.card_marginRight != 0
|
|
51709
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
51710
|
+
// : sectionproperties.card_marginLeft != 0
|
|
51711
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
51712
|
+
// : 'row m-0 w-100'
|
|
51713
|
+
// : 'row m-0 w-100'
|
|
51714
|
+
// }
|
|
51715
|
+
// style={{
|
|
51716
|
+
// paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
51717
|
+
// paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
51718
|
+
// }}
|
|
51719
|
+
// >
|
|
51720
|
+
// <div class={`${cardsstyles2.card}` + ' '}>
|
|
51721
|
+
// <div
|
|
51722
|
+
// class={
|
|
51723
|
+
// item.IsFavExists == true
|
|
51724
|
+
// ? `${cardsstyles2.iconsContainer} ${cardsstyles2.iconsContainer2}` + ' iconsContainer d-flex d-md-none '
|
|
51725
|
+
// : `${cardsstyles2.iconsContainer}` + ' iconsContainer d-flex d-md-none '
|
|
51726
|
+
// }
|
|
51727
|
+
// style={{ zIndex: 100 }}
|
|
51728
|
+
// >
|
|
51729
|
+
// {sectionproperties.favBtnShow == 'Show' && (
|
|
51730
|
+
// <button
|
|
51731
|
+
// class={`${cardsstyles2.wishlist_btn}` + ' mb-1 '}
|
|
51732
|
+
// onClick={() => {
|
|
51733
|
+
// addtofavoritescontext(item.productid);
|
|
51734
|
+
// }}
|
|
51735
|
+
// >
|
|
51736
|
+
// {item.IsFavExists && (
|
|
51737
|
+
// <i class="h-100 d-flex align-items-center justify-content-center icon">
|
|
51738
|
+
// {sectionproperties.faviconshape == 'Star Shape' && (
|
|
51739
|
+
// <AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
|
|
51740
|
+
// )}
|
|
51741
|
+
// {sectionproperties.faviconshape == 'Heart Shape' && <FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />}
|
|
51742
|
+
// </i>
|
|
51743
|
+
// )}
|
|
51744
|
+
// {!item.IsFavExists && (
|
|
51745
|
+
// <i class="h-100 d-flex align-items-center justify-content-center">
|
|
51746
|
+
// {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
|
|
51747
|
+
// {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
|
|
51748
|
+
// </i>
|
|
51749
|
+
// )}
|
|
51750
|
+
// </button>
|
|
51751
|
+
// )}
|
|
51752
|
+
// {sectionproperties.generalbtn_show == 'Show' && (
|
|
51753
|
+
// <button
|
|
51754
|
+
// class={` ${cardsstyles2.showmodal}`}
|
|
51755
|
+
// onClick={(e) => {
|
|
51756
|
+
// e.stopPropagation();
|
|
51757
|
+
// cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
51758
|
+
// }}
|
|
51759
|
+
// >
|
|
51760
|
+
// <i class="h-100 d-flex align-items-center justify-content-center">
|
|
51761
|
+
// <BsEye size={sectionproperties.generalbtn_fontsize} />
|
|
51762
|
+
// </i>
|
|
51763
|
+
// </button>
|
|
51764
|
+
// )}
|
|
51765
|
+
// </div>
|
|
51766
|
+
// <div class={`${cardsstyles2.iconsContainer} ${cardsstyles2.iconsContainer2}` + ' iconsContainer d-none d-md-flex '} style={{ zIndex: 100 }}>
|
|
51767
|
+
// {sectionproperties.favBtnShow == 'Show' && (
|
|
51768
|
+
// <button
|
|
51769
|
+
// class={` ${cardsstyles2.wishlist_btn}` + ' mb-1 '}
|
|
51770
|
+
// onClick={() => {
|
|
51771
|
+
// addtofavoritescontext(item.productid);
|
|
51772
|
+
// }}
|
|
51773
|
+
// >
|
|
51774
|
+
// {item.IsFavExists && (
|
|
51775
|
+
// <i class="h-100 d-flex align-items-center justify-content-center icon">
|
|
51776
|
+
// {sectionproperties.faviconshape == 'Star Shape' && (
|
|
51777
|
+
// <AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
|
|
51778
|
+
// )}
|
|
51779
|
+
// {sectionproperties.faviconshape == 'Heart Shape' && <FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />}
|
|
51780
|
+
// </i>
|
|
51781
|
+
// )}
|
|
51782
|
+
// {!item.IsFavExists && (
|
|
51783
|
+
// <i class="h-100 d-flex align-items-center justify-content-center">
|
|
51784
|
+
// {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
|
|
51785
|
+
// {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
|
|
51786
|
+
// </i>
|
|
51787
|
+
// )}
|
|
51788
|
+
// </button>
|
|
51789
|
+
// )}
|
|
51790
|
+
|
|
51791
|
+
// {sectionproperties.generalbtn_show == 'Show' && (
|
|
51792
|
+
// <button
|
|
51793
|
+
// class={` ${cardsstyles2.showmodal}`}
|
|
51794
|
+
// onClick={(e) => {
|
|
51795
|
+
// e.stopPropagation();
|
|
51796
|
+
// cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
51797
|
+
// }}
|
|
51798
|
+
// >
|
|
51799
|
+
// <i class="h-100 d-flex align-items-center justify-content-center">
|
|
51800
|
+
// <BsEye size={sectionproperties.generalbtn_fontsize} />
|
|
51801
|
+
// </i>
|
|
51802
|
+
// </button>
|
|
51803
|
+
// )}
|
|
51804
|
+
// </div>
|
|
51805
|
+
// {sectionproperties.length != 0 && (
|
|
51806
|
+
// <div
|
|
51807
|
+
// class="col-lg-12 col-md-12 col-sm-12 pl-0 pr-0 pl-sm-2 pr-sm-2"
|
|
51808
|
+
// style={{
|
|
51809
|
+
// paddingTop: sectionproperties.paddingTop + 'px',
|
|
51810
|
+
// paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
51811
|
+
// }}
|
|
51812
|
+
// >
|
|
51813
|
+
// <div
|
|
51814
|
+
// class={cardsstyles2.imageContainer + ' d-flex d-md-none '}
|
|
51815
|
+
// style={{
|
|
51816
|
+
// height: sectionproperties.image_height + 'px',
|
|
51817
|
+
// }}
|
|
51818
|
+
// >
|
|
51819
|
+
// {Image()}
|
|
51820
|
+
// </div>
|
|
51821
|
+
// <div
|
|
51822
|
+
// class={cardsstyles2.imageContainer + ' d-none d-md-flex '}
|
|
51823
|
+
// style={{
|
|
51824
|
+
// height: sectionproperties.height_responsive + 'px',
|
|
51825
|
+
// }}
|
|
51826
|
+
// >
|
|
51827
|
+
// {Image()}
|
|
51828
|
+
// </div>
|
|
51829
|
+
// <div
|
|
51830
|
+
// class={'row m-0 w-100 pl-sm-0 pr-sm-0'}
|
|
51831
|
+
// style={{
|
|
51832
|
+
// paddingLeft: '10px',
|
|
51833
|
+
// paddingRight: '10px',
|
|
51834
|
+
// paddingTop: '10px',
|
|
51835
|
+
// paddingBottom: '10px',
|
|
51836
|
+
// }}
|
|
51837
|
+
// >
|
|
51838
|
+
// <div class="col-lg-12 p-0">
|
|
51839
|
+
// {sectionproperties.prodCatShow == 'Show' && (
|
|
51840
|
+
// <p
|
|
51841
|
+
// class={`${cardsstyles2.productDescStyles}` + ' col-lg-12 wordbreak wordbreak1 p-0 m-0 '}
|
|
51842
|
+
// style={{
|
|
51843
|
+
// textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
51844
|
+
// }}
|
|
51845
|
+
// >
|
|
51846
|
+
// {plainString(langdetect == 'en' ? item.description_en : item.description_ar)}
|
|
51847
|
+
// </p>
|
|
51848
|
+
// )}
|
|
51849
|
+
|
|
51850
|
+
// {sectionproperties.prodNameShow == 'Show' && (
|
|
51851
|
+
// <div class="col-lg-12 p-0 " style={{ minHeight: '6vh' }}>
|
|
51852
|
+
// <p
|
|
51853
|
+
// onClick={() => {
|
|
51854
|
+
// cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
51855
|
+
// }}
|
|
51856
|
+
// class={
|
|
51857
|
+
// sectionproperties.wordbreak == '1'
|
|
51858
|
+
// ? `${cardsstyles2.productNameStyles}` + ' wordbreak wordbreak2 m-0 '
|
|
51859
|
+
// : `${cardsstyles2.productNameStyles}` + ' wordbreak wordbreak2 m-0 '
|
|
51860
|
+
// }
|
|
51861
|
+
// style={{
|
|
51862
|
+
// textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
51863
|
+
// }}
|
|
51864
|
+
// >
|
|
51865
|
+
// {item.name}
|
|
51866
|
+
// </p>
|
|
51867
|
+
// </div>
|
|
51868
|
+
// )}
|
|
51869
|
+
// </div>
|
|
51870
|
+
// <div class="row m-0 w-100 align-items-center mt-1 mb-1">
|
|
51871
|
+
// {sectionproperties.prodPriceShow == 'Show' && (
|
|
51872
|
+
// <p
|
|
51873
|
+
// class={
|
|
51874
|
+
// langdetect == 'en'
|
|
51875
|
+
// ? `${cardsstyles2.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left '
|
|
51876
|
+
// : `${cardsstyles2.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
51877
|
+
// }
|
|
51878
|
+
// >
|
|
51879
|
+
// {langdetect == 'en' ? 'EGP' : ''} {item.hassale == 1 ? item.defaultsaleprice : item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
|
|
51880
|
+
// </p>
|
|
51881
|
+
// )}
|
|
51882
|
+
// {sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && <span class={`${cardsstyles2.productSalePricestyles}`}>/</span>}
|
|
51883
|
+
// {sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && (
|
|
51884
|
+
// <p
|
|
51885
|
+
// class={
|
|
51886
|
+
// langdetect == 'en'
|
|
51887
|
+
// ? `${cardsstyles2.productSalePricestyles}` + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left '
|
|
51888
|
+
// : `${cardsstyles2.productSalePricestyles}` + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right '
|
|
51889
|
+
// }
|
|
51890
|
+
// >
|
|
51891
|
+
// {langdetect == 'en' ? 'EGP' : ''} {item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
|
|
51892
|
+
// </p>
|
|
51893
|
+
// )}
|
|
51894
|
+
// </div>
|
|
51895
|
+
// <div class="d-flex align-items-center m-0">
|
|
51896
|
+
// {sectionproperties.cartBtnShow == 'Show' && (
|
|
51897
|
+
// <button
|
|
51898
|
+
// class={`${cardsstyles2.cart_btn}` + ' allcentered '}
|
|
51899
|
+
// onClick={() => {
|
|
51900
|
+
// setShowProductInfoModalContext(true);
|
|
51901
|
+
// setProductIdProdutInfoModalContext(item.productid);
|
|
51902
|
+
// }}
|
|
51903
|
+
// >
|
|
51904
|
+
// <div class="d-flex align-items-center justify-content-center">
|
|
51905
|
+
// {sectionproperties.cartBtn_iconFontSize != 0 && (
|
|
51906
|
+
// <i class="allcentered mr-2" style={{ color: sectionproperties.cart_iconcolor, fontSize: sectionproperties.cartBtn_iconFontSize }}>
|
|
51907
|
+
// {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
51908
|
+
// {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
51909
|
+
// {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
51910
|
+
// {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtn_iconFontSize} />}
|
|
51911
|
+
// {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
51912
|
+
// {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
51913
|
+
// </i>
|
|
51914
|
+
// )}
|
|
51915
|
+
// <p class="m-0 p-0">{langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic}</p>
|
|
51916
|
+
// </div>
|
|
51917
|
+
// </button>
|
|
51918
|
+
// )}
|
|
51919
|
+
// </div>
|
|
51920
|
+
// </div>
|
|
51921
|
+
// </div>
|
|
51922
|
+
// )}
|
|
51923
|
+
// </div>
|
|
51924
|
+
// {/* <div
|
|
51925
|
+
// class={props.sectiontypeprops2 == 'vertical' ? `${cardsstyles2.card}` + ' d-none d-md-flex w-100 ' : `${cardsstyles2.card}` + ' d-none d-md-flex '}
|
|
51926
|
+
// style={{
|
|
51927
|
+
// minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
51928
|
+
// maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + ' px',
|
|
51929
|
+
// }}
|
|
51930
|
+
// >
|
|
51931
|
+
// <div
|
|
51932
|
+
// class={
|
|
51933
|
+
// item.IsFavExists == true
|
|
51934
|
+
// ? `${cardsstyles2.iconsContainer} ${cardsstyles2.iconsContainer2}` + ' iconsContainer d-flex d-md-none '
|
|
51935
|
+
// : `${cardsstyles2.iconsContainer}` + ' iconsContainer d-flex d-md-none '
|
|
51936
|
+
// }
|
|
51937
|
+
// style={{ zIndex: 100 }}
|
|
51938
|
+
// >
|
|
51939
|
+
// {sectionproperties.favBtnShow == 'Show' && (
|
|
51940
|
+
// <button
|
|
51941
|
+
// class={`${cardsstyles2.wishlist_btn}` + ' mb-1 '}
|
|
51942
|
+
// onClick={() => {
|
|
51943
|
+
// addtofavoritescontext(item.productid);
|
|
51944
|
+
// }}
|
|
51945
|
+
// >
|
|
51946
|
+
// {item.IsFavExists && (
|
|
51947
|
+
// <i class="h-100 d-flex align-items-center justify-content-center icon">
|
|
51948
|
+
// {sectionproperties.faviconshape == 'Star Shape' && (
|
|
51949
|
+
// <AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
|
|
51950
|
+
// )}
|
|
51951
|
+
// {sectionproperties.faviconshape == 'Heart Shape' && <FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />}
|
|
51952
|
+
// </i>
|
|
51953
|
+
// )}
|
|
51954
|
+
// {!item.IsFavExists && (
|
|
51955
|
+
// <i class="h-100 d-flex align-items-center justify-content-center">
|
|
51956
|
+
// {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
|
|
51957
|
+
// {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
|
|
51958
|
+
// </i>
|
|
51959
|
+
// )}
|
|
51960
|
+
// </button>
|
|
51961
|
+
// )}
|
|
51962
|
+
// {sectionproperties.generalbtn_show == 'Show' && (
|
|
51963
|
+
// <button
|
|
51964
|
+
// class={` ${cardsstyles2.showmodal}`}
|
|
51965
|
+
// onClick={(e) => {
|
|
51966
|
+
// e.stopPropagation();
|
|
51967
|
+
// cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
51968
|
+
// }}
|
|
51969
|
+
// >
|
|
51970
|
+
// <i class="h-100 d-flex align-items-center justify-content-center">
|
|
51971
|
+
// <BsEye size={sectionproperties.generalbtn_fontsize} />
|
|
51972
|
+
// </i>
|
|
51973
|
+
// </button>
|
|
51974
|
+
// )}
|
|
51975
|
+
// </div>
|
|
51976
|
+
// <div class={`${cardsstyles2.iconsContainer} ${cardsstyles2.iconsContainer2}` + ' iconsContainer d-none d-md-flex '} style={{ zIndex: 100 }}>
|
|
51977
|
+
// {sectionproperties.favBtnShow == 'Show' && (
|
|
51978
|
+
// <button
|
|
51979
|
+
// class={` ${cardsstyles2.wishlist_btn}` + ' mb-1 '}
|
|
51980
|
+
// onClick={() => {
|
|
51981
|
+
// addtofavoritescontext(item.productid);
|
|
51982
|
+
// }}
|
|
51983
|
+
// >
|
|
51984
|
+
// {item.IsFavExists && (
|
|
51985
|
+
// <i class="h-100 d-flex align-items-center justify-content-center icon">
|
|
51986
|
+
// {sectionproperties.faviconshape == 'Star Shape' && (
|
|
51987
|
+
// <AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
|
|
51988
|
+
// )}
|
|
51989
|
+
// {sectionproperties.faviconshape == 'Heart Shape' && <FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />}
|
|
51990
|
+
// </i>
|
|
51991
|
+
// )}
|
|
51992
|
+
// {!item.IsFavExists && (
|
|
51993
|
+
// <i class="h-100 d-flex align-items-center justify-content-center">
|
|
51994
|
+
// {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
|
|
51995
|
+
// {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
|
|
51996
|
+
// </i>
|
|
51997
|
+
// )}
|
|
51998
|
+
// </button>
|
|
51999
|
+
// )}
|
|
52000
|
+
|
|
52001
|
+
// {sectionproperties.generalbtn_show == 'Show' && (
|
|
52002
|
+
// <button
|
|
52003
|
+
// class={` ${cardsstyles2.showmodal}`}
|
|
52004
|
+
// onClick={(e) => {
|
|
52005
|
+
// e.stopPropagation();
|
|
52006
|
+
// cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
52007
|
+
// }}
|
|
52008
|
+
// >
|
|
52009
|
+
// <i class="h-100 d-flex align-items-center justify-content-center">
|
|
52010
|
+
// <BsEye size={sectionproperties.generalbtn_fontsize} />
|
|
52011
|
+
// </i>
|
|
52012
|
+
// </button>
|
|
52013
|
+
// )}
|
|
52014
|
+
// </div>
|
|
52015
|
+
// {sectionproperties.length != 0 && (
|
|
52016
|
+
// <div
|
|
52017
|
+
// class="col-lg-12 col-md-12 col-sm-12 pl-0 pr-0 pl-sm-2 pr-sm-2"
|
|
52018
|
+
// style={{
|
|
52019
|
+
// paddingTop: sectionproperties.paddingTop + 'px',
|
|
52020
|
+
// paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
52021
|
+
// }}
|
|
52022
|
+
// >
|
|
52023
|
+
// <div
|
|
52024
|
+
// class="cursor-pointer"
|
|
52025
|
+
// style={{
|
|
52026
|
+
// backgroundColor: sectionproperties.image_bgcolor,
|
|
52027
|
+
// height: sectionproperties.image_height + 'px',
|
|
52028
|
+
// borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52029
|
+
// borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
52030
|
+
// borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52031
|
+
// borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
52032
|
+
// }}
|
|
52033
|
+
// >
|
|
52034
|
+
|
|
52035
|
+
// <Imagekitimagecomp
|
|
52036
|
+
// urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
52037
|
+
// publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
52038
|
+
// path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image}
|
|
52039
|
+
// style={{
|
|
52040
|
+
// width: '100%',
|
|
52041
|
+
// height: '100%',
|
|
52042
|
+
// objectFit: 'contain',
|
|
52043
|
+
// }}
|
|
52044
|
+
// loading="lazy"
|
|
52045
|
+
// onClick={() => {
|
|
52046
|
+
// setShowProductInfoModalContext(true);
|
|
52047
|
+
// setProductIdProdutInfoModalContext(item.productid);
|
|
52048
|
+
// }}
|
|
52049
|
+
// ></IKImage>
|
|
52050
|
+
// {item?.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && (
|
|
52051
|
+
// <div
|
|
52052
|
+
// class="row m-0 align-items-center justify-content-center"
|
|
52053
|
+
// style={{
|
|
52054
|
+
// position: 'absolute',
|
|
52055
|
+
// top: 10,
|
|
52056
|
+
// left: 10,
|
|
52057
|
+
// height: sectionproperties.badge_height + 'px',
|
|
52058
|
+
// width: sectionproperties.badge_width + 'px',
|
|
52059
|
+
// backgroundColor: sectionproperties.badge_bgcolor,
|
|
52060
|
+
// borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
52061
|
+
// paddingLeft: '10px',
|
|
52062
|
+
// paddingRight: '10px',
|
|
52063
|
+
// color: sectionproperties.badge_color,
|
|
52064
|
+
// }}
|
|
52065
|
+
// >
|
|
52066
|
+
// <div style={{ fontSize: sectionproperties.badge_fontsize + 'px' }}>{langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr}</div>
|
|
52067
|
+
// </div>
|
|
52068
|
+
// )}
|
|
52069
|
+
// {sectionproperties.showpill == 'Show' && item.hassale == 1 && (
|
|
52070
|
+
// <div
|
|
52071
|
+
// class="allcentered"
|
|
52072
|
+
// style={{
|
|
52073
|
+
// position: 'absolute',
|
|
52074
|
+
// top: sectionproperties.pillpositionfromtop + 'px',
|
|
52075
|
+
// left: sectionproperties.pillpositionfromright + 'px',
|
|
52076
|
+
// width: sectionproperties.pillwidth + 'px',
|
|
52077
|
+
// height: sectionproperties.pillheight + 'px',
|
|
52078
|
+
// background: sectionproperties.pillbgcolor,
|
|
52079
|
+
// borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
|
|
52080
|
+
// }}
|
|
52081
|
+
// >
|
|
52082
|
+
// <p class="m-0 p-0 text-uppercase" style={{ color: sectionproperties.pillcolor, fontSize: sectionproperties.pillfontSize + 'px', direction: 'ltr' }}>
|
|
52083
|
+
// {'-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%'}
|
|
52084
|
+
// </p>
|
|
52085
|
+
// </div>
|
|
52086
|
+
// )}
|
|
52087
|
+
// </div>
|
|
52088
|
+
// <div
|
|
52089
|
+
// class={'row m-0 w-100 pl-sm-0 pr-sm-0'}
|
|
52090
|
+
// style={{
|
|
52091
|
+
// paddingLeft: '10px',
|
|
52092
|
+
// paddingRight: '10px',
|
|
52093
|
+
// paddingTop: '10px',
|
|
52094
|
+
// paddingBottom: '10px',
|
|
52095
|
+
// }}
|
|
52096
|
+
// >
|
|
52097
|
+
// <div class="col-lg-12 p-0">
|
|
52098
|
+
// {sectionproperties.prodCatShow == 'Show' && (
|
|
52099
|
+
// <p
|
|
52100
|
+
// class={`${cardsstyles2.productDescStyles}` + ' col-lg-12 wordbreak wordbreak1 p-0 m-0 '}
|
|
52101
|
+
// style={{
|
|
52102
|
+
// textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
52103
|
+
// }}
|
|
52104
|
+
// >
|
|
52105
|
+
// {plainString(langdetect == 'en' ? item.description_en : item.description_ar)}
|
|
52106
|
+
// </p>
|
|
52107
|
+
// )}
|
|
52108
|
+
|
|
52109
|
+
// {sectionproperties.prodNameShow == 'Show' && (
|
|
52110
|
+
// <div class="col-lg-12 p-0 " style={{ minHeight: '6vh' }}>
|
|
52111
|
+
// <p
|
|
52112
|
+
// onClick={() => {
|
|
52113
|
+
// cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
52114
|
+
// }}
|
|
52115
|
+
// class={
|
|
52116
|
+
// sectionproperties.wordbreak == '1'
|
|
52117
|
+
// ? `${cardsstyles2.productNameStyles}` + ' wordbreak wordbreak2 m-0 '
|
|
52118
|
+
// : `${cardsstyles2.productNameStyles}` + ' wordbreak wordbreak2 m-0 '
|
|
52119
|
+
// }
|
|
52120
|
+
// style={{
|
|
52121
|
+
// textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
52122
|
+
// }}
|
|
52123
|
+
// >
|
|
52124
|
+
// {item.name}
|
|
52125
|
+
// </p>
|
|
52126
|
+
// </div>
|
|
52127
|
+
// )}
|
|
52128
|
+
// </div>
|
|
52129
|
+
// <div class="row m-0 w-100 align-items-center mt-1 mb-1">
|
|
52130
|
+
// {sectionproperties.prodPriceShow == 'Show' && (
|
|
52131
|
+
// <p
|
|
52132
|
+
// class={
|
|
52133
|
+
// langdetect == 'en'
|
|
52134
|
+
// ? `${cardsstyles2.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left '
|
|
52135
|
+
// : `${cardsstyles2.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
52136
|
+
// }
|
|
52137
|
+
// >
|
|
52138
|
+
// {langdetect == 'en' ? 'EGP' : ''} {item.hassale == 1 ? item.defaultsaleprice : item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
|
|
52139
|
+
// </p>
|
|
52140
|
+
// )}
|
|
52141
|
+
// {sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && <span class={`${cardsstyles2.productSalePricestyles}`}>/</span>}
|
|
52142
|
+
// {sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && (
|
|
52143
|
+
// <p
|
|
52144
|
+
// class={
|
|
52145
|
+
// langdetect == 'en'
|
|
52146
|
+
// ? `${cardsstyles2.productSalePricestyles}` + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left '
|
|
52147
|
+
// : `${cardsstyles2.productSalePricestyles}` + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right '
|
|
52148
|
+
// }
|
|
52149
|
+
// >
|
|
52150
|
+
// {langdetect == 'en' ? 'EGP' : ''} {item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
|
|
52151
|
+
// </p>
|
|
52152
|
+
// )}
|
|
52153
|
+
// </div>
|
|
52154
|
+
// <div class="d-flex align-items-center m-0">
|
|
52155
|
+
// {sectionproperties.cartBtnShow == 'Show' && (
|
|
52156
|
+
// <button
|
|
52157
|
+
// class={`${cardsstyles2.cart_btn}` + ' allcentered '}
|
|
52158
|
+
// onClick={() => {
|
|
52159
|
+
// setShowProductInfoModalContext(true);
|
|
52160
|
+
// setProductIdProdutInfoModalContext(item.productid);
|
|
52161
|
+
// }}
|
|
52162
|
+
// >
|
|
52163
|
+
// <div class="d-flex align-items-center justify-content-center">
|
|
52164
|
+
// {sectionproperties.cartBtn_iconFontSize != 0 && (
|
|
52165
|
+
// <i class="allcentered mr-2" style={{ color: sectionproperties.cart_iconcolor, fontSize: sectionproperties.cartBtn_iconFontSize }}>
|
|
52166
|
+
// {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
52167
|
+
// {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
52168
|
+
// {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
52169
|
+
// {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtn_iconFontSize} />}
|
|
52170
|
+
// {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
52171
|
+
// {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
52172
|
+
// </i>
|
|
52173
|
+
// )}
|
|
52174
|
+
// <p class="m-0 p-0">{langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic}</p>
|
|
52175
|
+
// </div>
|
|
52176
|
+
// </button>
|
|
52177
|
+
// )}
|
|
52178
|
+
// </div>
|
|
52179
|
+
// </div>
|
|
52180
|
+
// </div>
|
|
52181
|
+
// )}
|
|
52182
|
+
// </div> */}
|
|
52183
|
+
// </div>
|
|
52184
|
+
// );
|
|
52185
|
+
// };
|
|
52186
|
+
// export default Card23;
|
|
52187
|
+
|
|
51446
52188
|
function ownKeys$t(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
51447
52189
|
function _objectSpread$t(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$t(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$t(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
51448
52190
|
var CardBadgeSlideFromTop = function CardBadgeSlideFromTop(props) {
|