tabexseriescomponents 0.0.284 → 0.0.287

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
@@ -942,14 +942,11 @@ var Login = function Login(props) {
942
942
  temppayloadobj.email = event.target.value;
943
943
  setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
944
944
  },
945
- disabled: forgetpasswordstage == 'verify' ? true : false
946
- }), /*#__PURE__*/React.createElement("span", {
947
- className: langdetect == 'en' ? loginstyles$1.login_input_icon + ' login_input_icon ' : loginstyles$1.login_input_icontrans + ' login_input_icon '
948
- }, /*#__PURE__*/React.createElement("i", {
949
- className: "h-100 d-flex align-items-center justify-content-center"
950
- }, /*#__PURE__*/React.createElement(AiOutlineUser, {
951
- size: 18
952
- })))), forgetpasswordstage == 'verify' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
945
+ disabled: forgetpasswordstage == 'verify' ? true : false,
946
+ style: {
947
+ background: 'transparent'
948
+ }
949
+ })), forgetpasswordstage == 'verify' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
953
950
  className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
954
951
  }, /*#__PURE__*/React.createElement("label", {
955
952
  className: "".concat(loginstyles2.logininputLabel) + ' text-transform-none d-flex justify-content-start '
@@ -961,6 +958,9 @@ var Login = function Login(props) {
961
958
  var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
962
959
  temppayloadobj.code = event.target.value;
963
960
  setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
961
+ },
962
+ style: {
963
+ background: 'transparent'
964
964
  }
965
965
  })), /*#__PURE__*/React.createElement("div", {
966
966
  className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0"
@@ -974,6 +974,9 @@ var Login = function Login(props) {
974
974
  var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
975
975
  temppayloadobj.newpassword = event.target.value;
976
976
  setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
977
+ },
978
+ style: {
979
+ background: 'transparent'
977
980
  }
978
981
  })), /*#__PURE__*/React.createElement("div", {
979
982
  className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
@@ -987,6 +990,9 @@ var Login = function Login(props) {
987
990
  var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
988
991
  temppayloadobj.confirmnewpassword = event.target.value;
989
992
  setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
993
+ },
994
+ style: {
995
+ background: 'transparent'
990
996
  }
991
997
  }))))), /*#__PURE__*/React.createElement(Modal.Footer, null, /*#__PURE__*/React.createElement("div", {
992
998
  className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 "
@@ -12987,7 +12993,8 @@ var CardsSection = function CardsSection(props) {
12987
12993
  item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? 'scrollmenuclassnameitemProductccard_with_imageontopleft' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_zoominonhover' ? 'scrollmenuclassnameitemProductcard_with_zoominonhover' : item.tabexsectioninfo.sectioncompname == 'Horizontalcard' ? 'scrollmenuclassnameitemProductcard_Horizontalcard' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_fullimage' :
12988
12994
  // : item.tabexsectioninfo.sectioncompname == 'Classiccategorycard'
12989
12995
  // ? 'scrollmenuclassnameitemClassiccategorycard'
12990
- item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? 'scrollmenuclassnameitemModernProductCard' :
12996
+ // item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
12997
+ // ? 'scrollmenuclassnameitemModernProductCard'
12991
12998
  // : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
12992
12999
  // ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
12993
13000
  item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' : item.tabexsectioninfo.sectioncompname == 'Card23' ? 'scrollmenuclassnameitemCard23' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton' ? 'scrollmenuclassnameitemModernCardWithQuantityButton' : item.tabexsectioninfo.sectioncompname == 'CategoryCardwithhoveraction' ? 'scrollmenuclassnameitemCategoryCardwithhoveraction' : item.tabexsectioninfo.sectioncompname == 'CircleCardWithVariants' ? 'scrollmenuclassnameitemCircleCardWithVariants' :
@@ -13014,6 +13021,8 @@ var CardsSection = function CardsSection(props) {
13014
13021
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
13015
13022
  }
13016
13023
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
13024
+ // if (sectionproperties.overallnumberofcards != 0) {
13025
+ // if (cardinfoindex < sectionproperties.overallnumberofcards) {
13017
13026
  return /*#__PURE__*/React.createElement("div", {
13018
13027
  "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 ' : ''
13019
13028
  }, /*#__PURE__*/React.createElement(Sectioncomp, {
@@ -13028,7 +13037,8 @@ var CardsSection = function CardsSection(props) {
13028
13037
  fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : '',
13029
13038
  numberOfColsvertical: sectionproperties.numberOfColsvertical
13030
13039
  }));
13031
- }), fetchingtype == 'products' && /*#__PURE__*/React.createElement("div", {
13040
+ // }
13041
+ }), fetchingtype == 'products' && sectionproperties.showpagination == 'Show' && /*#__PURE__*/React.createElement("div", {
13032
13042
  className: "w-100 col-lg-12 allcentered mt-2"
13033
13043
  }, /*#__PURE__*/React.createElement(PaginatedItems, {
13034
13044
  itemsPerPage: 5
@@ -13780,9 +13790,19 @@ var Subheader = function Subheader(props) {
13780
13790
  zIndex: 2000,
13781
13791
  position: ((_props$subheaderprope29 = props.subheaderpropertiesprops) === null || _props$subheaderprope29 === void 0 ? void 0 : _props$subheaderprope29.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
13782
13792
  top: ((_props$subheaderprope30 = props.subheaderpropertiesprops) === null || _props$subheaderprope30 === void 0 ? void 0 : _props$subheaderprope30.headernameprops) == 'Stylish Header' && ((_props$subheaderprope31 = props.subheaderpropertiesprops) === null || _props$subheaderprope31 === void 0 ? void 0 : _props$subheaderprope31.subheaderpositionprops) == 'in nav' ? 50 : ((_props$subheaderprope32 = props.subheaderpropertiesprops) === null || _props$subheaderprope32 === void 0 ? void 0 : _props$subheaderprope32.subheaderpositionprops) == 'in nav' ? 30 : '',
13783
- border: sectionproperties.subheader_width != 100 ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor : 0,
13784
- borderBottom: sectionproperties.subheader_width == 100 ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor : 0,
13785
- borderTop: sectionproperties.subheader_width == 100 ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor : 0,
13793
+ // border:
13794
+ // sectionproperties.subheader_width != 100
13795
+ // ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
13796
+ // : 0,
13797
+ border: sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor,
13798
+ // borderBottom:
13799
+ // sectionproperties.subheader_width == 100
13800
+ // ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
13801
+ // : 0,
13802
+ // borderTop:
13803
+ // sectionproperties.subheader_width == 100
13804
+ // ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
13805
+ // : 0,
13786
13806
  paddingLeft: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingLeft + 'px' : sectionproperties.subheader_dropdown_paddingRight + 'px',
13787
13807
  paddingRight: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingRight + 'px' : sectionproperties.subheader_dropdown_paddingLeft + 'px'
13788
13808
  }
@@ -25187,7 +25207,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
25187
25207
  var templatepropcontext = props.actions.templatepropcontext;
25188
25208
  var authdetailsContext = props.actions.authdetailsContext;
25189
25209
  var templateproperties_context = props.actions.templateproperties_context;
25190
- props.actions.favoriteprojectscountContext;
25210
+ var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
25191
25211
  var routingcountext = props.actions.routingcountext;
25192
25212
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
25193
25213
  var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
@@ -25511,7 +25531,10 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
25511
25531
  "class": header_cssstyles.upperheadertext + ' storeinfotext ml-1 mr-1 ',
25512
25532
  size: sectionproperties.footerinfotext_fontsize
25513
25533
  }), /*#__PURE__*/React.createElement("span", {
25514
- "class": header_cssstyles.upperheadertext + ' storeinfotext '
25534
+ "class": header_cssstyles.upperheadertext + ' storeinfotext ',
25535
+ style: {
25536
+ textTransform: 'none'
25537
+ }
25515
25538
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : (_authdetailsContext$i4 = _authdetailsContext$i3.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email)), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
25516
25539
  "class": header_cssstyles.storeinfocontainer + ' d-flex align-items-center justify-content-center '
25517
25540
  }, /*#__PURE__*/React.createElement("a", {
@@ -25620,7 +25643,10 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
25620
25643
  }), sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React.createElement(BiGlobe, null), /*#__PURE__*/React.createElement("span", {
25621
25644
  "class": 'ml-2 mr-2'
25622
25645
  }, lang.english))))))), /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
