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.cjs.js
CHANGED
|
@@ -989,14 +989,11 @@ var Login = function Login(props) {
|
|
|
989
989
|
temppayloadobj.email = event.target.value;
|
|
990
990
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
991
991
|
},
|
|
992
|
-
disabled: forgetpasswordstage == 'verify' ? true : false
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineUser.AiOutlineUser, {
|
|
998
|
-
size: 18
|
|
999
|
-
})))), forgetpasswordstage == 'verify' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
992
|
+
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
993
|
+
style: {
|
|
994
|
+
background: 'transparent'
|
|
995
|
+
}
|
|
996
|
+
})), forgetpasswordstage == 'verify' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1000
997
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
|
|
1001
998
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
1002
999
|
className: "".concat(loginstyles2.logininputLabel) + ' text-transform-none d-flex justify-content-start '
|
|
@@ -1008,6 +1005,9 @@ var Login = function Login(props) {
|
|
|
1008
1005
|
var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
|
|
1009
1006
|
temppayloadobj.code = event.target.value;
|
|
1010
1007
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
1008
|
+
},
|
|
1009
|
+
style: {
|
|
1010
|
+
background: 'transparent'
|
|
1011
1011
|
}
|
|
1012
1012
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1013
1013
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0"
|
|
@@ -1021,6 +1021,9 @@ var Login = function Login(props) {
|
|
|
1021
1021
|
var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
|
|
1022
1022
|
temppayloadobj.newpassword = event.target.value;
|
|
1023
1023
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
1024
|
+
},
|
|
1025
|
+
style: {
|
|
1026
|
+
background: 'transparent'
|
|
1024
1027
|
}
|
|
1025
1028
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1026
1029
|
className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
|
|
@@ -1034,6 +1037,9 @@ var Login = function Login(props) {
|
|
|
1034
1037
|
var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
|
|
1035
1038
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
1036
1039
|
setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
|
|
1040
|
+
},
|
|
1041
|
+
style: {
|
|
1042
|
+
background: 'transparent'
|
|
1037
1043
|
}
|
|
1038
1044
|
}))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1039
1045
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 "
|
|
@@ -1105,9 +1111,12 @@ var Imagekitimagecomp = function Imagekitimagecomp(props) {
|
|
|
1105
1111
|
}));
|
|
1106
1112
|
};
|
|
1107
1113
|
|
|
1108
|
-
|
|
1114
|
+
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";
|
|
1115
|
+
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-"};
|
|
1116
|
+
styleInject(css_248z$H);
|
|
1117
|
+
|
|
1109
1118
|
var Variantoptions = function Variantoptions(props) {
|
|
1110
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
|
|
1119
|
+
var _css, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
|
|
1111
1120
|
var lang = props.actions.lang;
|
|
1112
1121
|
var langdetect = props.actions.langdetect;
|
|
1113
1122
|
var selectproductoptionvalue = props.actions.selectproductoptionvalue;
|
|
@@ -1116,9 +1125,30 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1116
1125
|
var sectionproperties = props.actions.sectionproperties;
|
|
1117
1126
|
props.actions.ikimagecredcontext;
|
|
1118
1127
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
1128
|
+
var formstyles = {
|
|
1129
|
+
input_label_name: glamor.css({
|
|
1130
|
+
color: sectionproperties.form_labelcolor,
|
|
1131
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
1132
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
1133
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
1134
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
1135
|
+
}),
|
|
1136
|
+
form_control: glamor.css((_css = {
|
|
1137
|
+
background: 'transparent',
|
|
1138
|
+
color: sectionproperties.inputfieldcolor,
|
|
1139
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
1140
|
+
position: 'relative',
|
|
1141
|
+
display: 'flex',
|
|
1142
|
+
alignItems: 'center'
|
|
1143
|
+
}, _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', {
|
|
1144
|
+
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
1145
|
+
}), _defineProperty__default["default"](_css, ':focus .login_input_icon', {
|
|
1146
|
+
color: sectionproperties.inputfeildbordercoloronfocus
|
|
1147
|
+
}), _css))
|
|
1148
|
+
};
|
|
1119
1149
|
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", {
|
|
1120
1150
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1121
|
-
}, 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) {
|
|
1151
|
+
}, 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) {
|
|
1122
1152
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1123
1153
|
className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
|
|
1124
1154
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1242,7 +1272,23 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1242
1272
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1243
1273
|
}
|
|
1244
1274
|
}))));
|
|
1245
|
-
}))
|
|
1275
|
+
})), sectionproperties.variantstyle == 'Select Box' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1276
|
+
"class": "col-lg-12"
|
|
1277
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
1278
|
+
className: ' d-flex align-items-start mb-2 ',
|
|
1279
|
+
style: {
|
|
1280
|
+
color: sectionproperties.varianttitle_color,
|
|
1281
|
+
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
1282
|
+
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1283
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1284
|
+
}
|
|
1285
|
+
}, "label"), /*#__PURE__*/React__default["default"].createElement("select", {
|
|
1286
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control)
|
|
1287
|
+
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
1288
|
+
value: ''
|
|
1289
|
+
}, langdetect == 'en' ? 'Choose' : 'إختر'), /*#__PURE__*/React__default["default"].createElement("option", {
|
|
1290
|
+
value: 'asd'
|
|
1291
|
+
}, "asdasd")))));
|
|
1246
1292
|
};
|
|
1247
1293
|
|
|
1248
1294
|
//productidprops
|
|
@@ -1336,10 +1382,6 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1336
1382
|
}, '-' + 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) + '%'))))));
|
|
1337
1383
|
};
|
|
1338
1384
|
|
|
1339
|
-
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";
|
|
1340
|
-
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-"};
|
|
1341
|
-
styleInject(css_248z$H);
|
|
1342
|
-
|
|
1343
1385
|
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; }
|
|
1344
1386
|
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; }
|
|
1345
1387
|
var ProductExtraFields = function ProductExtraFields(props) {
|
|
@@ -13062,6 +13104,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13062
13104
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
13063
13105
|
}
|
|
13064
13106
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
13107
|
+
// if (sectionproperties.overallnumberofcards != 0) {
|
|
13108
|
+
// if (cardinfoindex < sectionproperties.overallnumberofcards) {
|
|
13065
13109
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13066
13110
|
"class": sectionproperties.numberOfColsvertical == '1' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-12 p-0 col-lg-12 col-md-4 p-0 d-flex justify-content-center col-sm-6 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-12 p-0 col-lg-12 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : sectionproperties.numberOfColsvertical == '2' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft ' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-6 p-0 col-lg-6 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0' : sectionproperties.numberOfColsvertical == '3' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-4 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-4 p-0 col-lg-4 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-4 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-4 col-lg-4 col-md-6 col-sm-6 d-flex justify-content-center p-0 ' : sectionproperties.numberOfColsvertical == '4' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'ModernProductCard' ? ' col-xl-3 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-3 col-lg-4 col-md-4 col-sm-12 p-0 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-3 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center p-0 ' : sectionproperties.numberOfColsvertical == '12' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-3 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : '' : sectionproperties.numberOfColsvertical == '6' ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? ' col-xl-2 p-0 col-lg-2 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? ' col-xl-2 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Card20' ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto ' : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow' ? ' col-xl-2 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard' ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0' : item.tabexsectioninfo.sectioncompname == 'CardWithTextOnly' ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-12 d-flex justify-content-center p-0 ' : ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ' : ''
|
|
13067
13111
|
}, /*#__PURE__*/React__default["default"].createElement(Sectioncomp, {
|
|
@@ -13076,7 +13120,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13076
13120
|
fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : '',
|
|
13077
13121
|
numberOfColsvertical: sectionproperties.numberOfColsvertical
|
|
13078
13122
|
}));
|
|
13079
|
-
|
|
13123
|
+
// }
|
|
13124
|
+
}), fetchingtype == 'products' && sectionproperties.showpagination == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13080
13125
|
className: "w-100 col-lg-12 allcentered mt-2"
|
|
13081
13126
|
}, /*#__PURE__*/React__default["default"].createElement(PaginatedItems, {
|
|
13082
13127
|
itemsPerPage: 5
|
|
@@ -13828,9 +13873,19 @@ var Subheader = function Subheader(props) {
|
|
|
13828
13873
|
zIndex: 2000,
|
|
13829
13874
|
position: ((_props$subheaderprope29 = props.subheaderpropertiesprops) === null || _props$subheaderprope29 === void 0 ? void 0 : _props$subheaderprope29.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
|
|
13830
13875
|
top: ((_props$subheaderprope30 = props.subheaderpropertiesprops) === null || _props$subheaderprope30 === void 0 ? void 0 : _props$subheaderprope30.headernameprops) == 'Stylish Header' && ((_props$subheaderprope31 = props.subheaderpropertiesprops) === null || _props$subheaderprope31 === void 0 ? void 0 : _props$subheaderprope31.subheaderpositionprops) == 'in nav' ? 50 : ((_props$subheaderprope32 = props.subheaderpropertiesprops) === null || _props$subheaderprope32 === void 0 ? void 0 : _props$subheaderprope32.subheaderpositionprops) == 'in nav' ? 30 : '',
|
|
13831
|
-
border:
|
|
13832
|
-
|
|
13833
|
-
|
|
13876
|
+
// border:
|
|
13877
|
+
// sectionproperties.subheader_width != 100
|
|
13878
|
+
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
13879
|
+
// : 0,
|
|
13880
|
+
border: sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor,
|
|
13881
|
+
// borderBottom:
|
|
13882
|
+
// sectionproperties.subheader_width == 100
|
|
13883
|
+
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
13884
|
+
// : 0,
|
|
13885
|
+
// borderTop:
|
|
13886
|
+
// sectionproperties.subheader_width == 100
|
|
13887
|
+
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
13888
|
+
// : 0,
|
|
13834
13889
|
paddingLeft: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingLeft + 'px' : sectionproperties.subheader_dropdown_paddingRight + 'px',
|
|
13835
13890
|
paddingRight: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingRight + 'px' : sectionproperties.subheader_dropdown_paddingLeft + 'px'
|
|
13836
13891
|
}
|
|
@@ -25235,7 +25290,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25235
25290
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
25236
25291
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
25237
25292
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
25238
|
-
props.actions.favoriteprojectscountContext;
|
|
25293
|
+
var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
|
|
25239
25294
|
var routingcountext = props.actions.routingcountext;
|
|
25240
25295
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
25241
25296
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
@@ -25559,7 +25614,10 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25559
25614
|
"class": header_cssstyles.upperheadertext + ' storeinfotext ml-1 mr-1 ',
|
|
25560
25615
|
size: sectionproperties.footerinfotext_fontsize
|
|
25561
25616
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25562
|
-
"class": header_cssstyles.upperheadertext + ' storeinfotext '
|
|
25617
|
+
"class": header_cssstyles.upperheadertext + ' storeinfotext ',
|
|
25618
|
+
style: {
|
|
25619
|
+
textTransform: 'none'
|
|
25620
|
+
}
|
|
25563
25621
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : (_authdetailsContext$i4 = _authdetailsContext$i3.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email)), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25564
25622
|
"class": header_cssstyles.storeinfocontainer + ' d-flex align-items-center justify-content-center '
|
|
25565
25623
|
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
@@ -25668,7 +25726,10 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25668
25726
|
}), sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React__default["default"].createElement(BiGlobe.BiGlobe, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25669
25727
|
"class": 'ml-2 mr-2'
|
|
25670
25728
|
}, lang.english))))))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25671
|
-
"class": "".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ml-3 mr-3 '
|
|
25729
|
+
"class": "".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ml-3 mr-3 ',
|
|
25730
|
+
onClick: function onClick() {
|
|
25731
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
25732
|
+
}
|
|
25672
25733
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25673
25734
|
"class": ' d-flex justify-content-center align-items-center '
|
|
25674
25735
|
}, /*#__PURE__*/React__default["default"].createElement(FiUser.FiUser, {
|
|
@@ -25705,27 +25766,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25705
25766
|
style: {
|
|
25706
25767
|
maxWidth: '150px'
|
|
25707
25768
|
}
|
|
25708
|
-
}, authdetailsContext.customerinfo.name))))),
|
|
25709
|
-
onClick: function onClick() {
|
|
25710
|
-
routingcountext(StaticPagesLinksContext.Login);
|
|
25711
|
-
}
|
|
25712
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25713
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
25714
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
25715
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
25716
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineLogin.AiOutlineLogin, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25717
|
-
"class": "ml-2 mr-2"
|
|
25718
|
-
}, lang.login)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
25719
|
-
onClick: function onClick() {
|
|
25720
|
-
routingcountext(StaticPagesLinksContext.Signup);
|
|
25721
|
-
}
|
|
25722
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25723
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
25724
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
25725
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
25726
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineUserAdd.AiOutlineUserAdd, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25727
|
-
"class": "ml-2 mr-2 text-transform-none"
|
|
25728
|
-
}, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
25769
|
+
}, authdetailsContext.customerinfo.name))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
25729
25770
|
style: {
|
|
25730
25771
|
minWidth: '200px'
|
|
25731
25772
|
}
|
|
@@ -25825,7 +25866,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25825
25866
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : sectionproperties.searchbarcont_borderTopLeftRadius + 'px',
|
|
25826
25867
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px'
|
|
25827
25868
|
}
|
|
25828
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25869
|
+
}, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25829
25870
|
"class": 'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start h-100',
|
|
25830
25871
|
onClick: function onClick() {
|
|
25831
25872
|
setdropdownselect(!dropdownselect);
|
|
@@ -25869,20 +25910,20 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25869
25910
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem text-overflow m-0 p-0 '
|
|
25870
25911
|
}, langdetect == 'en' ? item.title_en : item.title_ar)))), index != authdetailsContext.instinfo.instcollections.length - 1 && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null));
|
|
25871
25912
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25872
|
-
"class":
|
|
25913
|
+
"class": sectionproperties.generalbtn_show == 'Show' ? 'col-xl-9 col-lg-8 p-0 d-flex justify-content-end align-items-center h-100' : 'col-xl-12 col-lg-12 p-0 d-flex justify-content-end align-items-center h-100'
|
|
25873
25914
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25874
25915
|
"class": ' row m-0 w-100 h-100 ',
|
|
25875
25916
|
style: {
|
|
25876
25917
|
position: 'relative',
|
|
25877
25918
|
backgroundColor: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
|
|
25878
|
-
borderBottomLeftRadius: langdetect == 'ar' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : 0,
|
|
25879
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : 0,
|
|
25880
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : 0,
|
|
25881
|
-
borderTopLeftRadius: langdetect == 'ar' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0
|
|
25919
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'ar' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : sectionproperties.searchbarcont_borderBottomRightRadius + 'px',
|
|
25920
|
+
borderBottomRightRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : sectionproperties.searchbarcont_borderBottomLeftRadius + 'px',
|
|
25921
|
+
borderTopRightRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0,
|
|
25922
|
+
borderTopLeftRadius: sectionproperties.generalbtn_show == 'Show' ? langdetect == 'ar' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : 0 : langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px'
|
|
25882
25923
|
}
|
|
25883
25924
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
25884
25925
|
type: "text",
|
|
25885
|
-
placeholder:
|
|
25926
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
25886
25927
|
"class": "".concat(header_cssstyles.searchbarcont_input) + ' h-100 ',
|
|
25887
25928
|
onChange: function onChange(event) {
|
|
25888
25929
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -25894,12 +25935,18 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25894
25935
|
marginLeft: langdetect == 'ar' ? '-0.25rem' : 0,
|
|
25895
25936
|
marginTop: sectionproperties.searchbarcontinput_borderwidth != 0 ? '-0.1rem' : 0
|
|
25896
25937
|
}
|
|
25897
|
-
},
|
|
25938
|
+
}, sectionproperties.showsearchicon == 'Hide' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25939
|
+
"class": "h-100 allcentered"
|
|
25940
|
+
}, lang.search), sectionproperties.showsearchicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25941
|
+
"class": "h-100 allcentered"
|
|
25942
|
+
}, /*#__PURE__*/React__default["default"].createElement(BiSearch.BiSearch, {
|
|
25943
|
+
size: sectionproperties.search_btn_fontSize
|
|
25944
|
+
}))), /*#__PURE__*/React__default["default"].createElement(Searchlist$1, {
|
|
25898
25945
|
sectionpropertiesprops: sectionproperties,
|
|
25899
25946
|
srcfromprops: 'headerfullwidth',
|
|
25900
25947
|
actions: actions
|
|
25901
25948
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25902
|
-
"class": "col-xl-2 col-lg-3 d-flex align-items-center justify-content-
|
|
25949
|
+
"class": "col-xl-2 col-lg-3 d-flex align-items-center justify-content-end p-0"
|
|
25903
25950
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25904
25951
|
"class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
25905
25952
|
onClick: function onClick() {
|
|
@@ -25907,9 +25954,16 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
25907
25954
|
},
|
|
25908
25955
|
style: {
|
|
25909
25956
|
marginRight: langdetect == 'en' ? '1rem' : 0,
|
|
25910
|
-
marginLeft: langdetect == 'ar' ? '1rem' : 0
|
|
25957
|
+
marginLeft: langdetect == 'ar' ? '1rem' : 0,
|
|
25958
|
+
position: 'relative'
|
|
25911
25959
|
}
|
|
25912
|
-
}, sectionproperties.
|
|
25960
|
+
}, sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25961
|
+
className: "".concat(headerstyles$5.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center align-items-center ',
|
|
25962
|
+
style: {
|
|
25963
|
+
top: sectionproperties.wishlistbadgetop + 'px',
|
|
25964
|
+
right: sectionproperties.wishlistbadgeright + 'px'
|
|
25965
|
+
}
|
|
25966
|
+
}, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
25913
25967
|
size: sectionproperties.favBtnIconfontsize
|
|
25914
25968
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
25915
25969
|
size: sectionproperties.favBtnIconfontsize
|
|
@@ -45410,6 +45464,8 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
45410
45464
|
|
|
45411
45465
|
function ownKeys$K(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
45412
45466
|
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; }
|
|
45467
|
+
// import { Swiper, SwiperSlide } from 'swiper/react';
|
|
45468
|
+
// import 'swiper/css';
|
|
45413
45469
|
function CardsArrayOfObjects(_ref) {
|
|
45414
45470
|
_ref.itemId;
|
|
45415
45471
|
var cardItem = _ref.cardItem,
|
|
@@ -47637,6 +47693,20 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
47637
47693
|
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
47638
47694
|
color: sectionproperties.favBtnTextcoloronhover
|
|
47639
47695
|
}
|
|
47696
|
+
}),
|
|
47697
|
+
innercard: glamor.css({
|
|
47698
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
47699
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
47700
|
+
backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
47701
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
47702
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
47703
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
47704
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
47705
|
+
boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcolor,
|
|
47706
|
+
':hover': {
|
|
47707
|
+
transition: '.3s',
|
|
47708
|
+
boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcoloronhover
|
|
47709
|
+
}
|
|
47640
47710
|
})
|
|
47641
47711
|
};
|
|
47642
47712
|
var Buttons = function Buttons() {
|
|
@@ -47750,18 +47820,11 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
47750
47820
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
47751
47821
|
}
|
|
47752
47822
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47753
|
-
"class": ' row ml-0 mr-0 w-100 '
|
|
47823
|
+
"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 ',
|
|
47824
|
+
style: {}
|
|
47754
47825
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47755
|
-
"class":
|
|
47756
|
-
style: {
|
|
47757
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
47758
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
47759
|
-
backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
47760
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
47761
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
47762
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
47763
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
|
|
47764
|
-
}
|
|
47826
|
+
"class": card_cssstyles.innercard + ' col-lg-12 pl-0 pr-0 h-100 ',
|
|
47827
|
+
style: {}
|
|
47765
47828
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47766
47829
|
"class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center cursor-pointer",
|
|
47767
47830
|
style: {
|
|
@@ -54012,7 +54075,7 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
54012
54075
|
function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
54013
54076
|
function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
54014
54077
|
var ModernProductCard = function ModernProductCard(props) {
|
|
54015
|
-
var _css
|
|
54078
|
+
var _css;
|
|
54016
54079
|
var _useState = React.useState(''),
|
|
54017
54080
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
54018
54081
|
sectionproperties = _useState2[0],
|
|
@@ -54025,15 +54088,15 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54025
54088
|
props.actions.lang;
|
|
54026
54089
|
var langdetect = props.actions.langdetect;
|
|
54027
54090
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
54028
|
-
props.actions.addtofavoritescontext;
|
|
54091
|
+
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
54029
54092
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
54030
54093
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
54031
|
-
props.actions.AddtoCartMutationContext;
|
|
54094
|
+
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
54032
54095
|
props.actions.StaticPagesLinksContext;
|
|
54033
54096
|
props.actions.routingcountext;
|
|
54034
54097
|
var NotificationManager = NotificationManager;
|
|
54035
54098
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
54036
|
-
props.actions.ikimagecredcontext;
|
|
54099
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
54037
54100
|
var updatequantity = function updatequantity(type) {
|
|
54038
54101
|
var tempitem = _objectSpread$g({}, item);
|
|
54039
54102
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
@@ -54099,6 +54162,62 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54099
54162
|
AddtoCartContext(addtocardpayloadobj);
|
|
54100
54163
|
}
|
|
54101
54164
|
};
|
|
54165
|
+
var addtocartbuttonrender = function addtocartbuttonrender() {
|
|
54166
|
+
if (AddtoCartMutationContext.isLoading) {
|
|
54167
|
+
var _AddtoCartMutationCon;
|
|
54168
|
+
if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 ? void 0 : (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
|
|
54169
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54170
|
+
"class": ' d-flex align-items-center justify-content-center '
|
|
54171
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
54172
|
+
color: sectionproperties.cart_iconcolor,
|
|
54173
|
+
width: "20px",
|
|
54174
|
+
height: "20px",
|
|
54175
|
+
duration: "1s"
|
|
54176
|
+
}));
|
|
54177
|
+
} else {
|
|
54178
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54179
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
54180
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
54181
|
+
"class": "",
|
|
54182
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54183
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
54184
|
+
"class": "",
|
|
54185
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54186
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
54187
|
+
"class": "",
|
|
54188
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54189
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
54190
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54191
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
54192
|
+
"class": "",
|
|
54193
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54194
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
54195
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54196
|
+
}));
|
|
54197
|
+
}
|
|
54198
|
+
}
|
|
54199
|
+
if (!AddtoCartMutationContext.isLoading) {
|
|
54200
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54201
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
54202
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
54203
|
+
"class": "",
|
|
54204
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54205
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
54206
|
+
"class": "",
|
|
54207
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54208
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
54209
|
+
"class": "",
|
|
54210
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54211
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
54212
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54213
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
54214
|
+
"class": "",
|
|
54215
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54216
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
54217
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
54218
|
+
}));
|
|
54219
|
+
}
|
|
54220
|
+
};
|
|
54102
54221
|
var card_cssstyles = {
|
|
54103
54222
|
productcard: glamor.css({
|
|
54104
54223
|
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
@@ -54187,11 +54306,25 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54187
54306
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
54188
54307
|
}
|
|
54189
54308
|
}),
|
|
54190
|
-
quantitybtn: glamor.css(
|
|
54191
|
-
flex: 1,
|
|
54309
|
+
quantitybtn: glamor.css({
|
|
54310
|
+
// flex: 1,
|
|
54192
54311
|
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
54193
|
-
height: sectionproperties.quantitybtn_height + 'px'
|
|
54194
|
-
|
|
54312
|
+
height: sectionproperties.quantitybtn_height + 'px',
|
|
54313
|
+
width: sectionproperties.quantitybtn_width + 'px',
|
|
54314
|
+
maxWidth: '100%',
|
|
54315
|
+
display: 'flex',
|
|
54316
|
+
flexDirection: 'row',
|
|
54317
|
+
overflow: 'hidden',
|
|
54318
|
+
borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
|
|
54319
|
+
background: sectionproperties.quantitybtn_bgcolor,
|
|
54320
|
+
alignItems: 'center',
|
|
54321
|
+
justifyContent: 'center',
|
|
54322
|
+
margin: 0,
|
|
54323
|
+
position: 'relative',
|
|
54324
|
+
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
54325
|
+
color: sectionproperties.quantitybtn_textcolor,
|
|
54326
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px'
|
|
54327
|
+
}),
|
|
54195
54328
|
quantitybtn_text: glamor.css({
|
|
54196
54329
|
margin: 'auto'
|
|
54197
54330
|
}),
|
|
@@ -54203,37 +54336,46 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54203
54336
|
display: 'flex',
|
|
54204
54337
|
alignItems: 'center',
|
|
54205
54338
|
justifyContent: 'center',
|
|
54206
|
-
|
|
54339
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
54340
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
54341
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
54342
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
54207
54343
|
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
54208
54344
|
color: sectionproperties.add_quantitybtn_textcolor,
|
|
54209
54345
|
transition: '.3s',
|
|
54210
54346
|
':hover': {
|
|
54211
54347
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
54212
54348
|
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
54349
|
+
},
|
|
54350
|
+
':hover .addbtn': {
|
|
54351
|
+
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
54352
|
+
transition: '.3s'
|
|
54213
54353
|
}
|
|
54214
54354
|
}),
|
|
54215
54355
|
minus_quantitybtn_icon_container: glamor.css({
|
|
54216
54356
|
position: 'relative',
|
|
54217
|
-
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
54218
|
-
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
54219
|
-
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
54220
54357
|
display: 'flex',
|
|
54221
54358
|
alignItems: 'center',
|
|
54222
54359
|
justifyContent: 'center',
|
|
54223
|
-
|
|
54360
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
54361
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
54362
|
+
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
54224
54363
|
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
|
|
54225
54364
|
color: sectionproperties.remove_quantitybtn_textcolor,
|
|
54365
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
54366
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
54367
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
54368
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
54226
54369
|
transition: '.3s',
|
|
54227
54370
|
':hover': {
|
|
54228
54371
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
54229
54372
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
54373
|
+
},
|
|
54374
|
+
':hover .minusbtn': {
|
|
54375
|
+
transition: '.3s',
|
|
54376
|
+
color: sectionproperties.remove_quantitybtn_textcoloronhover
|
|
54230
54377
|
}
|
|
54231
54378
|
}),
|
|
54232
|
-
producttotalstyles: glamor.css({
|
|
54233
|
-
color: sectionproperties.total_color,
|
|
54234
|
-
fontSize: sectionproperties.total_fontsize + 'px',
|
|
54235
|
-
fontWeight: 500
|
|
54236
|
-
}),
|
|
54237
54379
|
productDescStyles: glamor.css({
|
|
54238
54380
|
color: sectionproperties.prodCatColor,
|
|
54239
54381
|
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
@@ -54243,8 +54385,101 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54243
54385
|
marginLeft: sectionproperties.description_marginLeft + 'px',
|
|
54244
54386
|
marginRight: sectionproperties.description_marginRight + 'px',
|
|
54245
54387
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
54388
|
+
}),
|
|
54389
|
+
quantity: glamor.css({
|
|
54390
|
+
color: sectionproperties.quantitycolor,
|
|
54391
|
+
fontSize: sectionproperties.quantityfontsize + 'px',
|
|
54392
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
54246
54393
|
})
|
|
54247
54394
|
};
|
|
54395
|
+
var ImageContent = function ImageContent() {
|
|
54396
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54397
|
+
"class": "w-100 allcentered"
|
|
54398
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
54399
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
54400
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
54401
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
54402
|
+
loading: "lazy",
|
|
54403
|
+
style: {
|
|
54404
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
54405
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
54406
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
54407
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
54408
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
54409
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
54410
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
54411
|
+
}
|
|
54412
|
+
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54413
|
+
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
54414
|
+
onClick: function onClick(e) {
|
|
54415
|
+
e.stopPropagation();
|
|
54416
|
+
addtofavoritescontext(item.productid);
|
|
54417
|
+
},
|
|
54418
|
+
style: {
|
|
54419
|
+
position: 'absolute',
|
|
54420
|
+
top: 10,
|
|
54421
|
+
right: langdetect == 'en' ? 10 : 0,
|
|
54422
|
+
left: langdetect == 'en' ? 0 : 10,
|
|
54423
|
+
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
54424
|
+
}
|
|
54425
|
+
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54426
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54427
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
54428
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
54429
|
+
style: {
|
|
54430
|
+
color: sectionproperties.activefaviconcolor
|
|
54431
|
+
}
|
|
54432
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
|
|
54433
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
54434
|
+
style: {
|
|
54435
|
+
color: sectionproperties.activefaviconcolor
|
|
54436
|
+
}
|
|
54437
|
+
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54438
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54439
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
54440
|
+
size: sectionproperties.favBtnIconfontsize
|
|
54441
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
54442
|
+
size: sectionproperties.favBtnIconfontsize
|
|
54443
|
+
}))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54444
|
+
"class": "allcentered",
|
|
54445
|
+
style: {
|
|
54446
|
+
position: 'absolute',
|
|
54447
|
+
top: sectionproperties.badge_top + 'px',
|
|
54448
|
+
right: langdetect == 'en' ? sectionproperties.badge_right + 'px' : '',
|
|
54449
|
+
left: langdetect == 'ar' ? sectionproperties.badge_right + 'px' : '',
|
|
54450
|
+
width: sectionproperties.badge_width + 'px',
|
|
54451
|
+
height: sectionproperties.badge_height + 'px',
|
|
54452
|
+
background: sectionproperties.badge_bgcolor,
|
|
54453
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
54454
|
+
border: sectionproperties.badgeborderwidth + 'px solid ' + sectionproperties.badge_color
|
|
54455
|
+
}
|
|
54456
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54457
|
+
"class": "m-0 p-0",
|
|
54458
|
+
style: {
|
|
54459
|
+
color: sectionproperties.badge_color,
|
|
54460
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
54461
|
+
}
|
|
54462
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54463
|
+
"class": "allcentered",
|
|
54464
|
+
style: {
|
|
54465
|
+
position: 'absolute',
|
|
54466
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
54467
|
+
right: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
54468
|
+
left: langdetect == 'ar' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
54469
|
+
width: sectionproperties.pillwidth + 'px',
|
|
54470
|
+
height: sectionproperties.pillheight + 'px',
|
|
54471
|
+
background: sectionproperties.pillbgcolor,
|
|
54472
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
54473
|
+
}
|
|
54474
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54475
|
+
"class": "m-0 p-0",
|
|
54476
|
+
style: {
|
|
54477
|
+
color: sectionproperties.pillcolor,
|
|
54478
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
54479
|
+
direction: 'ltr'
|
|
54480
|
+
}
|
|
54481
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')));
|
|
54482
|
+
};
|
|
54248
54483
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54249
54484
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
|
|
54250
54485
|
style: {
|
|
@@ -54258,7 +54493,27 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54258
54493
|
// }}
|
|
54259
54494
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54260
54495
|
"class": "".concat(card_cssstyles.innerproductcard) + ' w-100 '
|
|
54261
|
-
}, /*#__PURE__*/React__default["default"].createElement("div",
|
|
54496
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54497
|
+
onClick: function onClick() {
|
|
54498
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54499
|
+
},
|
|
54500
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-flex d-md-none w-100 ',
|
|
54501
|
+
style: {
|
|
54502
|
+
position: 'relative',
|
|
54503
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
54504
|
+
height: sectionproperties.image_height + 'px'
|
|
54505
|
+
}
|
|
54506
|
+
}, ImageContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54507
|
+
onClick: function onClick() {
|
|
54508
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54509
|
+
},
|
|
54510
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' cursor-pointer d-none d-md-flex ',
|
|
54511
|
+
style: {
|
|
54512
|
+
position: 'relative',
|
|
54513
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
54514
|
+
height: sectionproperties.height_responsive + 'px'
|
|
54515
|
+
}
|
|
54516
|
+
}, ImageContent()), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54262
54517
|
"class": "row m-0 w-100"
|
|
54263
54518
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54264
54519
|
onClick: function onClick() {
|
|
@@ -54275,7 +54530,11 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54275
54530
|
style: {
|
|
54276
54531
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
54277
54532
|
}
|
|
54278
|
-
}, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54533
|
+
}, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), sectionproperties.quantityshow == 'Show' && item.measurmentunit != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54534
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
54535
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54536
|
+
"class": "".concat(card_cssstyles.quantity) + ' m-0 '
|
|
54537
|
+
}, item.measurmentunit)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54279
54538
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
|
|
54280
54539
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54281
54540
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
@@ -54286,7 +54545,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54286
54545
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54287
54546
|
"class": "row mt-1 m-0 w-100"
|
|
54288
54547
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54289
|
-
"class": "col-lg-6 col-md-8 col-sm-8 p-0"
|
|
54548
|
+
"class": "col-lg-6 col-md-8 col-sm-8 p-0 d-flex align-items-center justify-content-start"
|
|
54290
54549
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54291
54550
|
style: {
|
|
54292
54551
|
width: sectionproperties.quantitybtn_width + 'px'
|
|
@@ -54294,24 +54553,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54294
54553
|
"class": ' row m-0 d-flex align-items-center '
|
|
54295
54554
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54296
54555
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
54297
|
-
},
|
|
54298
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + '
|
|
54299
|
-
style: {
|
|
54300
|
-
transform: ' rotate(-180deg)'
|
|
54301
|
-
},
|
|
54556
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54557
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
|
|
54302
54558
|
onClick: function onClick() {
|
|
54303
54559
|
updatequantity('remove');
|
|
54304
54560
|
}
|
|
54305
54561
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54306
|
-
"class": "
|
|
54307
|
-
}
|
|
54308
|
-
|
|
54309
|
-
|
|
54310
|
-
updatequantity('add');
|
|
54311
|
-
}
|
|
54312
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54313
|
-
"class": "fa fa-chevron-up"
|
|
54314
|
-
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54562
|
+
"class": "h-100 allcentered"
|
|
54563
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMinus.AiOutlineMinus, {
|
|
54564
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
54565
|
+
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54315
54566
|
"class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
54316
54567
|
style: {
|
|
54317
54568
|
background: sectionproperties.quantbtntextbgcolor,
|
|
@@ -54319,24 +54570,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54319
54570
|
height: sectionproperties.quantitybtntextheight + 'px',
|
|
54320
54571
|
borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
|
|
54321
54572
|
}
|
|
54322
|
-
}, item.quantity),
|
|
54323
|
-
"class": "".concat(card_cssstyles.
|
|
54324
|
-
style: {
|
|
54325
|
-
transform: ' rotate(-180deg)'
|
|
54326
|
-
},
|
|
54327
|
-
onClick: function onClick() {
|
|
54328
|
-
updatequantity('remove');
|
|
54329
|
-
}
|
|
54330
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54331
|
-
"class": "fa fa-chevron-up "
|
|
54332
|
-
})), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54333
|
-
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
54573
|
+
}, item.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54574
|
+
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' ',
|
|
54334
54575
|
onClick: function onClick() {
|
|
54335
54576
|
updatequantity('add');
|
|
54336
54577
|
}
|
|
54337
54578
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54338
|
-
"class": "
|
|
54339
|
-
}
|
|
54579
|
+
"class": "h-100 allcentered"
|
|
54580
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlinePlus.AiOutlinePlus, {
|
|
54581
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
54582
|
+
})))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54340
54583
|
"class": "col-lg-6 col-md-4 col-sm-4 d-flex align-items-center justify-content-end p-0"
|
|
54341
54584
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54342
54585
|
"class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
@@ -54347,26 +54590,9 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54347
54590
|
setShowProductInfoModalContext(true);
|
|
54348
54591
|
setProductIdProdutInfoModalContext(item.productid);
|
|
54349
54592
|
}
|
|
54350
|
-
}
|
|
54351
|
-
|
|
54352
|
-
|
|
54353
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
54354
|
-
"class": "",
|
|
54355
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54356
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
54357
|
-
"class": "",
|
|
54358
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54359
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
54360
|
-
"class": "",
|
|
54361
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54362
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
54363
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54364
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
54365
|
-
"class": "",
|
|
54366
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54367
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
54368
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
54369
|
-
})))))))));
|
|
54593
|
+
},
|
|
54594
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
54595
|
+
}, addtocartbuttonrender())))))));
|
|
54370
54596
|
};
|
|
54371
54597
|
|
|
54372
54598
|
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}";
|