tabexseriescomponents 0.0.277 → 0.0.279

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.esm.js CHANGED
@@ -10896,6 +10896,9 @@ var Filter$1 = function Filter(props) {
10896
10896
  _useState12 = _slicedToArray(_useState11, 2),
10897
10897
  raterangevalue = _useState12[0],
10898
10898
  setraterangevalue = _useState12[1];
10899
+ props.actions.fetchTabexCountriesQueryContext;
10900
+ props.actions.FetchQueriesEngineContext;
10901
+ props.actions.setFetchQueriesEngineContext;
10899
10902
  var timeoutRef = React.useRef(null);
10900
10903
  var _useState13 = useState([{
10901
10904
  payloadvalue: 'sortprice',
@@ -10957,6 +10960,18 @@ var Filter$1 = function Filter(props) {
10957
10960
  }
10958
10961
  }, 500);
10959
10962
  }, [raterangevalue]);
10963
+
10964
+ // useEffect(() => {
10965
+ // var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
10966
+ // tempFetchQueriesEngineContext.institutecustomerinfosignup = true;
10967
+ // tempFetchQueriesEngineContext.fetchtabexcountries = true;
10968
+ // setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
10969
+
10970
+ // var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
10971
+
10972
+ // alert(JSON.stringify(tempFetchQueriesEngineContext));
10973
+ // alert(JSON.stringify(FetchQueriesEngineContext));
10974
+ // }, []);
10960
10975
  var filterupdater = function filterupdater() {
10961
10976
  if (instfilters.length != 0) {
10962
10977
  var _ProductFilterObjCont;
@@ -12432,7 +12447,7 @@ var CardsSection = function CardsSection(props) {
12432
12447
  }, SectionTitle()), sectionproperties.sectiontitledirection == 'Vertical' && /*#__PURE__*/React.createElement("div", {
12433
12448
  "class": "col-lg-12 p-0"
12434
12449
  }, sectionproperties.viewmorebtnshow == 'Show' && /*#__PURE__*/React.createElement("button", {
12435
- "class": sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto mb-sm-3 ' : "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto ' : sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto ' : "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto ',
12450
+ "class": sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto mb-sm-3 ' : "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 mt-auto mb-auto ' : sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto ' : "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 mt-auto mb-auto ',
12436
12451
  onClick: function onClick() {
12437
12452
  if (fetchingtype == 'products') {
12438
12453
  if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
@@ -12448,7 +12463,7 @@ var CardsSection = function CardsSection(props) {
12448
12463
  flexDirection: 'row'
12449
12464
  }
12450
12465
  }, /*#__PURE__*/React.createElement("span", {
12451
- "class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-flex justify-content-center align-items-center' : 'd-flex justify-content-center align-items-center d-md-none'
12466
+ "class": 'd-flex justify-content-center align-items-center'
12452
12467
  }, /*#__PURE__*/React.createElement("span", {
12453
12468
  "class": sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : 'Poppins'
12454
12469
  }, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar), sectionproperties.showIcon == 'Show' && /*#__PURE__*/React.createElement("i", {
@@ -12461,17 +12476,6 @@ var CardsSection = function CardsSection(props) {
12461
12476
  size: sectionproperties.viewmoreiconfontsize
12462
12477
  }) : /*#__PURE__*/React.createElement(HiOutlineArrowLeft, {
12463
12478
  size: sectionproperties.viewmoreiconfontsize
12464
- }))), /*#__PURE__*/React.createElement("span", {
12465
- "class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-none align-items-center justify-content-center' : 'd-none d-md-flex align-items-center justify-content-center',
12466
- style: {
12467
- color: sectionproperties.viewmorebtn_Textcolor
12468
- }
12469
- }, /*#__PURE__*/React.createElement("i", {
12470
- "class": "h-100 d-flex align-items-center justify-content-center"
12471
- }, langdetect == 'en' ? /*#__PURE__*/React.createElement(HiOutlineArrowRight, {
12472
- size: sectionproperties.viewmorebtn_fontSize
12473
- }) : /*#__PURE__*/React.createElement(HiOutlineArrowLeft, {
12474
- size: sectionproperties.viewmorebtn_fontSize
12475
12479
  }))))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
12476
12480
  "class": ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center d-md-none ',
12477
12481
  style: {
@@ -12638,7 +12642,7 @@ var CardsSection = function CardsSection(props) {
12638
12642
  }
12639
12643
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
12640
12644
  return /*#__PURE__*/React.createElement("div", {
12641
- "class": sectionproperties.numberOfColsvertical == '1' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-12 p-0 col-lg-12 col-md-4 p-0 d-flex justify-content-center col-sm-6 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-12 p-0 col-lg-12 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : sectionproperties.numberOfColsvertical == '2' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft ' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-6 p-0 col-lg-6 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0' : sectionproperties.numberOfColsvertical == '3' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-4 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-4 p-0 col-lg-4 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-4 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-4 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : sectionproperties.numberOfColsvertical == '4' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-3 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-3 col-lg-4 col-md-4 col-sm-12 p-0 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-3 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center p-0 ' : sectionproperties.numberOfColsvertical == '12' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-3 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : '' : sectionproperties.numberOfColsvertical == '6' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-2 p-0 col-lg-2 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-2 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-2 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'CardWithTextOnly' ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : ''
12645
+ "class": sectionproperties.numberOfColsvertical == '1' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-12 p-0 col-lg-12 col-md-4 p-0 d-flex justify-content-center col-sm-6 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-12 p-0 col-lg-12 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : sectionproperties.numberOfColsvertical == '2' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft ' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-6 p-0 col-lg-6 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0' : sectionproperties.numberOfColsvertical == '3' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-4 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-4 p-0 col-lg-4 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-4 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-4 col-lg-4 col-md-6 col-sm-6 d-flex justify-content-center p-0 ' : sectionproperties.numberOfColsvertical == '4' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-3 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-3 col-lg-4 col-md-4 col-sm-12 p-0 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-3 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center p-0 ' : sectionproperties.numberOfColsvertical == '12' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-3 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : '' : sectionproperties.numberOfColsvertical == '6' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-2 p-0 col-lg-2 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-2 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-2 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'CardWithTextOnly' ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : ''
12642
12646
  }, /*#__PURE__*/React.createElement(Sectioncomp, {
12643
12647
  sectiontypeprops: 'horizontal',
12644
12648
  sectiontypeprops2: 'vertical',
@@ -17218,7 +17222,11 @@ var CTAHeader = function CTAHeader(props) {
17218
17222
  paddingLeft: langdetect == 'en' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
17219
17223
  paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
17220
17224
  paddingTop: sectionproperties.lowersection_paddingtop + 'px',
17221
- paddingBottom: sectionproperties.lowersection_paddingbottom + 'px'
17225
+ paddingBottom: sectionproperties.lowersection_paddingbottom + 'px',
17226
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.lowersection_borderBottomLeftRadius + 'px' : sectionproperties.lowersection_BorderBottomRightRadius + 'px',
17227
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.lowersection_BorderBottomRightRadius + 'px' : sectionproperties.lowersection_borderBottomLeftRadius + 'px',
17228
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.lowersection_borderTopLeftRadius + 'px' : sectionproperties.lowersection_borderTopRightRadius + 'px',
17229
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.lowersection_borderTopRightRadius + 'px' : sectionproperties.lowersection_borderTopLeftRadius + 'px'
17222
17230
  }),
17223
17231
  facebook_btn: css({
17224
17232
  cursor: 'pointer',
@@ -17374,7 +17382,13 @@ var CTAHeader = function CTAHeader(props) {
17374
17382
  "class": "row m-0 w-100 justify-content-center",
17375
17383
  style: {
17376
17384
  width: '100vw',
17377
- zIndex: 1000
17385
+ zIndex: 1000,
17386
+ background: sectionproperties.header_backgroundColor
17387
+ }
17388
+ }, /*#__PURE__*/React.createElement("div", {
17389
+ "class": "row m-0 w-md-100",
17390
+ style: {
17391
+ width: sectionproperties.header_width + 'vw'
17378
17392
  }
17379
17393
  }, /*#__PURE__*/React.createElement("div", {
17380
17394
  "class": "col-lg-12 p-0 d-md-none d-sm-none",
@@ -17609,7 +17623,61 @@ var CTAHeader = function CTAHeader(props) {
17609
17623
  size: sectionproperties.cartBtn_iconFontSize
17610
17624
  }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
17611
17625
  size: sectionproperties.cartBtn_iconFontSize
17612
- })))), /*#__PURE__*/React.createElement("div", {
17626
+ })), sectionproperties.lang_position == 'Top' && /*#__PURE__*/React.createElement("div", {
17627
+ "class": langdetect == 'en' ? 'headerdropdownml ml-3' : 'headerdropdownmr mr-3'
17628
+ }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
17629
+ "class": ' d-flex align-items-center justify-content-center '
17630
+ }, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
17631
+ "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
17632
+ }, /*#__PURE__*/React.createElement("p", {
17633
+ "class": "m-0 p-0 mr-2"
17634
+ }, "En"), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
17635
+ "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
17636
+ }, /*#__PURE__*/React.createElement("p", {
17637
+ "class": "m-0 p-0 ml-2"
17638
+ }, "\u0639"), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
17639
+ onClick: function onClick() {
17640
+ setlang('ar');
17641
+ }
17642
+ }, /*#__PURE__*/React.createElement("div", {
17643
+ "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' p-0 '
17644
+ }, /*#__PURE__*/React.createElement("p", {
17645
+ "class": 'dropdownitem d-flex align-items-center m-0 p-0',
17646
+ style: {
17647
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
17648
+ fontWeight: sectionproperties.dropdown_fontweight,
17649
+ textTransform: sectionproperties.dropdown_texttransform
17650
+ }
17651
+ }, /*#__PURE__*/React.createElement("img", {
17652
+ src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
17653
+ style: {
17654
+ maxWidth: '2vh',
17655
+ maxHeight: '2vh'
17656
+ }
17657
+ }), /*#__PURE__*/React.createElement("span", {
17658
+ "class": 'ml-2 mr-2'
17659
+ }, lang.arabic)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
17660
+ onClick: function onClick() {
17661
+ setlang('en');
17662
+ }
17663
+ }, /*#__PURE__*/React.createElement("div", {
17664
+ "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' p-0 '
17665
+ }, /*#__PURE__*/React.createElement("p", {
17666
+ "class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
17667
+ style: {
17668
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
17669
+ fontWeight: sectionproperties.dropdown_fontweight,
17670
+ textTransform: sectionproperties.dropdown_texttransform
17671
+ }
17672
+ }, /*#__PURE__*/React.createElement("img", {
17673
+ src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
17674
+ style: {
17675
+ maxWidth: '2vh',
17676
+ maxHeight: '2vh'
17677
+ }
17678
+ }), /*#__PURE__*/React.createElement("span", {
17679
+ "class": 'ml-2 mr-2'
17680
+ }, lang.english))))))))), /*#__PURE__*/React.createElement("div", {
17613
17681
  "class": "col-lg-12 p-0 allcentered",
17614
17682
  style: {
17615
17683
  backgroundColor: sectionproperties.uppersection_bgcolortransparent == 'Transparent' ? 'Transparent' : sectionproperties.uppersection_bgcolor
@@ -17703,7 +17771,7 @@ var CTAHeader = function CTAHeader(props) {
17703
17771
  }, ButtonDropdown(item, index, fetchedarray));
17704
17772
  }
17705
17773
  }))))), /*#__PURE__*/React.createElement("div", {
17706
- "class": "col-lg-6 p-0 d-flex align-items-center justify-content-center"
17774
+ "class": sectionproperties.generalbtn_show == 'Hide' && sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide' && sectionproperties.lang_position == 'Top' ? 'col-lg-12 p-0 d-flex align-items-center justify-content-center' : 'col-lg-6 p-0 d-flex align-items-center justify-content-center'
17707
17775
  }, /*#__PURE__*/React.createElement("div", {
17708
17776
  "class": "scrollhorizontal w-100 align-items-center justify-content-center h-100 flex-row",
17709
17777
  style: {
@@ -17784,7 +17852,7 @@ var CTAHeader = function CTAHeader(props) {
17784
17852
  }
17785
17853
  }, /*#__PURE__*/React.createElement(FaWhatsapp, {
17786
17854
  size: sectionproperties.youtubebtniconfontsize
17787
- })), /*#__PURE__*/React.createElement("div", {
17855
+ })), sectionproperties.lang_position == 'Bottom' && /*#__PURE__*/React.createElement("div", {
17788
17856
  "class": langdetect == 'en' ? 'headerdropdownml ml-3' : 'headerdropdownmr mr-3'
17789
17857
  }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
17790
17858
  "class": ' d-flex align-items-center justify-content-center '
@@ -17854,7 +17922,7 @@ var CTAHeader = function CTAHeader(props) {
17854
17922
  }, /*#__PURE__*/React.createElement(Headerresponsive, {
17855
17923
  sectionpropertiesprops: sectionproperties,
17856
17924
  actions: actions
17857
- })));
17925
+ }))));
17858
17926
  };
