tabexseriescomponents 0.0.796 → 0.0.798

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') {
@@ -24013,35 +24014,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
24013
24014
  className: "p-0"
24014
24015
  }, /*#__PURE__*/React__default["default"].createElement("div", {
24015
24016
  className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex"
24016
- }, /*#__PURE__*/React__default["default"].createElement("div", {
24017
- "class": "col-lg-12 p-0"
24018
- }, /*#__PURE__*/React__default["default"].createElement("div", {
24019
- className: ' row m-0 p-0 mb-2 '
24020
- }, /*#__PURE__*/React__default["default"].createElement("div", {
24021
- className: ' row m-0 w-100 px-5 '
24022
- }, /*#__PURE__*/React__default["default"].createElement("div", {
24023
- className: "col-10 p-0 text-start",
24024
- onClick: function onClick() {
24025
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
24026
- setopenCnvas(false);
24027
- }
24028
- }, /*#__PURE__*/React__default["default"].createElement("p", {
24029
- className: ' mb-0 p-0 ',
24030
- style: {
24031
- color: sectionproperties.collectionsectiontextcolor,
24032
- fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
24033
- textTransform: sectionproperties.collectionsectiontexttransform,
24034
- fontWeight: sectionproperties.collectionsectiontextfontweight,
24035
- transition: '.3s'
24036
- }
24037
- }, langdetect == 'en' ? 'SHOP' : 'تسوق', " ", langdetect == 'en' ? item.title_en : item.title_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
24038
- className: "col-lg-12 p-0"
24039
- }, /*#__PURE__*/React__default["default"].createElement("hr", {
24040
- className: "mt-4 mb-4",
24041
- style: {
24042
- borderColor: sectionproperties.resp_header_separatorbg
24043
- }
24044
- })))), Choosenindex.length != 0 && (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && (item === null || item === void 0 || (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (collitem, collindex) {
24017
+ }, Choosenindex.length != 0 && (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && (item === null || item === void 0 || (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (collitem, collindex) {
24045
24018
  if (collitem.isshowntocustomers == 1) {
24046
24019
  return /*#__PURE__*/React__default["default"].createElement("div", {
24047
24020
  "class": "col-lg-12 p-0"
@@ -28177,7 +28150,11 @@ var ClassicHeader = function ClassicHeader(props) {
28177
28150
  style: {
28178
28151
  background: sectionproperties.header_backgroundColor
28179
28152
  }
28180
- }, sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
28153
+ }, templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
28154
+ sectionpropertiesprops: sectionproperties,
28155
+ templateproperties_contextprops: templateproperties_context,
28156
+ actions: actions
28157
+ }), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
28181
28158
  href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
28182
28159
  target: '_blank',
28183
28160
  style: {
@@ -43794,7 +43771,7 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
43794
43771
  function ownKeys$1H(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; }
43795
43772
  function _objectSpread$1H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1H(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
43796
43773
  var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
43797
- var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17;
43774
+ var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
43798
43775
  var _useState = React.useState(''),
43799
43776
  _useState2 = _slicedToArray__default["default"](_useState, 2),
43800
43777
  sectionproperties = _useState2[0],
@@ -44632,22 +44609,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
44632
44609
  className: "p-0"
44633
44610
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44634
44611
  className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex"
44635
- }, /*#__PURE__*/React__default["default"].createElement("div", {
44636
- "class": "col-lg-12 p-0"
44637
- }, /*#__PURE__*/React__default["default"].createElement("div", {
44638
- className: ' row m-0 p-0 mb-2 '
44639
- }, /*#__PURE__*/React__default["default"].createElement("div", {
44640
- className: ' row m-0 w-100 px-3 '
44641
- }, /*#__PURE__*/React__default["default"].createElement("div", {
44642
- className: "col-10 p-0 text-start",
44643
- onClick: function onClick() {
44644
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
44645
- setopenSideNav(false);
44646
- }
44647
- }, /*#__PURE__*/React__default["default"].createElement("p", {
44648
- className: "".concat(header_cssstyles.navbarItem) + ' mb-0 p-0 ',
44649
- style: {}
44650
- }, langdetect == 'en' ? 'SHOP' : 'تسوق', " ", langdetect == 'en' ? item.title_en : item.title_ar))))), Choosenindex.length != 0 && (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && (item === null || item === void 0 || (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (collitem, collindex) {
44612
+ }, Choosenindex.length != 0 && (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && (item === null || item === void 0 || (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (collitem, collindex) {
44651
44613
  if (collitem.isshowntocustomers == 1) {
44652
44614
  return /*#__PURE__*/React__default["default"].createElement("div", {
44653
44615
  "class": "col-lg-12 p-0"
@@ -44773,110 +44735,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
44773
44735
  background: langdetect == 'ar' ? 'white' : 'transparent',
44774
44736
  fontSize: 15
44775
44737
  }
44776
- }, langdetect == 'en' ? 'Arabic' : 'لغة عربية'))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '675191ce417e3' && /*#__PURE__*/React__default["default"].createElement("div", {
44777
- "class": "col-lg-12 px-4 mt-5 mb-3 pt-5"
44778
- }, /*#__PURE__*/React__default["default"].createElement("div", {
44779
- "class": "row m-0 w-100 mt-4"
44780
- }, /*#__PURE__*/React__default["default"].createElement("div", {
44781
- "class": "col-lg-12 p-0 text-start"
44782
- }, /*#__PURE__*/React__default["default"].createElement("p", {
44783
- "class": ' mb-2 ',
44784
- style: _defineProperty__default["default"]({
44785
- fontWeight: 400,
44786
- textTransform: 'none',
44787
- fontSize: '16px',
44788
- color: sectionproperties.lowersection_fontColor
44789
- }, "fontWeight", 500)
44790
- }, "Follow us")), /*#__PURE__*/React__default["default"].createElement("div", {
44791
- "class": "col-lg-12"
44792
- }, /*#__PURE__*/React__default["default"].createElement("div", {
44793
- "class": "row m-0 w-100"
44794
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
44795
- "class": "".concat(header_cssstyles.navbarItem) + ' col-lg-12 p-0 text-start mb-2 ',
44796
- onClick: function onClick() {
44797
- var _authdetailsContext$i6;
44798
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.facebooklink) != null) {
44799
- var _authdetailsContext$i7;
44800
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.facebooklink, '_blank');
44801
- }
44802
- },
44803
- style: {
44804
- fontSize: 15,
44805
- textTransform: 'none'
44806
- }
44807
- }, /*#__PURE__*/React__default["default"].createElement("i", {
44808
- "class": "allcentered mr-2"
44809
- }, /*#__PURE__*/React__default["default"].createElement(FiArrowUpRight.FiArrowUpRight, {
44810
- size: sectionproperties.closeSlider_fontSize
44811
- })), "Facebook"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
44812
- "class": "".concat(header_cssstyles.navbarItem) + ' col-lg-12 p-0 text-start mb-2 ',
44813
- onClick: function onClick() {
44814
- var _authdetailsContext$i9;
44815
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instagramlink) != null) {
44816
- var _authdetailsContext$i10;
44817
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instagramlink, '_blank');
44818
- }
44819
- },
44820
- style: {
44821
- fontSize: 15,
44822
- textTransform: 'none'
44823
- }
44824
- }, /*#__PURE__*/React__default["default"].createElement("i", {
44825
- "class": "allcentered mr-2"
44826
- }, /*#__PURE__*/React__default["default"].createElement(FiArrowUpRight.FiArrowUpRight, {
44827
- size: sectionproperties.closeSlider_fontSize
44828
- })), "Instagram"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.twitterlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
44829
- "class": "".concat(header_cssstyles.navbarItem) + ' col-lg-12 p-0 text-start mb-2 ',
44830
- onClick: function onClick() {
44831
- var _authdetailsContext$i12;
44832
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.twitterlink) != null) {
44833
- var _authdetailsContext$i13;
44834
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.twitterlink, '_blank');
44835
- }
44836
- },
44837
- style: {
44838
- fontSize: 15,
44839
- textTransform: 'none'
44840
- }
44841
- }, /*#__PURE__*/React__default["default"].createElement("i", {
44842
- "class": "allcentered mr-2"
44843
- }, /*#__PURE__*/React__default["default"].createElement(FiArrowUpRight.FiArrowUpRight, {
44844
- size: sectionproperties.closeSlider_fontSize
44845
- })), "X"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
44846
- "class": "".concat(header_cssstyles.navbarItem) + ' col-lg-12 p-0 text-start mb-2 ',
44847
- onClick: function onClick() {
44848
- var _authdetailsContext$i15;
44849
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.linkedinlink) != null) {
44850
- var _authdetailsContext$i16;
44851
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.linkedinlink, '_blank');
44852
- }
44853
- },
44854
- style: {
44855
- fontSize: 15,
44856
- textTransform: 'none'
44857
- }
44858
- }, /*#__PURE__*/React__default["default"].createElement("i", {
44859
- "class": "allcentered mr-2"
44860
- }, /*#__PURE__*/React__default["default"].createElement(FiArrowUpRight.FiArrowUpRight, {
44861
- size: sectionproperties.closeSlider_fontSize
44862
- })), "LinkedIn"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
44863
- "class": ' col-lg-12 p-0 text-start mb-2 ',
44864
- onClick: function onClick() {
44865
- var _authdetailsContext$i18;
44866
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.youtubelink) != null) {
44867
- var _authdetailsContext$i19;
44868
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.youtubelink, '_blank');
44869
- }
44870
- },
44871
- style: _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
44872
- fontSize: 15,
44873
- textTransform: 'none'
44874
- }, "fontSize", sectionproperties.lowersection_fontsize + 'px'), "color", sectionproperties.lowersection_fontColor), "fontWeight", sectionproperties.lowersection_textfontweight)
44875
- }, /*#__PURE__*/React__default["default"].createElement("i", {
44876
- "class": "allcentered mr-2"
44877
- }, /*#__PURE__*/React__default["default"].createElement(FiArrowUpRight.FiArrowUpRight, {
44878
- size: sectionproperties.closeSlider_fontSize
44879
- })), "YouTube"))))))), sectionproperties.responsiveheaderstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
44738
+ }, langdetect == 'en' ? 'Arabic' : 'لغة عربية'))))))))))), sectionproperties.responsiveheaderstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
44880
44739
  sectionpropertiesprops: sectionproperties,
