tabexseriescomponents 0.2.1270 → 0.2.1271

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
@@ -41986,7 +41986,7 @@ var Modernheader = function Modernheader(props) {
41986
41986
  }, /*#__PURE__*/React__default["default"].createElement("p", {
41987
41987
  "class": "m-0 p-0"
41988
41988
  }, "\u0639"), /*#__PURE__*/React__default["default"].createElement("i", {
41989
- "class": "h-100 allcentered ml-auto "
41989
+ "class": "h-100 allcentered mr-auto "
41990
41990
  }, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
41991
41991
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 d-flex align-items-center '
41992
41992
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -79826,7 +79826,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
79826
79826
  backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
79827
79827
  }
79828
79828
  }),
79829
- slideshow_btn: glamor.css(_defineProperty__default["default"]({
79829
+ slideshow_btn: glamor.css({
79830
79830
  height: sectionproperties.generalbtn_height + 'px',
79831
79831
  width: sectionproperties.generalbtn_width + 'px',
79832
79832
  background: sectionproperties.generalbtn_bgColor,
@@ -79849,11 +79849,31 @@ var Slideshowzoom = function Slideshowzoom(props) {
79849
79849
  height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '684fdf3f9e856' ? '33px' : sectionproperties.generalbtnheightresponsive + 'px',
79850
79850
  fontSize: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '684fdf3f9e856' ? '12px' : sectionproperties.generalbtnfontsizeresponsive + 'px'
79851
79851
  }
79852
- }, "@media (max-width: 800px)", {
79853
- height: sectionproperties.generalbtnheightresponsive + 'px',
79854
- width: sectionproperties.generalbtnwidthresp + 'px',
79855
- fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
79856
- })),
79852
+ }),
79853
+ slideshow_btnyrh: glamor.css({
79854
+ height: sectionproperties.generalbtn_height + 'px',
79855
+ width: sectionproperties.generalbtn_width + 'px',
79856
+ background: sectionproperties.generalbtn_bgColor,
79857
+ color: sectionproperties.generalbtn_textColor,
79858
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
79859
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
79860
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
79861
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
79862
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
79863
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
79864
+ textTransform: sectionproperties.generalbtn_texttransform,
79865
+ fontWeight: sectionproperties.generalbtn_fontweight,
79866
+ transition: '.3s',
79867
+ ':hover': {
79868
+ background: sectionproperties.generalbtn_bgColoronhover,
79869
+ color: sectionproperties.generalbtn_textColoronhover
79870
+ },
79871
+ '@media (max-width: 800px)': {
79872
+ width: 110,
79873
+ height: 32,
79874
+ fontSize: 10
79875
+ }
79876
+ }),
79857
79877
  textcont: glamor.css({
79858
79878
  position: 'absolute',
79859
79879
  zIndex: 2,
@@ -79863,7 +79883,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
79863
79883
  paddingRight: langdetect == 'ar' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
79864
79884
  // bottom: sectionproperties.generalbtn_marginBottom + 'px',
79865
79885
  // width: sectionproperties.generalbtn_position == 'Centered' ? '100%' : '%',
79866
- // left: sectionproperties.generalbtn_position == 'Centered' ? '' : sectionproperties.animateinnersection == 'Yes' ? 0 : langdetect == 'en' ? 20 : '',
79886
+ // left: sectionproperties.generalbtn_position == 'Centered' ? '' : sectionproperties.showanimation == 'Yes' ? 0 : langdetect == 'en' ? 20 : '',
79867
79887
  // right: sectionproperties.generalbtn_position == 'Centered' ? '' : langdetect == 'ar' ? 20 : '',
79868
79888
  '@media (max-width: 800px)': {
79869
79889
  // bottom: '20px',
@@ -79889,18 +79909,28 @@ var Slideshowzoom = function Slideshowzoom(props) {
79889
79909
  }
79890
79910
  })
79891
79911
  };
