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 CHANGED
@@ -18860,6 +18860,7 @@ var CardsSection = function CardsSection(props) {
18860
18860
  cardobj.hasvariants = arrayItem.productinfo.hasvariants;
18861
18861
  cardobj.description_en = arrayItem.productinfo.description_en;
18862
18862
  cardobj.description_ar = arrayItem.productinfo.description_ar;
18863
+ cardobj.productmainimage = arrayItem.productinfo.productmainimage;
18863
18864
  if (sectionproperties.removedecimals == 'Without Decimals') {
18864
18865
  cardobj.defaultprice = parseFloat(Number(arrayItem.productinfo.defaultprice).toFixed(2));
18865
18866
  } else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
@@ -67712,165 +67713,171 @@ var Slideshowfade = function Slideshowfade(props) {
67712
67713
  }
67713
67714
  }, langdetect == 'en' ? 'SHOP' : 'تسوق', ' ')));
67714
67715
  };
67715
- return /*#__PURE__*/React__default["default"].createElement("div", {
67716
- "class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
67717
- style: {
67718
- background: sectionproperties.lower_section_background
67719
- }
67720
- }, /*#__PURE__*/React__default["default"].createElement("div", {
67721
- "class": 'col-lg-12 p-0 d-flex justify-content-center'
67722
- }, /*#__PURE__*/React__default["default"].createElement("div", {
67723
- "class": slideshow_styles.contt,
67724
- style: {
67725
- // height: sectionproperties.height + 'vh',
67726
- }
67727
- }, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Fade, _extends__default["default"]({}, Slideshowsettings, {
67728
- transitionDuration: 1500,
67729
- duration: 1500,
67730
- arrow: true,
67731
- easing: "ease"
67732
- }), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
67716
+ var SlideshowallContent = function SlideshowallContent() {
67733
67717
  return /*#__PURE__*/React__default["default"].createElement("div", {
67734
- "class": sectionproperties.zoominimagewhenhover == 'Yes' ? 'row m-0 w-100 slideshowzoomonhover' : 'row m-0 w-100 ',
67718
+ "class": slideshow_styles.contt,
67735
67719
  style: {
67736
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
67737
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
67738
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
67739
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px'
67720
+ // height: sectionproperties.height + 'vh',
67740
67721
  }
67741
- }, /*#__PURE__*/React__default["default"].createElement("div", {
67742
- onClick: function onClick() {
67743
- if (sectionproperties.showcurrencylangcont != 'Show') {
67744
- if (item.IsClickableimg == 'Yes') {
67745
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
67746
- routingcountext(item.clickableimg_page_route, false, '');
67747
- } else {
67748
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
67722
+ }, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Fade, _extends__default["default"]({}, Slideshowsettings, {
67723
+ transitionDuration: 1500,
67724
+ duration: 1500,
67725
+ arrow: true,
67726
+ easing: "ease"
67727
+ }), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
67728
+ return /*#__PURE__*/React__default["default"].createElement("div", {
67729
+ "class": sectionproperties.zoominimagewhenhover == 'Yes' ? 'row m-0 w-100 slideshowzoomonhover' : 'row m-0 w-100 ',
67730
+ style: {
67731
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
67732
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
67733
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
67734
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px'
67735
+ }
67736
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
67737
+ onClick: function onClick() {
67738
+ if (sectionproperties.showcurrencylangcont != 'Show') {
67739
+ if (item.IsClickableimg == 'Yes') {
67740
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
67741
+ routingcountext(item.clickableimg_page_route, false, '');
67742
+ } else {
67743
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
67744
+ }
67749
67745
  }
67750
67746
  }
67747
+ },
67748
+ "class": 'p-0 align-items-center d-sm-none ',
67749
+ key: index,
67750
+ style: {
67751
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
67752
+ direction: langdetect == 'en' ? 'ltr' : 'rtl',
67753
+ width: '100%',
67754
+ height: sectionproperties.height != 0 ? sectionproperties.height + 'vh' : 'auto',
67755
+ paddingTop: sectionproperties.paddingTop + 'px'
67751
67756
  }
67752
- },
67753
- "class": 'p-0 align-items-center d-sm-none ',
67754
- key: index,
67755
- style: {
67756
- cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
67757
- direction: langdetect == 'en' ? 'ltr' : 'rtl',
67758
- width: '100%',
67759
- height: sectionproperties.height != 0 ? sectionproperties.height + 'vh' : 'auto',
67760
- paddingTop: sectionproperties.paddingTop + 'px'
67761
- }
67762
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
67763
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
67764
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
67765
- 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,
67766
- style: {
67767
- cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
67768
- objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
67769
- margin: 0,
67770
- padding: 0,
67771
- width: '100%',
67772
- height: '100%',
67773
- borderRadius: sectionproperties.imageborderradius + 'px'
67774
- }
67775
- }), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
67776
- "class": 'row m-0 w-100 pl-md-2 pr-md-2',
67777
- style: {
67778
- position: 'absolute',
67779
- top: '20%',
67780
- zIndex: 1000,
67781
- paddingTop: sectionproperties.paddingTop + 'px',
67782
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
67783
- paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
67784
- }
67785
- }, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
67786
- onClick: function onClick() {
67787
- if (sectionproperties.showcurrencylangcont != 'Show') {
67788
- if (item.IsClickableimg == 'Yes') {
67789
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
67790
- routingcountext(item.clickableimg_page_route, false, '');
67791
- } else {
67792
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
67757
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
67758
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
67759
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
67760
+ 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,
67761
+ style: {
67762
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
67763
+ objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
67764
+ margin: 0,
67765
+ padding: 0,
67766
+ width: '100%',
67767
+ height: '100%',
67768
+ borderRadius: sectionproperties.imageborderradius + 'px'
67769
+ }
67770
+ }), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
67771
+ "class": 'row m-0 w-100 pl-md-2 pr-md-2',
67772
+ style: {
67773
+ position: 'absolute',
67774
+ top: '20%',
67775
+ zIndex: 1000,
67776
+ paddingTop: sectionproperties.paddingTop + 'px',
67777
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
67778
+ paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
67779
+ }
67780
+ }, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
67781
+ onClick: function onClick() {
67782
+ if (sectionproperties.showcurrencylangcont != 'Show') {
67783
+ if (item.IsClickableimg == 'Yes') {
67784
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
67785
+ routingcountext(item.clickableimg_page_route, false, '');
67786
+ } else {
67787
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
67788
+ }
67793
67789
  }
67794
67790
  }
67791
+ },
67792
+ "class": 'p-0 align-items-center d-none d-sm-flex ',
67793
+ key: index,
67794
+ style: {
67795
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
67796
+ width: '100%',
67797
+ height: 'auto',
67798
+ paddingTop: sectionproperties.paddingTop + 'px',
67799
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
67800
+ paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
67795
67801
  }
67796
- },
67797
- "class": 'p-0 align-items-center d-none d-sm-flex ',
67798
- key: index,
67799
- style: {
67800
- cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
67801
- width: '100%',
67802
- height: 'auto',
67803
- paddingTop: sectionproperties.paddingTop + 'px',
67804
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
67805
- paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
67806
- }
67807
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
67808
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
67809
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
67810
- 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,
67811
- style: {
67812
- cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
67813
- objectFit: 'contain',
67814
- margin: 0,
67815
- padding: 0,
67816
- width: '100%',
67817
- height: '100%',
67818
- borderRadius: sectionproperties.imageborderradius + 'px'
67819
- }
67820
- }), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
67821
- "class": 'row m-0 w-100 pl-md-2 pr-md-2',
67822
- style: {
67823
- position: 'absolute',
67824
- top: '20%',
67825
- zIndex: 1000,
67826
- paddingTop: sectionproperties.paddingTop + 'px',
67827
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
67828
- paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
67829
- }
67830
- }, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)));
67831
- })), cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
67832
- "class": "".concat(slideshow_styles.innerSection) + ' col-lg-9 col-md-10 col-sm-10 ml-auto mr-auto '
67833
- }, /*#__PURE__*/React__default["default"].createElement("div", {
67834
- "class": ' row m-0 w-100 align-items-center justify-content-center '
67835
- }, cardsarray.map(function (cardItem, cardinfoindex) {
67836
- return /*#__PURE__*/React__default["default"].createElement("div", {
67837
- "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"
67838
- }, /*#__PURE__*/React__default["default"].createElement("div", {
67839
- "class": "row m-0 w-100 d-flex align-items-center"
67802
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
67803
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
67804
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
67805
+ 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,
67806
+ style: {
67807
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
67808
+ objectFit: 'contain',
67809
+ margin: 0,
67810
+ padding: 0,
67811
+ width: '100%',
67812
+ height: '100%',
67813
+ borderRadius: sectionproperties.imageborderradius + 'px'
67814
+ }
67815
+ }), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
67816
+ "class": 'row m-0 w-100 pl-md-2 pr-md-2',
67817
+ style: {
67818
+ position: 'absolute',
67819
+ top: '20%',
67820
+ zIndex: 1000,
67821
+ paddingTop: sectionproperties.paddingTop + 'px',
67822
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
67823
+ paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
67824
+ }
67825
+ }, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)));
67826
+ })), cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
67827
+ "class": "".concat(slideshow_styles.innerSection) + ' col-lg-9 col-md-10 col-sm-10 ml-auto mr-auto '
67840
67828
  }, /*#__PURE__*/React__default["default"].createElement("div", {
67841
- style: {
67842
- width: '70px',
67843
- height: '70px'
67844
- }
67845
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
67846
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
67847
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
67848
- path: cardsarray.length != 0 ? cardItem.cardobj_img : '',
67849
- style: {
67850
- width: '100%',
67851
- height: '100%',
67852
- borderRadius: '100%'
67853
- }
67854
- })), /*#__PURE__*/React__default["default"].createElement("div", {
67855
- "class": "col-lg-8 col-md-8 col-sm-8 d-flex flex-column"
67856
- }, /*#__PURE__*/React__default["default"].createElement("p", {
67857
- "class": "p-0 m-0 wordbreak wordbreak1",
67858
- style: {
67859
- color: sectionproperties.sectionTitleColor,
67860
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
67861
- fontWeight: sectionproperties.sectionTitleFontWeight,
67862
- textAlign: langdetect == 'en' ? 'left' : 'right'
67863
- }
67864
- }, langdetect == 'en' ? cardItem.cardobj_titleen : cardItem.cardobj_titlear), /*#__PURE__*/React__default["default"].createElement("p", {
67865
- "class": "m-0 wordbreak wordbreak1",
67866
- style: {
67867
- color: sectionproperties.prodCatColor,
67868
- fontSize: sectionproperties.prodCatFontSize + 'px',
67869
- fontWeight: sectionproperties.prodCatFontWeight,
67870
- textAlign: langdetect == 'en' ? 'left' : 'right'
67871
- }
67872
- }, langdetect == 'en' ? cardItem.cardobj_descripen : cardItem.cardobj_descripar))));
67873
- }))))));
67829
+ "class": ' row m-0 w-100 align-items-center justify-content-center '
67830
+ }, cardsarray.map(function (cardItem, cardinfoindex) {
67831
+ return /*#__PURE__*/React__default["default"].createElement("div", {
67832
+ "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"
67833
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
67834
+ "class": "row m-0 w-100 d-flex align-items-center"
67835
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
67836
+ style: {
67837
+ width: '70px',
67838
+ height: '70px'
67839
+ }
67840
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
67841
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
67842
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
67843
+ path: cardsarray.length != 0 ? cardItem.cardobj_img : '',
67844
+ style: {
67845
+ width: '100%',
67846
+ height: '100%',
67847
+ borderRadius: '100%'
67848
+ }
67849
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
67850
+ "class": "col-lg-8 col-md-8 col-sm-8 d-flex flex-column"
67851
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
67852
+ "class": "p-0 m-0 wordbreak wordbreak1",
67853
+ style: {
67854
+ color: sectionproperties.sectionTitleColor,
67855
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
67856
+ fontWeight: sectionproperties.sectionTitleFontWeight,
67857
+ textAlign: langdetect == 'en' ? 'left' : 'right'
67858
+ }
67859
+ }, langdetect == 'en' ? cardItem.cardobj_titleen : cardItem.cardobj_titlear), /*#__PURE__*/React__default["default"].createElement("p", {
67860
+ "class": "m-0 wordbreak wordbreak1",
67861
+ style: {
67862
+ color: sectionproperties.prodCatColor,
67863
+ fontSize: sectionproperties.prodCatFontSize + 'px',
67864
+ fontWeight: sectionproperties.prodCatFontWeight,
67865
+ textAlign: langdetect == 'en' ? 'left' : 'right'
67866
+ }
67867
+ }, langdetect == 'en' ? cardItem.cardobj_descripen : cardItem.cardobj_descripar))));
67868
+ }))));
67869
+ };
67870
+ return /*#__PURE__*/React__default["default"].createElement("div", {
67871
+ "class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
67872
+ style: {
67873
+ background: sectionproperties.lower_section_background
67874
+ }
67875
+ }, sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
67876
+ "class": 'col-lg-12 p-0 d-flex justify-content-center',
67877
+ "data-aos": 'fade-up'
67878
+ }, SlideshowallContent()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
67879
+ "class": 'col-lg-12 p-0 d-flex justify-content-center'
67880
+ }, SlideshowallContent()));
67874
67881
  };
