tabexseriescomponents 0.0.285 → 0.0.288
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 +361 -135
- package/dist/index.esm.js +361 -135
- package/dist/index.umd.js +361 -135
- package/package.json +3 -1
- package/src.zip +0 -0
package/dist/index.esm.js
CHANGED
|
@@ -942,14 +942,11 @@ var Login = function Login(props) {
|
|
|
942
942
|
temppayloadobj.email = event.target.value;
|
|
943
943
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
944
944
|
},
|
|
945
|
-
disabled: forgetpasswordstage == 'verify' ? true : false
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
}, /*#__PURE__*/React.createElement(AiOutlineUser, {
|
|
951
|
-
size: 18
|
|
952
|
-
})))), forgetpasswordstage == 'verify' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
945
|
+
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
946
|
+
style: {
|
|
947
|
+
background: 'transparent'
|
|
948
|
+
}
|
|
949
|
+
})), forgetpasswordstage == 'verify' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
953
950
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
|
|
954
951
|
}, /*#__PURE__*/React.createElement("label", {
|
|
955
952
|
className: "".concat(loginstyles2.logininputLabel) + ' text-transform-none d-flex justify-content-start '
|
|
@@ -961,6 +958,9 @@ var Login = function Login(props) {
|
|
|
961
958
|
var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
|
|
962
959
|
temppayloadobj.code = event.target.value;
|
|
963
960
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
961
|
+
},
|
|
962
|
+
style: {
|
|
963
|
+
background: 'transparent'
|
|
964
964
|
}
|
|
965
965
|
})), /*#__PURE__*/React.createElement("div", {
|
|
966
966
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0"
|
|
@@ -974,6 +974,9 @@ var Login = function Login(props) {
|
|
|
974
974
|
var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
|
|
975
975
|
temppayloadobj.newpassword = event.target.value;
|
|
976
976
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
977
|
+
},
|
|
978
|
+
style: {
|
|
979
|
+
background: 'transparent'
|
|
977
980
|
}
|
|
978
981
|
})), /*#__PURE__*/React.createElement("div", {
|
|
979
982
|
className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
|
|
@@ -987,6 +990,9 @@ var Login = function Login(props) {
|
|
|
987
990
|
var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
|
|
988
991
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
989
992
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
993
|
+
},
|
|
994
|
+
style: {
|
|
995
|
+
background: 'transparent'
|
|
990
996
|
}
|
|
991
997
|
}))))), /*#__PURE__*/React.createElement(Modal.Footer, null, /*#__PURE__*/React.createElement("div", {
|
|
992
998
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 "
|
|
@@ -1058,9 +1064,12 @@ var Imagekitimagecomp = function Imagekitimagecomp(props) {
|
|
|
1058
1064
|
}));
|
|
1059
1065
|
};
|
|
1060
1066
|
|
|
1061
|
-
|
|
1067
|
+
var css_248z$H = "@media screen and (max-width: 800px) {\n .signup-module_rightContainer__yEcoL,\n .signup-module_rightContainerTrans__fkdBH {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 15px !important;\n border-bottom-left-radius: 15px !important;\n }\n .signup-module_rightContainerText__-pvN- {\n font-size: 23px !important;\n }\n}\n.signup-module_form_control__7s76W:focus {\n -webkit-animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n}\n.signup-module_form_control__7s76W:focus + .signup-module_login_input_icon__RDTS0 {\n padding-left: 20px;\n}\n/* Forms */\n.signup-module_form_control__7s76W {\n display: block;\n width: 100%;\n /* height: 35px; */\n /* font-size: 1rem; */\n /* color: var(--cardtitle); */\n /* background: no-repeat center bottom, center calc(100% - 1px); */\n /* background-size: 0 100%, 100% 100%; */\n background-clip: padding-box;\n /* font-size: 14px; */\n /* transition: background 0s ease-out; */\n /* border: 0; */\n padding: 0 15px;\n font-weight: 500;\n display: flex;\n align-items: center;\n position: relative;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .signup-module_form_control__7s76W {\n transition: none;\n }\n}\n.signup-module_form_control__7s76W::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.signup-module_form_control__7s76W:focus {\n outline: 0;\n}\n.signup-module_form_control__7s76W::placeholder {\n opacity: 1;\n}\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.signup-module_form_control__7s76W {\n height: auto;\n}\n.signup-module_form_control__7s76W:focus {\n /* background-size: 100% 100%, 100% 100%; */\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.signup-module_form_control__7s76W::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W {\n /* background-image: linear-gradient(to top, #000 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px); */\n}\n.signup-module_form_control_border_none__HjUMS {\n background-image: none;\n}\n.signup-module_form_control__7s76W.signup-module_disabled__h55ao,\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[disabled] {\n /* background-image: linear-gradient(to right, #d2d2d2 0%, #d2d2d2 30%, transparent 30%, transparent 100%); */\n /* background-repeat: repeat-x;\n background-size: 3px 1px; */\n cursor: not-allowed;\n}\n@media screen and (max-width: 500px) {\n .signup-module_form_control__7s76W {\n /* padding: 0 5px !important; */\n }\n .signup-module_login_input_icon__RDTS0 {\n padding-left: 0 !important;\n }\n .signup-module_rightContainer__yEcoL {\n border-radius: 15px 15px 0 0 !important;\n }\n .signup-module_leftcontainer__bqfnN {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.signup-module_form_controltextarea__-LGz6{\n min-height: 10vh !important;\n}\n.signup-module_checkbox__8ejBx {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.signup-module_checkbox_label__d84Q2 {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.signup-module_checkbox__8ejBx:hover {\n /* color: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input,\n.signup-module_checkbox__8ejBx svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.signup-module_checkbox_sub__WQLUX input {\n width: 15px;\n height: 15px;\n}\n.signup-module_checkbox__8ejBx input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.signup-module_checkbox__8ejBx input:disabled {\n cursor: not-allowed;\n}\n.signup-module_checkbox__8ejBx input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input:checked {\n /* --b: var(--secondary); */\n}\n.signup-module_checkbox__8ejBx svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkbox_sub__WQLUX svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkboxtranslated__4xHR- svg {\n right: 0;\n}\n.signup-module_checkbox__8ejBx input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.signup-module_checkbox__8ejBx input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.signup-module_checkbox__8ejBx svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
|
|
1068
|
+
var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-"};
|
|
1069
|
+
styleInject(css_248z$H);
|
|
1070
|
+
|
|
1062
1071
|
var Variantoptions = function Variantoptions(props) {
|
|
1063
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
|
|
1072
|
+
var _css, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
|
|
1064
1073
|
var lang = props.actions.lang;
|
|
1065
1074
|
var langdetect = props.actions.langdetect;
|
|
1066
1075
|
var selectproductoptionvalue = props.actions.selectproductoptionvalue;
|
|
@@ -1069,9 +1078,30 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1069
1078
|
var sectionproperties = props.actions.sectionproperties;
|
|
1070
1079
|
props.actions.ikimagecredcontext;
|
|
1071
1080
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
1081
|
+
var formstyles = {
|
|
1082
|
+
input_label_name: css({
|
|
1083
|
+
color: sectionproperties.form_labelcolor,
|
|
1084
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
1085
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
1086
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
1087
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
1088
|
+
}),
|
|
1089
|
+
form_control: css((_css = {
|
|
1090
|
+
background: 'transparent',
|
|
1091
|
+
color: sectionproperties.inputfieldcolor,
|
|
1092
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
1093
|
+
position: 'relative',
|
|
1094
|
+
display: 'flex',
|
|
1095
|
+
alignItems: 'center'
|
|
1096
|
+
}, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "padding", '0 10px'), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, "border", sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0), _defineProperty(_css, "borderBottom", sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor), _defineProperty(_css, "borderRadius", sectionproperties.inputfieldborderradius + 'px'), _defineProperty(_css, "height", sectionproperties.inputfieldheight + 'px'), _defineProperty(_css, "background", sectionproperties.input_bgcolor), _defineProperty(_css, "color", sectionproperties.inputfieldcolor), _defineProperty(_css, ':focus', {
|
|
1097
|
+
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
1098
|
+
}), _defineProperty(_css, ':focus .login_input_icon', {
|
|
1099
|
+
color: sectionproperties.inputfeildbordercoloronfocus
|
|
1100
|
+
}), _css))
|
|
1101
|
+
};
|
|
1072
1102
|
return /*#__PURE__*/React.createElement(React.Fragment, null, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
|
|
1073
1103
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1074
|
-
}, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
|
|
1104
|
+
}, sectionproperties.variantstyle == 'Slider' && (ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
|
|
1075
1105
|
return /*#__PURE__*/React.createElement("div", {
|
|
1076
1106
|
className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
|
|
1077
1107
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -1195,7 +1225,23 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1195
1225
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1196
1226
|
}
|
|
1197
1227
|
}))));
|
|
1198
|
-
}))
|
|
1228
|
+
})), sectionproperties.variantstyle == 'Select Box' && /*#__PURE__*/React.createElement("div", {
|
|
1229
|
+
"class": "col-lg-12"
|
|
1230
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
1231
|
+
className: ' d-flex align-items-start mb-2 ',
|
|
1232
|
+
style: {
|
|
1233
|
+
color: sectionproperties.varianttitle_color,
|
|
1234
|
+
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
1235
|
+
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1236
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1237
|
+
}
|
|
1238
|
+
}, "label"), /*#__PURE__*/React.createElement("select", {
|
|
1239
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control)
|
|
1240
|
+
}, /*#__PURE__*/React.createElement("option", {
|
|
1241
|
+
value: ''
|
|
1242
|
+
}, langdetect == 'en' ? 'Choose' : 'إختر'), /*#__PURE__*/React.createElement("option", {
|
|
1243
|
+
value: 'asd'
|
|
1244
|
+
}, "asdasd")))));
|
|
1199
1245
|
};
|
|
1200
1246
|
|
|
1201
1247
|
//productidprops
|
|
@@ -1289,10 +1335,6 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1289
1335
|
}, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))));
|
|
1290
1336
|
};
|
|
1291
1337
|
|
|
1292
|
-
var css_248z$H = "@media screen and (max-width: 800px) {\n .signup-module_rightContainer__yEcoL,\n .signup-module_rightContainerTrans__fkdBH {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 15px !important;\n border-bottom-left-radius: 15px !important;\n }\n .signup-module_rightContainerText__-pvN- {\n font-size: 23px !important;\n }\n}\n.signup-module_form_control__7s76W:focus {\n -webkit-animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n}\n.signup-module_form_control__7s76W:focus + .signup-module_login_input_icon__RDTS0 {\n padding-left: 20px;\n}\n/* Forms */\n.signup-module_form_control__7s76W {\n display: block;\n width: 100%;\n /* height: 35px; */\n /* font-size: 1rem; */\n /* color: var(--cardtitle); */\n /* background: no-repeat center bottom, center calc(100% - 1px); */\n /* background-size: 0 100%, 100% 100%; */\n background-clip: padding-box;\n /* font-size: 14px; */\n /* transition: background 0s ease-out; */\n /* border: 0; */\n padding: 0 15px;\n font-weight: 500;\n display: flex;\n align-items: center;\n position: relative;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .signup-module_form_control__7s76W {\n transition: none;\n }\n}\n.signup-module_form_control__7s76W::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.signup-module_form_control__7s76W:focus {\n outline: 0;\n}\n.signup-module_form_control__7s76W::placeholder {\n opacity: 1;\n}\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.signup-module_form_control__7s76W {\n height: auto;\n}\n.signup-module_form_control__7s76W:focus {\n /* background-size: 100% 100%, 100% 100%; */\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.signup-module_form_control__7s76W::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W {\n /* background-image: linear-gradient(to top, #000 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px); */\n}\n.signup-module_form_control_border_none__HjUMS {\n background-image: none;\n}\n.signup-module_form_control__7s76W.signup-module_disabled__h55ao,\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[disabled] {\n /* background-image: linear-gradient(to right, #d2d2d2 0%, #d2d2d2 30%, transparent 30%, transparent 100%); */\n /* background-repeat: repeat-x;\n background-size: 3px 1px; */\n cursor: not-allowed;\n}\n@media screen and (max-width: 500px) {\n .signup-module_form_control__7s76W {\n /* padding: 0 5px !important; */\n }\n .signup-module_login_input_icon__RDTS0 {\n padding-left: 0 !important;\n }\n .signup-module_rightContainer__yEcoL {\n border-radius: 15px 15px 0 0 !important;\n }\n .signup-module_leftcontainer__bqfnN {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.signup-module_form_controltextarea__-LGz6{\n min-height: 10vh !important;\n}\n.signup-module_checkbox__8ejBx {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.signup-module_checkbox_label__d84Q2 {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.signup-module_checkbox__8ejBx:hover {\n /* color: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input,\n.signup-module_checkbox__8ejBx svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.signup-module_checkbox_sub__WQLUX input {\n width: 15px;\n height: 15px;\n}\n.signup-module_checkbox__8ejBx input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.signup-module_checkbox__8ejBx input:disabled {\n cursor: not-allowed;\n}\n.signup-module_checkbox__8ejBx input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input:checked {\n /* --b: var(--secondary); */\n}\n.signup-module_checkbox__8ejBx svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkbox_sub__WQLUX svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkboxtranslated__4xHR- svg {\n right: 0;\n}\n.signup-module_checkbox__8ejBx input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.signup-module_checkbox__8ejBx input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.signup-module_checkbox__8ejBx svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
|
|
1293
|
-
var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-"};
|
|
1294
|
-
styleInject(css_248z$H);
|
|
1295
|
-
|
|
1296
1338
|
function ownKeys$29(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; }
|
|
1297
1339
|
function _objectSpread$29(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$29(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$29(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1298
1340
|
var ProductExtraFields = function ProductExtraFields(props) {
|
|
@@ -13015,6 +13057,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13015
13057
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
13016
13058
|
}
|
|
13017
13059
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
13060
|
+
// if (sectionproperties.overallnumberofcards != 0) {
|
|
13061
|
+
// if (cardinfoindex < sectionproperties.overallnumberofcards) {
|
|
13018
13062
|
return /*#__PURE__*/React.createElement("div", {
|
|
13019
13063
|
"class": sectionproperties.numberOfColsvertical == '1' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-12 p-0 col-lg-12 col-md-4 p-0 d-flex justify-content-center col-sm-6 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-12 p-0 col-lg-12 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : sectionproperties.numberOfColsvertical == '2' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft ' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-6 p-0 col-lg-6 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0' : sectionproperties.numberOfColsvertical == '3' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-4 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-4 p-0 col-lg-4 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-4 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-4 col-lg-4 col-md-6 col-sm-6 d-flex justify-content-center p-0 ' : sectionproperties.numberOfColsvertical == '4' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-3 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-3 col-lg-4 col-md-4 col-sm-12 p-0 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-3 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center p-0 ' : sectionproperties.numberOfColsvertical == '12' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-3 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : '' : sectionproperties.numberOfColsvertical == '6' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-2 p-0 col-lg-2 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-2 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-2 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'CardWithTextOnly' ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : ''
|
|
13020
13064
|
}, /*#__PURE__*/React.createElement(Sectioncomp, {
|
|
@@ -13029,7 +13073,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13029
13073
|
fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : '',
|
|
13030
13074
|
numberOfColsvertical: sectionproperties.numberOfColsvertical
|
|
13031
13075
|
}));
|
|
13032
|
-
|
|
13076
|
+
// }
|
|
13077
|
+
}), fetchingtype == 'products' && sectionproperties.showpagination == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
13033
13078
|
className: "w-100 col-lg-12 allcentered mt-2"
|
|
13034
13079
|
}, /*#__PURE__*/React.createElement(PaginatedItems, {
|
|
13035
13080
|
itemsPerPage: 5
|
|
@@ -13781,9 +13826,19 @@ var Subheader = function Subheader(props) {
|
|
|
13781
13826
|
zIndex: 2000,
|
|
13782
13827
|
position: ((_props$subheaderprope29 = props.subheaderpropertiesprops) === null || _props$subheaderprope29 === void 0 ? void 0 : _props$subheaderprope29.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
|
|
13783
13828
|
top: ((_props$subheaderprope30 = props.subheaderpropertiesprops) === null || _props$subheaderprope30 === void 0 ? void 0 : _props$subheaderprope30.headernameprops) == 'Stylish Header' && ((_props$subheaderprope31 = props.subheaderpropertiesprops) === null || _props$subheaderprope31 === void 0 ? void 0 : _props$subheaderprope31.subheaderpositionprops) == 'in nav' ? 50 : ((_props$subheaderprope32 = props.subheaderpropertiesprops) === null || _props$subheaderprope32 === void 0 ? void 0 : _props$subheaderprope32.subheaderpositionprops) == 'in nav' ? 30 : '',
|
|
13784
|
-
border:
|
|
13785
|
-
|
|
13786
|
-
|
|
13829
|
+
// border:
|
|
13830
|
+
// sectionproperties.subheader_width != 100
|
|
13831
|
+
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
13832
|
+
// : 0,
|
|
13833
|
+
border: sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor,
|
|
13834
|
+
// borderBottom:
|
|
13835
|
+
// sectionproperties.subheader_width == 100
|
|
13836
|
+
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
13837
|
+
// : 0,
|
|
13838
|
+
// borderTop:
|
|
13839
|
+
// sectionproperties.subheader_width == 100
|
|
13840
|
+
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
13841
|
+
// : 0,
|
|
13787
13842
|
paddingLeft: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingLeft + 'px' : sectionproperties.subheader_dropdown_paddingRight + 'px',
|
|
13788
13843
|
paddingRight: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingRight + 'px' : sectionproperties.subheader_dropdown_paddingLeft + 'px'
|
|
13789
13844
|
}
|
|
@@ -25188,7 +25243,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25188
25243
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
25189
25244
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
25190
25245
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
25191
|
-
props.actions.favoriteprojectscountContext;
|
|
25246
|
+
var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
|
|
25192
25247
|
var routingcountext = props.actions.routingcountext;
|
|
25193
25248
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
25194
25249
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
@@ -25512,7 +25567,10 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25512
25567
|
"class": header_cssstyles.upperheadertext + ' storeinfotext ml-1 mr-1 ',
|
|
25513
25568
|
size: sectionproperties.footerinfotext_fontsize
|
|
25514
25569
|
}), /*#__PURE__*/React.createElement("span", {
|
|
25515
|
-
"class": header_cssstyles.upperheadertext + ' storeinfotext '
|
|
25570
|
+
"class": header_cssstyles.upperheadertext + ' storeinfotext ',
|
|
25571
|
+
style: {
|
|
25572
|
+
textTransform: 'none'
|
|
25573
|
+
}
|
|
25516
25574
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : (_authdetailsContext$i4 = _authdetailsContext$i3.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email)), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
25517
25575
|
"class": header_cssstyles.storeinfocontainer + ' d-flex align-items-center justify-content-center '
|
|
25518
25576
|
}, /*#__PURE__*/React.createElement("a", {
|
|
@@ -25621,7 +25679,10 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25621
25679
|
}), sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React.createElement(BiGlobe, null), /*#__PURE__*/React.createElement("span", {
|
|
25622
25680
|
"class": 'ml-2 mr-2'
|
|
25623
25681
|
}, lang.english))))))), /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
25624
|
-
"class": "".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ml-3 mr-3 '
|
|
25682
|
+
"class": "".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ml-3 mr-3 ',
|
|
25683
|
+
onClick: function onClick() {
|
|
25684
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
25685
|
+
}
|
|
25625
25686
|
}, /*#__PURE__*/React.createElement("span", {
|
|
25626
25687
|
"class": ' d-flex justify-content-center align-items-center '
|
|
25627
25688
|
}, /*#__PURE__*/React.createElement(FiUser, {
|
|
@@ -25658,27 +25719,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25658
25719
|
style: {
|
|
25659
25720
|
maxWidth: '150px'
|
|
25660
25721
|
}
|
|
25661
|
-
}, authdetailsContext.customerinfo.name))))),
|
|
25662
|
-
onClick: function onClick() {
|
|
25663
|
-
routingcountext(StaticPagesLinksContext.Login);
|
|
25664
|
-
}
|
|
25665
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
25666
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
25667
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
25668
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
25669
|
-
}, /*#__PURE__*/React.createElement(AiOutlineLogin, null), /*#__PURE__*/React.createElement("span", {
|
|
25670
|
-
"class": "ml-2 mr-2"
|
|
25671
|
-
}, lang.login)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
25672
|
-
onClick: function onClick() {
|
|
25673
|
-
routingcountext(StaticPagesLinksContext.Signup);
|
|
25674
|
-
}
|
|
25675
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
25676
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
25677
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
25678
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
25679
|
-
}, /*#__PURE__*/React.createElement(AiOutlineUserAdd, null), /*#__PURE__*/React.createElement("span", {
|
|
25680
|
-
"class": "ml-2 mr-2 text-transform-none"
|
|
25681
|
-
}, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
|
|
25722
|
+
}, authdetailsContext.customerinfo.name))))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
|
|
25682
25723
|
style: {
|
|
25683
25724
|
minWidth: '200px'
|
|
25684
25725
|
}
|
|
@@ -25778,7 +25819,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25778
25819
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : sectionproperties.searchbarcont_borderTopLeftRadius + 'px',
|
|
25779
25820
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px'
|
|
25780
25821
|
}
|
|
25781
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
25822
|
+
}, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
25782
25823
|
"class": 'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start h-100',
|
|
25783
25824
|
onClick: function onClick() {
|
|
25784
25825
|
setdropdownselect(!dropdownselect);
|
|
@@ -25822,20 +25863,20 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25822
25863
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem text-overflow m-0 p-0 '
|
|
25823
25864
|
}, langdetect == 'en' ? item.title_en : item.title_ar)))), index != authdetailsContext.instinfo.instcollections.length - 1 && /*#__PURE__*/React.createElement(Dropdown.Divider, null));
|
|
25824
25865
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
25825
|
-
"class":
|
|
25866
|
+
"class": sectionproperties.generalbtn_show == 'Show' ? 'col-xl-9 col-lg-8 p-0 d-flex justify-content-end align-items-center h-100' : 'col-xl-12 col-lg-12 p-0 d-flex justify-content-end align-items-center h-100'
|
|
25826
25867
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25827
25868
|
"class": ' row m-0 w-100 h-100 ',
|
|
25828
25869
|
style: {
|
|
25829
25870
|
position: 'relative',
|
|
25830
25871
|
backgroundColor: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
|
|
25831
|
-
borderBottomLeftRadius: langdetect == 'ar' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : 0,
|
|
25832
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : 0,
|
|
25833
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : 0,
|
|
25834
|
-
borderTopLeftRadius: langdetect == 'ar' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0
|
|
25872
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'ar' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : sectionproperties.searchbarcont_borderBottomRightRadius + 'px',
|
|
25873
|
+
borderBottomRightRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : sectionproperties.searchbarcont_borderBottomLeftRadius + 'px',
|
|
25874
|
+
borderTopRightRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0,
|
|
25875
|
+
borderTopLeftRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'ar' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px'
|
|
25835
25876
|
}
|
|
25836
25877
|
}, /*#__PURE__*/React.createElement("input", {
|
|
25837
25878
|
type: "text",
|
|
25838
|
-
placeholder:
|
|
25879
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
25839
25880
|
"class": "".concat(header_cssstyles.searchbarcont_input) + ' h-100 ',
|
|
25840
25881
|
onChange: function onChange(event) {
|
|
25841
25882
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -25847,12 +25888,18 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25847
25888
|
marginLeft: langdetect == 'ar' ? '-0.25rem' : 0,
|
|
25848
25889
|
marginTop: sectionproperties.searchbarcontinput_borderwidth != 0 ? '-0.1rem' : 0
|
|
25849
25890
|
}
|
|
25850
|
-
},
|
|
25891
|
+
}, sectionproperties.showsearchicon == 'Hide' && /*#__PURE__*/React.createElement("span", {
|
|
25892
|
+
"class": "h-100 allcentered"
|
|
25893
|
+
}, lang.search), sectionproperties.showsearchicon == 'Show' && /*#__PURE__*/React.createElement("span", {
|
|
25894
|
+
"class": "h-100 allcentered"
|
|
25895
|
+
}, /*#__PURE__*/React.createElement(BiSearch, {
|
|
25896
|
+
size: sectionproperties.search_btn_fontSize
|
|
25897
|
+
}))), /*#__PURE__*/React.createElement(Searchlist$1, {
|
|
25851
25898
|
sectionpropertiesprops: sectionproperties,
|
|
25852
25899
|
srcfromprops: 'headerfullwidth',
|
|
25853
25900
|
actions: actions
|
|
25854
25901
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
25855
|
-
"class": "col-xl-2 col-lg-3 d-flex align-items-center justify-content-
|
|
25902
|
+
"class": "col-xl-2 col-lg-3 d-flex align-items-center justify-content-end p-0"
|
|
25856
25903
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25857
25904
|
"class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
25858
25905
|
onClick: function onClick() {
|
|
@@ -25860,9 +25907,16 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25860
25907
|
},
|
|
25861
25908
|
style: {
|
|
25862
25909
|
marginRight: langdetect == 'en' ? '1rem' : 0,
|
|
25863
|
-
marginLeft: langdetect == 'ar' ? '1rem' : 0
|
|
25910
|
+
marginLeft: langdetect == 'ar' ? '1rem' : 0,
|
|
25911
|
+
position: 'relative'
|
|
25864
25912
|
}
|
|
25865
|
-
}, sectionproperties.
|
|
25913
|
+
}, sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
25914
|
+
className: "".concat(headerstyles$5.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center align-items-center ',
|
|
25915
|
+
style: {
|
|
25916
|
+
top: sectionproperties.wishlistbadgetop + 'px',
|
|
25917
|
+
right: sectionproperties.wishlistbadgeright + 'px'
|
|
25918
|
+
}
|
|
25919
|
+
}, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
25866
25920
|
size: sectionproperties.favBtnIconfontsize
|
|
25867
25921
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
25868
25922
|
size: sectionproperties.favBtnIconfontsize
|
|
@@ -45363,6 +45417,8 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
45363
45417
|
|
|
45364
45418
|
function ownKeys$K(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
45365
45419
|
function _objectSpread$K(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$K(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$K(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
45420
|
+
// import { Swiper, SwiperSlide } from 'swiper/react';
|
|
45421
|
+
// import 'swiper/css';
|
|
45366
45422
|
function CardsArrayOfObjects(_ref) {
|
|
45367
45423
|
_ref.itemId;
|
|
45368
45424
|
var cardItem = _ref.cardItem,
|
|
@@ -47590,6 +47646,20 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
47590
47646
|
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
47591
47647
|
color: sectionproperties.favBtnTextcoloronhover
|
|
47592
47648
|
}
|
|
47649
|
+
}),
|
|
47650
|
+
innercard: css({
|
|
47651
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
47652
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
47653
|
+
backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
47654
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
47655
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
47656
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
47657
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
47658
|
+
boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcolor,
|
|
47659
|
+
':hover': {
|
|
47660
|
+
transition: '.3s',
|
|
47661
|
+
boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcoloronhover
|
|
47662
|
+
}
|
|
47593
47663
|
})
|
|
47594
47664
|
};
|
|
47595
47665
|
var Buttons = function Buttons() {
|
|
@@ -47703,18 +47773,11 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
47703
47773
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
47704
47774
|
}
|
|
47705
47775
|
}, /*#__PURE__*/React.createElement("div", {
|
|
47706
|
-
"class": ' row ml-0 mr-0 w-100 '
|
|
47776
|
+
"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 ',
|
|
47777
|
+
style: {}
|
|
47707
47778
|
}, /*#__PURE__*/React.createElement("div", {
|
|
47708
|
-
"class":
|
|
47709
|
-
style: {
|
|
47710
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
47711
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
47712
|
-
backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
47713
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
47714
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
47715
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
47716
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
|
|
47717
|
-
}
|
|
47779
|
+
"class": card_cssstyles.innercard + ' col-lg-12 pl-0 pr-0 h-100 ',
|
|
47780
|
+
style: {}
|
|
47718
47781
|
}, /*#__PURE__*/React.createElement("div", {
|
|
47719
47782
|
"class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center cursor-pointer",
|
|
47720
47783
|
style: {
|
|
@@ -53965,7 +54028,7 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
53965
54028
|
function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
53966
54029
|
function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
53967
54030
|
var ModernProductCard = function ModernProductCard(props) {
|
|
53968
|
-
var _css
|
|
54031
|
+
var _css;
|
|
53969
54032
|
var _useState = useState(''),
|
|
53970
54033
|
_useState2 = _slicedToArray(_useState, 2),
|
|
53971
54034
|
sectionproperties = _useState2[0],
|
|
@@ -53978,15 +54041,15 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
53978
54041
|
props.actions.lang;
|
|
53979
54042
|
var langdetect = props.actions.langdetect;
|
|
53980
54043
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
53981
|
-
props.actions.addtofavoritescontext;
|
|
54044
|
+
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
53982
54045
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
53983
54046
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
53984
|
-
props.actions.AddtoCartMutationContext;
|
|
54047
|
+
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
53985
54048
|
props.actions.StaticPagesLinksContext;
|
|
53986
54049
|
props.actions.routingcountext;
|
|
53987
54050
|
var NotificationManager = NotificationManager;
|
|
53988
54051
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
53989
|
-
props.actions.ikimagecredcontext;
|
|
54052
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
53990
54053
|
var updatequantity = function updatequantity(type) {
|
|
53991
54054
|
var tempitem = _objectSpread$g({}, item);
|
|
53992
54055
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
@@ -54052,6 +54115,62 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54052
54115
|
AddtoCartContext(addtocardpayloadobj);
|
|
54053
54116
|
}
|
|
54054
54117
|
};
|
|
54118
|
+
var addtocartbuttonrender = function addtocartbuttonrender() {
|
|
54119
|
+
if (AddtoCartMutationContext.isLoading) {
|
|
54120
|
+
var _AddtoCartMutationCon;
|
|
54121
|
+
if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 ? void 0 : (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
|
|
54122
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
54123
|
+
"class": ' d-flex align-items-center justify-content-center '
|
|
54124
|
+
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
54125
|
+
color: sectionproperties.cart_iconcolor,
|
|
54126
|
+
width: "20px",
|
|
54127
|
+
height: "20px",
|
|
54128
|
+
duration: "1s"
|
|
54129
|
+
}));
|
|
54130
|
+
} else {
|
|
54131
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
54132
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
54133
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
54134
|
+
"class": "",
|
|
54135
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54136
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
54137
|
+
"class": "",
|
|
54138
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54139
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
54140
|
+
"class": "",
|
|
54141
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54142
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
54143
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54144
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
54145
|
+
"class": "",
|
|
54146
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54147
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
54148
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54149
|
+
}));
|
|
54150
|
+
}
|
|
54151
|
+
}
|
|
54152
|
+
if (!AddtoCartMutationContext.isLoading) {
|
|
54153
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
54154
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
54155
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
54156
|
+
"class": "",
|
|
54157
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54158
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
54159
|
+
"class": "",
|
|
54160
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54161
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
54162
|
+
"class": "",
|
|
54163
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54164
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
54165
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54166
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
54167
|
+
"class": "",
|
|
54168
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54169
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
54170
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54171
|
+
}));
|
|
54172
|
+
}
|
|
54173
|
+
};
|
|
54055
54174
|
var card_cssstyles = {
|
|
54056
54175
|
productcard: css({
|
|
54057
54176
|
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
@@ -54140,11 +54259,25 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54140
54259
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
54141
54260
|
}
|
|
54142
54261
|
}),
|
|
54143
|
-
quantitybtn: css(
|
|
54144
|
-
flex: 1,
|
|
54262
|
+
quantitybtn: css({
|
|
54263
|
+
// flex: 1,
|
|
54145
54264
|
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
54146
|
-
height: sectionproperties.quantitybtn_height + 'px'
|
|
54147
|
-
|
|
54265
|
+
height: sectionproperties.quantitybtn_height + 'px',
|
|
54266
|
+
width: sectionproperties.quantitybtn_width + 'px',
|
|
54267
|
+
maxWidth: '100%',
|
|
54268
|
+
display: 'flex',
|
|
54269
|
+
flexDirection: 'row',
|
|
54270
|
+
overflow: 'hidden',
|
|
54271
|
+
borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
|
|
54272
|
+
background: sectionproperties.quantitybtn_bgcolor,
|
|
54273
|
+
alignItems: 'center',
|
|
54274
|
+
justifyContent: 'center',
|
|
54275
|
+
margin: 0,
|
|
54276
|
+
position: 'relative',
|
|
54277
|
+
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
54278
|
+
color: sectionproperties.quantitybtn_textcolor,
|
|
54279
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px'
|
|
54280
|
+
}),
|
|
54148
54281
|
quantitybtn_text: css({
|
|
54149
54282
|
margin: 'auto'
|
|
54150
54283
|
}),
|
|
@@ -54156,37 +54289,46 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54156
54289
|
display: 'flex',
|
|
54157
54290
|
alignItems: 'center',
|
|
54158
54291
|
justifyContent: 'center',
|
|
54159
|
-
|
|
54292
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
54293
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
54294
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
54295
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
54160
54296
|
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
54161
54297
|
color: sectionproperties.add_quantitybtn_textcolor,
|
|
54162
54298
|
transition: '.3s',
|
|
54163
54299
|
':hover': {
|
|
54164
54300
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
54165
54301
|
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
54302
|
+
},
|
|
54303
|
+
':hover .addbtn': {
|
|
54304
|
+
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
54305
|
+
transition: '.3s'
|
|
54166
54306
|
}
|
|
54167
54307
|
}),
|
|
54168
54308
|
minus_quantitybtn_icon_container: css({
|
|
54169
54309
|
position: 'relative',
|
|
54170
|
-
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
54171
|
-
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
54172
|
-
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
54173
54310
|
display: 'flex',
|
|
54174
54311
|
alignItems: 'center',
|
|
54175
54312
|
justifyContent: 'center',
|
|
54176
|
-
|
|
54313
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
54314
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
54315
|
+
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
54177
54316
|
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
|
|
54178
54317
|
color: sectionproperties.remove_quantitybtn_textcolor,
|
|
54318
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
54319
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
54320
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
54321
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
54179
54322
|
transition: '.3s',
|
|
54180
54323
|
':hover': {
|
|
54181
54324
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
54182
54325
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
54326
|
+
},
|
|
54327
|
+
':hover .minusbtn': {
|
|
54328
|
+
transition: '.3s',
|
|
54329
|
+
color: sectionproperties.remove_quantitybtn_textcoloronhover
|
|
54183
54330
|
}
|
|
54184
54331
|
}),
|
|
54185
|
-
producttotalstyles: css({
|
|
54186
|
-
color: sectionproperties.total_color,
|
|
54187
|
-
fontSize: sectionproperties.total_fontsize + 'px',
|
|
54188
|
-
fontWeight: 500
|
|
54189
|
-
}),
|
|
54190
54332
|
productDescStyles: css({
|
|
54191
54333
|
color: sectionproperties.prodCatColor,
|
|
54192
54334
|
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
@@ -54196,8 +54338,101 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54196
54338
|
marginLeft: sectionproperties.description_marginLeft + 'px',
|
|
54197
54339
|
marginRight: sectionproperties.description_marginRight + 'px',
|
|
54198
54340
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
54341
|
+
}),
|
|
54342
|
+
quantity: css({
|
|
54343
|
+
color: sectionproperties.quantitycolor,
|
|
54344
|
+
fontSize: sectionproperties.quantityfontsize + 'px',
|
|
54345
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
54199
54346
|
})
|
|
54200
54347
|
};
|
|
54348
|
+
var ImageContent = function ImageContent() {
|
|
54349
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
54350
|
+
"class": "w-100 allcentered"
|
|
54351
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
54352
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
54353
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
54354
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
54355
|
+
loading: "lazy",
|
|
54356
|
+
style: {
|
|
54357
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
54358
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
54359
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
54360
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
54361
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
54362
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
54363
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
54364
|
+
}
|
|
54365
|
+
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
54366
|
+
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
54367
|
+
onClick: function onClick(e) {
|
|
54368
|
+
e.stopPropagation();
|
|
54369
|
+
addtofavoritescontext(item.productid);
|
|
54370
|
+
},
|
|
54371
|
+
style: {
|
|
54372
|
+
position: 'absolute',
|
|
54373
|
+
top: 10,
|
|
54374
|
+
right: langdetect == 'en' ? 10 : 0,
|
|
54375
|
+
left: langdetect == 'en' ? 0 : 10,
|
|
54376
|
+
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
54377
|
+
}
|
|
54378
|
+
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
54379
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54380
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
|
|
54381
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
54382
|
+
style: {
|
|
54383
|
+
color: sectionproperties.activefaviconcolor
|
|
54384
|
+
}
|
|
54385
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
|
|
54386
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
54387
|
+
style: {
|
|
54388
|
+
color: sectionproperties.activefaviconcolor
|
|
54389
|
+
}
|
|
54390
|
+
})), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
54391
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54392
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
54393
|
+
size: sectionproperties.favBtnIconfontsize
|
|
54394
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
54395
|
+
size: sectionproperties.favBtnIconfontsize
|
|
54396
|
+
}))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
54397
|
+
"class": "allcentered",
|
|
54398
|
+
style: {
|
|
54399
|
+
position: 'absolute',
|
|
54400
|
+
top: sectionproperties.badge_top + 'px',
|
|
54401
|
+
right: langdetect == 'en' ? sectionproperties.badge_right + 'px' : '',
|
|
54402
|
+
left: langdetect == 'ar' ? sectionproperties.badge_right + 'px' : '',
|
|
54403
|
+
width: sectionproperties.badge_width + 'px',
|
|
54404
|
+
height: sectionproperties.badge_height + 'px',
|
|
54405
|
+
background: sectionproperties.badge_bgcolor,
|
|
54406
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
54407
|
+
border: sectionproperties.badgeborderwidth + 'px solid ' + sectionproperties.badge_color
|
|
54408
|
+
}
|
|
54409
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
54410
|
+
"class": "m-0 p-0",
|
|
54411
|
+
style: {
|
|
54412
|
+
color: sectionproperties.badge_color,
|
|
54413
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
54414
|
+
}
|
|
54415
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
54416
|
+
"class": "allcentered",
|
|
54417
|
+
style: {
|
|
54418
|
+
position: 'absolute',
|
|
54419
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
54420
|
+
right: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
54421
|
+
left: langdetect == 'ar' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
54422
|
+
width: sectionproperties.pillwidth + 'px',
|
|
54423
|
+
height: sectionproperties.pillheight + 'px',
|
|
54424
|
+
background: sectionproperties.pillbgcolor,
|
|
54425
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
54426
|
+
}
|
|
54427
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
54428
|
+
"class": "m-0 p-0",
|
|
54429
|
+
style: {
|
|
54430
|
+
color: sectionproperties.pillcolor,
|
|
54431
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
54432
|
+
direction: 'ltr'
|
|
54433
|
+
}
|
|
54434
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')));
|
|
54435
|
+
};
|
|
54201
54436
|
return /*#__PURE__*/React.createElement("div", {
|
|
54202
54437
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
|
|
54203
54438
|
style: {
|
|
@@ -54211,7 +54446,27 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54211
54446
|
// }}
|
|
54212
54447
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
54213
54448
|
"class": "".concat(card_cssstyles.innerproductcard) + ' w-100 '
|
|
54214
|
-
}, /*#__PURE__*/React.createElement("div",
|
|
54449
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
54450
|
+
onClick: function onClick() {
|
|
54451
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54452
|
+
},
|
|
54453
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-flex d-md-none w-100 ',
|
|
54454
|
+
style: {
|
|
54455
|
+
position: 'relative',
|
|
54456
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
54457
|
+
height: sectionproperties.image_height + 'px'
|
|
54458
|
+
}
|
|
54459
|
+
}, ImageContent()), /*#__PURE__*/React.createElement("div", {
|
|
54460
|
+
onClick: function onClick() {
|
|
54461
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54462
|
+
},
|
|
54463
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-none d-md-flex ',
|
|
54464
|
+
style: {
|
|
54465
|
+
position: 'relative',
|
|
54466
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
54467
|
+
height: sectionproperties.height_responsive + 'px'
|
|
54468
|
+
}
|
|
54469
|
+
}, ImageContent()), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
54215
54470
|
"class": "row m-0 w-100"
|
|
54216
54471
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
54217
54472
|
onClick: function onClick() {
|
|
@@ -54228,7 +54483,11 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54228
54483
|
style: {
|
|
54229
54484
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
54230
54485
|
}
|
|
54231
|
-
}, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), /*#__PURE__*/React.createElement("div", {
|
|
54486
|
+
}, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), sectionproperties.quantityshow == 'Show' && item.measurmentunit != null && /*#__PURE__*/React.createElement("div", {
|
|
54487
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
54488
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
54489
|
+
"class": "".concat(card_cssstyles.quantity) + ' m-0 '
|
|
54490
|
+
}, item.measurmentunit)), /*#__PURE__*/React.createElement("div", {
|
|
54232
54491
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
|
|
54233
54492
|
}, /*#__PURE__*/React.createElement("div", {
|
|
54234
54493
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
@@ -54239,7 +54498,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54239
54498
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'))), /*#__PURE__*/React.createElement("div", {
|
|
54240
54499
|
"class": "row mt-1 m-0 w-100"
|
|
54241
54500
|
}, /*#__PURE__*/React.createElement("div", {
|
|
54242
|
-
"class": "col-lg-6 col-md-8 col-sm-8 p-0"
|
|
54501
|
+
"class": "col-lg-6 col-md-8 col-sm-8 p-0 d-flex align-items-center justify-content-start"
|
|
54243
54502
|
}, /*#__PURE__*/React.createElement("div", {
|
|
54244
54503
|
style: {
|
|
54245
54504
|
width: sectionproperties.quantitybtn_width + 'px'
|
|
@@ -54247,24 +54506,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54247
54506
|
"class": ' row m-0 d-flex align-items-center '
|
|
54248
54507
|
}, /*#__PURE__*/React.createElement("button", {
|
|
54249
54508
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
54250
|
-
},
|
|
54251
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + '
|
|
54252
|
-
style: {
|
|
54253
|
-
transform: ' rotate(-180deg)'
|
|
54254
|
-
},
|
|
54509
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
54510
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
|
|
54255
54511
|
onClick: function onClick() {
|
|
54256
54512
|
updatequantity('remove');
|
|
54257
54513
|
}
|
|
54258
54514
|
}, /*#__PURE__*/React.createElement("i", {
|
|
54259
|
-
"class": "
|
|
54260
|
-
}
|
|
54261
|
-
|
|
54262
|
-
|
|
54263
|
-
updatequantity('add');
|
|
54264
|
-
}
|
|
54265
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
54266
|
-
"class": "fa fa-chevron-up"
|
|
54267
|
-
})), /*#__PURE__*/React.createElement("span", {
|
|
54515
|
+
"class": "h-100 allcentered"
|
|
54516
|
+
}, /*#__PURE__*/React.createElement(AiOutlineMinus, {
|
|
54517
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
54518
|
+
}))), /*#__PURE__*/React.createElement("span", {
|
|
54268
54519
|
"class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
54269
54520
|
style: {
|
|
54270
54521
|
background: sectionproperties.quantbtntextbgcolor,
|
|
@@ -54272,24 +54523,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54272
54523
|
height: sectionproperties.quantitybtntextheight + 'px',
|
|
54273
54524
|
borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
|
|
54274
54525
|
}
|
|
54275
|
-
}, item.quantity),
|
|
54276
|
-
"class": "".concat(card_cssstyles.
|
|
54277
|
-
style: {
|
|
54278
|
-
transform: ' rotate(-180deg)'
|
|
54279
|
-
},
|
|
54280
|
-
onClick: function onClick() {
|
|
54281
|
-
updatequantity('remove');
|
|
54282
|
-
}
|
|
54283
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
54284
|
-
"class": "fa fa-chevron-up "
|
|
54285
|
-
})), langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
|
|
54286
|
-
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
54526
|
+
}, item.quantity), /*#__PURE__*/React.createElement("span", {
|
|
54527
|
+
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' ',
|
|
54287
54528
|
onClick: function onClick() {
|
|
54288
54529
|
updatequantity('add');
|
|
54289
54530
|
}
|
|
54290
54531
|
}, /*#__PURE__*/React.createElement("i", {
|
|
54291
|
-
"class": "
|
|
54292
|
-
}
|
|
54532
|
+
"class": "h-100 allcentered"
|
|
54533
|
+
}, /*#__PURE__*/React.createElement(AiOutlinePlus, {
|
|
54534
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
54535
|
+
})))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
54293
54536
|
"class": "col-lg-6 col-md-4 col-sm-4 d-flex align-items-center justify-content-end p-0"
|
|
54294
54537
|
}, /*#__PURE__*/React.createElement("button", {
|
|
54295
54538
|
"class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
@@ -54300,26 +54543,9 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54300
54543
|
setShowProductInfoModalContext(true);
|
|
54301
54544
|
setProductIdProdutInfoModalContext(item.productid);
|
|
54302
54545
|
}
|
|
54303
|
-
}
|
|
54304
|
-
|
|
54305
|
-
|
|
54306
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
54307
|
-
"class": "",
|
|
54308
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54309
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
54310
|
-
"class": "",
|
|
54311
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54312
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
54313
|
-
"class": "",
|
|
54314
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54315
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
54316
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54317
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
54318
|
-
"class": "",
|
|
54319
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54320
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
54321
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54322
|
-
})))))))));
|
|
54546
|
+
},
|
|
54547
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
54548
|
+
}, addtocartbuttonrender())))))));
|
|
54323
54549
|
};
|
|
54324
54550
|
|
|
54325
54551
|
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}";
|