79892
- var Text1Content = function Text1Content(item) {
79912
+ var SlideShowTextContainer = function SlideShowTextContainer(item) {
79893
79913
  return /*#__PURE__*/React__default["default"].createElement("div", {
79914
+ "class": cardarrayofobjs.length != 0 ? slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center mt-sm-n6 px-md-2 ' : sectionproperties.text1centered == 'Centered' ? slideshow_styles.textcont + ' mx-auto row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center px-md-2 ' : slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center px-md-2 ',
79915
+ style: {
79916
+ direction: langdetect == 'en' ? 'ltr' : 'rtl'
79917
+ }
79918
+ }, sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79894
79919
  "class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 text-start'
79895
79920
  }, /*#__PURE__*/React__default["default"].createElement("p", {
79896
79921
  className: slideshow_styles.text1styles + ' m-0 p-0 wordbreak ',
79897
79922
  style: {
79898
79923
  textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
79899
79924
  }
79900
- }, langdetect == 'en' ? item.titleen : item.titlear));
79901
- };
79902
- var Text2Content = function Text2Content(item) {
79903
- return /*#__PURE__*/React__default["default"].createElement("div", {
79925
+ }, langdetect == 'en' ? item.titleen : item.titlear)), sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79926
+ "class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 text-start',
79927
+ "data-aos": 'fade-up'
79928
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
79929
+ className: slideshow_styles.text1styles + ' m-0 p-0 wordbreak ',
79930
+ style: {
79931
+ textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
79932
+ }
79933
+ }, langdetect == 'en' ? item.titleen : item.titlear)), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79904
79934
  "class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered mb-3' : 'col-lg-12 mb-3 text-start ',
79905
79935
  "data-aos": 'fade-up'
79906
79936
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -79908,10 +79938,24 @@ var Slideshowzoom = function Slideshowzoom(props) {
79908
79938
  style: {
79909
79939
  textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
79910
79940
  }
79911
- }, langdetect == 'en' ? item.descriptionen : item.descriptionar));
79912
- };
79913
- var Slideshowbtn = function Slideshowbtn(item) {
79914
- return /*#__PURE__*/React__default["default"].createElement("button", {
79941
+ }, langdetect == 'en' ? item.descriptionen : item.descriptionar)), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79942
+ "class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered mb-3' : 'col-lg-12 mb-3 text-start '
79943
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
79944
+ className: slideshow_styles.text2styles + ' m-0 p-0 wordbreak ',
79945
+ style: {
79946
+ textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
79947
+ }
79948
+ }, langdetect == 'en' ? item.descriptionen : item.descriptionar)), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79949
+ "class":
79950
+ // sectionproperties.generalbtn_position == 'Centered'
79951
+ // ? 'col-lg-12 allcentered'
79952
+ // : item.titleen == null && item.descriptionen == null
79953
+ // ? sectionproperties.generalbtn_position == 'Centered'
79954
+ // ? 'col-lg-12 allcentered'
79955
+ // : 'col-lg-12 allcentered-md'
79956
+ // : 'col-lg-12 text-start'
79957
+ sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
79958
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
79915
79959
  "class": langdetect == 'en' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
79916
79960
  onClick: function onClick() {
79917
79961
  if (sectionproperties.showplayer == 'Show') {
@@ -79923,31 +79967,23 @@ var Slideshowzoom = function Slideshowzoom(props) {
79923
79967
  style: {
79924
79968
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
79925
79969
  }
79926
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ');
79927
- };
79928
- var SlideShowTextContainer = function SlideShowTextContainer(item) {
79929
- return /*#__PURE__*/React__default["default"].createElement("div", {
79930
- "class": cardarrayofobjs.length != 0 ? slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center mt-sm-n6 px-md-2 ' : sectionproperties.text1centered == 'Centered' ? slideshow_styles.textcont + ' mx-auto row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center px-md-2 ' : slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center px-md-2 ',
79970
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79971
+ "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start',
79972
+ "data-aos": 'fade-up',
79973
+ "data-aos-delay": "300"
79974
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
79975
+ "class": "".concat(slideshow_styles.slideshow_btnyrh) + ' allcentered ',
79976
+ onClick: function onClick() {
79977
+ if (sectionproperties.showplayer == 'Show') {
79978
+ setshowpopup(true);
79979
+ } else {
79980
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
79981
+ }
79982
+ },
79931
79983
  style: {
79932
79984
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
79933
79985
  }
79934
- }, sectionproperties.animateinnersection != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79935
- className: "col-12 p-0"
79936
- }, Text1Content(item)), sectionproperties.animateinnersection == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79937
- className: "col-12 p-0",
79938
- "data-aos": 'fade-up'
79939
- }, Text1Content(item)), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.animateinnersection == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79940
- className: "col-12 p-0"
79941
- }, Text2Content()), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.animateinnersection != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79942
- className: "col-12 p-0",
79943
- "data-aos": 'fade-up'
79944
- }, Text2Content(item)), sectionproperties.generalbtn_show == 'Show' && sectionproperties.animateinnersection != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79945
- "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
79946
- }, Slideshowbtn()), sectionproperties.generalbtn_show == 'Show' && sectionproperties.animateinnersection == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79947
- "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start',
79948
- "data-aos": 'fade-up',
79949
- "data-aos-delay": "300"
79950
- }, Slideshowbtn()));
79986
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
79951
79987
  };