25623
- "class": "".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ml-3 mr-3 '
25646
+ "class": "".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ml-3 mr-3 ',
25647
+ onClick: function onClick() {
25648
+ routingcountext(StaticPagesLinksContext.Login);
25649
+ }
25624
25650
  }, /*#__PURE__*/React.createElement("span", {
25625
25651
  "class": ' d-flex justify-content-center align-items-center '
25626
25652
  }, /*#__PURE__*/React.createElement(FiUser, {
@@ -25657,27 +25683,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
25657
25683
  style: {
25658
25684
  maxWidth: '150px'
25659
25685
  }
25660
- }, authdetailsContext.customerinfo.name))))), !authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
25661
- onClick: function onClick() {
25662
- routingcountext(StaticPagesLinksContext.Login);
25663
- }
25664
- }, /*#__PURE__*/React.createElement("div", {
25665
- "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
25666
- }, /*#__PURE__*/React.createElement("p", {
25667
- "class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
25668
- }, /*#__PURE__*/React.createElement(AiOutlineLogin, null), /*#__PURE__*/React.createElement("span", {
25669
- "class": "ml-2 mr-2"
25670
- }, lang.login)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
25671
- onClick: function onClick() {
25672
- routingcountext(StaticPagesLinksContext.Signup);
25673
- }
25674
- }, /*#__PURE__*/React.createElement("div", {
25675
- "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
25676
- }, /*#__PURE__*/React.createElement("p", {
25677
- "class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
25678
- }, /*#__PURE__*/React.createElement(AiOutlineUserAdd, null), /*#__PURE__*/React.createElement("span", {
25679
- "class": "ml-2 mr-2 text-transform-none"
25680
- }, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
25686
+ }, authdetailsContext.customerinfo.name))))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
25681
25687
  style: {
25682
25688
  minWidth: '200px'
25683
25689
  }
@@ -25777,7 +25783,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
25777
25783
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : sectionproperties.searchbarcont_borderTopLeftRadius + 'px',
25778
25784
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px'
25779
25785
  }
25780
- }, /*#__PURE__*/React.createElement("div", {
25786
+ }, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
25781
25787
  "class": 'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start h-100',
25782
25788
  onClick: function onClick() {
25783
25789
  setdropdownselect(!dropdownselect);
@@ -25821,20 +25827,20 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
25821
25827
  "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem text-overflow m-0 p-0 '
25822
25828
  }, langdetect == 'en' ? item.title_en : item.title_ar)))), index != authdetailsContext.instinfo.instcollections.length - 1 && /*#__PURE__*/React.createElement(Dropdown.Divider, null));
