tabexseriescomponents 0.0.305 → 0.0.307
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 +387 -263
- package/dist/index.esm.js +387 -263
- package/dist/index.umd.js +387 -263
- 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 = [];
|
|
@@ -5278,7 +5278,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5278
5278
|
})), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5279
5279
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
5280
5280
|
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
5281
|
-
actions: _objectSpread$
|
|
5281
|
+
actions: _objectSpread$26(_objectSpread$26({}, actions), {}, {
|
|
5282
5282
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
5283
5283
|
sectionproperties: sectionproperties
|
|
5284
5284
|
})
|
|
@@ -5295,8 +5295,8 @@ var css_248z$I = "/* Side Nav */\n.staticroutersidenav-module_vertical_nav_menu_
|
|
|
5295
5295
|
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
5296
|
styleInject(css_248z$I);
|
|
5297
5297
|
|
|
5298
|
-
function ownKeys$
|
|
5299
|
-
function _objectSpread$
|
|
5298
|
+
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; }
|
|
5299
|
+
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
5300
|
var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
5301
5301
|
var _useState = React.useState(props.currentpageprops),
|
|
5302
5302
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -5332,7 +5332,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
5332
5332
|
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
5333
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
5334
5334
|
});
|
|
5335
|
-
setsectionproperties(_objectSpread$
|
|
5335
|
+
setsectionproperties(_objectSpread$25({}, secpropobj));
|
|
5336
5336
|
}
|
|
5337
5337
|
}, [CurrentPageId]);
|
|
5338
5338
|
var styles = {
|
|
@@ -5494,8 +5494,8 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
5494
5494
|
}))))));
|
|
5495
5495
|
};
|
|
5496
5496
|
|
|
5497
|
-
function ownKeys$
|
|
5498
|
-
function _objectSpread$
|
|
5497
|
+
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; }
|
|
5498
|
+
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
5499
|
var Ordershistory = function Ordershistory(props) {
|
|
5500
5500
|
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue4, _fetchorderhistoryQue5, _fetchorderhistoryQue6, _fetchorderhistoryQue7, _fetchorderhistoryQue8, _fetchorderhistoryQue9, _fetchorderhistoryQue10, _fetchorderhistoryQue11, _fetchorderhistoryQue12, _fetchorderhistoryQue13, _fetchorderhistoryQue14;
|
|
5501
5501
|
var lang = props.actions.lang;
|
|
@@ -5548,9 +5548,9 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
5548
5548
|
setorderindex = _useState14[1];
|
|
5549
5549
|
React.useEffect(function () {
|
|
5550
5550
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
|
|
5551
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
5551
|
+
var tempFetchQueriesEngineContext = _objectSpread$24({}, FetchQueriesEngineContext);
|
|
5552
5552
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
5553
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
5553
|
+
setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
|
|
5554
5554
|
}
|
|
5555
5555
|
}, []);
|
|
5556
5556
|
var _useState15 = React.useState(''),
|
|
@@ -5571,7 +5571,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
5571
5571
|
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
5572
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
5573
5573
|
});
|
|
5574
|
-
setsectionproperties(_objectSpread$
|
|
5574
|
+
setsectionproperties(_objectSpread$24({}, secpropobj));
|
|
5575
5575
|
}, [props === null || props === void 0 ? void 0 : (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
5576
5576
|
var orderhistory_cssstyles = {
|
|
5577
5577
|
variantcontainer: glamor.css({
|
|
@@ -6428,8 +6428,8 @@ var css_248z$H = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_c
|
|
|
6428
6428
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
6429
6429
|
styleInject(css_248z$H);
|
|
6430
6430
|
|
|
6431
|
-
function ownKeys$
|
|
6432
|
-
function _objectSpread$
|
|
6431
|
+
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; }
|
|
6432
|
+
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
6433
|
var Wishlist = function Wishlist(props) {
|
|
6434
6434
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
6435
6435
|
var lang = props.actions.lang;
|
|
@@ -6457,13 +6457,13 @@ var Wishlist = function Wishlist(props) {
|
|
|
6457
6457
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
6458
6458
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6459
6459
|
});
|
|
6460
|
-
setsectionproperties(_objectSpread$
|
|
6460
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
6461
6461
|
}
|
|
6462
6462
|
}, [StatePagePropertiesContext]);
|
|
6463
6463
|
React.useEffect(function () {
|
|
6464
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
6464
|
+
var tempFetchQueriesEngineContext = _objectSpread$23({}, FetchQueriesEngineContext);
|
|
6465
6465
|
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
6466
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
6466
|
+
setFetchQueriesEngineContext(_objectSpread$23({}, tempFetchQueriesEngineContext));
|
|
6467
6467
|
}, []);
|
|
6468
6468
|
React.useEffect(function () {
|
|
6469
6469
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
@@ -6472,7 +6472,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
6472
6472
|
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
6473
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6474
6474
|
});
|
|
6475
|
-
setsectionproperties(_objectSpread$
|
|
6475
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
6476
6476
|
}
|
|
6477
6477
|
}, [StatePagePropertiesContext]);
|
|
6478
6478
|
var wishlist_cssstyles = {
|
|
@@ -6877,8 +6877,8 @@ var Wishlist = function Wishlist(props) {
|
|
|
6877
6877
|
})));
|
|
6878
6878
|
};
|
|
6879
6879
|
|
|
6880
|
-
function ownKeys$
|
|
6881
|
-
function _objectSpread$
|
|
6880
|
+
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; }
|
|
6881
|
+
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
6882
|
var Viewcart = function Viewcart(props) {
|
|
6883
6883
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25;
|
|
6884
6884
|
var lang = props.actions.lang;
|
|
@@ -6910,7 +6910,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
6910
6910
|
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
6911
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6912
6912
|
});
|
|
6913
|
-
setsectionproperties(_objectSpread$
|
|
6913
|
+
setsectionproperties(_objectSpread$22({}, secpropobj));
|
|
6914
6914
|
}
|
|
6915
6915
|
}, [StatePagePropertiesContext]);
|
|
6916
6916
|
React.useEffect(function () {
|
|
@@ -7494,8 +7494,8 @@ var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display:
|
|
|
7494
7494
|
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
7495
|
styleInject(css_248z$G);
|
|
7496
7496
|
|
|
7497
|
-
function ownKeys$
|
|
7498
|
-
function _objectSpread$
|
|
7497
|
+
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; }
|
|
7498
|
+
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
7499
|
var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
7500
7500
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
7501
7501
|
});
|
|
@@ -7553,7 +7553,7 @@ var Checkout = function Checkout(props) {
|
|
|
7553
7553
|
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
7554
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7555
7555
|
});
|
|
7556
|
-
setsectionproperties(_objectSpread$
|
|
7556
|
+
setsectionproperties(_objectSpread$21({}, secpropobj));
|
|
7557
7557
|
}, [props.actions.StatePagePropertiesContext]);
|
|
7558
7558
|
React.useEffect(function () {
|
|
7559
7559
|
var Canorder = false;
|
|
@@ -7573,10 +7573,10 @@ var Checkout = function Checkout(props) {
|
|
|
7573
7573
|
}
|
|
7574
7574
|
if (Canorder == true) {
|
|
7575
7575
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14;
|
|
7576
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
7576
|
+
var tempFetchQueriesEngineContext = _objectSpread$21({}, FetchQueriesEngineContext);
|
|
7577
7577
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
7578
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
7579
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
7578
|
+
setFetchQueriesEngineContext(_objectSpread$21({}, tempFetchQueriesEngineContext));
|
|
7579
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$21({}, FetchTabexStatesPayloadobjContext);
|
|
7580
7580
|
if (
|
|
7581
7581
|
// Aya
|
|
7582
7582
|
!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 +7593,7 @@ var Checkout = function Checkout(props) {
|
|
|
7593
7593
|
var _fetchcustomercartQue15, _fetchcustomercartQue16;
|
|
7594
7594
|
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
7595
|
}
|
|
7596
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
7596
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$21({}, tempFetchTabexStatesPayloadobjContext));
|
|
7597
7597
|
} else {
|
|
7598
7598
|
// NotificationManager.warning('', lang.pleaselogintocheckout);
|
|
7599
7599
|
routingcountext(StaticPagesLinksContext.Login);
|
|
@@ -8364,10 +8364,10 @@ var Checkout = function Checkout(props) {
|
|
|
8364
8364
|
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
8365
|
}),
|
|
8366
8366
|
onChange: function onChange(option) {
|
|
8367
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
8367
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$21({}, FetchTabexStatesPayloadobjContext);
|
|
8368
8368
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
8369
8369
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
8370
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
8370
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$21({}, tempFetchTabexStatesPayloadobjContext));
|
|
8371
8371
|
cartinfoupdater('countryid', option.id);
|
|
8372
8372
|
},
|
|
8373
8373
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -8412,10 +8412,10 @@ var Checkout = function Checkout(props) {
|
|
|
8412
8412
|
onChange: function onChange(option) {
|
|
8413
8413
|
var _fetchcustomercartQue101, _fetchcustomercartQue102;
|
|
8414
8414
|
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$
|
|
8415
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$21({}, FetchTabexStatesPayloadobjContext);
|
|
8416
8416
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
8417
8417
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
8418
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
8418
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$21({}, tempFetchTabexStatesPayloadobjContext));
|
|
8419
8419
|
cartinfoupdater('stateid', option.id);
|
|
8420
8420
|
} else {
|
|
8421
8421
|
NotificationManager.warning('', 'Please Choose Country Or State');
|
|
@@ -8716,8 +8716,8 @@ var Checkout = function Checkout(props) {
|
|
|
8716
8716
|
}, Mycart()))));
|
|
8717
8717
|
};
|
|
8718
8718
|
|
|
8719
|
-
function ownKeys$
|
|
8720
|
-
function _objectSpread$
|
|
8719
|
+
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; }
|
|
8720
|
+
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
8721
|
var Select$1 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
8722
8722
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
8723
8723
|
});
|
|
@@ -8798,46 +8798,46 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8798
8798
|
}
|
|
8799
8799
|
}, [fetchAuthorizationQueryContext.isSuccess]);
|
|
8800
8800
|
React.useEffect(function () {
|
|
8801
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
8801
|
+
var tempFetchQueriesEngineContext = _objectSpread$20({}, FetchQueriesEngineContext);
|
|
8802
8802
|
tempFetchQueriesEngineContext.institutecustomerinfosignup = true;
|
|
8803
8803
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
8804
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
8805
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
8804
|
+
setFetchQueriesEngineContext(_objectSpread$20({}, tempFetchQueriesEngineContext));
|
|
8805
|
+
var tempFetchQueriesEngineContext = _objectSpread$20({}, FetchQueriesEngineContext);
|
|
8806
8806
|
}, []);
|
|
8807
8807
|
React.useEffect(function () {
|
|
8808
8808
|
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
8809
|
-
setsectionproperties(_objectSpread$
|
|
8809
|
+
setsectionproperties(_objectSpread$20({}, props.sectionpropertiesprops));
|
|
8810
8810
|
}
|
|
8811
8811
|
}, [props.sectionpropertiesprops]);
|
|
8812
8812
|
React.useEffect(function () {
|
|
8813
8813
|
if (fetchinstitutecustomerinfosignupQueryContext.isSuccess) {
|
|
8814
8814
|
if (authdetailsContext.loggedin == true) {
|
|
8815
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
8816
|
-
setpayloadobj(_objectSpread$
|
|
8817
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
8815
|
+
var tempcustomerinfoobj = _objectSpread$20({}, fetchinstitutecustomerinfosignupQueryContext.data.data.customerinfo);
|
|
8816
|
+
setpayloadobj(_objectSpread$20({}, tempcustomerinfoobj));
|
|
8817
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$20({}, FetchTabexStatesPayloadobjContext);
|
|
8818
8818
|
if (tempcustomerinfoobj.countryid != null) {
|
|
8819
8819
|
tempFetchTabexStatesPayloadobjContext.country_id = tempcustomerinfoobj.countryid;
|
|
8820
8820
|
}
|
|
8821
8821
|
if (tempcustomerinfoobj.stateid != null) {
|
|
8822
8822
|
tempFetchTabexStatesPayloadobjContext.state_id = tempcustomerinfoobj.stateid;
|
|
8823
8823
|
}
|
|
8824
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
8824
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$20({}, tempFetchTabexStatesPayloadobjContext));
|
|
8825
8825
|
setdataloaded(true);
|
|
8826
8826
|
} else {
|
|
8827
8827
|
var _fetchinstitutecustom, _fetchinstitutecustom2;
|
|
8828
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
8828
|
+
var tempcustomerinfoobj = _objectSpread$20({}, payloadobj);
|
|
8829
8829
|
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
8830
|
tempcustomerinfoobj.instsignupformvalues = _toConsumableArray__default["default"](fetchinstitutecustomerinfosignupQueryContext.data.data.instsignupformvalues);
|
|
8831
8831
|
}
|
|
8832
|
-
setpayloadobj(_objectSpread$
|
|
8832
|
+
setpayloadobj(_objectSpread$20({}, tempcustomerinfoobj));
|
|
8833
8833
|
setdataloaded(true);
|
|
8834
8834
|
}
|
|
8835
8835
|
}
|
|
8836
8836
|
}, [fetchinstitutecustomerinfosignupQueryContext.isSuccess, fetchinstitutecustomerinfosignupQueryContext.data, authdetailsContext]);
|
|
8837
8837
|
var payloadobjchange = function payloadobjchange(key, value) {
|
|
8838
|
-
var temppayloadobj = _objectSpread$
|
|
8838
|
+
var temppayloadobj = _objectSpread$20({}, payloadobj);
|
|
8839
8839
|
temppayloadobj[key] = value;
|
|
8840
|
-
setpayloadobj(_objectSpread$
|
|
8840
|
+
setpayloadobj(_objectSpread$20({}, temppayloadobj));
|
|
8841
8841
|
};
|
|
8842
8842
|
var validateEmailstring = function validateEmailstring(email) {
|
|
8843
8843
|
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 +8904,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8904
8904
|
};
|
|
8905
8905
|
var signupbuttonfunc = function signupbuttonfunc() {
|
|
8906
8906
|
if (verifypayload() == true) {
|
|
8907
|
-
var temppayloadobj = _objectSpread$
|
|
8907
|
+
var temppayloadobj = _objectSpread$20({}, payloadobj);
|
|
8908
8908
|
if (authdetailsContext.loggedin == true) {
|
|
8909
8909
|
temppayloadobj.functype = 'edit';
|
|
8910
8910
|
} else {
|
|
@@ -9052,10 +9052,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9052
9052
|
autoFormat: true,
|
|
9053
9053
|
value: payloadobj.mobile,
|
|
9054
9054
|
onChange: function onChange(event, country) {
|
|
9055
|
-
var temp = _objectSpread$
|
|
9055
|
+
var temp = _objectSpread$20({}, payloadobj);
|
|
9056
9056
|
temp.mobile = event;
|
|
9057
9057
|
temp.countrydialcode = country.dialCode;
|
|
9058
|
-
setpayloadobj(_objectSpread$
|
|
9058
|
+
setpayloadobj(_objectSpread$20({}, temp));
|
|
9059
9059
|
// payloadobjchange('mobile', event);
|
|
9060
9060
|
|
|
9061
9061
|
// alert(JSON.stringify(country));
|
|
@@ -9108,10 +9108,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9108
9108
|
return option.id == payloadobj.countryid;
|
|
9109
9109
|
}),
|
|
9110
9110
|
onChange: function onChange(option) {
|
|
9111
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9111
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$20({}, FetchTabexStatesPayloadobjContext);
|
|
9112
9112
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
9113
9113
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
9114
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9114
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$20({}, tempFetchTabexStatesPayloadobjContext));
|
|
9115
9115
|
payloadobjchange('countryid', option.id);
|
|
9116
9116
|
},
|
|
9117
9117
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -9160,10 +9160,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9160
9160
|
return option.id == payloadobj.stateid;
|
|
9161
9161
|
}),
|
|
9162
9162
|
onChange: function onChange(option) {
|
|
9163
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9163
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$20({}, FetchTabexStatesPayloadobjContext);
|
|
9164
9164
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
9165
9165
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
9166
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9166
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$20({}, tempFetchTabexStatesPayloadobjContext));
|
|
9167
9167
|
payloadobjchange('stateid', option.id);
|
|
9168
9168
|
},
|
|
9169
9169
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -9292,9 +9292,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9292
9292
|
value: item.customersignupvalue,
|
|
9293
9293
|
textplaceholder: "",
|
|
9294
9294
|
onChange: function onChange(event) {
|
|
9295
|
-
var temppayloadobj = _objectSpread$
|
|
9295
|
+
var temppayloadobj = _objectSpread$20({}, payloadobj);
|
|
9296
9296
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
9297
|
-
setpayloadobj(_objectSpread$
|
|
9297
|
+
setpayloadobj(_objectSpread$20({}, temppayloadobj));
|
|
9298
9298
|
}
|
|
9299
9299
|
}), item.inputtype == 'checkbox' && /*#__PURE__*/React__default["default"].createElement("label", {
|
|
9300
9300
|
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 +9305,13 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9305
9305
|
className: formstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9306
9306
|
checked: item.customersignupvalue == 1 ? true : false,
|
|
9307
9307
|
onChange: function onChange() {
|
|
9308
|
-
var temppayloadobj = _objectSpread$
|
|
9308
|
+
var temppayloadobj = _objectSpread$20({}, payloadobj);
|
|
9309
9309
|
if (temppayloadobj.instsignupformvalues[index].customersignupvalue == 1) {
|
|
9310
9310
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 0;
|
|
9311
9311
|
} else {
|
|
9312
9312
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 1;
|
|
9313
9313
|
}
|
|
9314
|
-
setpayloadobj(_objectSpread$
|
|
9314
|
+
setpayloadobj(_objectSpread$20({}, temppayloadobj));
|
|
9315
9315
|
}
|
|
9316
9316
|
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9317
9317
|
viewBox: "0 0 21 21",
|
|
@@ -9328,9 +9328,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9328
9328
|
value: item.customersignupvalue,
|
|
9329
9329
|
textplaceholder: "",
|
|
9330
9330
|
onChange: function onChange(event) {
|
|
9331
|
-
var temppayloadobj = _objectSpread$
|
|
9331
|
+
var temppayloadobj = _objectSpread$20({}, payloadobj);
|
|
9332
9332
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
9333
|
-
setpayloadobj(_objectSpread$
|
|
9333
|
+
setpayloadobj(_objectSpread$20({}, temppayloadobj));
|
|
9334
9334
|
}
|
|
9335
9335
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
9336
9336
|
value: '',
|
|
@@ -9345,9 +9345,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9345
9345
|
value: item.customersignupvalue,
|
|
9346
9346
|
textplaceholder: "",
|
|
9347
9347
|
onChange: function onChange(event) {
|
|
9348
|
-
var temppayloadobj = _objectSpread$
|
|
9348
|
+
var temppayloadobj = _objectSpread$20({}, payloadobj);
|
|
9349
9349
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
9350
|
-
setpayloadobj(_objectSpread$
|
|
9350
|
+
setpayloadobj(_objectSpread$20({}, temppayloadobj));
|
|
9351
9351
|
},
|
|
9352
9352
|
style: {
|
|
9353
9353
|
resize: 'none'
|
|
@@ -9655,7 +9655,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9655
9655
|
className: "".concat(formstyles.form_control),
|
|
9656
9656
|
value: validateemailpayload.code,
|
|
9657
9657
|
onChange: function onChange(event) {
|
|
9658
|
-
setvalidateemailpayload(_objectSpread$
|
|
9658
|
+
setvalidateemailpayload(_objectSpread$20(_objectSpread$20({}, validateemailpayload), {}, {
|
|
9659
9659
|
code: event.target.value
|
|
9660
9660
|
}));
|
|
9661
9661
|
}
|
|
@@ -9679,12 +9679,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9679
9679
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
9680
9680
|
if (data.data.status) {
|
|
9681
9681
|
if (data.data.functype == 'sendcode') {
|
|
9682
|
-
setvalidateemailpayload(_objectSpread$
|
|
9682
|
+
setvalidateemailpayload(_objectSpread$20(_objectSpread$20({}, validateemailpayload), {}, {
|
|
9683
9683
|
step: 'verifycode'
|
|
9684
9684
|
}));
|
|
9685
9685
|
}
|
|
9686
9686
|
if (data.data.functype == 'verifycode') {
|
|
9687
|
-
setvalidateemailpayload(_objectSpread$
|
|
9687
|
+
setvalidateemailpayload(_objectSpread$20(_objectSpread$20({}, validateemailpayload), {}, {
|
|
9688
9688
|
isvalidated: true
|
|
9689
9689
|
}));
|
|
9690
9690
|
setvalidateemailmodal(false);
|
|
@@ -9712,8 +9712,8 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9712
9712
|
}, validateemailpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
9713
9713
|
};
|
|
9714
9714
|
|
|
9715
|
-
function ownKeys$
|
|
9716
|
-
function _objectSpread$
|
|
9715
|
+
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; }
|
|
9716
|
+
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
9717
|
var Signup = function Signup(props) {
|
|
9718
9718
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
9719
9719
|
props.actions.CurrentSrcTypeContext;
|
|
@@ -9761,7 +9761,7 @@ var Signup = function Signup(props) {
|
|
|
9761
9761
|
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
9762
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
9763
9763
|
});
|
|
9764
|
-
setsectionproperties(_objectSpread$
|
|
9764
|
+
setsectionproperties(_objectSpread$1$({}, secpropobj));
|
|
9765
9765
|
}
|
|
9766
9766
|
}, [StatePagePropertiesContext]);
|
|
9767
9767
|
var loginstyles2 = {
|
|
@@ -9887,8 +9887,8 @@ var Signup = function Signup(props) {
|
|
|
9887
9887
|
}))))))));
|
|
9888
9888
|
};
|
|
9889
9889
|
|
|
9890
|
-
function ownKeys$
|
|
9891
|
-
function _objectSpread$
|
|
9890
|
+
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; }
|
|
9891
|
+
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
9892
|
var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
9893
9893
|
var _css;
|
|
9894
9894
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -9954,7 +9954,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
9954
9954
|
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
9955
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
9956
9956
|
});
|
|
9957
|
-
setsectionproperties(_objectSpread$
|
|
9957
|
+
setsectionproperties(_objectSpread$1_({}, secpropobj));
|
|
9958
9958
|
}
|
|
9959
9959
|
}, [StatePagePropertiesContext]);
|
|
9960
9960
|
var loginstyles2 = {
|
|
@@ -10051,7 +10051,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10051
10051
|
className: "".concat(loginstyles2.form_control),
|
|
10052
10052
|
value: affsignuppayload.name,
|
|
10053
10053
|
onChange: function onChange(event) {
|
|
10054
|
-
setaffsignuppayload(_objectSpread$
|
|
10054
|
+
setaffsignuppayload(_objectSpread$1_(_objectSpread$1_({}, affsignuppayload), {}, {
|
|
10055
10055
|
name: event.target.value
|
|
10056
10056
|
}));
|
|
10057
10057
|
},
|
|
@@ -10067,7 +10067,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10067
10067
|
className: "".concat(loginstyles2.form_control),
|
|
10068
10068
|
value: affsignuppayload.email,
|
|
10069
10069
|
onChange: function onChange(event) {
|
|
10070
|
-
setaffsignuppayload(_objectSpread$
|
|
10070
|
+
setaffsignuppayload(_objectSpread$1_(_objectSpread$1_({}, affsignuppayload), {}, {
|
|
10071
10071
|
email: event.target.value
|
|
10072
10072
|
}));
|
|
10073
10073
|
},
|
|
@@ -10085,10 +10085,10 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10085
10085
|
autoFormat: true,
|
|
10086
10086
|
value: affsignuppayload.phonenumber,
|
|
10087
10087
|
onChange: function onChange(event, country) {
|
|
10088
|
-
var temp = _objectSpread$
|
|
10088
|
+
var temp = _objectSpread$1_({}, affsignuppayload);
|
|
10089
10089
|
temp.phonenumber = event;
|
|
10090
10090
|
temp.countrydialcode = country.dialCode;
|
|
10091
|
-
setaffsignuppayload(_objectSpread$
|
|
10091
|
+
setaffsignuppayload(_objectSpread$1_({}, temp));
|
|
10092
10092
|
// setaffsignuppayload({ ...affsignuppayload, phonenumber: event.target.value });
|
|
10093
10093
|
},
|
|
10094
10094
|
|
|
@@ -10104,7 +10104,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10104
10104
|
className: "".concat(loginstyles2.form_control),
|
|
10105
10105
|
value: affsignuppayload.ssn,
|
|
10106
10106
|
onChange: function onChange(event) {
|
|
10107
|
-
setaffsignuppayload(_objectSpread$
|
|
10107
|
+
setaffsignuppayload(_objectSpread$1_(_objectSpread$1_({}, affsignuppayload), {}, {
|
|
10108
10108
|
ssn: event.target.value
|
|
10109
10109
|
}));
|
|
10110
10110
|
},
|
|
@@ -10120,7 +10120,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10120
10120
|
className: "".concat(loginstyles2.form_control),
|
|
10121
10121
|
value: affsignuppayload.password,
|
|
10122
10122
|
onChange: function onChange(event) {
|
|
10123
|
-
setaffsignuppayload(_objectSpread$
|
|
10123
|
+
setaffsignuppayload(_objectSpread$1_(_objectSpread$1_({}, affsignuppayload), {}, {
|
|
10124
10124
|
password: event.target.value
|
|
10125
10125
|
}));
|
|
10126
10126
|
},
|
|
@@ -10136,7 +10136,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10136
10136
|
className: "".concat(loginstyles2.form_control),
|
|
10137
10137
|
value: affsignuppayload.confirmpassword,
|
|
10138
10138
|
onChange: function onChange(event) {
|
|
10139
|
-
setaffsignuppayload(_objectSpread$
|
|
10139
|
+
setaffsignuppayload(_objectSpread$1_(_objectSpread$1_({}, affsignuppayload), {}, {
|
|
10140
10140
|
confirmpassword: event.target.value
|
|
10141
10141
|
}));
|
|
10142
10142
|
},
|
|
@@ -10189,8 +10189,8 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
10189
10189
|
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar)))))))));
|
|
10190
10190
|
};
|
|
10191
10191
|
|
|
10192
|
-
function ownKeys$
|
|
10193
|
-
function _objectSpread$
|
|
10192
|
+
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; }
|
|
10193
|
+
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
10194
|
var AccountInformation = function AccountInformation(props) {
|
|
10195
10195
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
10196
10196
|
var lang = props.actions.lang;
|
|
@@ -10205,7 +10205,7 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
10205
10205
|
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
10206
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10207
10207
|
});
|
|
10208
|
-
setsectionproperties(_objectSpread$
|
|
10208
|
+
setsectionproperties(_objectSpread$1Z({}, secpropobj));
|
|
10209
10209
|
}, [props.actions.StatePagePropertiesContext]);
|
|
10210
10210
|
var _useState = React.useState(''),
|
|
10211
10211
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
@@ -10376,8 +10376,8 @@ var css_248z$F = ".tabs-module_tabs__36dMY {\n position: relative;\n heigh
|
|
|
10376
10376
|
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
10377
|
styleInject(css_248z$F);
|
|
10378
10378
|
|
|
10379
|
-
function ownKeys$
|
|
10380
|
-
function _objectSpread$
|
|
10379
|
+
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; }
|
|
10380
|
+
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
10381
|
var Policies = function Policies(props) {
|
|
10382
10382
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchInstitutePolici, _fetchInstitutePolici2, _fetchInstitutePolici3, _fetchInstitutePolici4, _fetchInstitutePolici5, _fetchInstitutePolici6, _fetchInstitutePolici7, _fetchInstitutePolici8;
|
|
10383
10383
|
var _useState = React.useState(''),
|
|
@@ -10408,7 +10408,7 @@ var Policies = function Policies(props) {
|
|
|
10408
10408
|
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
10409
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10410
10410
|
});
|
|
10411
|
-
setsectionproperties(_objectSpread$
|
|
10411
|
+
setsectionproperties(_objectSpread$1Y({}, secpropobj));
|
|
10412
10412
|
}
|
|
10413
10413
|
}, [StatePagePropertiesContext]);
|
|
10414
10414
|
React.useEffect(function () {
|
|
@@ -10421,9 +10421,9 @@ var Policies = function Policies(props) {
|
|
|
10421
10421
|
}
|
|
10422
10422
|
}, []);
|
|
10423
10423
|
React.useEffect(function () {
|
|
10424
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10424
|
+
var tempFetchQueriesEngineContext = _objectSpread$1Y({}, FetchQueriesEngineContext);
|
|
10425
10425
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
10426
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
10426
|
+
setFetchQueriesEngineContext(_objectSpread$1Y({}, tempFetchQueriesEngineContext));
|
|
10427
10427
|
}, []);
|
|
10428
10428
|
var _useState7 = React.useState([]),
|
|
10429
10429
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
@@ -10649,8 +10649,8 @@ var css_248z$E = ".cart-module_cartslider_container__idend {\n transition: 0.
|
|
|
10649
10649
|
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
10650
|
styleInject(css_248z$E);
|
|
10651
10651
|
|
|
10652
|
-
function ownKeys$
|
|
10653
|
-
function _objectSpread$
|
|
10652
|
+
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; }
|
|
10653
|
+
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
10654
|
var CartSlider = function CartSlider(props) {
|
|
10655
10655
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22;
|
|
10656
10656
|
var lang = props.actions.lang;
|
|
@@ -10715,7 +10715,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
10715
10715
|
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
10716
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10717
10717
|
});
|
|
10718
|
-
setsectionproperties(_objectSpread$
|
|
10718
|
+
setsectionproperties(_objectSpread$1X({}, secpropobj));
|
|
10719
10719
|
}, [CurrentPageId]);
|
|
10720
10720
|
React.useEffect(function () {
|
|
10721
10721
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -10725,7 +10725,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
10725
10725
|
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
10726
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10727
10727
|
});
|
|
10728
|
-
setsectionproperties(_objectSpread$
|
|
10728
|
+
setsectionproperties(_objectSpread$1X({}, secpropobj));
|
|
10729
10729
|
}
|
|
10730
10730
|
}
|
|
10731
10731
|
}, [StatePagePropertiesContext]);
|
|
@@ -11067,8 +11067,8 @@ var CartSlider = function CartSlider(props) {
|
|
|
11067
11067
|
}, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar)))))));
|
|
11068
11068
|
};
|
|
11069
11069
|
|
|
11070
|
-
function ownKeys$
|
|
11071
|
-
function _objectSpread$
|
|
11070
|
+
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; }
|
|
11071
|
+
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
11072
|
var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
11073
11073
|
var _useState = React.useState(''),
|
|
11074
11074
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
@@ -11112,7 +11112,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
11112
11112
|
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
11113
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11114
11114
|
});
|
|
11115
|
-
setsectionproperties(_objectSpread$
|
|
11115
|
+
setsectionproperties(_objectSpread$1W({}, secpropobj));
|
|
11116
11116
|
}, [CurrentPageId]);
|
|
11117
11117
|
React.useEffect(function () {
|
|
11118
11118
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -11122,7 +11122,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
11122
11122
|
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
11123
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11124
11124
|
});
|
|
11125
|
-
setsectionproperties(_objectSpread$
|
|
11125
|
+
setsectionproperties(_objectSpread$1W({}, secpropobj));
|
|
11126
11126
|
}
|
|
11127
11127
|
}
|
|
11128
11128
|
}, [StatePagePropertiesContext]);
|
|
@@ -11350,8 +11350,8 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
11350
11350
|
}, CategoriesDropdown()));
|
|
11351
11351
|
};
|
|
11352
11352
|
|
|
11353
|
-
function ownKeys$
|
|
11354
|
-
function _objectSpread$
|
|
11353
|
+
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; }
|
|
11354
|
+
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
11355
|
var OrderSuccess = function OrderSuccess(props) {
|
|
11356
11356
|
var _props$actions2;
|
|
11357
11357
|
props.actions.lang;
|
|
@@ -11401,7 +11401,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
11401
11401
|
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
11402
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11403
11403
|
});
|
|
11404
|
-
setsectionproperties(_objectSpread$
|
|
11404
|
+
setsectionproperties(_objectSpread$1V({}, secpropobj));
|
|
11405
11405
|
}, [props === null || props === void 0 ? void 0 : (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
11406
11406
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
11407
11407
|
var ordersuccessstyle = {
|
|
@@ -11494,8 +11494,8 @@ var css_248z$D = ".filter-module_timeline__ROm9Q .filter-module_border_left_line
|
|
|
11494
11494
|
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
11495
|
styleInject(css_248z$D);
|
|
11496
11496
|
|
|
11497
|
-
function ownKeys$
|
|
11498
|
-
function _objectSpread$
|
|
11497
|
+
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; }
|
|
11498
|
+
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
11499
|
var Select = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
11500
11500
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
11501
11501
|
});
|
|
@@ -11597,11 +11597,11 @@ var Filter$1 = function Filter(props) {
|
|
|
11597
11597
|
}
|
|
11598
11598
|
timeoutRef.current = setTimeout(function () {
|
|
11599
11599
|
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
11600
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
11600
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
11601
11601
|
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
11602
11602
|
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
11603
11603
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
11604
|
-
setProductFilterObjContext(_objectSpread$
|
|
11604
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
11605
11605
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
11606
11606
|
}
|
|
11607
11607
|
}, 500);
|
|
@@ -11609,24 +11609,24 @@ var Filter$1 = function Filter(props) {
|
|
|
11609
11609
|
React.useEffect(function () {
|
|
11610
11610
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
11611
11611
|
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
11612
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
11612
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1U({}, FetchTabexStatesPayloadobjContext);
|
|
11613
11613
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
11614
11614
|
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
11615
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
11615
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1U({}, tempFetchTabexStatesPayloadobjContext));
|
|
11616
11616
|
}
|
|
11617
11617
|
}
|
|
11618
11618
|
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
11619
11619
|
var filterupdater = function filterupdater() {
|
|
11620
11620
|
setTimeout(function () {
|
|
11621
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
11621
|
+
var tempFetchQueriesEngineContext = _objectSpread$1U({}, FetchQueriesEngineContext);
|
|
11622
11622
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
11623
11623
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
11624
11624
|
}, 100);
|
|
11625
11625
|
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
11626
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
11626
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1U({}, FetchTabexStatesPayloadobjContext);
|
|
11627
11627
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
11628
11628
|
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
11629
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
11629
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1U({}, tempFetchTabexStatesPayloadobjContext));
|
|
11630
11630
|
}
|
|
11631
11631
|
if (instfilters.length != 0) {
|
|
11632
11632
|
var _ProductFilterObjCont;
|
|
@@ -11688,7 +11688,7 @@ var Filter$1 = function Filter(props) {
|
|
|
11688
11688
|
}
|
|
11689
11689
|
};
|
|
11690
11690
|
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
11691
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
11691
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
11692
11692
|
if (type == 'clearfilters') {
|
|
11693
11693
|
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
11694
11694
|
} else {
|
|
@@ -11712,14 +11712,14 @@ var Filter$1 = function Filter(props) {
|
|
|
11712
11712
|
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
11713
11713
|
}
|
|
11714
11714
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
11715
|
-
setProductFilterObjContext(_objectSpread$
|
|
11715
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
11716
11716
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11717
11717
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
11718
11718
|
};
|
|
11719
11719
|
|
|
11720
11720
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
11721
11721
|
var _tempfetchproductsfil2;
|
|
11722
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
11722
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
11723
11723
|
var CollectionExists = false;
|
|
11724
11724
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 ? void 0 : (_tempfetchproductsfil2 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil2 === void 0 ? void 0 : _tempfetchproductsfil2.forEach(function (filteritem, filterindex) {
|
|
11725
11725
|
if (filteritem == collectionid) {
|
|
@@ -11731,7 +11731,7 @@ var Filter$1 = function Filter(props) {
|
|
|
11731
11731
|
tempfetchproductsfilerobjcontext.collections.push(collectionid);
|
|
11732
11732
|
}
|
|
11733
11733
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
11734
|
-
setProductFilterObjContext(_objectSpread$
|
|
11734
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
11735
11735
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11736
11736
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
11737
11737
|
};
|
|
@@ -12115,14 +12115,14 @@ var Filter$1 = function Filter(props) {
|
|
|
12115
12115
|
return option.id == ProductFilterObjContext.countryid;
|
|
12116
12116
|
}),
|
|
12117
12117
|
onChange: function onChange(option) {
|
|
12118
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
12118
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1U({}, FetchTabexStatesPayloadobjContext);
|
|
12119
12119
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
12120
12120
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
12121
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
12122
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
12121
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1U({}, tempFetchTabexStatesPayloadobjContext));
|
|
12122
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
12123
12123
|
tempfetchproductsfilerobjcontext.countryid = option.id;
|
|
12124
12124
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
12125
|
-
setProductFilterObjContext(_objectSpread$
|
|
12125
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
12126
12126
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
12127
12127
|
},
|
|
12128
12128
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -12159,14 +12159,14 @@ var Filter$1 = function Filter(props) {
|
|
|
12159
12159
|
return option.id == ProductFilterObjContext.stateid;
|
|
12160
12160
|
}),
|
|
12161
12161
|
onChange: function onChange(option) {
|
|
12162
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
12162
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1U({}, FetchTabexStatesPayloadobjContext);
|
|
12163
12163
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
12164
12164
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
12165
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
12166
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
12165
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1U({}, tempFetchTabexStatesPayloadobjContext));
|
|
12166
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
12167
12167
|
tempfetchproductsfilerobjcontext.stateid = option.id;
|
|
12168
12168
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
12169
|
-
setProductFilterObjContext(_objectSpread$
|
|
12169
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
12170
12170
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
12171
12171
|
},
|
|
12172
12172
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -12203,10 +12203,10 @@ var Filter$1 = function Filter(props) {
|
|
|
12203
12203
|
return option.id == ProductFilterObjContext.cityid;
|
|
12204
12204
|
}),
|
|
12205
12205
|
onChange: function onChange(option) {
|
|
12206
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
12206
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
12207
12207
|
tempfetchproductsfilerobjcontext.cityid = option.id;
|
|
12208
12208
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
12209
|
-
setProductFilterObjContext(_objectSpread$
|
|
12209
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
12210
12210
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
12211
12211
|
},
|
|
12212
12212
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -12365,14 +12365,14 @@ var Filter$1 = function Filter(props) {
|
|
|
12365
12365
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12366
12366
|
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
12367
|
onClick: function onClick() {
|
|
12368
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
12368
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
12369
12369
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
12370
12370
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
12371
12371
|
} else {
|
|
12372
12372
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
12373
12373
|
}
|
|
12374
12374
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
12375
|
-
setProductFilterObjContext(_objectSpread$
|
|
12375
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
12376
12376
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
12377
12377
|
}
|
|
12378
12378
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -12407,7 +12407,7 @@ var Filter$1 = function Filter(props) {
|
|
|
12407
12407
|
minValue: 0,
|
|
12408
12408
|
value: raterangevalue,
|
|
12409
12409
|
onChange: function onChange(value) {
|
|
12410
|
-
setraterangevalue(_objectSpread$
|
|
12410
|
+
setraterangevalue(_objectSpread$1U({}, value));
|
|
12411
12411
|
}
|
|
12412
12412
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12413
12413
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex align-items-center d-md-none"
|
|
@@ -12548,13 +12548,13 @@ var Filter$1 = function Filter(props) {
|
|
|
12548
12548
|
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
12549
|
onClick: function onClick() {
|
|
12550
12550
|
// setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
12551
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
12551
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1U({}, ProductFilterObjContext);
|
|
12552
12552
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
12553
12553
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
12554
12554
|
} else {
|
|
12555
12555
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
12556
12556
|
}
|
|
12557
|
-
setProductFilterObjContext(_objectSpread$
|
|
12557
|
+
setProductFilterObjContext(_objectSpread$1U({}, tempfetchproductsfilerobjcontext));
|
|
12558
12558
|
}
|
|
12559
12559
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12560
12560
|
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 +12586,8 @@ var Filter$1 = function Filter(props) {
|
|
|
12586
12586
|
|
|
12587
12587
|
var serverbaselink$1 = 'https://tabex-co.com';
|
|
12588
12588
|
|
|
12589
|
-
function ownKeys$
|
|
12590
|
-
function _objectSpread$
|
|
12589
|
+
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; }
|
|
12590
|
+
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
12591
|
var CardsSection = function CardsSection(props) {
|
|
12592
12592
|
var refscr = /*#__PURE__*/React.createRef();
|
|
12593
12593
|
var _useInView = reactIntersectionObserver.useInView();
|
|
@@ -12670,7 +12670,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
12670
12670
|
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
12671
12671
|
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
12672
12672
|
});
|
|
12673
|
-
setsectionproperties(_objectSpread$
|
|
12673
|
+
setsectionproperties(_objectSpread$1T({}, secpropobj));
|
|
12674
12674
|
if (props.srcfromprops == 'GeneralProductsComponent') {
|
|
12675
12675
|
setfetchingtype('products');
|
|
12676
12676
|
var lcproductfetchingtype = 'Random';
|
|
@@ -12744,7 +12744,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
12744
12744
|
}
|
|
12745
12745
|
tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
|
|
12746
12746
|
tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
|
|
12747
|
-
setProductFilterObjContext(_objectSpread$
|
|
12747
|
+
setProductFilterObjContext(_objectSpread$1T({}, tempfetchproductsfilerobjcontext));
|
|
12748
12748
|
}
|
|
12749
12749
|
if (fetchingtype == 'categories') {
|
|
12750
12750
|
if (fetchAuthorizationQueryContext !== null && fetchAuthorizationQueryContext !== void 0 && fetchAuthorizationQueryContext.isSuccess) {
|
|
@@ -12820,7 +12820,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
12820
12820
|
cardobjassigner(collections);
|
|
12821
12821
|
}
|
|
12822
12822
|
}
|
|
12823
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
12823
|
+
setFetchQueriesEngineContext(_objectSpread$1T({}, tempFetchQueriesEngineContext));
|
|
12824
12824
|
}
|
|
12825
12825
|
}, [fetchingtype, ProductsFetchingTypeSectionObj]);
|
|
12826
12826
|
React.useEffect(function () {
|
|
@@ -12989,9 +12989,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
12989
12989
|
// Example items, to simulate fetching from another resources.
|
|
12990
12990
|
var handlePageClick = function handlePageClick(event) {
|
|
12991
12991
|
props.scrolltotop();
|
|
12992
|
-
var tempProductFilterObjContext = _objectSpread$
|
|
12992
|
+
var tempProductFilterObjContext = _objectSpread$1T({}, ProductFilterObjContext);
|
|
12993
12993
|
tempProductFilterObjContext.page = event === null || event === void 0 ? void 0 : event.selected;
|
|
12994
|
-
setProductFilterObjContext(_objectSpread$
|
|
12994
|
+
setProductFilterObjContext(_objectSpread$1T({}, tempProductFilterObjContext));
|
|
12995
12995
|
var pasturl = '';
|
|
12996
12996
|
if (props.grouptypeprops != undefined) {
|
|
12997
12997
|
if (props.collectionidprops != undefined) {
|
|
@@ -13548,8 +13548,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13548
13548
|
})), fetchingtype == 'custom' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, cardsrender()), fetchingtype != 'custom' && cardsrender()));
|
|
13549
13549
|
};
|
|
13550
13550
|
|
|
13551
|
-
function ownKeys$
|
|
13552
|
-
function _objectSpread$
|
|
13551
|
+
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; }
|
|
13552
|
+
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
13553
|
var InnerGroups = function InnerGroups(props) {
|
|
13554
13554
|
var _useState = React.useState(''),
|
|
13555
13555
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -13590,7 +13590,7 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
13590
13590
|
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
13591
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13592
13592
|
});
|
|
13593
|
-
setsectionproperties(_objectSpread$
|
|
13593
|
+
setsectionproperties(_objectSpread$1S({}, secpropobj));
|
|
13594
13594
|
}
|
|
13595
13595
|
}, [StatePagePropertiesContext]);
|
|
13596
13596
|
// useEffect(() => {
|
|
@@ -13606,7 +13606,7 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
13606
13606
|
backgroundColor: sectionproperties.backgroundColor
|
|
13607
13607
|
}
|
|
13608
13608
|
}, /*#__PURE__*/React__default["default"].createElement(CardsSection, {
|
|
13609
|
-
actions: _objectSpread$
|
|
13609
|
+
actions: _objectSpread$1S(_objectSpread$1S({}, actions), {}, {
|
|
13610
13610
|
fetchingtype: grouptypeparams
|
|
13611
13611
|
})
|
|
13612
13612
|
}));
|
|
@@ -13831,8 +13831,8 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
13831
13831
|
}, lang.nosearchresults)))))));
|
|
13832
13832
|
};
|
|
13833
13833
|
|
|
13834
|
-
function ownKeys$
|
|
13835
|
-
function _objectSpread$
|
|
13834
|
+
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; }
|
|
13835
|
+
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
13836
|
var MarqueeHeader = function MarqueeHeader(props) {
|
|
13837
13837
|
var _textarray$, _textarray$2;
|
|
13838
13838
|
props.actions;
|
|
@@ -13853,12 +13853,12 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
13853
13853
|
settextarray = _useState6[1];
|
|
13854
13854
|
React.useEffect(function () {
|
|
13855
13855
|
if (props.sectionpropertiesprops != undefined) {
|
|
13856
|
-
setsectionproperties(_objectSpread$
|
|
13856
|
+
setsectionproperties(_objectSpread$1R({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
13857
13857
|
}
|
|
13858
13858
|
}, [props.sectionpropertiesprops]);
|
|
13859
13859
|
React.useEffect(function () {
|
|
13860
13860
|
if (props.templateproperties_contextprops != undefined) {
|
|
13861
|
-
settemplateproperties_context(_objectSpread$
|
|
13861
|
+
settemplateproperties_context(_objectSpread$1R({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
13862
13862
|
}
|
|
13863
13863
|
}, [props.templateproperties_contextprops]);
|
|
13864
13864
|
React.useEffect(function () {
|
|
@@ -13900,8 +13900,8 @@ var css_248z$B = ".subheader-module_sub_outercontainer__-z5ZD {\n position: r
|
|
|
13900
13900
|
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
13901
|
styleInject(css_248z$B);
|
|
13902
13902
|
|
|
13903
|
-
function ownKeys$
|
|
13904
|
-
function _objectSpread$
|
|
13903
|
+
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; }
|
|
13904
|
+
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
13905
|
var Subheader = function Subheader(props) {
|
|
13906
13906
|
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
13907
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
@@ -13937,12 +13937,12 @@ var Subheader = function Subheader(props) {
|
|
|
13937
13937
|
React.useEffect(function () {
|
|
13938
13938
|
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
13939
13939
|
tempFetchQueriesEngineContext.categories = true;
|
|
13940
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
13940
|
+
setFetchQueriesEngineContext(_objectSpread$1Q({}, tempFetchQueriesEngineContext));
|
|
13941
13941
|
// alert(JSON.stringify(authdetailsContext));
|
|
13942
13942
|
}, []);
|
|
13943
13943
|
React.useEffect(function () {
|
|
13944
13944
|
if (props.sectionpropertiesprops != undefined) {
|
|
13945
|
-
setsectionproperties(_objectSpread$
|
|
13945
|
+
setsectionproperties(_objectSpread$1Q({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
13946
13946
|
}
|
|
13947
13947
|
}, [props.sectionpropertiesprops]);
|
|
13948
13948
|
// useEffect(() => {
|
|
@@ -14408,8 +14408,8 @@ var Subheader = function Subheader(props) {
|
|
|
14408
14408
|
})))))));
|
|
14409
14409
|
};
|
|
14410
14410
|
|
|
14411
|
-
function ownKeys$
|
|
14412
|
-
function _objectSpread$
|
|
14411
|
+
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; }
|
|
14412
|
+
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
14413
|
var Headerresponsive = function Headerresponsive(props) {
|
|
14414
14414
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
14415
14415
|
var actions = props.actions;
|
|
@@ -14440,7 +14440,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
14440
14440
|
_useState4[1];
|
|
14441
14441
|
React.useEffect(function () {
|
|
14442
14442
|
if (props.sectionpropertiesprops != undefined) {
|
|
14443
|
-
setsectionproperties(_objectSpread$
|
|
14443
|
+
setsectionproperties(_objectSpread$1P({}, props.sectionpropertiesprops));
|
|
14444
14444
|
}
|
|
14445
14445
|
}, [props.sectionpropertiesprops]);
|
|
14446
14446
|
var _useState5 = React.useState([]),
|
|
@@ -14618,6 +14618,13 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
14618
14618
|
borderColor: sectionproperties.userbtnresp_IconColoronhover,
|
|
14619
14619
|
backgroundColor: sectionproperties.userbtnresp_bgColoronhover
|
|
14620
14620
|
}
|
|
14621
|
+
}),
|
|
14622
|
+
storeimage: glamor.css({
|
|
14623
|
+
'@media (max-width: 800px)': {
|
|
14624
|
+
maxWidth: '120px',
|
|
14625
|
+
maxHeight: '110px',
|
|
14626
|
+
objectFit: 'contain'
|
|
14627
|
+
}
|
|
14621
14628
|
})
|
|
14622
14629
|
};
|
|
14623
14630
|
var CartButton = function CartButton() {
|
|
@@ -14706,8 +14713,10 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
14706
14713
|
onClick: function onClick() {
|
|
14707
14714
|
var element2 = document.getElementById('filter');
|
|
14708
14715
|
element2.classList.toggle('d-flex');
|
|
14709
|
-
|
|
14710
|
-
|
|
14716
|
+
if (sectionproperties.showhidesubheader == 'Show') {
|
|
14717
|
+
var element3 = document.getElementById('subheader');
|
|
14718
|
+
element3.classList.toggle('d-none');
|
|
14719
|
+
}
|
|
14711
14720
|
// setopenCnvas(true);
|
|
14712
14721
|
}
|
|
14713
14722
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -15154,6 +15163,31 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
15154
15163
|
style: {
|
|
15155
15164
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
15156
15165
|
}
|
|
15166
|
+
}))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15167
|
+
className: "row m-0 w-100"
|
|
15168
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15169
|
+
className: "col-lg-12 allcentered mt-3"
|
|
15170
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
15171
|
+
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
15172
|
+
"class": header_cssstyles.storeimage + ' cursor-pointer mx-3 mx-sm-2 ',
|
|
15173
|
+
onClick: function onClick() {
|
|
15174
|
+
var _authdetailsContext$i9;
|
|
15175
|
+
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');
|
|
15176
|
+
}
|
|
15177
|
+
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
15178
|
+
"class": header_cssstyles.storeimage + ' cursor-pointer mx-3 mx-sm-0 ',
|
|
15179
|
+
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
15180
|
+
onClick: function onClick() {
|
|
15181
|
+
var _authdetailsContext$i10;
|
|
15182
|
+
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');
|
|
15183
|
+
}
|
|
15184
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15185
|
+
className: "col-lg-12 p-0"
|
|
15186
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
15187
|
+
className: "mt-3 mb-0",
|
|
15188
|
+
style: {
|
|
15189
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
15190
|
+
}
|
|
15157
15191
|
}))))))), sectionproperties.showhidesubheader == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15158
15192
|
className: "col-lg-12 p-0 h-100",
|
|
15159
15193
|
id: "subheader"
|
|
@@ -15167,8 +15201,8 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
15167
15201
|
})))))));
|
|
15168
15202
|
};
|
|
15169
15203
|
|
|
15170
|
-
function ownKeys$
|
|
15171
|
-
function _objectSpread$
|
|
15204
|
+
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; }
|
|
15205
|
+
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
15206
|
var DownloadApp = function DownloadApp(props) {
|
|
15173
15207
|
props.actions;
|
|
15174
15208
|
props.actions.lang;
|
|
@@ -15192,7 +15226,7 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
15192
15226
|
}, [sectionproperties]);
|
|
15193
15227
|
React.useEffect(function () {
|
|
15194
15228
|
if (props.sectionpropertiesprops != undefined) {
|
|
15195
|
-
setsectionproperties(_objectSpread$
|
|
15229
|
+
setsectionproperties(_objectSpread$1O({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
15196
15230
|
}
|
|
15197
15231
|
}, [props.sectionpropertiesprops]);
|
|
15198
15232
|
var header_cssstyles = {
|
|
@@ -15243,8 +15277,8 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
15243
15277
|
}))));
|
|
15244
15278
|
};
|
|
15245
15279
|
|
|
15246
|
-
function ownKeys$
|
|
15247
|
-
function _objectSpread$
|
|
15280
|
+
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; }
|
|
15281
|
+
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
15282
|
var Gotoheader = function Gotoheader(props) {
|
|
15249
15283
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
|
|
15250
15284
|
var _useState = React.useState(''),
|
|
@@ -15284,7 +15318,7 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
15284
15318
|
});
|
|
15285
15319
|
}
|
|
15286
15320
|
}
|
|
15287
|
-
setsectionproperties(_objectSpread$
|
|
15321
|
+
setsectionproperties(_objectSpread$1N({}, secpropobj));
|
|
15288
15322
|
}, [StatePagePropertiesContext]);
|
|
15289
15323
|
var _useState3 = React.useState([]),
|
|
15290
15324
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -15907,8 +15941,8 @@ var css_248z$A = ".CategoryFeaturingHeader-module_lowerHeaderContainer__bQvQY {\
|
|
|
15907
15941
|
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
15942
|
styleInject(css_248z$A);
|
|
15909
15943
|
|
|
15910
|
-
function ownKeys$
|
|
15911
|
-
function _objectSpread$
|
|
15944
|
+
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; }
|
|
15945
|
+
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
15946
|
var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
15913
15947
|
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
15948
|
var _useState = React.useState(''),
|
|
@@ -15956,7 +15990,7 @@ var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
|
15956
15990
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
15957
15991
|
});
|
|
15958
15992
|
}
|
|
15959
|
-
setsectionproperties(_objectSpread$
|
|
15993
|
+
setsectionproperties(_objectSpread$1M({}, secpropobj));
|
|
15960
15994
|
}, [StatePagePropertiesContext]);
|
|
15961
15995
|
React.useEffect(function () {
|
|
15962
15996
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -16863,8 +16897,8 @@ var css_248z$z = ".classicheader-module_headercontainer__tCNl- {\n display: f
|
|
|
16863
16897
|
var headerstyles$d = {"headercontainer":"classicheader-module_headercontainer__tCNl-","navbar":"classicheader-module_navbar__3MEax"};
|
|
16864
16898
|
styleInject(css_248z$z);
|
|
16865
16899
|
|
|
16866
|
-
function ownKeys$
|
|
16867
|
-
function _objectSpread$
|
|
16900
|
+
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; }
|
|
16901
|
+
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
16902
|
var ClassicHeader = function ClassicHeader(props) {
|
|
16869
16903
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _templatepropcontext$;
|
|
16870
16904
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
@@ -16901,7 +16935,7 @@ var ClassicHeader = function ClassicHeader(props) {
|
|
|
16901
16935
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
16902
16936
|
});
|
|
16903
16937
|
}
|
|
16904
|
-
setsectionproperties(_objectSpread$
|
|
16938
|
+
setsectionproperties(_objectSpread$1L({}, secpropobj));
|
|
16905
16939
|
}, [StatePagePropertiesContext]);
|
|
16906
16940
|
var _useState3 = React.useState([]),
|
|
16907
16941
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -17939,8 +17973,8 @@ var css_248z$y = ".CTAHeader-module_header_container__In9j3 .CTAHeader-module_to
|
|
|
17939
17973
|
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
17974
|
styleInject(css_248z$y);
|
|
17941
17975
|
|
|
17942
|
-
function ownKeys$
|
|
17943
|
-
function _objectSpread$
|
|
17976
|
+
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; }
|
|
17977
|
+
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
17978
|
var CTAHeader = function CTAHeader(props) {
|
|
17945
17979
|
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
17980
|
var actions = props.actions;
|
|
@@ -17988,7 +18022,7 @@ var CTAHeader = function CTAHeader(props) {
|
|
|
17988
18022
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
17989
18023
|
});
|
|
17990
18024
|
}
|
|
17991
|
-
setsectionproperties(_objectSpread$
|
|
18025
|
+
setsectionproperties(_objectSpread$1K({}, secpropobj));
|
|
17992
18026
|
}, [StatePagePropertiesContext]);
|
|
17993
18027
|
React.useEffect(function () {
|
|
17994
18028
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -18976,8 +19010,8 @@ var css_248z$x = ".Header_threesectionslogocentered-module_header_innercontainer
|
|
|
18976
19010
|
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
19011
|
styleInject(css_248z$x);
|
|
18978
19012
|
|
|
18979
|
-
function ownKeys$
|
|
18980
|
-
function _objectSpread$
|
|
19013
|
+
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; }
|
|
19014
|
+
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
19015
|
var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
|
|
18982
19016
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
|
|
18983
19017
|
var _useState = React.useState(''),
|
|
@@ -19013,7 +19047,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
19013
19047
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
19014
19048
|
});
|
|
19015
19049
|
}
|
|
19016
|
-
setsectionproperties(_objectSpread$
|
|
19050
|
+
setsectionproperties(_objectSpread$1J({}, secpropobj));
|
|
19017
19051
|
}, [StatePagePropertiesContext]);
|
|
19018
19052
|
var _useState3 = React.useState([]),
|
|
19019
19053
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -19717,8 +19751,8 @@ var css_248z$w = ".Simpleheader-module_headercontainer__H09AD {\n position: a
|
|
|
19717
19751
|
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
19752
|
styleInject(css_248z$w);
|
|
19719
19753
|
|
|
19720
|
-
function ownKeys$
|
|
19721
|
-
function _objectSpread$
|
|
19754
|
+
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; }
|
|
19755
|
+
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
19756
|
var Simpleheader = function Simpleheader(props) {
|
|
19723
19757
|
var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _authdetailsContext$c, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
19724
19758
|
var _useState = React.useState(''),
|
|
@@ -19755,7 +19789,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
19755
19789
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
19756
19790
|
});
|
|
19757
19791
|
}
|
|
19758
|
-
setsectionproperties(_objectSpread$
|
|
19792
|
+
setsectionproperties(_objectSpread$1I({}, secpropobj));
|
|
19759
19793
|
}, [StatePagePropertiesContext]);
|
|
19760
19794
|
var _useState3 = React.useState([]),
|
|
19761
19795
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -20353,8 +20387,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
20353
20387
|
}))))))));
|
|
20354
20388
|
};
|
|
20355
20389
|
|
|
20356
|
-
function ownKeys$
|
|
20357
|
-
function _objectSpread$
|
|
20390
|
+
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; }
|
|
20391
|
+
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
20392
|
var Header8 = function Header8(props) {
|
|
20359
20393
|
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
20394
|
var actions = props.actions;
|
|
@@ -20411,7 +20445,7 @@ var Header8 = function Header8(props) {
|
|
|
20411
20445
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
20412
20446
|
});
|
|
20413
20447
|
}
|
|
20414
|
-
setsectionproperties(_objectSpread$
|
|
20448
|
+
setsectionproperties(_objectSpread$1H({}, secpropobj));
|
|
20415
20449
|
}, [StatePagePropertiesContext]);
|
|
20416
20450
|
var subtotalcart = function subtotalcart() {
|
|
20417
20451
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
@@ -22119,8 +22153,8 @@ var css_248z$v = ".headerresturant-module_header_innercontainer__K3I1g {\n di
|
|
|
22119
22153
|
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
22154
|
styleInject(css_248z$v);
|
|
22121
22155
|
|
|
22122
|
-
function ownKeys$
|
|
22123
|
-
function _objectSpread$
|
|
22156
|
+
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; }
|
|
22157
|
+
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
22158
|
var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
22125
22159
|
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
22160
|
var _useState = React.useState(''),
|
|
@@ -22156,7 +22190,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
22156
22190
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
22157
22191
|
});
|
|
22158
22192
|
}
|
|
22159
|
-
setsectionproperties(_objectSpread$
|
|
22193
|
+
setsectionproperties(_objectSpread$1G({}, secpropobj));
|
|
22160
22194
|
}, [StatePagePropertiesContext]);
|
|
22161
22195
|
var _useState3 = React.useState([]),
|
|
22162
22196
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -22796,8 +22830,8 @@ var css_248z$u = ".header_contactinfo-module_lowerHeaderContainer__toB3m {\n
|
|
|
22796
22830
|
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
22831
|
styleInject(css_248z$u);
|
|
22798
22832
|
|
|
22799
|
-
function ownKeys$
|
|
22800
|
-
function _objectSpread$
|
|
22833
|
+
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; }
|
|
22834
|
+
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
22835
|
var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
22802
22836
|
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
22837
|
var _useState = React.useState(''),
|
|
@@ -22834,7 +22868,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
22834
22868
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
22835
22869
|
});
|
|
22836
22870
|
}
|
|
22837
|
-
setsectionproperties(_objectSpread$
|
|
22871
|
+
setsectionproperties(_objectSpread$1F({}, secpropobj));
|
|
22838
22872
|
}, [StatePagePropertiesContext]);
|
|
22839
22873
|
var _useState3 = React.useState(false),
|
|
22840
22874
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -23607,6 +23641,88 @@ var css_248z$t = ".modernheader-module_header_container__bprPW {\n width: 100
|
|
|
23607
23641
|
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
23642
|
styleInject(css_248z$t);
|
|
23609
23643
|
|
|
23644
|
+
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; }
|
|
23645
|
+
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; }
|
|
23646
|
+
var SocialMediaSection = function SocialMediaSection(props) {
|
|
23647
|
+
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7;
|
|
23648
|
+
props.actions;
|
|
23649
|
+
props.actions.StatePagePropertiesContext;
|
|
23650
|
+
var _useState = React.useState({}),
|
|
23651
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
23652
|
+
_useState2[0];
|
|
23653
|
+
var setsectionproperties = _useState2[1];
|
|
23654
|
+
var _useState3 = React.useState({}),
|
|
23655
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
23656
|
+
templateproperties_context = _useState4[0],
|
|
23657
|
+
settemplateproperties_context = _useState4[1];
|
|
23658
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
23659
|
+
React.useEffect(function () {
|
|
23660
|
+
if (props.sectionpropertiesprops != undefined) {
|
|
23661
|
+
setsectionproperties(_objectSpread$1E({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
23662
|
+
}
|
|
23663
|
+
}, [props.sectionpropertiesprops]);
|
|
23664
|
+
React.useEffect(function () {
|
|
23665
|
+
if (props.templateproperties_contextprops != undefined) {
|
|
23666
|
+
settemplateproperties_context(_objectSpread$1E({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
23667
|
+
}
|
|
23668
|
+
}, [props.templateproperties_contextprops]);
|
|
23669
|
+
var header_cssstyles = {
|
|
23670
|
+
socialmediaicon: glamor.css({
|
|
23671
|
+
fontSize: templateproperties_context.socialmediasectioniconfontsize + 'px',
|
|
23672
|
+
color: templateproperties_context.socialmediasectioniconcolor,
|
|
23673
|
+
':hover': {
|
|
23674
|
+
transition: '.3s',
|
|
23675
|
+
color: templateproperties_context.socialmediasectioniconcoloronhover
|
|
23676
|
+
}
|
|
23677
|
+
})
|
|
23678
|
+
};
|
|
23679
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23680
|
+
"class": "col-lg-12 px-0 allcentered",
|
|
23681
|
+
style: {
|
|
23682
|
+
background: templateproperties_context.socialmediasectionbgcolor,
|
|
23683
|
+
paddingTop: templateproperties_context.socialmediapaddinghorizontal + 'px',
|
|
23684
|
+
paddingBottom: templateproperties_context.socialmediapaddinghorizontal + 'px'
|
|
23685
|
+
}
|
|
23686
|
+
}, (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", {
|
|
23687
|
+
"class": "".concat(header_cssstyles.socialmediaicon) + ' allcentered mx-2 cursor-pointer ',
|
|
23688
|
+
onClick: function onClick() {
|
|
23689
|
+
var _authdetailsContext$i2;
|
|
23690
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
|
|
23691
|
+
var _authdetailsContext$i3;
|
|
23692
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
|
|
23693
|
+
}
|
|
23694
|
+
}
|
|
23695
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
23696
|
+
size: templateproperties_context.socialmediasectioniconfontsize
|
|
23697
|
+
})), (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", {
|
|
23698
|
+
"class": "".concat(header_cssstyles.socialmediaicon) + ' allcentered mx-2 cursor-pointer ',
|
|
23699
|
+
onClick: function onClick() {
|
|
23700
|
+
var _authdetailsContext$i5;
|
|
23701
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
23702
|
+
var _authdetailsContext$i6;
|
|
23703
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
23704
|
+
}
|
|
23705
|
+
}
|
|
23706
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
23707
|
+
style: {
|
|
23708
|
+
fontSize: parseFloat(templateproperties_context.socialmediasectioniconfontsize) + 2 + 'px'
|
|
23709
|
+
}
|
|
23710
|
+
})), (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", {
|
|
23711
|
+
"class": "".concat(header_cssstyles.socialmediaicon) + ' allcentered mx-2 cursor-pointer ',
|
|
23712
|
+
onClick: function onClick() {
|
|
23713
|
+
var _authdetailsContext$i8;
|
|
23714
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber) != null) {
|
|
23715
|
+
var _authdetailsContext$i9;
|
|
23716
|
+
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');
|
|
23717
|
+
}
|
|
23718
|
+
}
|
|
23719
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
23720
|
+
style: {
|
|
23721
|
+
fontSize: parseFloat(templateproperties_context.socialmediasectioniconfontsize) + 2 + 'px'
|
|
23722
|
+
}
|
|
23723
|
+
})));
|
|
23724
|
+
};
|
|
23725
|
+
|
|
23610
23726
|
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
23727
|
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
23728
|
var Modernheader = function Modernheader(props) {
|
|
@@ -23767,8 +23883,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
23767
23883
|
paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px'
|
|
23768
23884
|
}),
|
|
23769
23885
|
topbar_item: glamor.css({
|
|
23770
|
-
marginLeft: '
|
|
23771
|
-
marginRight: '
|
|
23886
|
+
marginLeft: sectionproperties.navbar_item_textpaddingright + 'px',
|
|
23887
|
+
marginRight: sectionproperties.navbar_item_textpaddingright + 'px',
|
|
23772
23888
|
':hover:before': {
|
|
23773
23889
|
background: sectionproperties.lowersection_fontColoronhover
|
|
23774
23890
|
}
|
|
@@ -23880,7 +23996,11 @@ var Modernheader = function Modernheader(props) {
|
|
|
23880
23996
|
sectionpropertiesprops: sectionproperties,
|
|
23881
23997
|
templateproperties_contextprops: templateproperties_context,
|
|
23882
23998
|
actions: actions
|
|
23883
|
-
})),
|
|
23999
|
+
})), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
24000
|
+
sectionpropertiesprops: sectionproperties,
|
|
24001
|
+
templateproperties_contextprops: templateproperties_context,
|
|
24002
|
+
actions: actions
|
|
24003
|
+
}), sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
23884
24004
|
sectionpropertiesprops: sectionproperties,
|
|
23885
24005
|
actions: actions
|
|
23886
24006
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -35888,6 +36008,9 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
35888
36008
|
onClick: function onClick() {
|
|
35889
36009
|
var _authdetailsContext$i13, _authdetailsContext$i14;
|
|
35890
36010
|
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');
|
|
36011
|
+
},
|
|
36012
|
+
style: {
|
|
36013
|
+
textTransform: 'none'
|
|
35891
36014
|
}
|
|
35892
36015
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
35893
36016
|
"class": ' fa fa-at text-transform-none ',
|
|
@@ -36304,10 +36427,11 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
36304
36427
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
36305
36428
|
style: {
|
|
36306
36429
|
width: '75%',
|
|
36307
|
-
height: 35
|
|
36430
|
+
height: 35,
|
|
36431
|
+
background: 'transparent'
|
|
36308
36432
|
}
|
|
36309
36433
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36310
|
-
"class": "m-0 p-0",
|
|
36434
|
+
"class": "m-0 p-0 cursor-pointer",
|
|
36311
36435
|
style: {
|
|
36312
36436
|
position: 'absolute',
|
|
36313
36437
|
bottom: 5,
|
|
@@ -58383,7 +58507,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
58383
58507
|
},
|
|
58384
58508
|
"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
58509
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58386
|
-
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-
|
|
58510
|
+
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column"
|
|
58387
58511
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58388
58512
|
"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
58513
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|