79952
79988
  return /*#__PURE__*/React__default["default"].createElement("div", {
79953
79989
  "class": "row m-0 w-100"
@@ -80031,12 +80067,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
80031
80067
  width: '100%',
80032
80068
  height: '100%'
80033
80069
  }
80034
- }), sectionproperties.showanimation == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
80035
- "class": "row m-0 w-100",
80036
- "data-aos": 'fade-up'
80037
- }, SlideShowTextContainer(item)), sectionproperties.showanimation != 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
80038
- "class": "row m-0 w-100"
80039
- }, SlideShowTextContainer(item))), /*#__PURE__*/React__default["default"].createElement("div", {
80070
+ }), SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
80040
80071
  "class": ' p-0 align-items-center d-none d-md-flex justify-content-center ',
80041
80072
  key: index,
80042
80073
  style: {
@@ -80074,12 +80105,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
80074
80105
  width: '100%',
80075
80106
  height: '100%'
80076
80107
  }
80077
- }), sectionproperties.showanimation == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
80078
- "class": "row m-0 w-100",
80079
- "data-aos": 'fade-up'
80080
- }, SlideShowTextContainer(item)), sectionproperties.showanimation != 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
80081
- "class": "row m-0 w-100"
80082
- }, SlideShowTextContainer(item))));
80108
+ }), SlideShowTextContainer(item)));
80083
80109
  })), cardarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
80084
80110
  style: {
80085
80111
  position: 'absolute',
@@ -92773,9 +92799,9 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
92773
92799
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
92774
92800
  props.actions.lang;
92775
92801
  var langdetect = props.actions.langdetect;
92776
- var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
92802
+ props.actions.setShowProductInfoModalContext;
92777
92803
  var addtofavoritescontext = props.actions.addtofavoritescontext;
92778
- var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
92804
+ props.actions.setProductIdProdutInfoModalContext;
92779
92805
  props.actions.AddtoCartContext;
92780
92806
  props.actions.AddtoCartMutationContext;
92781
92807
  props.actions.StaticPagesLinksContext;
@@ -93016,8 +93042,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
93016
93042
  }, "width", '100%'), "height", '100%'),
93017
93043
  loading: "lazy",
93018
93044
  onClick: function onClick() {
93019
- setShowProductInfoModalContext(true);
93020
- setProductIdProdutInfoModalContext(item.productid);
93045
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
93021
93046
  }
93022
93047
  }), transition && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
93023
93048
  "class": generalCardsStyles.secondaryimage,
@@ -93035,8 +93060,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
93035
93060
  },
93036
93061
  loading: "lazy",
93037
93062
  onClick: function onClick() {
93038
- setShowProductInfoModalContext(true);
93039
- setProductIdProdutInfoModalContext(item.productid);
93063
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
93040
93064
  }
93041
93065
  }));
93042
93066
  };
package/dist/index.esm.js CHANGED
@@ -41935,7 +41935,7 @@ var Modernheader = function Modernheader(props) {
41935
41935
  }, /*#__PURE__*/React.createElement("p", {
41936
41936
  "class": "m-0 p-0"
41937
41937
  }, "\u0639"), /*#__PURE__*/React.createElement("i", {
41938
- "class": "h-100 allcentered ml-auto "
41938
+ "class": "h-100 allcentered mr-auto "
41939
41939
  }, /*#__PURE__*/React.createElement(BsChevronDown, null))), langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
41940
41940
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 d-flex align-items-center '
41941
41941
  }, /*#__PURE__*/React.createElement("p", {
@@ -79775,7 +79775,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
79775
79775
  backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
79776
79776
  }
79777
79777
  }),