25823
25829
  }))))), /*#__PURE__*/React.createElement("div", {
25824
- "class": "col-xl-9 col-lg-8 p-0 d-flex justify-content-end align-items-center h-100"
25830
+ "class": sectionproperties.generalbtn_show == 'Show' ? 'col-xl-9 col-lg-8 p-0 d-flex justify-content-end align-items-center h-100' : 'col-xl-12 col-lg-12 p-0 d-flex justify-content-end align-items-center h-100'
25825
25831
  }, /*#__PURE__*/React.createElement("div", {
25826
25832
  "class": ' row m-0 w-100 h-100 ',
25827
25833
  style: {
25828
25834
  position: 'relative',
25829
25835
  backgroundColor: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
25830
- borderBottomLeftRadius: langdetect == 'ar' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : 0,
25831
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : 0,
25832
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : 0,
25833
- borderTopLeftRadius: langdetect == 'ar' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0
25836
+ borderBottomLeftRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'ar' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : sectionproperties.searchbarcont_borderBottomRightRadius + 'px',
25837
+ borderBottomRightRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : sectionproperties.searchbarcont_borderBottomLeftRadius + 'px',
25838
+ borderTopRightRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0,
25839
+ borderTopLeftRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'ar' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px'
25834
25840
  }
25835
25841
  }, /*#__PURE__*/React.createElement("input", {
25836
25842
  type: "text",
25837
- placeholder: lang.searchproducts,
25843
+ placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
25838
25844
  "class": "".concat(header_cssstyles.searchbarcont_input) + ' h-100 ',
25839
25845
  onChange: function onChange(event) {
25840
25846
  setSearchHeaderInputContext(event.target.value);
@@ -25846,12 +25852,18 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
25846
25852
  marginLeft: langdetect == 'ar' ? '-0.25rem' : 0,
25847
25853
  marginTop: sectionproperties.searchbarcontinput_borderwidth != 0 ? '-0.1rem' : 0
25848
25854
  }
25849
- }, lang.search), /*#__PURE__*/React.createElement(Searchlist$1, {
25855
+ }, sectionproperties.showsearchicon == 'Hide' && /*#__PURE__*/React.createElement("span", {
25856
+ "class": "h-100 allcentered"
25857
+ }, lang.search), sectionproperties.showsearchicon == 'Show' && /*#__PURE__*/React.createElement("span", {
25858
+ "class": "h-100 allcentered"
25859
+ }, /*#__PURE__*/React.createElement(BiSearch, {
25860
+ size: sectionproperties.search_btn_fontSize
25861
+ }))), /*#__PURE__*/React.createElement(Searchlist$1, {
25850
25862
  sectionpropertiesprops: sectionproperties,
25851
25863
  srcfromprops: 'headerfullwidth',
25852
25864
  actions: actions
25853
25865
  })))), /*#__PURE__*/React.createElement("div", {
25854
- "class": "col-xl-2 col-lg-3 d-flex align-items-center justify-content-center p-0"
25866
+ "class": "col-xl-2 col-lg-3 d-flex align-items-center justify-content-end p-0"
25855
25867
  }, /*#__PURE__*/React.createElement("div", {
25856
25868
  "class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
25857
25869
  onClick: function onClick() {
@@ -25859,9 +25871,16 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
25859
25871
  },
25860
25872
  style: {
25861
25873
  marginRight: langdetect == 'en' ? '1rem' : 0,
25862
- marginLeft: langdetect == 'ar' ? '1rem' : 0
25874
+ marginLeft: langdetect == 'ar' ? '1rem' : 0,
25875
+ position: 'relative'
25863
25876
  }
25864
- }, sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
25877
+ }, sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React.createElement("div", {
25878
+ className: "".concat(headerstyles$5.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center align-items-center ',
25879
+ style: {
25880
+ top: sectionproperties.wishlistbadgetop + 'px',
25881
+ right: sectionproperties.wishlistbadgeright + 'px'
25882
+ }
25883
+ }, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
25865
25884
  size: sectionproperties.favBtnIconfontsize
25866
25885
  }), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
25867
25886
  size: sectionproperties.favBtnIconfontsize
@@ -41939,6 +41958,8 @@ var FullVideoSection = function FullVideoSection(props) {
41939
41958
  style: {
41940
41959
  display: sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0 ? 'none' : 'flex'
41941
41960
  }
41961
+ }, /*#__PURE__*/React.createElement("div", {
41962
+ "class": "row m-0 w-100"
41942
41963
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
41943
41964
  "class": ' col-lg-12 p-0 d-flex d-md-none align-items-center ',
41944
41965
  style: {
@@ -41984,7 +42005,7 @@ var FullVideoSection = function FullVideoSection(props) {
41984
42005
  dangerouslySetInnerHTML: {
41985
42006
  __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
41986
42007
  }
41987
- })));
42008
+ }))));
41988
42009
  };
