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.esm.js
CHANGED
|
@@ -108,6 +108,7 @@ import { MdKeyboardArrowUp } from '@react-icons/all-files/md/MdKeyboardArrowUp';
|
|
|
108
108
|
import { BsInfoCircle } from '@react-icons/all-files/bs/BsInfoCircle';
|
|
109
109
|
import { AiFillPhone } from '@react-icons/all-files/ai/AiFillPhone';
|
|
110
110
|
import { IoClose } from '@react-icons/all-files/io5/IoClose';
|
|
111
|
+
import { FaTelegramPlane } from '@react-icons/all-files/fa/FaTelegramPlane';
|
|
111
112
|
import { FaPhoneAlt } from '@react-icons/all-files/fa/FaPhoneAlt';
|
|
112
113
|
import { FaPhone } from '@react-icons/all-files/fa/FaPhone';
|
|
113
114
|
import { AiOutlinePhone } from '@react-icons/all-files/ai/AiOutlinePhone';
|
|
@@ -198,6 +199,9 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
198
199
|
_this.state = {
|
|
199
200
|
lang: {
|
|
200
201
|
en: (_en = {
|
|
202
|
+
sendcode: 'Send code',
|
|
203
|
+
verifycode: 'Verify Code',
|
|
204
|
+
writevalidemail: 'Please write a valid email',
|
|
201
205
|
loginregister: 'Login/Register',
|
|
202
206
|
pleaselogintocheckout: 'Please login in order to checkout',
|
|
203
207
|
reservationtime: 'Time',
|
|
@@ -268,6 +272,9 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
268
272
|
orsignupwith: 'Or Sign up with'
|
|
269
273
|
}, _defineProperty(_en, "price", 'Price'), _defineProperty(_en, "relatedproducts", 'Related products'), _defineProperty(_en, "qty", 'QTY'), _defineProperty(_en, "emptyshoppingcart", 'Your shopping cart is empty'), _defineProperty(_en, "shopnow", 'Shop now'), _defineProperty(_en, "total", 'Total'), _defineProperty(_en, "otherinformation", 'Other information'), _defineProperty(_en, "productname", 'Product name'), _defineProperty(_en, "quantity", 'Quantity'), _defineProperty(_en, "orderid", 'Order ID'), _defineProperty(_en, "numberofproducts", 'Number of products'), _defineProperty(_en, "checkyourorder", 'Check your order'), _defineProperty(_en, "search", 'Search'), _defineProperty(_en, "searchproducts", 'Search for products...'), _defineProperty(_en, "choosecity", 'Choose city'), _defineProperty(_en, "choosestategov", 'Choose state/governorate'), _defineProperty(_en, "choosecountry", 'Choose country'), _defineProperty(_en, "giftcarddicountcode", 'Gift Card Or Discount Code...'), _defineProperty(_en, "nosearchresults", 'No search results'), _defineProperty(_en, "sale", 'Sale'), _defineProperty(_en, "nofavoriteproducts", 'Your wishlist is empty'), _defineProperty(_en, "loggedoutsuccess", 'Logged out successfully'), _defineProperty(_en, "addedtocartsuccess", 'Cart is updated successfully'), _defineProperty(_en, "promocodeapplied", 'Promo code is applied.'), _defineProperty(_en, "promocoderemoved", 'Promo code is removed'), _defineProperty(_en, "countryandstateupdatedsuccess", 'Country and state are updated successfully'), _defineProperty(_en, "orderaddedsuccess", 'Order is added successfully'), _defineProperty(_en, "addedtowishlist", 'Added to your favourites'), _defineProperty(_en, "productrmovedfromwishlist", 'Removed from your favourites'), _defineProperty(_en, "fillthemissingfields", 'Please complete the missing fields'), _defineProperty(_en, "passwordsdontmatch", "Passwords don't match"), _defineProperty(_en, "loggedinsuccess", 'Logged in successfully'), _defineProperty(_en, "subtotal", 'Sub total'), _defineProperty(_en, "discount", 'Discount'), _defineProperty(_en, "outofzone", 'Out of zone'), _defineProperty(_en, "total", 'Total'), _defineProperty(_en, "cod", 'Cash on Delivery'), _defineProperty(_en, "cardondelivery", 'Credit Card On Delivery'), _defineProperty(_en, "onlinepayment", 'Online Payment'), _defineProperty(_en, "paymentcardinformation", 'Payment Card Information'), _defineProperty(_en, "shippingfees", 'Shipping fees'), _defineProperty(_en, "shippingaddress", 'Shipping address'), _defineProperty(_en, "cardnumber", 'Card number'), _defineProperty(_en, "year", 'Year'), _defineProperty(_en, "month", 'Month'), _defineProperty(_en, "cvv", 'CVV'), _defineProperty(_en, "nameoncard", 'Name On Card'), _defineProperty(_en, "country", 'Country'), _defineProperty(_en, "addressdetails", 'ِAddress details'), _defineProperty(_en, "stategov", 'State/Governorate'), _defineProperty(_en, "city", 'City'), _defineProperty(_en, "paymentmethod", 'Payment method'), _defineProperty(_en, "productimage", 'Product image'), _defineProperty(_en, "orderdetails", 'Order details'), _defineProperty(_en, "orderinvoice", 'Order invoice'), _defineProperty(_en, "promocodediscount", 'Promo code discount'), _defineProperty(_en, "address", 'Address'), _defineProperty(_en, "update", 'Update'), _defineProperty(_en, "phonenumber", 'Mobile number'), _defineProperty(_en, "completerequiredfields", 'Please complete all required fields'), _defineProperty(_en, "name", 'Name'), _defineProperty(_en, "email", 'Email'), _defineProperty(_en, "password", 'Password'), _defineProperty(_en, "confirmpassword", 'Confirm password'), _defineProperty(_en, "showmore", 'Show more'), _defineProperty(_en, "showless", 'Show less'), _defineProperty(_en, "contactdetails", 'Contact Information'), _defineProperty(_en, "asaguest", 'As a guest'), _defineProperty(_en, "choosecountryfirst", 'Please choose country first'), _defineProperty(_en, "security", 'Security'), _defineProperty(_en, "personalinformation", 'Personal Information'), _defineProperty(_en, "contactus", 'Contact us'), _defineProperty(_en, "slogan", 'Your website & mobile application in one place'), _defineProperty(_en, "recent", 'Recent'), _defineProperty(_en, "oldest", 'Oldest'), _defineProperty(_en, "pricehightolow", 'High to low'), _defineProperty(_en, "pricelowtohigh", 'Low to High'), _defineProperty(_en, "pleasecompleteaddressmissingfields", 'Please complete the missing address fields'), _en),
|
|
270
274
|
ar: (_ar = {
|
|
275
|
+
sendcode: 'إرسل الرمز',
|
|
276
|
+
verifycode: 'التحقق من كود',
|
|
277
|
+
writevalidemail: 'الرجاء كتابة بريد إلكتروني صالح',
|
|
271
278
|
pleasecompleteaddressmissingfields: 'من فضلك اكمل باقى بيانات العنوان',
|
|
272
279
|
loginregister: 'تسجيل الدخول/إنشاء حساب جديد',
|
|
273
280
|
pleaselogintocheckout: 'قم بتسجيل دخول لاستكمال طلبك',
|
|
@@ -680,7 +687,7 @@ var Login = function Login(props) {
|
|
|
680
687
|
position: 'relative',
|
|
681
688
|
display: 'flex',
|
|
682
689
|
alignItems: 'center'
|
|
683
|
-
}, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "height", '35px'), _defineProperty(_css, "padding", '0
|
|
690
|
+
}, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "height", '35px'), _defineProperty(_css, "padding", '0 10px'), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, "fontWeight", 500), _defineProperty(_css, "border", sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0), _defineProperty(_css, "borderBottom", sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor), _defineProperty(_css, "borderRadius", sectionproperties.inputfieldborderradius + 'px'), _defineProperty(_css, "height", sectionproperties.inputfieldheight + 'px'), _defineProperty(_css, "background", sectionproperties.input_bgcolor), _defineProperty(_css, "color", sectionproperties.inputfieldcolor), _defineProperty(_css, ':focus', {
|
|
684
691
|
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
685
692
|
}), _defineProperty(_css, ':focus .login_input_icon', {
|
|
686
693
|
color: sectionproperties.inputfeildbordercoloronfocus
|
|
@@ -7764,7 +7771,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7764
7771
|
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _fetchAuthorizationQu4, _fetchAuthorizationQu5, _fetchAuthorizationQu6, _css, _authdetailsContext$c, _authdetailsContext$c2;
|
|
7765
7772
|
var lang = props.actions.lang;
|
|
7766
7773
|
var langdetect = props.actions.langdetect;
|
|
7767
|
-
props.actions.routingcountext;
|
|
7774
|
+
var routingcountext = props.actions.routingcountext;
|
|
7768
7775
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
7769
7776
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
7770
7777
|
var fetchinstitutecustomerinfosignupQueryContext = props.actions.fetchinstitutecustomerinfosignupQueryContext;
|
|
@@ -7778,6 +7785,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7778
7785
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
7779
7786
|
var instapikey = props.actions.instapikey;
|
|
7780
7787
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
7788
|
+
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
7781
7789
|
props.actions.ikimagecredcontext;
|
|
7782
7790
|
var NotificationManager = props.actions.NotificationManager;
|
|
7783
7791
|
var actions = props.actions;
|
|
@@ -7786,9 +7794,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7786
7794
|
customeraddressrequierd = _useState2[0],
|
|
7787
7795
|
setcustomeraddressrequierd = _useState2[1];
|
|
7788
7796
|
var _useState3 = 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),
|
|
7789
|
-
_useState4 = _slicedToArray(_useState3, 2)
|
|
7790
|
-
_useState4[0]
|
|
7791
|
-
|
|
7797
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
7798
|
+
customervalidateemail = _useState4[0],
|
|
7799
|
+
setcustomervalidateemail = _useState4[1];
|
|
7792
7800
|
var _useState5 = useState(false),
|
|
7793
7801
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
7794
7802
|
validateemailmodal = _useState6[0],
|
|
@@ -7802,6 +7810,15 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7802
7810
|
dataloaded = _useState10[0],
|
|
7803
7811
|
setdataloaded = _useState10[1];
|
|
7804
7812
|
var _useState11 = useState({
|
|
7813
|
+
email: '',
|
|
7814
|
+
code: '',
|
|
7815
|
+
step: 'sendcode',
|
|
7816
|
+
isvalidated: false
|
|
7817
|
+
}),
|
|
7818
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
7819
|
+
validateemailpayload = _useState12[0],
|
|
7820
|
+
setvalidateemailpayload = _useState12[1];
|
|
7821
|
+
var _useState13 = useState({
|
|
7805
7822
|
instapikey: instapikey,
|
|
7806
7823
|
name: '',
|
|
7807
7824
|
email: '',
|
|
@@ -7816,9 +7833,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7816
7833
|
cityid: '',
|
|
7817
7834
|
countrydialcode: ''
|
|
7818
7835
|
}),
|
|
7819
|
-
|
|
7820
|
-
payloadobj =
|
|
7821
|
-
setpayloadobj =
|
|
7836
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
7837
|
+
payloadobj = _useState14[0],
|
|
7838
|
+
setpayloadobj = _useState14[1];
|
|
7822
7839
|
useEffect(function () {
|
|
7823
7840
|
if (fetchAuthorizationQueryContext.isSuccess) {
|
|
7824
7841
|
var _fetchAuthorizationQu7, _fetchAuthorizationQu8, _fetchAuthorizationQu9, _fetchAuthorizationQu10, _fetchAuthorizationQu11, _fetchAuthorizationQu12;
|
|
@@ -7868,6 +7885,82 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7868
7885
|
temppayloadobj[key] = value;
|
|
7869
7886
|
setpayloadobj(_objectSpread$1R({}, temppayloadobj));
|
|
7870
7887
|
};
|
|
7888
|
+
var validateEmailstring = function validateEmailstring(email) {
|
|
7889
|
+
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,}))$/);
|
|
7890
|
+
};
|
|
7891
|
+
var verifypayload = function verifypayload() {
|
|
7892
|
+
var iscompleted = false;
|
|
7893
|
+
var isshippingaddresscompleted = false;
|
|
7894
|
+
var passwordvalidation = false;
|
|
7895
|
+
if (authdetailsContext.loggedin == false) {
|
|
7896
|
+
if (payloadobj.password.length != 0) {
|
|
7897
|
+
if (payloadobj.password == payloadobj.password2) {
|
|
7898
|
+
passwordvalidation = true;
|
|
7899
|
+
}
|
|
7900
|
+
}
|
|
7901
|
+
} else if (authdetailsContext.loggedin == true) {
|
|
7902
|
+
if (payloadobj.password.length != 0) {
|
|
7903
|
+
if (payloadobj.password == payloadobj.password2) {
|
|
7904
|
+
passwordvalidation = true;
|
|
7905
|
+
}
|
|
7906
|
+
} else {
|
|
7907
|
+
passwordvalidation = true;
|
|
7908
|
+
}
|
|
7909
|
+
}
|
|
7910
|
+
if (passwordvalidation == false) {
|
|
7911
|
+
NotificationManager.warning('', lang.passwordsdontmatch);
|
|
7912
|
+
}
|
|
7913
|
+
if (customeraddressrequierd == 1) {
|
|
7914
|
+
if (payloadobj.countryid.length != 0 && payloadobj.stateid.length != 0 && payloadobj.cityid.length != 0 && payloadobj.shippingaddress.length != 0) {
|
|
7915
|
+
isshippingaddresscompleted = true;
|
|
7916
|
+
}
|
|
7917
|
+
} else {
|
|
7918
|
+
isshippingaddresscompleted = true;
|
|
7919
|
+
}
|
|
7920
|
+
if (validateEmailstring(payloadobj.email)) {
|
|
7921
|
+
if (payloadobj.email.length != 0 && payloadobj.name.length != 0 && payloadobj.mobile.length != 0 && passwordvalidation == true) {
|
|
7922
|
+
if (isshippingaddresscompleted) {
|
|
7923
|
+
var signupformismissing = true;
|
|
7924
|
+
payloadobj.instsignupformvalues.forEach(function (arrayItem) {
|
|
7925
|
+
if (arrayItem.optional == 1) {
|
|
7926
|
+
if (arrayItem.customersignupvalue == undefined || arrayItem.customersignupvalue.length == 0) {
|
|
7927
|
+
signupformismissing = false;
|
|
7928
|
+
}
|
|
7929
|
+
}
|
|
7930
|
+
});
|
|
7931
|
+
if (signupformismissing) {
|
|
7932
|
+
iscompleted = true;
|
|
7933
|
+
} else {
|
|
7934
|
+
iscompleted = false;
|
|
7935
|
+
NotificationManager.warning('', lang.completerequiredfields);
|
|
7936
|
+
}
|
|
7937
|
+
} else {
|
|
7938
|
+
iscompleted = false;
|
|
7939
|
+
NotificationManager.warning('', lang.pleasecompleteaddressmissingfields);
|
|
7940
|
+
}
|
|
7941
|
+
} else {
|
|
7942
|
+
iscompleted = false;
|
|
7943
|
+
NotificationManager.warning('', lang.fillthemissingfields);
|
|
7944
|
+
}
|
|
7945
|
+
} else {
|
|
7946
|
+
iscompleted = false;
|
|
7947
|
+
NotificationManager.warning('', lang.writevalidemail);
|
|
7948
|
+
}
|
|
7949
|
+
return iscompleted;
|
|
7950
|
+
};
|
|
7951
|
+
var signupbuttonfunc = function signupbuttonfunc() {
|
|
7952
|
+
if (verifypayload() == true) {
|
|
7953
|
+
var temppayloadobj = _objectSpread$1R({}, payloadobj);
|
|
7954
|
+
if (authdetailsContext.loggedin == true) {
|
|
7955
|
+
temppayloadobj.functype = 'edit';
|
|
7956
|
+
} else {
|
|
7957
|
+
temppayloadobj.functype = 'add';
|
|
7958
|
+
}
|
|
7959
|
+
temppayloadobj.addedsourcetype = 'Webapp';
|
|
7960
|
+
temppayloadobj.instapikey = instapikey;
|
|
7961
|
+
CustomerSignUpMutationContext.mutate(temppayloadobj);
|
|
7962
|
+
}
|
|
7963
|
+
};
|
|
7871
7964
|
var formstyles = {
|
|
7872
7965
|
loginbtn: css({
|
|
7873
7966
|
background: templatepropcontext.primarycolor,
|
|
@@ -7931,7 +8024,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7931
8024
|
position: 'relative',
|
|
7932
8025
|
display: 'flex',
|
|
7933
8026
|
alignItems: 'center'
|
|
7934
|
-
}, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "padding", '0
|
|
8027
|
+
}, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "padding", '0 10px'), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, "border", sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0), _defineProperty(_css, "borderBottom", sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor), _defineProperty(_css, "borderRadius", sectionproperties.inputfieldborderradius + 'px'), _defineProperty(_css, "height", sectionproperties.inputfieldheight + 'px'), _defineProperty(_css, "background", sectionproperties.input_bgcolor), _defineProperty(_css, "color", sectionproperties.inputfieldcolor), _defineProperty(_css, ':focus', {
|
|
7935
8028
|
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
7936
8029
|
}), _defineProperty(_css, ':focus .login_input_icon', {
|
|
7937
8030
|
color: sectionproperties.inputfeildbordercoloronfocus
|
|
@@ -7959,6 +8052,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7959
8052
|
}),
|
|
7960
8053
|
svgstyles: css({
|
|
7961
8054
|
stroke: 'var(--stroke, ' + sectionproperties.checkbox_checkedcolor + ')'
|
|
8055
|
+
}),
|
|
8056
|
+
terms: css({
|
|
8057
|
+
':hover': {
|
|
8058
|
+
transition: '.3s',
|
|
8059
|
+
color: sectionproperties.termsandconditionsecondarycolor
|
|
8060
|
+
}
|
|
7962
8061
|
})
|
|
7963
8062
|
};
|
|
7964
8063
|
var PersonalInformation = function PersonalInformation() {
|
|
@@ -7984,6 +8083,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7984
8083
|
type: "text",
|
|
7985
8084
|
textplaceholder: "",
|
|
7986
8085
|
value: payloadobj.email,
|
|
8086
|
+
disabled: validateemailpayload.isvalidated,
|
|
7987
8087
|
onChange: function onChange(event) {
|
|
7988
8088
|
payloadobjchange('email', event.target.value);
|
|
7989
8089
|
}
|
|
@@ -8477,67 +8577,32 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8477
8577
|
className: "mt-2 mb-3"
|
|
8478
8578
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
8479
8579
|
className: "row ml-0 mr-0"
|
|
8480
|
-
}, Otherinformation()))))), /*#__PURE__*/React.createElement("div", {
|
|
8580
|
+
}, Otherinformation()))))), sectionproperties.viewtermsandcondition == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
8581
|
+
"class": "col-lg-12 allcentered"
|
|
8582
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8583
|
+
"class": "m-0 p-0",
|
|
8584
|
+
style: {
|
|
8585
|
+
fontSize: sectionproperties.termsandconditionfontsize + 'px',
|
|
8586
|
+
color: sectionproperties.termsandconditioncolor,
|
|
8587
|
+
fontWeight: 600
|
|
8588
|
+
}
|
|
8589
|
+
}, langdetect == 'en' ? sectionproperties.termsandconditiontext_en : sectionproperties.termsandconditiontext_ar, ' ', /*#__PURE__*/React.createElement("span", {
|
|
8590
|
+
"class": formstyles.terms + ' cursor-pointer ',
|
|
8591
|
+
onClick: function onClick() {
|
|
8592
|
+
routingcountext(StaticPagesLinksContext.Policies);
|
|
8593
|
+
}
|
|
8594
|
+
}, "\u0627\u0644\u0634\u0631\u0648\u0637 \u0648 \u0627\u0644\u0627\u062D\u0643\u0627\u0645"))), /*#__PURE__*/React.createElement("div", {
|
|
8481
8595
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-3"
|
|
8482
8596
|
}, /*#__PURE__*/React.createElement("button", {
|
|
8483
8597
|
className: "".concat(formstyles.signupbtn) + ' d-flex align-items-center justify-content-center ',
|
|
8484
8598
|
disabled: CustomerSignUpMutationContext.isLoading ? true : false,
|
|
8485
8599
|
onClick: function onClick() {
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
if (payloadobj.password.length != 0) {
|
|
8490
|
-
if (payloadobj.password == payloadobj.password2) {
|
|
8491
|
-
passwordvalidation = true;
|
|
8492
|
-
}
|
|
8493
|
-
}
|
|
8494
|
-
} else if (authdetailsContext.loggedin == true) {
|
|
8495
|
-
if (payloadobj.password.length != 0) {
|
|
8496
|
-
if (payloadobj.password == payloadobj.password2) {
|
|
8497
|
-
passwordvalidation = true;
|
|
8498
|
-
}
|
|
8499
|
-
} else {
|
|
8500
|
-
passwordvalidation = true;
|
|
8501
|
-
}
|
|
8502
|
-
}
|
|
8503
|
-
if (passwordvalidation == false) {
|
|
8504
|
-
NotificationManager.warning('', lang.passwordsdontmatch);
|
|
8505
|
-
}
|
|
8506
|
-
if (customeraddressrequierd == 1) {
|
|
8507
|
-
if (payloadobj.countryid.length != 0 && payloadobj.stateid.length != 0 && payloadobj.cityid.length != 0 && payloadobj.shippingaddress.length != 0) {
|
|
8508
|
-
isshippingaddresscompleted = true;
|
|
8509
|
-
}
|
|
8510
|
-
} else {
|
|
8511
|
-
isshippingaddresscompleted = true;
|
|
8512
|
-
}
|
|
8513
|
-
if (payloadobj.email.length != 0 && payloadobj.name.length != 0 && payloadobj.mobile.length != 0 && passwordvalidation == true) {
|
|
8514
|
-
if (isshippingaddresscompleted) {
|
|
8515
|
-
var signupformismissing = true;
|
|
8516
|
-
payloadobj.instsignupformvalues.forEach(function (arrayItem) {
|
|
8517
|
-
if (arrayItem.optional == 1) {
|
|
8518
|
-
if (arrayItem.customersignupvalue == undefined || arrayItem.customersignupvalue.length == 0) {
|
|
8519
|
-
signupformismissing = false;
|
|
8520
|
-
}
|
|
8521
|
-
}
|
|
8522
|
-
});
|
|
8523
|
-
if (signupformismissing) {
|
|
8524
|
-
var temppayloadobj = _objectSpread$1R({}, payloadobj);
|
|
8525
|
-
if (authdetailsContext.loggedin == true) {
|
|
8526
|
-
temppayloadobj.functype = 'edit';
|
|
8527
|
-
} else {
|
|
8528
|
-
temppayloadobj.functype = 'add';
|
|
8529
|
-
}
|
|
8530
|
-
temppayloadobj.addedsourcetype = 'Webapp';
|
|
8531
|
-
temppayloadobj.instapikey = instapikey;
|
|
8532
|
-
CustomerSignUpMutationContext.mutate(temppayloadobj);
|
|
8533
|
-
} else {
|
|
8534
|
-
NotificationManager.warning('', lang.completerequiredfields);
|
|
8535
|
-
}
|
|
8600
|
+
if (verifypayload() == true) {
|
|
8601
|
+
if (customervalidateemail == 1) {
|
|
8602
|
+
setvalidateemailmodal(true);
|
|
8536
8603
|
} else {
|
|
8537
|
-
|
|
8604
|
+
signupbuttonfunc();
|
|
8538
8605
|
}
|
|
8539
|
-
} else {
|
|
8540
|
-
NotificationManager.warning('', lang.fillthemissingfields);
|
|
8541
8606
|
}
|
|
8542
8607
|
}
|
|
8543
8608
|
}, CustomerSignUpMutationContext.isLoading && /*#__PURE__*/React.createElement(CircularProgress, {
|
|
@@ -8584,7 +8649,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8584
8649
|
},
|
|
8585
8650
|
centered: true,
|
|
8586
8651
|
size: 'md'
|
|
8587
|
-
}, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement("div", {
|
|
8652
|
+
}, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement("div", {
|
|
8588
8653
|
"class": "d-flex align-items-center justify-content-center bgdanger-hover",
|
|
8589
8654
|
style: {
|
|
8590
8655
|
position: 'absolute',
|
|
@@ -8601,7 +8666,96 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8601
8666
|
}, /*#__PURE__*/React.createElement(IoMdClose, {
|
|
8602
8667
|
size: 15,
|
|
8603
8668
|
color: "white"
|
|
8604
|
-
}))
|
|
8669
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
8670
|
+
"class": "row m-0 w-100 allcentered"
|
|
8671
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8672
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center mt-2 justify-content-center"
|
|
8673
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8674
|
+
className: "text-md-center m-0 p-0 mb-2",
|
|
8675
|
+
style: {
|
|
8676
|
+
fontSize: '19px',
|
|
8677
|
+
color: sectionproperties.sectionTitleColor,
|
|
8678
|
+
fontWeight: 600
|
|
8679
|
+
}
|
|
8680
|
+
}, langdetect == 'en' ? 'Validate Email' : 'التحقق من صحة البريد الإلكتروني')), /*#__PURE__*/React.createElement("div", {
|
|
8681
|
+
"class": "col-lg-12 p-0"
|
|
8682
|
+
}, /*#__PURE__*/React.createElement("hr", {
|
|
8683
|
+
"class": 'm-0 p-0'
|
|
8684
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
8685
|
+
"class": "row w-100 m-0 mb-3 pl-2 pr-2 pt-3 pb-3 pl-sm-3 pr-sm-3"
|
|
8686
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8687
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
|
|
8688
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
8689
|
+
className: "".concat(formstyles.logininputLabel) + ' text-transform-none d-flex justify-content-start '
|
|
8690
|
+
}, langdetect == 'en' ? 'E-mail' : 'البريد الإلكترونى'), /*#__PURE__*/React.createElement("input", {
|
|
8691
|
+
type: "text",
|
|
8692
|
+
className: "".concat(formstyles.form_control),
|
|
8693
|
+
value: payloadobj.email,
|
|
8694
|
+
disabled: true
|
|
8695
|
+
})), validateemailpayload.step == 'verifycode' && /*#__PURE__*/React.createElement("div", {
|
|
8696
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
|
|
8697
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
8698
|
+
className: "".concat(formstyles.logininputLabel) + ' text-transform-none d-flex justify-content-start '
|
|
8699
|
+
}, langdetect == 'en' ? 'Code' : ' كود البريد الاكتروني'), /*#__PURE__*/React.createElement("input", {
|
|
8700
|
+
type: "text",
|
|
8701
|
+
className: "".concat(formstyles.form_control),
|
|
8702
|
+
value: validateemailpayload.code,
|
|
8703
|
+
onChange: function onChange(event) {
|
|
8704
|
+
setvalidateemailpayload(_objectSpread$1R(_objectSpread$1R({}, validateemailpayload), {}, {
|
|
8705
|
+
code: event.target.value
|
|
8706
|
+
}));
|
|
8707
|
+
}
|
|
8708
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
8709
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-3"
|
|
8710
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
8711
|
+
className: "".concat(formstyles.signupbtn) + ' d-flex align-items-center justify-content-center ',
|
|
8712
|
+
disabled: GeneralAPIMutationContext.isLoading ? true : false,
|
|
8713
|
+
onClick: function onClick() {
|
|
8714
|
+
if (payloadobj.email.length != 0) {
|
|
8715
|
+
if (validateemailpayload.isvalidated == true) {
|
|
8716
|
+
setvalidateemailmodal(false);
|
|
8717
|
+
signupbuttonfunc();
|
|
8718
|
+
} else {
|
|
8719
|
+
GeneralAPIMutationContext.mutate({
|
|
8720
|
+
endpointurl: '/validateemail',
|
|
8721
|
+
functype: validateemailpayload.step,
|
|
8722
|
+
code: validateemailpayload.code,
|
|
8723
|
+
name: payloadobj.name,
|
|
8724
|
+
email: payloadobj.email,
|
|
8725
|
+
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
8726
|
+
if (data.data.status) {
|
|
8727
|
+
if (data.data.functype == 'sendcode') {
|
|
8728
|
+
setvalidateemailpayload(_objectSpread$1R(_objectSpread$1R({}, validateemailpayload), {}, {
|
|
8729
|
+
step: 'verifycode'
|
|
8730
|
+
}));
|
|
8731
|
+
}
|
|
8732
|
+
if (data.data.functype == 'verifycode') {
|
|
8733
|
+
setvalidateemailpayload(_objectSpread$1R(_objectSpread$1R({}, validateemailpayload), {}, {
|
|
8734
|
+
isvalidated: true
|
|
8735
|
+
}));
|
|
8736
|
+
setvalidateemailmodal(false);
|
|
8737
|
+
signupbuttonfunc();
|
|
8738
|
+
}
|
|
8739
|
+
} else {
|
|
8740
|
+
NotificationManager.warning('', data.data.reason);
|
|
8741
|
+
}
|
|
8742
|
+
}
|
|
8743
|
+
});
|
|
8744
|
+
}
|
|
8745
|
+
} else {
|
|
8746
|
+
NotificationManager.warning(lang.completerequiredfields);
|
|
8747
|
+
}
|
|
8748
|
+
}
|
|
8749
|
+
}, GeneralAPIMutationContext.isLoading && /*#__PURE__*/React.createElement(CircularProgress, {
|
|
8750
|
+
color: "#fff",
|
|
8751
|
+
width: "20px",
|
|
8752
|
+
height: "20px",
|
|
8753
|
+
duration: "1s"
|
|
8754
|
+
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
8755
|
+
style: {
|
|
8756
|
+
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
8757
|
+
}
|
|
8758
|
+
}, validateemailpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React.createElement(Modal.Footer, null)));
|
|
8605
8759
|
};
|
|
8606
8760
|
|
|
8607
8761
|
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; }
|
|
@@ -11530,7 +11684,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
11530
11684
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11531
11685
|
className: "row ml-0 mr-0 w-100 px-1025-1 pl-md-2 pr-md-2 pl-sm-2 pr-sm-2",
|
|
11532
11686
|
style: {
|
|
11533
|
-
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
11687
|
+
marginTop: sectionproperties.showbadge == 'Show' ? 0 : sectionproperties.sectionTitleMarginTop + 'px',
|
|
11534
11688
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
11535
11689
|
paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
|
|
11536
11690
|
paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
|
|
@@ -11539,17 +11693,35 @@ var CardsSection = function CardsSection(props) {
|
|
|
11539
11693
|
"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 '
|
|
11540
11694
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11541
11695
|
"class": "row m-0 w-100"
|
|
11542
|
-
}, sectionproperties.
|
|
11696
|
+
}, sectionproperties.showbadge == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
11697
|
+
"class": ' col-lg-12 p-0 d-flex align-items-center ',
|
|
11698
|
+
style: {
|
|
11699
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
11700
|
+
}
|
|
11701
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
11702
|
+
"class": "m-0 p-0 allcentered",
|
|
11703
|
+
style: {
|
|
11704
|
+
fontSize: sectionproperties.badge_fontsize + 'px',
|
|
11705
|
+
background: sectionproperties.badge_bgcolor,
|
|
11706
|
+
minWidth: sectionproperties.badge_width + 'px',
|
|
11707
|
+
height: sectionproperties.badge_height + 'px',
|
|
11708
|
+
color: sectionproperties.badge_color,
|
|
11709
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
11710
|
+
border: sectionproperties.badgeborderwidth + 'px solid ' + sectionproperties.badgebordercolor
|
|
11711
|
+
}
|
|
11712
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
11543
11713
|
"class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 p-0 d-flex d-md-none align-items-center ',
|
|
11544
11714
|
style: {
|
|
11545
11715
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
11546
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px'
|
|
11716
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
11717
|
+
marginTop: sectionproperties.showbadge == 'Show' ? sectionproperties.sectionTitleMarginTop + 'px' : 0
|
|
11547
11718
|
}
|
|
11548
11719
|
}, SectionTitle()), sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
11549
11720
|
"class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 p-0 d-none d-md-flex align-items-center ',
|
|
11550
11721
|
style: {
|
|
11551
11722
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
11552
|
-
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
11723
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
11724
|
+
marginTop: sectionproperties.showbadge == 'Show' ? sectionproperties.sectionTitleMarginTop + 'px' : 0
|
|
11553
11725
|
}
|
|
11554
11726
|
}, SectionTitle()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
11555
11727
|
"class": ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center d-md-none ',
|
|
@@ -20574,7 +20746,7 @@ styleInject(css_248z$s);
|
|
|
20574
20746
|
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; }
|
|
20575
20747
|
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(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; }
|
|
20576
20748
|
var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
20577
|
-
var _authdetailsContext$
|
|
20749
|
+
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;
|
|
20578
20750
|
var _useState = useState(''),
|
|
20579
20751
|
_useState2 = _slicedToArray(_useState, 2),
|
|
20580
20752
|
sectionproperties = _useState2[0],
|
|
@@ -20881,35 +21053,46 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
20881
21053
|
"class": "col-lg-3 d-flex align-items-center p-0"
|
|
20882
21054
|
}, /*#__PURE__*/React.createElement("div", {
|
|
20883
21055
|
"class": "row m-0 w-100"
|
|
20884
|
-
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
21056
|
+
}, 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.createElement("div", {
|
|
20885
21057
|
"class": header_cssstyles.fbbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
20886
21058
|
onClick: function onClick() {
|
|
20887
|
-
var _authdetailsContext$
|
|
20888
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
20889
|
-
var _authdetailsContext$
|
|
20890
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21059
|
+
var _authdetailsContext$i2;
|
|
21060
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
|
|
21061
|
+
var _authdetailsContext$i3;
|
|
21062
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
|
|
20891
21063
|
}
|
|
20892
21064
|
}
|
|
20893
21065
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
20894
21066
|
size: sectionproperties.facebkbtnniconfontsize
|
|
20895
|
-
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
21067
|
+
})), 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.createElement("div", {
|
|
20896
21068
|
"class": header_cssstyles.whatsappbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
20897
21069
|
onClick: function onClick() {
|
|
20898
|
-
var _authdetailsContext$
|
|
20899
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
20900
|
-
var _authdetailsContext$
|
|
20901
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21070
|
+
var _authdetailsContext$i5;
|
|
21071
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.whatsappnumber) != null) {
|
|
21072
|
+
var _authdetailsContext$i6;
|
|
21073
|
+
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');
|
|
20902
21074
|
}
|
|
20903
21075
|
}
|
|
20904
21076
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
20905
21077
|
size: sectionproperties.youtubebtniconfontsize
|
|
20906
|
-
})), sectionproperties.
|
|
21078
|
+
})), 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.createElement("div", {
|
|
21079
|
+
"class": header_cssstyles.fbbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
21080
|
+
onClick: function onClick() {
|
|
21081
|
+
var _authdetailsContext$i8;
|
|
21082
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.telegramlink) != null) {
|
|
21083
|
+
var _authdetailsContext$i9;
|
|
21084
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.telegramlink, '_blank');
|
|
21085
|
+
}
|
|
21086
|
+
}
|
|
21087
|
+
}, /*#__PURE__*/React.createElement(FaTelegramPlane, {
|
|
21088
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
21089
|
+
})), 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.createElement("div", {
|
|
20907
21090
|
"class": header_cssstyles.instagrambtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
20908
21091
|
onClick: function onClick() {
|
|
20909
|
-
var _authdetailsContext$
|
|
20910
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
20911
|
-
var _authdetailsContext$
|
|
20912
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21092
|
+
var _authdetailsContext$i11;
|
|
21093
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instagramlink) != null) {
|
|
21094
|
+
var _authdetailsContext$i12;
|
|
21095
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instagramlink, '_blank');
|
|
20913
21096
|
}
|
|
20914
21097
|
}
|
|
20915
21098
|
}, /*#__PURE__*/React.createElement(AiOutlineInstagram, {
|
|
@@ -20938,15 +21121,15 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
20938
21121
|
borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg
|
|
20939
21122
|
},
|
|
20940
21123
|
onClick: function onClick() {
|
|
20941
|
-
var _authdetailsContext$
|
|
20942
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21124
|
+
var _authdetailsContext$i13, _authdetailsContext$i14;
|
|
21125
|
+
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');
|
|
20943
21126
|
}
|
|
20944
21127
|
}, /*#__PURE__*/React.createElement(AiOutlineMail, {
|
|
20945
21128
|
"class": header_cssstyles.upperheadertext + ' ml-1 mr-1 storeinfotext ',
|
|
20946
21129
|
size: sectionproperties.footerinfotext_fontsize
|
|
20947
21130
|
}), /*#__PURE__*/React.createElement("span", {
|
|
20948
21131
|
"class": header_cssstyles.upperheadertext + ' storeinfotext '
|
|
20949
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21132
|
+
}, 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.createElement("div", {
|
|
20950
21133
|
"class": "d-flex align-items-center justify-content-center pl-3 pr-3 h-100",
|
|
20951
21134
|
style: {
|
|
20952
21135
|
borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg
|
|
@@ -21091,7 +21274,10 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
21091
21274
|
marginLeft: langdetect == 'ar' ? '2rem' : 0
|
|
21092
21275
|
}
|
|
21093
21276
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
21094
|
-
"class": ' d-flex justify-content-center align-items-center '
|
|
21277
|
+
"class": ' d-flex justify-content-center align-items-center ',
|
|
21278
|
+
onClick: function onClick() {
|
|
21279
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
21280
|
+
}
|
|
21095
21281
|
}, /*#__PURE__*/React.createElement("span", {
|
|
21096
21282
|
"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 '
|
|
21097
21283
|
}, /*#__PURE__*/React.createElement(FiUser, {
|
|
@@ -21125,27 +21311,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
21125
21311
|
style: {
|
|
21126
21312
|
maxWidth: '60px'
|
|
21127
21313
|
}
|
|
21128
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))),
|
|
21129
|
-
onClick: function onClick() {
|
|
21130
|
-
routingcountext(StaticPagesLinksContext.Login);
|
|
21131
|
-
}
|
|
21132
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
21133
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
21134
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
21135
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
21136
|
-
}, /*#__PURE__*/React.createElement(AiOutlineLogin, null), /*#__PURE__*/React.createElement("span", {
|
|
21137
|
-
"class": "ml-2 mr-2"
|
|
21138
|
-
}, lang.login)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
21139
|
-
onClick: function onClick() {
|
|
21140
|
-
routingcountext(StaticPagesLinksContext.Signup);
|
|
21141
|
-
}
|
|
21142
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
21143
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
21144
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
21145
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
|
|
21146
|
-
}, /*#__PURE__*/React.createElement(AiOutlineUserAdd, null), /*#__PURE__*/React.createElement("span", {
|
|
21147
|
-
"class": "ml-2 mr-2 text-transform-none"
|
|
21148
|
-
}, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
|
|
21314
|
+
}, 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.createElement(Dropdown.Menu, {
|
|
21149
21315
|
style: {
|
|
21150
21316
|
minWidth: '200px'
|
|
21151
21317
|
}
|
|
@@ -21716,6 +21882,9 @@ var Modernheader = function Modernheader(props) {
|
|
|
21716
21882
|
"class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
21717
21883
|
sytle: {
|
|
21718
21884
|
position: 'relative'
|
|
21885
|
+
},
|
|
21886
|
+
onClick: function onClick() {
|
|
21887
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
21719
21888
|
}
|
|
21720
21889
|
}, /*#__PURE__*/React.createElement("i", {
|
|
21721
21890
|
"class": ' h-100 d-flex align-items-center '
|
|
@@ -21750,29 +21919,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
21750
21919
|
style: {
|
|
21751
21920
|
maxWidth: '120px'
|
|
21752
21921
|
}
|
|
21753
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))),
|
|
21754
|
-
onClick: function onClick() {
|
|
21755
|
-
routingcountext(StaticPagesLinksContext.Login);
|
|
21756
|
-
}
|
|
21757
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
21758
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
21759
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
21760
|
-
"class": ' d-flex align-items-center m-0 p-0 '
|
|
21761
|
-
}, /*#__PURE__*/React.createElement(AiOutlineLogin, {
|
|
21762
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
21763
|
-
}), /*#__PURE__*/React.createElement("span", null, lang.login)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
21764
|
-
onClick: function onClick() {
|
|
21765
|
-
routingcountext(StaticPagesLinksContext.Signup);
|
|
21766
|
-
}
|
|
21767
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
21768
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
21769
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
21770
|
-
"class": ' d-flex align-items-center m-0 p-0 '
|
|
21771
|
-
}, /*#__PURE__*/React.createElement(AiOutlineUserAdd, {
|
|
21772
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
21773
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
21774
|
-
"class": "text-transform-none"
|
|
21775
|
-
}, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
|
|
21922
|
+
}, 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.createElement(Dropdown.Menu, {
|
|
21776
21923
|
style: {
|
|
21777
21924
|
minWidth: '200px'
|
|
21778
21925
|
}
|
|
@@ -29925,7 +30072,7 @@ var mastercard = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACAAAAATYAgMAAAD2
|
|
|
29925
30072
|
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; }
|
|
29926
30073
|
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(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; }
|
|
29927
30074
|
var Footer4 = function Footer4(props) {
|
|
29928
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
30075
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17;
|
|
29929
30076
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
29930
30077
|
var lang = props.actions.lang;
|
|
29931
30078
|
var langdetect = props.actions.langdetect;
|
|
@@ -30290,13 +30437,26 @@ var Footer4 = function Footer4(props) {
|
|
|
30290
30437
|
className: "h-100 allcentered"
|
|
30291
30438
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
30292
30439
|
size: sectionproperties.instgrambtniconfontsize
|
|
30293
|
-
}))), sectionproperties.
|
|
30294
|
-
className: langdetect == 'en' ? "".concat(footerStyles.
|
|
30440
|
+
}))), 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.createElement("div", {
|
|
30441
|
+
className: langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.facebook_btn) + ' allcentered ml-3 ml-sm-4 ',
|
|
30295
30442
|
onClick: function onClick() {
|
|
30296
30443
|
var _authdetailsContext$i15;
|
|
30297
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.
|
|
30444
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.telegramlink) != null) {
|
|
30298
30445
|
var _authdetailsContext$i16;
|
|
30299
|
-
window.open(
|
|
30446
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.telegramlink, '_blank');
|
|
30447
|
+
}
|
|
30448
|
+
}
|
|
30449
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
30450
|
+
className: "h-100 allcentered"
|
|
30451
|
+
}, /*#__PURE__*/React.createElement(FaTelegramPlane, {
|
|
30452
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
30453
|
+
}))), 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.createElement("div", {
|
|
30454
|
+
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4 ',
|
|
30455
|
+
onClick: function onClick() {
|
|
30456
|
+
var _authdetailsContext$i18;
|
|
30457
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.whatsappnumber) != null) {
|
|
30458
|
+
var _authdetailsContext$i19;
|
|
30459
|
+
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');
|
|
30300
30460
|
}
|
|
30301
30461
|
}
|
|
30302
30462
|
}, /*#__PURE__*/React.createElement("i", {
|
|
@@ -42202,7 +42362,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
42202
42362
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
42203
42363
|
}
|
|
42204
42364
|
}, /*#__PURE__*/React.createElement("div", {
|
|
42205
|
-
"class": sectionproperties.width == '100' ? 'h-sm-auto' : 'h-sm-auto
|
|
42365
|
+
"class": sectionproperties.width == '100' ? 'h-sm-auto' : 'h-sm-auto w-sm-100',
|
|
42206
42366
|
style: {
|
|
42207
42367
|
position: 'relative',
|
|
42208
42368
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
@@ -42229,7 +42389,8 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
42229
42389
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
42230
42390
|
}
|
|
42231
42391
|
}, /*#__PURE__*/React.createElement("div", {
|
|
42232
|
-
|
|
42392
|
+
// d-sm-none
|
|
42393
|
+
"class": 'p-0 align-items-center d-flex ',
|
|
42233
42394
|
key: index,
|
|
42234
42395
|
onClick: function onClick() {
|
|
42235
42396
|
if (item.IsClickableimg == 'Yes') {
|
|
@@ -42258,65 +42419,32 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
42258
42419
|
width: '100%',
|
|
42259
42420
|
height: '100%'
|
|
42260
42421
|
}
|
|
42261
|
-
}), SlideShowTextContainer(item)), /*#__PURE__*/React.createElement("div", {
|
|
42262
|
-
"class": 'p-0 align-items-center d-none d-sm-flex ',
|
|
42263
|
-
key: index,
|
|
42264
|
-
style: {
|
|
42265
|
-
width: '100%',
|
|
42266
|
-
height: '100%',
|
|
42267
|
-
direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
42268
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
42269
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
42270
|
-
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
42271
|
-
}
|
|
42272
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
42273
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
42274
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
42275
|
-
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,
|
|
42276
|
-
style: {
|
|
42277
|
-
objectFit: 'contain',
|
|
42278
|
-
margin: 0,
|
|
42279
|
-
padding: 0,
|
|
42280
|
-
width: '100%',
|
|
42281
|
-
height: '100%'
|
|
42282
|
-
}
|
|
42283
42422
|
}), SlideShowTextContainer(item)));
|
|
42284
42423
|
}))))));
|
|
42285
42424
|
};
|
|
42286
|
-
return (
|
|
42287
|
-
|
|
42288
|
-
|
|
42289
|
-
|
|
42290
|
-
|
|
42291
|
-
|
|
42292
|
-
|
|
42293
|
-
|
|
42294
|
-
|
|
42295
|
-
|
|
42296
|
-
|
|
42297
|
-
|
|
42298
|
-
|
|
42299
|
-
|
|
42300
|
-
|
|
42301
|
-
|
|
42302
|
-
|
|
42303
|
-
|
|
42304
|
-
|
|
42305
|
-
|
|
42306
|
-
|
|
42307
|
-
|
|
42308
|
-
|
|
42309
|
-
}
|
|
42310
|
-
}, SlideshowContent()), /*#__PURE__*/React.createElement("div", {
|
|
42311
|
-
"class": "row m-0 w-100 d-none d-md-flex",
|
|
42312
|
-
style: {
|
|
42313
|
-
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
42314
|
-
},
|
|
42315
|
-
onMouseLeave: function onMouseLeave() {
|
|
42316
|
-
setChoosenindex('');
|
|
42317
|
-
}
|
|
42318
|
-
}, SlideshowContent())))
|
|
42319
|
-
);
|
|
42425
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
42426
|
+
"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',
|
|
42427
|
+
style: {
|
|
42428
|
+
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
42429
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
42430
|
+
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
42431
|
+
background: sectionproperties.backgroundColor
|
|
42432
|
+
},
|
|
42433
|
+
onMouseEnter: function onMouseEnter() {
|
|
42434
|
+
setChoosenindex('');
|
|
42435
|
+
}
|
|
42436
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
42437
|
+
"class": "col-lg-12 p-0"
|
|
42438
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
42439
|
+
// d-md-none
|
|
42440
|
+
"class": "row m-0 w-100 d-flex",
|
|
42441
|
+
style: {
|
|
42442
|
+
paddingTop: sectionproperties.marginTop + 'px'
|
|
42443
|
+
},
|
|
42444
|
+
onMouseLeave: function onMouseLeave() {
|
|
42445
|
+
setChoosenindex('');
|
|
42446
|
+
}
|
|
42447
|
+
}, SlideshowContent())));
|
|
42320
42448
|
};
|
|
42321
42449
|
|
|
42322
42450
|
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; }
|
|
@@ -47486,8 +47614,6 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
47486
47614
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
47487
47615
|
color: sectionproperties.cartBtnTextcolor,
|
|
47488
47616
|
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
47489
|
-
// fontSize: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
47490
|
-
textTransform: sectionproperties.cartBtnTexttransform,
|
|
47491
47617
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
47492
47618
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
47493
47619
|
transition: '.3s',
|
|
@@ -47594,7 +47720,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
47594
47720
|
size: sectionproperties.cartBtn_iconFontSize
|
|
47595
47721
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
47596
47722
|
size: sectionproperties.cartBtn_iconFontSize
|
|
47597
|
-
})),
|
|
47723
|
+
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic);
|
|
47598
47724
|
}
|
|
47599
47725
|
}
|
|
47600
47726
|
if (!AddtoCartMutationContext.isLoading) {
|
|
@@ -47636,7 +47762,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
47636
47762
|
}, /*#__PURE__*/React.createElement("div", {
|
|
47637
47763
|
"class": "".concat(cardsstyles$4.card_thumbnail)
|
|
47638
47764
|
}, /*#__PURE__*/React.createElement("div", {
|
|
47639
|
-
"class": "".concat(cardsstyles$4.img_container, " ").concat(cardsstyles2.img_container) + ' w-100
|
|
47765
|
+
"class": "".concat(cardsstyles$4.img_container, " ").concat(cardsstyles2.img_container) + ' w-100 allcentered ',
|
|
47640
47766
|
onClick: function onClick() {
|
|
47641
47767
|
setShowProductInfoModalContext(true);
|
|
47642
47768
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -47645,19 +47771,19 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
47645
47771
|
cursor: 'pointer',
|
|
47646
47772
|
overflow: 'hidden'
|
|
47647
47773
|
}
|
|
47648
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
47774
|
+
}, item.image != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
47649
47775
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
47650
47776
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
47651
47777
|
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
47652
47778
|
style: {
|
|
47653
|
-
width: '
|
|
47654
|
-
|
|
47779
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
47780
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
47781
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
47655
47782
|
position: 'relative',
|
|
47656
47783
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
47657
47784
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
47658
47785
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
47659
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
47660
|
-
marginBottom: 'auto'
|
|
47786
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
47661
47787
|
},
|
|
47662
47788
|
loading: "lazy"
|
|
47663
47789
|
})), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -53611,6 +53737,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
53611
53737
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
53612
53738
|
height: sectionproperties.image_height + 'px',
|
|
53613
53739
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
53740
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
53614
53741
|
overflow: 'hidden',
|
|
53615
53742
|
position: 'relative',
|
|
53616
53743
|
':before': {
|