17859
17927
 
17860
17928
  var css_248z$v = ".Header_threesectionslogocentered-module_header_innercontainer__yjjgZ {\n display: flex;\n align-items: center;\n align-content: center;\n position: relative;\n z-index: 1000;\n transition: all 0.2s;\n}\n\n.Header_threesectionslogocentered-module_header_innercontainer__yjjgZ .Header_threesectionslogocentered-module_navbar_item__YMaF8 {\n position: relative;\n cursor: pointer;\n white-space: nowrap;\n display: flex;\n align-items: center;\n}\n.Header_threesectionslogocentered-module_header_innercontainer__yjjgZ .Header_threesectionslogocentered-module_navbar_item__YMaF8 .Header_threesectionslogocentered-module_navbar_item_text__0DPls {\n transition: transform 0.3s cubic-bezier(0.2, 1, 0.8, 1);\n transition: 0.3s;\n padding: 0;\n}\n.Header_threesectionslogocentered-module_header_innercontainer__yjjgZ .Header_threesectionslogocentered-module_navbar_item__YMaF8 .Header_threesectionslogocentered-module_navbar_item_text__0DPls:after {\n position: absolute;\n left: 0;\n bottom: -10px;\n right: 0;\n width: 7px;\n height: 7px;\n content: '';\n border-radius: 50%;\n margin: 0 auto;\n opacity: 0;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n transition: all, 0.3s;\n}\n.Header_threesectionslogocentered-module_header_innercontainer__yjjgZ .Header_threesectionslogocentered-module_navbar_item__YMaF8:hover .Header_threesectionslogocentered-module_navbar_item_text__0DPls:after {\n opacity: 1;\n}\n/* Side Nav Active */\n.Header_threesectionslogocentered-module_header_innercontainer__yjjgZ .Header_threesectionslogocentered-module_navbar_item_active__ladUm .Header_threesectionslogocentered-module_navbar_item_text__0DPls:after {\n opacity: 1;\n}\n\n/* Search Bar */\n.Header_threesectionslogocentered-module_header_innercontainer__yjjgZ .Header_threesectionslogocentered-module_searchbarcont__9MNXO input::placeholder {\n color: #8c8c8c;\n font-weight: normal;\n}\n/* Badge */\n.Header_threesectionslogocentered-module_badge_counter_header_notifications__qekYU {\n position: absolute;\n transform: scale(0.3);\n transform-origin: top right;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.Header_threesectionslogocentered-module_searchbar__5KdKx {\n display: inline-block;\n border: none;\n outline: none;\n width: 0px;\n position: absolute;\n top: 0;\n background: none;\n z-index: 3;\n transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);\n cursor: pointer;\n}\n.Header_threesectionslogocentered-module_searchbar__5KdKx:focus {\n width: 300px !important;\n z-index: 1;\n cursor: text;\n}\n.Header_threesectionslogocentered-module_searchbaractive__8Pp-9 {\n display: inline-block;\n z-index: 2;\n cursor: pointer;\n cursor: pointer;\n}\n ";