67875
67882
 
67876
67883
  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; }
@@ -68388,6 +68395,28 @@ var Slideshowslide = function Slideshowslide(props) {
68388
68395
  }), SlideShowTextContainer(item)));
68389
68396
  }))))));
68390
68397
  };
68398
+ var SlideshowallContent = function SlideshowallContent() {
68399
+ return /*#__PURE__*/React__default["default"].createElement("div", {
68400
+ "class": "col-lg-12 p-0",
68401
+ "data-aos": 'fade-up'
68402
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
68403
+ "class": "row m-0 w-100 d-flex d-md-none",
68404
+ style: {
68405
+ paddingTop: sectionproperties.marginTop + 'px'
68406
+ },
68407
+ onMouseLeave: function onMouseLeave() {
68408
+ setChoosenindex('');
68409
+ }
68410
+ }, SlideshowContent()), /*#__PURE__*/React__default["default"].createElement("div", {
68411
+ "class": "row m-0 w-100 d-none d-md-flex",
68412
+ style: {
68413
+ paddingTop: sectionproperties.marginTopResp + 'px'
68414
+ },
68415
+ onMouseLeave: function onMouseLeave() {
68416
+ setChoosenindex('');
68417
+ }
68418
+ }, SlideshowContent()));
68419
+ };
68391
68420
  return /*#__PURE__*/React__default["default"].createElement("div", {
68392
68421
  "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',
68393
68422
  style: {
@@ -68399,25 +68428,12 @@ var Slideshowslide = function Slideshowslide(props) {
68399
68428
  onMouseEnter: function onMouseEnter() {
68400
68429
  setChoosenindex('');
68401
68430
  }
68402
- }, /*#__PURE__*/React__default["default"].createElement("div", {
68403
- "class": "col-lg-12 p-0"
68404
- }, /*#__PURE__*/React__default["default"].createElement("div", {
68405
- "class": "row m-0 w-100 d-flex d-md-none",
68406
- style: {
68407
- paddingTop: sectionproperties.marginTop + 'px'
68408
- },
68409
- onMouseLeave: function onMouseLeave() {
68410
- setChoosenindex('');
68411
- }
68412
- }, SlideshowContent()), /*#__PURE__*/React__default["default"].createElement("div", {
68413
- "class": "row m-0 w-100 d-none d-md-flex",
68414
- style: {
68415
- paddingTop: sectionproperties.marginTopResp + 'px'
68416
- },
68417
- onMouseLeave: function onMouseLeave() {
68418
- setChoosenindex('');
68419
- }
68420
- }, SlideshowContent())));
68431
+ }, sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
68432
+ "class": "row m-0 w-100",
68433
+ "data-aos": 'fade-up'
68434
+ }, SlideshowallContent()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
68435
+ "class": "row m-0 w-100"
68436
+ }, SlideshowallContent()));
68421
68437
  };