41989
42010
  var Video = function Video() {
41990
42011
  var _Videosarrayofobjs$;
@@ -45360,6 +45381,8 @@ var Slideshowslide = function Slideshowslide(props) {
45360
45381
 
45361
45382
  function ownKeys$K(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
45362
45383
  function _objectSpread$K(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$K(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$K(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
45384
+ // import { Swiper, SwiperSlide } from 'swiper/react';
45385
+ // import 'swiper/css';
45363
45386
  function CardsArrayOfObjects(_ref) {
45364
45387
  _ref.itemId;
45365
45388
  var cardItem = _ref.cardItem,
@@ -47587,6 +47610,20 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
47587
47610
  background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
47588
47611
  color: sectionproperties.favBtnTextcoloronhover
47589
47612
  }
47613
+ }),
47614
+ innercard: css({
47615
+ paddingTop: sectionproperties.paddingTop + 'px',
47616
+ paddingBottom: sectionproperties.paddingBottom + 'px',
47617
+ backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
47618
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
47619
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
47620
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
47621
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
47622
+ boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcolor,
47623
+ ':hover': {
47624
+ transition: '.3s',
47625
+ boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcoloronhover
47626
+ }
47590
47627
  })
47591
47628
  };
47592
47629
  var Buttons = function Buttons() {
@@ -47700,18 +47737,11 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
47700
47737
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
47701
47738
  }
47702
47739
  }, /*#__PURE__*/React.createElement("div", {
47703
- "class": ' row ml-0 mr-0 w-100 '
47740
+ "class": sectionproperties.sectioncardshadowcolor != null ? ' row ml-0 mr-0 w-100 pt-1 pb-1' : sectionproperties.sectioncardshadowcoloronhover != null ? ' row ml-0 mr-0 w-100 pt-1 pb-1' : ' row ml-0 mr-0 w-100 ',
47741
+ style: {}
47704
47742
  }, /*#__PURE__*/React.createElement("div", {
47705
- "class": "col-lg-12 pl-0 pr-0 h-100",
47706
- style: {
47707
- paddingTop: sectionproperties.paddingTop + 'px',
47708
- paddingBottom: sectionproperties.paddingBottom + 'px',
47709
- backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
47710
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
47711
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
47712
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
47713
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
47714
- }
47743
+ "class": card_cssstyles.innercard + ' col-lg-12 pl-0 pr-0 h-100 ',
47744
+ style: {}
47715
47745
  }, /*#__PURE__*/React.createElement("div", {
47716
47746
  "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center cursor-pointer",
47717
47747
  style: {
@@ -53978,7 +54008,7 @@ var ModernProductCard = function ModernProductCard(props) {
53978
54008
  var addtofavoritescontext = props.actions.addtofavoritescontext;
53979
54009
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
53980
54010
  var AddtoCartContext = props.actions.AddtoCartContext;
53981
- props.actions.AddtoCartMutationContext;
54011
+ var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
53982
54012
  props.actions.StaticPagesLinksContext;
53983
54013
  props.actions.routingcountext;
53984
54014
  var NotificationManager = NotificationManager;
@@ -54049,9 +54079,74 @@ var ModernProductCard = function ModernProductCard(props) {
54049
54079
  AddtoCartContext(addtocardpayloadobj);
54050
54080
  }
54051
54081
  };
54082
+ var addtocartbuttonrender = function addtocartbuttonrender() {
54083
+ if (AddtoCartMutationContext.isLoading) {
54084
+ var _AddtoCartMutationCon;
54085
+ if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 ? void 0 : (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
54086
+ return /*#__PURE__*/React.createElement("div", {
54087
+ "class": ' d-flex align-items-center justify-content-center '
54088
+ }, /*#__PURE__*/React.createElement(CircularProgress, {
54089
+ color: sectionproperties.cart_iconcolor,
54090
+ width: "20px",
54091
+ height: "20px",
54092
+ duration: "1s"
54093
+ }));
54094
+ } else {
54095
+ return /*#__PURE__*/React.createElement("i", {
54096
+ "class": 'h-100 d-flex align-items-center justify-content-center'
54097
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
54098
+ "class": "",
54099
+ size: sectionproperties.cartBtn_iconFontSize
54100
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
54101
+ "class": "",
54102
+ size: sectionproperties.cartBtn_iconFontSize
54103
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
54104
+ "class": "",
54105
+ size: sectionproperties.cartBtn_iconFontSize
54106
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
54107
+ size: sectionproperties.cartBtn_iconFontSize
54108
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
54109
+ "class": "",
54110
+ size: sectionproperties.cartBtn_iconFontSize
54111
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
54112
+ size: sectionproperties.cartBtn_iconFontSize
54113
+ }));
54114
+ }
54115
+ }
54116
+ if (!AddtoCartMutationContext.isLoading) {
54117
+ return /*#__PURE__*/React.createElement("i", {
54118
+ "class": 'h-100 d-flex align-items-center justify-content-center'
54119
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
54120
+ "class": "",
54121
+ size: sectionproperties.cartBtn_iconFontSize
54122
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
54123
+ "class": "",
54124
+ size: sectionproperties.cartBtn_iconFontSize
54125
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
54126
+ "class": "",
54127
+ size: sectionproperties.cartBtn_iconFontSize
54128
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
54129
+ size: sectionproperties.cartBtn_iconFontSize
54130
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
54131
+ "class": "",
54132
+ size: sectionproperties.cartBtn_iconFontSize
54133
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
54134
+ size: sectionproperties.cartBtn_iconFontSize
54135
+ }));
54136
+ }
54137
+ };
54052
54138
  var card_cssstyles = {
54053
54139
  productcard: css({
54140
+ minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
54141
+ maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
54142
+ '@media (max-width: 800px)': {
54143
+ minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
54144
+ maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
54145
+ }
54146
+ }),
54147
+ innerproductcard: css((_css = {
54054
54148
  background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
54149
+ opacity: sectionproperties.cardbg_opacity,
54055
54150
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
54056
54151
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
54057
54152
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
@@ -54062,13 +54157,16 @@ var ModernProductCard = function ModernProductCard(props) {
54062
54157
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
54063
54158
  paddingTop: sectionproperties.paddingTop + 'px',
54064
54159
  paddingBottom: sectionproperties.paddingBottom + 'px',
54160
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
54065
54161
  border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
54066
- transition: '.3s',
54067
- color: sectionproperties.prodNameColor,
54068
- ':hover': {
54069
- color: sectionproperties.prodNameColorOnHover
54070
- }
54071
- }),
54162
+ color: sectionproperties.prodNameColor
54163
+ }, _defineProperty(_css, "opacity", sectionproperties.cardbg_opacity), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, ':hover', _defineProperty({
54164
+ opacity: sectionproperties.bgopacityonhover,
54165
+ color: sectionproperties.prodNameColorOnHover
54166
+ }, "opacity", sectionproperties.bgopacityonhover)), _defineProperty(_css, ':hover .buttoncont', {
54167
+ bottom: '30%',
54168
+ opacity: 1
54169
+ }), _css)),
54072
54170
  productcardimagecont: css({
54073
54171
  position: 'relative',
54074
54172
  overflow: 'hidden',
@@ -54125,11 +54223,25 @@ var ModernProductCard = function ModernProductCard(props) {
54125
54223
  color: sectionproperties.cartBtnTextcoloronhover
54126
54224
  }
54127
54225
  }),
54128
- quantitybtn: css((_css = {
54129
- flex: 1,
54226
+ quantitybtn: css({
54227
+ // flex: 1,
54130
54228
  border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
54131
- height: sectionproperties.quantitybtn_height + 'px'
54132
- }, _defineProperty(_css, "height", '40px'), _defineProperty(_css, "display", 'flex'), _defineProperty(_css, "flexDirection", 'row'), _defineProperty(_css, "overflow", 'hidden'), _defineProperty(_css, "borderRadius", sectionproperties.quantitybtn_borderradius + 'px'), _defineProperty(_css, "background", sectionproperties.quantitybtn_bgcolor), _defineProperty(_css, "alignItems", 'center'), _defineProperty(_css, "justifyContent", 'center'), _defineProperty(_css, "margin", 0), _defineProperty(_css, "position", 'relative'), _defineProperty(_css, "fontWeight", sectionproperties.quantitybtn_textfontweight), _defineProperty(_css, "color", sectionproperties.quantitybtn_textcolor), _defineProperty(_css, "fontSize", sectionproperties.quantitybtn_textfontsize + 'px'), _css)),
54229
+ height: sectionproperties.quantitybtn_height + 'px',
54230
+ width: sectionproperties.quantitybtn_width + 'px',
54231
+ maxWidth: '100%',
54232
+ display: 'flex',
54233
+ flexDirection: 'row',
54234
+ overflow: 'hidden',
54235
+ borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
54236
+ background: sectionproperties.quantitybtn_bgcolor,
54237
+ alignItems: 'center',
54238
+ justifyContent: 'center',
54239
+ margin: 0,
54240
+ position: 'relative',
54241
+ fontWeight: sectionproperties.quantitybtn_textfontweight,
54242
+ color: sectionproperties.quantitybtn_textcolor,
54243
+ fontSize: sectionproperties.quantitybtn_textfontsize + 'px'
54244
+ }),
54133
54245
  quantitybtn_text: css({
54134
54246
  margin: 'auto'
54135
54247
  }),
@@ -54141,37 +54253,46 @@ var ModernProductCard = function ModernProductCard(props) {
54141
54253
  display: 'flex',
54142
54254
  alignItems: 'center',
54143
54255
  justifyContent: 'center',
54144
- borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
54256
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
54257
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
54258
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
54259
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
54145
54260
  fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
54146
54261
  color: sectionproperties.add_quantitybtn_textcolor,
54147
54262
  transition: '.3s',
54148
54263
  ':hover': {
54149
54264
  color: sectionproperties.add_quantitybtn_textcoloronhover,
54150
54265
  background: sectionproperties.add_quantitybtn_bgcoloronhover
54266
+ },
54267
+ ':hover .addbtn': {
54268
+ color: sectionproperties.add_quantitybtn_textcoloronhover,
54269
+ transition: '.3s'
54151
54270
  }
54152
54271
  }),
54153
54272
  minus_quantitybtn_icon_container: css({
54154
54273
  position: 'relative',
54155
- width: sectionproperties.remove_quantitybtn_width + 'px',
54156
- height: sectionproperties.remove_quantitybtn_height + 'px',
54157
- background: sectionproperties.remove_quantitybtn_bgcolor,
54158
54274
  display: 'flex',
54159
54275
  alignItems: 'center',
54160
54276
  justifyContent: 'center',
54161
- borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
54277
+ width: sectionproperties.remove_quantitybtn_width + 'px',
54278
+ height: sectionproperties.remove_quantitybtn_height + 'px',
54279
+ background: sectionproperties.remove_quantitybtn_bgcolor,
54162
54280
  fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
54163
54281
  color: sectionproperties.remove_quantitybtn_textcolor,
54282
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
54283
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
54284
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
54285
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
54164
54286
  transition: '.3s',
54165
54287
  ':hover': {
54166
54288
  color: sectionproperties.remove_quantitybtn_textcoloronhover,
54167
54289
  background: sectionproperties.remove_quantitybtn_bgcoloronhover
54290
+ },
54291
+ ':hover .minusbtn': {
54292
+ transition: '.3s',
54293
+ color: sectionproperties.remove_quantitybtn_textcoloronhover
54168
54294
  }
54169
54295
  }),
54170
- producttotalstyles: css({
54171
- color: sectionproperties.total_color,
54172
- fontSize: sectionproperties.total_fontsize + 'px',
54173
- fontWeight: 500
54174
- }),
54175
54296
  productDescStyles: css({
54176
54297
  color: sectionproperties.prodCatColor,
54177
54298
  fontSize: sectionproperties.prodCatFontSize + 'px',
@@ -54181,85 +54302,133 @@ var ModernProductCard = function ModernProductCard(props) {
54181
54302
  marginLeft: sectionproperties.description_marginLeft + 'px',
54182
54303
  marginRight: sectionproperties.description_marginRight + 'px',
54183
54304
  marginBottom: sectionproperties.descriptionMarginBottom + 'px'
54305
+ }),
54306
+ quantity: css({
54307
+ color: sectionproperties.quantitycolor,
54308
+ fontSize: sectionproperties.quantityfontsize + 'px',
54309
+ fontWeight: sectionproperties.quantityfontweight
54184
54310
  })
54185
54311
  };
54312
+ var ImageContent = function ImageContent() {
54313
+ return /*#__PURE__*/React.createElement("div", {
54314
+ "class": "w-100 allcentered"
54315
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
54316
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
54317
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
54318
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
54319
+ loading: "lazy",
54320
+ style: {
54321
+ width: sectionproperties.imageInnerWidth_Height + '%',
54322
+ height: sectionproperties.imageInnerWidth_Height + '%',
54323
+ objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
54324
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
54325
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
54326
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
54327
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
54328
+ }
54329
+ }), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
54330
+ "class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
54331
+ onClick: function onClick(e) {
54332
+ e.stopPropagation();
54333
+ addtofavoritescontext(item.productid);
54334
+ },
54335
+ style: {
54336
+ position: 'absolute',
54337
+ top: 10,
54338
+ right: langdetect == 'en' ? 10 : 0,
54339
+ left: langdetect == 'en' ? 0 : 10,
54340
+ background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
54341
+ }
54342
+ }, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
54343
+ "class": "h-100 d-flex align-items-center justify-content-center"
54344
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
54345
+ size: sectionproperties.favBtnIconfontsize,
54346
+ style: {
54347
+ color: sectionproperties.activefaviconcolor
54348
+ }
54349
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
54350
+ size: sectionproperties.favBtnIconfontsize,
54351
+ style: {
54352
+ color: sectionproperties.activefaviconcolor
54353
+ }
54354
+ })), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
54355
+ "class": "h-100 d-flex align-items-center justify-content-center"
54356
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
54357
+ size: sectionproperties.favBtnIconfontsize
54358
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
54359
+ size: sectionproperties.favBtnIconfontsize
54360
+ }))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
54361
+ "class": "allcentered",
54362
+ style: {
54363
+ position: 'absolute',
54364
+ top: sectionproperties.badge_top + 'px',
54365
+ right: sectionproperties.badge_right + 'px',
54366
+ width: sectionproperties.badge_width + 'px',
54367
+ height: sectionproperties.badge_height + 'px',
54368
+ background: sectionproperties.badge_bgcolor,
54369
+ borderRadius: sectionproperties.badge_borderradius + 'px',
54370
+ border: sectionproperties.badgeborderwidth + 'px solid ' + sectionproperties.badge_color
54371
+ }
54372
+ }, /*#__PURE__*/React.createElement("p", {
54373
+ "class": "m-0 p-0",
54374
+ style: {
54375
+ color: sectionproperties.badge_color,
54376
+ fontSize: sectionproperties.badge_fontsize + 'px'
54377
+ }
54378
+ }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
54379
+ "class": "allcentered",
54380
+ style: {
54381
+ position: 'absolute',
54382
+ top: sectionproperties.pillpositionfromtop + 'px',
54383
+ right: sectionproperties.pillpositionfromright + 'px',
54384
+ width: sectionproperties.pillwidth + 'px',
54385
+ height: sectionproperties.pillheight + 'px',
54386
+ background: sectionproperties.pillbgcolor,
54387
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
54388
+ }
54389
+ }, /*#__PURE__*/React.createElement("p", {
54390
+ "class": "m-0 p-0",
54391
+ style: {
54392
+ color: sectionproperties.pillcolor,
54393
+ fontSize: sectionproperties.pillfontSize + 'px',
54394
+ direction: 'ltr'
54395
+ }
54396
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')));
54397
+ };
54186
54398
  return /*#__PURE__*/React.createElement("div", {
54187
- "class": "row m-0 w-100",
54399
+ "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
54188
54400
  style: {
54189
- paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginLeft + 'px',
54190
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginRight + 'px'
54401
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
54402
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
54191
54403
  }
54404
+ // class="row m-0 w-100"
54405
+ // style={{
54406
+ // paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginLeft + 'px',
54407
+ // paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginRight + 'px',
54408
+ // }}
54192
54409
  }, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
54193
- "class": "".concat(card_cssstyles.productcard) + ' cursor-pointer w-100 '
54410
+ "class": "".concat(card_cssstyles.innerproductcard) + ' w-100 '
54194
54411
  }, /*#__PURE__*/React.createElement("div", {
54195
54412
  onClick: function onClick() {
54196
54413
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
54197
54414
  },
54198
- "class": "".concat(card_cssstyles.productcardimagecont) + ' p-0 ',
54415
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-flex d-md-none w-100 ',
54199
54416
  style: {
54417
+ position: 'relative',
54200
54418
  marginBottom: sectionproperties.image_mb + 'px',
54201
- overflow: 'hidden'
54202
- }
54203
- }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
54204
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
54205
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
54206
- path: item.image,
54207
- loading: "lazy",
54208
- style: {
54209
- width: '100%',
54210
- height: '100%',
54211
- objectFit: 'contain'
54419
+ height: sectionproperties.image_height + 'px'
54212
54420
  }
54213
- }), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
54214
- "class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
54215
- onClick: function onClick(e) {
54216
- e.stopPropagation();
54217
- addtofavoritescontext(item.productid);
54421
+ }, ImageContent()), /*#__PURE__*/React.createElement("div", {
54422
+ onClick: function onClick() {
54423
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
54218
54424
  },
54425
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-none d-md-flex ',
54219
54426
  style: {
54220
- position: 'absolute',
54221
- top: 10,
54222
- right: langdetect == 'en' ? 10 : 0,
54223
- left: langdetect == 'en' ? 0 : 10,
54224
- background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
54225
- }
54226
- }, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
54227
- "class": "h-100 d-flex align-items-center justify-content-center"
54228
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
54229
- size: sectionproperties.favBtnIconfontsize,
54230
- style: {
54231
- color: sectionproperties.activefaviconcolor
54232
- }
54233
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
54234
- size: sectionproperties.favBtnIconfontsize,
54235
- style: {
54236
- color: sectionproperties.activefaviconcolor
54237
- }
54238
- })), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
54239
- "class": "h-100 d-flex align-items-center justify-content-center"
54240
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
54241
- size: sectionproperties.favBtnIconfontsize
54242
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
54243
- size: sectionproperties.favBtnIconfontsize
54244
- }))), sectionproperties.prodsalePriceshow == 'Show' && (item === null || item === void 0 ? void 0 : item.hassale) == 1 && /*#__PURE__*/React.createElement("div", {
54245
- "class": "allcentered",
54246
- style: {
54247
- position: 'absolute',
54248
- top: 10,
54249
- right: langdetect == 'en' ? 10 : '',
54250
- left: langdetect == 'en' ? '' : 10,
54251
- width: sectionproperties.badge_width + 'px',
54252
- height: sectionproperties.badge_height + 'px',
54253
- background: sectionproperties.badge_bgcolor,
54254
- borderRadius: sectionproperties.badge_borderradius + 'px'
54255
- }
54256
- }, /*#__PURE__*/React.createElement("p", {
54257
- "class": "m-0 p-0",
54258
- style: {
54259
- color: sectionproperties.badge_color,
54260
- fontSize: sectionproperties.badge_fontsize + 'px'
54427
+ position: 'relative',
54428
+ marginBottom: sectionproperties.image_mb + 'px',
54429
+ height: sectionproperties.height_responsive + 'px'
54261
54430
  }
54262
- }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
54431
+ }, ImageContent()), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
54263
54432
  "class": "row m-0 w-100"