@@ -18607,7 +18675,7 @@ var Simpleheader = function Simpleheader(props) {
18607
18675
  setsectionproperties = _useState2[1];
18608
18676
  var LogoutMutationContext = props.actions.LogoutMutationContext;
18609
18677
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
18610
- props.actions.setsidecartnavshowcontext;
18678
+ var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
18611
18679
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
18612
18680
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
18613
18681
  var lang = props.actions.lang;
@@ -18940,9 +19008,10 @@ var Simpleheader = function Simpleheader(props) {
18940
19008
  justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
18941
19009
  }
18942
19010
  }, /*#__PURE__*/React.createElement("div", {
18943
- "class": ' scrollhorizontal w-100 align-items-center justify-content-start ',
19011
+ "class": ' scrollhorizontal w-100 align-items-center ',
18944
19012
  style: {
18945
- display: sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
19013
+ display: sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
19014
+ justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
18946
19015
  }
18947
19016
  }, templatepropcontext.pagesnprop.map(function (item, index) {
18948
19017
  if (item.isselected) ;
@@ -19000,7 +19069,10 @@ var Simpleheader = function Simpleheader(props) {
19000
19069
  style: {
19001
19070
  position: 'relative'
19002
19071
  },
19003
- "class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer d-flex align-items-center justify-content-center '
19072
+ "class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer d-flex align-items-center justify-content-center ',
19073
+ onClick: function onClick() {
19074
+ setsidecartnavshowcontext(true);
19075
+ }
19004
19076
  }, /*#__PURE__*/React.createElement("div", {
19005
19077
  "class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
19006
19078
  }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length : 0), /*#__PURE__*/React.createElement("i", {
@@ -44307,7 +44379,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
44307
44379
  }))));