79778
- slideshow_btn: css(_defineProperty({
79778
+ slideshow_btn: css({
79779
79779
  height: sectionproperties.generalbtn_height + 'px',
79780
79780
  width: sectionproperties.generalbtn_width + 'px',
79781
79781
  background: sectionproperties.generalbtn_bgColor,
@@ -79798,11 +79798,31 @@ var Slideshowzoom = function Slideshowzoom(props) {
79798
79798
  height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '684fdf3f9e856' ? '33px' : sectionproperties.generalbtnheightresponsive + 'px',
79799
79799
  fontSize: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '684fdf3f9e856' ? '12px' : sectionproperties.generalbtnfontsizeresponsive + 'px'
79800
79800
  }
79801
- }, "@media (max-width: 800px)", {
79802
- height: sectionproperties.generalbtnheightresponsive + 'px',
79803
- width: sectionproperties.generalbtnwidthresp + 'px',
79804
- fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
79805
- })),
79801
+ }),
79802
+ slideshow_btnyrh: css({
79803
+ height: sectionproperties.generalbtn_height + 'px',
79804
+ width: sectionproperties.generalbtn_width + 'px',
79805
+ background: sectionproperties.generalbtn_bgColor,
79806
+ color: sectionproperties.generalbtn_textColor,
79807
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
79808
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
79809
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
79810
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
79811
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
79812
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
79813
+ textTransform: sectionproperties.generalbtn_texttransform,
79814
+ fontWeight: sectionproperties.generalbtn_fontweight,
79815
+ transition: '.3s',
79816
+ ':hover': {
79817
+ background: sectionproperties.generalbtn_bgColoronhover,
79818
+ color: sectionproperties.generalbtn_textColoronhover
79819
+ },
79820
+ '@media (max-width: 800px)': {
79821
+ width: 110,
79822
+ height: 32,
79823
+ fontSize: 10
79824
+ }
79825
+ }),
79806
79826
  textcont: css({
79807
79827
  position: 'absolute',
79808
79828
  zIndex: 2,
@@ -79812,7 +79832,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
79812
79832
  paddingRight: langdetect == 'ar' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
79813
79833
  // bottom: sectionproperties.generalbtn_marginBottom + 'px',
79814
79834
  // width: sectionproperties.generalbtn_position == 'Centered' ? '100%' : '%',
79815
- // left: sectionproperties.generalbtn_position == 'Centered' ? '' : sectionproperties.animateinnersection == 'Yes' ? 0 : langdetect == 'en' ? 20 : '',
79835
+ // left: sectionproperties.generalbtn_position == 'Centered' ? '' : sectionproperties.showanimation == 'Yes' ? 0 : langdetect == 'en' ? 20 : '',
79816
79836
  // right: sectionproperties.generalbtn_position == 'Centered' ? '' : langdetect == 'ar' ? 20 : '',
79817
79837
  '@media (max-width: 800px)': {
79818
79838
  // bottom: '20px',
@@ -79838,18 +79858,28 @@ var Slideshowzoom = function Slideshowzoom(props) {
79838
79858
  }
79839
79859
  })
79840
79860
  };
