tabexseriescomponents 0.2.1426 → 0.2.1428
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 +799 -231
- package/dist/index.esm.js +799 -231
- package/dist/index.umd.js +802 -235
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -168,6 +168,7 @@ import { FaArrowAltCircleRight } from '@react-icons/all-files/fa/FaArrowAltCircl
|
|
|
168
168
|
import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircleLeft';
|
|
169
169
|
import { GoStar } from '@react-icons/all-files/go/GoStar';
|
|
170
170
|
import { IoIosStar } from '@react-icons/all-files/io/IoIosStar';
|
|
171
|
+
import { AiOutlineCloseCircle } from '@react-icons/all-files/ai/AiOutlineCloseCircle';
|
|
171
172
|
import { CountdownCircleTimer } from 'react-countdown-circle-timer';
|
|
172
173
|
import { TypeAnimation } from 'react-type-animation';
|
|
173
174
|
import AnimatedNumbers from 'react-animated-numbers';
|
|
@@ -78415,6 +78416,7 @@ var TableSection = function TableSection(props) {
|
|
|
78415
78416
|
_useState4 = _slicedToArray(_useState3, 2);
|
|
78416
78417
|
_useState4[0];
|
|
78417
78418
|
var settablearray = _useState4[1];
|
|
78419
|
+
var routingcountext = props.actions.routingcountext;
|
|
78418
78420
|
var Slideshowsettings = {
|
|
78419
78421
|
indicators: false,
|
|
78420
78422
|
arrows: true,
|
|
@@ -78480,6 +78482,9 @@ var TableSection = function TableSection(props) {
|
|
|
78480
78482
|
'@media (max-width: 800px)': {
|
|
78481
78483
|
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
78482
78484
|
}
|
|
78485
|
+
}),
|
|
78486
|
+
pricing_card_wrapper: css({
|
|
78487
|
+
':before': {}
|
|
78483
78488
|
})
|
|
78484
78489
|
};
|
|
78485
78490
|
var _useState9 = useState([]),
|
|
@@ -78514,15 +78519,108 @@ var TableSection = function TableSection(props) {
|
|
|
78514
78519
|
var plancontentarray = [{
|
|
78515
78520
|
content_en: ['1 Order', 'No Shipping', 'No Discounts', '7 days for exchange, paid', '14 days Warranty', 'No Purchase Voucher', 'Public Offers', 'Support During working hours', 'No Authorized Buyer Option', 'No Points / Loyalty System'],
|
|
78516
78521
|
content_ar: ['طلب واحد', 'بدون شحن', 'بدون خصومات', 'استبدال خلال 7 أيام (مدفوع)', 'ضمان لمدة 14 يومًا', 'بدون قسيمة شراء', 'العروض العامة', 'دعم خلال ساعات العمل', 'لا يوجد خيار للمشتري المعتمد', 'لا يوجد نظام نقاط / ولاء'],
|
|
78517
|
-
content_chin: ['1个订单', '不提供配送', '无折扣', '7天内可付费换货', '14天保修', '无购物券', '公开优惠', '工作时间内提供支持', '无授权买家选项', '无积分 / 会员忠诚度系统']
|
|
78522
|
+
content_chin: ['1个订单', '不提供配送', '无折扣', '7天内可付费换货', '14天保修', '无购物券', '公开优惠', '工作时间内提供支持', '无授权买家选项', '无积分 / 会员忠诚度系统'],
|
|
78523
|
+
icons: [/*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78524
|
+
size: 15,
|
|
78525
|
+
color: '#15B748'
|
|
78526
|
+
}), /*#__PURE__*/React.createElement(AiOutlineCloseCircle, {
|
|
78527
|
+
size: 15,
|
|
78528
|
+
color: '#DF201A'
|
|
78529
|
+
}), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
|
|
78530
|
+
size: 15,
|
|
78531
|
+
color: '#DF201A'
|
|
78532
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78533
|
+
size: 15,
|
|
78534
|
+
color: '#15B748'
|
|
78535
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78536
|
+
size: 15,
|
|
78537
|
+
color: '#15B748'
|
|
78538
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78539
|
+
size: 15,
|
|
78540
|
+
color: '#15B748'
|
|
78541
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78542
|
+
size: 15,
|
|
78543
|
+
color: '#15B748'
|
|
78544
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78545
|
+
size: 15,
|
|
78546
|
+
color: '#15B748'
|
|
78547
|
+
}), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
|
|
78548
|
+
size: 15,
|
|
78549
|
+
color: '#DF201A'
|
|
78550
|
+
}), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
|
|
78551
|
+
size: 15,
|
|
78552
|
+
color: '#DF201A'
|
|
78553
|
+
})]
|
|
78518
78554
|
}, {
|
|
78519
78555
|
content_en: ['5 orders (minimum £5000)', 'Shipping For the first order', 'No Discounts', '7 days for exchange, free', '3 months Warranty', '£100 Purchase Voucher', 'Extra Discounts', 'Priority support', 'No Authorized Buyer Option', '1 point in loyalty system per order'],
|
|
78520
78556
|
content_ar: ['5 طلبات (بحد أدنى 5000 جنيه إسترليني)', 'الشحن للطلب الأول', 'بدون خصومات', 'استبدال مجاني خلال 7 أيام', 'ضمان لمدة 3 أشهر', 'قسيمة شراء بقيمة 100 جنيه إسترليني', 'خصومات إضافية', 'دعم ذو أولوية', 'لا يوجد خيار للمشتري المعتمد', 'نقطة واحدة في نظام الولاء لكل طلب'],
|
|
78521
|
-
content_chin: ['5个订单(最低消费5000英镑)', '首个订单提供配送', '无折扣', '7天内免费换货', '3个月保修', '100英镑购物券', '额外折扣', '优先支持', '无授权买家选项', '每个订单可获得1个会员积分']
|
|
78557
|
+
content_chin: ['5个订单(最低消费5000英镑)', '首个订单提供配送', '无折扣', '7天内免费换货', '3个月保修', '100英镑购物券', '额外折扣', '优先支持', '无授权买家选项', '每个订单可获得1个会员积分'],
|
|
78558
|
+
icons: [/*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78559
|
+
size: 15,
|
|
78560
|
+
color: '#15B748'
|
|
78561
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78562
|
+
size: 15,
|
|
78563
|
+
color: '#15B748'
|
|
78564
|
+
}), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
|
|
78565
|
+
size: 15,
|
|
78566
|
+
color: '#DF201A'
|
|
78567
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78568
|
+
size: 15,
|
|
78569
|
+
color: '#15B748'
|
|
78570
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78571
|
+
size: 15,
|
|
78572
|
+
color: '#15B748'
|
|
78573
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78574
|
+
size: 15,
|
|
78575
|
+
color: '#15B748'
|
|
78576
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78577
|
+
size: 15,
|
|
78578
|
+
color: '#15B748'
|
|
78579
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78580
|
+
size: 15,
|
|
78581
|
+
color: '#15B748'
|
|
78582
|
+
}), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
|
|
78583
|
+
size: 15,
|
|
78584
|
+
color: '#DF201A'
|
|
78585
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78586
|
+
size: 15,
|
|
78587
|
+
color: '#15B748'
|
|
78588
|
+
})]
|
|
78522
78589
|
}, {
|
|
78523
78590
|
content_en: ['10 orders (minimum £10000)', 'For all orders', '5% Discounts', '14 days for exchange, free', '6 months Warranty', '£250 Purchase Voucher', 'Exclusive Discounts', 'Premium support + personal follow-up', 'Authorized Buyer Option', '2 points per order'],
|
|
78524
78591
|
content_ar: ['10 طلبات (بحد أدنى 10000 جنيه إسترليني)', 'الشحن لجميع الطلبات', 'خصم 5%', 'استبدال مجاني خلال 14 يومًا', 'ضمان لمدة 6 أشهر', 'قسيمة شراء بقيمة 250 جنيهًا إسترلينيًا', 'خصومات حصرية', 'دعم مميز + متابعة شخصية', 'يتوفر خيار المشتري المعتمد', 'نقطتان لكل طلب'],
|
|
78525
|
-
content_chin: ['10个订单(最低消费10000英镑)', '所有订单均提供配送', '5%折扣', '14天内免费换货', '6个月保修', '250英镑购物券', '专属折扣', '高级支持 + 专属跟进', '提供授权买家选项', '每个订单可获得2个积分']
|
|
78592
|
+
content_chin: ['10个订单(最低消费10000英镑)', '所有订单均提供配送', '5%折扣', '14天内免费换货', '6个月保修', '250英镑购物券', '专属折扣', '高级支持 + 专属跟进', '提供授权买家选项', '每个订单可获得2个积分'],
|
|
78593
|
+
icons: [/*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78594
|
+
size: 15,
|
|
78595
|
+
color: '#15B748'
|
|
78596
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78597
|
+
size: 15,
|
|
78598
|
+
color: '#15B748'
|
|
78599
|
+
}), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
|
|
78600
|
+
size: 15,
|
|
78601
|
+
color: '#DF201A'
|
|
78602
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78603
|
+
size: 15,
|
|
78604
|
+
color: '#15B748'
|
|
78605
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78606
|
+
size: 15,
|
|
78607
|
+
color: '#15B748'
|
|
78608
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78609
|
+
size: 15,
|
|
78610
|
+
color: '#15B748'
|
|
78611
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78612
|
+
size: 15,
|
|
78613
|
+
color: '#15B748'
|
|
78614
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78615
|
+
size: 15,
|
|
78616
|
+
color: '#15B748'
|
|
78617
|
+
}), /*#__PURE__*/React.createElement(IoBagRemoveOutline, {
|
|
78618
|
+
size: 15,
|
|
78619
|
+
color: '#DF201A'
|
|
78620
|
+
}), /*#__PURE__*/React.createElement(FiCheckCircle, {
|
|
78621
|
+
size: 15,
|
|
78622
|
+
color: '#15B748'
|
|
78623
|
+
})]
|
|
78526
78624
|
}];
|
|
78527
78625
|
return /*#__PURE__*/React.createElement("div", {
|
|
78528
78626
|
"class": "row m-0 w-100 allcentered py-5 px-5 px-md-3"
|
|
@@ -78616,7 +78714,7 @@ var TableSection = function TableSection(props) {
|
|
|
78616
78714
|
}, /*#__PURE__*/React.createElement("p", {
|
|
78617
78715
|
"class": "m-0 p-0 text-black"
|
|
78618
78716
|
}, "1000"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '67c050d72cbe7' && /*#__PURE__*/React.createElement("div", {
|
|
78619
|
-
"class": "row m-0 w-100 px-5 mb-5 px-md-
|
|
78717
|
+
"class": "row m-0 w-100 px-5 mb-5 px-md-0"
|
|
78620
78718
|
}, /*#__PURE__*/React.createElement("div", {
|
|
78621
78719
|
"class": "row m-0 w-100 px-5 mb-5 px-md-0"
|
|
78622
78720
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -78640,62 +78738,65 @@ var TableSection = function TableSection(props) {
|
|
|
78640
78738
|
var _plancontentarray$car;
|
|
78641
78739
|
var contentKey = langdetect === 'en' ? 'content_en' : langdetect === 'ar' ? 'content_ar' : 'content_chin';
|
|
78642
78740
|
return /*#__PURE__*/React.createElement("div", {
|
|
78643
|
-
|
|
78741
|
+
className: ' col-lg-4 col-md-12 mb-3 ',
|
|
78742
|
+
style: {}
|
|
78644
78743
|
}, /*#__PURE__*/React.createElement("div", {
|
|
78645
|
-
|
|
78744
|
+
className: ' w-100 mb-3 ',
|
|
78745
|
+
style: {
|
|
78746
|
+
position: 'relative'
|
|
78747
|
+
}
|
|
78748
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
78749
|
+
className: "pricing-card",
|
|
78646
78750
|
style: {
|
|
78647
78751
|
background: cardinfoitem.cardbgcolor,
|
|
78648
|
-
boxShadow: '0 0
|
|
78752
|
+
boxShadow: '0 0 15px ' + cardinfoitem.cardshadowcolor,
|
|
78649
78753
|
borderRadius: 20
|
|
78650
78754
|
}
|
|
78651
78755
|
}, /*#__PURE__*/React.createElement("div", {
|
|
78652
|
-
|
|
78653
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
78654
|
-
"class": "m-0 p-0 px-3 py-1",
|
|
78756
|
+
className: "pricing-header",
|
|
78655
78757
|
style: {
|
|
78656
|
-
width: 'fit-content',
|
|
78657
|
-
borderRadius: 100,
|
|
78758
|
+
// width: 'fit-content',
|
|
78759
|
+
// borderRadius: 100,
|
|
78658
78760
|
background: cardinfoitem.planbgcolor,
|
|
78659
78761
|
fontSize: 20,
|
|
78660
78762
|
fontWeight: 500,
|
|
78661
78763
|
color: cardinfoitem.plancolor
|
|
78662
78764
|
}
|
|
78663
|
-
}, cardinfoitem.planname_en)
|
|
78664
|
-
|
|
78665
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
78666
|
-
"class": "m-0 p-0",
|
|
78667
|
-
style: {
|
|
78668
|
-
fontSize: 20,
|
|
78669
|
-
fontWeight: 500,
|
|
78670
|
-
color: '#000'
|
|
78671
|
-
}
|
|
78765
|
+
}, cardinfoitem.planname_en), /*#__PURE__*/React.createElement("div", {
|
|
78766
|
+
className: "pricing-content allcentered"
|
|
78672
78767
|
}, (_plancontentarray$car = plancontentarray[cardinfoindex]) === null || _plancontentarray$car === void 0 || (_plancontentarray$car = _plancontentarray$car[contentKey]) === null || _plancontentarray$car === void 0 ? void 0 : _plancontentarray$car.map(function (contentitem, contentindex) {
|
|
78768
|
+
var _plancontentarray$car2;
|
|
78673
78769
|
return /*#__PURE__*/React.createElement("p", {
|
|
78674
78770
|
key: contentindex,
|
|
78675
|
-
"class": "m-0 p-0 mb-2",
|
|
78771
|
+
"class": "m-0 p-0 mb-2 d-flex align-items-center justify-content-start",
|
|
78676
78772
|
style: {
|
|
78677
|
-
fontSize:
|
|
78773
|
+
fontSize: 16,
|
|
78678
78774
|
color: '#000'
|
|
78679
78775
|
}
|
|
78680
|
-
}, /*#__PURE__*/React.createElement(
|
|
78681
|
-
|
|
78682
|
-
}
|
|
78683
|
-
})
|
|
78684
|
-
"class": "col-12 allcentered"
|
|
78776
|
+
}, (_plancontentarray$car2 = plancontentarray[cardinfoindex]) === null || _plancontentarray$car2 === void 0 || (_plancontentarray$car2 = _plancontentarray$car2.icons) === null || _plancontentarray$car2 === void 0 ? void 0 : _plancontentarray$car2[contentindex], /*#__PURE__*/React.createElement("span", {
|
|
78777
|
+
className: "mx-2"
|
|
78778
|
+
}, contentitem));
|
|
78779
|
+
}), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
78780
|
+
"class": "col-12 allcentered mt-4"
|
|
78685
78781
|
}, /*#__PURE__*/React.createElement("button", {
|
|
78686
78782
|
onClick: function onClick() {
|
|
78687
|
-
routingcountext(
|
|
78783
|
+
routingcountext(sectionproperties.btnlink, false, '');
|
|
78688
78784
|
},
|
|
78689
78785
|
style: {
|
|
78690
78786
|
width: sectionproperties.generalbtn_width + '%',
|
|
78691
78787
|
height: sectionproperties.generalbtn_height + 'px',
|
|
78692
|
-
background:
|
|
78788
|
+
background: cardinfoitem.planbgcolor,
|
|
78693
78789
|
color: sectionproperties.generalbtn_textColor,
|
|
78694
78790
|
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
78695
78791
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
78696
78792
|
borderRadius: sectionproperties.generalbtnborderradius + 'px'
|
|
78697
78793
|
}
|
|
78698
|
-
}, sectionproperties.slideshow_btn_text))))
|
|
78794
|
+
}, sectionproperties.slideshow_btn_text)))), /*#__PURE__*/React.createElement("div", {
|
|
78795
|
+
"class": 'beforewrapper',
|
|
78796
|
+
style: {
|
|
78797
|
+
background: cardinfoitem.planbgcolor
|
|
78798
|
+
}
|
|
78799
|
+
})));
|
|
78699
78800
|
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69ca3d56a6e7e' && /*#__PURE__*/React.createElement("div", {
|
|
78700
78801
|
"class": "row m-0 w-100 px-5"
|
|
78701
78802
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -83991,8 +84092,8 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
83991
84092
|
// left: sectionproperties.generalbtn_position == 'Centered' ? '' : sectionproperties.showanimation == 'Yes' ? 0 : langdetect == 'en' ? 20 : '',
|
|
83992
84093
|
// right: sectionproperties.generalbtn_position == 'Centered' ? '' : langdetect == 'ar' ? 20 : '',
|
|
83993
84094
|
|
|
83994
|
-
left: langdetect == 'ar' ? '' : 0,
|
|
83995
|
-
right: langdetect == 'ar' ? 0 : '',
|
|
84095
|
+
left: sectionproperties.innersectionWidth != 100 ? 0 : langdetect == 'ar' ? '' : 0,
|
|
84096
|
+
right: sectionproperties.innersectionWidth != 100 ? 0 : langdetect == 'ar' ? 0 : '',
|
|
83996
84097
|
'@media (max-width: 800px)': {
|
|
83997
84098
|
// bottom: '20px',
|
|
83998
84099
|
bottom: sectionproperties.innersectionmarginbottomresponsive + 'px'
|
|
@@ -84017,30 +84118,6 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84017
84118
|
}
|
|
84018
84119
|
}),
|
|
84019
84120
|
slideshow_btn_mazl: css({
|
|
84020
|
-
// zIndex: 1000,
|
|
84021
|
-
// height: sectionproperties.generalbtn_height + 'px',
|
|
84022
|
-
// width: sectionproperties.generalbtn_width + 'px',
|
|
84023
|
-
// background: 'transparent',
|
|
84024
|
-
// color: sectionproperties.generalbtn_bgColor,
|
|
84025
|
-
// borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
84026
|
-
// borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
84027
|
-
// borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
84028
|
-
// borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
84029
|
-
// fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
84030
|
-
// lineHeight: sectionproperties.generalbtn_fontsize + 'px',
|
|
84031
|
-
// textTransform: sectionproperties.generalbtn_texttransform,
|
|
84032
|
-
// fontWeight: sectionproperties.generalbtn_fontweight,
|
|
84033
|
-
// transition: '.3s',
|
|
84034
|
-
// border: '1px solid ' + sectionproperties.generalbtn_bgColor,
|
|
84035
|
-
// ':hover': {
|
|
84036
|
-
// background: sectionproperties.generalbtn_bgColor,
|
|
84037
|
-
// color: 'white',
|
|
84038
|
-
// },
|
|
84039
|
-
// '@media (max-width: 800px)': {
|
|
84040
|
-
// width: sectionproperties.generalbtnwidthresp + 'px',
|
|
84041
|
-
// height: sectionproperties.generalbtnheightresponsive + 'px',
|
|
84042
|
-
// fontSize: sectionproperties.generalbtnfontsizeresp + 'px',
|
|
84043
|
-
// },
|
|
84044
84121
|
height: sectionproperties.generalbtn_height + 'px',
|
|
84045
84122
|
width: sectionproperties.generalbtn_width + 'px',
|
|
84046
84123
|
background: sectionproperties.generalbtn_bgColor,
|
|
@@ -84087,6 +84164,30 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84087
84164
|
height: sectionproperties.generalbtnheightresponsive + 'px',
|
|
84088
84165
|
fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
|
|
84089
84166
|
}
|
|
84167
|
+
}),
|
|
84168
|
+
slideshow_btnfhr: css({
|
|
84169
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
84170
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
84171
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
84172
|
+
color: sectionproperties.generalbtn_textColor,
|
|
84173
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
84174
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
84175
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
84176
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
84177
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
84178
|
+
lineHeight: sectionproperties.generalbtn_fontsize + 'px',
|
|
84179
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
84180
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
84181
|
+
transition: '.3s',
|
|
84182
|
+
':hover': {
|
|
84183
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
84184
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
84185
|
+
},
|
|
84186
|
+
'@media (max-width: 800px)': {
|
|
84187
|
+
width: sectionproperties.generalbtnwidthresp + 'px',
|
|
84188
|
+
height: sectionproperties.generalbtnheightresponsive + 'px',
|
|
84189
|
+
fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
|
|
84190
|
+
}
|
|
84090
84191
|
})
|
|
84091
84192
|
};
|
|
84092
84193
|
var SlideShowTextContainer = function SlideShowTextContainer(item) {
|
|
@@ -84136,7 +84237,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84136
84237
|
// : 'col-lg-12 text-start'
|
|
84137
84238
|
sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
|
|
84138
84239
|
}, /*#__PURE__*/React.createElement("button", {
|
|
84139
|
-
"class": authdetailsContext.instinfo.instid == '69f0cacdc9142' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
84240
|
+
"class": authdetailsContext.instinfo.instid == '69f0cacdc9142' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a7772c9ec61b' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
84140
84241
|
onClick: function onClick() {
|
|
84141
84242
|
if (sectionproperties.showplayer == 'Show') {
|
|
84142
84243
|
setshowpopup(true);
|
|
@@ -84168,12 +84269,20 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84168
84269
|
onClick: function onClick() {
|
|
84169
84270
|
routingcountext('collections/innerparentcollections/6a71d53ec85aa', false, '');
|
|
84170
84271
|
}
|
|
84171
|
-
}, langdetect == 'en' ? 'Shop Home Accessories' : 'تسوق اكسسوارات المنزل')
|
|
84172
|
-
"class":
|
|
84173
|
-
|
|
84174
|
-
|
|
84272
|
+
}, langdetect == 'en' ? 'Shop Home Accessories' : 'تسوق اكسسوارات المنزل'), authdetailsContext.instinfo.instid == '6a7772c9ec61b' && /*#__PURE__*/React.createElement("button", {
|
|
84273
|
+
"class": "".concat(slideshow_styles.slideshow_btn2mazal) + ' allcentered mx-1 ',
|
|
84274
|
+
style: {
|
|
84275
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
84276
|
+
},
|
|
84277
|
+
onClick: function onClick() {
|
|
84278
|
+
routingcountext('collections', false, '');
|
|
84279
|
+
}
|
|
84280
|
+
}, langdetect == 'en' ? 'Explore Courses' : 'اكتشف الكورسات')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
84281
|
+
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start'
|
|
84282
|
+
// data-aos={'fade-up'}
|
|
84283
|
+
// data-aos-delay="300"
|
|
84175
84284
|
}, /*#__PURE__*/React.createElement("button", {
|
|
84176
|
-
"class": "".concat(slideshow_styles.slideshow_btnyrh) + ' allcentered ',
|
|
84285
|
+
"class": authdetailsContext.instinfo.instid == '6a7772c9ec61b' ? "".concat(slideshow_styles.slideshow_btnfhr) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btnyrh) + ' allcentered ',
|
|
84177
84286
|
onClick: function onClick() {
|
|
84178
84287
|
if (sectionproperties.showplayer == 'Show') {
|
|
84179
84288
|
setshowpopup(true);
|
|
@@ -84184,7 +84293,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84184
84293
|
style: {
|
|
84185
84294
|
direction: langdetect == 'en' ? 'ltr' : 'rtl'
|
|
84186
84295
|
}
|
|
84187
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')
|
|
84296
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' '), authdetailsContext.instinfo.instid == '6a7772c9ec61b' && /*#__PURE__*/React.createElement("button", {
|
|
84297
|
+
"class": "".concat(slideshow_styles.slideshow_btnfhr) + ' allcentered mx-1 ',
|
|
84298
|
+
style: {
|
|
84299
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
84300
|
+
},
|
|
84301
|
+
onClick: function onClick() {
|
|
84302
|
+
routingcountext('collections', false, '');
|
|
84303
|
+
}
|
|
84304
|
+
}, langdetect == 'en' ? 'Explore Courses' : 'اكتشف الكورسات')));
|
|
84188
84305
|
};
|
|
84189
84306
|
return /*#__PURE__*/React.createElement("div", {
|
|
84190
84307
|
"class": "row m-0 w-100"
|
|
@@ -84245,7 +84362,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84245
84362
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
84246
84363
|
},
|
|
84247
84364
|
onClick: function onClick() {
|
|
84248
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
|
|
84365
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
|
|
84249
84366
|
if (sectionproperties.showplayer == 'Show') {
|
|
84250
84367
|
setshowpopup(true);
|
|
84251
84368
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -84286,7 +84403,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84286
84403
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
84287
84404
|
},
|
|
84288
84405
|
onClick: function onClick() {
|
|
84289
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
|
|
84406
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
|
|
84290
84407
|
if (sectionproperties.showplayer == 'Show') {
|
|
84291
84408
|
setshowpopup(true);
|
|
84292
84409
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -84421,7 +84538,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84421
84538
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
84422
84539
|
},
|
|
84423
84540
|
onClick: function onClick() {
|
|
84424
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
|
|
84541
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
|
|
84425
84542
|
if (sectionproperties.showplayer == 'Show') {
|
|
84426
84543
|
setshowpopup(true);
|
|
84427
84544
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -84461,7 +84578,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84461
84578
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
84462
84579
|
},
|
|
84463
84580
|
onClick: function onClick() {
|
|
84464
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
|
|
84581
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
|
|
84465
84582
|
if (sectionproperties.showplayer == 'Show') {
|
|
84466
84583
|
setshowpopup(true);
|
|
84467
84584
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -84588,7 +84705,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84588
84705
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
84589
84706
|
},
|
|
84590
84707
|
onClick: function onClick() {
|
|
84591
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
|
|
84708
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
|
|
84592
84709
|
if (sectionproperties.showplayer == 'Show') {
|
|
84593
84710
|
setshowpopup(true);
|
|
84594
84711
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -84628,7 +84745,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84628
84745
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
84629
84746
|
},
|
|
84630
84747
|
onClick: function onClick() {
|
|
84631
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else {
|
|
84748
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
|
|
84632
84749
|
if (sectionproperties.showplayer == 'Show') {
|
|
84633
84750
|
setshowpopup(true);
|
|
84634
84751
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -99556,7 +99673,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
|
99556
99673
|
function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
99557
99674
|
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
99558
99675
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
99559
|
-
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$
|
|
99676
|
+
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i15, _item$producttags2, _authdetailsContext$i16, _item$producttags$2, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _item$producttags3, _authdetailsContext$i27, _item$producttags$3, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i34, _item$producttags4, _authdetailsContext$i35, _item$producttags$4, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38;
|
|
99560
99677
|
var _useState = useState(''),
|
|
99561
99678
|
_useState2 = _slicedToArray(_useState, 2),
|
|
99562
99679
|
sectionproperties = _useState2[0],
|
|
@@ -100386,7 +100503,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100386
100503
|
bottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '682dfdcdb9720' && sectionproperties.image_mb == -1 ? 30 : 0,
|
|
100387
100504
|
zIndex: 10
|
|
100388
100505
|
}
|
|
100389
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
100506
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) != '6a708efd56628' && /*#__PURE__*/React.createElement("div", {
|
|
100390
100507
|
"class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 ',
|
|
100391
100508
|
style: {
|
|
100392
100509
|
// move to spo
|
|
@@ -100394,7 +100511,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100394
100511
|
// bottom: authdetailsContext?.instinfo?.contactinfo.instid == '682dfdcdb9720' && sectionproperties.image_mb == -1 ? 30 : 0,
|
|
100395
100512
|
// zIndex: 10,
|
|
100396
100513
|
}
|
|
100397
|
-
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100514
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '69de6dceab218' && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
|
|
100398
100515
|
return /*#__PURE__*/React.createElement("div", {
|
|
100399
100516
|
"class": "text-start d-flex align-items-center col-lg- p-0 mb-1"
|
|
100400
100517
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -100412,7 +100529,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100412
100529
|
fontWeight: 300
|
|
100413
100530
|
}
|
|
100414
100531
|
}, "-"));
|
|
100415
|
-
})), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100532
|
+
})), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '69de6dceab218' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '6a552697b2c62' && /*#__PURE__*/React.createElement("div", {
|
|
100416
100533
|
"class": "allcentered col-lg-12 p-0",
|
|
100417
100534
|
style: {
|
|
100418
100535
|
height: 40
|
|
@@ -100432,7 +100549,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100432
100549
|
color: sectionproperties.featurecolor,
|
|
100433
100550
|
fontSize: sectionproperties.featurefontsize + 'px'
|
|
100434
100551
|
}
|
|
100435
|
-
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100552
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68b87409b9a2a' && /*#__PURE__*/React.createElement("div", {
|
|
100436
100553
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
100437
100554
|
style: {
|
|
100438
100555
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -100471,8 +100588,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100471
100588
|
}, /*#__PURE__*/React.createElement("p", {
|
|
100472
100589
|
onClick: function onClick() {
|
|
100473
100590
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
100474
|
-
var _authdetailsContext$
|
|
100475
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100591
|
+
var _authdetailsContext$i14;
|
|
100592
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
100476
100593
|
setShowProductInfoModalContext(true);
|
|
100477
100594
|
setProductIdProdutInfoModalContext(item.productid);
|
|
100478
100595
|
} else {
|
|
@@ -100491,7 +100608,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100491
100608
|
style: {
|
|
100492
100609
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100493
100610
|
}
|
|
100494
|
-
}, item.name)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100611
|
+
}, item.name)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '6a552697b2c62' && /*#__PURE__*/React.createElement("div", {
|
|
100495
100612
|
"class": "text-start d-flex align-items-center col-lg-12 flex-row p-0 mb-1 mt-1"
|
|
100496
100613
|
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
|
|
100497
100614
|
if (ffindex < 2) {
|
|
@@ -100523,7 +100640,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100523
100640
|
}
|
|
100524
100641
|
})), langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar);
|
|
100525
100642
|
}
|
|
100526
|
-
}))), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags2 = item.producttags) === null || _item$producttags2 === void 0 ? void 0 : _item$producttags2.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100643
|
+
}))), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags2 = item.producttags) === null || _item$producttags2 === void 0 ? void 0 : _item$producttags2.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React.createElement("div", {
|
|
100527
100644
|
"class": "allcentered",
|
|
100528
100645
|
style: {
|
|
100529
100646
|
width: '100%',
|
|
@@ -100590,7 +100707,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100590
100707
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
100591
100708
|
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React.createElement("div", {
|
|
100592
100709
|
style: {}
|
|
100593
|
-
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100710
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
100594
100711
|
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
100595
100712
|
style: {
|
|
100596
100713
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -100691,7 +100808,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100691
100808
|
color: sectionproperties.quantitycolor,
|
|
100692
100809
|
fontWeight: sectionproperties.quantityfontweight
|
|
100693
100810
|
}
|
|
100694
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100811
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
100695
100812
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
100696
100813
|
}, /*#__PURE__*/React.createElement("div", {
|
|
100697
100814
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -100736,7 +100853,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100736
100853
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
100737
100854
|
}, /*#__PURE__*/React.createElement("i", {
|
|
100738
100855
|
"class": "h-100 allcentered addbtn"
|
|
100739
|
-
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100856
|
+
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React.createElement("div", {
|
|
100740
100857
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
100741
100858
|
style: {
|
|
100742
100859
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
@@ -100765,16 +100882,38 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100765
100882
|
}, /*#__PURE__*/React.createElement("p", {
|
|
100766
100883
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
100767
100884
|
onClick: function onClick() {
|
|
100768
|
-
var _authdetailsContext$
|
|
100769
|
-
if (
|
|
100770
|
-
|
|
100771
|
-
|
|
100885
|
+
var _authdetailsContext$i20;
|
|
100886
|
+
// if (authdetailsContext?.instinfo?.contactinfo.instid == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
100887
|
+
// setShowProductInfoModalContext(true);
|
|
100888
|
+
// setProductIdProdutInfoModalContext(item.productid);
|
|
100889
|
+
// } else {
|
|
100890
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '68527dfef348b') {
|
|
100891
|
+
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
100892
|
+
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
100893
|
+
addtocartfunc();
|
|
100772
100894
|
} else {
|
|
100773
|
-
var
|
|
100774
|
-
if (
|
|
100775
|
-
|
|
100776
|
-
} else
|
|
100777
|
-
|
|
100895
|
+
var productidtobesend = null;
|
|
100896
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
100897
|
+
productidtobesend = item.productendpointurl;
|
|
100898
|
+
} else {
|
|
100899
|
+
// productidtobesend = item.productid;
|
|
100900
|
+
productidtobesend = item;
|
|
100901
|
+
}
|
|
100902
|
+
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
100903
|
+
if (item.extrafieldsarray.length == 0) {
|
|
100904
|
+
addtocartfunc();
|
|
100905
|
+
} else {
|
|
100906
|
+
var _authdetailsContext$i21;
|
|
100907
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
100908
|
+
setShowProductInfoModalContext(true);
|
|
100909
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
100910
|
+
} else {
|
|
100911
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
100912
|
+
}
|
|
100913
|
+
}
|
|
100914
|
+
// addtocartfunc();
|
|
100915
|
+
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
100916
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
100778
100917
|
} else {
|
|
100779
100918
|
var productidtobesend = null;
|
|
100780
100919
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
@@ -100783,27 +100922,10 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100783
100922
|
// productidtobesend = item.productid;
|
|
100784
100923
|
productidtobesend = item;
|
|
100785
100924
|
}
|
|
100786
|
-
|
|
100787
|
-
if (item.extrafieldsarray.length == 0) {
|
|
100788
|
-
addtocartfunc();
|
|
100789
|
-
} else {
|
|
100790
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
100791
|
-
}
|
|
100792
|
-
// addtocartfunc();
|
|
100793
|
-
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
100794
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
100795
|
-
} else {
|
|
100796
|
-
var productidtobesend = null;
|
|
100797
|
-
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
100798
|
-
productidtobesend = item.productendpointurl;
|
|
100799
|
-
} else {
|
|
100800
|
-
// productidtobesend = item.productid;
|
|
100801
|
-
productidtobesend = item;
|
|
100802
|
-
}
|
|
100803
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
100804
|
-
}
|
|
100925
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
100805
100926
|
}
|
|
100806
100927
|
}
|
|
100928
|
+
// }
|
|
100807
100929
|
}
|
|
100808
100930
|
}, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React.createElement("div", {
|
|
100809
100931
|
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
@@ -100831,78 +100953,98 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100831
100953
|
}
|
|
100832
100954
|
}),
|
|
100833
100955
|
activeColor: "#ffd700"
|
|
100834
|
-
})))))
|
|
100835
|
-
"class": card_cssstyles.
|
|
100956
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6a708efd56628' && /*#__PURE__*/React.createElement("div", {
|
|
100957
|
+
"class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 allcentered ',
|
|
100836
100958
|
style: {}
|
|
100837
100959
|
}, /*#__PURE__*/React.createElement("div", {
|
|
100838
|
-
"class": "row m-0 w-100"
|
|
100839
|
-
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
100840
|
-
"class": "col-lg-3 col-md-4 p-0"
|
|
100841
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
100842
|
-
"class": card_cssstyles.icontainer + ' w-100 ',
|
|
100843
100960
|
style: {
|
|
100844
|
-
|
|
100961
|
+
width: '97%',
|
|
100962
|
+
borderRadius: 20
|
|
100963
|
+
},
|
|
100964
|
+
"class": "product-content px-3 py-5"
|
|
100965
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69de6dceab218' && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
|
|
100966
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
100967
|
+
"class": "text-start d-flex align-items-center col-lg- p-0 mb-1"
|
|
100968
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
100969
|
+
"class": "text-capitalize d-flex flex-row",
|
|
100970
|
+
style: {
|
|
100971
|
+
color: sectionproperties.featurecolor,
|
|
100972
|
+
fontSize: sectionproperties.featurefontsize + 'px',
|
|
100973
|
+
fontWeight: 300
|
|
100974
|
+
}
|
|
100975
|
+
}, langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar), ffindex < (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) - 1 && /*#__PURE__*/React.createElement("span", {
|
|
100976
|
+
"class": "mx-2 ",
|
|
100977
|
+
style: {
|
|
100978
|
+
color: sectionproperties.featurecolor,
|
|
100979
|
+
fontSize: sectionproperties.featurefontsize + 'px',
|
|
100980
|
+
fontWeight: 300
|
|
100981
|
+
}
|
|
100982
|
+
}, "-"));
|
|
100983
|
+
})), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) != '69de6dceab218' && /*#__PURE__*/React.createElement("div", {
|
|
100984
|
+
"class": "allcentered col-lg-12 p-0",
|
|
100985
|
+
style: {
|
|
100986
|
+
height: 40
|
|
100845
100987
|
}
|
|
100846
|
-
},
|
|
100847
|
-
|
|
100988
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
100989
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
100990
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
100991
|
+
path: item === null || item === void 0 ? void 0 : item.feature_image_url,
|
|
100992
|
+
loading: "lazy",
|
|
100848
100993
|
style: {
|
|
100849
|
-
|
|
100850
|
-
|
|
100851
|
-
|
|
100852
|
-
|
|
100853
|
-
|
|
100854
|
-
|
|
100855
|
-
|
|
100856
|
-
|
|
100857
|
-
|
|
100858
|
-
|
|
100994
|
+
maxWidth: '50%',
|
|
100995
|
+
maxHeight: '50%'
|
|
100996
|
+
}
|
|
100997
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
100998
|
+
"class": "text-capitalize mx-2",
|
|
100999
|
+
style: {
|
|
101000
|
+
color: sectionproperties.featurecolor,
|
|
101001
|
+
fontSize: sectionproperties.featurefontsize + 'px'
|
|
101002
|
+
}
|
|
101003
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68b87409b9a2a' && /*#__PURE__*/React.createElement("div", {
|
|
101004
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
101005
|
+
style: {
|
|
101006
|
+
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
100859
101007
|
}
|
|
100860
101008
|
}, /*#__PURE__*/React.createElement("p", {
|
|
100861
101009
|
"class": "m-0 p-0",
|
|
100862
101010
|
style: {
|
|
100863
|
-
|
|
100864
|
-
|
|
101011
|
+
width: 8,
|
|
101012
|
+
height: 8,
|
|
101013
|
+
borderRadius: 100,
|
|
101014
|
+
background: 'green'
|
|
100865
101015
|
}
|
|
100866
|
-
}
|
|
101016
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
101017
|
+
"class": 'm-0 mx-2 p-0',
|
|
100867
101018
|
style: {
|
|
100868
|
-
|
|
100869
|
-
|
|
100870
|
-
|
|
100871
|
-
// right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
|
|
100872
|
-
zIndex: 3
|
|
101019
|
+
color: 'green',
|
|
101020
|
+
fontSize: 13,
|
|
101021
|
+
fontWeight: 400
|
|
100873
101022
|
}
|
|
100874
|
-
},
|
|
100875
|
-
"class":
|
|
100876
|
-
|
|
100877
|
-
var _sectionproperties$se2;
|
|
100878
|
-
if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
|
|
100879
|
-
var _authdetailsContext$i21;
|
|
100880
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
100881
|
-
e.stopPropagation();
|
|
100882
|
-
setShowProductInfoModalContext(true);
|
|
100883
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
100884
|
-
} else {
|
|
100885
|
-
e.stopPropagation();
|
|
100886
|
-
var productidtobesend = null;
|
|
100887
|
-
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
100888
|
-
productidtobesend = item.productendpointurl;
|
|
100889
|
-
} else {
|
|
100890
|
-
// productidtobesend = item.productid;
|
|
100891
|
-
productidtobesend = item;
|
|
100892
|
-
}
|
|
100893
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
100894
|
-
}
|
|
100895
|
-
}
|
|
100896
|
-
},
|
|
101023
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
101024
|
+
"class": "col-lg-12 p-0 d-flex align-items-center mb-1 flex-row"
|
|
101025
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
100897
101026
|
style: {
|
|
100898
|
-
|
|
101027
|
+
width: 40,
|
|
101028
|
+
height: 40,
|
|
101029
|
+
borderRadius: 100,
|
|
101030
|
+
border: '1px solid #ccc'
|
|
100899
101031
|
}
|
|
100900
|
-
},
|
|
100901
|
-
|
|
100902
|
-
|
|
100903
|
-
|
|
100904
|
-
|
|
100905
|
-
|
|
101032
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
101033
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
101034
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
101035
|
+
path: item.vendorlogo,
|
|
101036
|
+
loading: "lazy",
|
|
101037
|
+
style: {
|
|
101038
|
+
width: '100%',
|
|
101039
|
+
height: '100%'
|
|
101040
|
+
}
|
|
101041
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
101042
|
+
"class": "m-0 p-0 px-2",
|
|
101043
|
+
style: {
|
|
101044
|
+
color: '#000',
|
|
101045
|
+
fontSize: 13
|
|
101046
|
+
}
|
|
101047
|
+
}, item.vendorname)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
100906
101048
|
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
100907
101049
|
style: {
|
|
100908
101050
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
@@ -100921,45 +101063,22 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100921
101063
|
}, /*#__PURE__*/React.createElement("p", {
|
|
100922
101064
|
onClick: function onClick() {
|
|
100923
101065
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
100924
|
-
var
|
|
100925
|
-
if (
|
|
100926
|
-
|
|
100927
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
101066
|
+
var productidtobesend = null;
|
|
101067
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101068
|
+
productidtobesend = item.productendpointurl;
|
|
100928
101069
|
} else {
|
|
100929
|
-
|
|
100930
|
-
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
100931
|
-
productidtobesend = item.productendpointurl;
|
|
100932
|
-
} else {
|
|
100933
|
-
// productidtobesend = item.productid;
|
|
100934
|
-
productidtobesend = item;
|
|
100935
|
-
}
|
|
100936
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101070
|
+
productidtobesend = item.productid;
|
|
100937
101071
|
}
|
|
101072
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
100938
101073
|
}
|
|
100939
101074
|
},
|
|
100940
|
-
"class": sectionproperties.wordbreak == '1' ?
|
|
101075
|
+
"class": sectionproperties.wordbreak == '1' ?
|
|
101076
|
+
// move to spo
|
|
101077
|
+
"".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 wordbreak-md-4 m-0 pname ',
|
|
100941
101078
|
style: {
|
|
100942
101079
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100943
101080
|
}
|
|
100944
|
-
}, item.name)), (item === null || item === void 0 ? void 0 : item.
|
|
100945
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
100946
|
-
"class": "text-start d-flex align-items-center col-lg-12 p-0 mb-1"
|
|
100947
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
100948
|
-
"class": "text-capitalize d-flex flex-row",
|
|
100949
|
-
style: {
|
|
100950
|
-
color: sectionproperties.featurecolor,
|
|
100951
|
-
fontSize: sectionproperties.featurefontsize + 'px',
|
|
100952
|
-
fontWeight: 300
|
|
100953
|
-
}
|
|
100954
|
-
}, langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar), ffindex < (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) - 1 && /*#__PURE__*/React.createElement("span", {
|
|
100955
|
-
"class": "mx-2 ",
|
|
100956
|
-
style: {
|
|
100957
|
-
color: sectionproperties.featurecolor,
|
|
100958
|
-
fontSize: sectionproperties.featurefontsize + 'px',
|
|
100959
|
-
fontWeight: 300
|
|
100960
|
-
}
|
|
100961
|
-
}, "-"));
|
|
100962
|
-
})), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags3 = item.producttags) === null || _item$producttags3 === void 0 ? void 0 : _item$producttags3.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React.createElement("div", {
|
|
101081
|
+
}, item.name)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags3 = item.producttags) === null || _item$producttags3 === void 0 ? void 0 : _item$producttags3.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React.createElement("div", {
|
|
100963
101082
|
"class": "allcentered",
|
|
100964
101083
|
style: {
|
|
100965
101084
|
width: '100%',
|
|
@@ -101016,17 +101135,33 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101016
101135
|
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? ' d-flex align-items-center p-0 mb-0 flex-row ' : ' d-flex align-items-center p-0 mb-0 flex-column ',
|
|
101017
101136
|
style: {
|
|
101018
101137
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
101019
|
-
minHeight: sectionproperties.priceDirection == 'Horizontal Direction' ? '' : '
|
|
101138
|
+
minHeight: sectionproperties.priceDirection == 'Horizontal Direction' ? '' : '10.5vh'
|
|
101020
101139
|
}
|
|
101021
101140
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
101022
|
-
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 ' : "".concat(card_cssstyles.productPricestyles) + ' m-0
|
|
101141
|
+
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 w-100' : "".concat(card_cssstyles.productPricestyles) + ' m-0 w-100'
|
|
101023
101142
|
}, langdetect == 'en' ? item.currencyname : '', " ", has_sale == 1 ? sale_price : price, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && has_sale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
101024
|
-
"class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 ' : ' d-flex align-items-center p-0 mb-0'
|
|
101143
|
+
"class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 w-100 text-start ' : ' d-flex align-items-center p-0 mb-0 w-100 text-start '
|
|
101025
101144
|
}, /*#__PURE__*/React.createElement("p", {
|
|
101026
|
-
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0
|
|
101027
|
-
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)
|
|
101145
|
+
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 '
|
|
101146
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname), /*#__PURE__*/React.createElement("div", {
|
|
101147
|
+
"class": ' px-2 allcentered mx-2',
|
|
101148
|
+
style: {
|
|
101149
|
+
width: 100,
|
|
101150
|
+
height: sectionproperties.pillheight + 'px',
|
|
101151
|
+
background: '#F9E1E0',
|
|
101152
|
+
borderRadius: 100
|
|
101153
|
+
}
|
|
101154
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101155
|
+
"class": "m-0 p-0",
|
|
101156
|
+
style: {
|
|
101157
|
+
color: '#7D0808',
|
|
101158
|
+
fontSize: '15px',
|
|
101159
|
+
direction: 'ltr',
|
|
101160
|
+
fontWeight: 600
|
|
101161
|
+
}
|
|
101162
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(price) - parseInt(sale_price)) / parseInt(price)) * 100) / 10.0).toFixed(0) + '%'))), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React.createElement("div", {
|
|
101028
101163
|
style: {}
|
|
101029
|
-
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101164
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
101030
101165
|
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
101031
101166
|
style: {
|
|
101032
101167
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -101127,7 +101262,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101127
101262
|
color: sectionproperties.quantitycolor,
|
|
101128
101263
|
fontWeight: sectionproperties.quantityfontweight
|
|
101129
101264
|
}
|
|
101130
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101265
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101131
101266
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
101132
101267
|
}, /*#__PURE__*/React.createElement("div", {
|
|
101133
101268
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -101172,7 +101307,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101172
101307
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101173
101308
|
}, /*#__PURE__*/React.createElement("i", {
|
|
101174
101309
|
"class": "h-100 allcentered addbtn"
|
|
101175
|
-
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101310
|
+
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React.createElement("div", {
|
|
101176
101311
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
101177
101312
|
style: {
|
|
101178
101313
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
@@ -101201,18 +101336,116 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101201
101336
|
}, /*#__PURE__*/React.createElement("p", {
|
|
101202
101337
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
101203
101338
|
onClick: function onClick() {
|
|
101204
|
-
var _authdetailsContext$
|
|
101205
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101206
|
-
|
|
101207
|
-
|
|
101339
|
+
var _authdetailsContext$i31;
|
|
101340
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68527dfef348b') {
|
|
101341
|
+
// alert(item.path);
|
|
101342
|
+
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
101343
|
+
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
101344
|
+
addtocartfunc();
|
|
101208
101345
|
} else {
|
|
101209
|
-
var
|
|
101210
|
-
if (
|
|
101211
|
-
|
|
101212
|
-
|
|
101213
|
-
|
|
101214
|
-
|
|
101346
|
+
var productidtobesend = null;
|
|
101347
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101348
|
+
productidtobesend = item.productendpointurl;
|
|
101349
|
+
} else {
|
|
101350
|
+
productidtobesend = item.productid;
|
|
101351
|
+
}
|
|
101352
|
+
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
101353
|
+
if (item.extrafieldsarray.length == 0) {
|
|
101354
|
+
addtocartfunc();
|
|
101355
|
+
} else {
|
|
101356
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101357
|
+
}
|
|
101358
|
+
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
101359
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101360
|
+
} else {
|
|
101361
|
+
var productidtobesend = null;
|
|
101362
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101363
|
+
productidtobesend = item.productendpointurl;
|
|
101364
|
+
} else {
|
|
101365
|
+
productidtobesend = item.productid;
|
|
101366
|
+
}
|
|
101367
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101368
|
+
}
|
|
101369
|
+
}
|
|
101370
|
+
}
|
|
101371
|
+
}, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React.createElement("div", {
|
|
101372
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
101373
|
+
style: {
|
|
101374
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101375
|
+
}
|
|
101376
|
+
}, /*#__PURE__*/React.createElement(ReactStars, {
|
|
101377
|
+
count: 5,
|
|
101378
|
+
value: item.productoverallrate,
|
|
101379
|
+
edit: false,
|
|
101380
|
+
size: 16,
|
|
101381
|
+
emptyIcon: /*#__PURE__*/React.createElement("i", {
|
|
101382
|
+
className: "far fa-star",
|
|
101383
|
+
style: {
|
|
101384
|
+
color: '#cccccc'
|
|
101385
|
+
}
|
|
101386
|
+
}),
|
|
101387
|
+
halfIcon: /*#__PURE__*/React.createElement("i", {
|
|
101388
|
+
className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
|
|
101389
|
+
}),
|
|
101390
|
+
filledIcon: /*#__PURE__*/React.createElement("i", {
|
|
101391
|
+
className: "fa fa-star",
|
|
101392
|
+
style: {
|
|
101393
|
+
color: '#FAB400'
|
|
101394
|
+
}
|
|
101395
|
+
}),
|
|
101396
|
+
activeColor: "#ffd700"
|
|
101397
|
+
})))))), cardsinglerow == 'single' && /*#__PURE__*/React.createElement("div", {
|
|
101398
|
+
"class": card_cssstyles.cardconttt + ' cursor-pointer w-100 p-2',
|
|
101399
|
+
style: {}
|
|
101400
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101401
|
+
"class": "row m-0 w-100"
|
|
101402
|
+
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
101403
|
+
"class": "col-lg-3 col-md-4 p-0"
|
|
101404
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101405
|
+
"class": card_cssstyles.icontainer + ' w-100 ',
|
|
101406
|
+
style: {
|
|
101407
|
+
position: 'relative'
|
|
101408
|
+
}
|
|
101409
|
+
}, (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101410
|
+
"class": "allcentered",
|
|
101411
|
+
style: {
|
|
101412
|
+
zIndex: 2,
|
|
101413
|
+
position: 'absolute',
|
|
101414
|
+
top: sectionproperties.badgeposition == 'Top' ? sectionproperties.badge_top + 'px' : '',
|
|
101415
|
+
bottom: sectionproperties.badgeposition == 'Bottom' ? sectionproperties.badge_top + 'px' : '',
|
|
101416
|
+
left: sectionproperties.badge_right + 'px',
|
|
101417
|
+
// right: langdetect == 'en' ? '' : sectionproperties.badge_right + 'px',
|
|
101418
|
+
width: sectionproperties.badge_width == 0 ? '90%' : sectionproperties.badge_width + 'px',
|
|
101419
|
+
height: sectionproperties.badge_height + 'px',
|
|
101420
|
+
background: sectionproperties.badge_bgcolor,
|
|
101421
|
+
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
101422
|
+
}
|
|
101423
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101424
|
+
"class": "m-0 p-0",
|
|
101425
|
+
style: {
|
|
101426
|
+
color: sectionproperties.badge_color,
|
|
101427
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
101428
|
+
}
|
|
101429
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Top' && /*#__PURE__*/React.createElement("div", {
|
|
101430
|
+
style: {
|
|
101431
|
+
position: 'absolute',
|
|
101432
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
101433
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
101434
|
+
// right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
|
|
101435
|
+
zIndex: 3
|
|
101436
|
+
}
|
|
101437
|
+
}, PillContainer()), /*#__PURE__*/React.createElement("div", {
|
|
101438
|
+
"class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$8.imagecontainer) + ' d-flex ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex ',
|
|
101439
|
+
onClick: function onClick(e) {
|
|
101440
|
+
var _sectionproperties$se2;
|
|
101441
|
+
if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
|
|
101442
|
+
var _authdetailsContext$i32;
|
|
101443
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
101444
|
+
e.stopPropagation();
|
|
101445
|
+
setShowProductInfoModalContext(true);
|
|
101446
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
101215
101447
|
} else {
|
|
101448
|
+
e.stopPropagation();
|
|
101216
101449
|
var productidtobesend = null;
|
|
101217
101450
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101218
101451
|
productidtobesend = item.productendpointurl;
|
|
@@ -101220,25 +101453,360 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101220
101453
|
// productidtobesend = item.productid;
|
|
101221
101454
|
productidtobesend = item;
|
|
101222
101455
|
}
|
|
101223
|
-
|
|
101224
|
-
|
|
101225
|
-
|
|
101456
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101457
|
+
}
|
|
101458
|
+
}
|
|
101459
|
+
},
|
|
101460
|
+
style: {
|
|
101461
|
+
borderRadius: sectionproperties.image_bordertopleftradius + 'px'
|
|
101462
|
+
}
|
|
101463
|
+
}, Image('normal')))), /*#__PURE__*/React.createElement("div", {
|
|
101464
|
+
"class": "col-lg-9 col-md-8"
|
|
101465
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101466
|
+
"class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 ',
|
|
101467
|
+
style: {}
|
|
101468
|
+
}, sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
101469
|
+
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
101470
|
+
style: {
|
|
101471
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
101472
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px',
|
|
101473
|
+
color: sectionproperties.measurementunitcolor
|
|
101474
|
+
}
|
|
101475
|
+
}, item.measurmentunit), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101476
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
101477
|
+
style: {
|
|
101478
|
+
minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh',
|
|
101479
|
+
background: sectionproperties.prodNameBackgroundColor,
|
|
101480
|
+
borderRadius: '15px',
|
|
101481
|
+
paddingTop: sectionproperties.productnamepaddingvertical + 'px',
|
|
101482
|
+
paddingBottom: sectionproperties.productnamepaddingvertical + 'px'
|
|
101483
|
+
}
|
|
101484
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101485
|
+
onClick: function onClick() {
|
|
101486
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
101487
|
+
var _authdetailsContext$i33;
|
|
101488
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
101489
|
+
setShowProductInfoModalContext(true);
|
|
101490
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
101491
|
+
} else {
|
|
101492
|
+
var productidtobesend = null;
|
|
101493
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101494
|
+
productidtobesend = item.productendpointurl;
|
|
101495
|
+
} else {
|
|
101496
|
+
// productidtobesend = item.productid;
|
|
101497
|
+
productidtobesend = item;
|
|
101498
|
+
}
|
|
101499
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101500
|
+
}
|
|
101501
|
+
}
|
|
101502
|
+
},
|
|
101503
|
+
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 wordbreak-md-4 m-0 pname ',
|
|
101504
|
+
style: {
|
|
101505
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
101506
|
+
}
|
|
101507
|
+
}, item.name)), (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '6a552697b2c62' && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
|
|
101508
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
101509
|
+
"class": "text-start d-flex align-items-center col-lg-12 p-0 mb-1"
|
|
101510
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101511
|
+
"class": "text-capitalize d-flex flex-row",
|
|
101512
|
+
style: {
|
|
101513
|
+
color: sectionproperties.featurecolor,
|
|
101514
|
+
fontSize: sectionproperties.featurefontsize + 'px',
|
|
101515
|
+
fontWeight: 300
|
|
101516
|
+
}
|
|
101517
|
+
}, langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar), ffindex < (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) - 1 && /*#__PURE__*/React.createElement("span", {
|
|
101518
|
+
"class": "mx-2 ",
|
|
101519
|
+
style: {
|
|
101520
|
+
color: sectionproperties.featurecolor,
|
|
101521
|
+
fontSize: sectionproperties.featurefontsize + 'px',
|
|
101522
|
+
fontWeight: 300
|
|
101523
|
+
}
|
|
101524
|
+
}, "-"));
|
|
101525
|
+
})), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags4 = item.producttags) === null || _item$producttags4 === void 0 ? void 0 : _item$producttags4.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React.createElement("div", {
|
|
101526
|
+
"class": "allcentered",
|
|
101527
|
+
style: {
|
|
101528
|
+
width: '100%',
|
|
101529
|
+
left: 0,
|
|
101530
|
+
right: 0,
|
|
101531
|
+
zIndex: 100
|
|
101532
|
+
}
|
|
101533
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101534
|
+
"class": "px-3 py-1",
|
|
101535
|
+
style: {
|
|
101536
|
+
width: 'fit-content',
|
|
101537
|
+
background: sectionproperties.tagbackgroundcolor,
|
|
101538
|
+
borderRadius: sectionproperties.tagborderradius + 'px',
|
|
101539
|
+
color: sectionproperties.tagcolor,
|
|
101540
|
+
fontSize: 12
|
|
101541
|
+
}
|
|
101542
|
+
}, item === null || item === void 0 || (_item$producttags$4 = item.producttags[0]) === null || _item$producttags$4 === void 0 || (_item$producttags$4 = _item$producttags$4.taginfo) === null || _item$producttags$4 === void 0 ? void 0 : _item$producttags$4.tagname)), sectionproperties.showSKU == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101543
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
101544
|
+
style: {}
|
|
101545
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101546
|
+
"class": "".concat(card_cssstyles.sku) + ' wordbreak wordbreak1 font-md-13 m-0 ',
|
|
101547
|
+
style: {
|
|
101548
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
101549
|
+
}
|
|
101550
|
+
}, langdetect == 'en' ? 'SKU: ' : 'كود: ', item.sku)), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'No' && /*#__PURE__*/React.createElement("p", {
|
|
101551
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
|
|
101552
|
+
style: {
|
|
101553
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
101554
|
+
},
|
|
101555
|
+
dangerouslySetInnerHTML: {
|
|
101556
|
+
__html: item.shortdescription
|
|
101557
|
+
}
|
|
101558
|
+
}), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React.createElement("p", {
|
|
101559
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak p-0 mt-1 ',
|
|
101560
|
+
style: {
|
|
101561
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
101562
|
+
}
|
|
101563
|
+
}, plainString(item.shortdescription)), /*#__PURE__*/React.createElement("div", {
|
|
101564
|
+
style: {
|
|
101565
|
+
flexDirection: 'column',
|
|
101566
|
+
display: sectionproperties.prodPriceShow == 'Hide' && sectionproperties.showprofitcontainer == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.prodsalePriceshow == 'Hide' ? 'none' : 'flex'
|
|
101567
|
+
},
|
|
101568
|
+
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 mt-1 "
|
|
101569
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101570
|
+
"class": "row m-0 w-100 "
|
|
101571
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101572
|
+
"class": " d-flex flex-row col-lg-12 mx-0 p-0 align-items-center ",
|
|
101573
|
+
style: {
|
|
101574
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
101575
|
+
marginTop: sectionproperties.productpricemarginTop + 'px',
|
|
101576
|
+
marginBottom: sectionproperties.productpricemarginBottom + 'px'
|
|
101577
|
+
}
|
|
101578
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101579
|
+
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? ' d-flex align-items-center p-0 mb-0 flex-row ' : ' d-flex align-items-center p-0 mb-0 flex-column ',
|
|
101580
|
+
style: {
|
|
101581
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
101582
|
+
minHeight: sectionproperties.priceDirection == 'Horizontal Direction' ? '' : '6.5vh'
|
|
101583
|
+
}
|
|
101584
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
101585
|
+
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 '
|
|
101586
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", has_sale == 1 ? sale_price : price, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && has_sale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
101587
|
+
"class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 ' : ' d-flex align-items-center p-0 mb-0'
|
|
101588
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101589
|
+
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
101590
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React.createElement("div", {
|
|
101591
|
+
style: {}
|
|
101592
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
101593
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
101594
|
+
style: {
|
|
101595
|
+
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
101596
|
+
}
|
|
101597
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101598
|
+
"class": "m-0 p-0",
|
|
101599
|
+
style: {
|
|
101600
|
+
width: 8,
|
|
101601
|
+
height: 8,
|
|
101602
|
+
borderRadius: 100,
|
|
101603
|
+
background: 'green'
|
|
101604
|
+
}
|
|
101605
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
101606
|
+
"class": 'm-0 mx-2 p-0',
|
|
101607
|
+
style: {
|
|
101608
|
+
color: 'green',
|
|
101609
|
+
fontSize: 13,
|
|
101610
|
+
fontWeight: 400
|
|
101611
|
+
}
|
|
101612
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.showvariantscont == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101613
|
+
"class": "col-12 p-0"
|
|
101614
|
+
}, /*#__PURE__*/React.createElement(Variants_J_Cards, {
|
|
101615
|
+
actions: {
|
|
101616
|
+
sectionproperties: sectionproperties,
|
|
101617
|
+
item: item,
|
|
101618
|
+
cardonclickfunctionContext: cardonclickfunctionContext,
|
|
101619
|
+
fetchingtypeprops: props.fetchingtypeprops
|
|
101620
|
+
},
|
|
101621
|
+
foundMatchedVariantFunc: function foundMatchedVariantFunc(variantCompletedObj) {
|
|
101622
|
+
// alert(JSON.stringify(variantCompletedObj));
|
|
101623
|
+
// console.log(variantCompletedObj);
|
|
101624
|
+
setvariantObj(variantCompletedObj);
|
|
101625
|
+
var variant_price = 0;
|
|
101626
|
+
var variant_saleprice = 0;
|
|
101627
|
+
var variant_hassale = 0;
|
|
101628
|
+
var is_found = false;
|
|
101629
|
+
if (variantCompletedObj != null && variantCompletedObj != undefined) {
|
|
101630
|
+
var _variantCompletedObj$19;
|
|
101631
|
+
if (variantCompletedObj.variant_prices != undefined && variantCompletedObj != null && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$19 = variantCompletedObj.variant_prices) === null || _variantCompletedObj$19 === void 0 ? void 0 : _variantCompletedObj$19.length) != 0) {
|
|
101632
|
+
var _variantCompletedObj$20, _variantCompletedObj$21, _variantCompletedObj$23, _variantCompletedObj$24, _variantCompletedObj$26, _variantCompletedObj$27;
|
|
101633
|
+
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$20 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$20 === void 0 ? void 0 : _variantCompletedObj$20.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$21 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$21 === void 0 ? void 0 : _variantCompletedObj$21.price) != null) {
|
|
101634
|
+
var _variantCompletedObj$22;
|
|
101635
|
+
variant_price = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$22 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$22 === void 0 ? void 0 : _variantCompletedObj$22.price;
|
|
101636
|
+
is_found = true;
|
|
101637
|
+
}
|
|
101638
|
+
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$23 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$23 === void 0 ? void 0 : _variantCompletedObj$23.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$24 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$24 === void 0 ? void 0 : _variantCompletedObj$24.price) != null) {
|
|
101639
|
+
var _variantCompletedObj$25;
|
|
101640
|
+
variant_saleprice = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$25 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$25 === void 0 ? void 0 : _variantCompletedObj$25.saleprice;
|
|
101641
|
+
}
|
|
101642
|
+
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$26 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$26 === void 0 ? void 0 : _variantCompletedObj$26.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$27 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$27 === void 0 ? void 0 : _variantCompletedObj$27.price) != null) {
|
|
101643
|
+
var _variantCompletedObj$28;
|
|
101644
|
+
variant_hassale = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$28 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$28 === void 0 ? void 0 : _variantCompletedObj$28.hassale;
|
|
101645
|
+
}
|
|
101646
|
+
}
|
|
101647
|
+
}
|
|
101648
|
+
if (is_found) {
|
|
101649
|
+
setprice(variant_price);
|
|
101650
|
+
setsale_price(variant_saleprice);
|
|
101651
|
+
sethas_sale(variant_hassale);
|
|
101652
|
+
}
|
|
101653
|
+
},
|
|
101654
|
+
foundImageColorMatchingFunc: function foundImageColorMatchingFunc(variantIMAGECompletedObj) {
|
|
101655
|
+
setVariant_Color_ImageObj(variantIMAGECompletedObj);
|
|
101656
|
+
}
|
|
101657
|
+
})), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101658
|
+
"class": "col-lg-12 p-0",
|
|
101659
|
+
style: {
|
|
101660
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101661
|
+
}
|
|
101662
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101663
|
+
"class": card_cssstyles.profitcontainer + ' d-flex align-items-center flex-sm-column px-2',
|
|
101664
|
+
style: {
|
|
101665
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101666
|
+
}
|
|
101667
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101668
|
+
"class": ' m-0 p-0 d-flex align-items-center ',
|
|
101669
|
+
style: {
|
|
101670
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101671
|
+
}
|
|
101672
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
101673
|
+
style: {
|
|
101674
|
+
fontWeight: sectionproperties.profitcontainerfontweight
|
|
101675
|
+
}
|
|
101676
|
+
}, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React.createElement("span", {
|
|
101677
|
+
"class": "mx-1",
|
|
101678
|
+
style: {
|
|
101679
|
+
fontWeight: sectionproperties.profitcontainersecondaryfontweight
|
|
101680
|
+
}
|
|
101681
|
+
}, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(has_sale == 1 ? sale_price : price) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.quantityshow == 'Show' && item.currentquantity > 0 && /*#__PURE__*/React.createElement("div", {
|
|
101682
|
+
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
101683
|
+
style: {
|
|
101684
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101685
|
+
}
|
|
101686
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101687
|
+
"class": "m-0 p-0",
|
|
101688
|
+
style: {
|
|
101689
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
101690
|
+
color: sectionproperties.quantitycolor,
|
|
101691
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
101692
|
+
}
|
|
101693
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101694
|
+
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
101695
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101696
|
+
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
101697
|
+
style: {
|
|
101698
|
+
direction: 'ltr'
|
|
101699
|
+
}
|
|
101700
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
101701
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
101702
|
+
onClick: function onClick() {
|
|
101703
|
+
var tempitem = _objectSpread$6({}, item);
|
|
101704
|
+
tempitem.quantity = parseInt(tempitem.quantity);
|
|
101705
|
+
tempitem.quantity = tempitem.quantity - 1;
|
|
101706
|
+
if (tempitem.quantity <= 0) {
|
|
101707
|
+
tempitem.quantity = 0;
|
|
101708
|
+
}
|
|
101709
|
+
setitem(_objectSpread$6({}, tempitem));
|
|
101710
|
+
// addtocartfuncquantity('add', tempitem.quantity);
|
|
101711
|
+
},
|
|
101712
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101713
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
101714
|
+
"class": "h-100 allcentered minusbtn"
|
|
101715
|
+
}, /*#__PURE__*/React.createElement(FiMinus, null))), /*#__PURE__*/React.createElement("span", {
|
|
101716
|
+
"class": ' d-flex align-items-center justify-content-center ',
|
|
101717
|
+
style: {
|
|
101718
|
+
fontSize: 14,
|
|
101719
|
+
fontWeight: 500,
|
|
101720
|
+
color: sectionproperties.cartBtnbgColor,
|
|
101721
|
+
flex: 1
|
|
101722
|
+
}
|
|
101723
|
+
}, addtocartbuttonrenderquantity()), /*#__PURE__*/React.createElement("button", {
|
|
101724
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
101725
|
+
onClick: function onClick() {
|
|
101726
|
+
var tempitem = _objectSpread$6({}, item);
|
|
101727
|
+
tempitem.quantity = parseInt(tempitem.quantity);
|
|
101728
|
+
tempitem.quantity = tempitem.quantity + 1;
|
|
101729
|
+
if (tempitem.quantity <= 0) {
|
|
101730
|
+
tempitem.quantity = 0;
|
|
101731
|
+
}
|
|
101732
|
+
setitem(_objectSpread$6({}, tempitem));
|
|
101733
|
+
// addtocartfuncquantity('add', tempitem.quantity);
|
|
101734
|
+
},
|
|
101735
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101736
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
101737
|
+
"class": "h-100 allcentered addbtn"
|
|
101738
|
+
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React.createElement("div", {
|
|
101739
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
101740
|
+
style: {
|
|
101741
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
101742
|
+
visibility: item.quantavailtype == 'nolimit' ? 'visible' : item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
101743
|
+
}
|
|
101744
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101745
|
+
"class": "m-0 p-0",
|
|
101746
|
+
style: {
|
|
101747
|
+
width: 8,
|
|
101748
|
+
height: 8,
|
|
101749
|
+
borderRadius: 100,
|
|
101750
|
+
background: 'green'
|
|
101751
|
+
}
|
|
101752
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
101753
|
+
"class": 'm-0 mx-2 p-0',
|
|
101754
|
+
style: {
|
|
101755
|
+
color: 'green',
|
|
101756
|
+
fontSize: 13,
|
|
101757
|
+
fontWeight: 400
|
|
101758
|
+
}
|
|
101759
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101760
|
+
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
101761
|
+
style: {
|
|
101762
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101763
|
+
}
|
|
101764
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101765
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
101766
|
+
onClick: function onClick() {
|
|
101767
|
+
var _authdetailsContext$i39;
|
|
101768
|
+
// if (authdetailsContext?.instinfo?.contactinfo.instid == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
101769
|
+
// setShowProductInfoModalContext(true);
|
|
101770
|
+
// setProductIdProdutInfoModalContext(item.productid);
|
|
101771
|
+
// } else {
|
|
101772
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '68527dfef348b') {
|
|
101773
|
+
// alert(item.path);
|
|
101774
|
+
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
101775
|
+
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
101776
|
+
addtocartfunc();
|
|
101777
|
+
} else {
|
|
101778
|
+
var productidtobesend = null;
|
|
101779
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101780
|
+
productidtobesend = item.productendpointurl;
|
|
101781
|
+
} else {
|
|
101782
|
+
// productidtobesend = item.productid;
|
|
101783
|
+
productidtobesend = item;
|
|
101784
|
+
}
|
|
101785
|
+
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
101786
|
+
if (item.extrafieldsarray.length == 0) {
|
|
101787
|
+
addtocartfunc();
|
|
101788
|
+
} else {
|
|
101789
|
+
var _authdetailsContext$i40;
|
|
101790
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
101791
|
+
setShowProductInfoModalContext(true);
|
|
101792
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
101226
101793
|
} else {
|
|
101227
101794
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101228
101795
|
}
|
|
101229
|
-
}
|
|
101230
|
-
|
|
101796
|
+
}
|
|
101797
|
+
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
101798
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101799
|
+
} else {
|
|
101800
|
+
var productidtobesend = null;
|
|
101801
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101802
|
+
productidtobesend = item.productendpointurl;
|
|
101231
101803
|
} else {
|
|
101232
|
-
|
|
101233
|
-
|
|
101234
|
-
productidtobesend = item.productendpointurl;
|
|
101235
|
-
} else {
|
|
101236
|
-
// productidtobesend = item.productid;
|
|
101237
|
-
productidtobesend = item;
|
|
101238
|
-
}
|
|
101239
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101804
|
+
// productidtobesend = item.productid;
|
|
101805
|
+
productidtobesend = item;
|
|
101240
101806
|
}
|
|
101807
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101241
101808
|
}
|
|
101809
|
+
// }
|
|
101242
101810
|
}
|
|
101243
101811
|
}
|
|
101244
101812
|
}, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React.createElement("div", {
|