tabexseriescomponents 0.0.284 → 0.0.287
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +341 -180
- package/dist/index.esm.js +341 -180
- package/dist/index.umd.js +341 -180
- 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 "
|
|
@@ -13034,7 +13040,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13034
13040
|
item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? 'scrollmenuclassnameitemProductccard_with_imageontopleft' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_zoominonhover' ? 'scrollmenuclassnameitemProductcard_with_zoominonhover' : item.tabexsectioninfo.sectioncompname == 'Horizontalcard' ? 'scrollmenuclassnameitemProductcard_Horizontalcard' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_fullimage' :
|
|
13035
13041
|
// : item.tabexsectioninfo.sectioncompname == 'Classiccategorycard'
|
|
13036
13042
|
// ? 'scrollmenuclassnameitemClassiccategorycard'
|
|
13037
|
-
item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
13043
|
+
// item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
13044
|
+
// ? 'scrollmenuclassnameitemModernProductCard'
|
|
13038
13045
|
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
13039
13046
|
// ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
|
|
13040
13047
|
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' : item.tabexsectioninfo.sectioncompname == 'Card23' ? 'scrollmenuclassnameitemCard23' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton' ? 'scrollmenuclassnameitemModernCardWithQuantityButton' : item.tabexsectioninfo.sectioncompname == 'CategoryCardwithhoveraction' ? 'scrollmenuclassnameitemCategoryCardwithhoveraction' : item.tabexsectioninfo.sectioncompname == 'CircleCardWithVariants' ? 'scrollmenuclassnameitemCircleCardWithVariants' :
|
|
@@ -13061,6 +13068,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13061
13068
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
13062
13069
|
}
|
|
13063
13070
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
13071
|
+
// if (sectionproperties.overallnumberofcards != 0) {
|
|
13072
|
+
// if (cardinfoindex < sectionproperties.overallnumberofcards) {
|
|
13064
13073
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13065
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 ' : ''
|
|
13066
13075
|
}, /*#__PURE__*/React__default["default"].createElement(Sectioncomp, {
|
|
@@ -13075,7 +13084,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13075
13084
|
fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : '',
|
|
13076
13085
|
numberOfColsvertical: sectionproperties.numberOfColsvertical
|
|
13077
13086
|
}));
|
|
13078
|
-
|
|
13087
|
+
// }
|
|
13088
|
+
}), fetchingtype == 'products' && sectionproperties.showpagination == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13079
13089
|
className: "w-100 col-lg-12 allcentered mt-2"
|
|
13080
13090
|
}, /*#__PURE__*/React__default["default"].createElement(PaginatedItems, {
|
|
13081
13091
|
itemsPerPage: 5
|
|
@@ -13827,9 +13837,19 @@ var Subheader = function Subheader(props) {
|
|
|
13827
13837
|
zIndex: 2000,
|
|
13828
13838
|
position: ((_props$subheaderprope29 = props.subheaderpropertiesprops) === null || _props$subheaderprope29 === void 0 ? void 0 : _props$subheaderprope29.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
|
|
13829
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 : '',
|
|
13830
|
-
border:
|
|
13831
|
-
|
|
13832
|
-
|
|
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,
|
|
13833
13853
|
paddingLeft: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingLeft + 'px' : sectionproperties.subheader_dropdown_paddingRight + 'px',
|
|
13834
13854
|
paddingRight: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingRight + 'px' : sectionproperties.subheader_dropdown_paddingLeft + 'px'
|
|
13835
13855
|
}
|
|
@@ -25234,7 +25254,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25234
25254
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
25235
25255
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
25236
25256
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
25237
|
-
props.actions.favoriteprojectscountContext;
|
|
25257
|
+
var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
|
|
25238
25258
|
var routingcountext = props.actions.routingcountext;
|
|
25239
25259
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
25240
25260
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
@@ -25558,7 +25578,10 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25558
25578
|
"class": header_cssstyles.upperheadertext + ' storeinfotext ml-1 mr-1 ',
|
|
25559
25579
|
size: sectionproperties.footerinfotext_fontsize
|
|
25560
25580
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25561
|
-
"class": header_cssstyles.upperheadertext + ' storeinfotext '
|
|
25581
|
+
"class": header_cssstyles.upperheadertext + ' storeinfotext ',
|
|
25582
|
+
style: {
|
|
25583
|
+
textTransform: 'none'
|
|
25584
|
+
}
|
|
25562
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", {
|
|
25563
25586
|
"class": header_cssstyles.storeinfocontainer + ' d-flex align-items-center justify-content-center '
|
|
25564
25587
|
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
@@ -25667,7 +25690,10 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25667
25690
|
}), sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React__default["default"].createElement(BiGlobe.BiGlobe, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25668
25691
|
"class": 'ml-2 mr-2'
|
|
25669
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", {
|
|
25670
|
-
"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
|
+
}
|
|
25671
25697
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25672
25698
|
"class": ' d-flex justify-content-center align-items-center '
|
|
25673
25699
|
}, /*#__PURE__*/React__default["default"].createElement(FiUser.FiUser, {
|
|
@@ -25704,27 +25730,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25704
25730
|
style: {
|
|
25705
25731
|
maxWidth: '150px'
|
|
25706
25732
|
}
|
|
25707
|
-
}, authdetailsContext.customerinfo.name))))),
|
|
25708
|
-
onClick: function onClick() {
|
|
25709
|
-
routingcountext(StaticPagesLinksContext.Login);
|
|
25710
|
-
}
|
|
25711
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25712
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
25713
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
25714
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
25715
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineLogin.AiOutlineLogin, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25716
|
-
"class": "ml-2 mr-2"
|
|
25717
|
-
}, lang.login)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
25718
|
-
onClick: function onClick() {
|
|
25719
|
-
routingcountext(StaticPagesLinksContext.Signup);
|
|
25720
|
-
}
|
|
25721
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25722
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
25723
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
25724
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
25725
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineUserAdd.AiOutlineUserAdd, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25726
|
-
"class": "ml-2 mr-2 text-transform-none"
|
|
25727
|
-
}, 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, {
|
|
25728
25734
|
style: {
|
|
25729
25735
|
minWidth: '200px'
|
|
25730
25736
|
}
|
|
@@ -25824,7 +25830,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25824
25830
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : sectionproperties.searchbarcont_borderTopLeftRadius + 'px',
|
|
25825
25831
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px'
|
|
25826
25832
|
}
|
|
25827
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25833
|
+
}, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25828
25834
|
"class": 'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start h-100',
|
|
25829
25835
|
onClick: function onClick() {
|
|
25830
25836
|
setdropdownselect(!dropdownselect);
|
|
@@ -25868,20 +25874,20 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25868
25874
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem text-overflow m-0 p-0 '
|
|
25869
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));
|
|
25870
25876
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25871
|
-
"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'
|
|
25872
25878
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25873
25879
|
"class": ' row m-0 w-100 h-100 ',
|
|
25874
25880
|
style: {
|
|
25875
25881
|
position: 'relative',
|
|
25876
25882
|
backgroundColor: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
|
|
25877
|
-
borderBottomLeftRadius: langdetect == 'ar' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : 0,
|
|
25878
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : 0,
|
|
25879
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : 0,
|
|
25880
|
-
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'
|
|
25881
25887
|
}
|
|
25882
25888
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
25883
25889
|
type: "text",
|
|
25884
|
-
placeholder:
|
|
25890
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
25885
25891
|
"class": "".concat(header_cssstyles.searchbarcont_input) + ' h-100 ',
|
|
25886
25892
|
onChange: function onChange(event) {
|
|
25887
25893
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -25893,12 +25899,18 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25893
25899
|
marginLeft: langdetect == 'ar' ? '-0.25rem' : 0,
|
|
25894
25900
|
marginTop: sectionproperties.searchbarcontinput_borderwidth != 0 ? '-0.1rem' : 0
|
|
25895
25901
|
}
|
|
25896
|
-
},
|
|
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, {
|
|
25897
25909
|
sectionpropertiesprops: sectionproperties,
|
|
25898
25910
|
srcfromprops: 'headerfullwidth',
|
|
25899
25911
|
actions: actions
|
|
25900
25912
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25901
|
-
"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"
|
|
25902
25914
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25903
25915
|
"class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
25904
25916
|
onClick: function onClick() {
|
|
@@ -25906,9 +25918,16 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25906
25918
|
},
|
|
25907
25919
|
style: {
|
|
25908
25920
|
marginRight: langdetect == 'en' ? '1rem' : 0,
|
|
25909
|
-
marginLeft: langdetect == 'ar' ? '1rem' : 0
|
|
25921
|
+
marginLeft: langdetect == 'ar' ? '1rem' : 0,
|
|
25922
|
+
position: 'relative'
|
|
25910
25923
|
}
|
|
25911
|
-
}, 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, {
|
|
25912
25931
|
size: sectionproperties.favBtnIconfontsize
|
|
25913
25932
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
25914
25933
|
size: sectionproperties.favBtnIconfontsize
|
|
@@ -41986,6 +42005,8 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
41986
42005
|
style: {
|
|
41987
42006
|
display: sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0 ? 'none' : 'flex'
|
|
41988
42007
|
}
|
|
42008
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42009
|
+
"class": "row m-0 w-100"
|
|
41989
42010
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41990
42011
|
"class": ' col-lg-12 p-0 d-flex d-md-none align-items-center ',
|
|
41991
42012
|
style: {
|
|
@@ -42031,7 +42052,7 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
42031
42052
|
dangerouslySetInnerHTML: {
|
|
42032
42053
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
42033
42054
|
}
|
|
42034
|
-
})));
|
|
42055
|
+
}))));
|
|
42035
42056
|
};
|
|
42036
42057
|
var Video = function Video() {
|
|
42037
42058
|
var _Videosarrayofobjs$;
|
|
@@ -45407,6 +45428,8 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
45407
45428
|
|
|
45408
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; }
|
|
45409
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';
|
|
45410
45433
|
function CardsArrayOfObjects(_ref) {
|
|
45411
45434
|
_ref.itemId;
|
|
45412
45435
|
var cardItem = _ref.cardItem,
|
|
@@ -47634,6 +47657,20 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
47634
47657
|
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
47635
47658
|
color: sectionproperties.favBtnTextcoloronhover
|
|
47636
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
|
+
}
|
|
47637
47674
|
})
|
|
47638
47675
|
};
|
|
47639
47676
|
var Buttons = function Buttons() {
|
|
@@ -47747,18 +47784,11 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
47747
47784
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
47748
47785
|
}
|
|
47749
47786
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47750
|
-
"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: {}
|
|
47751
47789
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47752
|
-
"class":
|
|
47753
|
-
style: {
|
|
47754
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
47755
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
47756
|
-
backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
47757
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
47758
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
47759
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
47760
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
|
|
47761
|
-
}
|
|
47790
|
+
"class": card_cssstyles.innercard + ' col-lg-12 pl-0 pr-0 h-100 ',
|
|
47791
|
+
style: {}
|
|
47762
47792
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47763
47793
|
"class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center cursor-pointer",
|
|
47764
47794
|
style: {
|
|
@@ -54025,7 +54055,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54025
54055
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
54026
54056
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
54027
54057
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
54028
|
-
props.actions.AddtoCartMutationContext;
|
|
54058
|
+
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
54029
54059
|
props.actions.StaticPagesLinksContext;
|
|
54030
54060
|
props.actions.routingcountext;
|
|
54031
54061
|
var NotificationManager = NotificationManager;
|
|
@@ -54096,9 +54126,74 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54096
54126
|
AddtoCartContext(addtocardpayloadobj);
|
|
54097
54127
|
}
|
|
54098
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
|
+
};
|
|
54099
54185
|
var card_cssstyles = {
|
|
54100
54186
|
productcard: glamor.css({
|
|
54187
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
54188
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
54189
|
+
'@media (max-width: 800px)': {
|
|
54190
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
54191
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
54192
|
+
}
|
|
54193
|
+
}),
|
|
54194
|
+
innerproductcard: glamor.css((_css = {
|
|
54101
54195
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
54196
|
+
opacity: sectionproperties.cardbg_opacity,
|
|
54102
54197
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
54103
54198
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
54104
54199
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
@@ -54109,13 +54204,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54109
54204
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
54110
54205
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
54111
54206
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
54207
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
54112
54208
|
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
54113
|
-
|
|
54114
|
-
|
|
54115
|
-
|
|
54116
|
-
|
|
54117
|
-
|
|
54118
|
-
|
|
54209
|
+
color: sectionproperties.prodNameColor
|
|
54210
|
+
}, _defineProperty__default["default"](_css, "opacity", sectionproperties.cardbg_opacity), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, ':hover', _defineProperty__default["default"]({
|
|
54211
|
+
opacity: sectionproperties.bgopacityonhover,
|
|
54212
|
+
color: sectionproperties.prodNameColorOnHover
|
|
54213
|
+
}, "opacity", sectionproperties.bgopacityonhover)), _defineProperty__default["default"](_css, ':hover .buttoncont', {
|
|
54214
|
+
bottom: '30%',
|
|
54215
|
+
opacity: 1
|
|
54216
|
+
}), _css)),
|
|
54119
54217
|
productcardimagecont: glamor.css({
|
|
54120
54218
|
position: 'relative',
|
|
54121
54219
|
overflow: 'hidden',
|
|
@@ -54172,11 +54270,25 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54172
54270
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
54173
54271
|
}
|
|
54174
54272
|
}),
|
|
54175
|
-
quantitybtn: glamor.css(
|
|
54176
|
-
flex: 1,
|
|
54273
|
+
quantitybtn: glamor.css({
|
|
54274
|
+
// flex: 1,
|
|
54177
54275
|
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
54178
|
-
height: sectionproperties.quantitybtn_height + 'px'
|
|
54179
|
-
|
|
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
|
+
}),
|
|
54180
54292
|
quantitybtn_text: glamor.css({
|
|
54181
54293
|
margin: 'auto'
|
|
54182
54294
|
}),
|
|
@@ -54188,37 +54300,46 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54188
54300
|
display: 'flex',
|
|
54189
54301
|
alignItems: 'center',
|
|
54190
54302
|
justifyContent: 'center',
|
|
54191
|
-
|
|
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',
|
|
54192
54307
|
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
54193
54308
|
color: sectionproperties.add_quantitybtn_textcolor,
|
|
54194
54309
|
transition: '.3s',
|
|
54195
54310
|
':hover': {
|
|
54196
54311
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
54197
54312
|
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
54313
|
+
},
|
|
54314
|
+
':hover .addbtn': {
|
|
54315
|
+
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
54316
|
+
transition: '.3s'
|
|
54198
54317
|
}
|
|
54199
54318
|
}),
|
|
54200
54319
|
minus_quantitybtn_icon_container: glamor.css({
|
|
54201
54320
|
position: 'relative',
|
|
54202
|
-
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
54203
|
-
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
54204
|
-
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
54205
54321
|
display: 'flex',
|
|
54206
54322
|
alignItems: 'center',
|
|
54207
54323
|
justifyContent: 'center',
|
|
54208
|
-
|
|
54324
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
54325
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
54326
|
+
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
54209
54327
|
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
|
|
54210
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',
|
|
54211
54333
|
transition: '.3s',
|
|
54212
54334
|
':hover': {
|
|
54213
54335
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
54214
54336
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
54337
|
+
},
|
|
54338
|
+
':hover .minusbtn': {
|
|
54339
|
+
transition: '.3s',
|
|
54340
|
+
color: sectionproperties.remove_quantitybtn_textcoloronhover
|
|
54215
54341
|
}
|
|
54216
54342
|
}),
|
|
54217
|
-
producttotalstyles: glamor.css({
|
|
54218
|
-
color: sectionproperties.total_color,
|
|
54219
|
-
fontSize: sectionproperties.total_fontsize + 'px',
|
|
54220
|
-
fontWeight: 500
|
|
54221
|
-
}),
|
|
54222
54343
|
productDescStyles: glamor.css({
|
|
54223
54344
|
color: sectionproperties.prodCatColor,
|
|
54224
54345
|
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
@@ -54228,85 +54349,133 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54228
54349
|
marginLeft: sectionproperties.description_marginLeft + 'px',
|
|
54229
54350
|
marginRight: sectionproperties.description_marginRight + 'px',
|
|
54230
54351
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
54352
|
+
}),
|
|
54353
|
+
quantity: glamor.css({
|
|
54354
|
+
color: sectionproperties.quantitycolor,
|
|
54355
|
+
fontSize: sectionproperties.quantityfontsize + 'px',
|
|
54356
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
54231
54357
|
})
|
|
54232
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
|
+
};
|
|
54233
54445
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54234
|
-
"class": "
|
|
54446
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
|
|
54235
54447
|
style: {
|
|
54236
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.
|
|
54237
|
-
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.
|
|
54448
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
54449
|
+
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
54238
54450
|
}
|
|
54451
|
+
// class="row m-0 w-100"
|
|
54452
|
+
// style={{
|
|
54453
|
+
// paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
54454
|
+
// paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginRight + 'px',
|
|
54455
|
+
// }}
|
|
54239
54456
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54240
|
-
"class": "".concat(card_cssstyles.
|
|
54457
|
+
"class": "".concat(card_cssstyles.innerproductcard) + ' w-100 '
|
|
54241
54458
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54242
54459
|
onClick: function onClick() {
|
|
54243
54460
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54244
54461
|
},
|
|
54245
|
-
"class": "".concat(card_cssstyles.productcardimagecont) + '
|
|
54462
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-flex d-md-none w-100 ',
|
|
54246
54463
|
style: {
|
|
54464
|
+
position: 'relative',
|
|
54247
54465
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
54248
|
-
|
|
54249
|
-
}
|
|
54250
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
54251
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
54252
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
54253
|
-
path: item.image,
|
|
54254
|
-
loading: "lazy",
|
|
54255
|
-
style: {
|
|
54256
|
-
width: '100%',
|
|
54257
|
-
height: '100%',
|
|
54258
|
-
objectFit: 'contain'
|
|
54466
|
+
height: sectionproperties.image_height + 'px'
|
|
54259
54467
|
}
|
|
54260
|
-
}),
|
|
54261
|
-
|
|
54262
|
-
|
|
54263
|
-
e.stopPropagation();
|
|
54264
|
-
addtofavoritescontext(item.productid);
|
|
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);
|
|
54265
54471
|
},
|
|
54472
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-none d-md-flex ',
|
|
54266
54473
|
style: {
|
|
54267
|
-
position: '
|
|
54268
|
-
|
|
54269
|
-
|
|
54270
|
-
left: langdetect == 'en' ? 0 : 10,
|
|
54271
|
-
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
54272
|
-
}
|
|
54273
|
-
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54274
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54275
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
54276
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54277
|
-
style: {
|
|
54278
|
-
color: sectionproperties.activefaviconcolor
|
|
54279
|
-
}
|
|
54280
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
|
|
54281
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54282
|
-
style: {
|
|
54283
|
-
color: sectionproperties.activefaviconcolor
|
|
54284
|
-
}
|
|
54285
|
-
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54286
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54287
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
54288
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54289
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
54290
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54291
|
-
}))), sectionproperties.prodsalePriceshow == 'Show' && (item === null || item === void 0 ? void 0 : item.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54292
|
-
"class": "allcentered",
|
|
54293
|
-
style: {
|
|
54294
|
-
position: 'absolute',
|
|
54295
|
-
top: 10,
|
|
54296
|
-
right: langdetect == 'en' ? 10 : '',
|
|
54297
|
-
left: langdetect == 'en' ? '' : 10,
|
|
54298
|
-
width: sectionproperties.badge_width + 'px',
|
|
54299
|
-
height: sectionproperties.badge_height + 'px',
|
|
54300
|
-
background: sectionproperties.badge_bgcolor,
|
|
54301
|
-
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
54302
|
-
}
|
|
54303
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54304
|
-
"class": "m-0 p-0",
|
|
54305
|
-
style: {
|
|
54306
|
-
color: sectionproperties.badge_color,
|
|
54307
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
54474
|
+
position: 'relative',
|
|
54475
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
54476
|
+
height: sectionproperties.height_responsive + 'px'
|
|
54308
54477
|
}
|
|
54309
|
-
},
|
|
54478
|
+
}, ImageContent()), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54310
54479
|
"class": "row m-0 w-100"
|
|
54311
54480
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54312
54481
|
onClick: function onClick() {
|
|
@@ -54323,7 +54492,11 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54323
54492
|
style: {
|
|
54324
54493
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
54325
54494
|
}
|
|
54326
|
-
}, 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", {
|
|
54327
54500
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
|
|
54328
54501
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54329
54502
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
@@ -54343,23 +54516,24 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54343
54516
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54344
54517
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
54345
54518
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54346
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + '
|
|
54347
|
-
style: {
|
|
54348
|
-
transform: ' rotate(-180deg)'
|
|
54349
|
-
},
|
|
54519
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
|
|
54350
54520
|
onClick: function onClick() {
|
|
54351
54521
|
updatequantity('remove');
|
|
54352
54522
|
}
|
|
54353
54523
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54354
|
-
"class": "
|
|
54355
|
-
}
|
|
54356
|
-
|
|
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) + ' ',
|
|
54357
54529
|
onClick: function onClick() {
|
|
54358
54530
|
updatequantity('add');
|
|
54359
54531
|
}
|
|
54360
54532
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54361
|
-
"class": "
|
|
54362
|
-
}
|
|
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", {
|
|
54363
54537
|
"class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
54364
54538
|
style: {
|
|
54365
54539
|
background: sectionproperties.quantbtntextbgcolor,
|
|
@@ -54368,7 +54542,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54368
54542
|
borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
|
|
54369
54543
|
}
|
|
54370
54544
|
}, item.quantity), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54371
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + '
|
|
54545
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
|
|
54372
54546
|
style: {
|
|
54373
54547
|
transform: ' rotate(-180deg)'
|
|
54374
54548
|
},
|
|
@@ -54376,15 +54550,19 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54376
54550
|
updatequantity('remove');
|
|
54377
54551
|
}
|
|
54378
54552
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54379
|
-
"class": "
|
|
54380
|
-
}
|
|
54381
|
-
|
|
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) + ' ',
|
|
54382
54558
|
onClick: function onClick() {
|
|
54383
54559
|
updatequantity('add');
|
|
54384
54560
|
}
|
|
54385
54561
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54386
|
-
"class": "
|
|
54387
|
-
}
|
|
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", {
|
|
54388
54566
|
"class": "col-lg-6 col-md-4 col-sm-4 d-flex align-items-center justify-content-end p-0"
|
|
54389
54567
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54390
54568
|
"class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
@@ -54395,26 +54573,9 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54395
54573
|
setShowProductInfoModalContext(true);
|
|
54396
54574
|
setProductIdProdutInfoModalContext(item.productid);
|
|
54397
54575
|
}
|
|
54398
|
-
}
|
|
54399
|
-
|
|
54400
|
-
|
|
54401
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
54402
|
-
"class": "",
|
|
54403
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54404
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
54405
|
-
"class": "",
|
|
54406
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54407
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
54408
|
-
"class": "",
|
|
54409
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54410
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
54411
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54412
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
54413
|
-
"class": "",
|
|
54414
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54415
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
54416
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54417
|
-
})))))))));
|
|
54576
|
+
},
|
|
54577
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
54578
|
+
}, addtocartbuttonrender())))))));
|
|
54418
54579
|
};
|
|
54419
54580
|
|
|
54420
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}";
|