79841
- var Text1Content = function Text1Content(item) {
79861
+ var SlideShowTextContainer = function SlideShowTextContainer(item) {
79842
79862
  return /*#__PURE__*/React.createElement("div", {
79863
+ "class": cardarrayofobjs.length != 0 ? slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center mt-sm-n6 px-md-2 ' : sectionproperties.text1centered == 'Centered' ? slideshow_styles.textcont + ' mx-auto row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center px-md-2 ' : slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center px-md-2 ',
79864
+ style: {
79865
+ direction: langdetect == 'en' ? 'ltr' : 'rtl'
79866
+ }
79867
+ }, sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React.createElement("div", {
79843
79868
  "class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 text-start'
79844
79869
  }, /*#__PURE__*/React.createElement("p", {
79845
79870
  className: slideshow_styles.text1styles + ' m-0 p-0 wordbreak ',
79846
79871
  style: {
79847
79872
  textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
79848
79873
  }
79849
- }, langdetect == 'en' ? item.titleen : item.titlear));
79850
- };
79851
- var Text2Content = function Text2Content(item) {
79852
- return /*#__PURE__*/React.createElement("div", {
79874
+ }, langdetect == 'en' ? item.titleen : item.titlear)), sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React.createElement("div", {
79875
+ "class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 text-start',
79876
+ "data-aos": 'fade-up'
79877
+ }, /*#__PURE__*/React.createElement("p", {
79878
+ className: slideshow_styles.text1styles + ' m-0 p-0 wordbreak ',
79879
+ style: {
79880
+ textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
79881
+ }
79882
+ }, langdetect == 'en' ? item.titleen : item.titlear)), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React.createElement("div", {
79853
79883
  "class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered mb-3' : 'col-lg-12 mb-3 text-start ',
79854
79884
  "data-aos": 'fade-up'
79855
79885
  }, /*#__PURE__*/React.createElement("p", {
@@ -79857,10 +79887,24 @@ var Slideshowzoom = function Slideshowzoom(props) {
79857
79887
  style: {
79858
79888
  textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
79859
79889
  }
79860
- }, langdetect == 'en' ? item.descriptionen : item.descriptionar));
79861
- };
79862
- var Slideshowbtn = function Slideshowbtn(item) {
79863
- return /*#__PURE__*/React.createElement("button", {
79890
+ }, langdetect == 'en' ? item.descriptionen : item.descriptionar)), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React.createElement("div", {
79891
+ "class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered mb-3' : 'col-lg-12 mb-3 text-start '
79892
+ }, /*#__PURE__*/React.createElement("p", {
79893
+ className: slideshow_styles.text2styles + ' m-0 p-0 wordbreak ',
79894
+ style: {
79895
+ textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
79896
+ }
79897
+ }, langdetect == 'en' ? item.descriptionen : item.descriptionar)), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React.createElement("div", {
79898
+ "class":
79899
+ // sectionproperties.generalbtn_position == 'Centered'
79900
+ // ? 'col-lg-12 allcentered'
79901
+ // : item.titleen == null && item.descriptionen == null
79902
+ // ? sectionproperties.generalbtn_position == 'Centered'
79903
+ // ? 'col-lg-12 allcentered'
79904
+ // : 'col-lg-12 allcentered-md'
79905
+ // : 'col-lg-12 text-start'
79906
+ sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
79907
+ }, /*#__PURE__*/React.createElement("button", {
79864
79908
  "class": langdetect == 'en' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
79865
79909
  onClick: function onClick() {
79866
79910
  if (sectionproperties.showplayer == 'Show') {
@@ -79872,31 +79916,23 @@ var Slideshowzoom = function Slideshowzoom(props) {
79872
79916
  style: {
79873
79917
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
79874
79918
  }
79875
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ');
79876
- };
79877
- var SlideShowTextContainer = function SlideShowTextContainer(item) {
79878
- return /*#__PURE__*/React.createElement("div", {
79879
- "class": cardarrayofobjs.length != 0 ? slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center mt-sm-n6 px-md-2 ' : sectionproperties.text1centered == 'Centered' ? slideshow_styles.textcont + ' mx-auto row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center px-md-2 ' : slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center px-md-2 ',
79919
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React.createElement("div", {
79920
+ "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start',
79921
+ "data-aos": 'fade-up',
79922
+ "data-aos-delay": "300"
79923
+ }, /*#__PURE__*/React.createElement("button", {
79924
+ "class": "".concat(slideshow_styles.slideshow_btnyrh) + ' allcentered ',
79925
+ onClick: function onClick() {
79926
+ if (sectionproperties.showplayer == 'Show') {
79927
+ setshowpopup(true);
79928
+ } else {
79929
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
79930
+ }
79931
+ },
79880
79932
  style: {
79881
79933
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
79882
79934
  }
79883
- }, sectionproperties.animateinnersection != 'Yes' && /*#__PURE__*/React.createElement("div", {
79884
- className: "col-12 p-0"
79885
- }, Text1Content(item)), sectionproperties.animateinnersection == 'Yes' && /*#__PURE__*/React.createElement("div", {
79886
- className: "col-12 p-0",
79887
- "data-aos": 'fade-up'
79888
- }, Text1Content(item)), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.animateinnersection == 'Yes' && /*#__PURE__*/React.createElement("div", {
79889
- className: "col-12 p-0"
79890
- }, Text2Content()), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.animateinnersection != 'Yes' && /*#__PURE__*/React.createElement("div", {
79891
- className: "col-12 p-0",
79892
- "data-aos": 'fade-up'
79893
- }, Text2Content(item)), sectionproperties.generalbtn_show == 'Show' && sectionproperties.animateinnersection != 'Yes' && /*#__PURE__*/React.createElement("div", {
79894
- "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
79895
- }, Slideshowbtn()), sectionproperties.generalbtn_show == 'Show' && sectionproperties.animateinnersection == 'Yes' && /*#__PURE__*/React.createElement("div", {
79896
- "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start',
79897
- "data-aos": 'fade-up',
79898
- "data-aos-delay": "300"
79899
- }, Slideshowbtn()));
79935
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
79900
79936
  };
79901
79937
  return /*#__PURE__*/React.createElement("div", {
79902
79938
  "class": "row m-0 w-100"
@@ -79980,12 +80016,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
79980
80016
  width: '100%',
79981
80017
  height: '100%'
79982
80018
  }
79983
- }), sectionproperties.showanimation == 'Show' && /*#__PURE__*/React.createElement("div", {
79984
- "class": "row m-0 w-100",
79985
- "data-aos": 'fade-up'
79986
- }, SlideShowTextContainer(item)), sectionproperties.showanimation != 'Show' && /*#__PURE__*/React.createElement("div", {
79987
- "class": "row m-0 w-100"
79988
- }, SlideShowTextContainer(item))), /*#__PURE__*/React.createElement("div", {
80019
+ }), SlideShowTextContainer(item)), /*#__PURE__*/React.createElement("div", {
79989
80020
  "class": ' p-0 align-items-center d-none d-md-flex justify-content-center ',
79990
80021
  key: index,
79991
80022
  style: {
@@ -80023,12 +80054,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
80023
80054
  width: '100%',
80024
80055
  height: '100%'
80025
80056
  }
80026
- }), sectionproperties.showanimation == 'Show' && /*#__PURE__*/React.createElement("div", {
80027
- "class": "row m-0 w-100",
80028
- "data-aos": 'fade-up'
80029
- }, SlideShowTextContainer(item)), sectionproperties.showanimation != 'Show' && /*#__PURE__*/React.createElement("div", {
80030
- "class": "row m-0 w-100"
80031
- }, SlideShowTextContainer(item))));
80057
+ }), SlideShowTextContainer(item)));
80032
80058
  })), cardarrayofobjs.length != 0 && /*#__PURE__*/React.createElement("div", {
80033
80059
  style: {
80034
80060
  position: 'absolute',
@@ -92722,9 +92748,9 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
92722
92748
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
92723
92749
  props.actions.lang;
92724
92750
  var langdetect = props.actions.langdetect;
92725
- var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
92751
+ props.actions.setShowProductInfoModalContext;
92726
92752
  var addtofavoritescontext = props.actions.addtofavoritescontext;
92727
- var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
92753
+ props.actions.setProductIdProdutInfoModalContext;
92728
92754
  props.actions.AddtoCartContext;
92729
92755
  props.actions.AddtoCartMutationContext;
92730
92756
  props.actions.StaticPagesLinksContext;
@@ -92965,8 +92991,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
92965
92991
  }, "width", '100%'), "height", '100%'),