44308
44380
  };
44309
44381
  return /*#__PURE__*/React.createElement("div", {
44310
- "class": sectionproperties.card_marginLeft != 0 && sectionproperties.card_marginRight != 0 ? 'row ml-0 mr-0 w-100 d-flex justify-content-center align-items-center pl-sm-2 pr-sm-2' : 'row ml-0 mr-0 w-100 d-flex justify-content-center align-items-center ',
44382
+ "class": "row m-0 w-100"
44383
+ }, /*#__PURE__*/React.createElement("div", {
44384
+ "class": sectionproperties.card_marginLeft != 0 && sectionproperties.card_marginRight != 0 ? 'row ml-0 mr-0 w-100 d-flex d-md-none justify-content-center align-items-center pl-sm-2 pr-sm-2' : 'row ml-0 mr-0 w-100 d-flex d-md-none justify-content-center align-items-center ',
44311
44385
  style: {
44312
44386
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
44313
44387
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
@@ -44448,7 +44522,149 @@ var Slideshowzoom = function Slideshowzoom(props) {
44448
44522
  sectionproperties: sectionproperties,
44449
44523
  props: props
44450
44524
  });
44451
- })))))));
44525
+ }))))))), /*#__PURE__*/React.createElement("div", {
44526
+ "class": sectionproperties.card_marginLeft != 0 && sectionproperties.card_marginRight != 0 ? 'row ml-0 mr-0 w-100 d-none d-md-flex justify-content-center align-items-center pl-sm-2 pr-sm-2' : 'row ml-0 mr-0 w-100 d-none d-md-flex justify-content-center align-items-center ',
44527
+ style: {
44528
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
44529
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
44530
+ background: sectionproperties.backgroundColor,
44531
+ marginBottom: sectionproperties.marginBottom + 'px',
44532
+ paddingTop: sectionproperties.marginTopResp + 'px'
44533
+ }
44534
+ }, /*#__PURE__*/React.createElement("div", {
44535
+ "class": cardarrayofobjs.length != 0 ? 'col-lg-12 p-0 d-flex justify-content-center' : 'col-lg-12 p-0 d-flex justify-content-center h-md-auto h-sm-auto',
44536
+ style: {
44537
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
44538
+ }
44539
+ }, /*#__PURE__*/React.createElement("div", {
44540
+ "class": cardarrayofobjs.length != 0 ? '' : sectionproperties.width == '100' ? 'h-sm-auto' : 'h-sm-auto pl-sm-2 pr-sm-2 w-sm-100',
44541
+ style: {
44542
+ position: 'relative',
44543
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
44544
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
44545
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
44546
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
44547
+ width: sectionproperties.width + 'vw',
44548
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
44549
+ overflow: 'hidden'
44550
+ }
44551
+ }, /*#__PURE__*/React.createElement(Zoom, _extends({}, Slideshowsettings, {
44552
+ transitionDuration: 1500,
44553
+ duration: 1500,
44554
+ arrow: true,
44555
+ easing: "ease"
44556
+ }), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
44557
+ return /*#__PURE__*/React.createElement("div", {
44558
+ "class": cardarrayofobjs.length != 0 ? 'row m-0 w-100' : 'row m-0 w-100 h-md-auto h-sm-auto',
44559
+ style: {
44560
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
44561
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
44562
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
44563
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
44564
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
44565
+ }
44566
+ }, /*#__PURE__*/React.createElement("div", {
44567
+ "class": ' p-0 align-items-center d-flex d-md-none ',
44568
+ key: index,
44569
+ style: {
44570
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
44571
+ width: '100%',
44572
+ height: '100%',
44573
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
44574
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
44575
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
44576
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
44577
+ paddingTop: sectionproperties.paddingTop + 'px',
44578
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
44579
+ paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
44580
+ },
44581
+ onClick: function onClick() {
44582
+ if (item.IsClickableimg == 'Yes') {
44583
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
44584
+ routingcountext(item.clickableimg_page_route, false, '');
44585
+ } else {
44586
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
44587
+ }
44588
+ }
44589
+ }
44590
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
44591
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
44592
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
44593
+ 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,
44594
+ style: {
44595
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
44596
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
44597
+ margin: 0,
44598
+ padding: 0,
44599
+ width: '100%',
44600
+ height: '100%'
44601
+ }
44602
+ }), SlideShowTextContainer(item)), /*#__PURE__*/React.createElement("div", {
44603
+ "class": ' p-0 align-items-center d-none d-md-flex ',
44604
+ key: index,
44605
+ style: {
44606
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
44607
+ width: '100%',
44608
+ height: '100%',
44609
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
44610
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
44611
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
44612
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
44613
+ paddingTop: sectionproperties.paddingTop + 'px',
44614
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
44615
+ paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
44616
+ },
44617
+ onClick: function onClick() {
44618
+ if (item.IsClickableimg == 'Yes') {
44619
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
44620
+ routingcountext(item.clickableimg_page_route, false, '');
44621
+ } else {
44622
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
44623
+ }
44624
+ }
44625
+ }
44626
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
44627
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
44628
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
44629
+ 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,
44630
+ style: {
44631
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
44632
+ objectFit: sectionproperties.bgcovercontainresponsive == 'Cover' ? 'cover' : 'contain',
44633
+ margin: 0,
44634
+ padding: 0,
44635
+ width: '100%',
44636
+ height: '100%'
44637
+ }
44638
+ }), SlideShowTextContainer(item)));
44639
+ })), cardarrayofobjs.length != 0 && /*#__PURE__*/React.createElement("div", {
44640
+ style: {
44641
+ position: 'absolute',
44642
+ left: 0,
44643
+ bottom: 60,
44644
+ zIndex: 100
44645
+ },
44646
+ "class": "row m-0 w-100 "
44647
+ }, /*#__PURE__*/React.createElement("div", {
44648
+ "class": ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100'
44649
+ }, /*#__PURE__*/React.createElement(ScrollMenu, {
44650
+ itemClassName: "slideshowCard"
44651
+ // LeftArrow={LeftArrow}
44652
+ // RightArrow={RightArrow}
44653
+ ,
44654
+ transitionDuration: 500,
44655
+ transitionEase: easingFunctions['linear'],
44656
+ scrollContainerClassName: 'scrollmenuclasssubscrollbar'
44657
+ }, Object.keys(cardarrayofobjs).length != 0 && cardarrayofobjs.map(function (cardItem, cardIndex) {
44658
+ var id = cardIndex;
44659
+ return /*#__PURE__*/React.createElement(CardsArrayOfObjects, {
44660
+ title: id,
44661
+ itemId: id,
44662
+ key: id,
44663
+ cardItem: cardItem,
44664
+ sectionproperties: sectionproperties,
44665
+ props: props
44666
+ });
44667
+ }))))))));
44452
44668
  };