54264
54433
  }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
54265
54434
  onClick: function onClick() {
@@ -54276,7 +54445,11 @@ var ModernProductCard = function ModernProductCard(props) {
54276
54445
  style: {
54277
54446
  textAlign: langdetect == 'en' ? 'left' : 'right'
54278
54447
  }
54279
- }, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), /*#__PURE__*/React.createElement("div", {
54448
+ }, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), sectionproperties.quantityshow == 'Show' && item.measurmentunit != null && /*#__PURE__*/React.createElement("div", {
54449
+ "class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
54450
+ }, /*#__PURE__*/React.createElement("p", {
54451
+ "class": "".concat(card_cssstyles.quantity) + ' m-0 '
54452
+ }, item.measurmentunit)), /*#__PURE__*/React.createElement("div", {
54280
54453
  "class": "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
54281
54454
  }, /*#__PURE__*/React.createElement("div", {
54282
54455
  "class": "row m-0 w-100 d-flex align-items-center"
@@ -54296,23 +54469,24 @@ var ModernProductCard = function ModernProductCard(props) {
54296
54469
  }, /*#__PURE__*/React.createElement("button", {
54297
54470
  "class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
54298
54471
  }, langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
54299
- "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
54300
- style: {
54301
- transform: ' rotate(-180deg)'
54302
- },
54472
+ "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
54303
54473
  onClick: function onClick() {
54304
54474
  updatequantity('remove');
54305
54475
  }
54306
54476
  }, /*#__PURE__*/React.createElement("i", {
54307
- "class": "fa fa-chevron-up "
54308
- })), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
54309
- "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
54477
+ "class": "h-100 allcentered"
54478
+ }, /*#__PURE__*/React.createElement(AiOutlineMinus, {
54479
+ size: sectionproperties.remove_quantitybtn_textfontsize
54480
+ }))), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
54481
+ "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' ',
54310
54482
  onClick: function onClick() {
54311
54483
  updatequantity('add');
54312
54484
  }