44881
44740
  actions: actions
44882
44741
  }), sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
@@ -66620,7 +66479,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
66620
66479
  }
66621
66480
  }
66622
66481
  }, sectionproperties.imageposition == 'Top' && sectionproperties.image_width != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
66623
- "class": "col-lg-12 d-flex align-items-center p-0 w-100 h-100",
66482
+ "class": "col-lg-12 d-flex align-items-center p-0 w-100 h-100 ",
66624
66483
  style: {
66625
66484
  marginBottom: sectionproperties.image_mb + 'px',
66626
66485
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
@@ -66746,7 +66605,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
66746
66605
  // : ' col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' +
66747
66606
  // sectionproperties.numberOfColsverticalresp
66748
66607
  // }
66749
- "class": sectionproperties.numofcols == '2' ? ' h-100 col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-100 col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-100 col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp,
66608
+ "class": sectionproperties.numofcols == '2' ? ' h-100 h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-100 h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-100 h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp,
66750
66609
  style: {
66751
66610
  zIndex: 2,
66752
66611
  paddingLeft: sectionproperties.marginhorizontal + 'px',
@@ -66758,7 +66617,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
66758
66617
  // ? sectionStyles.cardContainer + ' row m-0 w-100 mb-auto border-md-none '
66759
66618
  // : sectionStyles.cardContainer + ' row m-0 w-100 mb-auto '
66760
66619
  // }
66761
- "class": sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto ',
66620
+ "class": sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto ',
66762
66621
  style: {
66763
66622
  cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
66764
66623
  // background: sectionproperties.reservation_bgcolor,
@@ -66793,7 +66652,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
66793
66652
  }
66794
66653
  }
66795
66654
  }, sectionproperties.imageposition == 'Top' && sectionproperties.image_width != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
