tabexseriescomponents 0.0.305 → 0.0.306
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 +392 -264
- package/dist/index.esm.js +392 -264
- package/dist/index.umd.js +392 -264
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -605,8 +605,8 @@ var FacebookLoginButton = function FacebookLoginButton(props) {
|
|
|
605
605
|
}));
|
|
606
606
|
};
|
|
607
607
|
|
|
608
|
-
function ownKeys$
|
|
609
|
-
function _objectSpread$
|
|
608
|
+
function ownKeys$2d(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; }
|
|
609
|
+
function _objectSpread$2d(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2d(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
610
610
|
var Login = function Login(props) {
|
|
611
611
|
var _css;
|
|
612
612
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -679,7 +679,7 @@ var Login = function Login(props) {
|
|
|
679
679
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
680
680
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
681
681
|
});
|
|
682
|
-
setsectionproperties(_objectSpread$
|
|
682
|
+
setsectionproperties(_objectSpread$2d({}, secpropobj));
|
|
683
683
|
}
|
|
684
684
|
}, [StatePagePropertiesContext]);
|
|
685
685
|
React.useEffect(function () {
|
|
@@ -832,14 +832,14 @@ var Login = function Login(props) {
|
|
|
832
832
|
className: "col-lg-12 col-md-12 col-sm-12 mb-5 p-sm-0"
|
|
833
833
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
834
834
|
className: "".concat(loginstyles2.logininputLabel) + ' d-flex justify-content-start '
|
|
835
|
-
}, langdetect == 'en' ? '
|
|
835
|
+
}, langdetect == 'en' ? 'Email or Phone number' : 'البريد الإلكترونى او رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
836
836
|
type: "text",
|
|
837
837
|
className: "".concat(loginstyles2.form_control),
|
|
838
838
|
value: payloadobj.email,
|
|
839
839
|
onChange: function onChange(event) {
|
|
840
|
-
var temppayloadobj = _objectSpread$
|
|
840
|
+
var temppayloadobj = _objectSpread$2d({}, payloadobj);
|
|
841
841
|
temppayloadobj.email = event.target.value;
|
|
842
|
-
setpayloadobj(_objectSpread$
|
|
842
|
+
setpayloadobj(_objectSpread$2d({}, temppayloadobj));
|
|
843
843
|
},
|
|
844
844
|
style: {
|
|
845
845
|
background: 'transparent'
|
|
@@ -861,9 +861,9 @@ var Login = function Login(props) {
|
|
|
861
861
|
textplaceholder: "",
|
|
862
862
|
value: payloadobj.password,
|
|
863
863
|
onChange: function onChange(event) {
|
|
864
|
-
var temppayloadobj = _objectSpread$
|
|
864
|
+
var temppayloadobj = _objectSpread$2d({}, payloadobj);
|
|
865
865
|
temppayloadobj.password = event.target.value;
|
|
866
|
-
setpayloadobj(_objectSpread$
|
|
866
|
+
setpayloadobj(_objectSpread$2d({}, temppayloadobj));
|
|
867
867
|
},
|
|
868
868
|
style: {
|
|
869
869
|
background: 'transparent'
|
|
@@ -995,9 +995,9 @@ var Login = function Login(props) {
|
|
|
995
995
|
className: "".concat(loginstyles2.form_control),
|
|
996
996
|
value: forgotpasswordpayload.email,
|
|
997
997
|
onChange: function onChange(event) {
|
|
998
|
-
var temppayloadobj = _objectSpread$
|
|
998
|
+
var temppayloadobj = _objectSpread$2d({}, forgotpasswordpayload);
|
|
999
999
|
temppayloadobj.email = event.target.value;
|
|
1000
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1000
|
+
setforgotpasswordpayload(_objectSpread$2d({}, temppayloadobj));
|
|
1001
1001
|
},
|
|
1002
1002
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
1003
1003
|
style: {
|
|
@@ -1012,9 +1012,9 @@ var Login = function Login(props) {
|
|
|
1012
1012
|
className: "".concat(loginstyles2.form_control),
|
|
1013
1013
|
value: forgotpasswordpayload.code,
|
|
1014
1014
|
onChange: function onChange(event) {
|
|
1015
|
-
var temppayloadobj = _objectSpread$
|
|
1015
|
+
var temppayloadobj = _objectSpread$2d({}, forgotpasswordpayload);
|
|
1016
1016
|
temppayloadobj.code = event.target.value;
|
|
1017
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1017
|
+
setforgotpasswordpayload(_objectSpread$2d({}, temppayloadobj));
|
|
1018
1018
|
},
|
|
1019
1019
|
style: {
|
|
1020
1020
|
background: 'transparent'
|
|
@@ -1028,9 +1028,9 @@ var Login = function Login(props) {
|
|
|
1028
1028
|
className: "".concat(loginstyles2.form_control),
|
|
1029
1029
|
value: forgotpasswordpayload.newpassword,
|
|
1030
1030
|
onChange: function onChange(event) {
|
|
1031
|
-
var temppayloadobj = _objectSpread$
|
|
1031
|
+
var temppayloadobj = _objectSpread$2d({}, forgotpasswordpayload);
|
|
1032
1032
|
temppayloadobj.newpassword = event.target.value;
|
|
1033
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1033
|
+
setforgotpasswordpayload(_objectSpread$2d({}, temppayloadobj));
|
|
1034
1034
|
},
|
|
1035
1035
|
style: {
|
|
1036
1036
|
background: 'transparent'
|
|
@@ -1044,9 +1044,9 @@ var Login = function Login(props) {
|
|
|
1044
1044
|
className: "".concat(loginstyles2.form_control),
|
|
1045
1045
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
1046
1046
|
onChange: function onChange(event) {
|
|
1047
|
-
var temppayloadobj = _objectSpread$
|
|
1047
|
+
var temppayloadobj = _objectSpread$2d({}, forgotpasswordpayload);
|
|
1048
1048
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
1049
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1049
|
+
setforgotpasswordpayload(_objectSpread$2d({}, temppayloadobj));
|
|
1050
1050
|
},
|
|
1051
1051
|
style: {
|
|
1052
1052
|
background: 'transparent'
|
|
@@ -1058,7 +1058,7 @@ var Login = function Login(props) {
|
|
|
1058
1058
|
onClick: function onClick() {
|
|
1059
1059
|
if (forgotpasswordpayload.email.length != 0) {
|
|
1060
1060
|
var runfunc = false;
|
|
1061
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
1061
|
+
var tempforgotpasswordpayload = _objectSpread$2d({}, forgotpasswordpayload);
|
|
1062
1062
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
1063
1063
|
if (forgetpasswordstage == 'verify') {
|
|
1064
1064
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -1125,11 +1125,11 @@ var css_248z$J = "@media screen and (max-width: 800px) {\n .signup-module_rig
|
|
|
1125
1125
|
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-"};
|
|
1126
1126
|
styleInject(css_248z$J);
|
|
1127
1127
|
|
|
1128
|
-
function ownKeys$
|
|
1129
|
-
function _objectSpread$
|
|
1128
|
+
function ownKeys$2c(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; }
|
|
1129
|
+
function _objectSpread$2c(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2c(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2c(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1130
1130
|
var defaultstyles = {
|
|
1131
1131
|
option: function option(provided, state) {
|
|
1132
|
-
return _objectSpread$
|
|
1132
|
+
return _objectSpread$2c(_objectSpread$2c({}, provided), {}, {
|
|
1133
1133
|
borderBottom: '1px solid #e6e6e6',
|
|
1134
1134
|
backgroundColor: state.isSelected ? '' : '',
|
|
1135
1135
|
padding: 5,
|
|
@@ -1157,7 +1157,7 @@ var defaultstyles = {
|
|
|
1157
1157
|
};
|
|
1158
1158
|
},
|
|
1159
1159
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1160
|
-
return _objectSpread$
|
|
1160
|
+
return _objectSpread$2c(_objectSpread$2c({}, provided), {}, {
|
|
1161
1161
|
'&:hover': {
|
|
1162
1162
|
// color: '#eac435',
|
|
1163
1163
|
}
|
|
@@ -1166,7 +1166,7 @@ var defaultstyles = {
|
|
|
1166
1166
|
};
|
|
1167
1167
|
var defaultstylestranslated = {
|
|
1168
1168
|
option: function option(provided, state) {
|
|
1169
|
-
return _objectSpread$
|
|
1169
|
+
return _objectSpread$2c(_objectSpread$2c({}, provided), {}, {
|
|
1170
1170
|
borderBottom: '1px solid #e6e6e6',
|
|
1171
1171
|
backgroundColor: state.isSelected ? '' : '',
|
|
1172
1172
|
padding: 5,
|
|
@@ -1197,21 +1197,21 @@ var defaultstylestranslated = {
|
|
|
1197
1197
|
};
|
|
1198
1198
|
},
|
|
1199
1199
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1200
|
-
return _objectSpread$
|
|
1200
|
+
return _objectSpread$2c(_objectSpread$2c({}, provided), {}, {
|
|
1201
1201
|
'&:hover': {
|
|
1202
1202
|
// color: '#eac435',
|
|
1203
1203
|
}
|
|
1204
1204
|
});
|
|
1205
1205
|
},
|
|
1206
1206
|
placeholder: function placeholder(provided, state) {
|
|
1207
|
-
return _objectSpread$
|
|
1207
|
+
return _objectSpread$2c(_objectSpread$2c({}, provided), {}, {
|
|
1208
1208
|
textAlign: 'right'
|
|
1209
1209
|
});
|
|
1210
1210
|
}
|
|
1211
1211
|
};
|
|
1212
1212
|
var defaultstylesnone = {
|
|
1213
1213
|
option: function option(provided, state) {
|
|
1214
|
-
return _objectSpread$
|
|
1214
|
+
return _objectSpread$2c(_objectSpread$2c({}, provided), {}, {
|
|
1215
1215
|
borderBottom: '1px solid #e6e6e6',
|
|
1216
1216
|
backgroundColor: state.isSelected ? '' : '',
|
|
1217
1217
|
padding: 5,
|
|
@@ -1239,7 +1239,7 @@ var defaultstylesnone = {
|
|
|
1239
1239
|
};
|
|
1240
1240
|
},
|
|
1241
1241
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1242
|
-
return _objectSpread$
|
|
1242
|
+
return _objectSpread$2c(_objectSpread$2c({}, provided), {}, {
|
|
1243
1243
|
'&:hover': {
|
|
1244
1244
|
// color: '#eac435',
|
|
1245
1245
|
}
|
|
@@ -1604,8 +1604,8 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1604
1604
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))));
|
|
1605
1605
|
};
|
|
1606
1606
|
|
|
1607
|
-
function ownKeys$
|
|
1608
|
-
function _objectSpread$
|
|
1607
|
+
function ownKeys$2b(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; }
|
|
1608
|
+
function _objectSpread$2b(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2b(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1609
1609
|
var ProductExtraFields = function ProductExtraFields(props) {
|
|
1610
1610
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _css, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7;
|
|
1611
1611
|
props.actions.lang;
|
|
@@ -1660,9 +1660,9 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
1660
1660
|
});
|
|
1661
1661
|
}
|
|
1662
1662
|
setproductextravaluesarray(_toConsumableArray__default["default"](tempproductextravaluesarray));
|
|
1663
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
1663
|
+
var tempaddtocardpayloadobj = _objectSpread$2b({}, addtocardpayloadobj);
|
|
1664
1664
|
tempaddtocardpayloadobj.extrafields = tempproductextravaluesarray;
|
|
1665
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
1665
|
+
setaddtocardpayloadobj(_objectSpread$2b({}, tempaddtocardpayloadobj));
|
|
1666
1666
|
};
|
|
1667
1667
|
var formstyles = {
|
|
1668
1668
|
input_label_name: glamor.css({
|
|
@@ -1767,8 +1767,8 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
1767
1767
|
}))));
|
|
1768
1768
|
};
|
|
1769
1769
|
|
|
1770
|
-
function ownKeys$
|
|
1771
|
-
function _objectSpread$
|
|
1770
|
+
function ownKeys$2a(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; }
|
|
1771
|
+
function _objectSpread$2a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2a(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1772
1772
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1773
1773
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67;
|
|
1774
1774
|
var lang = props.actions.lang;
|
|
@@ -2147,11 +2147,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2147
2147
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2148
2148
|
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
2149
2149
|
onClick: function onClick() {
|
|
2150
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2150
|
+
var tempaddtocardpayloadobj = _objectSpread$2a({}, addtocardpayloadobj);
|
|
2151
2151
|
if (tempaddtocardpayloadobj.quantity > 0) {
|
|
2152
2152
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
|
|
2153
2153
|
}
|
|
2154
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2154
|
+
setaddtocardpayloadobj(_objectSpread$2a({}, tempaddtocardpayloadobj));
|
|
2155
2155
|
}
|
|
2156
2156
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2157
2157
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
|
|
@@ -2165,9 +2165,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2165
2165
|
}, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2166
2166
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
2167
2167
|
onClick: function onClick() {
|
|
2168
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2168
|
+
var tempaddtocardpayloadobj = _objectSpread$2a({}, addtocardpayloadobj);
|
|
2169
2169
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
|
|
2170
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2170
|
+
setaddtocardpayloadobj(_objectSpread$2a({}, tempaddtocardpayloadobj));
|
|
2171
2171
|
}
|
|
2172
2172
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2173
2173
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
|
|
@@ -2447,8 +2447,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2447
2447
|
}, StoreInfoprops())))));
|
|
2448
2448
|
};
|
|
2449
2449
|
|
|
2450
|
-
function ownKeys$
|
|
2451
|
-
function _objectSpread$
|
|
2450
|
+
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; }
|
|
2451
|
+
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; }
|
|
2452
2452
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
2453
2453
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24;
|
|
2454
2454
|
var langdetect = props.actions.langdetect;
|
|
@@ -2489,7 +2489,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2489
2489
|
slots = _useState6[0],
|
|
2490
2490
|
setslots = _useState6[1];
|
|
2491
2491
|
React.useEffect(function () {
|
|
2492
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2492
|
+
setaddtocardpayloadobj(_objectSpread$29(_objectSpread$29({}, addtocardpayloadobj), {}, {
|
|
2493
2493
|
item_type: 'service'
|
|
2494
2494
|
}));
|
|
2495
2495
|
}, [tabsarray]);
|
|
@@ -2501,16 +2501,16 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2501
2501
|
if (diffDays.toString() != 'NaN') {
|
|
2502
2502
|
if (date2 <= date1) {
|
|
2503
2503
|
NotificationManager.warning('', 'Please choose another date.');
|
|
2504
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2504
|
+
setaddtocardpayloadobj(_objectSpread$29(_objectSpread$29({}, addtocardpayloadobj), {}, {
|
|
2505
2505
|
quantity: 0
|
|
2506
2506
|
}));
|
|
2507
2507
|
} else {
|
|
2508
2508
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
2509
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2509
|
+
setaddtocardpayloadobj(_objectSpread$29(_objectSpread$29({}, addtocardpayloadobj), {}, {
|
|
2510
2510
|
quantity: diffDays
|
|
2511
2511
|
}));
|
|
2512
2512
|
} else {
|
|
2513
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2513
|
+
setaddtocardpayloadobj(_objectSpread$29(_objectSpread$29({}, addtocardpayloadobj), {}, {
|
|
2514
2514
|
quantity: 0
|
|
2515
2515
|
}));
|
|
2516
2516
|
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
@@ -2646,7 +2646,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2646
2646
|
min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : (_fetchProductInfoQuer10 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.reservationstarts,
|
|
2647
2647
|
max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : (_fetchProductInfoQuer16 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.reservationends,
|
|
2648
2648
|
onChange: function onChange(event) {
|
|
2649
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2649
|
+
setaddtocardpayloadobj(_objectSpread$29(_objectSpread$29({}, addtocardpayloadobj), {}, {
|
|
2650
2650
|
from: event.target.value
|
|
2651
2651
|
}));
|
|
2652
2652
|
}
|
|
@@ -2666,7 +2666,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2666
2666
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
2667
2667
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
2668
2668
|
onChange: function onChange(event) {
|
|
2669
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2669
|
+
setaddtocardpayloadobj(_objectSpread$29(_objectSpread$29({}, addtocardpayloadobj), {}, {
|
|
2670
2670
|
to: event.target.value
|
|
2671
2671
|
}));
|
|
2672
2672
|
}
|
|
@@ -2686,7 +2686,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2686
2686
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
2687
2687
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
2688
2688
|
onChange: function onChange(event) {
|
|
2689
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2689
|
+
setaddtocardpayloadobj(_objectSpread$29(_objectSpread$29({}, addtocardpayloadobj), {}, {
|
|
2690
2690
|
date: event.target.value
|
|
2691
2691
|
}));
|
|
2692
2692
|
setcurrentmutatestate('/fetchserviceslots');
|
|
@@ -2737,7 +2737,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2737
2737
|
color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
|
|
2738
2738
|
},
|
|
2739
2739
|
onClick: function onClick() {
|
|
2740
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2740
|
+
setaddtocardpayloadobj(_objectSpread$29(_objectSpread$29({}, addtocardpayloadobj), {}, {
|
|
2741
2741
|
time: item.slot
|
|
2742
2742
|
}));
|
|
2743
2743
|
}
|
|
@@ -2746,7 +2746,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2746
2746
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2747
2747
|
"class": TabsStyles.booknow_btn_resp + ' allcentered ',
|
|
2748
2748
|
onClick: function onClick() {
|
|
2749
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2749
|
+
setaddtocardpayloadobj(_objectSpread$29(_objectSpread$29({}, addtocardpayloadobj), {}, {
|
|
2750
2750
|
time: item.slot
|
|
2751
2751
|
}));
|
|
2752
2752
|
}
|
|
@@ -2788,7 +2788,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2788
2788
|
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
2789
2789
|
style: {},
|
|
2790
2790
|
onClick: function onClick() {
|
|
2791
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2791
|
+
setaddtocardpayloadobj(_objectSpread$29(_objectSpread$29({}, addtocardpayloadobj), {}, {
|
|
2792
2792
|
time: item.slot
|
|
2793
2793
|
}));
|
|
2794
2794
|
}
|
|
@@ -3441,8 +3441,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
3441
3441
|
}, StoreInfoprops()))));
|
|
3442
3442
|
};
|
|
3443
3443
|
|
|
3444
|
-
function ownKeys$
|
|
3445
|
-
function _objectSpread$
|
|
3444
|
+
function ownKeys$28(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; }
|
|
3445
|
+
function _objectSpread$28(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$28(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$28(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3446
3446
|
var AddReview = function AddReview(props) {
|
|
3447
3447
|
var _css;
|
|
3448
3448
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -3496,7 +3496,7 @@ var AddReview = function AddReview(props) {
|
|
|
3496
3496
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
3497
3497
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
3498
3498
|
});
|
|
3499
|
-
setsectionproperties(_objectSpread$
|
|
3499
|
+
setsectionproperties(_objectSpread$28({}, secpropobj));
|
|
3500
3500
|
}
|
|
3501
3501
|
}, [StatePagePropertiesContext]);
|
|
3502
3502
|
React.useEffect(function () {
|
|
@@ -3505,7 +3505,7 @@ var AddReview = function AddReview(props) {
|
|
|
3505
3505
|
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
3506
3506
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
3507
3507
|
});
|
|
3508
|
-
setsectionproperties(_objectSpread$
|
|
3508
|
+
setsectionproperties(_objectSpread$28({}, secpropobj));
|
|
3509
3509
|
}, [pageindexcontext]);
|
|
3510
3510
|
var reviewstyles = {
|
|
3511
3511
|
submitreviewbtn: glamor.css({
|
|
@@ -3631,9 +3631,9 @@ var AddReview = function AddReview(props) {
|
|
|
3631
3631
|
}),
|
|
3632
3632
|
activeColor: "#ffd700",
|
|
3633
3633
|
onChange: function onChange(event) {
|
|
3634
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
3634
|
+
var tempreviewpayloadobj = _objectSpread$28({}, reviewpayloadobj);
|
|
3635
3635
|
tempreviewpayloadobj.reviewrate = event;
|
|
3636
|
-
setreviewpayloadobj(_objectSpread$
|
|
3636
|
+
setreviewpayloadobj(_objectSpread$28({}, tempreviewpayloadobj));
|
|
3637
3637
|
}
|
|
3638
3638
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3639
3639
|
"class": "col-lg-12"
|
|
@@ -3647,9 +3647,9 @@ var AddReview = function AddReview(props) {
|
|
|
3647
3647
|
"class": reviewstyles.form_control,
|
|
3648
3648
|
value: reviewpayloadobj.reviewname,
|
|
3649
3649
|
onChange: function onChange(event) {
|
|
3650
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
3650
|
+
var tempreviewpayloadobj = _objectSpread$28({}, reviewpayloadobj);
|
|
3651
3651
|
tempreviewpayloadobj.reviewname = event.target.value;
|
|
3652
|
-
setreviewpayloadobj(_objectSpread$
|
|
3652
|
+
setreviewpayloadobj(_objectSpread$28({}, tempreviewpayloadobj));
|
|
3653
3653
|
}
|
|
3654
3654
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3655
3655
|
"class": "col-lg-12 mb-4"
|
|
@@ -3659,9 +3659,9 @@ var AddReview = function AddReview(props) {
|
|
|
3659
3659
|
"class": reviewstyles.form_control,
|
|
3660
3660
|
value: reviewpayloadobj.reviewtitle,
|
|
3661
3661
|
onChange: function onChange(event) {
|
|
3662
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
3662
|
+
var tempreviewpayloadobj = _objectSpread$28({}, reviewpayloadobj);
|
|
3663
3663
|
tempreviewpayloadobj.reviewtitle = event.target.value;
|
|
3664
|
-
setreviewpayloadobj(_objectSpread$
|
|
3664
|
+
setreviewpayloadobj(_objectSpread$28({}, tempreviewpayloadobj));
|
|
3665
3665
|
}
|
|
3666
3666
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3667
3667
|
"class": "col-lg-12 mb-4"
|
|
@@ -3672,9 +3672,9 @@ var AddReview = function AddReview(props) {
|
|
|
3672
3672
|
"class": reviewstyles.form_control + ' form_control ',
|
|
3673
3673
|
value: reviewpayloadobj.reviewbody,
|
|
3674
3674
|
onChange: function onChange(event) {
|
|
3675
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
3675
|
+
var tempreviewpayloadobj = _objectSpread$28({}, reviewpayloadobj);
|
|
3676
3676
|
tempreviewpayloadobj.reviewbody = event.target.value;
|
|
3677
|
-
setreviewpayloadobj(_objectSpread$
|
|
3677
|
+
setreviewpayloadobj(_objectSpread$28({}, tempreviewpayloadobj));
|
|
3678
3678
|
},
|
|
3679
3679
|
style: {
|
|
3680
3680
|
resize: 'none',
|
|
@@ -3709,8 +3709,8 @@ var AddReview = function AddReview(props) {
|
|
|
3709
3709
|
}, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)));
|
|
3710
3710
|
};
|
|
3711
3711
|
|
|
3712
|
-
function ownKeys$
|
|
3713
|
-
function _objectSpread$
|
|
3712
|
+
function ownKeys$27(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; }
|
|
3713
|
+
function _objectSpread$27(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$27(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$27(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3714
3714
|
var ProductReviews = function ProductReviews(props) {
|
|
3715
3715
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
|
|
3716
3716
|
props.actions.lang;
|
|
@@ -3944,7 +3944,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
3944
3944
|
size: "md",
|
|
3945
3945
|
"class": "reviewmodal"
|
|
3946
3946
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(AddReview, {
|
|
3947
|
-
actions: _objectSpread$
|
|
3947
|
+
actions: _objectSpread$27(_objectSpread$27({}, actions), {}, {
|
|
3948
3948
|
productid: productid,
|
|
3949
3949
|
canuserreview: canuserreview,
|
|
3950
3950
|
addreviewcallback: addreviewcallback
|
|
@@ -3952,8 +3952,8 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
3952
3952
|
}))));
|
|
3953
3953
|
};
|
|
3954
3954
|
|
|
3955
|
-
function ownKeys$
|
|
3956
|
-
function _objectSpread$
|
|
3955
|
+
function ownKeys$26(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; }
|
|
3956
|
+
function _objectSpread$26(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$26(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$26(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3957
3957
|
var Productinfo = function Productinfo(props) {
|
|
3958
3958
|
var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
3959
3959
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -4066,7 +4066,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4066
4066
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
4067
4067
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4068
4068
|
});
|
|
4069
|
-
setsectionproperties(_objectSpread$
|
|
4069
|
+
setsectionproperties(_objectSpread$26({}, secpropobj));
|
|
4070
4070
|
}
|
|
4071
4071
|
}, [StatePagePropertiesContext]);
|
|
4072
4072
|
React.useEffect(function () {
|
|
@@ -4087,7 +4087,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4087
4087
|
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
4088
4088
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4089
4089
|
});
|
|
4090
|
-
setsectionproperties(_objectSpread$
|
|
4090
|
+
setsectionproperties(_objectSpread$26({}, secpropobj));
|
|
4091
4091
|
}, [pageindexcontext]);
|
|
4092
4092
|
React.useEffect(function () {
|
|
4093
4093
|
if (productidparam == undefined) {
|
|
@@ -4107,12 +4107,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
4107
4107
|
}
|
|
4108
4108
|
}, [ProductInfoObj, isloaded]);
|
|
4109
4109
|
var productidassigner = function productidassigner(productid) {
|
|
4110
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
4110
|
+
var tempFetchQueriesEngineContext = _objectSpread$26({}, FetchQueriesEngineContext);
|
|
4111
4111
|
tempFetchQueriesEngineContext.fetchproductinfo = true;
|
|
4112
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
4113
|
-
var tempfetchproductinfoObjContext = _objectSpread$
|
|
4112
|
+
setFetchQueriesEngineContext(_objectSpread$26({}, tempFetchQueriesEngineContext));
|
|
4113
|
+
var tempfetchproductinfoObjContext = _objectSpread$26({}, fetchproductinfoObjContext);
|
|
4114
4114
|
tempfetchproductinfoObjContext.productid = productid;
|
|
4115
|
-
setfetchproductinfoObjContext(_objectSpread$
|
|
4115
|
+
setfetchproductinfoObjContext(_objectSpread$26({}, tempfetchproductinfoObjContext));
|
|
4116
4116
|
};
|
|
4117
4117
|
React.useEffect(function () {
|
|
4118
4118
|
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
@@ -4138,9 +4138,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
4138
4138
|
}
|
|
4139
4139
|
setproductimagesarray([].concat(tempproductimagesarray));
|
|
4140
4140
|
variantchecker();
|
|
4141
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4141
|
+
var tempaddtocardpayloadobj = _objectSpread$26({}, addtocardpayloadobj);
|
|
4142
4142
|
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
|
|
4143
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
4143
|
+
setaddtocardpayloadobj(_objectSpread$26({}, tempaddtocardpayloadobj));
|
|
4144
4144
|
setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
|
|
4145
4145
|
if ((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.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : (_fetchProductInfoQuer5 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : (_fetchProductInfoQuer6 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : (_fetchProductInfoQuer7 = _fetchProductInfoQuer6.maintagid) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.length) != 0) {
|
|
4146
4146
|
GeneralAPIMutationContext.mutate({
|
|
@@ -4187,7 +4187,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4187
4187
|
});
|
|
4188
4188
|
variantchecker();
|
|
4189
4189
|
variantcompleting();
|
|
4190
|
-
setProductInfoObj(_objectSpread$
|
|
4190
|
+
setProductInfoObj(_objectSpread$26({}, productarr));
|
|
4191
4191
|
};
|
|
4192
4192
|
var variantchecker = function variantchecker() {
|
|
4193
4193
|
var productarr = ProductInfoObj;
|
|
@@ -4261,16 +4261,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
4261
4261
|
});
|
|
4262
4262
|
}
|
|
4263
4263
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
4264
|
-
setProductInfoObj(_objectSpread$
|
|
4264
|
+
setProductInfoObj(_objectSpread$26({}, productarr));
|
|
4265
4265
|
setisloaded(true);
|
|
4266
4266
|
}
|
|
4267
4267
|
}
|
|
4268
4268
|
};
|
|
4269
4269
|
var variantcompleting = function variantcompleting() {
|
|
4270
4270
|
setvariantindexcompleted('');
|
|
4271
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4271
|
+
var tempaddtocardpayloadobj = _objectSpread$26({}, addtocardpayloadobj);
|
|
4272
4272
|
tempaddtocardpayloadobj.variantid = '';
|
|
4273
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
4273
|
+
setaddtocardpayloadobj(_objectSpread$26({}, tempaddtocardpayloadobj));
|
|
4274
4274
|
var productarr = ProductInfoObj;
|
|
4275
4275
|
var selectedoptionsvalues = [];
|
|
4276
4276
|
productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
|
|
@@ -4302,7 +4302,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4302
4302
|
NotificationManager.warning('', 'Variant Not Found');
|
|
4303
4303
|
} else {
|
|
4304
4304
|
variantid = variantobj.variantid;
|
|
4305
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4305
|
+
var tempaddtocardpayloadobj = _objectSpread$26({}, addtocardpayloadobj);
|
|
4306
4306
|
tempaddtocardpayloadobj.variantid = variantid;
|
|
4307
4307
|
var variantimageindex = 0;
|
|
4308
4308
|
productimagesarray === null || productimagesarray === void 0 ? void 0 : productimagesarray.forEach(function (tempimageitem, tempimageindex) {
|
|
@@ -4311,13 +4311,13 @@ var Productinfo = function Productinfo(props) {
|
|
|
4311
4311
|
}
|
|
4312
4312
|
});
|
|
4313
4313
|
setcurrentshowingimageindex(variantimageindex);
|
|
4314
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
4314
|
+
setaddtocardpayloadobj(_objectSpread$26({}, tempaddtocardpayloadobj));
|
|
4315
4315
|
setvariantindexcompleted(ProductVariantIndex);
|
|
4316
4316
|
}
|
|
4317
4317
|
}
|
|
4318
4318
|
});
|
|
4319
4319
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
4320
|
-
setProductInfoObj(_objectSpread$
|
|
4320
|
+
setProductInfoObj(_objectSpread$26({}, productarr));
|
|
4321
4321
|
};
|
|
4322
4322
|
var addtocartfunc = function addtocartfunc() {
|
|
4323
4323
|
var runfunc = false;
|
|
@@ -4337,7 +4337,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4337
4337
|
}
|
|
4338
4338
|
if (runfunc == true) {
|
|
4339
4339
|
var _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13;
|
|
4340
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4340
|
+
var tempaddtocardpayloadobj = _objectSpread$26({}, addtocardpayloadobj);
|
|
4341
4341
|
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : (_fetchProductInfoQuer13 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.isproductforcedtocheckout;
|
|
4342
4342
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
4343
4343
|
if (Extrafieldvalidationresponse.status) {
|
|
@@ -4347,7 +4347,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4347
4347
|
};
|
|
4348
4348
|
var validateextrafields = function validateextrafields() {
|
|
4349
4349
|
var _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16;
|
|
4350
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4350
|
+
var tempaddtocardpayloadobj = _objectSpread$26({}, addtocardpayloadobj);
|
|
4351
4351
|
var status = false;
|
|
4352
4352
|
var reason = '';
|
|
4353
4353
|
var missingitemsfound = [];
|
|
@@ -4843,7 +4843,11 @@ var Productinfo = function Productinfo(props) {
|
|
|
4843
4843
|
price = price * quantity;
|
|
4844
4844
|
}
|
|
4845
4845
|
if (price != undefined) {
|
|
4846
|
-
|
|
4846
|
+
if (price == NaN) {
|
|
4847
|
+
return 0;
|
|
4848
|
+
} else {
|
|
4849
|
+
return price;
|
|
4850
|
+
}
|
|
4847
4851
|
} else {
|
|
4848
4852
|
return 0;
|
|
4849
4853
|
}
|
|
@@ -5278,7 +5282,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5278
5282
|
})), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5279
5283
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
5280
5284
|
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
5281
|
-
actions: _objectSpread$
|
|
5285
|
+
actions: _objectSpread$26(_objectSpread$26({}, actions), {}, {
|
|
5282
5286
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
5283
5287
|
sectionproperties: sectionproperties
|
|
5284
5288
|
})
|
|
@@ -5295,8 +5299,8 @@ var css_248z$I = "/* Side Nav */\n.staticroutersidenav-module_vertical_nav_menu_
|
|
|
5295
5299
|
var staticroutersidenav = {"vertical_nav_menu":"staticroutersidenav-module_vertical_nav_menu__p0mIj","sidebar_item":"staticroutersidenav-module_sidebar_item__3F9Q1","sidenav_page_name":"staticroutersidenav-module_sidenav_page_name__46AJV","sidenav_icon_cont":"staticroutersidenav-module_sidenav_icon_cont__O8YSe","metismenu_icon":"staticroutersidenav-module_metismenu_icon__EcRZ1","sidenav_active":"staticroutersidenav-module_sidenav_active__IjRo0","horizontal_nav_menu":"staticroutersidenav-module_horizontal_nav_menu__6V32S","sidebar_itemlastchild":"staticroutersidenav-module_sidebar_itemlastchild__9O187"};
|
|
5296
5300
|
styleInject(css_248z$I);
|
|
5297
5301
|
|
|
5298
|
-
function ownKeys$
|
|
5299
|
-
function _objectSpread$
|
|
5302
|
+
function ownKeys$25(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; }
|
|
5303
|
+
function _objectSpread$25(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$25(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$25(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5300
5304
|
var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
5301
5305
|
var _useState = React.useState(props.currentpageprops),
|
|
5302
5306
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -5332,7 +5336,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
5332
5336
|
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
5333
5337
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
5334
5338
|
});
|
|
5335
|
-
setsectionproperties(_objectSpread$
|
|
5339
|
+
setsectionproperties(_objectSpread$25({}, secpropobj));
|
|
5336
5340
|
}
|
|
5337
5341
|
}, [CurrentPageId]);
|
|
5338
5342
|
var styles = {
|
|
@@ -5494,8 +5498,8 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
5494
5498
|
}))))));
|
|
5495
5499
|
};
|
|
5496
5500
|
|
|
5497
|
-
function ownKeys$
|
|
5498
|
-
function _objectSpread$
|
|
5501
|
+
function ownKeys$24(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; }
|
|
5502
|
+
function _objectSpread$24(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$24(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$24(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5499
5503
|
var Ordershistory = function Ordershistory(props) {
|
|
5500
5504
|
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue4, _fetchorderhistoryQue5, _fetchorderhistoryQue6, _fetchorderhistoryQue7, _fetchorderhistoryQue8, _fetchorderhistoryQue9, _fetchorderhistoryQue10, _fetchorderhistoryQue11, _fetchorderhistoryQue12, _fetchorderhistoryQue13, _fetchorderhistoryQue14;
|
|
5501
5505
|
var lang = props.actions.lang;
|
|
@@ -5548,9 +5552,9 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
5548
5552
|
setorderindex = _useState14[1];
|
|
5549
5553
|
React.useEffect(function () {
|
|
5550
5554
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
|
|
5551
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
5555
|
+
var tempFetchQueriesEngineContext = _objectSpread$24({}, FetchQueriesEngineContext);
|
|
5552
5556
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
5553
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
5557
|
+
setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
|
|
5554
5558
|
}
|
|
5555
5559
|
}, []);
|
|
5556
5560
|
var _useState15 = React.useState(''),
|
|
@@ -5571,7 +5575,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
5571
5575
|
props === null || props === void 0 ? void 0 : (_props$actions = props.actions) === null || _props$actions === void 0 ? void 0 : (_props$actions$StateP = _props$actions.StatePagePropertiesContext) === null || _props$actions$StateP === void 0 ? void 0 : (_props$actions$StateP2 = _props$actions$StateP.pageobj) === null || _props$actions$StateP2 === void 0 ? void 0 : (_props$actions$StateP3 = _props$actions$StateP2.pageproperties) === null || _props$actions$StateP3 === void 0 ? void 0 : _props$actions$StateP3.forEach(function (arrayItem, arrayindex) {
|
|
5572
5576
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
5573
5577
|
});
|
|
5574
|
-
setsectionproperties(_objectSpread$
|
|
5578
|
+
setsectionproperties(_objectSpread$24({}, secpropobj));
|
|
5575
5579
|
}, [props === null || props === void 0 ? void 0 : (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
5576
5580
|
var orderhistory_cssstyles = {
|
|
5577
5581
|
variantcontainer: glamor.css({
|
|
@@ -6428,8 +6432,8 @@ var css_248z$H = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_c
|
|
|
6428
6432
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
6429
6433
|
styleInject(css_248z$H);
|
|
6430
6434
|
|
|
6431
|
-
function ownKeys$
|
|
6432
|
-
function _objectSpread$
|
|
6435
|
+
function ownKeys$23(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; }
|
|
6436
|
+
function _objectSpread$23(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$23(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$23(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6433
6437
|
var Wishlist = function Wishlist(props) {
|
|
6434
6438
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
6435
6439
|
var lang = props.actions.lang;
|
|
@@ -6457,13 +6461,13 @@ var Wishlist = function Wishlist(props) {
|
|
|
6457
6461
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
6458
6462
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6459
6463
|
});
|
|
6460
|
-
setsectionproperties(_objectSpread$
|
|
6464
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
6461
6465
|
}
|
|
6462
6466
|
}, [StatePagePropertiesContext]);
|
|
6463
6467
|
React.useEffect(function () {
|
|
6464
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
6468
|
+
var tempFetchQueriesEngineContext = _objectSpread$23({}, FetchQueriesEngineContext);
|
|
6465
6469
|
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
6466
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
6470
|
+
setFetchQueriesEngineContext(_objectSpread$23({}, tempFetchQueriesEngineContext));
|
|
6467
6471
|
}, []);
|
|
6468
6472
|
React.useEffect(function () {
|
|
6469
6473
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
@@ -6472,7 +6476,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
6472
6476
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
6473
6477
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6474
6478
|
});
|
|
6475
|
-
setsectionproperties(_objectSpread$
|
|
6479
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
6476
6480
|
}
|
|
6477
6481
|
}, [StatePagePropertiesContext]);
|
|
6478
6482
|
var wishlist_cssstyles = {
|
|
@@ -6877,8 +6881,8 @@ var Wishlist = function Wishlist(props) {
|
|
|
6877
6881
|
})));
|
|
6878
6882
|
};
|
|
6879
6883
|
|
|
6880
|
-
function ownKeys$
|
|
6881
|
-
function _objectSpread$
|
|
6884
|
+
function ownKeys$22(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; }
|
|
6885
|
+
function _objectSpread$22(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$22(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$22(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6882
6886
|
var Viewcart = function Viewcart(props) {
|
|
6883
6887
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25;
|
|
6884
6888
|
var lang = props.actions.lang;
|
|
@@ -6910,7 +6914,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
6910
6914
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
6911
6915
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6912
6916
|
});
|
|
6913
|
-
setsectionproperties(_objectSpread$
|
|
6917
|
+
setsectionproperties(_objectSpread$22({}, secpropobj));
|
|
6914
6918
|
}
|
|
6915
6919
|
}, [StatePagePropertiesContext]);
|
|
6916
6920
|
React.useEffect(function () {
|
|
@@ -7494,8 +7498,8 @@ var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display:
|
|
|
7494
7498
|
var formstyles = {"form_control":"form-module_form_control__4-RGw","textarea":"form-module_textarea__zG0ed","form_control_border_none":"form-module_form_control_border_none__TJvdZ","disabled":"form-module_disabled__AtvSI","input_label_name":"form-module_input_label_name__416wN","input_label_name-bolder":"form-module_input_label_name-bolder__UQn0a","input_icon":"form-module_input_icon__X-CzC","radiobtn_label":"form-module_radiobtn_label__-4Hoi","text-grey":"form-module_text-grey__JdZMY","radiobtn_label_translated":"form-module_radiobtn_label_translated__WN5Jj","checkbox":"form-module_checkbox__XPkWy","checkbox_label":"form-module_checkbox_label__VvcKs","checkbox_sub":"form-module_checkbox_sub__QWYil","checkboxtranslated":"form-module_checkboxtranslated__zvEV-"};
|
|
7495
7499
|
styleInject(css_248z$G);
|
|
7496
7500
|
|
|
7497
|
-
function ownKeys$
|
|
7498
|
-
function _objectSpread$
|
|
7501
|
+
function ownKeys$21(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; }
|
|
7502
|
+
function _objectSpread$21(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$21(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$21(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7499
7503
|
var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
7500
7504
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
7501
7505
|
});
|
|
@@ -7553,7 +7557,7 @@ var Checkout = function Checkout(props) {
|
|
|
7553
7557
|
props === null || props === void 0 ? void 0 : (_props$actions = props.actions) === null || _props$actions === void 0 ? void 0 : (_props$actions$StateP = _props$actions.StatePagePropertiesContext) === null || _props$actions$StateP === void 0 ? void 0 : (_props$actions$StateP2 = _props$actions$StateP.pageobj) === null || _props$actions$StateP2 === void 0 ? void 0 : (_props$actions$StateP3 = _props$actions$StateP2.pageproperties) === null || _props$actions$StateP3 === void 0 ? void 0 : _props$actions$StateP3.forEach(function (arrayItem, arrayindex) {
|
|
7554
7558
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7555
7559
|
});
|
|
7556
|
-
setsectionproperties(_objectSpread$
|
|
7560
|
+
setsectionproperties(_objectSpread$21({}, secpropobj));
|
|
7557
7561
|
}, [props.actions.StatePagePropertiesContext]);
|
|
7558
7562
|
React.useEffect(function () {
|
|
7559
7563
|
var Canorder = false;
|
|
@@ -7573,10 +7577,10 @@ var Checkout = function Checkout(props) {
|
|
|
7573
7577
|
}
|
|
7574
7578
|
if (Canorder == true) {
|
|
7575
7579
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14;
|
|
7576
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
7580
|
+
var tempFetchQueriesEngineContext = _objectSpread$21({}, FetchQueriesEngineContext);
|
|
7577
7581
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
7578
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
7579
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
7582
|
+
setFetchQueriesEngineContext(_objectSpread$21({}, tempFetchQueriesEngineContext));
|
|
7583
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$21({}, FetchTabexStatesPayloadobjContext);
|
|
7580
7584
|
if (
|
|
7581
7585
|
// Aya
|
|
7582
7586
|
!fetchcustomercartQueryContext.isFetching && fetchcustomercartQueryContext.isSuccess && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.customercart.countryid) != null &&
|
|
@@ -7593,7 +7597,7 @@ var Checkout = function Checkout(props) {
|
|
|
7593
7597
|
var _fetchcustomercartQue15, _fetchcustomercartQue16;
|
|
7594
7598
|
tempFetchTabexStatesPayloadobjContext.state_id = fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue15 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue15 === void 0 ? void 0 : (_fetchcustomercartQue16 = _fetchcustomercartQue15.data) === null || _fetchcustomercartQue16 === void 0 ? void 0 : _fetchcustomercartQue16.customercart.stateid;
|
|
7595
7599
|
}
|
|
7596
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
7600
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$21({}, tempFetchTabexStatesPayloadobjContext));
|
|
7597
7601
|
} else {
|
|
7598
7602
|
// NotificationManager.warning('', lang.pleaselogintocheckout);
|
|
7599
7603
|
routingcountext(StaticPagesLinksContext.Login);
|
|
@@ -8364,10 +8368,10 @@ var Checkout = function Checkout(props) {
|
|
|
8364
8368
|
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 ? void 0 : (_fetchcustomercartQue98 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.customercart.countryid);
|
|
8365
8369
|
}),
|
|
8366
8370
|
onChange: function onChange(option) {
|
|
8367
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
8371
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$21({}, FetchTabexStatesPayloadobjContext);
|
|
8368
8372
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
8369
8373
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
8370
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
8374
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$21({}, tempFetchTabexStatesPayloadobjContext));
|
|
8371
8375
|
cartinfoupdater('countryid', option.id);
|
|
8372
8376
|
},
|
|
8373
8377
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -8412,10 +8416,10 @@ var Checkout = function Checkout(props) {
|
|
|
8412
8416
|
onChange: function onChange(option) {
|
|
8413
8417
|
var _fetchcustomercartQue101, _fetchcustomercartQue102;
|
|
8414
8418
|
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue101 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue101 === void 0 ? void 0 : (_fetchcustomercartQue102 = _fetchcustomercartQue101.data) === null || _fetchcustomercartQue102 === void 0 ? void 0 : _fetchcustomercartQue102.customercart.countryid.length) != 0) {
|
|
8415
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
8419
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$21({}, FetchTabexStatesPayloadobjContext);
|
|
8416
8420
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
8417
8421
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
8418
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
8422
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$21({}, tempFetchTabexStatesPayloadobjContext));
|
|
8419
8423
|
cartinfoupdater('stateid', option.id);
|
|
8420
8424
|
} else {
|
|
8421
8425
|
NotificationManager.warning('', 'Please Choose Country Or State');
|
|
@@ -8716,8 +8720,8 @@ var Checkout = function Checkout(props) {
|
|
|
8716
8720
|
}, Mycart()))));
|
|
8717
8721
|
};
|
|
8718
8722
|
|
|
8719
|
-
function ownKeys$
|
|
8720
|
-
function _objectSpread$
|
|
8723
|
+
function ownKeys$20(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; }
|
|
8724
|
+
function _objectSpread$20(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$20(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$20(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8721
8725
|
var Select$1 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
8722
8726
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
8723
8727
|
});
|
|
@@ -8798,46 +8802,46 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8798
8802
|
}
|
|
8799
8803
|
}, [fetchAuthorizationQueryContext.isSuccess]);
|
|
8800
8804
|
React.useEffect(function () {
|
|
8801
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
8805
|
+
var tempFetchQueriesEngineContext = _objectSpread$20({}, FetchQueriesEngineContext);
|
|
8802
8806
|
tempFetchQueriesEngineContext.institutecustomerinfosignup = true;
|
|
8803
8807
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
8804
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
8805
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
8808
|
+
setFetchQueriesEngineContext(_objectSpread$20({}, tempFetchQueriesEngineContext));
|
|
8809
|
+
var tempFetchQueriesEngineContext = _objectSpread$20({}, FetchQueriesEngineContext);
|
|
8806
8810
|
}, []);
|
|
8807
8811
|
React.useEffect(function () {
|
|
8808
8812
|
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
8809
|
-
setsectionproperties(_objectSpread$
|
|
8813
|
+
setsectionproperties(_objectSpread$20({}, props.sectionpropertiesprops));
|
|
8810
8814
|
}
|
|
8811
8815
|
}, [props.sectionpropertiesprops]);
|
|
8812
8816
|
React.useEffect(function () {
|
|
8813
8817
|
if (fetchinstitutecustomerinfosignupQueryContext.isSuccess) {
|
|
8814
8818
|
if (authdetailsContext.loggedin == true) {
|
|
8815
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
8816
|
-
setpayloadobj(_objectSpread$
|
|
8817
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
8819
|
+
var tempcustomerinfoobj = _objectSpread$20({}, fetchinstitutecustomerinfosignupQueryContext.data.data.customerinfo);
|
|
8820
|
+
setpayloadobj(_objectSpread$20({}, tempcustomerinfoobj));
|
|
8821
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$20({}, FetchTabexStatesPayloadobjContext);
|
|
8818
8822
|
if (tempcustomerinfoobj.countryid != null) {
|
|
8819
8823
|
tempFetchTabexStatesPayloadobjContext.country_id = tempcustomerinfoobj.countryid;
|
|
8820
8824
|
}
|
|
8821
8825
|
if (tempcustomerinfoobj.stateid != null) {
|
|
8822
8826
|
tempFetchTabexStatesPayloadobjContext.state_id = tempcustomerinfoobj.stateid;
|
|
8823
8827
|
}
|
|
8824
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
8828
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$20({}, tempFetchTabexStatesPayloadobjContext));
|
|
8825
8829
|
setdataloaded(true);
|
|
8826
8830
|
} else {
|
|
8827
8831
|
var _fetchinstitutecustom, _fetchinstitutecustom2;
|
|
8828
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
8832
|
+
var tempcustomerinfoobj = _objectSpread$20({}, payloadobj);
|
|
8829
8833
|
if (Array.isArray(fetchinstitutecustomerinfosignupQueryContext === null || fetchinstitutecustomerinfosignupQueryContext === void 0 ? void 0 : (_fetchinstitutecustom = fetchinstitutecustomerinfosignupQueryContext.data) === null || _fetchinstitutecustom === void 0 ? void 0 : (_fetchinstitutecustom2 = _fetchinstitutecustom.data) === null || _fetchinstitutecustom2 === void 0 ? void 0 : _fetchinstitutecustom2.instsignupformvalues)) {
|
|
8830
8834
|
tempcustomerinfoobj.instsignupformvalues = _toConsumableArray__default["default"](fetchinstitutecustomerinfosignupQueryContext.data.data.instsignupformvalues);
|
|
8831
8835
|
}
|
|
8832
|
-
setpayloadobj(_objectSpread$
|
|
8836
|
+
setpayloadobj(_objectSpread$20({}, tempcustomerinfoobj));
|
|
8833
8837
|
setdataloaded(true);
|
|
8834
8838
|
}
|
|
8835
8839
|
}
|
|
8836
8840
|
}, [fetchinstitutecustomerinfosignupQueryContext.isSuccess, fetchinstitutecustomerinfosignupQueryContext.data, authdetailsContext]);
|
|
8837
8841
|
var payloadobjchange = function payloadobjchange(key, value) {
|
|
8838
|
-
var temppayloadobj = _objectSpread$
|
|
8842
|
+
var temppayloadobj = _objectSpread$20({}, payloadobj);
|
|
8839
8843
|
temppayloadobj[key] = value;
|
|
8840
|
-
setpayloadobj(_objectSpread$
|
|
8844
|
+
setpayloadobj(_objectSpread$20({}, temppayloadobj));
|
|
8841
8845
|
};
|
|
8842
8846
|
var validateEmailstring = function validateEmailstring(email) {
|
|
8843
8847
|
return String(email).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
|
|
@@ -8904,7 +8908,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8904
8908
|
};
|
|
8905
8909
|
var signupbuttonfunc = function signupbuttonfunc() {
|
|
8906
8910
|
if (verifypayload() == true) {
|
|
8907
|
-
var temppayloadobj = _objectSpread$
|
|
8911
|
+
var temppayloadobj = _objectSpread$20({}, payloadobj);
|
|
8908
8912
|
if (authdetailsContext.loggedin == true) {
|
|
8909
8913
|
temppayloadobj.functype = 'edit';
|
|
8910
8914
|
} else {
|
|
@@ -9052,10 +9056,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9052
9056
|
autoFormat: true,
|
|
9053
9057
|
value: payloadobj.mobile,
|
|
9054
9058
|
onChange: function onChange(event, country) {
|
|
9055
|
-
var temp = _objectSpread$
|
|
9059
|
+
var temp = _objectSpread$20({}, payloadobj);
|
|
9056
9060
|
temp.mobile = event;
|
|
9057
9061
|
temp.countrydialcode = country.dialCode;
|
|
9058
|
-
setpayloadobj(_objectSpread$
|
|
9062
|
+
setpayloadobj(_objectSpread$20({}, temp));
|
|
9059
9063
|
// payloadobjchange('mobile', event);
|
|
9060
9064
|
|
|
9061
9065
|
// alert(JSON.stringify(country));
|
|
@@ -9108,10 +9112,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9108
9112
|
return option.id == payloadobj.countryid;
|
|
9109
9113
|
}),
|
|
9110
9114
|
onChange: function onChange(option) {
|
|
9111
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9115
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$20({}, FetchTabexStatesPayloadobjContext);
|
|
9112
9116
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
9113
9117
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
9114
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9118
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$20({}, tempFetchTabexStatesPayloadobjContext));
|
|
9115
9119
|
payloadobjchange('countryid', option.id);
|
|
9116
9120
|
},
|
|
9117
9121
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -9160,10 +9164,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9160
9164
|
return option.id == payloadobj.stateid;
|
|
9161
9165
|
}),
|
|
9162
9166
|
onChange: function onChange(option) {
|
|
9163
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9167
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$20({}, FetchTabexStatesPayloadobjContext);
|
|
9164
9168
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
9165
9169
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
9166
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9170
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$20({}, tempFetchTabexStatesPayloadobjContext));
|
|
9167
9171
|
payloadobjchange('stateid', option.id);
|
|
9168
9172
|
},
|
|
9169
9173
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -9292,9 +9296,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9292
9296
|
value: item.customersignupvalue,
|
|
9293
9297
|
textplaceholder: "",
|
|
9294
9298
|
onChange: function onChange(event) {
|
|
9295
|
-
var temppayloadobj = _objectSpread$
|
|
9299
|
+
var temppayloadobj = _objectSpread$20({}, payloadobj);
|
|
9296
9300
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
9297
|
-
setpayloadobj(_objectSpread$
|
|
9301
|
+
setpayloadobj(_objectSpread$20({}, temppayloadobj));
|
|
9298
9302
|
}
|
|
9299
9303
|
}), item.inputtype == 'checkbox' && /*#__PURE__*/React__default["default"].createElement("label", {
|
|
9300
9304
|
className: langdetect == 'en' ? "".concat(loginstyles.checkbox, " ").concat(formstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(loginstyles.checkbox, " ").concat(loginstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
@@ -9305,13 +9309,13 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9305
9309
|
className: formstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9306
9310
|
checked: item.customersignupvalue == 1 ? true : false,
|
|
9307
9311
|
onChange: function onChange() {
|
|
9308
|
-
var temppayloadobj = _objectSpread$
|
|
9312
|
+
var temppayloadobj = _objectSpread$20({}, payloadobj);
|
|
9309
9313
|
if (temppayloadobj.instsignupformvalues[index].customersignupvalue == 1) {
|
|
9310
9314
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 0;
|
|
9311
9315
|
} else {
|
|
9312
9316
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 1;
|
|
9313
9317
|
}
|
|
9314
|
-
setpayloadobj(_objectSpread$
|
|
9318
|
+
setpayloadobj(_objectSpread$20({}, temppayloadobj));
|
|
9315
9319
|
}
|
|
9316
9320
|
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9317
9321
|
viewBox: "0 0 21 21",
|
|
@@ -9328,9 +9332,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9328
9332
|
value: item.customersignupvalue,
|
|
9329
9333
|
textplaceholder: "",
|
|
9330
9334
|
onChange: function onChange(event) {
|
|
9331
|
-
var temppayloadobj = _objectSpread$
|
|
9335
|
+
var temppayloadobj = _objectSpread$20({}, payloadobj);
|
|
9332
9336
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
9333
|
-
setpayloadobj(_objectSpread$
|
|
9337
|
+
setpayloadobj(_objectSpread$20({}, temppayloadobj));
|
|
9334
9338
|
}
|
|
9335
9339
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
9336
9340
|
value: '',
|
|
@@ -9345,9 +9349,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9345
9349
|
value: item.customersignupvalue,
|
|
9346
9350
|
textplaceholder: "",
|
|
9347
9351
|
onChange: function onChange(event) {
|
|
9348
|
-
var temppayloadobj = _objectSpread$
|
|
9352
|
+
var temppayloadobj = _objectSpread$20({}, payloadobj);
|
|
9349
9353
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
9350
|
-
setpayloadobj(_objectSpread$
|
|
9354
|
+
setpayloadobj(_objectSpread$20({}, temppayloadobj));
|
|
9351
9355
|
},
|
|
9352
9356
|
style: {
|
|
9353
9357
|
resize: 'none'
|
|
@@ -9655,7 +9659,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9655
9659
|
className: "".concat(formstyles.form_control),
|
|
9656
9660
|
value: validateemailpayload.code,
|
|
9657
9661
|
onChange: function onChange(event) {
|
|
9658
|
-
setvalidateemailpayload(_objectSpread$
|
|
9662
|
+
setvalidateemailpayload(_objectSpread$20(_objectSpread$20({}, validateemailpayload), {}, {
|
|
9659
9663
|
code: event.target.value
|
|
9660
9664
|
}));
|
|
9661
9665
|
}
|
|
@@ -9679,12 +9683,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9679
9683
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
9680
9684
|
if (data.data.status) {
|
|
9681
9685
|
if (data.data.functype == 'sendcode') {
|
|
9682
|
-
setvalidateemailpayload(_objectSpread$
|
|
9686
|
+
setvalidateemailpayload(_objectSpread$20(_objectSpread$20({}, validateemailpayload), {}, {
|
|
9683
9687
|
step: 'verifycode'
|
|
9684
9688
|
}));
|
|
9685
9689
|
}
|
|
9686
9690
|
if (data.data.functype == 'verifycode') {
|
|
9687
|
-
setvalidateemailpayload(_objectSpread$
|
|
9691
|
+
setvalidateemailpayload(_objectSpread$20(_objectSpread$20({}, validateemailpayload), {}, {
|
|
9688
9692
|
isvalidated: true
|
|
9689
9693
|
}));
|
|
9690
9694
|
setvalidateemailmodal(false);
|
|
@@ -9712,8 +9716,8 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9712
9716
|
}, validateemailpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
9713
9717
|
};
|
|
9714
9718
|
|
|
9715
|
-
function ownKeys$
|
|
9716
|
-
function _objectSpread$
|
|
9719
|
+
function ownKeys$1$(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; }
|
|
9720
|
+
function _objectSpread$1$(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1$(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9717
9721
|
var Signup = function Signup(props) {
|
|
9718
9722
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
9719
9723
|
props.actions.CurrentSrcTypeContext;
|
|
@@ -9761,7 +9765,7 @@ var Signup = function Signup(props) {
|
|
|
9761
9765
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
9762
9766
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
9763
9767
|
});
|
|
9764
|
-
setsectionproperties(_objectSpread$
|
|
9768
|
+
setsectionproperties(_objectSpread$1$({}, secpropobj));
|
|
9765
9769
|
}
|
|
9766
9770
|
}, [StatePagePropertiesContext]);
|
|
9767
9771
|
var loginstyles2 = {
|
|
@@ -9887,8 +9891,8 @@ var Signup = function Signup(props) {
|
|
|
9887
9891
|
}))))))));
|
|
9888
9892
|
};
|
|
9889
9893
|
|
|
9890
|
-
function ownKeys$
|
|
9891
|
-
function _objectSpread$
|
|
9894
|
+
function ownKeys$1_(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; }
|
|
9895
|
+
function _objectSpread$1_(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1_(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1_(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9892
9896
|
var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
9893
9897
|
var _css;
|
|
9894
9898
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -9954,7 +9958,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
9954
9958
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
9955
9959
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
9956
9960
|
});
|
|
9957
|
-
setsectionproperties(_objectSpread$
|
|
9961
|
+
setsectionproperties(_objectSpread$1_({}, secpropobj));
|
|
9958
9962
|
}
|
|
9959
9963
|
}, [StatePagePropertiesContext]);
|
|
9960
9964
|
var loginstyles2 = {
|
|
@@ -10051,7 +10055,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10051
10055
|
className: "".concat(loginstyles2.form_control),
|
|
10052
10056
|
value: affsignuppayload.name,
|
|
10053
10057
|
onChange: function onChange(event) {
|
|
10054
|
-
setaffsignuppayload(_objectSpread$
|
|
10058
|
+
setaffsignuppayload(_objectSpread$1_(_objectSpread$1_({}, affsignuppayload), {}, {
|
|
10055
10059
|
name: event.target.value
|
|
10056
10060
|
}));
|
|
10057
10061
|
},
|
|
@@ -10067,7 +10071,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10067
10071
|
className: "".concat(loginstyles2.form_control),
|
|
10068
10072
|
value: affsignuppayload.email,
|
|
10069
10073
|
onChange: function onChange(event) {
|
|
10070
|
-
setaffsignuppayload(_objectSpread$
|
|
10074
|
+
setaffsignuppayload(_objectSpread$1_(_objectSpread$1_({}, affsignuppayload), {}, {
|
|
10071
10075
|
email: event.target.value
|
|
10072
10076
|
}));
|
|
10073
10077
|
},
|
|
@@ -10085,10 +10089,10 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10085
10089
|
autoFormat: true,
|
|
10086
10090
|
value: affsignuppayload.phonenumber,
|
|
10087
10091
|
onChange: function onChange(event, country) {
|
|
10088
|
-
var temp = _objectSpread$
|
|
10092
|
+
var temp = _objectSpread$1_({}, affsignuppayload);
|
|
10089
10093
|
temp.phonenumber = event;
|
|
10090
10094
|
temp.countrydialcode = country.dialCode;
|
|
10091
|
-
setaffsignuppayload(_objectSpread$
|
|
10095
|
+
setaffsignuppayload(_objectSpread$1_({}, temp));
|
|
10092
10096
|
// setaffsignuppayload({ ...affsignuppayload, phonenumber: event.target.value });
|
|
10093
10097
|
},
|
|
10094
10098
|
|
|
@@ -10104,7 +10108,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10104
10108
|
className: "".concat(loginstyles2.form_control),
|
|
10105
10109
|
value: affsignuppayload.ssn,
|
|
10106
10110
|
onChange: function onChange(event) {
|
|
10107
|
-
setaffsignuppayload(_objectSpread$
|
|
10111
|
+
setaffsignuppayload(_objectSpread$1_(_objectSpread$1_({}, affsignuppayload), {}, {
|
|
10108
10112
|
ssn: event.target.value
|
|
10109
10113
|
}));
|
|
10110
10114
|
},
|
|
@@ -10120,7 +10124,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10120
10124
|
className: "".concat(loginstyles2.form_control),
|
|
10121
10125
|
value: affsignuppayload.password,
|
|
10122
10126
|
onChange: function onChange(event) {
|
|
10123
|
-
setaffsignuppayload(_objectSpread$
|
|
10127
|
+
setaffsignuppayload(_objectSpread$1_(_objectSpread$1_({}, affsignuppayload), {}, {
|
|
10124
10128
|
password: event.target.value
|
|
10125
10129
|
}));
|
|
10126
10130
|
},
|
|
@@ -10136,7 +10140,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10136
10140
|
className: "".concat(loginstyles2.form_control),
|
|
10137
10141
|
value: affsignuppayload.confirmpassword,
|
|
10138
10142
|
onChange: function onChange(event) {
|
|
10139
|
-
setaffsignuppayload(_objectSpread$
|
|
10143
|
+
setaffsignuppayload(_objectSpread$1_(_objectSpread$1_({}, affsignuppayload), {}, {
|
|
10140
10144
|
confirmpassword: event.target.value
|
|
10141
10145
|
}));
|
|
10142
10146
|
},
|
|
@@ -10189,8 +10193,8 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10189
10193
|
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar)))))))));
|
|
10190
10194
|
};
|
|
10191
10195
|
|
|
10192
|
-
function ownKeys$
|
|
10193
|
-
function _objectSpread$
|
|
10196
|
+
function ownKeys$1Z(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; }
|
|
10197
|
+
function _objectSpread$1Z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1Z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1Z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10194
10198
|
var AccountInformation = function AccountInformation(props) {
|
|
10195
10199
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
10196
10200
|
var lang = props.actions.lang;
|
|
@@ -10205,7 +10209,7 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
10205
10209
|
props === null || props === void 0 ? void 0 : (_props$actions = props.actions) === null || _props$actions === void 0 ? void 0 : (_props$actions$StateP = _props$actions.StatePagePropertiesContext) === null || _props$actions$StateP === void 0 ? void 0 : (_props$actions$StateP2 = _props$actions$StateP.pageobj) === null || _props$actions$StateP2 === void 0 ? void 0 : (_props$actions$StateP3 = _props$actions$StateP2.pageproperties) === null || _props$actions$StateP3 === void 0 ? void 0 : _props$actions$StateP3.forEach(function (arrayItem, arrayindex) {
|
|
10206
10210
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10207
10211
|
});
|
|
10208
|
-
setsectionproperties(_objectSpread$
|
|
10212
|
+
setsectionproperties(_objectSpread$1Z({}, secpropobj));
|
|
10209
10213
|
}, [props.actions.StatePagePropertiesContext]);
|
|
10210
10214
|
var _useState = React.useState(''),
|
|
10211
10215
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
@@ -10376,8 +10380,8 @@ var css_248z$F = ".tabs-module_tabs__36dMY {\n position: relative;\n heigh
|
|
|
10376
10380
|
var tabstyles = {"tabs":"tabs-module_tabs__36dMY","tabsul":"tabs-module_tabsul__wNZqy","tabsli":"tabs-module_tabsli__-uR10","active":"tabs-module_active__6wLfI","tabsliheaderresp":"tabs-module_tabsliheaderresp__TPNhh","accordionContainer":"tabs-module_accordionContainer__-MSW5","policiestabs":"tabs-module_policiestabs__nopXD"};
|
|
10377
10381
|
styleInject(css_248z$F);
|
|
10378
10382
|
|
|
10379
|
-
function ownKeys$
|
|
10380
|
-
function _objectSpread$
|
|
10383
|
+
function ownKeys$1Y(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; }
|
|
10384
|
+
function _objectSpread$1Y(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1Y(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1Y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10381
10385
|
var Policies = function Policies(props) {
|
|
10382
10386
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchInstitutePolici, _fetchInstitutePolici2, _fetchInstitutePolici3, _fetchInstitutePolici4, _fetchInstitutePolici5, _fetchInstitutePolici6, _fetchInstitutePolici7, _fetchInstitutePolici8;
|
|
10383
10387
|
var _useState = React.useState(''),
|
|
@@ -10408,7 +10412,7 @@ var Policies = function Policies(props) {
|
|
|
10408
10412
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
10409
10413
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10410
10414
|
});
|
|
10411
|
-
setsectionproperties(_objectSpread$
|
|
10415
|
+
setsectionproperties(_objectSpread$1Y({}, secpropobj));
|
|
10412
10416
|
}
|
|
10413
10417
|
}, [StatePagePropertiesContext]);
|
|
10414
10418
|
React.useEffect(function () {
|
|
@@ -10421,9 +10425,9 @@ var Policies = function Policies(props) {
|
|
|
10421
10425
|
}
|
|
10422
10426
|
}, []);
|
|
10423
10427
|
React.useEffect(function () {
|
|
10424
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10428
|
+
var tempFetchQueriesEngineContext = _objectSpread$1Y({}, FetchQueriesEngineContext);
|
|
10425
10429
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
10426
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
10430
|
+
setFetchQueriesEngineContext(_objectSpread$1Y({}, tempFetchQueriesEngineContext));
|
|
10427
10431
|
}, []);
|
|
10428
10432
|
var _useState7 = React.useState([]),
|
|
10429
10433
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
@@ -10649,8 +10653,8 @@ var css_248z$E = ".cart-module_cartslider_container__idend {\n transition: 0.
|
|
|
10649
10653
|
var cartstyles = {"cartslider_container":"cart-module_cartslider_container__idend","close_menu_icon_cont":"cart-module_close_menu_icon_cont__uh-pE","cart_slider_imagecont":"cart-module_cart_slider_imagecont__tnHMt","checkout_cart_slider_imagecont":"cart-module_checkout_cart_slider_imagecont__UX2ct","checkout_quantity_cont":"cart-module_checkout_quantity_cont__Rr3RO","btn_circle":"cart-module_btn_circle__p-BDZ","cart_progress_card":"cart-module_cart_progress_card__jEFwg","cart_progress_card_active":"cart-module_cart_progress_card_active__gQzWT","trash_btn":"cart-module_trash_btn__bHQxy","btn_apply":"cart-module_btn_apply__phbo8","checkout_card_card":"cart-module_checkout_card_card__4zUo9"};
|
|
10650
10654
|
styleInject(css_248z$E);
|
|
10651
10655
|
|
|
10652
|
-
function ownKeys$
|
|
10653
|
-
function _objectSpread$
|
|
10656
|
+
function ownKeys$1X(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; }
|
|
10657
|
+
function _objectSpread$1X(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1X(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1X(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10654
10658
|
var CartSlider = function CartSlider(props) {
|
|
10655
10659
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22;
|
|
10656
10660
|
var lang = props.actions.lang;
|
|
@@ -10715,7 +10719,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
10715
10719
|
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
10716
10720
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10717
10721
|
});
|
|
10718
|
-
setsectionproperties(_objectSpread$
|
|
10722
|
+
setsectionproperties(_objectSpread$1X({}, secpropobj));
|
|
10719
10723
|
}, [CurrentPageId]);
|
|
10720
10724
|
React.useEffect(function () {
|
|
10721
10725
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -10725,7 +10729,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
10725
10729
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
10726
10730
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10727
10731
|
});
|
|
10728
|
-
setsectionproperties(_objectSpread$
|
|
10732
|
+
setsectionproperties(_objectSpread$1X({}, secpropobj));
|
|
10729
10733
|
}
|
|
10730
10734
|
}
|
|
10731
10735
|
}, [StatePagePropertiesContext]);
|
|
@@ -11067,8 +11071,8 @@ var CartSlider = function CartSlider(props) {
|
|
|
11067
11071
|
}, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar)))))));
|
|
11068
11072
|
};
|
|
11069
11073
|
|
|
11070
|
-
function ownKeys$
|
|
11071
|
-
function _objectSpread$
|
|
11074
|
+
function ownKeys$1W(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; }
|
|
11075
|
+
function _objectSpread$1W(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1W(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1W(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
11072
11076
|
var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
11073
11077
|
var _useState = React.useState(''),
|
|
11074
11078
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
@@ -11112,7 +11116,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
11112
11116
|
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
11113
11117
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11114
11118
|
});
|
|
11115
|
-
setsectionproperties(_objectSpread$
|
|
11119
|
+
setsectionproperties(_objectSpread$1W({}, secpropobj));
|
|
11116
11120
|
}, [CurrentPageId]);
|
|
11117
11121
|
React.useEffect(function () {
|
|
11118
11122
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -11122,7 +11126,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
11122
11126
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
11123
11127
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11124
11128
|
});
|
|
11125
|
-
setsectionproperties(_objectSpread$
|
|
11129
|
+
setsectionproperties(_objectSpread$1W({}, secpropobj));
|
|
11126
11130
|
}
|
|
11127
11131
|
}
|
|
11128
11132
|
}, [StatePagePropertiesContext]);
|
|
@@ -11350,8 +11354,8 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
11350
11354
|
}, CategoriesDropdown()));
|
|
11351
11355
|
};
|
|
11352
11356
|
|
|
11353
|
-
function ownKeys$
|
|
11354
|
-
function _objectSpread$
|
|
11357
|
+
function ownKeys$1V(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; }
|
|
11358
|
+
function _objectSpread$1V(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1V(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1V(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
11355
11359
|
var OrderSuccess = function OrderSuccess(props) {
|
|
11356
11360
|
var _props$actions2;
|
|
11357
11361
|
props.actions.lang;
|
|
@@ -11401,7 +11405,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
11401
11405
|
props === null || props === void 0 ? void 0 : (_props$actions = props.actions) === null || _props$actions === void 0 ? void 0 : (_props$actions$StateP = _props$actions.StatePagePropertiesContext) === null || _props$actions$StateP === void 0 ? void 0 : (_props$actions$StateP2 = _props$actions$StateP.pageobj) === null || _props$actions$StateP2 === void 0 ? void 0 : (_props$actions$StateP3 = _props$actions$StateP2.pageproperties) === null || _props$actions$StateP3 === void 0 ? void 0 : _props$actions$StateP3.forEach(function (arrayItem, arrayindex) {
|
|
11402
11406
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11403
11407
|
});
|
|
11404
|
-
setsectionproperties(_objectSpread$
|
|
11408
|
+
setsectionproperties(_objectSpread$1V({}, secpropobj));
|
|
11405
11409
|
}, [props === null || props === void 0 ? void 0 : (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
11406
11410
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
11407
11411
|
var ordersuccessstyle = {
|
|
@@ -11494,8 +11498,8 @@ var css_248z$D = ".filter-module_timeline__ROm9Q .filter-module_border_left_line
|
|
|
11494
11498
|
var filterstyles = {"timeline":"filter-module_timeline__ROm9Q","border_left_line":"filter-module_border_left_line__IkxXK","btn_item":"filter-module_btn_item__GoKTf","timelineinnercont_active":"filter-module_timelineinnercont_active__2sLI7","timeline_text":"filter-module_timeline_text__NgaGy","timelineinnercont":"filter-module_timelineinnercont__Zme9K","timelinetrans":"filter-module_timelinetrans__KzVCg","filterslider_container":"filter-module_filterslider_container__I-7sG","filterslider_container_opened":"filter-module_filterslider_container_opened__2eZes","outercontainer":"filter-module_outercontainer__kmY9b","innercontainer":"filter-module_innercontainer__VKukp","card":"filter-module_card__7yDs0"};
|
|
11495
11499
|
styleInject(css_248z$D);
|
|
11496
11500
|
|
|
11497
|
-
function ownKeys$
|
|
11498
|
-
function _objectSpread$
|
|
11501
|
+
function ownKeys$1U(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; }
|
|
11502
|
+
function _objectSpread$1U(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1U(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1U(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
11499
11503
|
var Select = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
11500
11504
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
11501
11505
|
});
|
|
@@ -11597,11 +11601,11 @@ var Filter$1 = function Filter(props) {
|
|
|
11597
11601
|
}
|
|
11598
11602
|
timeoutRef.current = setTimeout(function () {
|
|
11599
11603
|
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
11600
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
11604
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
11601
11605
|
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
11602
11606
|
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
11603
11607
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
11604
|
-
setProductFilterObjContext(_objectSpread$
|
|
11608
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
11605
11609
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
11606
11610
|
}
|
|
11607
11611
|
}, 500);
|
|
@@ -11609,24 +11613,24 @@ var Filter$1 = function Filter(props) {
|
|
|
11609
11613
|
React.useEffect(function () {
|
|
11610
11614
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
11611
11615
|
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
11612
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
11616
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1U({}, FetchTabexStatesPayloadobjContext);
|
|
11613
11617
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
11614
11618
|
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
11615
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
11619
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1U({}, tempFetchTabexStatesPayloadobjContext));
|
|
11616
11620
|
}
|
|
11617
11621
|
}
|
|
11618
11622
|
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
11619
11623
|
var filterupdater = function filterupdater() {
|
|
11620
11624
|
setTimeout(function () {
|
|
11621
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
11625
|
+
var tempFetchQueriesEngineContext = _objectSpread$1U({}, FetchQueriesEngineContext);
|
|
11622
11626
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
11623
11627
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
11624
11628
|
}, 100);
|
|
11625
11629
|
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
11626
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
11630
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1U({}, FetchTabexStatesPayloadobjContext);
|
|
11627
11631
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
11628
11632
|
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
11629
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
11633
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1U({}, tempFetchTabexStatesPayloadobjContext));
|
|
11630
11634
|
}
|
|
11631
11635
|
if (instfilters.length != 0) {
|
|
11632
11636
|
var _ProductFilterObjCont;
|
|
@@ -11688,7 +11692,7 @@ var Filter$1 = function Filter(props) {
|
|
|
11688
11692
|
}
|
|
11689
11693
|
};
|
|
11690
11694
|
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
11691
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
11695
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
11692
11696
|
if (type == 'clearfilters') {
|
|
11693
11697
|
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
11694
11698
|
} else {
|
|
@@ -11712,14 +11716,14 @@ var Filter$1 = function Filter(props) {
|
|
|
11712
11716
|
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
11713
11717
|
}
|
|
11714
11718
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
11715
|
-
setProductFilterObjContext(_objectSpread$
|
|
11719
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
11716
11720
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11717
11721
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
11718
11722
|
};
|
|
11719
11723
|
|
|
11720
11724
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
11721
11725
|
var _tempfetchproductsfil2;
|
|
11722
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
11726
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
11723
11727
|
var CollectionExists = false;
|
|
11724
11728
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 ? void 0 : (_tempfetchproductsfil2 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil2 === void 0 ? void 0 : _tempfetchproductsfil2.forEach(function (filteritem, filterindex) {
|
|
11725
11729
|
if (filteritem == collectionid) {
|
|
@@ -11731,7 +11735,7 @@ var Filter$1 = function Filter(props) {
|
|
|
11731
11735
|
tempfetchproductsfilerobjcontext.collections.push(collectionid);
|
|
11732
11736
|
}
|
|
11733
11737
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
11734
|
-
setProductFilterObjContext(_objectSpread$
|
|
11738
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
11735
11739
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11736
11740
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
11737
11741
|
};
|
|
@@ -12115,14 +12119,14 @@ var Filter$1 = function Filter(props) {
|
|
|
12115
12119
|
return option.id == ProductFilterObjContext.countryid;
|
|
12116
12120
|
}),
|
|
12117
12121
|
onChange: function onChange(option) {
|
|
12118
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
12122
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1U({}, FetchTabexStatesPayloadobjContext);
|
|
12119
12123
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
12120
12124
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
12121
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
12122
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
12125
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1U({}, tempFetchTabexStatesPayloadobjContext));
|
|
12126
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
12123
12127
|
tempfetchproductsfilerobjcontext.countryid = option.id;
|
|
12124
12128
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
12125
|
-
setProductFilterObjContext(_objectSpread$
|
|
12129
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
12126
12130
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
12127
12131
|
},
|
|
12128
12132
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -12159,14 +12163,14 @@ var Filter$1 = function Filter(props) {
|
|
|
12159
12163
|
return option.id == ProductFilterObjContext.stateid;
|
|
12160
12164
|
}),
|
|
12161
12165
|
onChange: function onChange(option) {
|
|
12162
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
12166
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1U({}, FetchTabexStatesPayloadobjContext);
|
|
12163
12167
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
12164
12168
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
12165
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
12166
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
12169
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1U({}, tempFetchTabexStatesPayloadobjContext));
|
|
12170
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
12167
12171
|
tempfetchproductsfilerobjcontext.stateid = option.id;
|
|
12168
12172
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
12169
|
-
setProductFilterObjContext(_objectSpread$
|
|
12173
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
12170
12174
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
12171
12175
|
},
|
|
12172
12176
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -12203,10 +12207,10 @@ var Filter$1 = function Filter(props) {
|
|
|
12203
12207
|
return option.id == ProductFilterObjContext.cityid;
|
|
12204
12208
|
}),
|
|
12205
12209
|
onChange: function onChange(option) {
|
|
12206
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
12210
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
12207
12211
|
tempfetchproductsfilerobjcontext.cityid = option.id;
|
|
12208
12212
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
12209
|
-
setProductFilterObjContext(_objectSpread$
|
|
12213
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
12210
12214
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
12211
12215
|
},
|
|
12212
12216
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -12365,14 +12369,14 @@ var Filter$1 = function Filter(props) {
|
|
|
12365
12369
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12366
12370
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
12367
12371
|
onClick: function onClick() {
|
|
12368
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
12372
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
12369
12373
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
12370
12374
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
12371
12375
|
} else {
|
|
12372
12376
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
12373
12377
|
}
|
|
12374
12378
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
12375
|
-
setProductFilterObjContext(_objectSpread$
|
|
12379
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
12376
12380
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
12377
12381
|
}
|
|
12378
12382
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -12407,7 +12411,7 @@ var Filter$1 = function Filter(props) {
|
|
|
12407
12411
|
minValue: 0,
|
|
12408
12412
|
value: raterangevalue,
|
|
12409
12413
|
onChange: function onChange(value) {
|
|
12410
|
-
setraterangevalue(_objectSpread$
|
|
12414
|
+
setraterangevalue(_objectSpread$1U({}, value));
|
|
12411
12415
|
}
|
|
12412
12416
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12413
12417
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex align-items-center d-md-none"
|
|
@@ -12548,13 +12552,13 @@ var Filter$1 = function Filter(props) {
|
|
|
12548
12552
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
12549
12553
|
onClick: function onClick() {
|
|
12550
12554
|
// setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
12551
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
12555
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
12552
12556
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
12553
12557
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
12554
12558
|
} else {
|
|
12555
12559
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
12556
12560
|
}
|
|
12557
|
-
setProductFilterObjContext(_objectSpread$
|
|
12561
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
12558
12562
|
}
|
|
12559
12563
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12560
12564
|
className: " ".concat(ischecked ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
@@ -12586,8 +12590,8 @@ var Filter$1 = function Filter(props) {
|
|
|
12586
12590
|
|
|
12587
12591
|
var serverbaselink$1 = 'https://tabex-co.com';
|
|
12588
12592
|
|
|
12589
|
-
function ownKeys$
|
|
12590
|
-
function _objectSpread$
|
|
12593
|
+
function ownKeys$1T(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; }
|
|
12594
|
+
function _objectSpread$1T(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1T(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1T(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12591
12595
|
var CardsSection = function CardsSection(props) {
|
|
12592
12596
|
var refscr = /*#__PURE__*/React.createRef();
|
|
12593
12597
|
var _useInView = reactIntersectionObserver.useInView();
|
|
@@ -12670,7 +12674,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
12670
12674
|
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
12671
12675
|
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
12672
12676
|
});
|
|
12673
|
-
setsectionproperties(_objectSpread$
|
|
12677
|
+
setsectionproperties(_objectSpread$1T({}, secpropobj));
|
|
12674
12678
|
if (props.srcfromprops == 'GeneralProductsComponent') {
|
|
12675
12679
|
setfetchingtype('products');
|
|
12676
12680
|
var lcproductfetchingtype = 'Random';
|
|
@@ -12744,7 +12748,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
12744
12748
|
}
|
|
12745
12749
|
tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
|
|
12746
12750
|
tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
|
|
12747
|
-
setProductFilterObjContext(_objectSpread$
|
|
12751
|
+
setProductFilterObjContext(_objectSpread$1T({}, tempfetchproductsfilerobjcontext));
|
|
12748
12752
|
}
|
|
12749
12753
|
if (fetchingtype == 'categories') {
|
|
12750
12754
|
if (fetchAuthorizationQueryContext !== null && fetchAuthorizationQueryContext !== void 0 && fetchAuthorizationQueryContext.isSuccess) {
|
|
@@ -12820,7 +12824,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
12820
12824
|
cardobjassigner(collections);
|
|
12821
12825
|
}
|
|
12822
12826
|
}
|
|
12823
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
12827
|
+
setFetchQueriesEngineContext(_objectSpread$1T({}, tempFetchQueriesEngineContext));
|
|
12824
12828
|
}
|
|
12825
12829
|
}, [fetchingtype, ProductsFetchingTypeSectionObj]);
|
|
12826
12830
|
React.useEffect(function () {
|
|
@@ -12989,9 +12993,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
12989
12993
|
// Example items, to simulate fetching from another resources.
|
|
12990
12994
|
var handlePageClick = function handlePageClick(event) {
|
|
12991
12995
|
props.scrolltotop();
|
|
12992
|
-
var tempProductFilterObjContext = _objectSpread$
|
|
12996
|
+
var tempProductFilterObjContext = _objectSpread$1T({}, ProductFilterObjContext);
|
|
12993
12997
|
tempProductFilterObjContext.page = event === null || event === void 0 ? void 0 : event.selected;
|
|
12994
|
-
setProductFilterObjContext(_objectSpread$
|
|
12998
|
+
setProductFilterObjContext(_objectSpread$1T({}, tempProductFilterObjContext));
|
|
12995
12999
|
var pasturl = '';
|
|
12996
13000
|
if (props.grouptypeprops != undefined) {
|
|
12997
13001
|
if (props.collectionidprops != undefined) {
|
|
@@ -13548,8 +13552,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13548
13552
|
})), fetchingtype == 'custom' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, cardsrender()), fetchingtype != 'custom' && cardsrender()));
|
|
13549
13553
|
};
|
|
13550
13554
|
|
|
13551
|
-
function ownKeys$
|
|
13552
|
-
function _objectSpread$
|
|
13555
|
+
function ownKeys$1S(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; }
|
|
13556
|
+
function _objectSpread$1S(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1S(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1S(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13553
13557
|
var InnerGroups = function InnerGroups(props) {
|
|
13554
13558
|
var _useState = React.useState(''),
|
|
13555
13559
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -13590,7 +13594,7 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
13590
13594
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
13591
13595
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13592
13596
|
});
|
|
13593
|
-
setsectionproperties(_objectSpread$
|
|
13597
|
+
setsectionproperties(_objectSpread$1S({}, secpropobj));
|
|
13594
13598
|
}
|
|
13595
13599
|
}, [StatePagePropertiesContext]);
|
|
13596
13600
|
// useEffect(() => {
|
|
@@ -13606,7 +13610,7 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
13606
13610
|
backgroundColor: sectionproperties.backgroundColor
|
|
13607
13611
|
}
|
|
13608
13612
|
}, /*#__PURE__*/React__default["default"].createElement(CardsSection, {
|
|
13609
|
-
actions: _objectSpread$
|
|
13613
|
+
actions: _objectSpread$1S(_objectSpread$1S({}, actions), {}, {
|
|
13610
13614
|
fetchingtype: grouptypeparams
|
|
13611
13615
|
})
|
|
13612
13616
|
}));
|
|
@@ -13831,8 +13835,8 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
13831
13835
|
}, lang.nosearchresults)))))));
|
|
13832
13836
|
};
|
|
13833
13837
|
|
|
13834
|
-
function ownKeys$
|
|
13835
|
-
function _objectSpread$
|
|
13838
|
+
function ownKeys$1R(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; }
|
|
13839
|
+
function _objectSpread$1R(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1R(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1R(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13836
13840
|
var MarqueeHeader = function MarqueeHeader(props) {
|
|
13837
13841
|
var _textarray$, _textarray$2;
|
|
13838
13842
|
props.actions;
|
|
@@ -13853,12 +13857,12 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
13853
13857
|
settextarray = _useState6[1];
|
|
13854
13858
|
React.useEffect(function () {
|
|
13855
13859
|
if (props.sectionpropertiesprops != undefined) {
|
|
13856
|
-
setsectionproperties(_objectSpread$
|
|
13860
|
+
setsectionproperties(_objectSpread$1R({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
13857
13861
|
}
|
|
13858
13862
|
}, [props.sectionpropertiesprops]);
|
|
13859
13863
|
React.useEffect(function () {
|
|
13860
13864
|
if (props.templateproperties_contextprops != undefined) {
|
|
13861
|
-
settemplateproperties_context(_objectSpread$
|
|
13865
|
+
settemplateproperties_context(_objectSpread$1R({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
13862
13866
|
}
|
|
13863
13867
|
}, [props.templateproperties_contextprops]);
|
|
13864
13868
|
React.useEffect(function () {
|
|
@@ -13900,8 +13904,8 @@ var css_248z$B = ".subheader-module_sub_outercontainer__-z5ZD {\n position: r
|
|
|
13900
13904
|
var headerstyles$f = {"sub_outercontainer":"subheader-module_sub_outercontainer__-z5ZD","nav__item":"subheader-module_nav__item__8oLkw","link":"subheader-module_link__7IEBY","dropmenu":"subheader-module_dropmenu__lL4Sc","active":"subheader-module_active__MjZNG","subheader":"subheader-module_subheader__aW8fS"};
|
|
13901
13905
|
styleInject(css_248z$B);
|
|
13902
13906
|
|
|
13903
|
-
function ownKeys$
|
|
13904
|
-
function _objectSpread$
|
|
13907
|
+
function ownKeys$1Q(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; }
|
|
13908
|
+
function _objectSpread$1Q(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1Q(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1Q(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13905
13909
|
var Subheader = function Subheader(props) {
|
|
13906
13910
|
var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery3, _fetchCategoriesQuery4, _authdetailsContext$i, _authdetailsContext$i2, _props$subheaderprope12, _templatepropcontext$2, _props$subheaderprope15, _props$subheaderprope16, _templatepropcontext$3, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _authdetailsContext$i3, _authdetailsContext$i4, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _authdetailsContext$i5, _authdetailsContext$i6, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11, _fetchCategoriesQuery12, _props$subheaderprope31, _props$subheaderprope32, _props$subheaderprope33, _props$subheaderprope34, _fetchCategoriesQuery13, _fetchCategoriesQuery14, _fetchCategoriesQuery15, _fetchCategoriesQuery16, _fetchCategoriesQuery17, _fetchCategoriesQuery18, _fetchCategoriesQuery19, _fetchCategoriesQuery23, _fetchCategoriesQuery24, _fetchCategoriesQuery25, _fetchCategoriesQuery26;
|
|
13907
13911
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
@@ -13937,12 +13941,12 @@ var Subheader = function Subheader(props) {
|
|
|
13937
13941
|
React.useEffect(function () {
|
|
13938
13942
|
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
13939
13943
|
tempFetchQueriesEngineContext.categories = true;
|
|
13940
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
13944
|
+
setFetchQueriesEngineContext(_objectSpread$1Q({}, tempFetchQueriesEngineContext));
|
|
13941
13945
|
// alert(JSON.stringify(authdetailsContext));
|
|
13942
13946
|
}, []);
|
|
13943
13947
|
React.useEffect(function () {
|
|
13944
13948
|
if (props.sectionpropertiesprops != undefined) {
|
|
13945
|
-
setsectionproperties(_objectSpread$
|
|
13949
|
+
setsectionproperties(_objectSpread$1Q({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
13946
13950
|
}
|
|
13947
13951
|
}, [props.sectionpropertiesprops]);
|
|
13948
13952
|
// useEffect(() => {
|
|
@@ -14408,8 +14412,8 @@ var Subheader = function Subheader(props) {
|
|
|
14408
14412
|
})))))));
|
|
14409
14413
|
};
|
|
14410
14414
|
|
|
14411
|
-
function ownKeys$
|
|
14412
|
-
function _objectSpread$
|
|
14415
|
+
function ownKeys$1P(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; }
|
|
14416
|
+
function _objectSpread$1P(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1P(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1P(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14413
14417
|
var Headerresponsive = function Headerresponsive(props) {
|
|
14414
14418
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
14415
14419
|
var actions = props.actions;
|
|
@@ -14440,7 +14444,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
14440
14444
|
_useState4[1];
|
|
14441
14445
|
React.useEffect(function () {
|
|
14442
14446
|
if (props.sectionpropertiesprops != undefined) {
|
|
14443
|
-
setsectionproperties(_objectSpread$
|
|
14447
|
+
setsectionproperties(_objectSpread$1P({}, props.sectionpropertiesprops));
|
|
14444
14448
|
}
|
|
14445
14449
|
}, [props.sectionpropertiesprops]);
|
|
14446
14450
|
var _useState5 = React.useState([]),
|
|
@@ -14618,6 +14622,13 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
14618
14622
|
borderColor: sectionproperties.userbtnresp_IconColoronhover,
|
|
14619
14623
|
backgroundColor: sectionproperties.userbtnresp_bgColoronhover
|
|
14620
14624
|
}
|
|
14625
|
+
}),
|
|
14626
|
+
storeimage: glamor.css({
|
|
14627
|
+
'@media (max-width: 800px)': {
|
|
14628
|
+
maxWidth: '120px',
|
|
14629
|
+
maxHeight: '110px',
|
|
14630
|
+
objectFit: 'contain'
|
|
14631
|
+
}
|
|
14621
14632
|
})
|
|
14622
14633
|
};
|
|
14623
14634
|
var CartButton = function CartButton() {
|
|
@@ -14706,8 +14717,10 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
14706
14717
|
onClick: function onClick() {
|
|
14707
14718
|
var element2 = document.getElementById('filter');
|
|
14708
14719
|
element2.classList.toggle('d-flex');
|
|
14709
|
-
|
|
14710
|
-
|
|
14720
|
+
if (sectionproperties.showhidesubheader == 'Show') {
|
|
14721
|
+
var element3 = document.getElementById('subheader');
|
|
14722
|
+
element3.classList.toggle('d-none');
|
|
14723
|
+
}
|
|
14711
14724
|
// setopenCnvas(true);
|
|
14712
14725
|
}
|
|
14713
14726
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -15154,6 +15167,31 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
15154
15167
|
style: {
|
|
15155
15168
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
15156
15169
|
}
|
|
15170
|
+
}))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15171
|
+
className: "row m-0 w-100"
|
|
15172
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15173
|
+
className: "col-lg-12 allcentered mt-3"
|
|
15174
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
15175
|
+
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
15176
|
+
"class": header_cssstyles.storeimage + ' cursor-pointer mx-3 mx-sm-2 ',
|
|
15177
|
+
onClick: function onClick() {
|
|
15178
|
+
var _authdetailsContext$i9;
|
|
15179
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.mobileapplink_appstore, '_blank');
|
|
15180
|
+
}
|
|
15181
|
+
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
15182
|
+
"class": header_cssstyles.storeimage + ' cursor-pointer mx-3 mx-sm-0 ',
|
|
15183
|
+
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
15184
|
+
onClick: function onClick() {
|
|
15185
|
+
var _authdetailsContext$i10;
|
|
15186
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.mobileapplink_playstore, '_blank');
|
|
15187
|
+
}
|
|
15188
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15189
|
+
className: "col-lg-12 p-0"
|
|
15190
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
15191
|
+
className: "mt-3 mb-0",
|
|
15192
|
+
style: {
|
|
15193
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
15194
|
+
}
|
|
15157
15195
|
}))))))), sectionproperties.showhidesubheader == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15158
15196
|
className: "col-lg-12 p-0 h-100",
|
|
15159
15197
|
id: "subheader"
|
|
@@ -15167,8 +15205,8 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
15167
15205
|
})))))));
|
|
15168
15206
|
};
|
|
15169
15207
|
|
|
15170
|
-
function ownKeys$
|
|
15171
|
-
function _objectSpread$
|
|
15208
|
+
function ownKeys$1O(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; }
|
|
15209
|
+
function _objectSpread$1O(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1O(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1O(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15172
15210
|
var DownloadApp = function DownloadApp(props) {
|
|
15173
15211
|
props.actions;
|
|
15174
15212
|
props.actions.lang;
|
|
@@ -15192,7 +15230,7 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
15192
15230
|
}, [sectionproperties]);
|
|
15193
15231
|
React.useEffect(function () {
|
|
15194
15232
|
if (props.sectionpropertiesprops != undefined) {
|
|
15195
|
-
setsectionproperties(_objectSpread$
|
|
15233
|
+
setsectionproperties(_objectSpread$1O({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
15196
15234
|
}
|
|
15197
15235
|
}, [props.sectionpropertiesprops]);
|
|
15198
15236
|
var header_cssstyles = {
|
|
@@ -15243,8 +15281,8 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
15243
15281
|
}))));
|
|
15244
15282
|
};
|
|
15245
15283
|
|
|
15246
|
-
function ownKeys$
|
|
15247
|
-
function _objectSpread$
|
|
15284
|
+
function ownKeys$1N(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; }
|
|
15285
|
+
function _objectSpread$1N(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1N(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15248
15286
|
var Gotoheader = function Gotoheader(props) {
|
|
15249
15287
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
|
|
15250
15288
|
var _useState = React.useState(''),
|
|
@@ -15284,7 +15322,7 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
15284
15322
|
});
|
|
15285
15323
|
}
|
|
15286
15324
|
}
|
|
15287
|
-
setsectionproperties(_objectSpread$
|
|
15325
|
+
setsectionproperties(_objectSpread$1N({}, secpropobj));
|
|
15288
15326
|
}, [StatePagePropertiesContext]);
|
|
15289
15327
|
var _useState3 = React.useState([]),
|
|
15290
15328
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -15907,8 +15945,8 @@ var css_248z$A = ".CategoryFeaturingHeader-module_lowerHeaderContainer__bQvQY {\
|
|
|
15907
15945
|
var headerstyles$e = {"lowerHeaderContainer":"CategoryFeaturingHeader-module_lowerHeaderContainer__bQvQY","navbar":"CategoryFeaturingHeader-module_navbar__KrZoa","navbar_item":"CategoryFeaturingHeader-module_navbar_item__x7kUB","badge_counter_header_notifications":"CategoryFeaturingHeader-module_badge_counter_header_notifications__OMiIG","searchbar":"CategoryFeaturingHeader-module_searchbar__QVi6T","searchbaractive":"CategoryFeaturingHeader-module_searchbaractive__SDflG"};
|
|
15908
15946
|
styleInject(css_248z$A);
|
|
15909
15947
|
|
|
15910
|
-
function ownKeys$
|
|
15911
|
-
function _objectSpread$
|
|
15948
|
+
function ownKeys$1M(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; }
|
|
15949
|
+
function _objectSpread$1M(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1M(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1M(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15912
15950
|
var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
15913
15951
|
var _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i7, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i11, _authdetailsContext$i12, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12;
|
|
15914
15952
|
var _useState = React.useState(''),
|
|
@@ -15956,7 +15994,7 @@ var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
|
15956
15994
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
15957
15995
|
});
|
|
15958
15996
|
}
|
|
15959
|
-
setsectionproperties(_objectSpread$
|
|
15997
|
+
setsectionproperties(_objectSpread$1M({}, secpropobj));
|
|
15960
15998
|
}, [StatePagePropertiesContext]);
|
|
15961
15999
|
React.useEffect(function () {
|
|
15962
16000
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -16863,8 +16901,8 @@ var css_248z$z = ".classicheader-module_headercontainer__tCNl- {\n display: f
|
|
|
16863
16901
|
var headerstyles$d = {"headercontainer":"classicheader-module_headercontainer__tCNl-","navbar":"classicheader-module_navbar__3MEax"};
|
|
16864
16902
|
styleInject(css_248z$z);
|
|
16865
16903
|
|
|
16866
|
-
function ownKeys$
|
|
16867
|
-
function _objectSpread$
|
|
16904
|
+
function ownKeys$1L(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; }
|
|
16905
|
+
function _objectSpread$1L(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1L(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1L(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16868
16906
|
var ClassicHeader = function ClassicHeader(props) {
|
|
16869
16907
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _templatepropcontext$;
|
|
16870
16908
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
@@ -16901,7 +16939,7 @@ var ClassicHeader = function ClassicHeader(props) {
|
|
|
16901
16939
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
16902
16940
|
});
|
|
16903
16941
|
}
|
|
16904
|
-
setsectionproperties(_objectSpread$
|
|
16942
|
+
setsectionproperties(_objectSpread$1L({}, secpropobj));
|
|
16905
16943
|
}, [StatePagePropertiesContext]);
|
|
16906
16944
|
var _useState3 = React.useState([]),
|
|
16907
16945
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -17939,8 +17977,8 @@ var css_248z$y = ".CTAHeader-module_header_container__In9j3 .CTAHeader-module_to
|
|
|
17939
17977
|
var headerstyles$c = {"header_container":"CTAHeader-module_header_container__In9j3","topbar_item_container":"CTAHeader-module_topbar_item_container__yiKBc","badge_counter_header_notifications":"CTAHeader-module_badge_counter_header_notifications__LwrZ5","searchbar":"CTAHeader-module_searchbar__lDR8a","searchbaractive":"CTAHeader-module_searchbaractive__mPoEm"};
|
|
17940
17978
|
styleInject(css_248z$y);
|
|
17941
17979
|
|
|
17942
|
-
function ownKeys$
|
|
17943
|
-
function _objectSpread$
|
|
17980
|
+
function ownKeys$1K(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; }
|
|
17981
|
+
function _objectSpread$1K(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1K(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1K(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
17944
17982
|
var CTAHeader = function CTAHeader(props) {
|
|
17945
17983
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i24;
|
|
17946
17984
|
var actions = props.actions;
|
|
@@ -17988,7 +18026,7 @@ var CTAHeader = function CTAHeader(props) {
|
|
|
17988
18026
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
17989
18027
|
});
|
|
17990
18028
|
}
|
|
17991
|
-
setsectionproperties(_objectSpread$
|
|
18029
|
+
setsectionproperties(_objectSpread$1K({}, secpropobj));
|
|
17992
18030
|
}, [StatePagePropertiesContext]);
|
|
17993
18031
|
React.useEffect(function () {
|
|
17994
18032
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -18976,8 +19014,8 @@ var css_248z$x = ".Header_threesectionslogocentered-module_header_innercontainer
|
|
|
18976
19014
|
var headerstyles$b = {"header_innercontainer":"Header_threesectionslogocentered-module_header_innercontainer__yjjgZ","navbar_item":"Header_threesectionslogocentered-module_navbar_item__YMaF8","navbar_item_text":"Header_threesectionslogocentered-module_navbar_item_text__0DPls","navbar_item_active":"Header_threesectionslogocentered-module_navbar_item_active__ladUm","searchbarcont":"Header_threesectionslogocentered-module_searchbarcont__9MNXO","badge_counter_header_notifications":"Header_threesectionslogocentered-module_badge_counter_header_notifications__qekYU","searchbar":"Header_threesectionslogocentered-module_searchbar__5KdKx","searchbaractive":"Header_threesectionslogocentered-module_searchbaractive__8Pp-9"};
|
|
18977
19015
|
styleInject(css_248z$x);
|
|
18978
19016
|
|
|
18979
|
-
function ownKeys$
|
|
18980
|
-
function _objectSpread$
|
|
19017
|
+
function ownKeys$1J(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; }
|
|
19018
|
+
function _objectSpread$1J(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1J(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1J(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
18981
19019
|
var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
|
|
18982
19020
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
|
|
18983
19021
|
var _useState = React.useState(''),
|
|
@@ -19013,7 +19051,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
19013
19051
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
19014
19052
|
});
|
|
19015
19053
|
}
|
|
19016
|
-
setsectionproperties(_objectSpread$
|
|
19054
|
+
setsectionproperties(_objectSpread$1J({}, secpropobj));
|
|
19017
19055
|
}, [StatePagePropertiesContext]);
|
|
19018
19056
|
var _useState3 = React.useState([]),
|
|
19019
19057
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -19717,8 +19755,8 @@ var css_248z$w = ".Simpleheader-module_headercontainer__H09AD {\n position: a
|
|
|
19717
19755
|
var headerstyles$a = {"headercontainer":"Simpleheader-module_headercontainer__H09AD","navbar":"Simpleheader-module_navbar__lLQ9F","header_cart":"Simpleheader-module_header_cart__GG895","header_badge":"Simpleheader-module_header_badge__cW4uV","nav__item":"Simpleheader-module_nav__item__txPCh","link":"Simpleheader-module_link__aI5DF","badge_counter_header_notifications":"Simpleheader-module_badge_counter_header_notifications__9NFCv","searchbar":"Simpleheader-module_searchbar__-iAVU","searchbaractive":"Simpleheader-module_searchbaractive__9RFRQ"};
|
|
19718
19756
|
styleInject(css_248z$w);
|
|
19719
19757
|
|
|
19720
|
-
function ownKeys$
|
|
19721
|
-
function _objectSpread$
|
|
19758
|
+
function ownKeys$1I(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; }
|
|
19759
|
+
function _objectSpread$1I(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1I(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
19722
19760
|
var Simpleheader = function Simpleheader(props) {
|
|
19723
19761
|
var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _authdetailsContext$c, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
19724
19762
|
var _useState = React.useState(''),
|
|
@@ -19755,7 +19793,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
19755
19793
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
19756
19794
|
});
|
|
19757
19795
|
}
|
|
19758
|
-
setsectionproperties(_objectSpread$
|
|
19796
|
+
setsectionproperties(_objectSpread$1I({}, secpropobj));
|
|
19759
19797
|
}, [StatePagePropertiesContext]);
|
|
19760
19798
|
var _useState3 = React.useState([]),
|
|
19761
19799
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -20353,8 +20391,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
20353
20391
|
}))))))));
|
|
20354
20392
|
};
|
|
20355
20393
|
|
|
20356
|
-
function ownKeys$
|
|
20357
|
-
function _objectSpread$
|
|
20394
|
+
function ownKeys$1H(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; }
|
|
20395
|
+
function _objectSpread$1H(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1H(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1H(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
20358
20396
|
var Header8 = function Header8(props) {
|
|
20359
20397
|
var _css, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15;
|
|
20360
20398
|
var actions = props.actions;
|
|
@@ -20411,7 +20449,7 @@ var Header8 = function Header8(props) {
|
|
|
20411
20449
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
20412
20450
|
});
|
|
20413
20451
|
}
|
|
20414
|
-
setsectionproperties(_objectSpread$
|
|
20452
|
+
setsectionproperties(_objectSpread$1H({}, secpropobj));
|
|
20415
20453
|
}, [StatePagePropertiesContext]);
|
|
20416
20454
|
var subtotalcart = function subtotalcart() {
|
|
20417
20455
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
@@ -22119,8 +22157,8 @@ var css_248z$v = ".headerresturant-module_header_innercontainer__K3I1g {\n di
|
|
|
22119
22157
|
var headerstyles$9 = {"header_innercontainer":"headerresturant-module_header_innercontainer__K3I1g","navbar_item":"headerresturant-module_navbar_item__Exl8b","navbar_item_text":"headerresturant-module_navbar_item_text__psv09","navbar_item_active":"headerresturant-module_navbar_item_active__8BCbD","searchbarcont":"headerresturant-module_searchbarcont__4VPWj","language_cont":"headerresturant-module_language_cont__LwHIK","badge_counter_header_notifications":"headerresturant-module_badge_counter_header_notifications__mGA2-"};
|
|
22120
22158
|
styleInject(css_248z$v);
|
|
22121
22159
|
|
|
22122
|
-
function ownKeys$
|
|
22123
|
-
function _objectSpread$
|
|
22160
|
+
function ownKeys$1G(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; }
|
|
22161
|
+
function _objectSpread$1G(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1G(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1G(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
22124
22162
|
var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
22125
22163
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
22126
22164
|
var _useState = React.useState(''),
|
|
@@ -22156,7 +22194,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
22156
22194
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
22157
22195
|
});
|
|
22158
22196
|
}
|
|
22159
|
-
setsectionproperties(_objectSpread$
|
|
22197
|
+
setsectionproperties(_objectSpread$1G({}, secpropobj));
|
|
22160
22198
|
}, [StatePagePropertiesContext]);
|
|
22161
22199
|
var _useState3 = React.useState([]),
|
|
22162
22200
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -22796,8 +22834,8 @@ var css_248z$u = ".header_contactinfo-module_lowerHeaderContainer__toB3m {\n
|
|
|
22796
22834
|
var headerstyles$8 = {"lowerHeaderContainer":"header_contactinfo-module_lowerHeaderContainer__toB3m","navbar_item":"header_contactinfo-module_navbar_item__T6mXT","navbar_item_text":"header_contactinfo-module_navbar_item_text__dSoH9","navbar_item_active":"header_contactinfo-module_navbar_item_active__eiC3f","badge_counter_header_notifications":"header_contactinfo-module_badge_counter_header_notifications__gWKN6"};
|
|
22797
22835
|
styleInject(css_248z$u);
|
|
22798
22836
|
|
|
22799
|
-
function ownKeys$
|
|
22800
|
-
function _objectSpread$
|
|
22837
|
+
function ownKeys$1F(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; }
|
|
22838
|
+
function _objectSpread$1F(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1F(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1F(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
22801
22839
|
var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
22802
22840
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i13, _authdetailsContext$i14, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
22803
22841
|
var _useState = React.useState(''),
|
|
@@ -22834,7 +22872,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
22834
22872
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
22835
22873
|
});
|
|
22836
22874
|
}
|
|
22837
|
-
setsectionproperties(_objectSpread$
|
|
22875
|
+
setsectionproperties(_objectSpread$1F({}, secpropobj));
|
|
22838
22876
|
}, [StatePagePropertiesContext]);
|
|
22839
22877
|
var _useState3 = React.useState(false),
|
|
22840
22878
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -23607,6 +23645,88 @@ var css_248z$t = ".modernheader-module_header_container__bprPW {\n width: 100
|
|
|
23607
23645
|
var headerstyles$7 = {"header_container":"modernheader-module_header_container__bprPW","navbar":"modernheader-module_navbar__fX0YT","topbar_item_container":"modernheader-module_topbar_item_container__QF67n","topbar_item":"modernheader-module_topbar_item__gDTjq","badge_counter_header_notifications":"modernheader-module_badge_counter_header_notifications__8pQP4","header_divider":"modernheader-module_header_divider__PKW1k"};
|
|
23608
23646
|
styleInject(css_248z$t);
|
|
23609
23647
|
|
|
23648
|
+
function ownKeys$1E(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; }
|
|
23649
|
+
function _objectSpread$1E(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1E(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1E(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
23650
|
+
var SocialMediaSection = function SocialMediaSection(props) {
|
|
23651
|
+
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7;
|
|
23652
|
+
props.actions;
|
|
23653
|
+
props.actions.StatePagePropertiesContext;
|
|
23654
|
+
var _useState = React.useState({}),
|
|
23655
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
23656
|
+
_useState2[0];
|
|
23657
|
+
var setsectionproperties = _useState2[1];
|
|
23658
|
+
var _useState3 = React.useState({}),
|
|
23659
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
23660
|
+
templateproperties_context = _useState4[0],
|
|
23661
|
+
settemplateproperties_context = _useState4[1];
|
|
23662
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
23663
|
+
React.useEffect(function () {
|
|
23664
|
+
if (props.sectionpropertiesprops != undefined) {
|
|
23665
|
+
setsectionproperties(_objectSpread$1E({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
23666
|
+
}
|
|
23667
|
+
}, [props.sectionpropertiesprops]);
|
|
23668
|
+
React.useEffect(function () {
|
|
23669
|
+
if (props.templateproperties_contextprops != undefined) {
|
|
23670
|
+
settemplateproperties_context(_objectSpread$1E({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
23671
|
+
}
|
|
23672
|
+
}, [props.templateproperties_contextprops]);
|
|
23673
|
+
var header_cssstyles = {
|
|
23674
|
+
socialmediaicon: glamor.css({
|
|
23675
|
+
fontSize: templateproperties_context.socialmediasectioniconfontsize + 'px',
|
|
23676
|
+
color: templateproperties_context.socialmediasectioniconcolor,
|
|
23677
|
+
':hover': {
|
|
23678
|
+
transition: '.3s',
|
|
23679
|
+
color: templateproperties_context.socialmediasectioniconcoloronhover
|
|
23680
|
+
}
|
|
23681
|
+
})
|
|
23682
|
+
};
|
|
23683
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23684
|
+
"class": "col-lg-12 px-0 allcentered",
|
|
23685
|
+
style: {
|
|
23686
|
+
background: templateproperties_context.socialmediasectionbgcolor,
|
|
23687
|
+
paddingTop: templateproperties_context.socialmediapaddinghorizontal + 'px',
|
|
23688
|
+
paddingBottom: templateproperties_context.socialmediapaddinghorizontal + 'px'
|
|
23689
|
+
}
|
|
23690
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23691
|
+
"class": "".concat(header_cssstyles.socialmediaicon) + ' allcentered mx-2 cursor-pointer ',
|
|
23692
|
+
onClick: function onClick() {
|
|
23693
|
+
var _authdetailsContext$i2;
|
|
23694
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
|
|
23695
|
+
var _authdetailsContext$i3;
|
|
23696
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
|
|
23697
|
+
}
|
|
23698
|
+
}
|
|
23699
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
23700
|
+
size: templateproperties_context.socialmediasectioniconfontsize
|
|
23701
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23702
|
+
"class": "".concat(header_cssstyles.socialmediaicon) + ' allcentered mx-2 cursor-pointer ',
|
|
23703
|
+
onClick: function onClick() {
|
|
23704
|
+
var _authdetailsContext$i5;
|
|
23705
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
23706
|
+
var _authdetailsContext$i6;
|
|
23707
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
23708
|
+
}
|
|
23709
|
+
}
|
|
23710
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
23711
|
+
style: {
|
|
23712
|
+
fontSize: parseFloat(templateproperties_context.socialmediasectioniconfontsize) + 2 + 'px'
|
|
23713
|
+
}
|
|
23714
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23715
|
+
"class": "".concat(header_cssstyles.socialmediaicon) + ' allcentered mx-2 cursor-pointer ',
|
|
23716
|
+
onClick: function onClick() {
|
|
23717
|
+
var _authdetailsContext$i8;
|
|
23718
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber) != null) {
|
|
23719
|
+
var _authdetailsContext$i9;
|
|
23720
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.whatsappnumber), '_blank');
|
|
23721
|
+
}
|
|
23722
|
+
}
|
|
23723
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
23724
|
+
style: {
|
|
23725
|
+
fontSize: parseFloat(templateproperties_context.socialmediasectioniconfontsize) + 2 + 'px'
|
|
23726
|
+
}
|
|
23727
|
+
})));
|
|
23728
|
+
};
|
|
23729
|
+
|
|
23610
23730
|
function ownKeys$1D(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; }
|
|
23611
23731
|
function _objectSpread$1D(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1D(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1D(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
23612
23732
|
var Modernheader = function Modernheader(props) {
|
|
@@ -23767,8 +23887,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
23767
23887
|
paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px'
|
|
23768
23888
|
}),
|
|
23769
23889
|
topbar_item: glamor.css({
|
|
23770
|
-
marginLeft: '
|
|
23771
|
-
marginRight: '
|
|
23890
|
+
marginLeft: sectionproperties.navbar_item_textpaddingright + 'px',
|
|
23891
|
+
marginRight: sectionproperties.navbar_item_textpaddingright + 'px',
|
|
23772
23892
|
':hover:before': {
|
|
23773
23893
|
background: sectionproperties.lowersection_fontColoronhover
|
|
23774
23894
|
}
|
|
@@ -23880,7 +24000,11 @@ var Modernheader = function Modernheader(props) {
|
|
|
23880
24000
|
sectionpropertiesprops: sectionproperties,
|
|
23881
24001
|
templateproperties_contextprops: templateproperties_context,
|
|
23882
24002
|
actions: actions
|
|
23883
|
-
})),
|
|
24003
|
+
})), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
24004
|
+
sectionpropertiesprops: sectionproperties,
|
|
24005
|
+
templateproperties_contextprops: templateproperties_context,
|
|
24006
|
+
actions: actions
|
|
24007
|
+
}), sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
23884
24008
|
sectionpropertiesprops: sectionproperties,
|
|
23885
24009
|
actions: actions
|
|
23886
24010
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -35888,6 +36012,9 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
35888
36012
|
onClick: function onClick() {
|
|
35889
36013
|
var _authdetailsContext$i13, _authdetailsContext$i14;
|
|
35890
36014
|
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : (_authdetailsContext$i14 = _authdetailsContext$i13.contactinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.email), '_self');
|
|
36015
|
+
},
|
|
36016
|
+
style: {
|
|
36017
|
+
textTransform: 'none'
|
|
35891
36018
|
}
|
|
35892
36019
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
35893
36020
|
"class": ' fa fa-at text-transform-none ',
|
|
@@ -36304,10 +36431,11 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
36304
36431
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
36305
36432
|
style: {
|
|
36306
36433
|
width: '75%',
|
|
36307
|
-
height: 35
|
|
36434
|
+
height: 35,
|
|
36435
|
+
background: 'transparent'
|
|
36308
36436
|
}
|
|
36309
36437
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36310
|
-
"class": "m-0 p-0",
|
|
36438
|
+
"class": "m-0 p-0 cursor-pointer",
|
|
36311
36439
|
style: {
|
|
36312
36440
|
position: 'absolute',
|
|
36313
36441
|
bottom: 5,
|
|
@@ -58383,7 +58511,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
58383
58511
|
},
|
|
58384
58512
|
"class": props.fontFamilyprops == 'ASUL' && sectionproperties.prodNameFontWeight > 100 && sectionproperties.prodNameFontWeight < 600 ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ASUL-400 ' : props.fontFamilyprops == 'ASUL' && sectionproperties.prodNameFontWeight > 600 ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ASUL-700 ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center '
|
|
58385
58513
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58386
|
-
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-
|
|
58514
|
+
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column"
|
|
58387
58515
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58388
58516
|
"class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 ASUL ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 '
|
|
58389
58517
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|