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.cjs.js
CHANGED
|
@@ -989,14 +989,11 @@ var Login = function Login(props) {
|
|
|
989
989
|
temppayloadobj.email = event.target.value;
|
|
990
990
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
991
991
|
},
|
|
992
|
-
disabled: forgetpasswordstage == 'verify' ? true : false
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineUser.AiOutlineUser, {
|
|
998
|
-
size: 18
|
|
999
|
-
})))), forgetpasswordstage == 'verify' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
992
|
+
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
993
|
+
style: {
|
|
994
|
+
background: 'transparent'
|
|
995
|
+
}
|
|
996
|
+
})), forgetpasswordstage == 'verify' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1000
997
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
|
|
1001
998
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
1002
999
|
className: "".concat(loginstyles2.logininputLabel) + ' text-transform-none d-flex justify-content-start '
|
|
@@ -1008,6 +1005,9 @@ var Login = function Login(props) {
|
|
|
1008
1005
|
var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
|
|
1009
1006
|
temppayloadobj.code = event.target.value;
|
|
1010
1007
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
1008
|
+
},
|
|
1009
|
+
style: {
|
|
1010
|
+
background: 'transparent'
|
|
1011
1011
|
}
|
|
1012
1012
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1013
1013
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0"
|
|
@@ -1021,6 +1021,9 @@ var Login = function Login(props) {
|
|
|
1021
1021
|
var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
|
|
1022
1022
|
temppayloadobj.newpassword = event.target.value;
|
|
1023
1023
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
1024
|
+
},
|
|
1025
|
+
style: {
|
|
1026
|
+
background: 'transparent'
|
|
1024
1027
|
}
|
|
1025
1028
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1026
1029
|
className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
|
|
@@ -1034,6 +1037,9 @@ var Login = function Login(props) {
|
|
|
1034
1037
|
var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
|
|
1035
1038
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
1036
1039
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
1040
|
+
},
|
|
1041
|
+
style: {
|
|
1042
|
+
background: 'transparent'
|
|
1037
1043
|
}
|
|
1038
1044
|
}))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1039
1045
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 "
|
|
@@ -13062,6 +13068,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13062
13068
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
13063
13069
|
}
|
|
13064
13070
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
13071
|
+
// if (sectionproperties.overallnumberofcards != 0) {
|
|
13072
|
+
// if (cardinfoindex < sectionproperties.overallnumberofcards) {
|
|
13065
13073
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13066
13074
|
"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 ' : ''
|
|
13067
13075
|
}, /*#__PURE__*/React__default["default"].createElement(Sectioncomp, {
|
|
@@ -13076,7 +13084,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13076
13084
|
fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : '',
|
|
13077
13085
|
numberOfColsvertical: sectionproperties.numberOfColsvertical
|
|
13078
13086
|
}));
|
|
13079
|
-
|
|
13087
|
+
// }
|
|
13088
|
+
}), fetchingtype == 'products' && sectionproperties.showpagination == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13080
13089
|
className: "w-100 col-lg-12 allcentered mt-2"
|
|
13081
13090
|
}, /*#__PURE__*/React__default["default"].createElement(PaginatedItems, {
|
|
13082
13091
|
itemsPerPage: 5
|
|
@@ -13828,9 +13837,19 @@ var Subheader = function Subheader(props) {
|
|
|
13828
13837
|
zIndex: 2000,
|
|
13829
13838
|
position: ((_props$subheaderprope29 = props.subheaderpropertiesprops) === null || _props$subheaderprope29 === void 0 ? void 0 : _props$subheaderprope29.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
|
|
13830
13839
|
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 : '',
|
|
13831
|
-
border:
|
|
13832
|
-
|
|
13833
|
-
|
|
13840
|
+
// border:
|
|
13841
|
+
// sectionproperties.subheader_width != 100
|
|
13842
|
+
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
13843
|
+
// : 0,
|
|
13844
|
+
border: sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor,
|
|
13845
|
+
// borderBottom:
|
|
13846
|
+
// sectionproperties.subheader_width == 100
|
|
13847
|
+
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
13848
|
+
// : 0,
|
|
13849
|
+
// borderTop:
|
|
13850
|
+
// sectionproperties.subheader_width == 100
|
|
13851
|
+
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
13852
|
+
// : 0,
|
|
13834
13853
|
paddingLeft: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingLeft + 'px' : sectionproperties.subheader_dropdown_paddingRight + 'px',
|
|
13835
13854
|
paddingRight: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingRight + 'px' : sectionproperties.subheader_dropdown_paddingLeft + 'px'
|
|
13836
13855
|
}
|
|
@@ -25235,7 +25254,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25235
25254
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
25236
25255
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
25237
25256
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
25238
|
-
props.actions.favoriteprojectscountContext;
|
|
25257
|
+
var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
|
|
25239
25258
|
var routingcountext = props.actions.routingcountext;
|
|
25240
25259
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
25241
25260
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
@@ -25559,7 +25578,10 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25559
25578
|
"class": header_cssstyles.upperheadertext + ' storeinfotext ml-1 mr-1 ',
|
|
25560
25579
|
size: sectionproperties.footerinfotext_fontsize
|
|
25561
25580
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25562
|
-
"class": header_cssstyles.upperheadertext + ' storeinfotext '
|
|
25581
|
+
"class": header_cssstyles.upperheadertext + ' storeinfotext ',
|
|
25582
|
+
style: {
|
|
25583
|
+
textTransform: 'none'
|
|
25584
|
+
}
|
|
25563
25585
|
}, 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__default["default"].createElement("div", {
|
|
25564
25586
|
"class": header_cssstyles.storeinfocontainer + ' d-flex align-items-center justify-content-center '
|
|
25565
25587
|
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
@@ -25668,7 +25690,10 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25668
25690
|
}), sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React__default["default"].createElement(BiGlobe.BiGlobe, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25669
25691
|
"class": 'ml-2 mr-2'
|
|
25670
25692
|
}, lang.english))))))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25671
|
-
"class": "".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ml-3 mr-3 '
|
|
25693
|
+
"class": "".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ml-3 mr-3 ',
|
|
25694
|
+
onClick: function onClick() {
|
|
25695
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
25696
|
+
}
|
|
25672
25697
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25673
25698
|
"class": ' d-flex justify-content-center align-items-center '
|
|
25674
25699
|
}, /*#__PURE__*/React__default["default"].createElement(FiUser.FiUser, {
|
|
@@ -25705,27 +25730,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25705
25730
|
style: {
|
|
25706
25731
|
maxWidth: '150px'
|
|
25707
25732
|
}
|
|
25708
|
-
}, authdetailsContext.customerinfo.name))))),
|
|
25709
|
-
onClick: function onClick() {
|
|
25710
|
-
routingcountext(StaticPagesLinksContext.Login);
|
|
25711
|
-
}
|
|
25712
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25713
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
25714
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
25715
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
25716
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineLogin.AiOutlineLogin, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25717
|
-
"class": "ml-2 mr-2"
|
|
25718
|
-
}, lang.login)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
25719
|
-
onClick: function onClick() {
|
|
25720
|
-
routingcountext(StaticPagesLinksContext.Signup);
|
|
25721
|
-
}
|
|
25722
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25723
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
25724
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
25725
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
25726
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineUserAdd.AiOutlineUserAdd, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25727
|
-
"class": "ml-2 mr-2 text-transform-none"
|
|
25728
|
-
}, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
25733
|
+
}, authdetailsContext.customerinfo.name))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
25729
25734
|
style: {
|
|
25730
25735
|
minWidth: '200px'
|
|
25731
25736
|
}
|
|
@@ -25825,7 +25830,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25825
25830
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : sectionproperties.searchbarcont_borderTopLeftRadius + 'px',
|
|
25826
25831
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px'
|
|
25827
25832
|
}
|
|
25828
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25833
|
+
}, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25829
25834
|
"class": 'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start h-100',
|
|
25830
25835
|
onClick: function onClick() {
|
|
25831
25836
|
setdropdownselect(!dropdownselect);
|
|
@@ -25869,20 +25874,20 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25869
25874
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem text-overflow m-0 p-0 '
|
|
25870
25875
|
}, langdetect == 'en' ? item.title_en : item.title_ar)))), index != authdetailsContext.instinfo.instcollections.length - 1 && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null));
|
|
25871
25876
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25872
|
-
"class":
|
|
25877
|
+
"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'
|
|
25873
25878
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25874
25879
|
"class": ' row m-0 w-100 h-100 ',
|
|
25875
25880
|
style: {
|
|
25876
25881
|
position: 'relative',
|
|
25877
25882
|
backgroundColor: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
|
|
25878
|
-
borderBottomLeftRadius: langdetect == 'ar' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : 0,
|
|
25879
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : 0,
|
|
25880
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : 0,
|
|
25881
|
-
borderTopLeftRadius: langdetect == 'ar' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0
|
|
25883
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'ar' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : sectionproperties.searchbarcont_borderBottomRightRadius + 'px',
|
|
25884
|
+
borderBottomRightRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : sectionproperties.searchbarcont_borderBottomLeftRadius + 'px',
|
|
25885
|
+
borderTopRightRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0,
|
|
25886
|
+
borderTopLeftRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'ar' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px'
|
|
25882
25887
|
}
|
|
25883
25888
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
25884
25889
|
type: "text",
|
|
25885
|
-
placeholder:
|
|
25890
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
25886
25891
|
"class": "".concat(header_cssstyles.searchbarcont_input) + ' h-100 ',
|
|
25887
25892
|
onChange: function onChange(event) {
|
|
25888
25893
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -25894,12 +25899,18 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25894
25899
|
marginLeft: langdetect == 'ar' ? '-0.25rem' : 0,
|
|
25895
25900
|
marginTop: sectionproperties.searchbarcontinput_borderwidth != 0 ? '-0.1rem' : 0
|
|
25896
25901
|
}
|
|
25897
|
-
},
|
|
25902
|
+
}, sectionproperties.showsearchicon == 'Hide' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25903
|
+
"class": "h-100 allcentered"
|
|
25904
|
+
}, lang.search), sectionproperties.showsearchicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25905
|
+
"class": "h-100 allcentered"
|
|
25906
|
+
}, /*#__PURE__*/React__default["default"].createElement(BiSearch.BiSearch, {
|
|
25907
|
+
size: sectionproperties.search_btn_fontSize
|
|
25908
|
+
}))), /*#__PURE__*/React__default["default"].createElement(Searchlist$1, {
|
|
25898
25909
|
sectionpropertiesprops: sectionproperties,
|
|
25899
25910
|
srcfromprops: 'headerfullwidth',
|
|
25900
25911
|
actions: actions
|
|
25901
25912
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25902
|
-
"class": "col-xl-2 col-lg-3 d-flex align-items-center justify-content-
|
|
25913
|
+
"class": "col-xl-2 col-lg-3 d-flex align-items-center justify-content-end p-0"
|
|
25903
25914
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25904
25915
|
"class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
25905
25916
|
onClick: function onClick() {
|
|
@@ -25907,9 +25918,16 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25907
25918
|
},
|
|
25908
25919
|
style: {
|
|
25909
25920
|
marginRight: langdetect == 'en' ? '1rem' : 0,
|
|
25910
|
-
marginLeft: langdetect == 'ar' ? '1rem' : 0
|
|
25921
|
+
marginLeft: langdetect == 'ar' ? '1rem' : 0,
|
|
25922
|
+
position: 'relative'
|
|
25911
25923
|
}
|
|
25912
|
-
}, sectionproperties.
|
|
25924
|
+
}, sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25925
|
+
className: "".concat(headerstyles$5.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center align-items-center ',
|
|
25926
|
+
style: {
|
|
25927
|
+
top: sectionproperties.wishlistbadgetop + 'px',
|
|
25928
|
+
right: sectionproperties.wishlistbadgeright + 'px'
|
|
25929
|
+
}
|
|
25930
|
+
}, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
25913
25931
|
size: sectionproperties.favBtnIconfontsize
|
|
25914
25932
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
25915
25933
|
size: sectionproperties.favBtnIconfontsize
|
|
@@ -45410,6 +45428,8 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
45410
45428
|
|
|
45411
45429
|
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; }
|
|
45412
45430
|
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__default["default"](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; }
|
|
45431
|
+
// import { Swiper, SwiperSlide } from 'swiper/react';
|
|
45432
|
+
// import 'swiper/css';
|
|
45413
45433
|
function CardsArrayOfObjects(_ref) {
|
|
45414
45434
|
_ref.itemId;
|
|
45415
45435
|
var cardItem = _ref.cardItem,
|
|
@@ -47637,6 +47657,20 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
47637
47657
|
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
47638
47658
|
color: sectionproperties.favBtnTextcoloronhover
|
|
47639
47659
|
}
|
|
47660
|
+
}),
|
|
47661
|
+
innercard: glamor.css({
|
|
47662
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
47663
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
47664
|
+
backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
47665
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
47666
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
47667
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
47668
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
47669
|
+
boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcolor,
|
|
47670
|
+
':hover': {
|
|
47671
|
+
transition: '.3s',
|
|
47672
|
+
boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcoloronhover
|
|
47673
|
+
}
|
|
47640
47674
|
})
|
|
47641
47675
|
};
|
|
47642
47676
|
var Buttons = function Buttons() {
|
|
@@ -47750,18 +47784,11 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
47750
47784
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
47751
47785
|
}
|
|
47752
47786
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47753
|
-
"class": ' row ml-0 mr-0 w-100 '
|
|
47787
|
+
"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 ',
|
|
47788
|
+
style: {}
|
|
47754
47789
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47755
|
-
"class":
|
|
47756
|
-
style: {
|
|
47757
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
47758
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
47759
|
-
backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
47760
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
47761
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
47762
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
47763
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
|
|
47764
|
-
}
|
|
47790
|
+
"class": card_cssstyles.innercard + ' col-lg-12 pl-0 pr-0 h-100 ',
|
|
47791
|
+
style: {}
|
|
47765
47792
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47766
47793
|
"class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center cursor-pointer",
|
|
47767
47794
|
style: {
|
|
@@ -54012,7 +54039,7 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
54012
54039
|
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; }
|
|
54013
54040
|
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__default["default"](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; }
|
|
54014
54041
|
var ModernProductCard = function ModernProductCard(props) {
|
|
54015
|
-
var _css
|
|
54042
|
+
var _css;
|
|
54016
54043
|
var _useState = React.useState(''),
|
|
54017
54044
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
54018
54045
|
sectionproperties = _useState2[0],
|
|
@@ -54025,15 +54052,15 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54025
54052
|
props.actions.lang;
|
|
54026
54053
|
var langdetect = props.actions.langdetect;
|
|
54027
54054
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
54028
|
-
props.actions.addtofavoritescontext;
|
|
54055
|
+
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
54029
54056
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
54030
54057
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
54031
|
-
props.actions.AddtoCartMutationContext;
|
|
54058
|
+
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
54032
54059
|
props.actions.StaticPagesLinksContext;
|
|
54033
54060
|
props.actions.routingcountext;
|
|
54034
54061
|
var NotificationManager = NotificationManager;
|
|
54035
54062
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
54036
|
-
props.actions.ikimagecredcontext;
|
|
54063
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
54037
54064
|
var updatequantity = function updatequantity(type) {
|
|
54038
54065
|
var tempitem = _objectSpread$g({}, item);
|
|
54039
54066
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
@@ -54099,6 +54126,62 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54099
54126
|
AddtoCartContext(addtocardpayloadobj);
|
|
54100
54127
|
}
|
|
54101
54128
|
};
|
|
54129
|
+
var addtocartbuttonrender = function addtocartbuttonrender() {
|
|
54130
|
+
if (AddtoCartMutationContext.isLoading) {
|
|
54131
|
+
var _AddtoCartMutationCon;
|
|
54132
|
+
if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 ? void 0 : (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
|
|
54133
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54134
|
+
"class": ' d-flex align-items-center justify-content-center '
|
|
54135
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
54136
|
+
color: sectionproperties.cart_iconcolor,
|
|
54137
|
+
width: "20px",
|
|
54138
|
+
height: "20px",
|
|
54139
|
+
duration: "1s"
|
|
54140
|
+
}));
|
|
54141
|
+
} else {
|
|
54142
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54143
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
54144
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
54145
|
+
"class": "",
|
|
54146
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54147
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
54148
|
+
"class": "",
|
|
54149
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54150
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
54151
|
+
"class": "",
|
|
54152
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54153
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
54154
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54155
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
54156
|
+
"class": "",
|
|
54157
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54158
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
54159
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54160
|
+
}));
|
|
54161
|
+
}
|
|
54162
|
+
}
|
|
54163
|
+
if (!AddtoCartMutationContext.isLoading) {
|
|
54164
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54165
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
54166
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
54167
|
+
"class": "",
|
|
54168
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54169
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
54170
|
+
"class": "",
|
|
54171
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54172
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
54173
|
+
"class": "",
|
|
54174
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54175
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
54176
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54177
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
54178
|
+
"class": "",
|
|
54179
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54180
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
54181
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54182
|
+
}));
|
|
54183
|
+
}
|
|
54184
|
+
};
|
|
54102
54185
|
var card_cssstyles = {
|
|
54103
54186
|
productcard: glamor.css({
|
|
54104
54187
|
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
@@ -54187,11 +54270,25 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54187
54270
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
54188
54271
|
}
|
|
54189
54272
|
}),
|
|
54190
|
-
quantitybtn: glamor.css(
|
|
54191
|
-
flex: 1,
|
|
54273
|
+
quantitybtn: glamor.css({
|
|
54274
|
+
// flex: 1,
|
|
54192
54275
|
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
54193
|
-
height: sectionproperties.quantitybtn_height + 'px'
|
|
54194
|
-
|
|
54276
|
+
height: sectionproperties.quantitybtn_height + 'px',
|
|
54277
|
+
width: sectionproperties.quantitybtn_width + 'px',
|
|
54278
|
+
maxWidth: '100%',
|
|
54279
|
+
display: 'flex',
|
|
54280
|
+
flexDirection: 'row',
|
|
54281
|
+
overflow: 'hidden',
|
|
54282
|
+
borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
|
|
54283
|
+
background: sectionproperties.quantitybtn_bgcolor,
|
|
54284
|
+
alignItems: 'center',
|
|
54285
|
+
justifyContent: 'center',
|
|
54286
|
+
margin: 0,
|
|
54287
|
+
position: 'relative',
|
|
54288
|
+
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
54289
|
+
color: sectionproperties.quantitybtn_textcolor,
|
|
54290
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px'
|
|
54291
|
+
}),
|
|
54195
54292
|
quantitybtn_text: glamor.css({
|
|
54196
54293
|
margin: 'auto'
|
|
54197
54294
|
}),
|
|
@@ -54203,37 +54300,46 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54203
54300
|
display: 'flex',
|
|
54204
54301
|
alignItems: 'center',
|
|
54205
54302
|
justifyContent: 'center',
|
|
54206
|
-
|
|
54303
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
54304
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
54305
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
54306
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
54207
54307
|
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
54208
54308
|
color: sectionproperties.add_quantitybtn_textcolor,
|
|
54209
54309
|
transition: '.3s',
|
|
54210
54310
|
':hover': {
|
|
54211
54311
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
54212
54312
|
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
54313
|
+
},
|
|
54314
|
+
':hover .addbtn': {
|
|
54315
|
+
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
54316
|
+
transition: '.3s'
|
|
54213
54317
|
}
|
|
54214
54318
|
}),
|
|
54215
54319
|
minus_quantitybtn_icon_container: glamor.css({
|
|
54216
54320
|
position: 'relative',
|
|
54217
|
-
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
54218
|
-
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
54219
|
-
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
54220
54321
|
display: 'flex',
|
|
54221
54322
|
alignItems: 'center',
|
|
54222
54323
|
justifyContent: 'center',
|
|
54223
|
-
|
|
54324
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
54325
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
54326
|
+
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
54224
54327
|
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
|
|
54225
54328
|
color: sectionproperties.remove_quantitybtn_textcolor,
|
|
54329
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
54330
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
54331
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
54332
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
54226
54333
|
transition: '.3s',
|
|
54227
54334
|
':hover': {
|
|
54228
54335
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
54229
54336
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
54337
|
+
},
|
|
54338
|
+
':hover .minusbtn': {
|
|
54339
|
+
transition: '.3s',
|
|
54340
|
+
color: sectionproperties.remove_quantitybtn_textcoloronhover
|
|
54230
54341
|
}
|
|
54231
54342
|
}),
|
|
54232
|
-
producttotalstyles: glamor.css({
|
|
54233
|
-
color: sectionproperties.total_color,
|
|
54234
|
-
fontSize: sectionproperties.total_fontsize + 'px',
|
|
54235
|
-
fontWeight: 500
|
|
54236
|
-
}),
|
|
54237
54343
|
productDescStyles: glamor.css({
|
|
54238
54344
|
color: sectionproperties.prodCatColor,
|
|
54239
54345
|
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
@@ -54243,8 +54349,99 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54243
54349
|
marginLeft: sectionproperties.description_marginLeft + 'px',
|
|
54244
54350
|
marginRight: sectionproperties.description_marginRight + 'px',
|
|
54245
54351
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
54352
|
+
}),
|
|
54353
|
+
quantity: glamor.css({
|
|
54354
|
+
color: sectionproperties.quantitycolor,
|
|
54355
|
+
fontSize: sectionproperties.quantityfontsize + 'px',
|
|
54356
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
54246
54357
|
})
|
|
54247
54358
|
};
|
|
54359
|
+
var ImageContent = function ImageContent() {
|
|
54360
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54361
|
+
"class": "w-100 allcentered"
|
|
54362
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
54363
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
54364
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
54365
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
54366
|
+
loading: "lazy",
|
|
54367
|
+
style: {
|
|
54368
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
54369
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
54370
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
54371
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
54372
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
54373
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
54374
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
54375
|
+
}
|
|
54376
|
+
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54377
|
+
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
54378
|
+
onClick: function onClick(e) {
|
|
54379
|
+
e.stopPropagation();
|
|
54380
|
+
addtofavoritescontext(item.productid);
|
|
54381
|
+
},
|
|
54382
|
+
style: {
|
|
54383
|
+
position: 'absolute',
|
|
54384
|
+
top: 10,
|
|
54385
|
+
right: langdetect == 'en' ? 10 : 0,
|
|
54386
|
+
left: langdetect == 'en' ? 0 : 10,
|
|
54387
|
+
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
54388
|
+
}
|
|
54389
|
+
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54390
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54391
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
54392
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
54393
|
+
style: {
|
|
54394
|
+
color: sectionproperties.activefaviconcolor
|
|
54395
|
+
}
|
|
54396
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
|
|
54397
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
54398
|
+
style: {
|
|
54399
|
+
color: sectionproperties.activefaviconcolor
|
|
54400
|
+
}
|
|
54401
|
+
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54402
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54403
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
54404
|
+
size: sectionproperties.favBtnIconfontsize
|
|
54405
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
54406
|
+
size: sectionproperties.favBtnIconfontsize
|
|
54407
|
+
}))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54408
|
+
"class": "allcentered",
|
|
54409
|
+
style: {
|
|
54410
|
+
position: 'absolute',
|
|
54411
|
+
top: sectionproperties.badge_top + 'px',
|
|
54412
|
+
right: sectionproperties.badge_right + 'px',
|
|
54413
|
+
width: sectionproperties.badge_width + 'px',
|
|
54414
|
+
height: sectionproperties.badge_height + 'px',
|
|
54415
|
+
background: sectionproperties.badge_bgcolor,
|
|
54416
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
54417
|
+
border: sectionproperties.badgeborderwidth + 'px solid ' + sectionproperties.badge_color
|
|
54418
|
+
}
|
|
54419
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54420
|
+
"class": "m-0 p-0",
|
|
54421
|
+
style: {
|
|
54422
|
+
color: sectionproperties.badge_color,
|
|
54423
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
54424
|
+
}
|
|
54425
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54426
|
+
"class": "allcentered",
|
|
54427
|
+
style: {
|
|
54428
|
+
position: 'absolute',
|
|
54429
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
54430
|
+
right: sectionproperties.pillpositionfromright + 'px',
|
|
54431
|
+
width: sectionproperties.pillwidth + 'px',
|
|
54432
|
+
height: sectionproperties.pillheight + 'px',
|
|
54433
|
+
background: sectionproperties.pillbgcolor,
|
|
54434
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
54435
|
+
}
|
|
54436
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54437
|
+
"class": "m-0 p-0",
|
|
54438
|
+
style: {
|
|
54439
|
+
color: sectionproperties.pillcolor,
|
|
54440
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
54441
|
+
direction: 'ltr'
|
|
54442
|
+
}
|
|
54443
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')));
|
|
54444
|
+
};
|
|
54248
54445
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54249
54446
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
|
|
54250
54447
|
style: {
|
|
@@ -54258,7 +54455,27 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54258
54455
|
// }}
|
|
54259
54456
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54260
54457
|
"class": "".concat(card_cssstyles.innerproductcard) + ' w-100 '
|
|
54261
|
-
}, /*#__PURE__*/React__default["default"].createElement("div",
|
|
54458
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54459
|
+
onClick: function onClick() {
|
|
54460
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54461
|
+
},
|
|
54462
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-flex d-md-none w-100 ',
|
|
54463
|
+
style: {
|
|
54464
|
+
position: 'relative',
|
|
54465
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
54466
|
+
height: sectionproperties.image_height + 'px'
|
|
54467
|
+
}
|
|
54468
|
+
}, ImageContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54469
|
+
onClick: function onClick() {
|
|
54470
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54471
|
+
},
|
|
54472
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-none d-md-flex ',
|
|
54473
|
+
style: {
|
|
54474
|
+
position: 'relative',
|
|
54475
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
54476
|
+
height: sectionproperties.height_responsive + 'px'
|
|
54477
|
+
}
|
|
54478
|
+
}, ImageContent()), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54262
54479
|
"class": "row m-0 w-100"
|
|
54263
54480
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54264
54481
|
onClick: function onClick() {
|
|
@@ -54275,7 +54492,11 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54275
54492
|
style: {
|
|
54276
54493
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
54277
54494
|
}
|
|
54278
|
-
}, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54495
|
+
}, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), sectionproperties.quantityshow == 'Show' && item.measurmentunit != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54496
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
54497
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54498
|
+
"class": "".concat(card_cssstyles.quantity) + ' m-0 '
|
|
54499
|
+
}, item.measurmentunit)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54279
54500
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
|
|
54280
54501
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54281
54502
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
@@ -54295,23 +54516,24 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54295
54516
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54296
54517
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
54297
54518
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54298
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + '
|
|
54299
|
-
style: {
|
|
54300
|
-
transform: ' rotate(-180deg)'
|
|
54301
|
-
},
|
|
54519
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
|
|
54302
54520
|
onClick: function onClick() {
|
|
54303
54521
|
updatequantity('remove');
|
|
54304
54522
|
}
|
|
54305
54523
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54306
|
-
"class": "
|
|
54307
|
-
}
|
|
54308
|
-
|
|
54524
|
+
"class": "h-100 allcentered"
|
|
54525
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMinus.AiOutlineMinus, {
|
|
54526
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
54527
|
+
}))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54528
|
+
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' ',
|
|
54309
54529
|
onClick: function onClick() {
|
|
54310
54530
|
updatequantity('add');
|
|
54311
54531
|
}
|
|
54312
54532
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54313
|
-
"class": "
|
|
54314
|
-
}
|
|
54533
|
+
"class": "h-100 allcentered"
|
|
54534
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlinePlus.AiOutlinePlus, {
|
|
54535
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
54536
|
+
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54315
54537
|
"class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
54316
54538
|
style: {
|
|
54317
54539
|
background: sectionproperties.quantbtntextbgcolor,
|
|
@@ -54320,7 +54542,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54320
54542
|
borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
|
|
54321
54543
|
}
|
|
54322
54544
|
}, item.quantity), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54323
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + '
|
|
54545
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
|
|
54324
54546
|
style: {
|
|
54325
54547
|
transform: ' rotate(-180deg)'
|
|
54326
54548
|
},
|
|
@@ -54328,15 +54550,19 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54328
54550
|
updatequantity('remove');
|
|
54329
54551
|
}
|
|
54330
54552
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54331
|
-
"class": "
|
|
54332
|
-
}
|
|
54333
|
-
|
|
54553
|
+
"class": "h-100 allcentered"
|
|
54554
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMinus.AiOutlineMinus, {
|
|
54555
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
54556
|
+
}))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54557
|
+
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' ',
|
|
54334
54558
|
onClick: function onClick() {
|
|
54335
54559
|
updatequantity('add');
|
|
54336
54560
|
}
|
|
54337
54561
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54338
|
-
"class": "
|
|
54339
|
-
}
|
|
54562
|
+
"class": "h-100 allcentered"
|
|
54563
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlinePlus.AiOutlinePlus, {
|
|
54564
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
54565
|
+
})))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54340
54566
|
"class": "col-lg-6 col-md-4 col-sm-4 d-flex align-items-center justify-content-end p-0"
|
|
54341
54567
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54342
54568
|
"class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
@@ -54347,26 +54573,9 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54347
54573
|
setShowProductInfoModalContext(true);
|
|
54348
54574
|
setProductIdProdutInfoModalContext(item.productid);
|
|
54349
54575
|
}
|
|
54350
|
-
}
|
|
54351
|
-
|
|
54352
|
-
|
|
54353
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
54354
|
-
"class": "",
|
|
54355
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54356
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
54357
|
-
"class": "",
|
|
54358
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54359
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
54360
|
-
"class": "",
|
|
54361
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54362
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
54363
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54364
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
54365
|
-
"class": "",
|
|
54366
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54367
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
54368
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54369
|
-
})))))))));
|
|
54576
|
+
},
|
|
54577
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
54578
|
+
}, addtocartbuttonrender())))))));
|
|
54370
54579
|
};
|
|
54371
54580
|
|
|
54372
54581
|
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}";
|