66796
- "class": "col-lg-12 d-flex align-items-center p-0 w-100"
66655
+ "class": "col-lg-12 d-flex align-items-center p-0 w-100 h-md-100"
66797
66656
  // class="col-lg-12 d-flex align-items-center p-0 w-100 h-100"
66798
66657
  ,
66799
66658
  style: {
@@ -67712,165 +67571,171 @@ var Slideshowfade = function Slideshowfade(props) {
67712
67571
  }
67713
67572
  }, langdetect == 'en' ? 'SHOP' : 'تسوق', ' ')));
67714
67573
  };
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) {
67574
+ var SlideshowallContent = function SlideshowallContent() {
67733
67575
  return /*#__PURE__*/React__default["default"].createElement("div", {
67734
- "class": sectionproperties.zoominimagewhenhover == 'Yes' ? 'row m-0 w-100 slideshowzoomonhover' : 'row m-0 w-100 ',
67576
+ "class": slideshow_styles.contt,
67735
67577
  style: {
67736
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
67737
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
67738
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
67739
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px'
67578
+ // height: sectionproperties.height + 'vh',
67740
67579
  }
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);
67580
+ }, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Fade, _extends__default["default"]({}, Slideshowsettings, {
67581
+ transitionDuration: 1500,
67582
+ duration: 1500,
67583
+ arrow: true,
67584
+ easing: "ease"
67585
+ }), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
67586
+ return /*#__PURE__*/React__default["default"].createElement("div", {
67587
+ "class": sectionproperties.zoominimagewhenhover == 'Yes' ? 'row m-0 w-100 slideshowzoomonhover' : 'row m-0 w-100 ',
67588
+ style: {
67589
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
67590
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
67591
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
67592
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px'
67593
+ }
67594
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
67595
+ onClick: function onClick() {
67596
+ if (sectionproperties.showcurrencylangcont != 'Show') {
67597
+ if (item.IsClickableimg == 'Yes') {
67598
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
67599
+ routingcountext(item.clickableimg_page_route, false, '');
67600
+ } else {
67601
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
67602
+ }
67749
67603
  }
67750
67604
  }
67605
+ },
67606
+ "class": 'p-0 align-items-center d-sm-none ',
67607
+ key: index,
67608
+ style: {
67609
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
67610
+ direction: langdetect == 'en' ? 'ltr' : 'rtl',
67611
+ width: '100%',
67612
+ height: sectionproperties.height != 0 ? sectionproperties.height + 'vh' : 'auto',
67613
+ paddingTop: sectionproperties.paddingTop + 'px'
67751
67614
  }
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);
67615
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
67616
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
67617
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
67618
+ 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,
67619
+ style: {
67620
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
67621
+ objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
67622
+ margin: 0,
67623
+ padding: 0,
67624
+ width: '100%',
67625
+ height: '100%',
67626
+ borderRadius: sectionproperties.imageborderradius + 'px'
67627
+ }
67628
+ }), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
67629
+ "class": 'row m-0 w-100 pl-md-2 pr-md-2',
67630
+ style: {
67631
+ position: 'absolute',
67632
+ top: '20%',
67633
+ zIndex: 1000,
67634
+ paddingTop: sectionproperties.paddingTop + 'px',
67635
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
67636
+ paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
67637
+ }
67638
+ }, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
67639
+ onClick: function onClick() {
67640
+ if (sectionproperties.showcurrencylangcont != 'Show') {
67641
+ if (item.IsClickableimg == 'Yes') {
67642
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
67643
+ routingcountext(item.clickableimg_page_route, false, '');
67644
+ } else {
67645
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
67646
+ }
67793
67647
  }
67794
67648
  }