54313
54485
  }, /*#__PURE__*/React.createElement("i", {
54314
- "class": "fa fa-chevron-up"
54315
- })), /*#__PURE__*/React.createElement("span", {
54486
+ "class": "h-100 allcentered"
54487
+ }, /*#__PURE__*/React.createElement(AiOutlinePlus, {
54488
+ size: sectionproperties.add_quantitybtn_textfontsize
54489
+ }))), /*#__PURE__*/React.createElement("span", {
54316
54490
  "class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
54317
54491
  style: {
54318
54492
  background: sectionproperties.quantbtntextbgcolor,
@@ -54321,7 +54495,7 @@ var ModernProductCard = function ModernProductCard(props) {
54321
54495
  borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
54322
54496
  }
54323
54497
  }, item.quantity), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
54324
- "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
54498
+ "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
54325
54499
  style: {
54326
54500
  transform: ' rotate(-180deg)'
54327
54501
  },
@@ -54329,15 +54503,19 @@ var ModernProductCard = function ModernProductCard(props) {
54329
54503
  updatequantity('remove');
54330
54504
  }
54331
54505
  }, /*#__PURE__*/React.createElement("i", {
54332
- "class": "fa fa-chevron-up "
54333
- })), langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
54334
- "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
54506
+ "class": "h-100 allcentered"
54507
+ }, /*#__PURE__*/React.createElement(AiOutlineMinus, {
54508
+ size: sectionproperties.remove_quantitybtn_textfontsize
54509
+ }))), langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
54510
+ "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' ',
54335
54511
  onClick: function onClick() {
54336
54512
  updatequantity('add');
54337
54513
  }