92966
92992
  loading: "lazy",
92967
92993
  onClick: function onClick() {
92968
- setShowProductInfoModalContext(true);
92969
- setProductIdProdutInfoModalContext(item.productid);
92994
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
92970
92995
  }
92971
92996
  }), transition && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
92972
92997
  "class": generalCardsStyles.secondaryimage,
@@ -92984,8 +93009,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
92984
93009
  },
92985
93010
  loading: "lazy",
92986
93011
  onClick: function onClick() {
92987
- setShowProductInfoModalContext(true);
92988
- setProductIdProdutInfoModalContext(item.productid);
93012
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
92989
93013
  }
92990
93014
  }));
92991
93015
  };
package/dist/index.umd.js CHANGED
@@ -41792,7 +41792,7 @@
41792
41792
  }, /*#__PURE__*/React__default["default"].createElement("p", {
41793
41793
  "class": "m-0 p-0"
41794
41794
  }, "\u0639"), /*#__PURE__*/React__default["default"].createElement("i", {
41795
- "class": "h-100 allcentered ml-auto "
41795
+ "class": "h-100 allcentered mr-auto "
41796
41796
  }, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
41797
41797
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 d-flex align-items-center '
41798
41798
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -79632,7 +79632,7 @@
79632
79632
  backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
79633
79633
  }
79634
79634
  }),
79635
- slideshow_btn: glamor.css(_defineProperty__default["default"]({
79635
+ slideshow_btn: glamor.css({
79636
79636
  height: sectionproperties.generalbtn_height + 'px',
79637
79637
  width: sectionproperties.generalbtn_width + 'px',
79638
79638
  background: sectionproperties.generalbtn_bgColor,
@@ -79655,11 +79655,31 @@
79655
79655
  height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '684fdf3f9e856' ? '33px' : sectionproperties.generalbtnheightresponsive + 'px',
79656
79656
  fontSize: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '684fdf3f9e856' ? '12px' : sectionproperties.generalbtnfontsizeresponsive + 'px'
79657
79657
  }
79658
- }, "@media (max-width: 800px)", {
79659
- height: sectionproperties.generalbtnheightresponsive + 'px',
79660
- width: sectionproperties.generalbtnwidthresp + 'px',
79661
- fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
79662
- })),
79658
+ }),
79659
+ slideshow_btnyrh: glamor.css({
79660
+ height: sectionproperties.generalbtn_height + 'px',
79661
+ width: sectionproperties.generalbtn_width + 'px',
79662
+ background: sectionproperties.generalbtn_bgColor,
79663
+ color: sectionproperties.generalbtn_textColor,
79664
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
79665
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
79666
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
79667
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
79668
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
79669
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
79670
+ textTransform: sectionproperties.generalbtn_texttransform,
79671
+ fontWeight: sectionproperties.generalbtn_fontweight,
79672
+ transition: '.3s',
79673
+ ':hover': {
79674
+ background: sectionproperties.generalbtn_bgColoronhover,
79675
+ color: sectionproperties.generalbtn_textColoronhover
79676
+ },
79677
+ '@media (max-width: 800px)': {
79678
+ width: 110,
79679
+ height: 32,
79680
+ fontSize: 10
79681
+ }
79682
+ }),
79663
79683
  textcont: glamor.css({
79664
79684
  position: 'absolute',
79665
79685
  zIndex: 2,
@@ -79669,7 +79689,7 @@
79669
79689
  paddingRight: langdetect == 'ar' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
79670
79690
  // bottom: sectionproperties.generalbtn_marginBottom + 'px',
79671
79691
  // width: sectionproperties.generalbtn_position == 'Centered' ? '100%' : '%',
79672
- // left: sectionproperties.generalbtn_position == 'Centered' ? '' : sectionproperties.animateinnersection == 'Yes' ? 0 : langdetect == 'en' ? 20 : '',
79692
+ // left: sectionproperties.generalbtn_position == 'Centered' ? '' : sectionproperties.showanimation == 'Yes' ? 0 : langdetect == 'en' ? 20 : '',
79673
79693
  // right: sectionproperties.generalbtn_position == 'Centered' ? '' : langdetect == 'ar' ? 20 : '',
79674
79694
  '@media (max-width: 800px)': {
79675
79695
  // bottom: '20px',
@@ -79695,18 +79715,28 @@
79695
79715
  }
79696
79716
  })