67649
+ },
67650
+ "class": 'p-0 align-items-center d-none d-sm-flex ',
67651
+ key: index,
67652
+ style: {
67653
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
67654
+ width: '100%',
67655
+ height: 'auto',
67656
+ paddingTop: sectionproperties.paddingTop + 'px',
67657
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
67658
+ paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
67795
67659
  }
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"
67660
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
67661
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
67662
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
67663
+ 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,
67664
+ style: {
67665
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
67666
+ objectFit: 'contain',
67667
+ margin: 0,
67668
+ padding: 0,
67669
+ width: '100%',
67670
+ height: '100%',
67671
+ borderRadius: sectionproperties.imageborderradius + 'px'
67672
+ }
67673
+ }), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
67674
+ "class": 'row m-0 w-100 pl-md-2 pr-md-2',
67675
+ style: {
67676
+ position: 'absolute',
67677
+ top: '20%',
67678
+ zIndex: 1000,
67679
+ paddingTop: sectionproperties.paddingTop + 'px',
67680
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
67681
+ paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
67682
+ }
67683
+ }, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)));
67684
+ })), cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
67685
+ "class": "".concat(slideshow_styles.innerSection) + ' col-lg-9 col-md-10 col-sm-10 ml-auto mr-auto '
67840
67686
  }, /*#__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
- }))))));
67687
+ "class": ' row m-0 w-100 align-items-center justify-content-center '
67688
+ }, cardsarray.map(function (cardItem, cardinfoindex) {
67689
+ return /*#__PURE__*/React__default["default"].createElement("div", {
67690
+ "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"
67691
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
67692
+ "class": "row m-0 w-100 d-flex align-items-center"
67693
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
67694
+ style: {
67695
+ width: '70px',
67696
+ height: '70px'
67697
+ }
67698
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
67699
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
67700
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
67701
+ path: cardsarray.length != 0 ? cardItem.cardobj_img : '',
67702
+ style: {
67703
+ width: '100%',
67704
+ height: '100%',
67705
+ borderRadius: '100%'
67706
+ }
67707
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
67708
+ "class": "col-lg-8 col-md-8 col-sm-8 d-flex flex-column"
67709
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
67710
+ "class": "p-0 m-0 wordbreak wordbreak1",
67711
+ style: {
67712
+ color: sectionproperties.sectionTitleColor,
67713
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
67714
+ fontWeight: sectionproperties.sectionTitleFontWeight,
67715
+ textAlign: langdetect == 'en' ? 'left' : 'right'
67716
+ }
67717
+ }, langdetect == 'en' ? cardItem.cardobj_titleen : cardItem.cardobj_titlear), /*#__PURE__*/React__default["default"].createElement("p", {
67718
+ "class": "m-0 wordbreak wordbreak1",
67719
+ style: {
67720
+ color: sectionproperties.prodCatColor,
67721
+ fontSize: sectionproperties.prodCatFontSize + 'px',
67722
+ fontWeight: sectionproperties.prodCatFontWeight,
67723
+ textAlign: langdetect == 'en' ? 'left' : 'right'
67724
+ }
67725
+ }, langdetect == 'en' ? cardItem.cardobj_descripen : cardItem.cardobj_descripar))));
67726
+ }))));
67727
+ };
67728
+ return /*#__PURE__*/React__default["default"].createElement("div", {
67729
+ "class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
67730
+ style: {
67731
+ background: sectionproperties.lower_section_background
67732
+ }
67733
+ }, sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
67734
+ "class": 'col-lg-12 p-0 d-flex justify-content-center',
67735
+ "data-aos": 'fade-up'
67736
+ }, SlideshowallContent()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
67737
+ "class": 'col-lg-12 p-0 d-flex justify-content-center'
67738
+ }, SlideshowallContent()));
67874
67739
  };
