tabexseriescomponents 0.0.262 → 0.0.264
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 +332 -205
- package/dist/index.esm.js +332 -205
- package/dist/index.umd.js +335 -209
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -110,6 +110,7 @@ var MdKeyboardArrowUp = require('@react-icons/all-files/md/MdKeyboardArrowUp');
|
|
|
110
110
|
var BsInfoCircle = require('@react-icons/all-files/bs/BsInfoCircle');
|
|
111
111
|
var AiFillPhone = require('@react-icons/all-files/ai/AiFillPhone');
|
|
112
112
|
var IoClose = require('@react-icons/all-files/io5/IoClose');
|
|
113
|
+
var FaTelegramPlane = require('@react-icons/all-files/fa/FaTelegramPlane');
|
|
113
114
|
var FaPhoneAlt = require('@react-icons/all-files/fa/FaPhoneAlt');
|
|
114
115
|
var FaPhone = require('@react-icons/all-files/fa/FaPhone');
|
|
115
116
|
var AiOutlinePhone = require('@react-icons/all-files/ai/AiOutlinePhone');
|
|
@@ -245,6 +246,9 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
245
246
|
_this.state = {
|
|
246
247
|
lang: {
|
|
247
248
|
en: (_en = {
|
|
249
|
+
sendcode: 'Send code',
|
|
250
|
+
verifycode: 'Verify Code',
|
|
251
|
+
writevalidemail: 'Please write a valid email',
|
|
248
252
|
loginregister: 'Login/Register',
|
|
249
253
|
pleaselogintocheckout: 'Please login in order to checkout',
|
|
250
254
|
reservationtime: 'Time',
|
|
@@ -315,6 +319,9 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
315
319
|
orsignupwith: 'Or Sign up with'
|
|
316
320
|
}, _defineProperty__default["default"](_en, "price", 'Price'), _defineProperty__default["default"](_en, "relatedproducts", 'Related products'), _defineProperty__default["default"](_en, "qty", 'QTY'), _defineProperty__default["default"](_en, "emptyshoppingcart", 'Your shopping cart is empty'), _defineProperty__default["default"](_en, "shopnow", 'Shop now'), _defineProperty__default["default"](_en, "total", 'Total'), _defineProperty__default["default"](_en, "otherinformation", 'Other information'), _defineProperty__default["default"](_en, "productname", 'Product name'), _defineProperty__default["default"](_en, "quantity", 'Quantity'), _defineProperty__default["default"](_en, "orderid", 'Order ID'), _defineProperty__default["default"](_en, "numberofproducts", 'Number of products'), _defineProperty__default["default"](_en, "checkyourorder", 'Check your order'), _defineProperty__default["default"](_en, "search", 'Search'), _defineProperty__default["default"](_en, "searchproducts", 'Search for products...'), _defineProperty__default["default"](_en, "choosecity", 'Choose city'), _defineProperty__default["default"](_en, "choosestategov", 'Choose state/governorate'), _defineProperty__default["default"](_en, "choosecountry", 'Choose country'), _defineProperty__default["default"](_en, "giftcarddicountcode", 'Gift Card Or Discount Code...'), _defineProperty__default["default"](_en, "nosearchresults", 'No search results'), _defineProperty__default["default"](_en, "sale", 'Sale'), _defineProperty__default["default"](_en, "nofavoriteproducts", 'Your wishlist is empty'), _defineProperty__default["default"](_en, "loggedoutsuccess", 'Logged out successfully'), _defineProperty__default["default"](_en, "addedtocartsuccess", 'Cart is updated successfully'), _defineProperty__default["default"](_en, "promocodeapplied", 'Promo code is applied.'), _defineProperty__default["default"](_en, "promocoderemoved", 'Promo code is removed'), _defineProperty__default["default"](_en, "countryandstateupdatedsuccess", 'Country and state are updated successfully'), _defineProperty__default["default"](_en, "orderaddedsuccess", 'Order is added successfully'), _defineProperty__default["default"](_en, "addedtowishlist", 'Added to your favourites'), _defineProperty__default["default"](_en, "productrmovedfromwishlist", 'Removed from your favourites'), _defineProperty__default["default"](_en, "fillthemissingfields", 'Please complete the missing fields'), _defineProperty__default["default"](_en, "passwordsdontmatch", "Passwords don't match"), _defineProperty__default["default"](_en, "loggedinsuccess", 'Logged in successfully'), _defineProperty__default["default"](_en, "subtotal", 'Sub total'), _defineProperty__default["default"](_en, "discount", 'Discount'), _defineProperty__default["default"](_en, "outofzone", 'Out of zone'), _defineProperty__default["default"](_en, "total", 'Total'), _defineProperty__default["default"](_en, "cod", 'Cash on Delivery'), _defineProperty__default["default"](_en, "cardondelivery", 'Credit Card On Delivery'), _defineProperty__default["default"](_en, "onlinepayment", 'Online Payment'), _defineProperty__default["default"](_en, "paymentcardinformation", 'Payment Card Information'), _defineProperty__default["default"](_en, "shippingfees", 'Shipping fees'), _defineProperty__default["default"](_en, "shippingaddress", 'Shipping address'), _defineProperty__default["default"](_en, "cardnumber", 'Card number'), _defineProperty__default["default"](_en, "year", 'Year'), _defineProperty__default["default"](_en, "month", 'Month'), _defineProperty__default["default"](_en, "cvv", 'CVV'), _defineProperty__default["default"](_en, "nameoncard", 'Name On Card'), _defineProperty__default["default"](_en, "country", 'Country'), _defineProperty__default["default"](_en, "addressdetails", 'ِAddress details'), _defineProperty__default["default"](_en, "stategov", 'State/Governorate'), _defineProperty__default["default"](_en, "city", 'City'), _defineProperty__default["default"](_en, "paymentmethod", 'Payment method'), _defineProperty__default["default"](_en, "productimage", 'Product image'), _defineProperty__default["default"](_en, "orderdetails", 'Order details'), _defineProperty__default["default"](_en, "orderinvoice", 'Order invoice'), _defineProperty__default["default"](_en, "promocodediscount", 'Promo code discount'), _defineProperty__default["default"](_en, "address", 'Address'), _defineProperty__default["default"](_en, "update", 'Update'), _defineProperty__default["default"](_en, "phonenumber", 'Mobile number'), _defineProperty__default["default"](_en, "completerequiredfields", 'Please complete all required fields'), _defineProperty__default["default"](_en, "name", 'Name'), _defineProperty__default["default"](_en, "email", 'Email'), _defineProperty__default["default"](_en, "password", 'Password'), _defineProperty__default["default"](_en, "confirmpassword", 'Confirm password'), _defineProperty__default["default"](_en, "showmore", 'Show more'), _defineProperty__default["default"](_en, "showless", 'Show less'), _defineProperty__default["default"](_en, "contactdetails", 'Contact Information'), _defineProperty__default["default"](_en, "asaguest", 'As a guest'), _defineProperty__default["default"](_en, "choosecountryfirst", 'Please choose country first'), _defineProperty__default["default"](_en, "security", 'Security'), _defineProperty__default["default"](_en, "personalinformation", 'Personal Information'), _defineProperty__default["default"](_en, "contactus", 'Contact us'), _defineProperty__default["default"](_en, "slogan", 'Your website & mobile application in one place'), _defineProperty__default["default"](_en, "recent", 'Recent'), _defineProperty__default["default"](_en, "oldest", 'Oldest'), _defineProperty__default["default"](_en, "pricehightolow", 'High to low'), _defineProperty__default["default"](_en, "pricelowtohigh", 'Low to High'), _defineProperty__default["default"](_en, "pleasecompleteaddressmissingfields", 'Please complete the missing address fields'), _en),
|
|
317
321
|
ar: (_ar = {
|
|
322
|
+
sendcode: 'إرسل الرمز',
|
|
323
|
+
verifycode: 'التحقق من كود',
|
|
324
|
+
writevalidemail: 'الرجاء كتابة بريد إلكتروني صالح',
|
|
318
325
|
pleasecompleteaddressmissingfields: 'من فضلك اكمل باقى بيانات العنوان',
|
|
319
326
|
loginregister: 'تسجيل الدخول/إنشاء حساب جديد',
|
|
320
327
|
pleaselogintocheckout: 'قم بتسجيل دخول لاستكمال طلبك',
|
|
@@ -727,7 +734,7 @@ var Login = function Login(props) {
|
|
|
727
734
|
position: 'relative',
|
|
728
735
|
display: 'flex',
|
|
729
736
|
alignItems: 'center'
|
|
730
|
-
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "height", '35px'), _defineProperty__default["default"](_css, "padding", '0
|
|
737
|
+
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "height", '35px'), _defineProperty__default["default"](_css, "padding", '0 10px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "fontWeight", 500), _defineProperty__default["default"](_css, "border", sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0), _defineProperty__default["default"](_css, "borderBottom", sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor), _defineProperty__default["default"](_css, "borderRadius", sectionproperties.inputfieldborderradius + 'px'), _defineProperty__default["default"](_css, "height", sectionproperties.inputfieldheight + 'px'), _defineProperty__default["default"](_css, "background", sectionproperties.input_bgcolor), _defineProperty__default["default"](_css, "color", sectionproperties.inputfieldcolor), _defineProperty__default["default"](_css, ':focus', {
|
|
731
738
|
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
732
739
|
}), _defineProperty__default["default"](_css, ':focus .login_input_icon', {
|
|
733
740
|
color: sectionproperties.inputfeildbordercoloronfocus
|
|
@@ -7811,7 +7818,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7811
7818
|
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _fetchAuthorizationQu4, _fetchAuthorizationQu5, _fetchAuthorizationQu6, _css, _authdetailsContext$c, _authdetailsContext$c2;
|
|
7812
7819
|
var lang = props.actions.lang;
|
|
7813
7820
|
var langdetect = props.actions.langdetect;
|
|
7814
|
-
props.actions.routingcountext;
|
|
7821
|
+
var routingcountext = props.actions.routingcountext;
|
|
7815
7822
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
7816
7823
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
7817
7824
|
var fetchinstitutecustomerinfosignupQueryContext = props.actions.fetchinstitutecustomerinfosignupQueryContext;
|
|
@@ -7825,6 +7832,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7825
7832
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
7826
7833
|
var instapikey = props.actions.instapikey;
|
|
7827
7834
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
7835
|
+
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
7828
7836
|
props.actions.ikimagecredcontext;
|
|
7829
7837
|
var NotificationManager = props.actions.NotificationManager;
|
|
7830
7838
|
var actions = props.actions;
|
|
@@ -7833,9 +7841,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7833
7841
|
customeraddressrequierd = _useState2[0],
|
|
7834
7842
|
setcustomeraddressrequierd = _useState2[1];
|
|
7835
7843
|
var _useState3 = React.useState(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : (_fetchAuthorizationQu4 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu4 === void 0 ? void 0 : (_fetchAuthorizationQu5 = _fetchAuthorizationQu4.data) === null || _fetchAuthorizationQu5 === void 0 ? void 0 : (_fetchAuthorizationQu6 = _fetchAuthorizationQu5.instinfo) === null || _fetchAuthorizationQu6 === void 0 ? void 0 : _fetchAuthorizationQu6.customervalidateemail),
|
|
7836
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2)
|
|
7837
|
-
_useState4[0]
|
|
7838
|
-
|
|
7844
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
7845
|
+
customervalidateemail = _useState4[0],
|
|
7846
|
+
setcustomervalidateemail = _useState4[1];
|
|
7839
7847
|
var _useState5 = React.useState(false),
|
|
7840
7848
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
7841
7849
|
validateemailmodal = _useState6[0],
|
|
@@ -7849,6 +7857,15 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7849
7857
|
dataloaded = _useState10[0],
|
|
7850
7858
|
setdataloaded = _useState10[1];
|
|
7851
7859
|
var _useState11 = React.useState({
|
|
7860
|
+
email: '',
|
|
7861
|
+
code: '',
|
|
7862
|
+
step: 'sendcode',
|
|
7863
|
+
isvalidated: false
|
|
7864
|
+
}),
|
|
7865
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
7866
|
+
validateemailpayload = _useState12[0],
|
|
7867
|
+
setvalidateemailpayload = _useState12[1];
|
|
7868
|
+
var _useState13 = React.useState({
|
|
7852
7869
|
instapikey: instapikey,
|
|
7853
7870
|
name: '',
|
|
7854
7871
|
email: '',
|
|
@@ -7863,9 +7880,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7863
7880
|
cityid: '',
|
|
7864
7881
|
countrydialcode: ''
|
|
7865
7882
|
}),
|
|
7866
|
-
|
|
7867
|
-
payloadobj =
|
|
7868
|
-
setpayloadobj =
|
|
7883
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
7884
|
+
payloadobj = _useState14[0],
|
|
7885
|
+
setpayloadobj = _useState14[1];
|
|
7869
7886
|
React.useEffect(function () {
|
|
7870
7887
|
if (fetchAuthorizationQueryContext.isSuccess) {
|
|
7871
7888
|
var _fetchAuthorizationQu7, _fetchAuthorizationQu8, _fetchAuthorizationQu9, _fetchAuthorizationQu10, _fetchAuthorizationQu11, _fetchAuthorizationQu12;
|
|
@@ -7915,6 +7932,82 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7915
7932
|
temppayloadobj[key] = value;
|
|
7916
7933
|
setpayloadobj(_objectSpread$1R({}, temppayloadobj));
|
|
7917
7934
|
};
|
|
7935
|
+
var validateEmailstring = function validateEmailstring(email) {
|
|
7936
|
+
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,}))$/);
|
|
7937
|
+
};
|
|
7938
|
+
var verifypayload = function verifypayload() {
|
|
7939
|
+
var iscompleted = false;
|
|
7940
|
+
var isshippingaddresscompleted = false;
|
|
7941
|
+
var passwordvalidation = false;
|
|
7942
|
+
if (authdetailsContext.loggedin == false) {
|
|
7943
|
+
if (payloadobj.password.length != 0) {
|
|
7944
|
+
if (payloadobj.password == payloadobj.password2) {
|
|
7945
|
+
passwordvalidation = true;
|
|
7946
|
+
}
|
|
7947
|
+
}
|
|
7948
|
+
} else if (authdetailsContext.loggedin == true) {
|
|
7949
|
+
if (payloadobj.password.length != 0) {
|
|
7950
|
+
if (payloadobj.password == payloadobj.password2) {
|
|
7951
|
+
passwordvalidation = true;
|
|
7952
|
+
}
|
|
7953
|
+
} else {
|
|
7954
|
+
passwordvalidation = true;
|
|
7955
|
+
}
|
|
7956
|
+
}
|
|
7957
|
+
if (passwordvalidation == false) {
|
|
7958
|
+
NotificationManager.warning('', lang.passwordsdontmatch);
|
|
7959
|
+
}
|
|
7960
|
+
if (customeraddressrequierd == 1) {
|
|
7961
|
+
if (payloadobj.countryid.length != 0 && payloadobj.stateid.length != 0 && payloadobj.cityid.length != 0 && payloadobj.shippingaddress.length != 0) {
|
|
7962
|
+
isshippingaddresscompleted = true;
|
|
7963
|
+
}
|
|
7964
|
+
} else {
|
|
7965
|
+
isshippingaddresscompleted = true;
|
|
7966
|
+
}
|
|
7967
|
+
if (validateEmailstring(payloadobj.email)) {
|
|
7968
|
+
if (payloadobj.email.length != 0 && payloadobj.name.length != 0 && payloadobj.mobile.length != 0 && passwordvalidation == true) {
|
|
7969
|
+
if (isshippingaddresscompleted) {
|
|
7970
|
+
var signupformismissing = true;
|
|
7971
|
+
payloadobj.instsignupformvalues.forEach(function (arrayItem) {
|
|
7972
|
+
if (arrayItem.optional == 1) {
|
|
7973
|
+
if (arrayItem.customersignupvalue == undefined || arrayItem.customersignupvalue.length == 0) {
|
|
7974
|
+
signupformismissing = false;
|
|
7975
|
+
}
|
|
7976
|
+
}
|
|
7977
|
+
});
|
|
7978
|
+
if (signupformismissing) {
|
|
7979
|
+
iscompleted = true;
|
|
7980
|
+
} else {
|
|
7981
|
+
iscompleted = false;
|
|
7982
|
+
NotificationManager.warning('', lang.completerequiredfields);
|
|
7983
|
+
}
|
|
7984
|
+
} else {
|
|
7985
|
+
iscompleted = false;
|
|
7986
|
+
NotificationManager.warning('', lang.pleasecompleteaddressmissingfields);
|
|
7987
|
+
}
|
|
7988
|
+
} else {
|
|
7989
|
+
iscompleted = false;
|
|
7990
|
+
NotificationManager.warning('', lang.fillthemissingfields);
|
|
7991
|
+
}
|
|
7992
|
+
} else {
|
|
7993
|
+
iscompleted = false;
|
|
7994
|
+
NotificationManager.warning('', lang.writevalidemail);
|
|
7995
|
+
}
|
|
7996
|
+
return iscompleted;
|
|
7997
|
+
};
|
|
7998
|
+
var signupbuttonfunc = function signupbuttonfunc() {
|
|
7999
|
+
if (verifypayload() == true) {
|
|
8000
|
+
var temppayloadobj = _objectSpread$1R({}, payloadobj);
|
|
8001
|
+
if (authdetailsContext.loggedin == true) {
|
|
8002
|
+
temppayloadobj.functype = 'edit';
|
|
8003
|
+
} else {
|
|
8004
|
+
temppayloadobj.functype = 'add';
|
|
8005
|
+
}
|
|
8006
|
+
temppayloadobj.addedsourcetype = 'Webapp';
|
|
8007
|
+
temppayloadobj.instapikey = instapikey;
|
|
8008
|
+
CustomerSignUpMutationContext.mutate(temppayloadobj);
|
|
8009
|
+
}
|
|
8010
|
+
};
|
|
7918
8011
|
var formstyles = {
|
|
7919
8012
|
loginbtn: glamor.css({
|
|
7920
8013
|
background: templatepropcontext.primarycolor,
|
|
@@ -7978,7 +8071,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7978
8071
|
position: 'relative',
|
|
7979
8072
|
display: 'flex',
|
|
7980
8073
|
alignItems: 'center'
|
|
7981
|
-
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "padding", '0
|
|
8074
|
+
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "padding", '0 10px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "border", sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0), _defineProperty__default["default"](_css, "borderBottom", sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor), _defineProperty__default["default"](_css, "borderRadius", sectionproperties.inputfieldborderradius + 'px'), _defineProperty__default["default"](_css, "height", sectionproperties.inputfieldheight + 'px'), _defineProperty__default["default"](_css, "background", sectionproperties.input_bgcolor), _defineProperty__default["default"](_css, "color", sectionproperties.inputfieldcolor), _defineProperty__default["default"](_css, ':focus', {
|
|
7982
8075
|
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
7983
8076
|
}), _defineProperty__default["default"](_css, ':focus .login_input_icon', {
|
|
7984
8077
|
color: sectionproperties.inputfeildbordercoloronfocus
|
|
@@ -8006,6 +8099,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8006
8099
|
}),
|
|
8007
8100
|
svgstyles: glamor.css({
|
|
8008
8101
|
stroke: 'var(--stroke, ' + sectionproperties.checkbox_checkedcolor + ')'
|
|
8102
|
+
}),
|
|
8103
|
+
terms: glamor.css({
|
|
8104
|
+
':hover': {
|
|
8105
|
+
transition: '.3s',
|
|
8106
|
+
color: sectionproperties.termsandconditionsecondarycolor
|
|
8107
|
+
}
|
|
8009
8108
|
})
|
|
8010
8109
|
};
|
|
8011
8110
|
var PersonalInformation = function PersonalInformation() {
|
|
@@ -8031,6 +8130,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8031
8130
|
type: "text",
|
|
8032
8131
|
textplaceholder: "",
|
|
8033
8132
|
value: payloadobj.email,
|
|
8133
|
+
disabled: validateemailpayload.isvalidated,
|
|
8034
8134
|
onChange: function onChange(event) {
|
|
8035
8135
|
payloadobjchange('email', event.target.value);
|
|
8036
8136
|
}
|
|
@@ -8524,67 +8624,32 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8524
8624
|
className: "mt-2 mb-3"
|
|
8525
8625
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8526
8626
|
className: "row ml-0 mr-0"
|
|
8527
|
-
}, Otherinformation()))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8627
|
+
}, Otherinformation()))))), sectionproperties.viewtermsandcondition == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8628
|
+
"class": "col-lg-12 allcentered"
|
|
8629
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8630
|
+
"class": "m-0 p-0",
|
|
8631
|
+
style: {
|
|
8632
|
+
fontSize: sectionproperties.termsandconditionfontsize + 'px',
|
|
8633
|
+
color: sectionproperties.termsandconditioncolor,
|
|
8634
|
+
fontWeight: 600
|
|
8635
|
+
}
|
|
8636
|
+
}, langdetect == 'en' ? sectionproperties.termsandconditiontext_en : sectionproperties.termsandconditiontext_ar, ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8637
|
+
"class": formstyles.terms + ' cursor-pointer ',
|
|
8638
|
+
onClick: function onClick() {
|
|
8639
|
+
routingcountext(StaticPagesLinksContext.Policies);
|
|
8640
|
+
}
|
|
8641
|
+
}, "\u0627\u0644\u0634\u0631\u0648\u0637 \u0648 \u0627\u0644\u0627\u062D\u0643\u0627\u0645"))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8528
8642
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-3"
|
|
8529
8643
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8530
8644
|
className: "".concat(formstyles.signupbtn) + ' d-flex align-items-center justify-content-center ',
|
|
8531
8645
|
disabled: CustomerSignUpMutationContext.isLoading ? true : false,
|
|
8532
8646
|
onClick: function onClick() {
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
if (payloadobj.password.length != 0) {
|
|
8537
|
-
if (payloadobj.password == payloadobj.password2) {
|
|
8538
|
-
passwordvalidation = true;
|
|
8539
|
-
}
|
|
8540
|
-
}
|
|
8541
|
-
} else if (authdetailsContext.loggedin == true) {
|
|
8542
|
-
if (payloadobj.password.length != 0) {
|
|
8543
|
-
if (payloadobj.password == payloadobj.password2) {
|
|
8544
|
-
passwordvalidation = true;
|
|
8545
|
-
}
|
|
8546
|
-
} else {
|
|
8547
|
-
passwordvalidation = true;
|
|
8548
|
-
}
|
|
8549
|
-
}
|
|
8550
|
-
if (passwordvalidation == false) {
|
|
8551
|
-
NotificationManager.warning('', lang.passwordsdontmatch);
|
|
8552
|
-
}
|
|
8553
|
-
if (customeraddressrequierd == 1) {
|
|
8554
|
-
if (payloadobj.countryid.length != 0 && payloadobj.stateid.length != 0 && payloadobj.cityid.length != 0 && payloadobj.shippingaddress.length != 0) {
|
|
8555
|
-
isshippingaddresscompleted = true;
|
|
8556
|
-
}
|
|
8557
|
-
} else {
|
|
8558
|
-
isshippingaddresscompleted = true;
|
|
8559
|
-
}
|
|
8560
|
-
if (payloadobj.email.length != 0 && payloadobj.name.length != 0 && payloadobj.mobile.length != 0 && passwordvalidation == true) {
|
|
8561
|
-
if (isshippingaddresscompleted) {
|
|
8562
|
-
var signupformismissing = true;
|
|
8563
|
-
payloadobj.instsignupformvalues.forEach(function (arrayItem) {
|
|
8564
|
-
if (arrayItem.optional == 1) {
|
|
8565
|
-
if (arrayItem.customersignupvalue == undefined || arrayItem.customersignupvalue.length == 0) {
|
|
8566
|
-
signupformismissing = false;
|
|
8567
|
-
}
|
|
8568
|
-
}
|
|
8569
|
-
});
|
|
8570
|
-
if (signupformismissing) {
|
|
8571
|
-
var temppayloadobj = _objectSpread$1R({}, payloadobj);
|
|
8572
|
-
if (authdetailsContext.loggedin == true) {
|
|
8573
|
-
temppayloadobj.functype = 'edit';
|
|
8574
|
-
} else {
|
|
8575
|
-
temppayloadobj.functype = 'add';
|
|
8576
|
-
}
|
|
8577
|
-
temppayloadobj.addedsourcetype = 'Webapp';
|
|
8578
|
-
temppayloadobj.instapikey = instapikey;
|
|
8579
|
-
CustomerSignUpMutationContext.mutate(temppayloadobj);
|
|
8580
|
-
} else {
|
|
8581
|
-
NotificationManager.warning('', lang.completerequiredfields);
|
|
8582
|
-
}
|
|
8647
|
+
if (verifypayload() == true) {
|
|
8648
|
+
if (customervalidateemail == 1) {
|
|
8649
|
+
setvalidateemailmodal(true);
|
|
8583
8650
|
} else {
|
|
8584
|
-
|
|
8651
|
+
signupbuttonfunc();
|
|
8585
8652
|
}
|
|
8586
|
-
} else {
|
|
8587
|
-
NotificationManager.warning('', lang.fillthemissingfields);
|
|
8588
8653
|
}
|
|
8589
8654
|
}
|
|
8590
8655
|
}, CustomerSignUpMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
@@ -8631,7 +8696,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8631
8696
|
},
|
|
8632
8697
|
centered: true,
|
|
8633
8698
|
size: 'md'
|
|
8634
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8699
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8635
8700
|
"class": "d-flex align-items-center justify-content-center bgdanger-hover",
|
|
8636
8701
|
style: {
|
|
8637
8702
|
position: 'absolute',
|
|
@@ -8648,7 +8713,96 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8648
8713
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
8649
8714
|
size: 15,
|
|
8650
8715
|
color: "white"
|
|
8651
|
-
}))
|
|
8716
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8717
|
+
"class": "row m-0 w-100 allcentered"
|
|
8718
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8719
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center mt-2 justify-content-center"
|
|
8720
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8721
|
+
className: "text-md-center m-0 p-0 mb-2",
|
|
8722
|
+
style: {
|
|
8723
|
+
fontSize: '19px',
|
|
8724
|
+
color: sectionproperties.sectionTitleColor,
|
|
8725
|
+
fontWeight: 600
|
|
8726
|
+
}
|
|
8727
|
+
}, langdetect == 'en' ? 'Validate Email' : 'التحقق من صحة البريد الإلكتروني')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8728
|
+
"class": "col-lg-12 p-0"
|
|
8729
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
8730
|
+
"class": 'm-0 p-0'
|
|
8731
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8732
|
+
"class": "row w-100 m-0 mb-3 pl-2 pr-2 pt-3 pb-3 pl-sm-3 pr-sm-3"
|
|
8733
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8734
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
|
|
8735
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
8736
|
+
className: "".concat(formstyles.logininputLabel) + ' text-transform-none d-flex justify-content-start '
|
|
8737
|
+
}, langdetect == 'en' ? 'E-mail' : 'البريد الإلكترونى'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
8738
|
+
type: "text",
|
|
8739
|
+
className: "".concat(formstyles.form_control),
|
|
8740
|
+
value: payloadobj.email,
|
|
8741
|
+
disabled: true
|
|
8742
|
+
})), validateemailpayload.step == 'verifycode' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8743
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
|
|
8744
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
8745
|
+
className: "".concat(formstyles.logininputLabel) + ' text-transform-none d-flex justify-content-start '
|
|
8746
|
+
}, langdetect == 'en' ? 'Code' : ' كود البريد الاكتروني'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
8747
|
+
type: "text",
|
|
8748
|
+
className: "".concat(formstyles.form_control),
|
|
8749
|
+
value: validateemailpayload.code,
|
|
8750
|
+
onChange: function onChange(event) {
|
|
8751
|
+
setvalidateemailpayload(_objectSpread$1R(_objectSpread$1R({}, validateemailpayload), {}, {
|
|
8752
|
+
code: event.target.value
|
|
8753
|
+
}));
|
|
8754
|
+
}
|
|
8755
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8756
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-3"
|
|
8757
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8758
|
+
className: "".concat(formstyles.signupbtn) + ' d-flex align-items-center justify-content-center ',
|
|
8759
|
+
disabled: GeneralAPIMutationContext.isLoading ? true : false,
|
|
8760
|
+
onClick: function onClick() {
|
|
8761
|
+
if (payloadobj.email.length != 0) {
|
|
8762
|
+
if (validateemailpayload.isvalidated == true) {
|
|
8763
|
+
setvalidateemailmodal(false);
|
|
8764
|
+
signupbuttonfunc();
|
|
8765
|
+
} else {
|
|
8766
|
+
GeneralAPIMutationContext.mutate({
|
|
8767
|
+
endpointurl: '/validateemail',
|
|
8768
|
+
functype: validateemailpayload.step,
|
|
8769
|
+
code: validateemailpayload.code,
|
|
8770
|
+
name: payloadobj.name,
|
|
8771
|
+
email: payloadobj.email,
|
|
8772
|
+
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
8773
|
+
if (data.data.status) {
|
|
8774
|
+
if (data.data.functype == 'sendcode') {
|
|
8775
|
+
setvalidateemailpayload(_objectSpread$1R(_objectSpread$1R({}, validateemailpayload), {}, {
|
|
8776
|
+
step: 'verifycode'
|
|
8777
|
+
}));
|
|
8778
|
+
}
|
|
8779
|
+
if (data.data.functype == 'verifycode') {
|
|
8780
|
+
setvalidateemailpayload(_objectSpread$1R(_objectSpread$1R({}, validateemailpayload), {}, {
|
|
8781
|
+
isvalidated: true
|
|
8782
|
+
}));
|
|
8783
|
+
setvalidateemailmodal(false);
|
|
8784
|
+
signupbuttonfunc();
|
|
8785
|
+
}
|
|
8786
|
+
} else {
|
|
8787
|
+
NotificationManager.warning('', data.data.reason);
|
|
8788
|
+
}
|
|
8789
|
+
}
|
|
8790
|
+
});
|
|
8791
|
+
}
|
|
8792
|
+
} else {
|
|
8793
|
+
NotificationManager.warning(lang.completerequiredfields);
|
|
8794
|
+
}
|
|
8795
|
+
}
|
|
8796
|
+
}, GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
8797
|
+
color: "#fff",
|
|
8798
|
+
width: "20px",
|
|
8799
|
+
height: "20px",
|
|
8800
|
+
duration: "1s"
|
|
8801
|
+
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8802
|
+
style: {
|
|
8803
|
+
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
8804
|
+
}
|
|
8805
|
+
}, validateemailpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
8652
8806
|
};
|
|
8653
8807
|
|
|
8654
8808
|
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; }
|
|
@@ -11577,7 +11731,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
11577
11731
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11578
11732
|
className: "row ml-0 mr-0 w-100 px-1025-1 pl-md-2 pr-md-2 pl-sm-2 pr-sm-2",
|
|
11579
11733
|
style: {
|
|
11580
|
-
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
11734
|
+
marginTop: sectionproperties.showbadge == 'Show' ? 0 : sectionproperties.sectionTitleMarginTop + 'px',
|
|
11581
11735
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
11582
11736
|
paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
|
|
11583
11737
|
paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
|
|
@@ -11586,17 +11740,35 @@ var CardsSection = function CardsSection(props) {
|
|
|
11586
11740
|
"class": sectionproperties.viewmorebtnshow == 'Show' ? sectionproperties.sectiontitleposition == 'Centered' ? ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 ' : ' col-lg-7 col-md-7 col-sm-9 d-flex align-items-center p-0 ' : sectionproperties.showFilter == 'show' ? ' col-lg-12 col-md-7 col-sm-9 d-flex align-items-center p-0 ' : ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '
|
|
11587
11741
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11588
11742
|
"class": "row m-0 w-100"
|
|
11589
|
-
}, sectionproperties.
|
|
11743
|
+
}, sectionproperties.showbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11744
|
+
"class": ' col-lg-12 p-0 d-flex align-items-center ',
|
|
11745
|
+
style: {
|
|
11746
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
11747
|
+
}
|
|
11748
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11749
|
+
"class": "m-0 p-0 allcentered",
|
|
11750
|
+
style: {
|
|
11751
|
+
fontSize: sectionproperties.badge_fontsize + 'px',
|
|
11752
|
+
background: sectionproperties.badge_bgcolor,
|
|
11753
|
+
minWidth: sectionproperties.badge_width + 'px',
|
|
11754
|
+
height: sectionproperties.badge_height + 'px',
|
|
11755
|
+
color: sectionproperties.badge_color,
|
|
11756
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
11757
|
+
border: sectionproperties.badgeborderwidth + 'px solid ' + sectionproperties.badgebordercolor
|
|
11758
|
+
}
|
|
11759
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11590
11760
|
"class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 p-0 d-flex d-md-none align-items-center ',
|
|
11591
11761
|
style: {
|
|
11592
11762
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
11593
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px'
|
|
11763
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
11764
|
+
marginTop: sectionproperties.showbadge == 'Show' ? sectionproperties.sectionTitleMarginTop + 'px' : 0
|
|
11594
11765
|
}
|
|
11595
11766
|
}, SectionTitle()), sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11596
11767
|
"class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 p-0 d-none d-md-flex align-items-center ',
|
|
11597
11768
|
style: {
|
|
11598
11769
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
11599
|
-
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
11770
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
11771
|
+
marginTop: sectionproperties.showbadge == 'Show' ? sectionproperties.sectionTitleMarginTop + 'px' : 0
|
|
11600
11772
|
}
|
|
11601
11773
|
}, SectionTitle()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11602
11774
|
"class": ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center d-md-none ',
|
|
@@ -20621,7 +20793,7 @@ styleInject(css_248z$s);
|
|
|
20621
20793
|
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; }
|
|
20622
20794
|
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; }
|
|
20623
20795
|
var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
20624
|
-
var _authdetailsContext$
|
|
20796
|
+
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i15, _authdetailsContext$i16, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
20625
20797
|
var _useState = React.useState(''),
|
|
20626
20798
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
20627
20799
|
sectionproperties = _useState2[0],
|
|
@@ -20928,35 +21100,46 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
20928
21100
|
"class": "col-lg-3 d-flex align-items-center p-0"
|
|
20929
21101
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20930
21102
|
"class": "row m-0 w-100"
|
|
20931
|
-
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21103
|
+
}, sectionproperties.fbbtn_show == 'Show' && (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", {
|
|
20932
21104
|
"class": header_cssstyles.fbbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
20933
21105
|
onClick: function onClick() {
|
|
20934
|
-
var _authdetailsContext$
|
|
20935
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
20936
|
-
var _authdetailsContext$
|
|
20937
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21106
|
+
var _authdetailsContext$i2;
|
|
21107
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
|
|
21108
|
+
var _authdetailsContext$i3;
|
|
21109
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
|
|
20938
21110
|
}
|
|
20939
21111
|
}
|
|
20940
21112
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
20941
21113
|
size: sectionproperties.facebkbtnniconfontsize
|
|
20942
|
-
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21114
|
+
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20943
21115
|
"class": header_cssstyles.whatsappbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
20944
21116
|
onClick: function onClick() {
|
|
20945
|
-
var _authdetailsContext$
|
|
20946
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
20947
|
-
var _authdetailsContext$
|
|
20948
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21117
|
+
var _authdetailsContext$i5;
|
|
21118
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.whatsappnumber) != null) {
|
|
21119
|
+
var _authdetailsContext$i6;
|
|
21120
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber), '_blank');
|
|
20949
21121
|
}
|
|
20950
21122
|
}
|
|
20951
21123
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
20952
21124
|
size: sectionproperties.youtubebtniconfontsize
|
|
20953
|
-
})), sectionproperties.
|
|
21125
|
+
})), sectionproperties.showtelegrambtn == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.telegramlink) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21126
|
+
"class": header_cssstyles.fbbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
21127
|
+
onClick: function onClick() {
|
|
21128
|
+
var _authdetailsContext$i8;
|
|
21129
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.telegramlink) != null) {
|
|
21130
|
+
var _authdetailsContext$i9;
|
|
21131
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.telegramlink, '_blank');
|
|
21132
|
+
}
|
|
21133
|
+
}
|
|
21134
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
|
|
21135
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
21136
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20954
21137
|
"class": header_cssstyles.instagrambtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
20955
21138
|
onClick: function onClick() {
|
|
20956
|
-
var _authdetailsContext$
|
|
20957
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
20958
|
-
var _authdetailsContext$
|
|
20959
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21139
|
+
var _authdetailsContext$i11;
|
|
21140
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instagramlink) != null) {
|
|
21141
|
+
var _authdetailsContext$i12;
|
|
21142
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instagramlink, '_blank');
|
|
20960
21143
|
}
|
|
20961
21144
|
}
|
|
20962
21145
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineInstagram.AiOutlineInstagram, {
|
|
@@ -20985,15 +21168,15 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
20985
21168
|
borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg
|
|
20986
21169
|
},
|
|
20987
21170
|
onClick: function onClick() {
|
|
20988
|
-
var _authdetailsContext$
|
|
20989
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21171
|
+
var _authdetailsContext$i13, _authdetailsContext$i14;
|
|
21172
|
+
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');
|
|
20990
21173
|
}
|
|
20991
21174
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMail.AiOutlineMail, {
|
|
20992
21175
|
"class": header_cssstyles.upperheadertext + ' ml-1 mr-1 storeinfotext ',
|
|
20993
21176
|
size: sectionproperties.footerinfotext_fontsize
|
|
20994
21177
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
20995
21178
|
"class": header_cssstyles.upperheadertext + ' storeinfotext '
|
|
20996
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21179
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : (_authdetailsContext$i16 = _authdetailsContext$i15.contactinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.email)), sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20997
21180
|
"class": "d-flex align-items-center justify-content-center pl-3 pr-3 h-100",
|
|
20998
21181
|
style: {
|
|
20999
21182
|
borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg
|
|
@@ -21138,7 +21321,10 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
21138
21321
|
marginLeft: langdetect == 'ar' ? '2rem' : 0
|
|
21139
21322
|
}
|
|
21140
21323
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21141
|
-
"class": ' d-flex justify-content-center align-items-center '
|
|
21324
|
+
"class": ' d-flex justify-content-center align-items-center ',
|
|
21325
|
+
onClick: function onClick() {
|
|
21326
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
21327
|
+
}
|
|
21142
21328
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
21143
21329
|
"class": "".concat(headerstyles$8.navbar_item_text, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center '
|
|
21144
21330
|
}, /*#__PURE__*/React__default["default"].createElement(FiUser.FiUser, {
|
|
@@ -21172,27 +21358,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
21172
21358
|
style: {
|
|
21173
21359
|
maxWidth: '60px'
|
|
21174
21360
|
}
|
|
21175
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))),
|
|
21176
|
-
onClick: function onClick() {
|
|
21177
|
-
routingcountext(StaticPagesLinksContext.Login);
|
|
21178
|
-
}
|
|
21179
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21180
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
21181
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21182
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
21183
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineLogin.AiOutlineLogin, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
21184
|
-
"class": "ml-2 mr-2"
|
|
21185
|
-
}, lang.login)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
21186
|
-
onClick: function onClick() {
|
|
21187
|
-
routingcountext(StaticPagesLinksContext.Signup);
|
|
21188
|
-
}
|
|
21189
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21190
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
21191
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21192
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
21193
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineUserAdd.AiOutlineUserAdd, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
21194
|
-
"class": "ml-2 mr-2 text-transform-none"
|
|
21195
|
-
}, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
21361
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
21196
21362
|
style: {
|
|
21197
21363
|
minWidth: '200px'
|
|
21198
21364
|
}
|
|
@@ -21763,6 +21929,9 @@ var Modernheader = function Modernheader(props) {
|
|
|
21763
21929
|
"class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
21764
21930
|
sytle: {
|
|
21765
21931
|
position: 'relative'
|
|
21932
|
+
},
|
|
21933
|
+
onClick: function onClick() {
|
|
21934
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
21766
21935
|
}
|
|
21767
21936
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
21768
21937
|
"class": ' h-100 d-flex align-items-center '
|
|
@@ -21797,29 +21966,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
21797
21966
|
style: {
|
|
21798
21967
|
maxWidth: '120px'
|
|
21799
21968
|
}
|
|
21800
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))),
|
|
21801
|
-
onClick: function onClick() {
|
|
21802
|
-
routingcountext(StaticPagesLinksContext.Login);
|
|
21803
|
-
}
|
|
21804
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21805
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
21806
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21807
|
-
"class": ' d-flex align-items-center m-0 p-0 '
|
|
21808
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineLogin.AiOutlineLogin, {
|
|
21809
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
21810
|
-
}), /*#__PURE__*/React__default["default"].createElement("span", null, lang.login)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
21811
|
-
onClick: function onClick() {
|
|
21812
|
-
routingcountext(StaticPagesLinksContext.Signup);
|
|
21813
|
-
}
|
|
21814
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21815
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
21816
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21817
|
-
"class": ' d-flex align-items-center m-0 p-0 '
|
|
21818
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineUserAdd.AiOutlineUserAdd, {
|
|
21819
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
21820
|
-
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
21821
|
-
"class": "text-transform-none"
|
|
21822
|
-
}, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
21969
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
21823
21970
|
style: {
|
|
21824
21971
|
minWidth: '200px'
|
|
21825
21972
|
}
|
|
@@ -29972,7 +30119,7 @@ var mastercard = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACAAAAATYAgMAAAD2
|
|
|
29972
30119
|
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; }
|
|
29973
30120
|
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; }
|
|
29974
30121
|
var Footer4 = function Footer4(props) {
|
|
29975
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
30122
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17;
|
|
29976
30123
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
29977
30124
|
var lang = props.actions.lang;
|
|
29978
30125
|
var langdetect = props.actions.langdetect;
|
|
@@ -30337,13 +30484,26 @@ var Footer4 = function Footer4(props) {
|
|
|
30337
30484
|
className: "h-100 allcentered"
|
|
30338
30485
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
30339
30486
|
size: sectionproperties.instgrambtniconfontsize
|
|
30340
|
-
}))), sectionproperties.
|
|
30341
|
-
className: langdetect == 'en' ? "".concat(footerStyles.
|
|
30487
|
+
}))), sectionproperties.showtelegrambtn == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.telegramlink) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30488
|
+
className: langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.facebook_btn) + ' allcentered ml-3 ml-sm-4 ',
|
|
30342
30489
|
onClick: function onClick() {
|
|
30343
30490
|
var _authdetailsContext$i15;
|
|
30344
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.
|
|
30491
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.telegramlink) != null) {
|
|
30345
30492
|
var _authdetailsContext$i16;
|
|
30346
|
-
window.open(
|
|
30493
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.telegramlink, '_blank');
|
|
30494
|
+
}
|
|
30495
|
+
}
|
|
30496
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
30497
|
+
className: "h-100 allcentered"
|
|
30498
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
|
|
30499
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
30500
|
+
}))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30501
|
+
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4 ',
|
|
30502
|
+
onClick: function onClick() {
|
|
30503
|
+
var _authdetailsContext$i18;
|
|
30504
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.whatsappnumber) != null) {
|
|
30505
|
+
var _authdetailsContext$i19;
|
|
30506
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.whatsappnumber), '_blank');
|
|
30347
30507
|
}
|
|
30348
30508
|
}
|
|
30349
30509
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -42249,7 +42409,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
42249
42409
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
42250
42410
|
}
|
|
42251
42411
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42252
|
-
"class": sectionproperties.width == '100' ? 'h-sm-auto' : 'h-sm-auto
|
|
42412
|
+
"class": sectionproperties.width == '100' ? 'h-sm-auto' : 'h-sm-auto w-sm-100',
|
|
42253
42413
|
style: {
|
|
42254
42414
|
position: 'relative',
|
|
42255
42415
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
@@ -42276,7 +42436,8 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
42276
42436
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
42277
42437
|
}
|
|
42278
42438
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42279
|
-
|
|
42439
|
+
// d-sm-none
|
|
42440
|
+
"class": 'p-0 align-items-center d-flex ',
|
|
42280
42441
|
key: index,
|
|
42281
42442
|
onClick: function onClick() {
|
|
42282
42443
|
if (item.IsClickableimg == 'Yes') {
|
|
@@ -42305,65 +42466,32 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
42305
42466
|
width: '100%',
|
|
42306
42467
|
height: '100%'
|
|
42307
42468
|
}
|
|
42308
|
-
}), SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42309
|
-
"class": 'p-0 align-items-center d-none d-sm-flex ',
|
|
42310
|
-
key: index,
|
|
42311
|
-
style: {
|
|
42312
|
-
width: '100%',
|
|
42313
|
-
height: '100%',
|
|
42314
|
-
direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
42315
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
42316
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
42317
|
-
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
42318
|
-
}
|
|
42319
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
42320
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
42321
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
42322
|
-
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_en : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_ar,
|
|
42323
|
-
style: {
|
|
42324
|
-
objectFit: 'contain',
|
|
42325
|
-
margin: 0,
|
|
42326
|
-
padding: 0,
|
|
42327
|
-
width: '100%',
|
|
42328
|
-
height: '100%'
|
|
42329
|
-
}
|
|
42330
42469
|
}), SlideShowTextContainer(item)));
|
|
42331
42470
|
}))))));
|
|
42332
42471
|
};
|
|
42333
|
-
return (
|
|
42334
|
-
|
|
42335
|
-
|
|
42336
|
-
|
|
42337
|
-
|
|
42338
|
-
|
|
42339
|
-
|
|
42340
|
-
|
|
42341
|
-
|
|
42342
|
-
|
|
42343
|
-
|
|
42344
|
-
|
|
42345
|
-
|
|
42346
|
-
|
|
42347
|
-
|
|
42348
|
-
|
|
42349
|
-
|
|
42350
|
-
|
|
42351
|
-
|
|
42352
|
-
|
|
42353
|
-
|
|
42354
|
-
|
|
42355
|
-
|
|
42356
|
-
}
|
|
42357
|
-
}, SlideshowContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42358
|
-
"class": "row m-0 w-100 d-none d-md-flex",
|
|
42359
|
-
style: {
|
|
42360
|
-
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
42361
|
-
},
|
|
42362
|
-
onMouseLeave: function onMouseLeave() {
|
|
42363
|
-
setChoosenindex('');
|
|
42364
|
-
}
|
|
42365
|
-
}, SlideshowContent())))
|
|
42366
|
-
);
|
|
42472
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42473
|
+
"class": sectionproperties.collectionssectionshow == 'Show' ? 'row ml-0 mr-0 w-100 d-flex justify-content-center px-1025-1 pl-md-2 pr-md-2' : sectionproperties.width == '100' ? 'row ml-0 mr-0 w-100 d-flex justify-content-center' : 'row ml-0 mr-0 w-100 d-flex justify-content-center px-1025-1 pl-md-2 pr-md-2',
|
|
42474
|
+
style: {
|
|
42475
|
+
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
42476
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
42477
|
+
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
42478
|
+
background: sectionproperties.backgroundColor
|
|
42479
|
+
},
|
|
42480
|
+
onMouseEnter: function onMouseEnter() {
|
|
42481
|
+
setChoosenindex('');
|
|
42482
|
+
}
|
|
42483
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42484
|
+
"class": "col-lg-12 p-0"
|
|
42485
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42486
|
+
// d-md-none
|
|
42487
|
+
"class": "row m-0 w-100 d-flex",
|
|
42488
|
+
style: {
|
|
42489
|
+
paddingTop: sectionproperties.marginTop + 'px'
|
|
42490
|
+
},
|
|
42491
|
+
onMouseLeave: function onMouseLeave() {
|
|
42492
|
+
setChoosenindex('');
|
|
42493
|
+
}
|
|
42494
|
+
}, SlideshowContent())));
|
|
42367
42495
|
};
|
|
42368
42496
|
|
|
42369
42497
|
function ownKeys$I(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; }
|
|
@@ -47533,8 +47661,6 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
47533
47661
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
47534
47662
|
color: sectionproperties.cartBtnTextcolor,
|
|
47535
47663
|
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
47536
|
-
// fontSize: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
47537
|
-
textTransform: sectionproperties.cartBtnTexttransform,
|
|
47538
47664
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
47539
47665
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
47540
47666
|
transition: '.3s',
|
|
@@ -47641,7 +47767,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
47641
47767
|
size: sectionproperties.cartBtn_iconFontSize
|
|
47642
47768
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
47643
47769
|
size: sectionproperties.cartBtn_iconFontSize
|
|
47644
|
-
})),
|
|
47770
|
+
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic);
|
|
47645
47771
|
}
|
|
47646
47772
|
}
|
|
47647
47773
|
if (!AddtoCartMutationContext.isLoading) {
|
|
@@ -47683,7 +47809,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
47683
47809
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47684
47810
|
"class": "".concat(cardsstyles$4.card_thumbnail)
|
|
47685
47811
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47686
|
-
"class": "".concat(cardsstyles$4.img_container, " ").concat(cardsstyles2.img_container) + ' w-100
|
|
47812
|
+
"class": "".concat(cardsstyles$4.img_container, " ").concat(cardsstyles2.img_container) + ' w-100 allcentered ',
|
|
47687
47813
|
onClick: function onClick() {
|
|
47688
47814
|
setShowProductInfoModalContext(true);
|
|
47689
47815
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -47692,19 +47818,19 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
47692
47818
|
cursor: 'pointer',
|
|
47693
47819
|
overflow: 'hidden'
|
|
47694
47820
|
}
|
|
47695
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
47821
|
+
}, item.image != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
47696
47822
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
47697
47823
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
47698
47824
|
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
47699
47825
|
style: {
|
|
47700
|
-
width: '
|
|
47701
|
-
|
|
47826
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
47827
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
47828
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
47702
47829
|
position: 'relative',
|
|
47703
47830
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
47704
47831
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
47705
47832
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
47706
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
47707
|
-
marginBottom: 'auto'
|
|
47833
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
47708
47834
|
},
|
|
47709
47835
|
loading: "lazy"
|
|
47710
47836
|
})), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -53658,6 +53784,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
53658
53784
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
53659
53785
|
height: sectionproperties.image_height + 'px',
|
|
53660
53786
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
53787
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
53661
53788
|
overflow: 'hidden',
|
|
53662
53789
|
position: 'relative',
|
|
53663
53790
|
':before': {
|