44453
44669
  var easingFunctions = {
44454
44670
  noEasing: undefined,
@@ -55871,10 +56087,14 @@ var Simpleproductcard = function Simpleproductcard(props) {
55871
56087
  }
55872
56088
  }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), /*#__PURE__*/React.createElement("div", {
55873
56089
  onClick: function onClick() {
55874
- setShowProductInfoModalContext(true);
55875
- setProductIdProdutInfoModalContext(item.productid);
56090
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
56091
+ setShowProductInfoModalContext(true);
56092
+ setProductIdProdutInfoModalContext(item.productid);
56093
+ } else {
56094
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
56095
+ }
55876
56096
  },
55877
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 allcentered ',
56097
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center d-md-none ',
55878
56098
  style: {
55879
56099
  zIndex: 1,
55880
56100
  marginBottom: sectionproperties.image_mb + 'px'
@@ -55889,6 +56109,31 @@ var Simpleproductcard = function Simpleproductcard(props) {
55889
56109
  height: sectionproperties.imageInnerWidth_Height + '%',
55890
56110
  objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
55891
56111
  }
56112
+ })), /*#__PURE__*/React.createElement("div", {
56113
+ onClick: function onClick() {
56114
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
56115
+ setShowProductInfoModalContext(true);
56116
+ setProductIdProdutInfoModalContext(item.productid);
56117
+ } else {
56118
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
56119
+ }
56120
+ },
56121
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-none d-md-flex align-items-center justify-content-center ',
56122
+ style: {
56123
+ zIndex: 1,
56124
+ marginBottom: sectionproperties.image_mb + 'px',
56125
+ height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive
56126
+ }
56127
+ }, item.image != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
56128
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
56129
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
56130
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
56131
+ loading: "lazy",
56132
+ style: {
56133
+ width: sectionproperties.imageInnerWidth_Height + '%',
56134
+ height: sectionproperties.imageInnerWidth_Height + '%',
56135
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
56136
+ }
55892
56137
  })), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
55893
56138
  "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
55894
56139
  }, /*#__PURE__*/React.createElement("p", {