67875
67740
 
67876
67741
  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 +68253,28 @@ var Slideshowslide = function Slideshowslide(props) {
68388
68253
  }), SlideShowTextContainer(item)));
68389
68254
  }))))));
68390
68255
  };
68256
+ var SlideshowallContent = function SlideshowallContent() {
68257
+ return /*#__PURE__*/React__default["default"].createElement("div", {
68258
+ "class": "col-lg-12 p-0",
68259
+ "data-aos": 'fade-up'
68260
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
68261
+ "class": "row m-0 w-100 d-flex d-md-none",
68262
+ style: {
68263
+ paddingTop: sectionproperties.marginTop + 'px'
68264
+ },
68265
+ onMouseLeave: function onMouseLeave() {
68266
+ setChoosenindex('');
68267
+ }
68268
+ }, SlideshowContent()), /*#__PURE__*/React__default["default"].createElement("div", {
68269
+ "class": "row m-0 w-100 d-none d-md-flex",
68270
+ style: {
68271
+ paddingTop: sectionproperties.marginTopResp + 'px'
68272
+ },
68273
+ onMouseLeave: function onMouseLeave() {
68274
+ setChoosenindex('');
68275
+ }
68276
+ }, SlideshowContent()));
68277
+ };
68391
68278
  return /*#__PURE__*/React__default["default"].createElement("div", {
68392
68279
  "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
68280
  style: {
@@ -68399,25 +68286,12 @@ var Slideshowslide = function Slideshowslide(props) {
68399
68286
  onMouseEnter: function onMouseEnter() {
68400
68287
  setChoosenindex('');
68401
68288
  }
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())));
68289
+ }, sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
68290
+ "class": "row m-0 w-100",
68291
+ "data-aos": 'fade-up'
68292
+ }, SlideshowallContent()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
68293
+ "class": "row m-0 w-100"
68294
+ }, SlideshowallContent()));
68421
68295
  };