68422
68438
 
68423
68439
  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; }
@@ -81963,14 +81979,14 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
81963
81979
  style: {
81964
81980
  // backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
81965
81981
  color: isChoosedValueExists ? '#ffffff' : '#000000',
81966
- border: isChoosedValueExists ? '1px solid #617464' : '1px solid #000000',
81982
+ border: isChoosedValueExists ? '1px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
81967
81983
  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',
81968
81984
  cursor: valitem.disabled ? 'not-allowed' : 'pointer',
81969
81985
  fontSize: '13px',
81970
81986
  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 : '',
81971
81987
  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 : '',
81972
81988
  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,
81973
- 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 ? '#617464' : '#ffffff',
81989
+ 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',
81974
81990
  fontWeight: 500
81975
81991
  },
81976
81992
  disabled: valitem.disabled
@@ -82030,6 +82046,24 @@ var Simpleproductcard = function Simpleproductcard(props) {
82030
82046
  React.useEffect(function () {
82031
82047
  setitem(props.cardinfoitemprops);
82032
82048
  }, [props.cardinfoitemprops]);
82049
+ React.useEffect(function () {
82050
+ var productImagetoBeSelected = '';
82051
+ var Tempitem = _objectSpread$6({}, item);
82052
+ productImagetoBeSelected = item.productmainimage;
82053
+ if (variantObj != undefined && variantObj != null && Object.keys(variantObj).length != 0 && variantObj != '') {
82054
+ var variatgalleryid = variantObj.variantgalleryid;
82055
+ if (variatgalleryid != undefined && variatgalleryid != null && variatgalleryid != '') {
82056
+ var _item$productimages;
82057
+ item === null || item === void 0 || (_item$productimages = item.productimages) === null || _item$productimages === void 0 || _item$productimages.forEach(function (item, index) {
82058
+ if (item.galleryid == variatgalleryid) {
82059
+ productImagetoBeSelected = item.path;
82060
+ }
82061
+ });
82062
+ }
82063
+ }
82064
+ Tempitem.image = productImagetoBeSelected;
82065
+ setitem(_objectSpread$6({}, Tempitem));
82066
+ }, [variantObj]);
82033
82067
  var card_cssstyles = {
82034
82068
  productcard: glamor.css({
82035
82069
  minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
@@ -82521,7 +82555,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
82521
82555
  style: {
82522
82556
  zIndex: 2,
82523
82557
  position: 'absolute',
82524
- top: sectionproperties.badge_top + 'px',
82558
+ top: sectionproperties.badgeposition == 'Top' ? sectionproperties.badge_top + 'px' : '',
82559
+ bottom: sectionproperties.badgeposition == 'Bottom' ? sectionproperties.badge_top + 'px' : '',
82525
82560
  left: langdetect == 'en' ? sectionproperties.badge_right + 'px' : '',
82526
82561
  right: langdetect == 'en' ? '' : sectionproperties.badge_right + 'px',
82527
82562
  width: sectionproperties.badge_width == 0 ? '90%' : sectionproperties.badge_width + 'px',