54338
54514
  }, /*#__PURE__*/React.createElement("i", {
54339
- "class": "fa fa-chevron-up"
54340
- }))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
54515
+ "class": "h-100 allcentered"
54516
+ }, /*#__PURE__*/React.createElement(AiOutlinePlus, {
54517
+ size: sectionproperties.add_quantitybtn_textfontsize
54518
+ })))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
54341
54519
  "class": "col-lg-6 col-md-4 col-sm-4 d-flex align-items-center justify-content-end p-0"
54342
54520
  }, /*#__PURE__*/React.createElement("button", {
54343
54521
  "class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
@@ -54348,26 +54526,9 @@ var ModernProductCard = function ModernProductCard(props) {
54348
54526
  setShowProductInfoModalContext(true);
54349
54527
  setProductIdProdutInfoModalContext(item.productid);
54350
54528
  }
54351
- }
54352
- }, /*#__PURE__*/React.createElement("i", {
54353
- "class": 'h-100 d-flex align-items-center justify-content-center'
54354
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
54355
- "class": "",
54356
- size: sectionproperties.cartBtn_iconFontSize
54357
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
54358
- "class": "",
54359
- size: sectionproperties.cartBtn_iconFontSize
54360
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
54361
- "class": "",
54362
- size: sectionproperties.cartBtn_iconFontSize
54363
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
54364
- size: sectionproperties.cartBtn_iconFontSize
54365
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
54366
- "class": "",
54367
- size: sectionproperties.cartBtn_iconFontSize
54368
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
54369
- size: sectionproperties.cartBtn_iconFontSize
54370
- })))))))));
54529
+ },
54530
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
54531
+ }, addtocartbuttonrender())))))));
54371
54532
  };