68422
68296
 
68423
68297
  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 +81837,14 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
81963
81837
  style: {
81964
81838
  // backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
81965
81839
  color: isChoosedValueExists ? '#ffffff' : '#000000',
81966
- border: isChoosedValueExists ? '1px solid #617464' : '1px solid #000000',
81840
+ border: isChoosedValueExists ? '1px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
81967
81841
  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
81842
  cursor: valitem.disabled ? 'not-allowed' : 'pointer',
81969
81843
  fontSize: '13px',
81970
81844
  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
81845
  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
81846
  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',
81847
+ 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
81848
  fontWeight: 500
81975
81849
  },
81976
81850
  disabled: valitem.disabled
@@ -82030,6 +81904,24 @@ var Simpleproductcard = function Simpleproductcard(props) {
82030
81904
  React.useEffect(function () {
82031
81905
  setitem(props.cardinfoitemprops);
82032
81906
  }, [props.cardinfoitemprops]);
81907
+ React.useEffect(function () {
81908
+ var productImagetoBeSelected = '';
81909
+ var Tempitem = _objectSpread$6({}, item);
81910
+ productImagetoBeSelected = item.productmainimage;
81911
+ if (variantObj != undefined && variantObj != null && Object.keys(variantObj).length != 0 && variantObj != '') {
81912
+ var variatgalleryid = variantObj.variantgalleryid;
81913
+ if (variatgalleryid != undefined && variatgalleryid != null && variatgalleryid != '') {
81914
+ var _item$productimages;
81915
+ item === null || item === void 0 || (_item$productimages = item.productimages) === null || _item$productimages === void 0 || _item$productimages.forEach(function (item, index) {
81916
+ if (item.galleryid == variatgalleryid) {
81917
+ productImagetoBeSelected = item.path;
81918
+ }
81919
+ });
81920
+ }
81921
+ }
81922
+ Tempitem.image = productImagetoBeSelected;
81923
+ setitem(_objectSpread$6({}, Tempitem));
81924
+ }, [variantObj]);
82033
81925
  var card_cssstyles = {
82034
81926
  productcard: glamor.css({
82035
81927
  minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
@@ -82521,7 +82413,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
82521
82413
  style: {
82522
82414
  zIndex: 2,
82523
82415
  position: 'absolute',
82524
- top: sectionproperties.badge_top + 'px',
82416
+ top: sectionproperties.badgeposition == 'Top' ? sectionproperties.badge_top + 'px' : '',
82417
+ bottom: sectionproperties.badgeposition == 'Bottom' ? sectionproperties.badge_top + 'px' : '',
82525
82418
  left: langdetect == 'en' ? sectionproperties.badge_right + 'px' : '',
82526
82419
  right: langdetect == 'en' ? '' : sectionproperties.badge_right + 'px',
82527
82420
  width: sectionproperties.badge_width == 0 ? '90%' : sectionproperties.badge_width + 'px',