79697
79717
  };
79698
- var Text1Content = function Text1Content(item) {
79718
+ var SlideShowTextContainer = function SlideShowTextContainer(item) {
79699
79719
  return /*#__PURE__*/React__default["default"].createElement("div", {
79720
+ "class": cardarrayofobjs.length != 0 ? slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center mt-sm-n6 px-md-2 ' : sectionproperties.text1centered == 'Centered' ? slideshow_styles.textcont + ' mx-auto row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center px-md-2 ' : slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center px-md-2 ',
79721
+ style: {
79722
+ direction: langdetect == 'en' ? 'ltr' : 'rtl'
79723
+ }
79724
+ }, sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79700
79725
  "class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 text-start'
79701
79726
  }, /*#__PURE__*/React__default["default"].createElement("p", {
79702
79727
  className: slideshow_styles.text1styles + ' m-0 p-0 wordbreak ',
79703
79728
  style: {
79704
79729
  textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
79705
79730
  }
79706
- }, langdetect == 'en' ? item.titleen : item.titlear));
79707
- };
79708
- var Text2Content = function Text2Content(item) {
79709
- return /*#__PURE__*/React__default["default"].createElement("div", {
79731
+ }, langdetect == 'en' ? item.titleen : item.titlear)), sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79732
+ "class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 text-start',
79733
+ "data-aos": 'fade-up'
79734
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
79735
+ className: slideshow_styles.text1styles + ' m-0 p-0 wordbreak ',
79736
+ style: {
79737
+ textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
79738
+ }
79739
+ }, langdetect == 'en' ? item.titleen : item.titlear)), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79710
79740
  "class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered mb-3' : 'col-lg-12 mb-3 text-start ',
79711
79741
  "data-aos": 'fade-up'
79712
79742
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -79714,10 +79744,24 @@
79714
79744
  style: {
79715
79745
  textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
79716
79746
  }
79717
- }, langdetect == 'en' ? item.descriptionen : item.descriptionar));
79718
- };
79719
- var Slideshowbtn = function Slideshowbtn(item) {
79720
- return /*#__PURE__*/React__default["default"].createElement("button", {
79747
+ }, langdetect == 'en' ? item.descriptionen : item.descriptionar)), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79748
+ "class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered mb-3' : 'col-lg-12 mb-3 text-start '
79749
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
79750
+ className: slideshow_styles.text2styles + ' m-0 p-0 wordbreak ',
79751
+ style: {
79752
+ textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
79753
+ }
79754
+ }, langdetect == 'en' ? item.descriptionen : item.descriptionar)), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79755
+ "class":
79756
+ // sectionproperties.generalbtn_position == 'Centered'
79757
+ // ? 'col-lg-12 allcentered'
79758
+ // : item.titleen == null && item.descriptionen == null
79759
+ // ? sectionproperties.generalbtn_position == 'Centered'
79760
+ // ? 'col-lg-12 allcentered'
79761
+ // : 'col-lg-12 allcentered-md'
79762
+ // : 'col-lg-12 text-start'
79763
+ sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
79764
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
79721
79765
  "class": langdetect == 'en' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
