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.umd.js
CHANGED
|
@@ -834,14 +834,11 @@
|
|
|
834
834
|
temppayloadobj.email = event.target.value;
|
|
835
835
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
836
836
|
},
|
|
837
|
-
disabled: forgetpasswordstage == 'verify' ? true : false
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineUser.AiOutlineUser, {
|
|
843
|
-
size: 18
|
|
844
|
-
})))), forgetpasswordstage == 'verify' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
837
|
+
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
838
|
+
style: {
|
|
839
|
+
background: 'transparent'
|
|
840
|
+
}
|
|
841
|
+
})), forgetpasswordstage == 'verify' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
845
842
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
|
|
846
843
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
847
844
|
className: "".concat(loginstyles2.logininputLabel) + ' text-transform-none d-flex justify-content-start '
|
|
@@ -853,6 +850,9 @@
|
|
|
853
850
|
var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
|
|
854
851
|
temppayloadobj.code = event.target.value;
|
|
855
852
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
853
|
+
},
|
|
854
|
+
style: {
|
|
855
|
+
background: 'transparent'
|
|
856
856
|
}
|
|
857
857
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
858
858
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0"
|
|
@@ -866,6 +866,9 @@
|
|
|
866
866
|
var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
|
|
867
867
|
temppayloadobj.newpassword = event.target.value;
|
|
868
868
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
869
|
+
},
|
|
870
|
+
style: {
|
|
871
|
+
background: 'transparent'
|
|
869
872
|
}
|
|
870
873
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
871
874
|
className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
|
|
@@ -879,6 +882,9 @@
|
|
|
879
882
|
var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
|
|
880
883
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
881
884
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
885
|
+
},
|
|
886
|
+
style: {
|
|
887
|
+
background: 'transparent'
|
|
882
888
|
}
|
|
883
889
|
}))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
884
890
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 "
|
|
@@ -950,9 +956,12 @@
|
|
|
950
956
|
}));
|
|
951
957
|
};
|
|
952
958
|
|
|
953
|
-
|
|
959
|
+
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";
|
|
960
|
+
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-"};
|
|
961
|
+
styleInject(css_248z$H);
|
|
962
|
+
|
|
954
963
|
var Variantoptions = function Variantoptions(props) {
|
|
955
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
|
|
964
|
+
var _css, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
|
|
956
965
|
var lang = props.actions.lang;
|
|
957
966
|
var langdetect = props.actions.langdetect;
|
|
958
967
|
var selectproductoptionvalue = props.actions.selectproductoptionvalue;
|
|
@@ -961,9 +970,30 @@
|
|
|
961
970
|
var sectionproperties = props.actions.sectionproperties;
|
|
962
971
|
props.actions.ikimagecredcontext;
|
|
963
972
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
973
|
+
var formstyles = {
|
|
974
|
+
input_label_name: glamor.css({
|
|
975
|
+
color: sectionproperties.form_labelcolor,
|
|
976
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
977
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
978
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
979
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
980
|
+
}),
|
|
981
|
+
form_control: glamor.css((_css = {
|
|
982
|
+
background: 'transparent',
|
|
983
|
+
color: sectionproperties.inputfieldcolor,
|
|
984
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
985
|
+
position: 'relative',
|
|
986
|
+
display: 'flex',
|
|
987
|
+
alignItems: 'center'
|
|
988
|
+
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "padding", '0 10px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "border", sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0), _defineProperty__default["default"](_css, "borderBottom", sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor), _defineProperty__default["default"](_css, "borderRadius", sectionproperties.inputfieldborderradius + 'px'), _defineProperty__default["default"](_css, "height", sectionproperties.inputfieldheight + 'px'), _defineProperty__default["default"](_css, "background", sectionproperties.input_bgcolor), _defineProperty__default["default"](_css, "color", sectionproperties.inputfieldcolor), _defineProperty__default["default"](_css, ':focus', {
|
|
989
|
+
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
990
|
+
}), _defineProperty__default["default"](_css, ':focus .login_input_icon', {
|
|
991
|
+
color: sectionproperties.inputfeildbordercoloronfocus
|
|
992
|
+
}), _css))
|
|
993
|
+
};
|
|
964
994
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].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__default["default"].createElement("div", {
|
|
965
995
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
966
|
-
}, 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) {
|
|
996
|
+
}, 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) {
|
|
967
997
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
968
998
|
className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
|
|
969
999
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1087,7 +1117,23 @@
|
|
|
1087
1117
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1088
1118
|
}
|
|
1089
1119
|
}))));
|
|
1090
|
-
}))
|
|
1120
|
+
})), sectionproperties.variantstyle == 'Select Box' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1121
|
+
"class": "col-lg-12"
|
|
1122
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
1123
|
+
className: ' d-flex align-items-start mb-2 ',
|
|
1124
|
+
style: {
|
|
1125
|
+
color: sectionproperties.varianttitle_color,
|
|
1126
|
+
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
1127
|
+
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1128
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1129
|
+
}
|
|
1130
|
+
}, "label"), /*#__PURE__*/React__default["default"].createElement("select", {
|
|
1131
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control)
|
|
1132
|
+
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
1133
|
+
value: ''
|
|
1134
|
+
}, langdetect == 'en' ? 'Choose' : 'إختر'), /*#__PURE__*/React__default["default"].createElement("option", {
|
|
1135
|
+
value: 'asd'
|
|
1136
|
+
}, "asdasd")))));
|
|
1091
1137
|
};
|
|
1092
1138
|
|
|
1093
1139
|
//productidprops
|
|
@@ -1181,10 +1227,6 @@
|
|
|
1181
1227
|
}, '-' + 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) + '%'))))));
|
|
1182
1228
|
};
|
|
1183
1229
|
|
|
1184
|
-
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";
|
|
1185
|
-
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-"};
|
|
1186
|
-
styleInject(css_248z$H);
|
|
1187
|
-
|
|
1188
1230
|
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; }
|
|
1189
1231
|
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__default["default"](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; }
|
|
1190
1232
|
var ProductExtraFields = function ProductExtraFields(props) {
|
|
@@ -12907,6 +12949,8 @@
|
|
|
12907
12949
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
12908
12950
|
}
|
|
12909
12951
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
12952
|
+
// if (sectionproperties.overallnumberofcards != 0) {
|
|
12953
|
+
// if (cardinfoindex < sectionproperties.overallnumberofcards) {
|
|
12910
12954
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12911
12955
|
"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 ' : ''
|
|
12912
12956
|
}, /*#__PURE__*/React__default["default"].createElement(Sectioncomp, {
|
|
@@ -12921,7 +12965,8 @@
|
|
|
12921
12965
|
fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : '',
|
|
12922
12966
|
numberOfColsvertical: sectionproperties.numberOfColsvertical
|
|
12923
12967
|
}));
|
|
12924
|
-
|
|
12968
|
+
// }
|
|
12969
|
+
}), fetchingtype == 'products' && sectionproperties.showpagination == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12925
12970
|
className: "w-100 col-lg-12 allcentered mt-2"
|
|
12926
12971
|
}, /*#__PURE__*/React__default["default"].createElement(PaginatedItems, {
|
|
12927
12972
|
itemsPerPage: 5
|
|
@@ -13673,9 +13718,19 @@
|
|
|
13673
13718
|
zIndex: 2000,
|
|
13674
13719
|
position: ((_props$subheaderprope29 = props.subheaderpropertiesprops) === null || _props$subheaderprope29 === void 0 ? void 0 : _props$subheaderprope29.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
|
|
13675
13720
|
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 : '',
|
|
13676
|
-
border:
|
|
13677
|
-
|
|
13678
|
-
|
|
13721
|
+
// border:
|
|
13722
|
+
// sectionproperties.subheader_width != 100
|
|
13723
|
+
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
13724
|
+
// : 0,
|
|
13725
|
+
border: sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor,
|
|
13726
|
+
// borderBottom:
|
|
13727
|
+
// sectionproperties.subheader_width == 100
|
|
13728
|
+
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
13729
|
+
// : 0,
|
|
13730
|
+
// borderTop:
|
|
13731
|
+
// sectionproperties.subheader_width == 100
|
|
13732
|
+
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
13733
|
+
// : 0,
|
|
13679
13734
|
paddingLeft: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingLeft + 'px' : sectionproperties.subheader_dropdown_paddingRight + 'px',
|
|
13680
13735
|
paddingRight: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingRight + 'px' : sectionproperties.subheader_dropdown_paddingLeft + 'px'
|
|
13681
13736
|
}
|
|
@@ -25080,7 +25135,7 @@
|
|
|
25080
25135
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
25081
25136
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
25082
25137
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
25083
|
-
props.actions.favoriteprojectscountContext;
|
|
25138
|
+
var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
|
|
25084
25139
|
var routingcountext = props.actions.routingcountext;
|
|
25085
25140
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
25086
25141
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
@@ -25404,7 +25459,10 @@
|
|
|
25404
25459
|
"class": header_cssstyles.upperheadertext + ' storeinfotext ml-1 mr-1 ',
|
|
25405
25460
|
size: sectionproperties.footerinfotext_fontsize
|
|
25406
25461
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25407
|
-
"class": header_cssstyles.upperheadertext + ' storeinfotext '
|
|
25462
|
+
"class": header_cssstyles.upperheadertext + ' storeinfotext ',
|
|
25463
|
+
style: {
|
|
25464
|
+
textTransform: 'none'
|
|
25465
|
+
}
|
|
25408
25466
|
}, 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", {
|
|
25409
25467
|
"class": header_cssstyles.storeinfocontainer + ' d-flex align-items-center justify-content-center '
|
|
25410
25468
|
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
@@ -25513,7 +25571,10 @@
|
|
|
25513
25571
|
}), sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React__default["default"].createElement(BiGlobe.BiGlobe, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25514
25572
|
"class": 'ml-2 mr-2'
|
|
25515
25573
|
}, 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", {
|
|
25516
|
-
"class": "".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ml-3 mr-3 '
|
|
25574
|
+
"class": "".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ml-3 mr-3 ',
|
|
25575
|
+
onClick: function onClick() {
|
|
25576
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
25577
|
+
}
|
|
25517
25578
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25518
25579
|
"class": ' d-flex justify-content-center align-items-center '
|
|
25519
25580
|
}, /*#__PURE__*/React__default["default"].createElement(FiUser.FiUser, {
|
|
@@ -25550,27 +25611,7 @@
|
|
|
25550
25611
|
style: {
|
|
25551
25612
|
maxWidth: '150px'
|
|
25552
25613
|
}
|
|
25553
|
-
}, authdetailsContext.customerinfo.name))))),
|
|
25554
|
-
onClick: function onClick() {
|
|
25555
|
-
routingcountext(StaticPagesLinksContext.Login);
|
|
25556
|
-
}
|
|
25557
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25558
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
25559
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
25560
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
25561
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineLogin.AiOutlineLogin, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25562
|
-
"class": "ml-2 mr-2"
|
|
25563
|
-
}, lang.login)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
25564
|
-
onClick: function onClick() {
|
|
25565
|
-
routingcountext(StaticPagesLinksContext.Signup);
|
|
25566
|
-
}
|
|
25567
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25568
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
25569
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
25570
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
25571
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineUserAdd.AiOutlineUserAdd, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25572
|
-
"class": "ml-2 mr-2 text-transform-none"
|
|
25573
|
-
}, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
25614
|
+
}, authdetailsContext.customerinfo.name))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
25574
25615
|
style: {
|
|
25575
25616
|
minWidth: '200px'
|
|
25576
25617
|
}
|
|
@@ -25670,7 +25711,7 @@
|
|
|
25670
25711
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : sectionproperties.searchbarcont_borderTopLeftRadius + 'px',
|
|
25671
25712
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px'
|
|
25672
25713
|
}
|
|
25673
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25714
|
+
}, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25674
25715
|
"class": 'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start h-100',
|
|
25675
25716
|
onClick: function onClick() {
|
|
25676
25717
|
setdropdownselect(!dropdownselect);
|
|
@@ -25714,20 +25755,20 @@
|
|
|
25714
25755
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem text-overflow m-0 p-0 '
|
|
25715
25756
|
}, langdetect == 'en' ? item.title_en : item.title_ar)))), index != authdetailsContext.instinfo.instcollections.length - 1 && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null));
|
|
25716
25757
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25717
|
-
"class":
|
|
25758
|
+
"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'
|
|
25718
25759
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25719
25760
|
"class": ' row m-0 w-100 h-100 ',
|
|
25720
25761
|
style: {
|
|
25721
25762
|
position: 'relative',
|
|
25722
25763
|
backgroundColor: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
|
|
25723
|
-
borderBottomLeftRadius: langdetect == 'ar' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : 0,
|
|
25724
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : 0,
|
|
25725
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : 0,
|
|
25726
|
-
borderTopLeftRadius: langdetect == 'ar' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0
|
|
25764
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'ar' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : sectionproperties.searchbarcont_borderBottomRightRadius + 'px',
|
|
25765
|
+
borderBottomRightRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : sectionproperties.searchbarcont_borderBottomLeftRadius + 'px',
|
|
25766
|
+
borderTopRightRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0,
|
|
25767
|
+
borderTopLeftRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'ar' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px'
|
|
25727
25768
|
}
|
|
25728
25769
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
25729
25770
|
type: "text",
|
|
25730
|
-
placeholder:
|
|
25771
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
25731
25772
|
"class": "".concat(header_cssstyles.searchbarcont_input) + ' h-100 ',
|
|
25732
25773
|
onChange: function onChange(event) {
|
|
25733
25774
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -25739,12 +25780,18 @@
|
|
|
25739
25780
|
marginLeft: langdetect == 'ar' ? '-0.25rem' : 0,
|
|
25740
25781
|
marginTop: sectionproperties.searchbarcontinput_borderwidth != 0 ? '-0.1rem' : 0
|
|
25741
25782
|
}
|
|
25742
|
-
},
|
|
25783
|
+
}, sectionproperties.showsearchicon == 'Hide' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25784
|
+
"class": "h-100 allcentered"
|
|
25785
|
+
}, lang.search), sectionproperties.showsearchicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25786
|
+
"class": "h-100 allcentered"
|
|
25787
|
+
}, /*#__PURE__*/React__default["default"].createElement(BiSearch.BiSearch, {
|
|
25788
|
+
size: sectionproperties.search_btn_fontSize
|
|
25789
|
+
}))), /*#__PURE__*/React__default["default"].createElement(Searchlist$1, {
|
|
25743
25790
|
sectionpropertiesprops: sectionproperties,
|
|
25744
25791
|
srcfromprops: 'headerfullwidth',
|
|
25745
25792
|
actions: actions
|
|
25746
25793
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25747
|
-
"class": "col-xl-2 col-lg-3 d-flex align-items-center justify-content-
|
|
25794
|
+
"class": "col-xl-2 col-lg-3 d-flex align-items-center justify-content-end p-0"
|
|
25748
25795
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25749
25796
|
"class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
25750
25797
|
onClick: function onClick() {
|
|
@@ -25752,9 +25799,16 @@
|
|
|
25752
25799
|
},
|
|
25753
25800
|
style: {
|
|
25754
25801
|
marginRight: langdetect == 'en' ? '1rem' : 0,
|
|
25755
|
-
marginLeft: langdetect == 'ar' ? '1rem' : 0
|
|
25802
|
+
marginLeft: langdetect == 'ar' ? '1rem' : 0,
|
|
25803
|
+
position: 'relative'
|
|
25756
25804
|
}
|
|
25757
|
-
}, sectionproperties.
|
|
25805
|
+
}, sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25806
|
+
className: "".concat(headerstyles$5.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center align-items-center ',
|
|
25807
|
+
style: {
|
|
25808
|
+
top: sectionproperties.wishlistbadgetop + 'px',
|
|
25809
|
+
right: sectionproperties.wishlistbadgeright + 'px'
|
|
25810
|
+
}
|
|
25811
|
+
}, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
25758
25812
|
size: sectionproperties.favBtnIconfontsize
|
|
25759
25813
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
25760
25814
|
size: sectionproperties.favBtnIconfontsize
|
|
@@ -45255,6 +45309,8 @@
|
|
|
45255
45309
|
|
|
45256
45310
|
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; }
|
|
45257
45311
|
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; }
|
|
45312
|
+
// import { Swiper, SwiperSlide } from 'swiper/react';
|
|
45313
|
+
// import 'swiper/css';
|
|
45258
45314
|
function CardsArrayOfObjects(_ref) {
|
|
45259
45315
|
_ref.itemId;
|
|
45260
45316
|
var cardItem = _ref.cardItem,
|
|
@@ -47482,6 +47538,20 @@
|
|
|
47482
47538
|
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
47483
47539
|
color: sectionproperties.favBtnTextcoloronhover
|
|
47484
47540
|
}
|
|
47541
|
+
}),
|
|
47542
|
+
innercard: glamor.css({
|
|
47543
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
47544
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
47545
|
+
backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
47546
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
47547
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
47548
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
47549
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
47550
|
+
boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcolor,
|
|
47551
|
+
':hover': {
|
|
47552
|
+
transition: '.3s',
|
|
47553
|
+
boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcoloronhover
|
|
47554
|
+
}
|
|
47485
47555
|
})
|
|
47486
47556
|
};
|
|
47487
47557
|
var Buttons = function Buttons() {
|
|
@@ -47595,18 +47665,11 @@
|
|
|
47595
47665
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
47596
47666
|
}
|
|
47597
47667
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47598
|
-
"class": ' row ml-0 mr-0 w-100 '
|
|
47668
|
+
"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 ',
|
|
47669
|
+
style: {}
|
|
47599
47670
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47600
|
-
"class":
|
|
47601
|
-
style: {
|
|
47602
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
47603
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
47604
|
-
backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
47605
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
47606
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
47607
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
47608
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
|
|
47609
|
-
}
|
|
47671
|
+
"class": card_cssstyles.innercard + ' col-lg-12 pl-0 pr-0 h-100 ',
|
|
47672
|
+
style: {}
|
|
47610
47673
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47611
47674
|
"class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center cursor-pointer",
|
|
47612
47675
|
style: {
|
|
@@ -53857,7 +53920,7 @@
|
|
|
53857
53920
|
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; }
|
|
53858
53921
|
function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
53859
53922
|
var ModernProductCard = function ModernProductCard(props) {
|
|
53860
|
-
var _css
|
|
53923
|
+
var _css;
|
|
53861
53924
|
var _useState = React.useState(''),
|
|
53862
53925
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
53863
53926
|
sectionproperties = _useState2[0],
|
|
@@ -53870,15 +53933,15 @@
|
|
|
53870
53933
|
props.actions.lang;
|
|
53871
53934
|
var langdetect = props.actions.langdetect;
|
|
53872
53935
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
53873
|
-
props.actions.addtofavoritescontext;
|
|
53936
|
+
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
53874
53937
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
53875
53938
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
53876
|
-
props.actions.AddtoCartMutationContext;
|
|
53939
|
+
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
53877
53940
|
props.actions.StaticPagesLinksContext;
|
|
53878
53941
|
props.actions.routingcountext;
|
|
53879
53942
|
var NotificationManager = NotificationManager;
|
|
53880
53943
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
53881
|
-
props.actions.ikimagecredcontext;
|
|
53944
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
53882
53945
|
var updatequantity = function updatequantity(type) {
|
|
53883
53946
|
var tempitem = _objectSpread$g({}, item);
|
|
53884
53947
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
@@ -53944,6 +54007,62 @@
|
|
|
53944
54007
|
AddtoCartContext(addtocardpayloadobj);
|
|
53945
54008
|
}
|
|
53946
54009
|
};
|
|
54010
|
+
var addtocartbuttonrender = function addtocartbuttonrender() {
|
|
54011
|
+
if (AddtoCartMutationContext.isLoading) {
|
|
54012
|
+
var _AddtoCartMutationCon;
|
|
54013
|
+
if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 ? void 0 : (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
|
|
54014
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54015
|
+
"class": ' d-flex align-items-center justify-content-center '
|
|
54016
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
54017
|
+
color: sectionproperties.cart_iconcolor,
|
|
54018
|
+
width: "20px",
|
|
54019
|
+
height: "20px",
|
|
54020
|
+
duration: "1s"
|
|
54021
|
+
}));
|
|
54022
|
+
} else {
|
|
54023
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54024
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
54025
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
54026
|
+
"class": "",
|
|
54027
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54028
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
54029
|
+
"class": "",
|
|
54030
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54031
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
54032
|
+
"class": "",
|
|
54033
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54034
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
54035
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54036
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
54037
|
+
"class": "",
|
|
54038
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54039
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
54040
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54041
|
+
}));
|
|
54042
|
+
}
|
|
54043
|
+
}
|
|
54044
|
+
if (!AddtoCartMutationContext.isLoading) {
|
|
54045
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54046
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
54047
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
54048
|
+
"class": "",
|
|
54049
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54050
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
54051
|
+
"class": "",
|
|
54052
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54053
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
54054
|
+
"class": "",
|
|
54055
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54056
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
54057
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54058
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
54059
|
+
"class": "",
|
|
54060
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54061
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
54062
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54063
|
+
}));
|
|
54064
|
+
}
|
|
54065
|
+
};
|
|
53947
54066
|
var card_cssstyles = {
|
|
53948
54067
|
productcard: glamor.css({
|
|
53949
54068
|
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
@@ -54032,11 +54151,25 @@
|
|
|
54032
54151
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
54033
54152
|
}
|
|
54034
54153
|
}),
|
|
54035
|
-
quantitybtn: glamor.css(
|
|
54036
|
-
flex: 1,
|
|
54154
|
+
quantitybtn: glamor.css({
|
|
54155
|
+
// flex: 1,
|
|
54037
54156
|
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
54038
|
-
height: sectionproperties.quantitybtn_height + 'px'
|
|
54039
|
-
|
|
54157
|
+
height: sectionproperties.quantitybtn_height + 'px',
|
|
54158
|
+
width: sectionproperties.quantitybtn_width + 'px',
|
|
54159
|
+
maxWidth: '100%',
|
|
54160
|
+
display: 'flex',
|
|
54161
|
+
flexDirection: 'row',
|
|
54162
|
+
overflow: 'hidden',
|
|
54163
|
+
borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
|
|
54164
|
+
background: sectionproperties.quantitybtn_bgcolor,
|
|
54165
|
+
alignItems: 'center',
|
|
54166
|
+
justifyContent: 'center',
|
|
54167
|
+
margin: 0,
|
|
54168
|
+
position: 'relative',
|
|
54169
|
+
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
54170
|
+
color: sectionproperties.quantitybtn_textcolor,
|
|
54171
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px'
|
|
54172
|
+
}),
|
|
54040
54173
|
quantitybtn_text: glamor.css({
|
|
54041
54174
|
margin: 'auto'
|
|
54042
54175
|
}),
|
|
@@ -54048,37 +54181,46 @@
|
|
|
54048
54181
|
display: 'flex',
|
|
54049
54182
|
alignItems: 'center',
|
|
54050
54183
|
justifyContent: 'center',
|
|
54051
|
-
|
|
54184
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
54185
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
54186
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
54187
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
54052
54188
|
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
54053
54189
|
color: sectionproperties.add_quantitybtn_textcolor,
|
|
54054
54190
|
transition: '.3s',
|
|
54055
54191
|
':hover': {
|
|
54056
54192
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
54057
54193
|
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
54194
|
+
},
|
|
54195
|
+
':hover .addbtn': {
|
|
54196
|
+
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
54197
|
+
transition: '.3s'
|
|
54058
54198
|
}
|
|
54059
54199
|
}),
|
|
54060
54200
|
minus_quantitybtn_icon_container: glamor.css({
|
|
54061
54201
|
position: 'relative',
|
|
54062
|
-
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
54063
|
-
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
54064
|
-
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
54065
54202
|
display: 'flex',
|
|
54066
54203
|
alignItems: 'center',
|
|
54067
54204
|
justifyContent: 'center',
|
|
54068
|
-
|
|
54205
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
54206
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
54207
|
+
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
54069
54208
|
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
|
|
54070
54209
|
color: sectionproperties.remove_quantitybtn_textcolor,
|
|
54210
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
54211
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
54212
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
54213
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
54071
54214
|
transition: '.3s',
|
|
54072
54215
|
':hover': {
|
|
54073
54216
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
54074
54217
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
54218
|
+
},
|
|
54219
|
+
':hover .minusbtn': {
|
|
54220
|
+
transition: '.3s',
|
|
54221
|
+
color: sectionproperties.remove_quantitybtn_textcoloronhover
|
|
54075
54222
|
}
|
|
54076
54223
|
}),
|
|
54077
|
-
producttotalstyles: glamor.css({
|
|
54078
|
-
color: sectionproperties.total_color,
|
|
54079
|
-
fontSize: sectionproperties.total_fontsize + 'px',
|
|
54080
|
-
fontWeight: 500
|
|
54081
|
-
}),
|
|
54082
54224
|
productDescStyles: glamor.css({
|
|
54083
54225
|
color: sectionproperties.prodCatColor,
|
|
54084
54226
|
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
@@ -54088,8 +54230,101 @@
|
|
|
54088
54230
|
marginLeft: sectionproperties.description_marginLeft + 'px',
|
|
54089
54231
|
marginRight: sectionproperties.description_marginRight + 'px',
|
|
54090
54232
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
54233
|
+
}),
|
|
54234
|
+
quantity: glamor.css({
|
|
54235
|
+
color: sectionproperties.quantitycolor,
|
|
54236
|
+
fontSize: sectionproperties.quantityfontsize + 'px',
|
|
54237
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
54091
54238
|
})
|
|
54092
54239
|
};
|
|
54240
|
+
var ImageContent = function ImageContent() {
|
|
54241
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54242
|
+
"class": "w-100 allcentered"
|
|
54243
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
54244
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
54245
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
54246
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
54247
|
+
loading: "lazy",
|
|
54248
|
+
style: {
|
|
54249
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
54250
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
54251
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
54252
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
54253
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
54254
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
54255
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
54256
|
+
}
|
|
54257
|
+
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54258
|
+
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
54259
|
+
onClick: function onClick(e) {
|
|
54260
|
+
e.stopPropagation();
|
|
54261
|
+
addtofavoritescontext(item.productid);
|
|
54262
|
+
},
|
|
54263
|
+
style: {
|
|
54264
|
+
position: 'absolute',
|
|
54265
|
+
top: 10,
|
|
54266
|
+
right: langdetect == 'en' ? 10 : 0,
|
|
54267
|
+
left: langdetect == 'en' ? 0 : 10,
|
|
54268
|
+
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
54269
|
+
}
|
|
54270
|
+
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54271
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54272
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
54273
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
54274
|
+
style: {
|
|
54275
|
+
color: sectionproperties.activefaviconcolor
|
|
54276
|
+
}
|
|
54277
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
|
|
54278
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
54279
|
+
style: {
|
|
54280
|
+
color: sectionproperties.activefaviconcolor
|
|
54281
|
+
}
|
|
54282
|
+
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54283
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54284
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
54285
|
+
size: sectionproperties.favBtnIconfontsize
|
|
54286
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
54287
|
+
size: sectionproperties.favBtnIconfontsize
|
|
54288
|
+
}))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54289
|
+
"class": "allcentered",
|
|
54290
|
+
style: {
|
|
54291
|
+
position: 'absolute',
|
|
54292
|
+
top: sectionproperties.badge_top + 'px',
|
|
54293
|
+
right: langdetect == 'en' ? sectionproperties.badge_right + 'px' : '',
|
|
54294
|
+
left: langdetect == 'ar' ? sectionproperties.badge_right + 'px' : '',
|
|
54295
|
+
width: sectionproperties.badge_width + 'px',
|
|
54296
|
+
height: sectionproperties.badge_height + 'px',
|
|
54297
|
+
background: sectionproperties.badge_bgcolor,
|
|
54298
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
54299
|
+
border: sectionproperties.badgeborderwidth + 'px solid ' + sectionproperties.badge_color
|
|
54300
|
+
}
|
|
54301
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54302
|
+
"class": "m-0 p-0",
|
|
54303
|
+
style: {
|
|
54304
|
+
color: sectionproperties.badge_color,
|
|
54305
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
54306
|
+
}
|
|
54307
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54308
|
+
"class": "allcentered",
|
|
54309
|
+
style: {
|
|
54310
|
+
position: 'absolute',
|
|
54311
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
54312
|
+
right: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
54313
|
+
left: langdetect == 'ar' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
54314
|
+
width: sectionproperties.pillwidth + 'px',
|
|
54315
|
+
height: sectionproperties.pillheight + 'px',
|
|
54316
|
+
background: sectionproperties.pillbgcolor,
|
|
54317
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
54318
|
+
}
|
|
54319
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54320
|
+
"class": "m-0 p-0",
|
|
54321
|
+
style: {
|
|
54322
|
+
color: sectionproperties.pillcolor,
|
|
54323
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
54324
|
+
direction: 'ltr'
|
|
54325
|
+
}
|
|
54326
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')));
|
|
54327
|
+
};
|
|
54093
54328
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54094
54329
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
|
|
54095
54330
|
style: {
|
|
@@ -54103,7 +54338,27 @@
|
|
|
54103
54338
|
// }}
|
|
54104
54339
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54105
54340
|
"class": "".concat(card_cssstyles.innerproductcard) + ' w-100 '
|
|
54106
|
-
}, /*#__PURE__*/React__default["default"].createElement("div",
|
|
54341
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54342
|
+
onClick: function onClick() {
|
|
54343
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54344
|
+
},
|
|
54345
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-flex d-md-none w-100 ',
|
|
54346
|
+
style: {
|
|
54347
|
+
position: 'relative',
|
|
54348
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
54349
|
+
height: sectionproperties.image_height + 'px'
|
|
54350
|
+
}
|
|
54351
|
+
}, ImageContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54352
|
+
onClick: function onClick() {
|
|
54353
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54354
|
+
},
|
|
54355
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-none d-md-flex ',
|
|
54356
|
+
style: {
|
|
54357
|
+
position: 'relative',
|
|
54358
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
54359
|
+
height: sectionproperties.height_responsive + 'px'
|
|
54360
|
+
}
|
|
54361
|
+
}, ImageContent()), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54107
54362
|
"class": "row m-0 w-100"
|
|
54108
54363
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54109
54364
|
onClick: function onClick() {
|
|
@@ -54120,7 +54375,11 @@
|
|
|
54120
54375
|
style: {
|
|
54121
54376
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
54122
54377
|
}
|
|
54123
|
-
}, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54378
|
+
}, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), sectionproperties.quantityshow == 'Show' && item.measurmentunit != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54379
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
54380
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54381
|
+
"class": "".concat(card_cssstyles.quantity) + ' m-0 '
|
|
54382
|
+
}, item.measurmentunit)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54124
54383
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
|
|
54125
54384
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54126
54385
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
@@ -54131,7 +54390,7 @@
|
|
|
54131
54390
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54132
54391
|
"class": "row mt-1 m-0 w-100"
|
|
54133
54392
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54134
|
-
"class": "col-lg-6 col-md-8 col-sm-8 p-0"
|
|
54393
|
+
"class": "col-lg-6 col-md-8 col-sm-8 p-0 d-flex align-items-center justify-content-start"
|
|
54135
54394
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54136
54395
|
style: {
|
|
54137
54396
|
width: sectionproperties.quantitybtn_width + 'px'
|
|
@@ -54139,24 +54398,16 @@
|
|
|
54139
54398
|
"class": ' row m-0 d-flex align-items-center '
|
|
54140
54399
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54141
54400
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
54142
|
-
},
|
|
54143
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + '
|
|
54144
|
-
style: {
|
|
54145
|
-
transform: ' rotate(-180deg)'
|
|
54146
|
-
},
|
|
54401
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54402
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
|
|
54147
54403
|
onClick: function onClick() {
|
|
54148
54404
|
updatequantity('remove');
|
|
54149
54405
|
}
|
|
54150
54406
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54151
|
-
"class": "
|
|
54152
|
-
}
|
|
54153
|
-
|
|
54154
|
-
|
|
54155
|
-
updatequantity('add');
|
|
54156
|
-
}
|
|
54157
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54158
|
-
"class": "fa fa-chevron-up"
|
|
54159
|
-
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54407
|
+
"class": "h-100 allcentered"
|
|
54408
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMinus.AiOutlineMinus, {
|
|
54409
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
54410
|
+
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54160
54411
|
"class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
54161
54412
|
style: {
|
|
54162
54413
|
background: sectionproperties.quantbtntextbgcolor,
|
|
@@ -54164,24 +54415,16 @@
|
|
|
54164
54415
|
height: sectionproperties.quantitybtntextheight + 'px',
|
|
54165
54416
|
borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
|
|
54166
54417
|
}
|
|
54167
|
-
}, item.quantity),
|
|
54168
|
-
"class": "".concat(card_cssstyles.
|
|
54169
|
-
style: {
|
|
54170
|
-
transform: ' rotate(-180deg)'
|
|
54171
|
-
},
|
|
54172
|
-
onClick: function onClick() {
|
|
54173
|
-
updatequantity('remove');
|
|
54174
|
-
}
|
|
54175
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54176
|
-
"class": "fa fa-chevron-up "
|
|
54177
|
-
})), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54178
|
-
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
54418
|
+
}, item.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54419
|
+
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' ',
|
|
54179
54420
|
onClick: function onClick() {
|
|
54180
54421
|
updatequantity('add');
|
|
54181
54422
|
}
|
|
54182
54423
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54183
|
-
"class": "
|
|
54184
|
-
}
|
|
54424
|
+
"class": "h-100 allcentered"
|
|
54425
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlinePlus.AiOutlinePlus, {
|
|
54426
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
54427
|
+
})))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54185
54428
|
"class": "col-lg-6 col-md-4 col-sm-4 d-flex align-items-center justify-content-end p-0"
|
|
54186
54429
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54187
54430
|
"class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
@@ -54192,26 +54435,9 @@
|
|
|
54192
54435
|
setShowProductInfoModalContext(true);
|
|
54193
54436
|
setProductIdProdutInfoModalContext(item.productid);
|
|
54194
54437
|
}
|
|
54195
|
-
}
|
|
54196
|
-
|
|
54197
|
-
|
|
54198
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
54199
|
-
"class": "",
|
|
54200
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54201
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
54202
|
-
"class": "",
|
|
54203
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54204
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
54205
|
-
"class": "",
|
|
54206
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54207
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
54208
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54209
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
54210
|
-
"class": "",
|
|
54211
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54212
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
54213
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54214
|
-
})))))))));
|
|
54438
|
+
},
|
|
54439
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
54440
|
+
}, addtocartbuttonrender())))))));
|
|
54215
54441
|
};
|
|
54216
54442
|
|
|
54217
54443
|
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}";
|