tabexseriescomponents 0.0.796 → 0.0.797
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 +206 -171
- package/dist/index.esm.js +206 -171
- package/dist/index.umd.js +206 -171
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -18677,6 +18677,7 @@
|
|
|
18677
18677
|
cardobj.hasvariants = arrayItem.productinfo.hasvariants;
|
|
18678
18678
|
cardobj.description_en = arrayItem.productinfo.description_en;
|
|
18679
18679
|
cardobj.description_ar = arrayItem.productinfo.description_ar;
|
|
18680
|
+
cardobj.productmainimage = arrayItem.productinfo.productmainimage;
|
|
18680
18681
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
18681
18682
|
cardobj.defaultprice = parseFloat(Number(arrayItem.productinfo.defaultprice).toFixed(2));
|
|
18682
18683
|
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
@@ -67529,165 +67530,171 @@
|
|
|
67529
67530
|
}
|
|
67530
67531
|
}, langdetect == 'en' ? 'SHOP' : 'تسوق', ' ')));
|
|
67531
67532
|
};
|
|
67532
|
-
|
|
67533
|
-
"class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
|
|
67534
|
-
style: {
|
|
67535
|
-
background: sectionproperties.lower_section_background
|
|
67536
|
-
}
|
|
67537
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67538
|
-
"class": 'col-lg-12 p-0 d-flex justify-content-center'
|
|
67539
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67540
|
-
"class": slideshow_styles.contt,
|
|
67541
|
-
style: {
|
|
67542
|
-
// height: sectionproperties.height + 'vh',
|
|
67543
|
-
}
|
|
67544
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Fade, _extends__default["default"]({}, Slideshowsettings, {
|
|
67545
|
-
transitionDuration: 1500,
|
|
67546
|
-
duration: 1500,
|
|
67547
|
-
arrow: true,
|
|
67548
|
-
easing: "ease"
|
|
67549
|
-
}), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
67533
|
+
var SlideshowallContent = function SlideshowallContent() {
|
|
67550
67534
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67551
|
-
"class":
|
|
67535
|
+
"class": slideshow_styles.contt,
|
|
67552
67536
|
style: {
|
|
67553
|
-
|
|
67554
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
67555
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
67556
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px'
|
|
67537
|
+
// height: sectionproperties.height + 'vh',
|
|
67557
67538
|
}
|
|
67558
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
67559
|
-
|
|
67560
|
-
|
|
67561
|
-
|
|
67562
|
-
|
|
67563
|
-
|
|
67564
|
-
|
|
67565
|
-
|
|
67539
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Fade, _extends__default["default"]({}, Slideshowsettings, {
|
|
67540
|
+
transitionDuration: 1500,
|
|
67541
|
+
duration: 1500,
|
|
67542
|
+
arrow: true,
|
|
67543
|
+
easing: "ease"
|
|
67544
|
+
}), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
67545
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67546
|
+
"class": sectionproperties.zoominimagewhenhover == 'Yes' ? 'row m-0 w-100 slideshowzoomonhover' : 'row m-0 w-100 ',
|
|
67547
|
+
style: {
|
|
67548
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
67549
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
67550
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
67551
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px'
|
|
67552
|
+
}
|
|
67553
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67554
|
+
onClick: function onClick() {
|
|
67555
|
+
if (sectionproperties.showcurrencylangcont != 'Show') {
|
|
67556
|
+
if (item.IsClickableimg == 'Yes') {
|
|
67557
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
67558
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
67559
|
+
} else {
|
|
67560
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
67561
|
+
}
|
|
67566
67562
|
}
|
|
67567
67563
|
}
|
|
67564
|
+
},
|
|
67565
|
+
"class": 'p-0 align-items-center d-sm-none ',
|
|
67566
|
+
key: index,
|
|
67567
|
+
style: {
|
|
67568
|
+
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
67569
|
+
direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
67570
|
+
width: '100%',
|
|
67571
|
+
height: sectionproperties.height != 0 ? sectionproperties.height + 'vh' : 'auto',
|
|
67572
|
+
paddingTop: sectionproperties.paddingTop + 'px'
|
|
67568
67573
|
}
|
|
67569
|
-
},
|
|
67570
|
-
|
|
67571
|
-
|
|
67572
|
-
|
|
67573
|
-
|
|
67574
|
-
|
|
67575
|
-
|
|
67576
|
-
|
|
67577
|
-
|
|
67578
|
-
|
|
67579
|
-
|
|
67580
|
-
|
|
67581
|
-
|
|
67582
|
-
|
|
67583
|
-
|
|
67584
|
-
|
|
67585
|
-
|
|
67586
|
-
|
|
67587
|
-
|
|
67588
|
-
|
|
67589
|
-
|
|
67590
|
-
|
|
67591
|
-
|
|
67592
|
-
|
|
67593
|
-
|
|
67594
|
-
|
|
67595
|
-
|
|
67596
|
-
|
|
67597
|
-
|
|
67598
|
-
|
|
67599
|
-
|
|
67600
|
-
|
|
67601
|
-
}
|
|
67602
|
-
}, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67603
|
-
onClick: function onClick() {
|
|
67604
|
-
if (sectionproperties.showcurrencylangcont != 'Show') {
|
|
67605
|
-
if (item.IsClickableimg == 'Yes') {
|
|
67606
|
-
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
67607
|
-
routingcountext(item.clickableimg_page_route, false, '');
|
|
67608
|
-
} else {
|
|
67609
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
67574
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
67575
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
67576
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
67577
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imageen : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imagear,
|
|
67578
|
+
style: {
|
|
67579
|
+
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
67580
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
67581
|
+
margin: 0,
|
|
67582
|
+
padding: 0,
|
|
67583
|
+
width: '100%',
|
|
67584
|
+
height: '100%',
|
|
67585
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
67586
|
+
}
|
|
67587
|
+
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67588
|
+
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
|
67589
|
+
style: {
|
|
67590
|
+
position: 'absolute',
|
|
67591
|
+
top: '20%',
|
|
67592
|
+
zIndex: 1000,
|
|
67593
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
67594
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
67595
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
67596
|
+
}
|
|
67597
|
+
}, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67598
|
+
onClick: function onClick() {
|
|
67599
|
+
if (sectionproperties.showcurrencylangcont != 'Show') {
|
|
67600
|
+
if (item.IsClickableimg == 'Yes') {
|
|
67601
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
67602
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
67603
|
+
} else {
|
|
67604
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
67605
|
+
}
|
|
67610
67606
|
}
|
|
67611
67607
|
}
|
|
67608
|
+
},
|
|
67609
|
+
"class": 'p-0 align-items-center d-none d-sm-flex ',
|
|
67610
|
+
key: index,
|
|
67611
|
+
style: {
|
|
67612
|
+
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
67613
|
+
width: '100%',
|
|
67614
|
+
height: 'auto',
|
|
67615
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
67616
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
67617
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
67612
67618
|
}
|
|
67613
|
-
},
|
|
67614
|
-
|
|
67615
|
-
|
|
67616
|
-
|
|
67617
|
-
|
|
67618
|
-
|
|
67619
|
-
|
|
67620
|
-
|
|
67621
|
-
|
|
67622
|
-
|
|
67623
|
-
|
|
67624
|
-
|
|
67625
|
-
|
|
67626
|
-
|
|
67627
|
-
|
|
67628
|
-
|
|
67629
|
-
|
|
67630
|
-
|
|
67631
|
-
|
|
67632
|
-
|
|
67633
|
-
|
|
67634
|
-
|
|
67635
|
-
|
|
67636
|
-
}
|
|
67637
|
-
}),
|
|
67638
|
-
"class": '
|
|
67639
|
-
style: {
|
|
67640
|
-
position: 'absolute',
|
|
67641
|
-
top: '20%',
|
|
67642
|
-
zIndex: 1000,
|
|
67643
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
67644
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
67645
|
-
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
67646
|
-
}
|
|
67647
|
-
}, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)));
|
|
67648
|
-
})), cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67649
|
-
"class": "".concat(slideshow_styles.innerSection) + ' col-lg-9 col-md-10 col-sm-10 ml-auto mr-auto '
|
|
67650
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67651
|
-
"class": ' row m-0 w-100 align-items-center justify-content-center '
|
|
67652
|
-
}, cardsarray.map(function (cardItem, cardinfoindex) {
|
|
67653
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67654
|
-
"class": "col-lg-3 col-md-6 col-sm-12 d-flex align-items-center justify-content-center justify-content-md-start mb-md-2 mb-sm-3 p-0"
|
|
67655
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67656
|
-
"class": "row m-0 w-100 d-flex align-items-center"
|
|
67619
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
67620
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
67621
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
67622
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_en : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_ar,
|
|
67623
|
+
style: {
|
|
67624
|
+
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
67625
|
+
objectFit: 'contain',
|
|
67626
|
+
margin: 0,
|
|
67627
|
+
padding: 0,
|
|
67628
|
+
width: '100%',
|
|
67629
|
+
height: '100%',
|
|
67630
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
67631
|
+
}
|
|
67632
|
+
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67633
|
+
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
|
67634
|
+
style: {
|
|
67635
|
+
position: 'absolute',
|
|
67636
|
+
top: '20%',
|
|
67637
|
+
zIndex: 1000,
|
|
67638
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
67639
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
67640
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
67641
|
+
}
|
|
67642
|
+
}, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)));
|
|
67643
|
+
})), cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67644
|
+
"class": "".concat(slideshow_styles.innerSection) + ' col-lg-9 col-md-10 col-sm-10 ml-auto mr-auto '
|
|
67657
67645
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67658
|
-
|
|
67659
|
-
|
|
67660
|
-
|
|
67661
|
-
|
|
67662
|
-
|
|
67663
|
-
|
|
67664
|
-
|
|
67665
|
-
|
|
67666
|
-
|
|
67667
|
-
|
|
67668
|
-
|
|
67669
|
-
|
|
67670
|
-
|
|
67671
|
-
|
|
67672
|
-
|
|
67673
|
-
|
|
67674
|
-
|
|
67675
|
-
|
|
67676
|
-
|
|
67677
|
-
|
|
67678
|
-
|
|
67679
|
-
|
|
67680
|
-
}
|
|
67681
|
-
|
|
67682
|
-
|
|
67683
|
-
|
|
67684
|
-
|
|
67685
|
-
|
|
67686
|
-
|
|
67687
|
-
|
|
67688
|
-
}
|
|
67689
|
-
|
|
67690
|
-
|
|
67646
|
+
"class": ' row m-0 w-100 align-items-center justify-content-center '
|
|
67647
|
+
}, cardsarray.map(function (cardItem, cardinfoindex) {
|
|
67648
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67649
|
+
"class": "col-lg-3 col-md-6 col-sm-12 d-flex align-items-center justify-content-center justify-content-md-start mb-md-2 mb-sm-3 p-0"
|
|
67650
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67651
|
+
"class": "row m-0 w-100 d-flex align-items-center"
|
|
67652
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67653
|
+
style: {
|
|
67654
|
+
width: '70px',
|
|
67655
|
+
height: '70px'
|
|
67656
|
+
}
|
|
67657
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
67658
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
67659
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
67660
|
+
path: cardsarray.length != 0 ? cardItem.cardobj_img : '',
|
|
67661
|
+
style: {
|
|
67662
|
+
width: '100%',
|
|
67663
|
+
height: '100%',
|
|
67664
|
+
borderRadius: '100%'
|
|
67665
|
+
}
|
|
67666
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67667
|
+
"class": "col-lg-8 col-md-8 col-sm-8 d-flex flex-column"
|
|
67668
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
67669
|
+
"class": "p-0 m-0 wordbreak wordbreak1",
|
|
67670
|
+
style: {
|
|
67671
|
+
color: sectionproperties.sectionTitleColor,
|
|
67672
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
67673
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
67674
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
67675
|
+
}
|
|
67676
|
+
}, langdetect == 'en' ? cardItem.cardobj_titleen : cardItem.cardobj_titlear), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
67677
|
+
"class": "m-0 wordbreak wordbreak1",
|
|
67678
|
+
style: {
|
|
67679
|
+
color: sectionproperties.prodCatColor,
|
|
67680
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
67681
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
67682
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
67683
|
+
}
|
|
67684
|
+
}, langdetect == 'en' ? cardItem.cardobj_descripen : cardItem.cardobj_descripar))));
|
|
67685
|
+
}))));
|
|
67686
|
+
};
|
|
67687
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67688
|
+
"class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
|
|
67689
|
+
style: {
|
|
67690
|
+
background: sectionproperties.lower_section_background
|
|
67691
|
+
}
|
|
67692
|
+
}, sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67693
|
+
"class": 'col-lg-12 p-0 d-flex justify-content-center',
|
|
67694
|
+
"data-aos": 'fade-up'
|
|
67695
|
+
}, SlideshowallContent()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67696
|
+
"class": 'col-lg-12 p-0 d-flex justify-content-center'
|
|
67697
|
+
}, SlideshowallContent()));
|
|
67691
67698
|
};
|
|
67692
67699
|
|
|
67693
67700
|
function ownKeys$P(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; }
|
|
@@ -68205,6 +68212,28 @@
|
|
|
68205
68212
|
}), SlideShowTextContainer(item)));
|
|
68206
68213
|
}))))));
|
|
68207
68214
|
};
|
|
68215
|
+
var SlideshowallContent = function SlideshowallContent() {
|
|
68216
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68217
|
+
"class": "col-lg-12 p-0",
|
|
68218
|
+
"data-aos": 'fade-up'
|
|
68219
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68220
|
+
"class": "row m-0 w-100 d-flex d-md-none",
|
|
68221
|
+
style: {
|
|
68222
|
+
paddingTop: sectionproperties.marginTop + 'px'
|
|
68223
|
+
},
|
|
68224
|
+
onMouseLeave: function onMouseLeave() {
|
|
68225
|
+
setChoosenindex('');
|
|
68226
|
+
}
|
|
68227
|
+
}, SlideshowContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68228
|
+
"class": "row m-0 w-100 d-none d-md-flex",
|
|
68229
|
+
style: {
|
|
68230
|
+
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
68231
|
+
},
|
|
68232
|
+
onMouseLeave: function onMouseLeave() {
|
|
68233
|
+
setChoosenindex('');
|
|
68234
|
+
}
|
|
68235
|
+
}, SlideshowContent()));
|
|
68236
|
+
};
|
|
68208
68237
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68209
68238
|
"class": sectionproperties.collectionssectionshow == 'Show' ? 'row ml-0 mr-0 w-100 d-flex justify-content-center px-1025-1 pl-md-2 pr-md-2' : sectionproperties.width == '100' ? 'row ml-0 mr-0 w-100 d-flex justify-content-center' : 'row ml-0 mr-0 w-100 d-flex justify-content-center px-1025-1 pl-md-2 pr-md-2',
|
|
68210
68239
|
style: {
|
|
@@ -68216,25 +68245,12 @@
|
|
|
68216
68245
|
onMouseEnter: function onMouseEnter() {
|
|
68217
68246
|
setChoosenindex('');
|
|
68218
68247
|
}
|
|
68219
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68220
|
-
"class": "
|
|
68221
|
-
|
|
68222
|
-
|
|
68223
|
-
|
|
68224
|
-
|
|
68225
|
-
},
|
|
68226
|
-
onMouseLeave: function onMouseLeave() {
|
|
68227
|
-
setChoosenindex('');
|
|
68228
|
-
}
|
|
68229
|
-
}, SlideshowContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68230
|
-
"class": "row m-0 w-100 d-none d-md-flex",
|
|
68231
|
-
style: {
|
|
68232
|
-
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
68233
|
-
},
|
|
68234
|
-
onMouseLeave: function onMouseLeave() {
|
|
68235
|
-
setChoosenindex('');
|
|
68236
|
-
}
|
|
68237
|
-
}, SlideshowContent())));
|
|
68248
|
+
}, sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68249
|
+
"class": "row m-0 w-100",
|
|
68250
|
+
"data-aos": 'fade-up'
|
|
68251
|
+
}, SlideshowallContent()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68252
|
+
"class": "row m-0 w-100"
|
|
68253
|
+
}, SlideshowallContent()));
|
|
68238
68254
|
};
|
|
68239
68255
|
|
|
68240
68256
|
function ownKeys$O(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; }
|
|
@@ -81780,14 +81796,14 @@
|
|
|
81780
81796
|
style: {
|
|
81781
81797
|
// backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
|
|
81782
81798
|
color: isChoosedValueExists ? '#ffffff' : '#000000',
|
|
81783
|
-
border: isChoosedValueExists ? '1px solid
|
|
81799
|
+
border: isChoosedValueExists ? '1px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
|
|
81784
81800
|
padding: (item === null || item === void 0 || (_item$option_info = item.option_info) === null || _item$option_info === void 0 ? void 0 : _item$option_info.optionname) == 'Color' ? '5px' : '5px 10px',
|
|
81785
81801
|
cursor: valitem.disabled ? 'not-allowed' : 'pointer',
|
|
81786
81802
|
fontSize: '13px',
|
|
81787
81803
|
width: (item === null || item === void 0 || (_item$option_info2 = item.option_info) === null || _item$option_info2 === void 0 ? void 0 : _item$option_info2.optionname) == 'Color' ? 25 : '',
|
|
81788
81804
|
height: (item === null || item === void 0 || (_item$option_info3 = item.option_info) === null || _item$option_info3 === void 0 ? void 0 : _item$option_info3.optionname) == 'Color' ? 25 : '',
|
|
81789
81805
|
borderRadius: (item === null || item === void 0 || (_item$option_info4 = item.option_info) === null || _item$option_info4 === void 0 ? void 0 : _item$option_info4.optionname) == 'Color' ? 100 : 5,
|
|
81790
|
-
background: (item === null || item === void 0 || (_item$option_info5 = item.option_info) === null || _item$option_info5 === void 0 ? void 0 : _item$option_info5.optionname) == 'Color' ? valitem === null || valitem === void 0 || (_valitem$valueinfo = valitem.valueinfo) === null || _valitem$valueinfo === void 0 ? void 0 : _valitem$valueinfo.valuename : isChoosedValueExists ?
|
|
81806
|
+
background: (item === null || item === void 0 || (_item$option_info5 = item.option_info) === null || _item$option_info5 === void 0 ? void 0 : _item$option_info5.optionname) == 'Color' ? valitem === null || valitem === void 0 || (_valitem$valueinfo = valitem.valueinfo) === null || _valitem$valueinfo === void 0 ? void 0 : _valitem$valueinfo.valuename : isChoosedValueExists ? sectionproperties.activeproductcolor : '#ffffff',
|
|
81791
81807
|
fontWeight: 500
|
|
81792
81808
|
},
|
|
81793
81809
|
disabled: valitem.disabled
|
|
@@ -81847,6 +81863,24 @@
|
|
|
81847
81863
|
React.useEffect(function () {
|
|
81848
81864
|
setitem(props.cardinfoitemprops);
|
|
81849
81865
|
}, [props.cardinfoitemprops]);
|
|
81866
|
+
React.useEffect(function () {
|
|
81867
|
+
var productImagetoBeSelected = '';
|
|
81868
|
+
var Tempitem = _objectSpread$6({}, item);
|
|
81869
|
+
productImagetoBeSelected = item.productmainimage;
|
|
81870
|
+
if (variantObj != undefined && variantObj != null && Object.keys(variantObj).length != 0 && variantObj != '') {
|
|
81871
|
+
var variatgalleryid = variantObj.variantgalleryid;
|
|
81872
|
+
if (variatgalleryid != undefined && variatgalleryid != null && variatgalleryid != '') {
|
|
81873
|
+
var _item$productimages;
|
|
81874
|
+
item === null || item === void 0 || (_item$productimages = item.productimages) === null || _item$productimages === void 0 || _item$productimages.forEach(function (item, index) {
|
|
81875
|
+
if (item.galleryid == variatgalleryid) {
|
|
81876
|
+
productImagetoBeSelected = item.path;
|
|
81877
|
+
}
|
|
81878
|
+
});
|
|
81879
|
+
}
|
|
81880
|
+
}
|
|
81881
|
+
Tempitem.image = productImagetoBeSelected;
|
|
81882
|
+
setitem(_objectSpread$6({}, Tempitem));
|
|
81883
|
+
}, [variantObj]);
|
|
81850
81884
|
var card_cssstyles = {
|
|
81851
81885
|
productcard: glamor.css({
|
|
81852
81886
|
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
@@ -82338,7 +82372,8 @@
|
|
|
82338
82372
|
style: {
|
|
82339
82373
|
zIndex: 2,
|
|
82340
82374
|
position: 'absolute',
|
|
82341
|
-
top: sectionproperties.badge_top + 'px',
|
|
82375
|
+
top: sectionproperties.badgeposition == 'Top' ? sectionproperties.badge_top + 'px' : '',
|
|
82376
|
+
bottom: sectionproperties.badgeposition == 'Bottom' ? sectionproperties.badge_top + 'px' : '',
|
|
82342
82377
|
left: langdetect == 'en' ? sectionproperties.badge_right + 'px' : '',
|
|
82343
82378
|
right: langdetect == 'en' ? '' : sectionproperties.badge_right + 'px',
|
|
82344
82379
|
width: sectionproperties.badge_width == 0 ? '90%' : sectionproperties.badge_width + 'px',
|