79722
79766
  onClick: function onClick() {
79723
79767
  if (sectionproperties.showplayer == 'Show') {
@@ -79729,31 +79773,23 @@
79729
79773
  style: {
79730
79774
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
79731
79775
  }
79732
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ');
79733
- };
79734
- var SlideShowTextContainer = function SlideShowTextContainer(item) {
79735
- return /*#__PURE__*/React__default["default"].createElement("div", {
79736
- "class": cardarrayofobjs.length != 0 ? slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center mt-sm-n6 px-md-2 ' : sectionproperties.text1centered == 'Centered' ? slideshow_styles.textcont + ' mx-auto row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center px-md-2 ' : slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center px-md-2 ',
79776
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79777
+ "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start',
79778
+ "data-aos": 'fade-up',
79779
+ "data-aos-delay": "300"
79780
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
79781
+ "class": "".concat(slideshow_styles.slideshow_btnyrh) + ' allcentered ',
79782
+ onClick: function onClick() {
79783
+ if (sectionproperties.showplayer == 'Show') {
79784
+ setshowpopup(true);
79785
+ } else {
79786
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
79787
+ }
79788
+ },
79737
79789
  style: {
79738
79790
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
79739
79791
  }
79740
- }, sectionproperties.animateinnersection != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79741
- className: "col-12 p-0"
79742
- }, Text1Content(item)), sectionproperties.animateinnersection == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79743
- className: "col-12 p-0",
79744
- "data-aos": 'fade-up'
79745
- }, Text1Content(item)), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.animateinnersection == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79746
- className: "col-12 p-0"
79747
- }, Text2Content()), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.animateinnersection != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79748
- className: "col-12 p-0",
79749
- "data-aos": 'fade-up'
79750
- }, Text2Content(item)), sectionproperties.generalbtn_show == 'Show' && sectionproperties.animateinnersection != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79751
- "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
79752
- }, Slideshowbtn()), sectionproperties.generalbtn_show == 'Show' && sectionproperties.animateinnersection == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
79753
- "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start',
79754
- "data-aos": 'fade-up',
79755
- "data-aos-delay": "300"
79756
- }, Slideshowbtn()));
79792
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
79757
79793
  };
79758
79794
  return /*#__PURE__*/React__default["default"].createElement("div", {
79759
79795
  "class": "row m-0 w-100"
@@ -79837,12 +79873,7 @@
79837
79873
  width: '100%',
79838
79874
  height: '100%'
79839
79875
  }
79840
- }), sectionproperties.showanimation == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
79841
- "class": "row m-0 w-100",
79842
- "data-aos": 'fade-up'
79843
- }, SlideShowTextContainer(item)), sectionproperties.showanimation != 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
79844
- "class": "row m-0 w-100"
79845
- }, SlideShowTextContainer(item))), /*#__PURE__*/React__default["default"].createElement("div", {
79876
+ }), SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
79846
79877
  "class": ' p-0 align-items-center d-none d-md-flex justify-content-center ',
79847
79878
  key: index,
79848
79879
  style: {
@@ -79880,12 +79911,7 @@
79880
79911
  width: '100%',
79881
79912
  height: '100%'
79882
79913
  }
79883
- }), sectionproperties.showanimation == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
79884
- "class": "row m-0 w-100",
79885
- "data-aos": 'fade-up'
79886
- }, SlideShowTextContainer(item)), sectionproperties.showanimation != 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
79887
- "class": "row m-0 w-100"
79888
- }, SlideShowTextContainer(item))));
79914
+ }), SlideShowTextContainer(item)));
79889
79915
  })), cardarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
79890
79916
  style: {
79891
79917
  position: 'absolute',
@@ -92579,9 +92605,9 @@
92579
92605
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
92580
92606
  props.actions.lang;
92581
92607
  var langdetect = props.actions.langdetect;
92582
- var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
92608
+ props.actions.setShowProductInfoModalContext;
92583
92609
  var addtofavoritescontext = props.actions.addtofavoritescontext;
92584
- var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
92610
+ props.actions.setProductIdProdutInfoModalContext;
92585
92611
  props.actions.AddtoCartContext;
92586
92612
  props.actions.AddtoCartMutationContext;
92587
92613
  props.actions.StaticPagesLinksContext;
@@ -92822,8 +92848,7 @@
92822
92848
  }, "width", '100%'), "height", '100%'),
92823
92849
  loading: "lazy",
92824
92850
  onClick: function onClick() {
92825
- setShowProductInfoModalContext(true);
92826
- setProductIdProdutInfoModalContext(item.productid);
92851
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
92827
92852
  }
92828
92853
  }), transition && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
92829
92854
  "class": generalCardsStyles.secondaryimage,
@@ -92841,8 +92866,7 @@
92841
92866
  },
92842
92867
  loading: "lazy",
92843
92868
  onClick: function onClick() {
92844
- setShowProductInfoModalContext(true);
92845
- setProductIdProdutInfoModalContext(item.productid);
92869
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
92846
92870
  }
92847
92871
  }));
92848
92872
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.1270",
3
+ "version": "0.2.1271",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",