tabexseriescomponents 0.0.285 → 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.cjs.js +322 -113
- package/dist/index.esm.js +322 -113
- package/dist/index.umd.js +322 -113
- package/package.json +3 -1
- package/src.zip +0 -0
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
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
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 "
|
|
@@ -13015,6 +13021,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13015
13021
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
13016
13022
|
}
|
|
13017
13023
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
13024
|
+
// if (sectionproperties.overallnumberofcards != 0) {
|
|
13025
|
+
// if (cardinfoindex < sectionproperties.overallnumberofcards) {
|
|
13018
13026
|
return /*#__PURE__*/React.createElement("div", {
|
|
13019
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 ' : ''
|
|
13020
13028
|
}, /*#__PURE__*/React.createElement(Sectioncomp, {
|
|
@@ -13029,7 +13037,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13029
13037
|
fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : '',
|
|
13030
13038
|
numberOfColsvertical: sectionproperties.numberOfColsvertical
|
|
13031
13039
|
}));
|
|
13032
|
-
|
|
13040
|
+
// }
|
|
13041
|
+
}), fetchingtype == 'products' && sectionproperties.showpagination == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
13033
13042
|
className: "w-100 col-lg-12 allcentered mt-2"
|
|
13034
13043
|
}, /*#__PURE__*/React.createElement(PaginatedItems, {
|
|
13035
13044
|
itemsPerPage: 5
|
|
@@ -13781,9 +13790,19 @@ var Subheader = function Subheader(props) {
|
|
|
13781
13790
|
zIndex: 2000,
|
|
13782
13791
|
position: ((_props$subheaderprope29 = props.subheaderpropertiesprops) === null || _props$subheaderprope29 === void 0 ? void 0 : _props$subheaderprope29.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
|
|
13783
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 : '',
|
|
13784
|
-
border:
|
|
13785
|
-
|
|
13786
|
-
|
|
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,
|
|
13787
13806
|
paddingLeft: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingLeft + 'px' : sectionproperties.subheader_dropdown_paddingRight + 'px',
|
|
13788
13807
|
paddingRight: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingRight + 'px' : sectionproperties.subheader_dropdown_paddingLeft + 'px'
|
|
13789
13808
|
}
|
|
@@ -25188,7 +25207,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25188
25207
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
25189
25208
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
25190
25209
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
25191
|
-
props.actions.favoriteprojectscountContext;
|
|
25210
|
+
var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
|
|
25192
25211
|
var routingcountext = props.actions.routingcountext;
|
|
25193
25212
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
25194
25213
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
@@ -25512,7 +25531,10 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25512
25531
|
"class": header_cssstyles.upperheadertext + ' storeinfotext ml-1 mr-1 ',
|
|
25513
25532
|
size: sectionproperties.footerinfotext_fontsize
|
|
25514
25533
|
}), /*#__PURE__*/React.createElement("span", {
|
|
25515
|
-
"class": header_cssstyles.upperheadertext + ' storeinfotext '
|
|
25534
|
+
"class": header_cssstyles.upperheadertext + ' storeinfotext ',
|
|
25535
|
+
style: {
|
|
25536
|
+
textTransform: 'none'
|
|
25537
|
+
}
|
|
25516
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", {
|
|
25517
25539
|
"class": header_cssstyles.storeinfocontainer + ' d-flex align-items-center justify-content-center '
|
|
25518
25540
|
}, /*#__PURE__*/React.createElement("a", {
|
|
@@ -25621,7 +25643,10 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25621
25643
|
}), sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React.createElement(BiGlobe, null), /*#__PURE__*/React.createElement("span", {
|
|
25622
25644
|
"class": 'ml-2 mr-2'
|
|
25623
25645
|
}, lang.english))))))), /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
25624
|
-
"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
|
+
}
|
|
25625
25650
|
}, /*#__PURE__*/React.createElement("span", {
|
|
25626
25651
|
"class": ' d-flex justify-content-center align-items-center '
|
|
25627
25652
|
}, /*#__PURE__*/React.createElement(FiUser, {
|
|
@@ -25658,27 +25683,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25658
25683
|
style: {
|
|
25659
25684
|
maxWidth: '150px'
|
|
25660
25685
|
}
|
|
25661
|
-
}, authdetailsContext.customerinfo.name))))),
|
|
25662
|
-
onClick: function onClick() {
|
|
25663
|
-
routingcountext(StaticPagesLinksContext.Login);
|
|
25664
|
-
}
|
|
25665
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
25666
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
25667
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
25668
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
25669
|
-
}, /*#__PURE__*/React.createElement(AiOutlineLogin, null), /*#__PURE__*/React.createElement("span", {
|
|
25670
|
-
"class": "ml-2 mr-2"
|
|
25671
|
-
}, lang.login)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
25672
|
-
onClick: function onClick() {
|
|
25673
|
-
routingcountext(StaticPagesLinksContext.Signup);
|
|
25674
|
-
}
|
|
25675
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
25676
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
25677
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
25678
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
25679
|
-
}, /*#__PURE__*/React.createElement(AiOutlineUserAdd, null), /*#__PURE__*/React.createElement("span", {
|
|
25680
|
-
"class": "ml-2 mr-2 text-transform-none"
|
|
25681
|
-
}, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
|
|
25686
|
+
}, authdetailsContext.customerinfo.name))))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
|
|
25682
25687
|
style: {
|
|
25683
25688
|
minWidth: '200px'
|
|
25684
25689
|
}
|
|
@@ -25778,7 +25783,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25778
25783
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : sectionproperties.searchbarcont_borderTopLeftRadius + 'px',
|
|
25779
25784
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px'
|
|
25780
25785
|
}
|
|
25781
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
25786
|
+
}, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
25782
25787
|
"class": 'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start h-100',
|
|
25783
25788
|
onClick: function onClick() {
|
|
25784
25789
|
setdropdownselect(!dropdownselect);
|
|
@@ -25822,20 +25827,20 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25822
25827
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem text-overflow m-0 p-0 '
|
|
25823
25828
|
}, langdetect == 'en' ? item.title_en : item.title_ar)))), index != authdetailsContext.instinfo.instcollections.length - 1 && /*#__PURE__*/React.createElement(Dropdown.Divider, null));
|
|
25824
25829
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
25825
|
-
"class":
|
|
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'
|
|
25826
25831
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25827
25832
|
"class": ' row m-0 w-100 h-100 ',
|
|
25828
25833
|
style: {
|
|
25829
25834
|
position: 'relative',
|
|
25830
25835
|
backgroundColor: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
|
|
25831
|
-
borderBottomLeftRadius: langdetect == 'ar' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : 0,
|
|
25832
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : 0,
|
|
25833
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : 0,
|
|
25834
|
-
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'
|
|
25835
25840
|
}
|
|
25836
25841
|
}, /*#__PURE__*/React.createElement("input", {
|
|
25837
25842
|
type: "text",
|
|
25838
|
-
placeholder:
|
|
25843
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
25839
25844
|
"class": "".concat(header_cssstyles.searchbarcont_input) + ' h-100 ',
|
|
25840
25845
|
onChange: function onChange(event) {
|
|
25841
25846
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -25847,12 +25852,18 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25847
25852
|
marginLeft: langdetect == 'ar' ? '-0.25rem' : 0,
|
|
25848
25853
|
marginTop: sectionproperties.searchbarcontinput_borderwidth != 0 ? '-0.1rem' : 0
|
|
25849
25854
|
}
|
|
25850
|
-
},
|
|
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, {
|
|
25851
25862
|
sectionpropertiesprops: sectionproperties,
|
|
25852
25863
|
srcfromprops: 'headerfullwidth',
|
|
25853
25864
|
actions: actions
|
|
25854
25865
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
25855
|
-
"class": "col-xl-2 col-lg-3 d-flex align-items-center justify-content-
|
|
25866
|
+
"class": "col-xl-2 col-lg-3 d-flex align-items-center justify-content-end p-0"
|
|
25856
25867
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25857
25868
|
"class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
25858
25869
|
onClick: function onClick() {
|
|
@@ -25860,9 +25871,16 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25860
25871
|
},
|
|
25861
25872
|
style: {
|
|
25862
25873
|
marginRight: langdetect == 'en' ? '1rem' : 0,
|
|
25863
|
-
marginLeft: langdetect == 'ar' ? '1rem' : 0
|
|
25874
|
+
marginLeft: langdetect == 'ar' ? '1rem' : 0,
|
|
25875
|
+
position: 'relative'
|
|
25864
25876
|
}
|
|
25865
|
-
}, sectionproperties.
|
|
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, {
|
|
25866
25884
|
size: sectionproperties.favBtnIconfontsize
|
|
25867
25885
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
25868
25886
|
size: sectionproperties.favBtnIconfontsize
|
|
@@ -45363,6 +45381,8 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
45363
45381
|
|
|
45364
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; }
|
|
45365
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';
|
|
45366
45386
|
function CardsArrayOfObjects(_ref) {
|
|
45367
45387
|
_ref.itemId;
|
|
45368
45388
|
var cardItem = _ref.cardItem,
|
|
@@ -47590,6 +47610,20 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
47590
47610
|
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
47591
47611
|
color: sectionproperties.favBtnTextcoloronhover
|
|
47592
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
|
+
}
|
|
47593
47627
|
})
|
|
47594
47628
|
};
|
|
47595
47629
|
var Buttons = function Buttons() {
|
|
@@ -47703,18 +47737,11 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
47703
47737
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
47704
47738
|
}
|
|
47705
47739
|
}, /*#__PURE__*/React.createElement("div", {
|
|
47706
|
-
"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: {}
|
|
47707
47742
|
}, /*#__PURE__*/React.createElement("div", {
|
|
47708
|
-
"class":
|
|
47709
|
-
style: {
|
|
47710
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
47711
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
47712
|
-
backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
47713
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
47714
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
47715
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
47716
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
|
|
47717
|
-
}
|
|
47743
|
+
"class": card_cssstyles.innercard + ' col-lg-12 pl-0 pr-0 h-100 ',
|
|
47744
|
+
style: {}
|
|
47718
47745
|
}, /*#__PURE__*/React.createElement("div", {
|
|
47719
47746
|
"class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center cursor-pointer",
|
|
47720
47747
|
style: {
|
|
@@ -53965,7 +53992,7 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
53965
53992
|
function ownKeys$g(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; }
|
|
53966
53993
|
function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
53967
53994
|
var ModernProductCard = function ModernProductCard(props) {
|
|
53968
|
-
var _css
|
|
53995
|
+
var _css;
|
|
53969
53996
|
var _useState = useState(''),
|
|
53970
53997
|
_useState2 = _slicedToArray(_useState, 2),
|
|
53971
53998
|
sectionproperties = _useState2[0],
|
|
@@ -53978,15 +54005,15 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
53978
54005
|
props.actions.lang;
|
|
53979
54006
|
var langdetect = props.actions.langdetect;
|
|
53980
54007
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
53981
|
-
props.actions.addtofavoritescontext;
|
|
54008
|
+
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
53982
54009
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
53983
54010
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
53984
|
-
props.actions.AddtoCartMutationContext;
|
|
54011
|
+
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
53985
54012
|
props.actions.StaticPagesLinksContext;
|
|
53986
54013
|
props.actions.routingcountext;
|
|
53987
54014
|
var NotificationManager = NotificationManager;
|
|
53988
54015
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
53989
|
-
props.actions.ikimagecredcontext;
|
|
54016
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
53990
54017
|
var updatequantity = function updatequantity(type) {
|
|
53991
54018
|
var tempitem = _objectSpread$g({}, item);
|
|
53992
54019
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
@@ -54052,6 +54079,62 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54052
54079
|
AddtoCartContext(addtocardpayloadobj);
|
|
54053
54080
|
}
|
|
54054
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
|
+
};
|
|
54055
54138
|
var card_cssstyles = {
|
|
54056
54139
|
productcard: css({
|
|
54057
54140
|
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
@@ -54140,11 +54223,25 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54140
54223
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
54141
54224
|
}
|
|
54142
54225
|
}),
|
|
54143
|
-
quantitybtn: css(
|
|
54144
|
-
flex: 1,
|
|
54226
|
+
quantitybtn: css({
|
|
54227
|
+
// flex: 1,
|
|
54145
54228
|
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
54146
|
-
height: sectionproperties.quantitybtn_height + 'px'
|
|
54147
|
-
|
|
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
|
+
}),
|
|
54148
54245
|
quantitybtn_text: css({
|
|
54149
54246
|
margin: 'auto'
|
|
54150
54247
|
}),
|
|
@@ -54156,37 +54253,46 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54156
54253
|
display: 'flex',
|
|
54157
54254
|
alignItems: 'center',
|
|
54158
54255
|
justifyContent: 'center',
|
|
54159
|
-
|
|
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',
|
|
54160
54260
|
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
54161
54261
|
color: sectionproperties.add_quantitybtn_textcolor,
|
|
54162
54262
|
transition: '.3s',
|
|
54163
54263
|
':hover': {
|
|
54164
54264
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
54165
54265
|
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
54266
|
+
},
|
|
54267
|
+
':hover .addbtn': {
|
|
54268
|
+
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
54269
|
+
transition: '.3s'
|
|
54166
54270
|
}
|
|
54167
54271
|
}),
|
|
54168
54272
|
minus_quantitybtn_icon_container: css({
|
|
54169
54273
|
position: 'relative',
|
|
54170
|
-
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
54171
|
-
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
54172
|
-
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
54173
54274
|
display: 'flex',
|
|
54174
54275
|
alignItems: 'center',
|
|
54175
54276
|
justifyContent: 'center',
|
|
54176
|
-
|
|
54277
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
54278
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
54279
|
+
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
54177
54280
|
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
|
|
54178
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',
|
|
54179
54286
|
transition: '.3s',
|
|
54180
54287
|
':hover': {
|
|
54181
54288
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
54182
54289
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
54290
|
+
},
|
|
54291
|
+
':hover .minusbtn': {
|
|
54292
|
+
transition: '.3s',
|
|
54293
|
+
color: sectionproperties.remove_quantitybtn_textcoloronhover
|
|
54183
54294
|
}
|
|
54184
54295
|
}),
|
|
54185
|
-
producttotalstyles: css({
|
|
54186
|
-
color: sectionproperties.total_color,
|
|
54187
|
-
fontSize: sectionproperties.total_fontsize + 'px',
|
|
54188
|
-
fontWeight: 500
|
|
54189
|
-
}),
|
|
54190
54296
|
productDescStyles: css({
|
|
54191
54297
|
color: sectionproperties.prodCatColor,
|
|
54192
54298
|
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
@@ -54196,8 +54302,99 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54196
54302
|
marginLeft: sectionproperties.description_marginLeft + 'px',
|
|
54197
54303
|
marginRight: sectionproperties.description_marginRight + 'px',
|
|
54198
54304
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
54305
|
+
}),
|
|
54306
|
+
quantity: css({
|
|
54307
|
+
color: sectionproperties.quantitycolor,
|
|
54308
|
+
fontSize: sectionproperties.quantityfontsize + 'px',
|
|
54309
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
54199
54310
|
})
|
|
54200
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
|
+
};
|
|
54201
54398
|
return /*#__PURE__*/React.createElement("div", {
|
|
54202
54399
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
|
|
54203
54400
|
style: {
|
|
@@ -54211,7 +54408,27 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54211
54408
|
// }}
|
|
54212
54409
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
54213
54410
|
"class": "".concat(card_cssstyles.innerproductcard) + ' w-100 '
|
|
54214
|
-
}, /*#__PURE__*/React.createElement("div",
|
|
54411
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
54412
|
+
onClick: function onClick() {
|
|
54413
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54414
|
+
},
|
|
54415
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-flex d-md-none w-100 ',
|
|
54416
|
+
style: {
|
|
54417
|
+
position: 'relative',
|
|
54418
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
54419
|
+
height: sectionproperties.image_height + 'px'
|
|
54420
|
+
}
|
|
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);
|
|
54424
|
+
},
|
|
54425
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-none d-md-flex ',
|
|
54426
|
+
style: {
|
|
54427
|
+
position: 'relative',
|
|
54428
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
54429
|
+
height: sectionproperties.height_responsive + 'px'
|
|
54430
|
+
}
|
|
54431
|
+
}, ImageContent()), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
54215
54432
|
"class": "row m-0 w-100"
|
|
54216
54433
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
54217
54434
|
onClick: function onClick() {
|
|
@@ -54228,7 +54445,11 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54228
54445
|
style: {
|
|
54229
54446
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
54230
54447
|
}
|
|
54231
|
-
}, 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", {
|
|
54232
54453
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
|
|
54233
54454
|
}, /*#__PURE__*/React.createElement("div", {
|
|
54234
54455
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
@@ -54248,23 +54469,24 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54248
54469
|
}, /*#__PURE__*/React.createElement("button", {
|
|
54249
54470
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
54250
54471
|
}, langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
|
|
54251
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + '
|
|
54252
|
-
style: {
|
|
54253
|
-
transform: ' rotate(-180deg)'
|
|
54254
|
-
},
|
|
54472
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
|
|
54255
54473
|
onClick: function onClick() {
|
|
54256
54474
|
updatequantity('remove');
|
|
54257
54475
|
}
|
|
54258
54476
|
}, /*#__PURE__*/React.createElement("i", {
|
|
54259
|
-
"class": "
|
|
54260
|
-
}
|
|
54261
|
-
|
|
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) + ' ',
|
|
54262
54482
|
onClick: function onClick() {
|
|
54263
54483
|
updatequantity('add');
|
|
54264
54484
|
}
|
|
54265
54485
|
}, /*#__PURE__*/React.createElement("i", {
|
|
54266
|
-
"class": "
|
|
54267
|
-
}
|
|
54486
|
+
"class": "h-100 allcentered"
|
|
54487
|
+
}, /*#__PURE__*/React.createElement(AiOutlinePlus, {
|
|
54488
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
54489
|
+
}))), /*#__PURE__*/React.createElement("span", {
|
|
54268
54490
|
"class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
54269
54491
|
style: {
|
|
54270
54492
|
background: sectionproperties.quantbtntextbgcolor,
|
|
@@ -54273,7 +54495,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54273
54495
|
borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
|
|
54274
54496
|
}
|
|
54275
54497
|
}, item.quantity), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
54276
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + '
|
|
54498
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
|
|
54277
54499
|
style: {
|
|
54278
54500
|
transform: ' rotate(-180deg)'
|
|
54279
54501
|
},
|
|
@@ -54281,15 +54503,19 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54281
54503
|
updatequantity('remove');
|
|
54282
54504
|
}
|
|
54283
54505
|
}, /*#__PURE__*/React.createElement("i", {
|
|
54284
|
-
"class": "
|
|
54285
|
-
}
|
|
54286
|
-
|
|
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) + ' ',
|
|
54287
54511
|
onClick: function onClick() {
|
|
54288
54512
|
updatequantity('add');
|
|
54289
54513
|
}
|
|
54290
54514
|
}, /*#__PURE__*/React.createElement("i", {
|
|
54291
|
-
"class": "
|
|
54292
|
-
}
|
|
54515
|
+
"class": "h-100 allcentered"
|
|
54516
|
+
}, /*#__PURE__*/React.createElement(AiOutlinePlus, {
|
|
54517
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
54518
|
+
})))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
54293
54519
|
"class": "col-lg-6 col-md-4 col-sm-4 d-flex align-items-center justify-content-end p-0"
|
|
54294
54520
|
}, /*#__PURE__*/React.createElement("button", {
|
|
54295
54521
|
"class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
@@ -54300,26 +54526,9 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54300
54526
|
setShowProductInfoModalContext(true);
|
|
54301
54527
|
setProductIdProdutInfoModalContext(item.productid);
|
|
54302
54528
|
}
|
|
54303
|
-
}
|
|
54304
|
-
|
|
54305
|
-
|
|
54306
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
54307
|
-
"class": "",
|
|
54308
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54309
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
54310
|
-
"class": "",
|
|
54311
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54312
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
54313
|
-
"class": "",
|
|
54314
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54315
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
54316
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54317
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
54318
|
-
"class": "",
|
|
54319
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54320
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
54321
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54322
|
-
})))))))));
|
|
54529
|
+
},
|
|
54530
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
54531
|
+
}, addtocartbuttonrender())))))));
|
|
54323
54532
|
};
|
|
54324
54533
|
|
|
54325
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}";
|