54372
54533
 
54373
54534
  var css_248z$4 = ".productcard_animatedbuttons-module_buttonContainerCenter__xApc7 {\n position: absolute;\n left: 0;\n bottom: 60px;\n opacity: 0;\n width: 100%;\n text-align: center;\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.productcard_animatedbuttons-module_buttonContainerCenter__xApc7 li {\n list-style: none;\n display: inline-block;\n position: relative;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n transition: all 0.4s ease 0.1s;\n}\n.productcard_animatedbuttons-module_buttonContainerCenter__xApc7 li span {\n display: block;\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.productcard_animatedbuttons-module_buttonContainerCenter__xApc7 li span i {\n position: relative;\n transform: rotate(0);\n -webkit-transition: all, 0.2s;\n -moz-transition: all, 0.2s;\n -ms-transition: all, 0.2s;\n -o-transition: all, 0.2s;\n transition: all, 0.2s;\n}\n.productcard_animatedbuttons-module_productcard__LQiP0:hover .productcard_animatedbuttons-module_image_container__6Rgm4 .productcard_animatedbuttons-module_buttonContainerCenter__xApc7 {\n bottom: 40% !important;\n opacity: 1;\n}\n.productcard_animatedbuttons-module_buttonContainerCenter__xApc7 li:hover span i {\n transform: rotate(360deg);\n}\n@media screen and (max-width: 800px) {\n .productcard_animatedbuttons-module_productcard__LQiP0 .productcard_animatedbuttons-module_image_container__6Rgm4 .productcard_animatedbuttons-module_buttonContainerCenter__xApc7 {\n bottom: 20px !important;\n opacity: 1;\n }\n .productcard_animatedbuttons-module_buttonContainerBottom__ienAr{\n bottom: 20px !important;\n opacity: 1;\n }\n .productcard_animatedbuttons-module_buttonContainerCenter__xApc7{\n top: 50% !important;\n opacity: 1;\n }\n}\n@media screen and (max-width: 500px) {\n .productcard_animatedbuttons-module_productcard__LQiP0 .productcard_animatedbuttons-module_image_container__6Rgm4 .productcard_animatedbuttons-module_buttonContainerCenter__xApc7 {\n bottom: 20px !important;\n opacity: 1;\n }\n .productcard_animatedbuttons-module_buttonContainerBottom__ienAr{\n bottom: 20px !important;\n opacity: 1;\n }\n .productcard_animatedbuttons-module_buttonContainerCenter__xApc7{\n top: 50% !important;\n opacity: 1;\n }\n}\n\n.productcard_animatedbuttons-module_buttonContainerBottom__ienAr {\n position: absolute;\n left: 0;\n bottom: -30px;\n opacity: 0;\n width: 100%;\n text-align: center;\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.productcard_animatedbuttons-module_buttonContainerBottom__ienAr li {\n list-style: none;\n display: inline-block;\n position: relative;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n transition: all 0.4s ease 0.1s;\n}\n.productcard_animatedbuttons-module_buttonContainerBottom__ienAr li span {\n display: block;\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.productcard_animatedbuttons-module_buttonContainerBottom__ienAr li span i {\n position: relative;\n transform: rotate(0);\n -webkit-transition: all, 0.2s;\n -moz-transition: all, 0.2s;\n -ms-transition: all, 0.2s;\n -o-transition: all, 0.2s;\n transition: all, 0.2s;\n}\n.productcard_animatedbuttons-module_productcard__LQiP0:hover .productcard_animatedbuttons-module_image_container__6Rgm4 .productcard_animatedbuttons-module_buttonContainerBottom__ienAr {\n bottom: 20px !important;\n opacity: 1;\n}\n\n.productcard_animatedbuttons-module_image_container__6Rgm4 .productcard_animatedbuttons-module_buttonContainerBottom__ienAr.productcard_animatedbuttons-module_buttonContainerBottom_show__C-v73 {\n bottom: 20px !important;\n opacity: 1;\n}\n.productcard_animatedbuttons-module_buttonContainerBottom__ienAr li:hover span i {\n transform: rotate(360deg);\n}\n@media screen and (max-width: 800px) {\n .productcard_animatedbuttons-module_productcard__LQiP0 .productcard_animatedbuttons-module_image_container__6Rgm4 .productcard_animatedbuttons-module_buttonContainerBottom__ienAr {\n bottom: 20px !important;\n opacity: 1;\n }\n}\n\n@media (max-width: 576px) {\n .productcard_animatedbuttons-module_cardcont__bK-HM {\n max-width: 280px !important;\n min-width: 280px !important;\n /* min-width: 200px;\n max-width: 200px; */\n }\n}";