tabexseriescomponents 0.0.345 → 0.0.347
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 +741 -504
- package/dist/index.esm.js +742 -505
- package/dist/index.umd.js +742 -505
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -29,7 +29,10 @@ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
|
|
|
29
29
|
import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
|
|
30
30
|
import { AiFillStar as AiFillStar$1 } from '@react-icons/all-files/ai/AiFillStar';
|
|
31
31
|
import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
|
|
32
|
-
import {
|
|
32
|
+
import { AiOutlineTwitter } from '@react-icons/all-files/ai/AiOutlineTwitter';
|
|
33
|
+
import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
|
|
34
|
+
import { FaLinkedinIn } from '@react-icons/all-files/fa/FaLinkedinIn';
|
|
35
|
+
import { FacebookShareButton, TwitterShareButton, WhatsappShareButton, LinkedinShareButton, FacebookIcon, TwitterIcon, WhatsappIcon, LinkedinIcon } from 'react-share';
|
|
33
36
|
import { FiMinus } from '@react-icons/all-files/fi/FiMinus';
|
|
34
37
|
import { FiPlus } from '@react-icons/all-files/fi/FiPlus';
|
|
35
38
|
import ReactStars from 'react-rating-stars-component';
|
|
@@ -63,8 +66,6 @@ import { GrMail } from '@react-icons/all-files/gr/GrMail';
|
|
|
63
66
|
import { FiCheckCircle } from '@react-icons/all-files/fi/FiCheckCircle';
|
|
64
67
|
import { BiPhone } from '@react-icons/all-files/bi/BiPhone';
|
|
65
68
|
import PhoneInput from 'react-phone-input-2';
|
|
66
|
-
import '@react-icons/all-files/ai/AiOutlineEye';
|
|
67
|
-
import '@react-icons/all-files/ai/AiOutlineEyeInvisible';
|
|
68
69
|
import { BsChevronLeft } from '@react-icons/all-files/bs/BsChevronLeft';
|
|
69
70
|
import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
|
|
70
71
|
import '@react-icons/all-files/ri/RiArrowUpSLine';
|
|
@@ -90,7 +91,6 @@ import { HiOutlineArrowLeft } from '@react-icons/all-files/hi/HiOutlineArrowLeft
|
|
|
90
91
|
import ReactPaginate from 'react-paginate';
|
|
91
92
|
import { FaFacebook } from '@react-icons/all-files/fa/FaFacebook';
|
|
92
93
|
import { AiFillInstagram } from '@react-icons/all-files/ai/AiFillInstagram';
|
|
93
|
-
import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
|
|
94
94
|
import { BiGlobe } from '@react-icons/all-files/bi/BiGlobe';
|
|
95
95
|
import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
|
|
96
96
|
import { FaMoneyBillWave } from '@react-icons/all-files/fa/FaMoneyBillWave';
|
|
@@ -291,7 +291,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
291
291
|
loginwithfacebook: 'Sign in with facebook',
|
|
292
292
|
orsigninwith: 'Or Sign in with',
|
|
293
293
|
orsignupwith: 'Or Sign up with'
|
|
294
|
-
}, _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),
|
|
294
|
+
}, _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'), _defineProperty(_en, "instock", 'In Stock'), _en),
|
|
295
295
|
ar: (_ar = {
|
|
296
296
|
maximum: 'اقصى كمية',
|
|
297
297
|
minimum: 'اقل كمية',
|
|
@@ -371,7 +371,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
371
371
|
loginwithfacebook: 'تسجيل الدخول عن طريق فيسبوك',
|
|
372
372
|
orsigninwith: 'او تسجيل الدخول عن طريق',
|
|
373
373
|
orsignupwith: 'او انشاء حساب عن طريق'
|
|
374
|
-
}, _defineProperty(_ar, "price", 'السعر'), _defineProperty(_ar, "relatedproducts", 'منتجات ذات صلة'), _defineProperty(_ar, "qty", 'الكمية'), _defineProperty(_ar, "emptyshoppingcart", 'حقيبة التسوق فارغة'), _defineProperty(_ar, "shopnow", 'تسوق الان'), _defineProperty(_ar, "total", 'الإجمالى'), _defineProperty(_ar, "otherinformation", 'معلومات اخرى'), _defineProperty(_ar, "productname", 'إسم المنتج'), _defineProperty(_ar, "quantity", 'الكمية'), _defineProperty(_ar, "orderid", 'رقم الطلب'), _defineProperty(_ar, "numberofproducts", 'عدد المنتجات'), _defineProperty(_ar, "checkyourorder", 'الذهاب إلى طلبك'), _defineProperty(_ar, "search", 'ابحث'), _defineProperty(_ar, "searchproducts", 'ابحث...'), _defineProperty(_ar, "choosecity", 'إختر المدينة'), _defineProperty(_ar, "choosestategov", 'إختر المحافظة/الولاية'), _defineProperty(_ar, "choosecountry", 'إختر البلد'), _defineProperty(_ar, "giftcarddicountcode", 'كود خصم'), _defineProperty(_ar, "nosearchresults", 'لا توجد نتائج'), _defineProperty(_ar, "sale", 'خصم'), _defineProperty(_ar, "nofavoriteproducts", 'لا توجد منتجات مفضلة'), _defineProperty(_ar, "loggedoutsuccess", 'تم تسجيل الخروج'), _defineProperty(_ar, "addedtocartsuccess", 'تم تعديل عربة التسوق'), _defineProperty(_ar, "promocodeapplied", 'تم تطبيق كود الخصم'), _defineProperty(_ar, "promocoderemoved", 'تم حذف كود الخصم'), _defineProperty(_ar, "countryandstateupdatedsuccess", 'تم تحديث البلد و المدينة'), _defineProperty(_ar, "orderaddedsuccess", 'تم إضافة الطلب'), _defineProperty(_ar, "addedtowishlist", 'تم الإضافة لمفضلاتك'), _defineProperty(_ar, "productrmovedfromwishlist", 'تم الحذف من مفضلاتك'), _defineProperty(_ar, "fillthemissingfields", 'من فضلك اكمل باقى البيانات'), _defineProperty(_ar, "passwordsdontmatch", 'كلمات السر لا تتطابق'), _defineProperty(_ar, "loggedinsuccess", 'تم تسجيل الدخول'), _defineProperty(_ar, "subtotal", 'إجمالي المبلغ'), _defineProperty(_ar, "discount", 'الخصم'), _defineProperty(_ar, "outofzone", 'خارج نطاق الشحن'), _defineProperty(_ar, "total", 'المبلغ الكلي'), _defineProperty(_ar, "cod", 'الدفع عند الإستلام'), _defineProperty(_ar, "cardondelivery", 'الدفع بالطاقة الائتمانية عند الإستلام'), _defineProperty(_ar, "onlinepayment", 'الدفع الإلكترونى'), _defineProperty(_ar, "paymentcardinformation", 'بيانات البطاقة'), _defineProperty(_ar, "shippingfees", 'مصاريف الشحن'), _defineProperty(_ar, "shippingaddress", 'عنوان الشحن'), _defineProperty(_ar, "cardnumber", 'رقم البطاقة'), _defineProperty(_ar, "year", 'السنة'), _defineProperty(_ar, "month", 'الشهر'), _defineProperty(_ar, "cvv", 'رقم البطاقة'), _defineProperty(_ar, "nameoncard", 'الإسم على البطاقة'), _defineProperty(_ar, "country", 'البلد'), _defineProperty(_ar, "addressdetails", 'العنوان'), _defineProperty(_ar, "stategov", 'المحافظة/الولاية'), _defineProperty(_ar, "city", 'المدينة'), _defineProperty(_ar, "paymentmethod", 'طريقة الدفع'), _defineProperty(_ar, "productimage", 'صورة المنتج'), _defineProperty(_ar, "orderdetails", 'تفاصيل الطلب'), _defineProperty(_ar, "orderinvoice", 'فاتورة الطلب'), _defineProperty(_ar, "promocodediscount", 'كود الخصم'), _defineProperty(_ar, "address", 'العنوان'), _defineProperty(_ar, "update", 'تحديث'), _defineProperty(_ar, "phonenumber", 'الهاتف'), _defineProperty(_ar, "completerequiredfields", 'من فضلك اكمل البيانات الإجبارية'), _defineProperty(_ar, "name", 'الإسم'), _defineProperty(_ar, "email", 'البريد الإلكترونى'), _defineProperty(_ar, "password", 'كلمة السر'), _defineProperty(_ar, "confirmpassword", 'تأكيد كلمة السر'), _defineProperty(_ar, "showless", 'اعرض اقل'), _defineProperty(_ar, "showmore", 'اعرض المزيد'), _defineProperty(_ar, "contactdetails", 'معلومات التواصل'), _defineProperty(_ar, "asaguest", 'كزائر'), _defineProperty(_ar, "choosecountryfirst", 'من فضلك اختر البلد اولاً'), _defineProperty(_ar, "security", 'الخصوصية و الأمان'), _defineProperty(_ar, "personalinformation", 'البيانات الشخصية'), _defineProperty(_ar, "contactus", 'تواصل معنا'), _defineProperty(_ar, "slogan", 'موقعك و تطبيقك فى مكان واحد'), _ar)
|
|
374
|
+
}, _defineProperty(_ar, "price", 'السعر'), _defineProperty(_ar, "relatedproducts", 'منتجات ذات صلة'), _defineProperty(_ar, "qty", 'الكمية'), _defineProperty(_ar, "emptyshoppingcart", 'حقيبة التسوق فارغة'), _defineProperty(_ar, "shopnow", 'تسوق الان'), _defineProperty(_ar, "total", 'الإجمالى'), _defineProperty(_ar, "otherinformation", 'معلومات اخرى'), _defineProperty(_ar, "productname", 'إسم المنتج'), _defineProperty(_ar, "quantity", 'الكمية'), _defineProperty(_ar, "orderid", 'رقم الطلب'), _defineProperty(_ar, "numberofproducts", 'عدد المنتجات'), _defineProperty(_ar, "checkyourorder", 'الذهاب إلى طلبك'), _defineProperty(_ar, "search", 'ابحث'), _defineProperty(_ar, "searchproducts", 'ابحث...'), _defineProperty(_ar, "choosecity", 'إختر المدينة'), _defineProperty(_ar, "choosestategov", 'إختر المحافظة/الولاية'), _defineProperty(_ar, "choosecountry", 'إختر البلد'), _defineProperty(_ar, "giftcarddicountcode", 'كود خصم'), _defineProperty(_ar, "nosearchresults", 'لا توجد نتائج'), _defineProperty(_ar, "sale", 'خصم'), _defineProperty(_ar, "nofavoriteproducts", 'لا توجد منتجات مفضلة'), _defineProperty(_ar, "loggedoutsuccess", 'تم تسجيل الخروج'), _defineProperty(_ar, "addedtocartsuccess", 'تم تعديل عربة التسوق'), _defineProperty(_ar, "promocodeapplied", 'تم تطبيق كود الخصم'), _defineProperty(_ar, "promocoderemoved", 'تم حذف كود الخصم'), _defineProperty(_ar, "countryandstateupdatedsuccess", 'تم تحديث البلد و المدينة'), _defineProperty(_ar, "orderaddedsuccess", 'تم إضافة الطلب'), _defineProperty(_ar, "addedtowishlist", 'تم الإضافة لمفضلاتك'), _defineProperty(_ar, "productrmovedfromwishlist", 'تم الحذف من مفضلاتك'), _defineProperty(_ar, "fillthemissingfields", 'من فضلك اكمل باقى البيانات'), _defineProperty(_ar, "passwordsdontmatch", 'كلمات السر لا تتطابق'), _defineProperty(_ar, "loggedinsuccess", 'تم تسجيل الدخول'), _defineProperty(_ar, "subtotal", 'إجمالي المبلغ'), _defineProperty(_ar, "discount", 'الخصم'), _defineProperty(_ar, "outofzone", 'خارج نطاق الشحن'), _defineProperty(_ar, "total", 'المبلغ الكلي'), _defineProperty(_ar, "cod", 'الدفع عند الإستلام'), _defineProperty(_ar, "cardondelivery", 'الدفع بالطاقة الائتمانية عند الإستلام'), _defineProperty(_ar, "onlinepayment", 'الدفع الإلكترونى'), _defineProperty(_ar, "paymentcardinformation", 'بيانات البطاقة'), _defineProperty(_ar, "shippingfees", 'مصاريف الشحن'), _defineProperty(_ar, "shippingaddress", 'عنوان الشحن'), _defineProperty(_ar, "cardnumber", 'رقم البطاقة'), _defineProperty(_ar, "year", 'السنة'), _defineProperty(_ar, "month", 'الشهر'), _defineProperty(_ar, "cvv", 'رقم البطاقة'), _defineProperty(_ar, "nameoncard", 'الإسم على البطاقة'), _defineProperty(_ar, "country", 'البلد'), _defineProperty(_ar, "addressdetails", 'العنوان'), _defineProperty(_ar, "stategov", 'المحافظة/الولاية'), _defineProperty(_ar, "city", 'المدينة'), _defineProperty(_ar, "paymentmethod", 'طريقة الدفع'), _defineProperty(_ar, "productimage", 'صورة المنتج'), _defineProperty(_ar, "orderdetails", 'تفاصيل الطلب'), _defineProperty(_ar, "orderinvoice", 'فاتورة الطلب'), _defineProperty(_ar, "promocodediscount", 'كود الخصم'), _defineProperty(_ar, "address", 'العنوان'), _defineProperty(_ar, "update", 'تحديث'), _defineProperty(_ar, "phonenumber", 'الهاتف'), _defineProperty(_ar, "completerequiredfields", 'من فضلك اكمل البيانات الإجبارية'), _defineProperty(_ar, "name", 'الإسم'), _defineProperty(_ar, "email", 'البريد الإلكترونى'), _defineProperty(_ar, "password", 'كلمة السر'), _defineProperty(_ar, "confirmpassword", 'تأكيد كلمة السر'), _defineProperty(_ar, "showless", 'اعرض اقل'), _defineProperty(_ar, "showmore", 'اعرض المزيد'), _defineProperty(_ar, "contactdetails", 'معلومات التواصل'), _defineProperty(_ar, "asaguest", 'كزائر'), _defineProperty(_ar, "choosecountryfirst", 'من فضلك اختر البلد اولاً'), _defineProperty(_ar, "security", 'الخصوصية و الأمان'), _defineProperty(_ar, "personalinformation", 'البيانات الشخصية'), _defineProperty(_ar, "contactus", 'تواصل معنا'), _defineProperty(_ar, "slogan", 'موقعك و تطبيقك فى مكان واحد'), _defineProperty(_ar, "instock", 'متوفر'), _ar)
|
|
375
375
|
},
|
|
376
376
|
langdetect: 'en',
|
|
377
377
|
setlang: _this.setlang,
|
|
@@ -897,7 +897,7 @@ var Login = function Login(props) {
|
|
|
897
897
|
letterSpacing: langdetect == 'en' ? '1px' : '',
|
|
898
898
|
textTransform: sectionproperties.login_btn_texttransform
|
|
899
899
|
}
|
|
900
|
-
},
|
|
900
|
+
}, langdetect == 'en' ? sectionproperties.loginbtncontent_en : sectionproperties.loginbtncontent_ar)), SocialLoginMutationContext.isLoading && /*#__PURE__*/React.createElement(CircularProgress, {
|
|
901
901
|
color: "#fff",
|
|
902
902
|
width: "20px",
|
|
903
903
|
height: "20px",
|
|
@@ -1144,12 +1144,77 @@ styleInject(css_248z$L);
|
|
|
1144
1144
|
var css_248z$K = ".image-gallery_image-gallery-icon__WE2UX {\n\tcolor: #fff;\n\ttransition: all .3s ease-out;\n\tappearance: none;\n\tbackground-color: transparent;\n\tborder: 0;\n\tcursor: pointer;\n\toutline: none;\n\tposition: absolute;\n\tz-index: 4;\n display: none !important;\n\t/* filter: drop-shadow(0 2px 2px #1a1a1a); */\n}\n\n@media(hover: hover)and (pointer: fine) {\n\t.image-gallery_image-gallery-icon__WE2UX:hover {\n\t\tcolor: var(--secondary)\n\t}\n\n\t.image-gallery_image-gallery-icon__WE2UX:hover .image-gallery_image-gallery-svg__XloJd {\n\t\ttransform: scale(1.1)\n\t}\n}\n\n.image-gallery_image-gallery-icon__WE2UX:focus {\n\toutline: 2px solid #000\n}\n\n.image-gallery_image-gallery-using-mouse__lBKAU .image-gallery_image-gallery-icon__WE2UX:focus {\n\toutline: none\n}\n\n.image-gallery_image-gallery-fullscreen-button__xyF3z,\n.image-gallery_image-gallery-play-button__2AS3J {\n\tbottom: 0;\n\tpadding: 20px\n}\n\n.image-gallery_image-gallery-fullscreen-button__xyF3z .image-gallery_image-gallery-svg__XloJd,\n.image-gallery_image-gallery-play-button__2AS3J .image-gallery_image-gallery-svg__XloJd {\n\theight: 28px;\n\twidth: 28px\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-fullscreen-button__xyF3z,\n\t.image-gallery_image-gallery-play-button__2AS3J {\n\t\tpadding: 15px\n\t}\n\n\t.image-gallery_image-gallery-fullscreen-button__xyF3z .image-gallery_image-gallery-svg__XloJd,\n\t.image-gallery_image-gallery-play-button__2AS3J .image-gallery_image-gallery-svg__XloJd {\n\t\theight: 24px;\n\t\twidth: 24px\n\t}\n}\n\n@media(max-width: 480px) {\n\n\t.image-gallery_image-gallery-fullscreen-button__xyF3z,\n\t.image-gallery_image-gallery-play-button__2AS3J {\n\t\tpadding: 10px\n\t}\n\n\t.image-gallery_image-gallery-fullscreen-button__xyF3z .image-gallery_image-gallery-svg__XloJd,\n\t.image-gallery_image-gallery-play-button__2AS3J .image-gallery_image-gallery-svg__XloJd {\n\t\theight: 16px;\n\t\twidth: 16px\n\t}\n}\n\n.image-gallery_image-gallery-fullscreen-button__xyF3z {\n\tright: 0\n}\n\n.image-gallery_image-gallery-play-button__2AS3J {\n\tleft: 0\n}\n\n.image-gallery_image-gallery-left-nav__BmHmk,\n.image-gallery_image-gallery-right-nav__53hut {\n\tpadding: 50px 10px;\n\ttop: 50%;\n\ttransform: translateY(-50%)\n}\n\n.image-gallery_image-gallery-left-nav__BmHmk .image-gallery_image-gallery-svg__XloJd,\n.image-gallery_image-gallery-right-nav__53hut .image-gallery_image-gallery-svg__XloJd {\n\theight: 120px;\n\twidth: 60px\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-left-nav__BmHmk .image-gallery_image-gallery-svg__XloJd,\n\t.image-gallery_image-gallery-right-nav__53hut .image-gallery_image-gallery-svg__XloJd {\n\t\theight: 72px;\n\t\twidth: 36px\n\t}\n}\n\n@media(max-width: 480px) {\n\n\t.image-gallery_image-gallery-left-nav__BmHmk .image-gallery_image-gallery-svg__XloJd,\n\t.image-gallery_image-gallery-right-nav__53hut .image-gallery_image-gallery-svg__XloJd {\n\t\theight: 48px;\n\t\twidth: 24px\n\t}\n}\n\n.image-gallery_image-gallery-left-nav__BmHmk[disabled],\n.image-gallery_image-gallery-right-nav__53hut[disabled] {\n\tcursor: disabled;\n\topacity: .6;\n\tpointer-events: none\n}\n\n.image-gallery_image-gallery-left-nav__BmHmk {\n\tleft: 0\n}\n\n.image-gallery_image-gallery-right-nav__53hut {\n\tright: 0\n}\n\n.image-gallery_image-gallery__FfPQj {\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\t-ms-user-select: none;\n\t-o-user-select: none;\n\tuser-select: none;\n\t-webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\tposition: relative\n}\n\n.image-gallery_image-gallery__FfPQj.image-gallery_fullscreen-modal__KM6Xw {\n\tbackground: #000;\n\tbottom: 0;\n\theight: 100%;\n\tleft: 0;\n\tposition: fixed;\n\tright: 0;\n\ttop: 0;\n\twidth: 100%;\n\tz-index: 5\n}\n\n.image-gallery_image-gallery__FfPQj.image-gallery_fullscreen-modal__KM6Xw .image-gallery_image-gallery-content__kMTBU {\n\ttop: 50%;\n\ttransform: translateY(-50%)\n}\n\n.image-gallery_image-gallery-content__kMTBU {\n\tposition: relative;\n\tline-height: 0;\n\ttop: 0\n}\n\n.image-gallery_image-gallery-content__kMTBU.image-gallery_fullscreen__VMCyX {\n\tbackground: #000\n}\n\n.image-gallery_image-gallery-content__kMTBU .image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-image__pCNKh {\n\tmax-height: 50vh !important;\n}\n\n.image-gallery_image-gallery-content__kMTBU.image-gallery_left__K0NWU .image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-image__pCNKh,\n.image-gallery_image-gallery-content__kMTBU.image-gallery_right__PlchD .image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-image__pCNKh {\n\tmax-height: 100vh\n}\n\n.image-gallery_image-gallery-slide-wrapper__gdmSf {\n\tposition: relative\n}\n\n.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_left__K0NWU,\n.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_right__PlchD {\n\tdisplay: inline-block;\n\twidth: calc(100% - 110px)\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_left__K0NWU,\n\t.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_right__PlchD {\n\t\twidth: calc(100% - 87px)\n\t}\n}\n\n.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_image-gallery-rtl__jhrNg {\n\tdirection: rtl\n}\n\n.image-gallery_image-gallery-slides__cWfmF {\n\tline-height: 0;\n\toverflow: hidden;\n\tposition: relative;\n\twhite-space: nowrap;\n\ttext-align: center\n}\n\n.image-gallery_image-gallery-slide__2BfHc {\n\tleft: 0;\n\tposition: absolute;\n\ttop: 0;\n\twidth: 100%\n}\n\n.image-gallery_image-gallery-slide__2BfHc.image-gallery_center__1gH-w {\n\tposition: relative\n}\n\n.image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-image__pCNKh {\n\twidth: 100%;\n\tobject-fit: contain\n}\n\n.image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-description__l1rZM {\n\tbackground: rgba(0, 0, 0, .4);\n\tbottom: 70px;\n\tcolor: #fff;\n\tleft: 0;\n\tline-height: 1;\n\tpadding: 10px 20px;\n\tposition: absolute;\n\twhite-space: normal\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-description__l1rZM {\n\t\tbottom: 45px;\n\t\tfont-size: .8em;\n\t\tpadding: 8px 15px\n\t}\n}\n\n.image-gallery_image-gallery-bullets__CEQBy {\n\tbottom: 20px;\n\tleft: 0;\n\tmargin: 0 auto;\n\tposition: absolute;\n\tright: 0;\n\twidth: 80%;\n\tz-index: 4\n}\n\n.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullets-container__BXDlg {\n\tmargin: 0;\n\tpadding: 0;\n\ttext-align: center\n}\n\n.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG {\n\tappearance: none;\n\tbackground-color: transparent;\n\tborder: 1px solid #fff;\n\tborder-radius: 50%;\n\tbox-shadow: 0 2px 2px #1a1a1a;\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tmargin: 0 5px;\n\toutline: none;\n\tpadding: 5px;\n\ttransition: all .2s ease-out\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG {\n\t\tmargin: 0 3px;\n\t\tpadding: 3px\n\t}\n}\n\n@media(max-width: 480px) {\n\t.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG {\n\t\tpadding: 2.7px\n\t}\n}\n\n.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG:focus {\n\ttransform: scale(1.2);\n\tbackground: #000;\n\tborder: 1px solid #000\n}\n\n.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG.image-gallery_active__B2qrR {\n\ttransform: scale(1.2);\n\tborder: 1px solid #fff;\n\tbackground: #fff\n}\n\n@media(hover: hover)and (pointer: fine) {\n\t.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG:hover {\n\t\tbackground: #000;\n\t\tborder: 1px solid #000\n\t}\n\n\t.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG.image-gallery_active__B2qrR:hover {\n\t\tbackground: #000\n\t}\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv- {\n\tposition: relative\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_thumbnails-swipe-horizontal__5-5qp {\n\ttouch-action: pan-y\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_thumbnails-swipe-vertical__-NAhb {\n\ttouch-action: pan-x\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_thumbnails-wrapper-rtl__Ya5gz {\n\tdirection: rtl\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD {\n\tdisplay: inline-block;\n\tvertical-align: top;\n\twidth: 100px;\n\theight: 100px !important;\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU,\n\t.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD {\n\t\twidth: 81px\n\t}\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU .image-gallery_image-gallery-thumbnails__1BFBn,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD .image-gallery_image-gallery-thumbnails__1BFBn {\n\theight: 100%;\n\twidth: 100%;\n\tleft: 0;\n\tpadding: 0;\n\tposition: absolute;\n\ttop: 0\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU .image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnail__EKbDF,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD .image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnail__EKbDF {\n\tdisplay: block;\n\tmargin-right: 0;\n\tpadding: 0\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU .image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnail__EKbDF+.image-gallery_image-gallery-thumbnail__EKbDF,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD .image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnail__EKbDF+.image-gallery_image-gallery-thumbnail__EKbDF {\n\tmargin-left: 0;\n\tmargin-top: 2px\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD {\n\tmargin: 0 5px\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU,\n\t.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD {\n\t\tmargin: 0 3px\n\t}\n}\n\n.image-gallery_image-gallery-thumbnails__1BFBn {\n\toverflow: hidden;\n\tpadding: 5px 0\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-thumbnails__1BFBn {\n\t\tpadding: 3px 0\n\t}\n}\n\n.image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnails-container__Z3mr8 {\n\tcursor: pointer;\n\ttext-align: center;\n\twhite-space: nowrap\n}\n\n.image-gallery_image-gallery-thumbnail__EKbDF {\n\tdisplay: inline-block;\n\tborder: 2px solid transparent;\n\ttransition: border .3s ease-out;\n\twidth: 10vh;\n\tbackground: transparent;\n\tpadding: 0\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-thumbnail__EKbDF {\n\t\tborder: 3px solid transparent;\n\t\twidth: 81px\n\t}\n}\n\n.image-gallery_image-gallery-thumbnail__EKbDF+.image-gallery_image-gallery-thumbnail__EKbDF {\n\tmargin-left: 2px\n}\n\n.image-gallery_image-gallery-thumbnail__EKbDF .image-gallery_image-gallery-thumbnail-inner__4F4ry {\n\tdisplay: block;\n\tposition: relative\n}\n.image-gallery_image-gallery-thumbnail__EKbDF{\n\twidth: 10vh;\n\theight: 7vh;\n\toverflow: hidden;\n}\n.image-gallery_image-gallery-thumbnail__EKbDF .image-gallery_image-gallery-thumbnail-image__Oi9qX {\n\twidth: 100%;\n height:100%;\n\tline-height: 0;\n object-fit: contain;\n}\n\n.image-gallery_image-gallery-thumbnail__EKbDF.image-gallery_active__B2qrR,\n.image-gallery_image-gallery-thumbnail__EKbDF:focus {\n\toutline: none;\n\tborder: 2px solid var(--light);\n}\n@media(hover: hover)and (pointer: fine) {\n\t.image-gallery_image-gallery-thumbnail__EKbDF:hover {\n\t\toutline: none;\n\t\tborder: 2px solid var(--light)\n\t}\n}\n\n@media(hover: hover)and (pointer: fine)and (max-width: 768px) {\n\t.image-gallery_image-gallery-thumbnail__EKbDF:hover {\n\t\tborder: 2px solid var(--primary)\n\t}\n}\n\n.image-gallery_image-gallery-thumbnail-label__4Xph8 {\n\tbox-sizing: border-box;\n\tcolor: #fff;\n\tfont-size: 1em;\n\tleft: 0;\n\tline-height: 1em;\n\tpadding: 5%;\n\tposition: absolute;\n\ttop: 50%;\n\ttext-shadow: 0 2px 2px #1a1a1a;\n\ttransform: translateY(-50%);\n\twhite-space: normal;\n\twidth: 100%\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-thumbnail-label__4Xph8 {\n\t\tfont-size: .8em;\n\t\tline-height: .8em\n\t}\n}\n\n.image-gallery_image-gallery-index__DbRoC {\n\tbackground: rgba(0, 0, 0, .4);\n\tcolor: #fff;\n\tline-height: 1;\n\tpadding: 10px 20px;\n\tposition: absolute;\n\tright: 0;\n\ttop: 0;\n\tz-index: 4\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-index__DbRoC {\n\t\tfont-size: .8em;\n\t\tpadding: 5px 10px\n\t}\n}";
|
|
1145
1145
|
styleInject(css_248z$K);
|
|
1146
1146
|
|
|
1147
|
-
var css_248z$J = "@media screen and (max-width: 800px) {\n .signup-module_rightContainer__yEcoL,\n .signup-module_rightContainerTrans__fkdBH {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 15px !important;\n border-bottom-left-radius: 15px !important;\n }\n .signup-module_rightContainerText__-pvN- {\n font-size: 23px !important;\n }\n}\n.signup-module_form_control__7s76W:focus {\n -webkit-animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n}\n.signup-module_form_control__7s76W:focus + .signup-module_login_input_icon__RDTS0 {\n padding-left: 20px;\n}\n/* Forms */\n.signup-module_form_control__7s76W {\n display: block;\n width: 100%;\n /* height: 35px; */\n /* font-size: 1rem; */\n /* color: var(--cardtitle); */\n /* background: no-repeat center bottom, center calc(100% - 1px); */\n /* background-size: 0 100%, 100% 100%; */\n background-clip: padding-box;\n /* font-size: 14px; */\n /* transition: background 0s ease-out; */\n /* border: 0; */\n padding: 0 15px;\n font-weight: 500;\n display: flex;\n align-items: center;\n position: relative;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .signup-module_form_control__7s76W {\n transition: none;\n }\n}\n.signup-module_form_control__7s76W::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.signup-module_form_control__7s76W:focus {\n outline: 0;\n}\n.signup-module_form_control__7s76W::placeholder {\n opacity: 1;\n}\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.signup-module_form_control__7s76W {\n height: auto;\n}\n.signup-module_form_control__7s76W:focus {\n /* background-size: 100% 100%, 100% 100%; */\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.signup-module_form_control__7s76W::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W {\n /* background-image: linear-gradient(to top, #000 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px); */\n}\n.signup-module_form_control_border_none__HjUMS {\n background-image: none;\n}\n.signup-module_form_control__7s76W.signup-module_disabled__h55ao,\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[disabled] {\n /* background-image: linear-gradient(to right, #d2d2d2 0%, #d2d2d2 30%, transparent 30%, transparent 100%); */\n /* background-repeat: repeat-x;\n background-size: 3px 1px; */\n cursor: not-allowed;\n}\n@media screen and (max-width: 500px) {\n .signup-module_form_control__7s76W {\n /* padding: 0 5px !important; */\n }\n .signup-module_login_input_icon__RDTS0 {\n padding-left: 0 !important;\n }\n .signup-module_rightContainer__yEcoL {\n border-radius: 15px 15px 0 0 !important;\n }\n .signup-module_leftcontainer__bqfnN {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.signup-module_form_controltextarea__-LGz6{\n min-height:
|
|
1147
|
+
var css_248z$J = "@media screen and (max-width: 800px) {\n .signup-module_rightContainer__yEcoL,\n .signup-module_rightContainerTrans__fkdBH {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 15px !important;\n border-bottom-left-radius: 15px !important;\n }\n .signup-module_rightContainerText__-pvN- {\n font-size: 23px !important;\n }\n}\n.signup-module_form_control__7s76W:focus {\n -webkit-animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n}\n.signup-module_form_control__7s76W:focus + .signup-module_login_input_icon__RDTS0 {\n padding-left: 20px;\n}\n/* Forms */\n.signup-module_form_control__7s76W {\n display: block;\n width: 100%;\n /* height: 35px; */\n /* font-size: 1rem; */\n /* color: var(--cardtitle); */\n /* background: no-repeat center bottom, center calc(100% - 1px); */\n /* background-size: 0 100%, 100% 100%; */\n background-clip: padding-box;\n /* font-size: 14px; */\n /* transition: background 0s ease-out; */\n /* border: 0; */\n padding: 0 15px;\n font-weight: 500;\n display: flex;\n align-items: center;\n position: relative;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .signup-module_form_control__7s76W {\n transition: none;\n }\n}\n.signup-module_form_control__7s76W::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.signup-module_form_control__7s76W:focus {\n outline: 0;\n}\n.signup-module_form_control__7s76W::placeholder {\n opacity: 1;\n}\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.signup-module_form_control__7s76W {\n height: auto;\n}\n.signup-module_form_control__7s76W:focus {\n /* background-size: 100% 100%, 100% 100%; */\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.signup-module_form_control__7s76W::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W {\n /* background-image: linear-gradient(to top, #000 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px); */\n}\n.signup-module_form_control_border_none__HjUMS {\n background-image: none;\n}\n.signup-module_form_control__7s76W.signup-module_disabled__h55ao,\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[disabled] {\n /* background-image: linear-gradient(to right, #d2d2d2 0%, #d2d2d2 30%, transparent 30%, transparent 100%); */\n /* background-repeat: repeat-x;\n background-size: 3px 1px; */\n cursor: not-allowed;\n}\n@media screen and (max-width: 500px) {\n .signup-module_form_control__7s76W {\n /* padding: 0 5px !important; */\n }\n .signup-module_login_input_icon__RDTS0 {\n padding-left: 0 !important;\n }\n .signup-module_rightContainer__yEcoL {\n border-radius: 15px 15px 0 0 !important;\n }\n .signup-module_leftcontainer__bqfnN {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.signup-module_form_controltextarea__-LGz6{\n min-height: 40px !important;\n}\n.signup-module_checkbox__8ejBx {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.signup-module_checkbox_label__d84Q2 {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.signup-module_checkbox__8ejBx:hover {\n /* color: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input,\n.signup-module_checkbox__8ejBx svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.signup-module_checkbox_sub__WQLUX input {\n width: 15px;\n height: 15px;\n}\n.signup-module_checkbox__8ejBx input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.signup-module_checkbox__8ejBx input:disabled {\n cursor: not-allowed;\n}\n.signup-module_checkbox__8ejBx input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input:checked {\n /* --b: var(--secondary); */\n}\n.signup-module_checkbox__8ejBx svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkbox_sub__WQLUX svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkboxtranslated__4xHR- svg {\n right: 0;\n}\n.signup-module_checkbox__8ejBx input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.signup-module_checkbox__8ejBx input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.signup-module_checkbox__8ejBx svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n\n.signup-module_showpassword_input_icon__cVHRS {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 15px;\n right: 25px;\n padding-left: 15px;\n\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n cursor: pointer !important;\n z-index: 10000000000000000000000 !important;\n}\n.signup-module_showpassword_input_icontrans__vmV5q {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 15px;\n left: 25px;\n\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n cursor: pointer !important;\n z-index: 10000000000000000000000 !important;\n}";
|
|
1148
1148
|
var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-","showpassword_input_icon":"signup-module_showpassword_input_icon__cVHRS","showpassword_input_icontrans":"signup-module_showpassword_input_icontrans__vmV5q"};
|
|
1149
1149
|
styleInject(css_248z$J);
|
|
1150
1150
|
|
|
1151
1151
|
function ownKeys$2p(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1152
1152
|
function _objectSpread$2p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2p(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1153
|
+
var selectcustomStyles = {
|
|
1154
|
+
option: function option(provided, state) {
|
|
1155
|
+
return _objectSpread$2p(_objectSpread$2p({}, provided), {}, {
|
|
1156
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1157
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1158
|
+
padding: 5,
|
|
1159
|
+
textTransform: 'capitalize',
|
|
1160
|
+
color: state.isSelected ? '#eac435' : '#022648',
|
|
1161
|
+
transition: '.3s',
|
|
1162
|
+
'&:hover': {
|
|
1163
|
+
color: '#eac435',
|
|
1164
|
+
cursor: 'pointer'
|
|
1165
|
+
}
|
|
1166
|
+
});
|
|
1167
|
+
},
|
|
1168
|
+
control: function control() {
|
|
1169
|
+
return {
|
|
1170
|
+
border: '1px solid #e6e6e6',
|
|
1171
|
+
// boxShadow: '0 0 10px #e6e6e6',
|
|
1172
|
+
borderRadius: '5px',
|
|
1173
|
+
display: 'flex',
|
|
1174
|
+
cursor: 'pointer',
|
|
1175
|
+
transition: '.3s',
|
|
1176
|
+
'&:hover': {
|
|
1177
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1178
|
+
}
|
|
1179
|
+
};
|
|
1180
|
+
}
|
|
1181
|
+
};
|
|
1182
|
+
var selectcustomStylesTranslated = {
|
|
1183
|
+
option: function option(provided, state) {
|
|
1184
|
+
return _objectSpread$2p(_objectSpread$2p({}, provided), {}, {
|
|
1185
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1186
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1187
|
+
padding: 5,
|
|
1188
|
+
textTransform: 'capitalize',
|
|
1189
|
+
color: state.isSelected ? '#eac435' : '#022648',
|
|
1190
|
+
transition: '.3s',
|
|
1191
|
+
textAlign: 'right',
|
|
1192
|
+
'&:hover': {
|
|
1193
|
+
color: '#eac435',
|
|
1194
|
+
cursor: 'pointer'
|
|
1195
|
+
}
|
|
1196
|
+
});
|
|
1197
|
+
},
|
|
1198
|
+
control: function control() {
|
|
1199
|
+
return {
|
|
1200
|
+
border: '2px solid #e6e6e6',
|
|
1201
|
+
boxShadow: '0 0 10px #e6e6e6',
|
|
1202
|
+
borderRadius: '10px',
|
|
1203
|
+
display: 'flex',
|
|
1204
|
+
cursor: 'pointer',
|
|
1205
|
+
transition: '.3s',
|
|
1206
|
+
textAlign: 'right',
|
|
1207
|
+
'&:hover': {
|
|
1208
|
+
boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)'
|
|
1209
|
+
}
|
|
1210
|
+
};
|
|
1211
|
+
},
|
|
1212
|
+
placeholder: function placeholder(provided, state) {
|
|
1213
|
+
return _objectSpread$2p(_objectSpread$2p({}, provided), {}, {
|
|
1214
|
+
textAlign: 'right'
|
|
1215
|
+
});
|
|
1216
|
+
}
|
|
1217
|
+
};
|
|
1153
1218
|
var defaultstyles = {
|
|
1154
1219
|
option: function option(provided, state) {
|
|
1155
1220
|
return _objectSpread$2p(_objectSpread$2p({}, provided), {}, {
|
|
@@ -2065,15 +2130,12 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2065
2130
|
function ownKeys$2n(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2066
2131
|
function _objectSpread$2n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2067
2132
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2068
|
-
var
|
|
2133
|
+
var _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _ProductInfoObj$data, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35;
|
|
2069
2134
|
var lang = props.actions.lang;
|
|
2070
2135
|
var langdetect = props.actions.langdetect;
|
|
2071
2136
|
var srcfromprops = props.actions.srcfromprops;
|
|
2072
|
-
props.actions.returnpolicyobj;
|
|
2073
2137
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
2074
2138
|
var addtocartfunc = props.actions.addtocartfunc;
|
|
2075
|
-
props.actions.selectproductoptionvalue;
|
|
2076
|
-
props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
2077
2139
|
var productimagesarray = props.actions.productimagesarray;
|
|
2078
2140
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
2079
2141
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -2186,11 +2248,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2186
2248
|
}, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar);
|
|
2187
2249
|
};
|
|
2188
2250
|
var SKUSection = function SKUSection() {
|
|
2189
|
-
var _fetchProductInfoQuer;
|
|
2251
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2;
|
|
2190
2252
|
return /*#__PURE__*/React.createElement("div", {
|
|
2191
|
-
"class":
|
|
2253
|
+
"class": sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' ? 'row m-0 w-100 mt-3' : 'row m-0 w-100'
|
|
2192
2254
|
}, sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
|
|
2193
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2255
|
+
"class": sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' ? 'col-lg-12 p-0 mb-1 d-flex justify-content-start' : sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2194
2256
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2195
2257
|
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2196
2258
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -2208,7 +2270,26 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2208
2270
|
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2209
2271
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2210
2272
|
}
|
|
2211
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.sku))))
|
|
2273
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
2274
|
+
"class": 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2275
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
2276
|
+
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2277
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2278
|
+
style: {
|
|
2279
|
+
fontSize: sectionproperties.availability_fontsize + 'px',
|
|
2280
|
+
color: sectionproperties.availability_textcolor,
|
|
2281
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2282
|
+
fontWeight: sectionproperties.skuFontWeight
|
|
2283
|
+
}
|
|
2284
|
+
}, lang.availability, ":"), /*#__PURE__*/React.createElement("span", {
|
|
2285
|
+
"class": "ml-1 mr-1",
|
|
2286
|
+
style: {
|
|
2287
|
+
color: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? sectionproperties.availability_availabletextcolor : sectionproperties.availability_limitedtextcolor,
|
|
2288
|
+
fontSize: sectionproperties.availability_fontsize + 'px',
|
|
2289
|
+
fontWeight: sectionproperties.skuSecondaryFontWeight,
|
|
2290
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2291
|
+
}
|
|
2292
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.instock : lang.limitedquantity))));
|
|
2212
2293
|
};
|
|
2213
2294
|
var ShareButtonsContainer = function ShareButtonsContainer() {
|
|
2214
2295
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -2216,56 +2297,72 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2216
2297
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2217
2298
|
"class": "col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"
|
|
2218
2299
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2219
|
-
"class": "m-0 p-0",
|
|
2300
|
+
"class": "m-0 p-0 w-100",
|
|
2220
2301
|
style: {
|
|
2221
2302
|
fontWeight: sectionproperties.sharebtn_FontWeight,
|
|
2222
2303
|
color: sectionproperties.sharebtn_color,
|
|
2223
|
-
fontSize: sectionproperties.sharebtn_fontSize + 'px'
|
|
2304
|
+
fontSize: sectionproperties.sharebtn_fontSize + 'px',
|
|
2305
|
+
textAlign: sectionproperties.sharecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
2224
2306
|
}
|
|
2225
2307
|
}, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React.createElement("div", {
|
|
2226
|
-
className: "Demo__container w-100 m-0
|
|
2308
|
+
className: "Demo__container w-100 m-0 d-flex align-items-center mt-3",
|
|
2309
|
+
style: {
|
|
2310
|
+
justifyContent: srcfromprops != 'templatedraftrouter' ? 'start' : sectionproperties.sharecentered == 'Centered' ? 'center' : 'start'
|
|
2311
|
+
}
|
|
2227
2312
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2228
|
-
className: "Demo__some-network ml-2 mr-2"
|
|
2313
|
+
className: "Demo__some-network ml-2 mr-2 allcentered"
|
|
2229
2314
|
}, /*#__PURE__*/React.createElement(FacebookShareButton, {
|
|
2230
2315
|
url: shareUrl,
|
|
2231
2316
|
quote: title,
|
|
2232
|
-
className: "Demo__some-network__share-button"
|
|
2233
|
-
}, /*#__PURE__*/React.createElement(
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
}
|
|
2237
|
-
|
|
2317
|
+
className: "Demo__some-network__share-button allcentered"
|
|
2318
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2319
|
+
"class": productinfo_cssstyles.shareicon + ' allcentered ',
|
|
2320
|
+
style: {}
|
|
2321
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
2322
|
+
"class": "h-100 allcentered"
|
|
2323
|
+
}, /*#__PURE__*/React.createElement(FaFacebookF, null))))), /*#__PURE__*/React.createElement("div", {
|
|
2324
|
+
className: "Demo__some-network ml-2 mr-2 allcentered"
|
|
2238
2325
|
}, /*#__PURE__*/React.createElement(TwitterShareButton, {
|
|
2239
2326
|
url: shareUrl,
|
|
2240
2327
|
title: title,
|
|
2241
|
-
className: "Demo__some-network__share-button"
|
|
2242
|
-
}, /*#__PURE__*/React.createElement(
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
}
|
|
2328
|
+
className: "Demo__some-network__share-button allcentered"
|
|
2329
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2330
|
+
"class": productinfo_cssstyles.shareicon + ' allcentered ',
|
|
2331
|
+
style: {}
|
|
2332
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
2333
|
+
"class": "h-100 allcentered"
|
|
2334
|
+
}, /*#__PURE__*/React.createElement(AiOutlineTwitter, {
|
|
2335
|
+
size: 16
|
|
2336
|
+
}))))), /*#__PURE__*/React.createElement("div", {
|
|
2246
2337
|
className: "Demo__some-network ml-2 mr-2"
|
|
2247
2338
|
}, /*#__PURE__*/React.createElement(WhatsappShareButton, {
|
|
2248
2339
|
url: shareUrl,
|
|
2249
2340
|
title: title,
|
|
2250
2341
|
separator: ":: ",
|
|
2251
2342
|
className: "Demo__some-network__share-button"
|
|
2252
|
-
}, /*#__PURE__*/React.createElement(
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
}
|
|
2343
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2344
|
+
"class": productinfo_cssstyles.shareicon + ' allcentered ',
|
|
2345
|
+
style: {}
|
|
2346
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
2347
|
+
"class": "h-100 allcentered"
|
|
2348
|
+
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
2349
|
+
size: 16
|
|
2350
|
+
}))))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2256
2351
|
className: "Demo__some-network ml-2 mr-2"
|
|
2257
2352
|
}, /*#__PURE__*/React.createElement(LinkedinShareButton, {
|
|
2258
2353
|
url: shareUrl,
|
|
2259
2354
|
title: title,
|
|
2260
2355
|
separator: ":: ",
|
|
2261
2356
|
className: "Demo__some-network__share-button"
|
|
2262
|
-
}, /*#__PURE__*/React.createElement(
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
}
|
|
2357
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2358
|
+
"class": productinfo_cssstyles.shareicon + ' allcentered ',
|
|
2359
|
+
style: {}
|
|
2360
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
2361
|
+
"class": "h-100 allcentered"
|
|
2362
|
+
}, /*#__PURE__*/React.createElement(FaLinkedinIn, null))))))));
|
|
2266
2363
|
};
|
|
2267
2364
|
var Quantitybtn_Cartbtn_Favbottombtn = function Quantitybtn_Cartbtn_Favbottombtn() {
|
|
2268
|
-
var
|
|
2365
|
+
var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
|
|
2269
2366
|
return /*#__PURE__*/React.createElement("div", {
|
|
2270
2367
|
"class": "col-lg-12 p-0"
|
|
2271
2368
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -2273,7 +2370,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2273
2370
|
style: {
|
|
2274
2371
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
2275
2372
|
}
|
|
2276
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2373
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.isproducthasquantitychange) == 1 && /*#__PURE__*/React.createElement("button", {
|
|
2277
2374
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2278
2375
|
style: {
|
|
2279
2376
|
height: sectionproperties.quantitybtn_height + 'px',
|
|
@@ -2315,12 +2412,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2315
2412
|
}
|
|
2316
2413
|
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React.createElement(FiPlus, {
|
|
2317
2414
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
2318
|
-
})))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2415
|
+
})))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("button", {
|
|
2319
2416
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2320
2417
|
onClick: function onClick() {
|
|
2321
2418
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2322
|
-
var
|
|
2323
|
-
window.open('tel:' + ((
|
|
2419
|
+
var _fetchProductInfoQuer6;
|
|
2420
|
+
window.open('tel:' + ((_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.product_phonenumber), '_blank');
|
|
2324
2421
|
} else {
|
|
2325
2422
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2326
2423
|
addtocartfunc();
|
|
@@ -2351,7 +2448,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2351
2448
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2352
2449
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
2353
2450
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2354
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2451
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
2355
2452
|
className: ' d-flex align-items-center justify-content-center '
|
|
2356
2453
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
2357
2454
|
color: "white",
|
|
@@ -2396,7 +2493,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2396
2493
|
style: {
|
|
2397
2494
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2398
2495
|
}
|
|
2399
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2496
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
2400
2497
|
"class": "row m-0 w-100 mt-3",
|
|
2401
2498
|
style: {
|
|
2402
2499
|
overflow: 'hidden'
|
|
@@ -2408,8 +2505,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2408
2505
|
},
|
|
2409
2506
|
onClick: function onClick() {
|
|
2410
2507
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2411
|
-
var
|
|
2412
|
-
window.open('tel:' + ((
|
|
2508
|
+
var _fetchProductInfoQuer10;
|
|
2509
|
+
window.open('tel:' + ((_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.product_phonenumber), '_blank');
|
|
2413
2510
|
} else {
|
|
2414
2511
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2415
2512
|
addtocartfunc();
|
|
@@ -2440,7 +2537,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2440
2537
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2441
2538
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
2442
2539
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2443
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2540
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
2444
2541
|
className: ' d-flex align-items-center justify-content-center '
|
|
2445
2542
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
2446
2543
|
color: "white",
|
|
@@ -2481,13 +2578,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2481
2578
|
// ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)
|
|
2482
2579
|
// : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
|
|
2483
2580
|
useEffect(function () {
|
|
2484
|
-
var
|
|
2581
|
+
var _fetchProductInfoQuer13;
|
|
2485
2582
|
var totalprice = '';
|
|
2486
2583
|
if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0) {
|
|
2487
2584
|
totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
|
|
2488
2585
|
} else if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1) {
|
|
2489
2586
|
totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
|
|
2490
|
-
} else if (variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2587
|
+
} else if (variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.variants[variantindexcompleted]) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.hassale) == 1) {
|
|
2491
2588
|
totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
|
|
2492
2589
|
} else {
|
|
2493
2590
|
totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
|
|
@@ -2503,13 +2600,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2503
2600
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2504
2601
|
"class": ' col-lg-12 p-0 '
|
|
2505
2602
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2506
|
-
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
2603
|
+
"class": srcfromprops == 'templatedraftrouter' ? "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 px-2 px-1025-1 p-sm-0 ' : "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
2507
2604
|
style: {
|
|
2508
2605
|
minHeight: sectionproperties.height + 'vh'
|
|
2509
2606
|
}
|
|
2510
2607
|
}, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
2511
2608
|
"class": "w-100 scrollhorizontalwithscrollbar"
|
|
2512
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2609
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productimages) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.productimages.map(function (item, index) {
|
|
2513
2610
|
return /*#__PURE__*/React.createElement("div", {
|
|
2514
2611
|
"class": ' scrollhorizontalcard mx-2 ',
|
|
2515
2612
|
style: {
|
|
@@ -2545,12 +2642,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2545
2642
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2546
2643
|
className: "row m-0 w-100"
|
|
2547
2644
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2548
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2549
|
-
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2645
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
2646
|
+
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2550
2647
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
2551
2648
|
}, /*#__PURE__*/React.createElement(ReactStars, {
|
|
2552
2649
|
count: 5,
|
|
2553
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2650
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productoverallrate,
|
|
2554
2651
|
edit: false,
|
|
2555
2652
|
size: 18,
|
|
2556
2653
|
emptyIcon: /*#__PURE__*/React.createElement("i", {
|
|
@@ -2571,7 +2668,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2571
2668
|
activeColor: "#ffd700"
|
|
2572
2669
|
})), /*#__PURE__*/React.createElement("div", {
|
|
2573
2670
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
2574
|
-
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2671
|
+
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
2575
2672
|
style: {
|
|
2576
2673
|
width: sectionproperties.availability_width + 'px',
|
|
2577
2674
|
height: sectionproperties.availability_height + 'px',
|
|
@@ -2623,7 +2720,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2623
2720
|
}, /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
2624
2721
|
actions: props.actions,
|
|
2625
2722
|
srcfromprops: 'undername'
|
|
2626
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2723
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2627
2724
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2628
2725
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2629
2726
|
"class": "m-0 p-0",
|
|
@@ -2634,28 +2731,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2634
2731
|
style: {
|
|
2635
2732
|
fontWeight: 600
|
|
2636
2733
|
}
|
|
2637
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2734
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.vendorinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.vendorname))), /*#__PURE__*/React.createElement("div", {
|
|
2638
2735
|
"class": "col-lg-12 p-0"
|
|
2639
|
-
}, SKUSection()), sectionproperties.
|
|
2640
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2641
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
2642
|
-
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2643
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
2644
|
-
style: {
|
|
2645
|
-
color: sectionproperties.skuColor,
|
|
2646
|
-
fontWeight: sectionproperties.skuFontWeight,
|
|
2647
|
-
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2648
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2649
|
-
}
|
|
2650
|
-
}, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React.createElement("span", {
|
|
2651
|
-
"class": "ml-1 mr-1",
|
|
2652
|
-
style: {
|
|
2653
|
-
color: '#7e859b',
|
|
2654
|
-
fontWeight: sectionproperties.skuSecondaryFontWeight,
|
|
2655
|
-
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2656
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2657
|
-
}
|
|
2658
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.hasvariants) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
2736
|
+
}, SKUSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.hasvariants) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
2659
2737
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
2660
2738
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2661
2739
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
@@ -2748,9 +2826,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2748
2826
|
actions: props.actions
|
|
2749
2827
|
}), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React.createElement(ProductExtraFields, {
|
|
2750
2828
|
actions: props.actions
|
|
2751
|
-
}), sectionproperties.
|
|
2752
|
-
actions: props.actions
|
|
2753
|
-
}), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2829
|
+
}), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React.createElement("div", {
|
|
2754
2830
|
className: "col-lg-12 p-0 mb-3"
|
|
2755
2831
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
2756
2832
|
className: "mb-0 mt-2"
|
|
@@ -2841,7 +2917,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2841
2917
|
className: "font-weight-600"
|
|
2842
2918
|
}, lang.availability, ":"), /*#__PURE__*/React.createElement("span", {
|
|
2843
2919
|
className: "ml-1 mr-1"
|
|
2844
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
2920
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React.createElement("div", {
|
|
2845
2921
|
"class": "col-lg-12 p-0"
|
|
2846
2922
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
2847
2923
|
"class": "mb-3 mt-3",
|
|
@@ -2860,11 +2936,6 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2860
2936
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
2861
2937
|
}
|
|
2862
2938
|
}, StoreInfoprops(), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
2863
|
-
"class": productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
|
|
2864
|
-
style: {}
|
|
2865
|
-
}, /*#__PURE__*/React.createElement("hr", {
|
|
2866
|
-
"class": "my-3"
|
|
2867
|
-
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
2868
2939
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
2869
2940
|
}, ShareButtonsContainer()))))))), sectionproperties.storeinfoposition == 'On The Right' && /*#__PURE__*/React.createElement("div", {
|
|
2870
2941
|
className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',
|
|
@@ -5333,6 +5404,18 @@ var Productinfo = function Productinfo(props) {
|
|
|
5333
5404
|
backgroundColor: sectionproperties.iconcontainerbgonhover
|
|
5334
5405
|
}
|
|
5335
5406
|
}),
|
|
5407
|
+
shareicon: css({
|
|
5408
|
+
width: sectionproperties.shareiconwidth + 'px',
|
|
5409
|
+
height: sectionproperties.shareiconheight + 'px',
|
|
5410
|
+
borderRadius: sectionproperties.shareiconborderradius + 'px',
|
|
5411
|
+
background: sectionproperties.shareiconbgcolor,
|
|
5412
|
+
color: sectionproperties.shareiconcolor,
|
|
5413
|
+
':hover': {
|
|
5414
|
+
color: sectionproperties.shareiconcoloronhover,
|
|
5415
|
+
transition: '.3s',
|
|
5416
|
+
cursor: 'pointer'
|
|
5417
|
+
}
|
|
5418
|
+
}),
|
|
5336
5419
|
checkoutbtn: css({
|
|
5337
5420
|
width: sectionproperties.checkoutBtnWidth + 'px',
|
|
5338
5421
|
height: sectionproperties.checkoutBtnHeight + 'px',
|
|
@@ -5538,7 +5621,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5538
5621
|
}, sectionproperties.storeinfostyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
5539
5622
|
"class": "row m-0 w-100"
|
|
5540
5623
|
}, sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo1 == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
5541
|
-
className:
|
|
5624
|
+
className: productinfo_cssstyles.storeinfobtn + ' col-lg-12 p-0 w-100 d-flex align-items-center mb-4 '
|
|
5542
5625
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5543
5626
|
"class": productinfo_cssstyles.iconContainer
|
|
5544
5627
|
}, /*#__PURE__*/React.createElement("i", {
|
|
@@ -5558,7 +5641,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5558
5641
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5559
5642
|
}
|
|
5560
5643
|
}, langdetect == 'en' ? sectionproperties.otherinfodesc1en : sectionproperties.otherinfodesc1ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo2 == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
5561
|
-
className:
|
|
5644
|
+
className: productinfo_cssstyles.storeinfobtn + ' col-lg-12 p-0 d-flex align-items-center mb-4 '
|
|
5562
5645
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5563
5646
|
"class": productinfo_cssstyles.iconContainer
|
|
5564
5647
|
}, /*#__PURE__*/React.createElement("i", {
|
|
@@ -5580,7 +5663,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5580
5663
|
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productquantityoptions) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.length) != 0 && /*#__PURE__*/React.createElement("div", {
|
|
5581
5664
|
"class": "col-lg-12 p-0 mb-4"
|
|
5582
5665
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
5583
|
-
className: productinfo_cssstyles.storeinfocontainer + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
5666
|
+
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
5584
5667
|
onClick: function onClick() {
|
|
5585
5668
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_blank');
|
|
5586
5669
|
}
|
|
@@ -5603,7 +5686,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5603
5686
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5604
5687
|
}
|
|
5605
5688
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
5606
|
-
className: productinfo_cssstyles.storeinfocontainer + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
5689
|
+
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
5607
5690
|
onClick: function onClick() {
|
|
5608
5691
|
var _authdetailsContext$i2;
|
|
5609
5692
|
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.contactinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.email), '_self');
|
|
@@ -5696,7 +5779,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5696
5779
|
lang: lang,
|
|
5697
5780
|
srcfromprops: props.srcfromprops
|
|
5698
5781
|
}, _defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), _defineProperty(_ref2, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty(_ref2, "addtocartfunc", addtocartfunc), _defineProperty(_ref2, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty(_ref2, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty(_ref2, "productimagesarray", productimagesarray), _defineProperty(_ref2, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty(_ref2, "sectionproperties", sectionproperties), _defineProperty(_ref2, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_ref2, "ProductInfoObj", ProductInfoObj), _defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty(_ref2, "routingcountext", routingcountext), _defineProperty(_ref2, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty(_ref2, "authdetailsContext", authdetailsContext), _defineProperty(_ref2, "addtofavoritescontext", addtofavoritescontext), _defineProperty(_ref2, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty(_ref2, "variantindexcompleted", variantindexcompleted), _defineProperty(_ref2, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_ref2, "NotificationManager", NotificationManager), _defineProperty(_ref2, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty(_ref2, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_ref2, "relatedproducts", relatedproducts), _defineProperty(_ref2, "getQuantityCondition", getQuantityCondition), _defineProperty(_ref2, "StoreInfoprops", StoreInfo), _defineProperty(_ref2, "templatepropcontext", templatepropcontext), _defineProperty(_ref2, "ikimagecredcontext", ikimagecredcontext), _ref2)
|
|
5699
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
5782
|
+
}), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React.createElement("div", {
|
|
5700
5783
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
5701
5784
|
style: {
|
|
5702
5785
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -5862,7 +5945,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5862
5945
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
5863
5946
|
sectionproperties: sectionproperties
|
|
5864
5947
|
})
|
|
5865
|
-
}))))), /*#__PURE__*/React.createElement("div", {
|
|
5948
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React.createElement("div", {
|
|
5866
5949
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
5867
5950
|
style: {
|
|
5868
5951
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -7495,7 +7578,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7495
7578
|
function ownKeys$2f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7496
7579
|
function _objectSpread$2f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7497
7580
|
var Viewcart = function Viewcart(props) {
|
|
7498
|
-
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
|
|
7581
|
+
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
|
|
7499
7582
|
var lang = props.actions.lang;
|
|
7500
7583
|
var langdetect = props.actions.langdetect;
|
|
7501
7584
|
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
@@ -7735,10 +7818,8 @@ var Viewcart = function Viewcart(props) {
|
|
|
7735
7818
|
}
|
|
7736
7819
|
}),
|
|
7737
7820
|
tableimagecont: css({
|
|
7738
|
-
width: '
|
|
7739
|
-
height: sectionproperties.
|
|
7740
|
-
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
7741
|
-
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
7821
|
+
width: sectionproperties.prodimage_width + 'px',
|
|
7822
|
+
height: sectionproperties.prodimage_height + 'px',
|
|
7742
7823
|
display: 'flex',
|
|
7743
7824
|
alignItems: 'center',
|
|
7744
7825
|
justifyContent: 'center',
|
|
@@ -7751,6 +7832,22 @@ var Viewcart = function Viewcart(props) {
|
|
|
7751
7832
|
'@media (max-width: 800px)': {
|
|
7752
7833
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
7753
7834
|
}
|
|
7835
|
+
}),
|
|
7836
|
+
shopbuttonstyles: css({
|
|
7837
|
+
width: sectionproperties.generalbtn_width == 0 ? '100%' : sectionproperties.generalbtn_width + '%',
|
|
7838
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
7839
|
+
borderRadius: sectionproperties.generalbtnborderradius,
|
|
7840
|
+
backgroundColor: sectionproperties.generalbtn_bgColor,
|
|
7841
|
+
color: sectionproperties.generalbtn_textColor,
|
|
7842
|
+
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
7843
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7844
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7845
|
+
':hover': {
|
|
7846
|
+
transition: '.3s',
|
|
7847
|
+
backgroundColor: sectionproperties.generalbtn_bgColoronhover,
|
|
7848
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
7849
|
+
borderColor: sectionproperties.generalbtn_textColoronhover
|
|
7850
|
+
}
|
|
7754
7851
|
})
|
|
7755
7852
|
};
|
|
7756
7853
|
var _useState5 = useState([]),
|
|
@@ -7790,7 +7887,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
7790
7887
|
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
|
|
7791
7888
|
style: {
|
|
7792
7889
|
width: sectionproperties.image_width + 'vw',
|
|
7793
|
-
height:
|
|
7890
|
+
height: 'auto',
|
|
7794
7891
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
7795
7892
|
position: 'relative'
|
|
7796
7893
|
}
|
|
@@ -7802,15 +7899,11 @@ var Viewcart = function Viewcart(props) {
|
|
|
7802
7899
|
style: {
|
|
7803
7900
|
height: '100%',
|
|
7804
7901
|
width: '100%',
|
|
7902
|
+
objectFit: 'contain',
|
|
7805
7903
|
margin: 0,
|
|
7806
7904
|
padding: 0,
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7810
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7811
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7812
|
-
zIndex: -1,
|
|
7813
|
-
objectFit: sectionproperties.bgcovercontain
|
|
7905
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
7906
|
+
zIndex: -1
|
|
7814
7907
|
}
|
|
7815
7908
|
}), /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
7816
7909
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -7820,34 +7913,13 @@ var Viewcart = function Viewcart(props) {
|
|
|
7820
7913
|
style: {
|
|
7821
7914
|
height: '100%',
|
|
7822
7915
|
width: '100%',
|
|
7916
|
+
objectFit: 'contain',
|
|
7823
7917
|
margin: 0,
|
|
7824
7918
|
padding: 0,
|
|
7825
|
-
|
|
7826
|
-
background: sectionproperties.image_bgcolor,
|
|
7827
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
7828
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7829
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7830
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7919
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
7831
7920
|
zIndex: -1
|
|
7832
7921
|
}
|
|
7833
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
7834
|
-
className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
|
|
7835
|
-
style: {
|
|
7836
|
-
position: 'absolute',
|
|
7837
|
-
top: 0,
|
|
7838
|
-
right: 0,
|
|
7839
|
-
bottom: 0,
|
|
7840
|
-
left: 0
|
|
7841
|
-
}
|
|
7842
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
7843
|
-
className: ' m-0 p-0 ',
|
|
7844
|
-
style: {
|
|
7845
|
-
fontSize: sectionproperties.imagetextfontsize + 'px',
|
|
7846
|
-
color: sectionproperties.imagetextcolor,
|
|
7847
|
-
textTransform: sectionproperties.imagetexttextTransform,
|
|
7848
|
-
fontWeight: sectionproperties.imagetextfontWeight
|
|
7849
|
-
}
|
|
7850
|
-
}, lang.mycart)))), /*#__PURE__*/React.createElement("div", {
|
|
7922
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
7851
7923
|
className: "col-lg-12 p-0"
|
|
7852
7924
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7853
7925
|
className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
|
|
@@ -7870,7 +7942,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
7870
7942
|
actions: actions
|
|
7871
7943
|
})), /*#__PURE__*/React.createElement("div", {
|
|
7872
7944
|
className: 'col-lg-12 d-flex w-100 p-0'
|
|
7873
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
7945
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.customercart) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.length) != 0 && /*#__PURE__*/React.createElement("div", {
|
|
7874
7946
|
className: "row m-0 w-100"
|
|
7875
7947
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7876
7948
|
className: langdetect == 'en' ? 'col-lg-9 pr-0' : 'col-lg-9 pl-0'
|
|
@@ -7886,10 +7958,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
7886
7958
|
}, /*#__PURE__*/React.createElement("table", {
|
|
7887
7959
|
className: 'table table_thbg'
|
|
7888
7960
|
}, /*#__PURE__*/React.createElement("thead", {
|
|
7889
|
-
className: ""
|
|
7890
|
-
style: {
|
|
7891
|
-
background: '#eee'
|
|
7892
|
-
}
|
|
7961
|
+
className: ""
|
|
7893
7962
|
}, /*#__PURE__*/React.createElement("th", {
|
|
7894
7963
|
className: langdetect == 'en' ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300' : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
|
|
7895
7964
|
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React.createElement("th", {
|
|
@@ -7906,7 +7975,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
7906
7975
|
}
|
|
7907
7976
|
}, lang.total), /*#__PURE__*/React.createElement("th", {
|
|
7908
7977
|
className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
|
|
7909
|
-
}, lang.remove)), /*#__PURE__*/React.createElement("tbody", null, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
7978
|
+
}, lang.remove)), /*#__PURE__*/React.createElement("tbody", null, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.map(function (item, index) {
|
|
7910
7979
|
return /*#__PURE__*/React.createElement("tr", {
|
|
7911
7980
|
className: "border-none"
|
|
7912
7981
|
}, /*#__PURE__*/React.createElement("td", {
|
|
@@ -7922,8 +7991,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
7922
7991
|
style: {
|
|
7923
7992
|
width: '100%',
|
|
7924
7993
|
height: '100%',
|
|
7925
|
-
objectFit:
|
|
7926
|
-
borderRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px'
|
|
7994
|
+
objectFit: 'contain'
|
|
7927
7995
|
},
|
|
7928
7996
|
loading: "lazy"
|
|
7929
7997
|
})), /*#__PURE__*/React.createElement("div", {
|
|
@@ -8077,16 +8145,18 @@ var Viewcart = function Viewcart(props) {
|
|
|
8077
8145
|
deletecartitemContext(item);
|
|
8078
8146
|
}
|
|
8079
8147
|
}, lang.remove)));
|
|
8080
|
-
}))))
|
|
8081
|
-
className:
|
|
8148
|
+
})))))), /*#__PURE__*/React.createElement("div", {
|
|
8149
|
+
className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
|
|
8150
|
+
}, Summary())), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.cartitems.length) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
8151
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-center pt-5 pb-5",
|
|
8082
8152
|
style: {
|
|
8083
|
-
height: '
|
|
8153
|
+
height: '60vh'
|
|
8084
8154
|
}
|
|
8085
8155
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8086
8156
|
className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
8087
8157
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8088
8158
|
className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
|
|
8089
|
-
}, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React.createElement("img", {
|
|
8159
|
+
}, sectionproperties.noproducticontype == 'Cart' && sectionproperties.noprod_iconfontSize != 0 && /*#__PURE__*/React.createElement("img", {
|
|
8090
8160
|
src: 'https://tabex-co.com/storage/StaticImages/shoppingcart.png',
|
|
8091
8161
|
style: {
|
|
8092
8162
|
maxWidth: '250px',
|
|
@@ -8104,9 +8174,12 @@ var Viewcart = function Viewcart(props) {
|
|
|
8104
8174
|
color: sectionproperties.noprod_color,
|
|
8105
8175
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8106
8176
|
}
|
|
8107
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)
|
|
8108
|
-
className:
|
|
8109
|
-
|
|
8177
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React.createElement("button", {
|
|
8178
|
+
className: "".concat(viewcart_cssstyles.shopbuttonstyles) + ' mt-4 d-flex align-items-center justify-content-center ',
|
|
8179
|
+
onClick: function onClick() {
|
|
8180
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
8181
|
+
}
|
|
8182
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))));
|
|
8110
8183
|
};
|
|
8111
8184
|
|
|
8112
8185
|
var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display: block;\n width: 100%;\n /* height: 25px; */\n /* font-size: 1rem; */\n font-weight: 500;\n /* color: #444054; */\n /* background-color: white; */\n /* border-radius: 20px; */\n /* box-shadow: 0 0 10px #e6e6e6; */\n /* height: 40px; */\n padding-left: 0;\n padding-right: 0;\n /* font-size: 14px; */\n transition: background 0s ease-out;\n padding: 0 10px;\n}\n.form-module_textarea__zG0ed{\n resize: none;\n /* background-color: #eee; */\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .form-module_form_control__4-RGw {\n transition: none;\n }\n}\n.form-module_form_control__4-RGw::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-module_form_control__4-RGw::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.form-module_form_control__4-RGw {\n /* min-height: 100px !important; */\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.form-module_form_control__4-RGw:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n /* box-shadow: 0 0 10px #ccc; */\n}\n.form-module_form_control__4-RGw::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n\n.form-module_form_control_border_none__TJvdZ {\n background-image: none;\n}\n.form-module_form_control__4-RGw.form-module_disabled__AtvSI,\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[disabled] {\n cursor: not-allowed;\n}\n.form-module_input_label_name__416wN {\n font-size: 16px;\n text-transform: capitalize;\n color: var(--cardheader);\n font-weight: 500;\n}\n.form-module_input_label_name-bolder__UQn0a {\n font-weight: 500;\n}\n.form-module_input_icon__X-CzC {\n position: absolute;\n bottom: 5px;\n left: 0;\n color: #d9d9d9;\n}\n/* Radio Buttons */\n.form-module_radiobtn_label__-4Hoi {\n display: flex;\n cursor: pointer;\n font-weight: 500;\n position: relative;\n overflow: hidden;\n margin-bottom: 0;\n}\n.form-module_radiobtn_label__-4Hoi input {\n position: absolute;\n left: -9999px;\n display: none;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span {\n background-color: #f0f5f5;\n color: var(--focus);\n font-weight: 500;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span:before {\n box-shadow: inset 0 0 0 0.3em #eac435;\n}\n.form-module_radiobtn_label__-4Hoi span {\n display: flex;\n align-items: center;\n text-transform: capitalize;\n padding: 0.375em 0.75em 0.375em 0.375em;\n border-radius: 99em;\n transition: 0.25s ease;\n font-weight: normal;\n color: var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi span:hover {\n background-color: #e6e6e6;\n}\n.form-module_radiobtn_label__-4Hoi span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-right: 0.375em;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi.form-module_text-grey__JdZMY span:before {\n box-shadow: inset 0 0 0 0.125em grey;\n}\n.form-module_radiobtn_label__-4Hoi input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n.form-module_radiobtn_label_translated__WN5Jj span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-left: 0.375em;\n margin-right: 0;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label_translated__WN5Jj input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n\n/* Checkbox */\n.form-module_checkbox__XPkWy {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.form-module_checkbox_label__VvcKs {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.form-module_checkbox__XPkWy:hover {\n /* color: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input,\n.form-module_checkbox__XPkWy svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.form-module_checkbox_sub__QWYil input {\n width: 15px;\n height: 15px;\n}\n.form-module_checkbox__XPkWy input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.form-module_checkbox__XPkWy input:disabled {\n cursor: not-allowed;\n}\n.form-module_checkbox__XPkWy input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input:checked {\n /* --b: var(--secondary); */\n}\n.form-module_checkbox__XPkWy svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkbox_sub__QWYil svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkboxtranslated__zvEV- svg {\n right: 0;\n}\n.form-module_checkbox__XPkWy input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.form-module_checkbox__XPkWy input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.form-module_checkbox__XPkWy svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
|
|
@@ -8119,7 +8192,7 @@ var Select$3 = /*#__PURE__*/React.lazy(function () {
|
|
|
8119
8192
|
return import('react-select');
|
|
8120
8193
|
});
|
|
8121
8194
|
var Checkout = function Checkout(props) {
|
|
8122
|
-
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73;
|
|
8195
|
+
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _fetchcustomercartQue75;
|
|
8123
8196
|
var _useState = useState(null),
|
|
8124
8197
|
_useState2 = _slicedToArray(_useState, 2);
|
|
8125
8198
|
_useState2[0];
|
|
@@ -9317,7 +9390,28 @@ var Checkout = function Checkout(props) {
|
|
|
9317
9390
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9318
9391
|
})), /*#__PURE__*/React.createElement("p", {
|
|
9319
9392
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9320
|
-
}, " ValU")))
|
|
9393
|
+
}, " ValU"))), authdetailsContext.instinfo.acceptmobilewalletpayment == 1 && /*#__PURE__*/React.createElement("div", {
|
|
9394
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9395
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
9396
|
+
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
9397
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
9398
|
+
type: "checkbox",
|
|
9399
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9400
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.customercart.paymentmethod) == 'mobilewallet' ? true : false,
|
|
9401
|
+
onChange: function onChange() {
|
|
9402
|
+
var _fetchcustomercartQue74;
|
|
9403
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.paymentmethod) != 'mobilewallet') {
|
|
9404
|
+
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
9405
|
+
}
|
|
9406
|
+
}
|
|
9407
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
9408
|
+
viewBox: "0 0 21 21",
|
|
9409
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9410
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
9411
|
+
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9412
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
9413
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9414
|
+
}, " Mobile Wallet")))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React.createElement("div", {
|
|
9321
9415
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9322
9416
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9323
9417
|
style: {
|
|
@@ -9428,7 +9522,7 @@ var Select$2 = /*#__PURE__*/React.lazy(function () {
|
|
|
9428
9522
|
return import('react-select');
|
|
9429
9523
|
});
|
|
9430
9524
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
9431
|
-
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _css, _authdetailsContext$i2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
9525
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$i2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
9432
9526
|
var lang = props.actions.lang;
|
|
9433
9527
|
var langdetect = props.actions.langdetect;
|
|
9434
9528
|
props.actions.routingcountext;
|
|
@@ -9446,7 +9540,6 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9446
9540
|
var instapikey = props.actions.instapikey;
|
|
9447
9541
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
9448
9542
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
9449
|
-
props.actions.ikimagecredcontext;
|
|
9450
9543
|
var NotificationManager = props.actions.NotificationManager;
|
|
9451
9544
|
var actions = props.actions;
|
|
9452
9545
|
var _useState = useState(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu === void 0 || (_fetchAuthorizationQu = _fetchAuthorizationQu.data) === null || _fetchAuthorizationQu === void 0 || (_fetchAuthorizationQu = _fetchAuthorizationQu.instinfo) === null || _fetchAuthorizationQu === void 0 ? void 0 : _fetchAuthorizationQu.customerAddressrequiered),
|
|
@@ -9457,28 +9550,45 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9457
9550
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
9458
9551
|
customervalidateemail = _useState4[0],
|
|
9459
9552
|
setcustomervalidateemail = _useState4[1];
|
|
9460
|
-
var _useState5 = useState(
|
|
9553
|
+
var _useState5 = useState(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu3 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.data) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.instinfo) === null || _fetchAuthorizationQu3 === void 0 ? void 0 : _fetchAuthorizationQu3.customervalidatephonenumber),
|
|
9461
9554
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
var _useState7 = useState(
|
|
9555
|
+
customervalidatephonenumber = _useState6[0],
|
|
9556
|
+
setcustomervalidatephonenumber = _useState6[1];
|
|
9557
|
+
var _useState7 = useState(false),
|
|
9465
9558
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
9466
|
-
|
|
9467
|
-
|
|
9559
|
+
validatephonenumbermodal = _useState8[0],
|
|
9560
|
+
setvalidatephonenumbermodal = _useState8[1];
|
|
9468
9561
|
var _useState9 = useState(false),
|
|
9469
9562
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
var _useState11 = useState(
|
|
9563
|
+
validateemailmodal = _useState10[0],
|
|
9564
|
+
setvalidateemailmodal = _useState10[1];
|
|
9565
|
+
var _useState11 = useState(''),
|
|
9566
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
9567
|
+
sectionproperties = _useState12[0],
|
|
9568
|
+
setsectionproperties = _useState12[1];
|
|
9569
|
+
var _useState13 = useState(false),
|
|
9570
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
9571
|
+
dataloaded = _useState14[0],
|
|
9572
|
+
setdataloaded = _useState14[1];
|
|
9573
|
+
var _useState15 = useState({
|
|
9574
|
+
phonenumber: '',
|
|
9575
|
+
code: '',
|
|
9576
|
+
step: 'sendcode',
|
|
9577
|
+
isvalidated: false
|
|
9578
|
+
}),
|
|
9579
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
9580
|
+
validatephonenumberpayload = _useState16[0],
|
|
9581
|
+
setvalidatephonenumberpayload = _useState16[1];
|
|
9582
|
+
var _useState17 = useState({
|
|
9473
9583
|
email: '',
|
|
9474
9584
|
code: '',
|
|
9475
9585
|
step: 'sendcode',
|
|
9476
9586
|
isvalidated: false
|
|
9477
9587
|
}),
|
|
9478
|
-
|
|
9479
|
-
validateemailpayload =
|
|
9480
|
-
setvalidateemailpayload =
|
|
9481
|
-
var
|
|
9588
|
+
_useState18 = _slicedToArray(_useState17, 2),
|
|
9589
|
+
validateemailpayload = _useState18[0],
|
|
9590
|
+
setvalidateemailpayload = _useState18[1];
|
|
9591
|
+
var _useState19 = useState({
|
|
9482
9592
|
instapikey: instapikey,
|
|
9483
9593
|
name: '',
|
|
9484
9594
|
email: '',
|
|
@@ -9493,26 +9603,27 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9493
9603
|
cityid: '',
|
|
9494
9604
|
countrydialcode: ''
|
|
9495
9605
|
}),
|
|
9496
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
9497
|
-
payloadobj = _useState14[0],
|
|
9498
|
-
setpayloadobj = _useState14[1];
|
|
9499
|
-
var _useState15 = useState(false),
|
|
9500
|
-
_useState16 = _slicedToArray(_useState15, 2);
|
|
9501
|
-
_useState16[0];
|
|
9502
|
-
_useState16[1];
|
|
9503
|
-
var _useState17 = useState(false),
|
|
9504
|
-
_useState18 = _slicedToArray(_useState17, 2);
|
|
9505
|
-
_useState18[0];
|
|
9506
|
-
_useState18[1];
|
|
9507
|
-
var _useState19 = useState(false),
|
|
9508
9606
|
_useState20 = _slicedToArray(_useState19, 2),
|
|
9509
|
-
|
|
9510
|
-
|
|
9607
|
+
payloadobj = _useState20[0],
|
|
9608
|
+
setpayloadobj = _useState20[1];
|
|
9609
|
+
var _useState21 = useState(false),
|
|
9610
|
+
_useState22 = _slicedToArray(_useState21, 2);
|
|
9611
|
+
_useState22[0];
|
|
9612
|
+
_useState22[1];
|
|
9613
|
+
var _useState23 = useState(false),
|
|
9614
|
+
_useState24 = _slicedToArray(_useState23, 2);
|
|
9615
|
+
_useState24[0];
|
|
9616
|
+
_useState24[1];
|
|
9617
|
+
var _useState25 = useState(false),
|
|
9618
|
+
_useState26 = _slicedToArray(_useState25, 2),
|
|
9619
|
+
waitingpage = _useState26[0],
|
|
9620
|
+
setwaitingpage = _useState26[1];
|
|
9511
9621
|
useEffect(function () {
|
|
9512
9622
|
if (fetchAuthorizationQueryContext.isSuccess) {
|
|
9513
|
-
var
|
|
9514
|
-
setcustomeraddressrequierd(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (
|
|
9515
|
-
setcustomervalidateemail(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (
|
|
9623
|
+
var _fetchAuthorizationQu4, _fetchAuthorizationQu5, _fetchAuthorizationQu6;
|
|
9624
|
+
setcustomeraddressrequierd(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu4 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu4 === void 0 || (_fetchAuthorizationQu4 = _fetchAuthorizationQu4.data) === null || _fetchAuthorizationQu4 === void 0 || (_fetchAuthorizationQu4 = _fetchAuthorizationQu4.instinfo) === null || _fetchAuthorizationQu4 === void 0 ? void 0 : _fetchAuthorizationQu4.customerAddressrequiered);
|
|
9625
|
+
setcustomervalidateemail(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu5 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu5 === void 0 || (_fetchAuthorizationQu5 = _fetchAuthorizationQu5.data) === null || _fetchAuthorizationQu5 === void 0 || (_fetchAuthorizationQu5 = _fetchAuthorizationQu5.instinfo) === null || _fetchAuthorizationQu5 === void 0 ? void 0 : _fetchAuthorizationQu5.customervalidateemail);
|
|
9626
|
+
setcustomervalidatephonenumber(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu6 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu6 === void 0 || (_fetchAuthorizationQu6 = _fetchAuthorizationQu6.data) === null || _fetchAuthorizationQu6 === void 0 || (_fetchAuthorizationQu6 = _fetchAuthorizationQu6.instinfo) === null || _fetchAuthorizationQu6 === void 0 ? void 0 : _fetchAuthorizationQu6.customervalidatephonenumber);
|
|
9516
9627
|
}
|
|
9517
9628
|
}, [fetchAuthorizationQueryContext.isSuccess]);
|
|
9518
9629
|
useEffect(function () {
|
|
@@ -9850,7 +9961,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9850
9961
|
setFetchTabexStatesPayloadobjContext(_objectSpread$2d({}, tempFetchTabexStatesPayloadobjContext));
|
|
9851
9962
|
payloadobjchange('countryid', option.id);
|
|
9852
9963
|
},
|
|
9853
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
9964
|
+
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
9854
9965
|
placeholder: langdetect == 'en' ? 'Choose Country' : 'إختر البلد',
|
|
9855
9966
|
isSearchable: true
|
|
9856
9967
|
})), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -9902,7 +10013,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9902
10013
|
setFetchTabexStatesPayloadobjContext(_objectSpread$2d({}, tempFetchTabexStatesPayloadobjContext));
|
|
9903
10014
|
payloadobjchange('stateid', option.id);
|
|
9904
10015
|
},
|
|
9905
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
10016
|
+
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
9906
10017
|
placeholder: lang.choosestategov,
|
|
9907
10018
|
isSearchable: true
|
|
9908
10019
|
})), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -9950,7 +10061,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9950
10061
|
onChange: function onChange(option) {
|
|
9951
10062
|
payloadobjchange('cityid', option.id);
|
|
9952
10063
|
},
|
|
9953
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
10064
|
+
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
9954
10065
|
placeholder: lang.choosecity,
|
|
9955
10066
|
isSearchable: true
|
|
9956
10067
|
})), sectionproperties.hideaddress == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -9966,7 +10077,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9966
10077
|
className: loginstyles.wrap_input100
|
|
9967
10078
|
}, /*#__PURE__*/React.createElement(TextareaAutosize, {
|
|
9968
10079
|
type: "text",
|
|
9969
|
-
className: "".concat(loginstyles.form_control, " ").concat(
|
|
10080
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control) + ' py-1 ',
|
|
9970
10081
|
value: payloadobj.shippingaddress,
|
|
9971
10082
|
textplaceholder: "",
|
|
9972
10083
|
onChange: function onChange(event) {
|
|
@@ -10109,9 +10220,29 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10109
10220
|
disabled: CustomerSignUpMutationContext.isLoading ? true : false,
|
|
10110
10221
|
onClick: function onClick() {
|
|
10111
10222
|
if (verifypayload() == true) {
|
|
10223
|
+
var isEmailOTP_Validated = false;
|
|
10224
|
+
var isPhoneNumberOTP_Validated = false;
|
|
10112
10225
|
if (customervalidateemail == 1) {
|
|
10113
|
-
|
|
10226
|
+
if (validateemailpayload.isvalidated) {
|
|
10227
|
+
isEmailOTP_Validated = true;
|
|
10228
|
+
} else {
|
|
10229
|
+
isEmailOTP_Validated = false;
|
|
10230
|
+
setvalidateemailmodal(true);
|
|
10231
|
+
}
|
|
10114
10232
|
} else {
|
|
10233
|
+
isEmailOTP_Validated = true;
|
|
10234
|
+
}
|
|
10235
|
+
if (customervalidatephonenumber == 1) {
|
|
10236
|
+
if (validatephonenumberpayload.isvalidated) {
|
|
10237
|
+
isPhoneNumberOTP_Validated = true;
|
|
10238
|
+
} else {
|
|
10239
|
+
isPhoneNumberOTP_Validated = false;
|
|
10240
|
+
setvalidatephonenumbermodal(true);
|
|
10241
|
+
}
|
|
10242
|
+
} else {
|
|
10243
|
+
isPhoneNumberOTP_Validated = true;
|
|
10244
|
+
}
|
|
10245
|
+
if (isPhoneNumberOTP_Validated && isEmailOTP_Validated) {
|
|
10115
10246
|
signupbuttonfunc();
|
|
10116
10247
|
}
|
|
10117
10248
|
}
|
|
@@ -10125,11 +10256,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10125
10256
|
style: {
|
|
10126
10257
|
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
10127
10258
|
}
|
|
10128
|
-
}, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar), authdetailsContext.loggedin == true && /*#__PURE__*/React.createElement("span",
|
|
10129
|
-
style: {
|
|
10130
|
-
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
10131
|
-
}
|
|
10132
|
-
}, lang.update)));
|
|
10259
|
+
}, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar), authdetailsContext.loggedin == true && /*#__PURE__*/React.createElement("span", null, lang.update)));
|
|
10133
10260
|
};
|
|
10134
10261
|
return /*#__PURE__*/React.createElement("div", {
|
|
10135
10262
|
className: "row m-0 w-100 d-flex justify-content-center",
|
|
@@ -10201,7 +10328,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10201
10328
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
10202
10329
|
}
|
|
10203
10330
|
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$c2 = authdetailsContext.customerinfo) === null || _authdetailsContext$c2 === void 0 ? void 0 : _authdetailsContext$c2.subscrption_enddate))), /*#__PURE__*/React.createElement("div", {
|
|
10204
|
-
className:
|
|
10331
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0'
|
|
10205
10332
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10206
10333
|
style: {
|
|
10207
10334
|
background: sectionproperties.backgroundColor,
|
|
@@ -10210,8 +10337,8 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10210
10337
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
10211
10338
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
10212
10339
|
},
|
|
10213
|
-
className:
|
|
10214
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
10340
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100'
|
|
10341
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
10215
10342
|
className: "row ml-0 mr-0"
|
|
10216
10343
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10217
10344
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
@@ -10227,12 +10354,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10227
10354
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
10228
10355
|
className: "mt-2 mb-3"
|
|
10229
10356
|
}))), PersonalInformation())), /*#__PURE__*/React.createElement("div", {
|
|
10230
|
-
className:
|
|
10357
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0',
|
|
10231
10358
|
style: {
|
|
10232
10359
|
display: sectionproperties.hidecountrystatecity == 'Show' && sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
|
|
10233
10360
|
}
|
|
10234
10361
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10235
|
-
className: 'p-2 w-100',
|
|
10362
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100',
|
|
10236
10363
|
style: {
|
|
10237
10364
|
background: sectionproperties.backgroundColor,
|
|
10238
10365
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
@@ -10240,7 +10367,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10240
10367
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
10241
10368
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
10242
10369
|
}
|
|
10243
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
10370
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
10244
10371
|
className: "row ml-0 mr-0"
|
|
10245
10372
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10246
10373
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
@@ -10256,9 +10383,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10256
10383
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
10257
10384
|
className: "mt-2 mb-3"
|
|
10258
10385
|
}))), Address())), /*#__PURE__*/React.createElement("div", {
|
|
10259
|
-
className:
|
|
10386
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0'
|
|
10260
10387
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10261
|
-
className: 'p-2 w-100',
|
|
10388
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100',
|
|
10262
10389
|
style: {
|
|
10263
10390
|
background: sectionproperties.backgroundColor,
|
|
10264
10391
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
@@ -10266,7 +10393,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10266
10393
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
10267
10394
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
10268
10395
|
}
|
|
10269
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
10396
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
10270
10397
|
className: "row ml-0 mr-0"
|
|
10271
10398
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10272
10399
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
@@ -10284,7 +10411,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10284
10411
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
10285
10412
|
className: "row ml-0 mr-0"
|
|
10286
10413
|
}, Password()))), payloadobj.instsignupformvalues.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
10287
|
-
className:
|
|
10414
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0'
|
|
10288
10415
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10289
10416
|
style: {
|
|
10290
10417
|
background: sectionproperties.backgroundColor,
|
|
@@ -10293,7 +10420,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10293
10420
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
10294
10421
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
10295
10422
|
},
|
|
10296
|
-
className:
|
|
10423
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100'
|
|
10297
10424
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10298
10425
|
className: "row ml-0 mr-0"
|
|
10299
10426
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -10467,7 +10594,15 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10467
10594
|
isvalidated: true
|
|
10468
10595
|
}));
|
|
10469
10596
|
setvalidateemailmodal(false);
|
|
10470
|
-
|
|
10597
|
+
if (customervalidatephonenumber == 1) {
|
|
10598
|
+
if (validatephonenumberpayload.isvalidated) {
|
|
10599
|
+
signupbuttonfunc();
|
|
10600
|
+
} else {
|
|
10601
|
+
setvalidatephonenumbermodal(true);
|
|
10602
|
+
}
|
|
10603
|
+
} else {
|
|
10604
|
+
signupbuttonfunc();
|
|
10605
|
+
}
|
|
10471
10606
|
}
|
|
10472
10607
|
} else {
|
|
10473
10608
|
NotificationManager.warning('', data.data.reason);
|
|
@@ -10488,7 +10623,134 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10488
10623
|
style: {
|
|
10489
10624
|
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
10490
10625
|
}
|
|
10491
|
-
}, validateemailpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React.createElement(Modal.Footer, null))
|
|
10626
|
+
}, validateemailpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React.createElement(Modal.Footer, null)), /*#__PURE__*/React.createElement(Modal, {
|
|
10627
|
+
show: validatephonenumbermodal,
|
|
10628
|
+
onHide: function onHide() {
|
|
10629
|
+
return setvalidatephonenumbermodal(false);
|
|
10630
|
+
},
|
|
10631
|
+
centered: true,
|
|
10632
|
+
size: 'md'
|
|
10633
|
+
}, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement("div", {
|
|
10634
|
+
"class": "d-flex align-items-center justify-content-center bgdanger-hover",
|
|
10635
|
+
style: {
|
|
10636
|
+
position: 'absolute',
|
|
10637
|
+
right: -15,
|
|
10638
|
+
top: -15,
|
|
10639
|
+
width: '4vh',
|
|
10640
|
+
height: '4vh',
|
|
10641
|
+
background: '#000',
|
|
10642
|
+
borderRadius: '50%'
|
|
10643
|
+
},
|
|
10644
|
+
onClick: function onClick() {
|
|
10645
|
+
return setvalidatephonenumbermodal(false);
|
|
10646
|
+
}
|
|
10647
|
+
}, /*#__PURE__*/React.createElement(IoMdClose, {
|
|
10648
|
+
size: 15,
|
|
10649
|
+
color: "white"
|
|
10650
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
10651
|
+
"class": "row m-0 w-100 allcentered"
|
|
10652
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
10653
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center mt-2 justify-content-center"
|
|
10654
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
10655
|
+
className: "text-md-center m-0 p-0 mb-2",
|
|
10656
|
+
style: {
|
|
10657
|
+
fontSize: '19px',
|
|
10658
|
+
color: sectionproperties.sectionTitleColor,
|
|
10659
|
+
fontWeight: 600
|
|
10660
|
+
}
|
|
10661
|
+
}, langdetect == 'en' ? 'Validate Phone Number' : 'التحقق من صحة رقم الهاتف')), /*#__PURE__*/React.createElement("div", {
|
|
10662
|
+
"class": "col-lg-12 p-0"
|
|
10663
|
+
}, /*#__PURE__*/React.createElement("hr", {
|
|
10664
|
+
"class": 'm-0 p-0'
|
|
10665
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
10666
|
+
"class": "row w-100 m-0 mb-3 pl-2 pr-2 pt-3 pb-3 pl-sm-3 pr-sm-3"
|
|
10667
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
10668
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
|
|
10669
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
10670
|
+
className: "".concat(formstyles.logininputLabel) + ' d-flex justify-content-start '
|
|
10671
|
+
}, langdetect == 'en' ? 'Phone Number' : ' رقم الهاتف'), /*#__PURE__*/React.createElement("input", {
|
|
10672
|
+
type: "text",
|
|
10673
|
+
className: "".concat(formstyles.form_control),
|
|
10674
|
+
value: payloadobj.mobile,
|
|
10675
|
+
disabled: true,
|
|
10676
|
+
style: {
|
|
10677
|
+
background: 'transparent'
|
|
10678
|
+
}
|
|
10679
|
+
})), validatephonenumberpayload.step == 'verifycode' && /*#__PURE__*/React.createElement("div", {
|
|
10680
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
|
|
10681
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
10682
|
+
className: "".concat(formstyles.logininputLabel) + ' d-flex justify-content-start '
|
|
10683
|
+
}, langdetect == 'en' ? 'Code' : ' كود الرسالة النصية'), /*#__PURE__*/React.createElement("input", {
|
|
10684
|
+
type: "text",
|
|
10685
|
+
className: "".concat(formstyles.form_control),
|
|
10686
|
+
value: validatephonenumberpayload.code,
|
|
10687
|
+
onChange: function onChange(event) {
|
|
10688
|
+
setvalidatephonenumberpayload(_objectSpread$2d(_objectSpread$2d({}, validatephonenumberpayload), {}, {
|
|
10689
|
+
code: event.target.value
|
|
10690
|
+
}));
|
|
10691
|
+
},
|
|
10692
|
+
style: {
|
|
10693
|
+
background: 'transparent'
|
|
10694
|
+
}
|
|
10695
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
10696
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-3"
|
|
10697
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
10698
|
+
className: "".concat(formstyles.signupbtn) + ' d-flex align-items-center justify-content-center ',
|
|
10699
|
+
disabled: GeneralAPIMutationContext.isLoading ? true : false,
|
|
10700
|
+
onClick: function onClick() {
|
|
10701
|
+
if (payloadobj.mobile.length != 0) {
|
|
10702
|
+
if (validatephonenumberpayload.isvalidated == true) {
|
|
10703
|
+
setvalidateemailmodal(false);
|
|
10704
|
+
signupbuttonfunc();
|
|
10705
|
+
} else {
|
|
10706
|
+
GeneralAPIMutationContext.mutate({
|
|
10707
|
+
endpointurl: '/validatephonenumber',
|
|
10708
|
+
functype: validatephonenumberpayload.step,
|
|
10709
|
+
code: validatephonenumberpayload.code,
|
|
10710
|
+
name: payloadobj.name,
|
|
10711
|
+
phonenumber: payloadobj.mobile,
|
|
10712
|
+
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
10713
|
+
if (data.data.status) {
|
|
10714
|
+
if (data.data.functype == 'sendcode') {
|
|
10715
|
+
setvalidatephonenumberpayload(_objectSpread$2d(_objectSpread$2d({}, validatephonenumberpayload), {}, {
|
|
10716
|
+
step: 'verifycode'
|
|
10717
|
+
}));
|
|
10718
|
+
}
|
|
10719
|
+
if (data.data.functype == 'verifycode') {
|
|
10720
|
+
setvalidatephonenumberpayload(_objectSpread$2d(_objectSpread$2d({}, validatephonenumberpayload), {}, {
|
|
10721
|
+
isvalidated: true
|
|
10722
|
+
}));
|
|
10723
|
+
setvalidatephonenumbermodal(false);
|
|
10724
|
+
if (customervalidateemail == 1) {
|
|
10725
|
+
if (validateemailpayload.isvalidated) {
|
|
10726
|
+
signupbuttonfunc();
|
|
10727
|
+
} else {
|
|
10728
|
+
setvalidateemailmodal(true);
|
|
10729
|
+
}
|
|
10730
|
+
} else {
|
|
10731
|
+
signupbuttonfunc();
|
|
10732
|
+
}
|
|
10733
|
+
}
|
|
10734
|
+
} else {
|
|
10735
|
+
NotificationManager.warning('', data.data.reason);
|
|
10736
|
+
}
|
|
10737
|
+
}
|
|
10738
|
+
});
|
|
10739
|
+
}
|
|
10740
|
+
} else {
|
|
10741
|
+
NotificationManager.warning(lang.completerequiredfields);
|
|
10742
|
+
}
|
|
10743
|
+
}
|
|
10744
|
+
}, GeneralAPIMutationContext.isLoading && /*#__PURE__*/React.createElement(CircularProgress, {
|
|
10745
|
+
color: "#fff",
|
|
10746
|
+
width: "20px",
|
|
10747
|
+
height: "20px",
|
|
10748
|
+
duration: "1s"
|
|
10749
|
+
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
10750
|
+
style: {
|
|
10751
|
+
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
10752
|
+
}
|
|
10753
|
+
}, validatephonenumberpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React.createElement(Modal.Footer, null)));
|
|
10492
10754
|
};
|
|
10493
10755
|
|
|
10494
10756
|
function ownKeys$2c(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -10996,7 +11258,7 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
10996
11258
|
var lang = props.actions.lang;
|
|
10997
11259
|
var langdetect = props.actions.langdetect;
|
|
10998
11260
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
10999
|
-
|
|
11261
|
+
props.actions.StatePagePropertiesContext;
|
|
11000
11262
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
11001
11263
|
var actions = props.actions;
|
|
11002
11264
|
var _useState = useState(''),
|
|
@@ -11128,7 +11390,7 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11128
11390
|
}, lang.accountinformation)))), /*#__PURE__*/React.createElement("div", {
|
|
11129
11391
|
className: "col-lg-12 p-0"
|
|
11130
11392
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11131
|
-
className: "row m-0 w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-
|
|
11393
|
+
className: "row m-0 w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-3 pr-sm-3",
|
|
11132
11394
|
style: {
|
|
11133
11395
|
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
11134
11396
|
paddingRight: sectionproperties.paddingRight + 'px',
|
|
@@ -11139,7 +11401,8 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11139
11401
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
11140
11402
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
11141
11403
|
borderColor: sectionproperties.sectioncardbordercolor,
|
|
11142
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
11404
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
11405
|
+
background: sectionproperties.cardstyletype == 'Style 1' ? '' : sectionproperties.backgroundColor
|
|
11143
11406
|
}
|
|
11144
11407
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11145
11408
|
className: 'col-lg-12 p-0'
|
|
@@ -11150,16 +11413,28 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11150
11413
|
className: 'col-lg-12 p-0'
|
|
11151
11414
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11152
11415
|
className: "row m-0 w-100"
|
|
11153
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
11416
|
+
}, sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
11417
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
11418
|
+
style: {
|
|
11419
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
11420
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
11421
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
11422
|
+
}
|
|
11423
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
11424
|
+
className: "m-0 p-0",
|
|
11425
|
+
style: {
|
|
11426
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
11427
|
+
color: sectionproperties.sectionTitleColor,
|
|
11428
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
11429
|
+
}
|
|
11430
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
|
|
11154
11431
|
className: 'col-lg-12 p-0'
|
|
11155
11432
|
}, /*#__PURE__*/React.createElement(CustomerInformationForm, {
|
|
11156
11433
|
formtype: "edit",
|
|
11157
11434
|
srcfromprops: "accountinfo",
|
|
11158
11435
|
sectionpropertiesprops: sectionproperties,
|
|
11159
11436
|
actions: actions
|
|
11160
|
-
}))))))
|
|
11161
|
-
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
11162
|
-
}));
|
|
11437
|
+
})))))));
|
|
11163
11438
|
};
|
|
11164
11439
|
|
|
11165
11440
|
var css_248z$F = ".tabs-module_tabs__36dMY {\n position: relative;\n height: auto;\n display: flex;\n width: 100% !important;\n flex-direction: column;\n word-wrap: break-word;\n}\n.tabs-module_tabs__36dMY input[name='tab-control'] {\n display: none;\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy {\n list-style-type: none;\n padding-left: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n /* width: 30%; */\n height: 100%;\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 {\n box-sizing: border-box;\n flex: 1;\n display: inline-block;\n width: 100% !important;\n text-align: left;\n /* border-right: 1px solid #ccc; */\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 label {\n font-size: 16px;\n font-weight: 500;\n transition: all 0.3s ease-in-out;\n padding: 10px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: block;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n white-space: nowrap;\n /* color: var(--light2); */\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 label:hover {\n outline: 0;\n /* border-right: 5px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 label.tabs-module_active__6wLfI {\n /* border-right: 5px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY input[name='tab-control']:nth-of-type(1):checked ~ ul li:nth-child(1) label {\n cursor: default;\n background: white;\n /* border-top: 3px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY input[name='tab-control']:nth-of-type(2):checked ~ ul li:nth-child(2) label {\n cursor: default;\n background: white;\n /* border-top: 3px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY input[name='tab-control']:nth-of-type(3):checked ~ ul li:nth-child(3) label {\n cursor: default;\n background: white;\n /* border-top: 3px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY input[name='tab-control']:nth-of-type(4):checked ~ ul li:nth-child(4) label {\n cursor: default;\n background: white;\n /* border-top: 3px solid var(--secondary); */\n}\n@media screen and (max-width: 800px) {\n .tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy {\n width: 100%;\n display: block;\n white-space: nowrap;\n position: relative;\n overflow-x: scroll;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n }\n .tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 {\n width: 50% !important;\n float: none;\n display: inline-block;\n zoom: 1;\n border-right: 0 !important;\n }\n /* label:hover {\n border-right: 0 !important;\n border-top: 3px solid !important;\n } */\n .tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsliheaderresp__TPNhh{\n width: 50% !important;\n }\n .tabs-module_accordionContainer__-MSW5 label:hover {\n border-top: none !important;\n } \n}\n@media (max-width: 576px) {\n .tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 {\n width: 100% !important;\n }\n .tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsliheaderresp__TPNhh{\n width: 50% !important;\n }\n}\n\n.tabs-module_policiestabs__nopXD .tabs-module_tabsul__wNZqy {\n flex-direction: row !important;\n}\n.tabs-module_policiestabs__nopXD .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 {\n /* border-top: 5px solid #fff; */\n margin: 0 5px;\n}\n.tabs-module_policiestabs__nopXD .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 label {\n padding: 0 !important;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n";
|
|
@@ -11713,7 +11988,8 @@ var CartSlider = function CartSlider(props) {
|
|
|
11713
11988
|
scroll: true,
|
|
11714
11989
|
style: {
|
|
11715
11990
|
backgroundColor: sectionproperties.backgroundColor,
|
|
11716
|
-
height: '100vh'
|
|
11991
|
+
height: '100vh',
|
|
11992
|
+
width: '30vw'
|
|
11717
11993
|
},
|
|
11718
11994
|
backdrop: CurrentSrcTypeContext == 'workplace' ? false : true
|
|
11719
11995
|
}, /*#__PURE__*/React.createElement(Offcanvas.Header, null, /*#__PURE__*/React.createElement(Offcanvas.Title, null, /*#__PURE__*/React.createElement("div", {
|
|
@@ -11800,7 +12076,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
11800
12076
|
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 || (_fetchcustomercartQue5 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : _fetchcustomercartQue5.customercart) != null && /*#__PURE__*/React.createElement("div", {
|
|
11801
12077
|
className: "row m-0 w-100 h-100"
|
|
11802
12078
|
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue6 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue6 === void 0 || (_fetchcustomercartQue6 = _fetchcustomercartQue6.data) === null || _fetchcustomercartQue6 === void 0 || (_fetchcustomercartQue6 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.cartitems) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
11803
|
-
className: "col-lg-12 p-0 mt-5 anim"
|
|
12079
|
+
className: "col-lg-12 p-0 mt-5 anim pt-3"
|
|
11804
12080
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11805
12081
|
className: "row m-0 w-100 d-flex align-items-center justify-content-center",
|
|
11806
12082
|
style: {
|
|
@@ -13093,6 +13369,15 @@ var Filter$1 = function Filter(props) {
|
|
|
13093
13369
|
cursor: 'pointer',
|
|
13094
13370
|
color: sectionproperties.showallcolorhover
|
|
13095
13371
|
}
|
|
13372
|
+
}),
|
|
13373
|
+
sectiontitle: css({
|
|
13374
|
+
position: 'relative',
|
|
13375
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
13376
|
+
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
13377
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
13378
|
+
'@media (max-width: 800px)': {
|
|
13379
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
13380
|
+
}
|
|
13096
13381
|
})
|
|
13097
13382
|
};
|
|
13098
13383
|
var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
|
|
@@ -13268,19 +13553,18 @@ var Filter$1 = function Filter(props) {
|
|
|
13268
13553
|
minHeight: sectionproperties.filterminheight == 0 ? 'auto' : sectionproperties.filterminheight + 'vh'
|
|
13269
13554
|
}
|
|
13270
13555
|
}, sectionproperties.filterType == 'Title & Sort By Only' && /*#__PURE__*/React.createElement("div", {
|
|
13271
|
-
"class": "row
|
|
13556
|
+
"class": "row mx-0 w-100",
|
|
13557
|
+
style: {
|
|
13558
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
13559
|
+
marginBottom: sectionproperties.sectiontitledirection == 'Vertical' ? sectionproperties.sectionTitleMarginBottom + 'px' : 0,
|
|
13560
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
|
|
13561
|
+
paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
|
|
13562
|
+
}
|
|
13272
13563
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13273
13564
|
"class": "col-lg-6 col-md-6 p-0 d-flex align-items-center justify-content-start"
|
|
13274
13565
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13275
|
-
"class":
|
|
13276
|
-
style: {
|
|
13277
|
-
position: 'relative',
|
|
13278
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
13279
|
-
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
13280
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
13281
|
-
marginTop: sectionproperties.showbadge == 'Show' ? sectionproperties.sectionTitleMarginTop + 'px' : 0,
|
|
13282
|
-
marginBottom: sectionproperties.sectiontitledirection == 'Vertical' ? sectionproperties.sectionTitleMarginBottom + 'px' : 0
|
|
13283
|
-
}
|
|
13566
|
+
"class": filter_cssstyles.sectiontitle + ' d-flex align-items-center flex-row ',
|
|
13567
|
+
style: {}
|
|
13284
13568
|
}, /*#__PURE__*/React.createElement("p", {
|
|
13285
13569
|
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
|
|
13286
13570
|
style: {
|
|
@@ -13291,7 +13575,11 @@ var Filter$1 = function Filter(props) {
|
|
|
13291
13575
|
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
13292
13576
|
}
|
|
13293
13577
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), /*#__PURE__*/React.createElement("div", {
|
|
13294
|
-
"class": "col-lg-6 col-md-6 d-flex align-items-center justify-content-end"
|
|
13578
|
+
"class": "col-lg-6 col-md-6 d-flex align-items-center justify-content-end",
|
|
13579
|
+
style: {
|
|
13580
|
+
paddingRight: langdetect == 'en' ? 0 : '',
|
|
13581
|
+
paddingLeft: langdetect == 'ar' ? 0 : ''
|
|
13582
|
+
}
|
|
13295
13583
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13296
13584
|
"class": "dropdowncontainer"
|
|
13297
13585
|
}, /*#__PURE__*/React.createElement("input", {
|
|
@@ -13305,7 +13593,7 @@ var Filter$1 = function Filter(props) {
|
|
|
13305
13593
|
onClick: function onClick() {
|
|
13306
13594
|
setChecked(!checked);
|
|
13307
13595
|
},
|
|
13308
|
-
className: filter_cssstyles.
|
|
13596
|
+
className: filter_cssstyles.collapsetitle + ' d-flex justify-content-end align-items-center for-dropdown m-0 ',
|
|
13309
13597
|
"for": "dropdown",
|
|
13310
13598
|
style: {
|
|
13311
13599
|
cursor: 'pointer'
|
|
@@ -13315,7 +13603,10 @@ var Filter$1 = function Filter(props) {
|
|
|
13315
13603
|
}, /*#__PURE__*/React.createElement(FiChevronDown, {
|
|
13316
13604
|
size: 20
|
|
13317
13605
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
13318
|
-
"class": "dropdownmenu"
|
|
13606
|
+
"class": "dropdownmenu",
|
|
13607
|
+
style: {
|
|
13608
|
+
background: sectionproperties.filter_backgroundcolor
|
|
13609
|
+
}
|
|
13319
13610
|
}, otherfilters.map(function (item, index) {
|
|
13320
13611
|
return /*#__PURE__*/React.createElement("div", {
|
|
13321
13612
|
"class": "w-100"
|
|
@@ -15093,164 +15384,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
15093
15384
|
if (cardinfoindex < sectionproperties.overallnumberofcards) {
|
|
15094
15385
|
return /*#__PURE__*/React.createElement("div", {
|
|
15095
15386
|
"class": bootstapclass
|
|
15096
|
-
// class={
|
|
15097
|
-
// sectionproperties.numberOfColsvertical == '1'
|
|
15098
|
-
// ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
|
|
15099
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-4 p-0 d-flex justify-content-center col-sm-6 '
|
|
15100
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
|
|
15101
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0 '
|
|
15102
|
-
// : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
15103
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15104
|
-
// : item.tabexsectioninfo.sectioncompname == 'MenuCard'
|
|
15105
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15106
|
-
// : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
|
|
15107
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15108
|
-
// : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
|
|
15109
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15110
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
|
|
15111
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
|
|
15112
|
-
// : item.tabexsectioninfo.sectioncompname == 'Card20'
|
|
15113
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto'
|
|
15114
|
-
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
15115
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15116
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
|
|
15117
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15118
|
-
// : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
|
|
15119
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15120
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
|
|
15121
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15122
|
-
// : ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15123
|
-
// : sectionproperties.numberOfColsvertical == '2'
|
|
15124
|
-
// ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
|
|
15125
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15126
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft '
|
|
15127
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0 '
|
|
15128
|
-
// : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
15129
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15130
|
-
// : item.tabexsectioninfo.sectioncompname == 'MenuCard'
|
|
15131
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15132
|
-
// : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
|
|
15133
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15134
|
-
// : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
|
|
15135
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15136
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
|
|
15137
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
|
|
15138
|
-
// : item.tabexsectioninfo.sectioncompname == 'Card20'
|
|
15139
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
|
|
15140
|
-
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
15141
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15142
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
|
|
15143
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0'
|
|
15144
|
-
// : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
|
|
15145
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0'
|
|
15146
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
|
|
15147
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15148
|
-
// : ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0'
|
|
15149
|
-
// : sectionproperties.numberOfColsvertical == '3'
|
|
15150
|
-
// ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
|
|
15151
|
-
// ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center '
|
|
15152
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
|
|
15153
|
-
// ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15154
|
-
// : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
15155
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15156
|
-
// : item.tabexsectioninfo.sectioncompname == 'MenuCard'
|
|
15157
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15158
|
-
// : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
|
|
15159
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15160
|
-
// : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
|
|
15161
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15162
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
|
|
15163
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
|
|
15164
|
-
// : item.tabexsectioninfo.sectioncompname == 'Card20'
|
|
15165
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
|
|
15166
|
-
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
15167
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15168
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
|
|
15169
|
-
// ? ' col-xl-4 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15170
|
-
// : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
|
|
15171
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0'
|
|
15172
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
|
|
15173
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15174
|
-
// : ' col-xl-4 col-lg-4 col-md-6 col-sm-6 d-flex justify-content-center p-0 '
|
|
15175
|
-
// : sectionproperties.numberOfColsvertical == '4'
|
|
15176
|
-
// ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
|
|
15177
|
-
// ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15178
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
|
|
15179
|
-
// ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15180
|
-
// : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
15181
|
-
// ? ' col-xl-3 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15182
|
-
// : item.tabexsectioninfo.sectioncompname == 'MenuCard'
|
|
15183
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15184
|
-
// : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
|
|
15185
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15186
|
-
// : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
|
|
15187
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15188
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
|
|
15189
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
|
|
15190
|
-
// : item.tabexsectioninfo.sectioncompname == 'Card20'
|
|
15191
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
|
|
15192
|
-
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
15193
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15194
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
|
|
15195
|
-
// ? ' col-xl-3 col-lg-4 col-md-4 col-sm-12 p-0 d-flex justify-content-center p-0 '
|
|
15196
|
-
// : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
|
|
15197
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0'
|
|
15198
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
|
|
15199
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15200
|
-
// : ' col-xl-3 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center p-0 '
|
|
15201
|
-
// : sectionproperties.numberOfColsvertical == '12'
|
|
15202
|
-
// ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
|
|
15203
|
-
// ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15204
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
|
|
15205
|
-
// ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15206
|
-
// : item.tabexsectioninfo.sectioncompname == 'MenuCard'
|
|
15207
|
-
// ? ' col-xl-3 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15208
|
-
// : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
|
|
15209
|
-
// ? ' col-xl-3 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15210
|
-
// : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
|
|
15211
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15212
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
|
|
15213
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
|
|
15214
|
-
// : item.tabexsectioninfo.sectioncompname == 'Card20'
|
|
15215
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
|
|
15216
|
-
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
15217
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15218
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
|
|
15219
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15220
|
-
// : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
|
|
15221
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0'
|
|
15222
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
|
|
15223
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15224
|
-
// : ''
|
|
15225
|
-
// : sectionproperties.numberOfColsvertical == '6'
|
|
15226
|
-
// ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
|
|
15227
|
-
// ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15228
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
|
|
15229
|
-
// ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15230
|
-
// : item.tabexsectioninfo.sectioncompname == 'MenuCard'
|
|
15231
|
-
// ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15232
|
-
// : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
|
|
15233
|
-
// ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15234
|
-
// : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
|
|
15235
|
-
// ? ' col-xl-2 p-0 col-lg-2 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15236
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
|
|
15237
|
-
// ? ' col-xl-2 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
|
|
15238
|
-
// : item.tabexsectioninfo.sectioncompname == 'Card20'
|
|
15239
|
-
// ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
|
|
15240
|
-
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
15241
|
-
// ? ' col-xl-2 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' +
|
|
15242
|
-
// sectionproperties.numberOfColsverticalresp
|
|
15243
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
|
|
15244
|
-
// ? ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15245
|
-
// : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
|
|
15246
|
-
// ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0'
|
|
15247
|
-
// : item.tabexsectioninfo.sectioncompname == 'CardWithTextOnly'
|
|
15248
|
-
// ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15249
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
|
|
15250
|
-
// ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15251
|
-
// : ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15252
|
-
// : ''
|
|
15253
|
-
// }
|
|
15254
15387
|
}, /*#__PURE__*/React.createElement(Sectioncomp, {
|
|
15255
15388
|
sectiontypeprops: 'horizontal',
|
|
15256
15389
|
sectiontypeprops2: 'vertical',
|
|
@@ -16224,7 +16357,7 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
16224
16357
|
minHeight: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : props.srcfromprops == 'cardssection' ? '30vh' : props.srcfromprops == 'ElegantHeader' ? '50vh' : '30vh'
|
|
16225
16358
|
}),
|
|
16226
16359
|
searchlist_innercontainer: css({
|
|
16227
|
-
height: props.srcfromprops == 'cardssection' ? '25vh' : props.srcfromprops == 'ElegantHeader' ? '
|
|
16360
|
+
height: props.srcfromprops == 'cardssection' ? '25vh' : props.srcfromprops == 'ElegantHeader' ? '48vh' : '30vh',
|
|
16228
16361
|
overflowY: 'scroll'
|
|
16229
16362
|
// height: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : props.srcfromprops == 'cardssection' ? '25vh' : '30vh',
|
|
16230
16363
|
// overflowY: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? 'scroll' : 'hidden',
|
|
@@ -16348,9 +16481,12 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
16348
16481
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
16349
16482
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
16350
16483
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16351
|
-
"class": props.srcfromprops == 'ElegantHeader' ? "".concat(searchlist_styles.productNameStyles) + ' m-0 wordbreak wordbreak2 p-0 ' : "".concat(searchlist_styles.productNameStyles) + ' m-0 text-overflow p-0 '
|
|
16484
|
+
"class": props.srcfromprops == 'ElegantHeader' ? "".concat(searchlist_styles.productNameStyles) + ' m-0 wordbreak wordbreak2 p-0 ' : "".concat(searchlist_styles.productNameStyles) + ' m-0 text-overflow p-0 ',
|
|
16485
|
+
style: {
|
|
16486
|
+
textAlign: 'center'
|
|
16487
|
+
}
|
|
16352
16488
|
}, langdetect == 'en' ? item.name_en : item.name_ar)), sectionproperties.searchlistshowprice == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
16353
|
-
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
16489
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered mt-2"
|
|
16354
16490
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16355
16491
|
"class": "".concat(searchlist_styles.productPricestyles) + ' m-0 '
|
|
16356
16492
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
|
|
@@ -18027,23 +18163,27 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18027
18163
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
18028
18164
|
menuactive = _useState6[0],
|
|
18029
18165
|
setmenuactive = _useState6[1];
|
|
18166
|
+
var _useState7 = useState(false),
|
|
18167
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
18168
|
+
openSearch = _useState8[0],
|
|
18169
|
+
setopenSearch = _useState8[1];
|
|
18030
18170
|
useEffect(function () {
|
|
18031
18171
|
if (props.sectionpropertiesprops != undefined) {
|
|
18032
18172
|
setsectionproperties(_objectSpread$1T({}, props.sectionpropertiesprops));
|
|
18033
18173
|
}
|
|
18034
18174
|
}, [props.sectionpropertiesprops]);
|
|
18035
|
-
var
|
|
18036
|
-
|
|
18037
|
-
logoarrayofobjects =
|
|
18038
|
-
setlogoarrayofobjects =
|
|
18039
|
-
var
|
|
18040
|
-
_useState10 = _slicedToArray(_useState9, 2);
|
|
18041
|
-
_useState10[0];
|
|
18042
|
-
_useState10[1];
|
|
18043
|
-
var _useState11 = useState(''),
|
|
18175
|
+
var _useState9 = useState([]),
|
|
18176
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
18177
|
+
logoarrayofobjects = _useState10[0],
|
|
18178
|
+
setlogoarrayofobjects = _useState10[1];
|
|
18179
|
+
var _useState11 = useState(false),
|
|
18044
18180
|
_useState12 = _slicedToArray(_useState11, 2);
|
|
18045
18181
|
_useState12[0];
|
|
18046
18182
|
_useState12[1];
|
|
18183
|
+
var _useState13 = useState(''),
|
|
18184
|
+
_useState14 = _slicedToArray(_useState13, 2);
|
|
18185
|
+
_useState14[0];
|
|
18186
|
+
_useState14[1];
|
|
18047
18187
|
useEffect(function () {
|
|
18048
18188
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
18049
18189
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -18220,7 +18360,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18220
18360
|
var CartButton = function CartButton() {
|
|
18221
18361
|
var _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
18222
18362
|
return /*#__PURE__*/React.createElement("div", {
|
|
18223
|
-
"class": "d-flex align-items-center",
|
|
18363
|
+
"class": "d-flex align-items-center mx-2",
|
|
18224
18364
|
style: {
|
|
18225
18365
|
position: 'relative'
|
|
18226
18366
|
}
|
|
@@ -18260,9 +18400,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18260
18400
|
};
|
|
18261
18401
|
return /*#__PURE__*/React.createElement("div", {
|
|
18262
18402
|
className: "row m-0 w-100"
|
|
18263
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
18264
|
-
className: "col-lg-12 p-0"
|
|
18265
18403
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
18404
|
+
className: "col-lg-12 p-0"
|
|
18405
|
+
}, openSearch == false && /*#__PURE__*/React.createElement("div", {
|
|
18266
18406
|
className: ' row m-0 w-100 d-none d-md-flex p-0 '
|
|
18267
18407
|
}, sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React.createElement(MarqueeHeader, {
|
|
18268
18408
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -18297,7 +18437,12 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18297
18437
|
}
|
|
18298
18438
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
18299
18439
|
className: "col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0"
|
|
18300
|
-
},
|
|
18440
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
18441
|
+
"class": "h-100 allcentered",
|
|
18442
|
+
onClick: function onClick() {
|
|
18443
|
+
setopenSearch(true);
|
|
18444
|
+
}
|
|
18445
|
+
}, /*#__PURE__*/React.createElement(IoSearchOutline, null)), sectionproperties.cartBtnShow == 'Show' && CartButton(), /*#__PURE__*/React.createElement("i", {
|
|
18301
18446
|
"class": ' h-100 allcentered ',
|
|
18302
18447
|
style: {
|
|
18303
18448
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
@@ -18316,7 +18461,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18316
18461
|
size: 20,
|
|
18317
18462
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
18318
18463
|
}))), menuactive == true && /*#__PURE__*/React.createElement("div", {
|
|
18319
|
-
"class": "px-4 py-4",
|
|
18464
|
+
"class": "px-4 py-4 scrollvertical",
|
|
18320
18465
|
style: {
|
|
18321
18466
|
position: 'fixed',
|
|
18322
18467
|
top: '0px',
|
|
@@ -18325,7 +18470,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18325
18470
|
width: '100%',
|
|
18326
18471
|
background: sectionproperties.resposive_bgcolor,
|
|
18327
18472
|
height: '100%',
|
|
18328
|
-
zIndex: 10000
|
|
18473
|
+
zIndex: 10000,
|
|
18474
|
+
overflow: 'scroll'
|
|
18329
18475
|
}
|
|
18330
18476
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18331
18477
|
"class": "col-lg-12 text-end anim"
|
|
@@ -18453,7 +18599,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18453
18599
|
color: '#000',
|
|
18454
18600
|
fontSize: 16
|
|
18455
18601
|
}
|
|
18456
|
-
}, lang.logout))))))));
|
|
18602
|
+
}, lang.logout)))))), openSearch == true && /*#__PURE__*/React.createElement("p", null, "asd")));
|
|
18457
18603
|
};
|
|
18458
18604
|
|
|
18459
18605
|
function ownKeys$1S(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -18852,19 +18998,16 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18852
18998
|
})), /*#__PURE__*/React.createElement("span", {
|
|
18853
18999
|
"class": "mx-2"
|
|
18854
19000
|
}, langdetect == 'en' ? 'Login' : 'تسجيل الدخول')), authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
18855
|
-
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
19001
|
+
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
|
|
18856
19002
|
sytle: {
|
|
18857
19003
|
position: 'relative'
|
|
18858
|
-
},
|
|
18859
|
-
onClick: function onClick() {
|
|
18860
|
-
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
18861
19004
|
}
|
|
18862
19005
|
}, /*#__PURE__*/React.createElement("i", {
|
|
18863
19006
|
"class": ' h-100 d-flex align-items-center '
|
|
18864
19007
|
}, /*#__PURE__*/React.createElement(BiUser, {
|
|
18865
19008
|
size: sectionproperties.userBtnTextfontsize
|
|
18866
19009
|
})), /*#__PURE__*/React.createElement("span", {
|
|
18867
|
-
"class": "mx-2"
|
|
19010
|
+
"class": "mx-2 text-capitalize"
|
|
18868
19011
|
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
|
|
18869
19012
|
style: {
|
|
18870
19013
|
minWidth: '200px'
|
|
@@ -18885,15 +19028,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18885
19028
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
18886
19029
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18887
19030
|
"class": ' allcenetered m-0 p-0 '
|
|
18888
|
-
},
|
|
18889
|
-
onClick: function onClick() {
|
|
18890
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
18891
|
-
}
|
|
18892
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
18893
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
18894
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
18895
|
-
"class": ' allcenetered m-0 p-0 '
|
|
18896
|
-
}, lang.policies))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
19031
|
+
}, langdetect == 'en' ? sectionproperties.wishlisttitle_en : sectionproperties.wishlisttitle_ar))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
18897
19032
|
onClick: function onClick() {
|
|
18898
19033
|
LogoutMutationContext.mutate();
|
|
18899
19034
|
}
|
|
@@ -35784,8 +35919,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
35784
35919
|
}
|
|
35785
35920
|
}),
|
|
35786
35921
|
cart_btn: css({
|
|
35787
|
-
width: sectionproperties.cartBtnWidth + 'px',
|
|
35788
|
-
height: sectionproperties.cartBtnHeight + 'px',
|
|
35922
|
+
width: sectionproperties.cartBtnWidth == 0 ? 'auto' : sectionproperties.cartBtnWidth + 'px',
|
|
35923
|
+
height: sectionproperties.cartBtnHeight == 0 ? 'auto' : sectionproperties.cartBtnHeight + 'px',
|
|
35789
35924
|
background: sectionproperties.cartBtnbgColor,
|
|
35790
35925
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
35791
35926
|
color: sectionproperties.cart_iconcolor,
|
|
@@ -35957,7 +36092,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
35957
36092
|
}
|
|
35958
36093
|
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), /*#__PURE__*/React.createElement("div", {
|
|
35959
36094
|
"class": "col-lg-6 p-0 d-flex justify-content-end align-items-center"
|
|
35960
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
36095
|
+
}, sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
35961
36096
|
"class": header_cssstyles.languagecontainer + ' m-0 p-0 ',
|
|
35962
36097
|
onClick: function onClick() {
|
|
35963
36098
|
if (langdetect == 'en') {
|
|
@@ -36014,7 +36149,20 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
36014
36149
|
}
|
|
36015
36150
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
36016
36151
|
"class": "col-lg-4 col-md-6 col-sm-12 p-0 d-flex align-items-center justify-content-end"
|
|
36017
|
-
}, sectionproperties.
|
|
36152
|
+
}, sectionproperties.showupperheadersection == 'Hide' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
36153
|
+
"class": header_cssstyles.languagecontainer + ' p-0 mb-0 pb-0 ',
|
|
36154
|
+
style: {
|
|
36155
|
+
marginRight: langdetect == 'en' ? '35px' : 0,
|
|
36156
|
+
marginLeft: langdetect == 'ar' ? '35px' : 0
|
|
36157
|
+
},
|
|
36158
|
+
onClick: function onClick() {
|
|
36159
|
+
if (langdetect == 'en') {
|
|
36160
|
+
setlang('ar');
|
|
36161
|
+
} else {
|
|
36162
|
+
setlang('en');
|
|
36163
|
+
}
|
|
36164
|
+
}
|
|
36165
|
+
}, langdetect == 'en' ? 'English' : 'لغة عربية'), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36018
36166
|
style: {
|
|
36019
36167
|
marginRight: langdetect == 'en' ? '30px' : 0,
|
|
36020
36168
|
marginLeft: langdetect == 'en' ? 0 : '30px'
|
|
@@ -36112,10 +36260,6 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
36112
36260
|
"class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ',
|
|
36113
36261
|
onClick: function onClick() {
|
|
36114
36262
|
setsidecartnavshowcontext(true);
|
|
36115
|
-
},
|
|
36116
|
-
style: {
|
|
36117
|
-
marginRight: langdetect == 'en' ? '30px' : 0,
|
|
36118
|
-
marginLeft: langdetect == 'en' ? 0 : '30px'
|
|
36119
36263
|
}
|
|
36120
36264
|
}, /*#__PURE__*/React.createElement("span", {
|
|
36121
36265
|
"class": ' pr-0 ',
|
|
@@ -36276,7 +36420,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
36276
36420
|
}
|
|
36277
36421
|
}))));
|
|
36278
36422
|
}
|
|
36279
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
36423
|
+
}), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36280
36424
|
"class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
|
|
36281
36425
|
}, /*#__PURE__*/React.createElement("div", {
|
|
36282
36426
|
"class": "row m-0 w-100"
|
|
@@ -36830,7 +36974,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
36830
36974
|
function ownKeys$1w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
36831
36975
|
function _objectSpread$1w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
36832
36976
|
var Footer1 = function Footer1(props) {
|
|
36833
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$
|
|
36977
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
36834
36978
|
var _useState = useState(''),
|
|
36835
36979
|
_useState2 = _slicedToArray(_useState, 2),
|
|
36836
36980
|
sectionproperties = _useState2[0],
|
|
@@ -36910,8 +37054,7 @@ var Footer1 = function Footer1(props) {
|
|
|
36910
37054
|
}),
|
|
36911
37055
|
facebook_btn: css({
|
|
36912
37056
|
cursor: 'pointer',
|
|
36913
|
-
|
|
36914
|
-
background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
|
|
37057
|
+
background: sectionproperties.facebkbtnnbgColor,
|
|
36915
37058
|
width: sectionproperties.facebkbtnnWidth + 'px',
|
|
36916
37059
|
height: sectionproperties.facebkbtnnHeight + 'px',
|
|
36917
37060
|
borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
|
|
@@ -36919,14 +37062,14 @@ var Footer1 = function Footer1(props) {
|
|
|
36919
37062
|
border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
|
|
36920
37063
|
transition: '.3s',
|
|
36921
37064
|
':hover': {
|
|
36922
|
-
background: sectionproperties.
|
|
37065
|
+
background: sectionproperties.facebkbtnnbgColoronhover,
|
|
36923
37066
|
color: sectionproperties.facebkbtnnTextcoloronhover,
|
|
36924
|
-
borderColor: sectionproperties.
|
|
37067
|
+
borderColor: sectionproperties.facebkbtnnTextcoloronhover
|
|
36925
37068
|
}
|
|
36926
37069
|
}),
|
|
36927
37070
|
youtube_btn: css({
|
|
36928
37071
|
cursor: 'pointer',
|
|
36929
|
-
background: sectionproperties.
|
|
37072
|
+
background: sectionproperties.youtubebtnbgColor,
|
|
36930
37073
|
width: sectionproperties.youtubebtnWidth + 'px',
|
|
36931
37074
|
height: sectionproperties.youtubebtnHeight + 'px',
|
|
36932
37075
|
borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
|
|
@@ -36934,14 +37077,14 @@ var Footer1 = function Footer1(props) {
|
|
|
36934
37077
|
border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
|
|
36935
37078
|
transition: '.3s',
|
|
36936
37079
|
':hover': {
|
|
36937
|
-
background: sectionproperties.
|
|
37080
|
+
background: sectionproperties.youtubebtnbgColoronhover,
|
|
36938
37081
|
color: sectionproperties.youtubebtnTextcoloronhover,
|
|
36939
|
-
borderColor: sectionproperties.
|
|
37082
|
+
borderColor: sectionproperties.youtubebtnTextcoloronhover
|
|
36940
37083
|
}
|
|
36941
37084
|
}),
|
|
36942
37085
|
instgram_btn: css({
|
|
36943
37086
|
cursor: 'pointer',
|
|
36944
|
-
background: sectionproperties.
|
|
37087
|
+
background: sectionproperties.instgrambtnbgColor,
|
|
36945
37088
|
width: sectionproperties.instgrambtnWidth + 'px',
|
|
36946
37089
|
height: sectionproperties.instgrambtnHeight + 'px',
|
|
36947
37090
|
borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
|
|
@@ -36949,9 +37092,9 @@ var Footer1 = function Footer1(props) {
|
|
|
36949
37092
|
border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
|
|
36950
37093
|
transition: '.3s',
|
|
36951
37094
|
':hover': {
|
|
36952
|
-
background: sectionproperties.
|
|
37095
|
+
background: sectionproperties.instgrambtnbgColoronhover,
|
|
36953
37096
|
color: sectionproperties.instgrambtnTextcoloronhover,
|
|
36954
|
-
borderColor: sectionproperties.
|
|
37097
|
+
borderColor: sectionproperties.instgrambtnTextcoloronhover
|
|
36955
37098
|
}
|
|
36956
37099
|
}),
|
|
36957
37100
|
footersubtitlestyles: css({
|
|
@@ -36980,11 +37123,45 @@ var Footer1 = function Footer1(props) {
|
|
|
36980
37123
|
height: sectionproperties.vl_height + 'px',
|
|
36981
37124
|
width: sectionproperties.vl_width + '%',
|
|
36982
37125
|
overflow: 'hidden',
|
|
36983
|
-
marginLeft: sectionproperties.vl_ml + 'px',
|
|
36984
|
-
marginRight: sectionproperties.vl_mr + 'px',
|
|
36985
37126
|
background: sectionproperties.vl_bg
|
|
37127
|
+
}),
|
|
37128
|
+
apptore: css({
|
|
37129
|
+
maxWidth: '10%',
|
|
37130
|
+
height: 'auto',
|
|
37131
|
+
objectFit: 'contain',
|
|
37132
|
+
'@media (max-width: 800px)': {
|
|
37133
|
+
maxWidth: '20%',
|
|
37134
|
+
height: 'auto'
|
|
37135
|
+
},
|
|
37136
|
+
'@media (max-width: 600px)': {
|
|
37137
|
+
maxWidth: '35%',
|
|
37138
|
+
height: 'auto'
|
|
37139
|
+
}
|
|
37140
|
+
}),
|
|
37141
|
+
playstore: css({
|
|
37142
|
+
maxWidth: '10%',
|
|
37143
|
+
height: 'auto',
|
|
37144
|
+
objectFit: 'contain',
|
|
37145
|
+
'@media (max-width: 800px)': {
|
|
37146
|
+
maxWidth: '20%',
|
|
37147
|
+
height: 'auto'
|
|
37148
|
+
},
|
|
37149
|
+
'@media (max-width: 600px)': {
|
|
37150
|
+
maxWidth: '35%',
|
|
37151
|
+
height: 'auto'
|
|
37152
|
+
}
|
|
36986
37153
|
})
|
|
36987
37154
|
};
|
|
37155
|
+
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
37156
|
+
var _authdetailsContext$i;
|
|
37157
|
+
var policyobj = {};
|
|
37158
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instpolicies) === null || _authdetailsContext$i === void 0 || _authdetailsContext$i.forEach(function (item, index) {
|
|
37159
|
+
if (item.policytype == policytype) {
|
|
37160
|
+
policyobj = item;
|
|
37161
|
+
}
|
|
37162
|
+
});
|
|
37163
|
+
return policyobj;
|
|
37164
|
+
};
|
|
36988
37165
|
return /*#__PURE__*/React.createElement("div", {
|
|
36989
37166
|
"class": "row m-0 w-100 d-flex justify-content-center"
|
|
36990
37167
|
}, /*#__PURE__*/React.createElement("footer", {
|
|
@@ -37005,16 +37182,7 @@ var Footer1 = function Footer1(props) {
|
|
|
37005
37182
|
objectFit: 'contain'
|
|
37006
37183
|
},
|
|
37007
37184
|
loading: "lazy"
|
|
37008
|
-
})),
|
|
37009
|
-
"class": "mb-0 p-0",
|
|
37010
|
-
style: {
|
|
37011
|
-
color: sectionproperties.titlecolor,
|
|
37012
|
-
textTransform: sectionproperties.titletexttransform,
|
|
37013
|
-
fontWeight: sectionproperties.titlefontweight,
|
|
37014
|
-
fontSize: sectionproperties.titlefontsize + 'px',
|
|
37015
|
-
marginLeft: sectionproperties.titlemarginleft + 'px'
|
|
37016
|
-
}
|
|
37017
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.storename_en)), /*#__PURE__*/React.createElement("div", {
|
|
37185
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
37018
37186
|
"class": "col-lg-12 d-none d-md-block align-items-center justify-content-start justify-content-md-center"
|
|
37019
37187
|
}, /*#__PURE__*/React.createElement("div", {
|
|
37020
37188
|
"class": "".concat(footerStyles.footerlogo) + ' d-flex align-items-center justify-content-center col-lg-12 w-100 '
|
|
@@ -37028,18 +37196,7 @@ var Footer1 = function Footer1(props) {
|
|
|
37028
37196
|
objectFit: 'contain'
|
|
37029
37197
|
},
|
|
37030
37198
|
loading: "lazy"
|
|
37031
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
37032
|
-
"class": ' w-100 d-flex align-items-center justify-content-center col-lg-12 '
|
|
37033
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
37034
|
-
"class": "mb-0 p-0",
|
|
37035
|
-
style: {
|
|
37036
|
-
color: sectionproperties.titlecolor,
|
|
37037
|
-
textTransform: sectionproperties.titletexttransform,
|
|
37038
|
-
fontWeight: sectionproperties.titlefontweight,
|
|
37039
|
-
fontSize: sectionproperties.titlefontsize + 'px',
|
|
37040
|
-
marginLeft: sectionproperties.titlemarginleft + 'px'
|
|
37041
|
-
}
|
|
37042
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.storename_en))), /*#__PURE__*/React.createElement("div", {
|
|
37199
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
37043
37200
|
"class": "row m-0 w-100"
|
|
37044
37201
|
}, /*#__PURE__*/React.createElement("div", {
|
|
37045
37202
|
"class": "col-lg-7 col-sm-12"
|
|
@@ -37048,7 +37205,6 @@ var Footer1 = function Footer1(props) {
|
|
|
37048
37205
|
}, sectionproperties.showhidemainpages == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37049
37206
|
"class": "col-lg-10 col-md-12 d-flex d-md-none flex-row align-items-center justify-content-start mt-3 p-0"
|
|
37050
37207
|
}, templatepropcontext === null || templatepropcontext === void 0 ? void 0 : templatepropcontext.pagesnprop.map(function (item, index) {
|
|
37051
|
-
if (item.isselected) ;
|
|
37052
37208
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
37053
37209
|
return /*#__PURE__*/React.createElement("div", {
|
|
37054
37210
|
onClick: function onClick() {
|
|
@@ -37061,7 +37217,6 @@ var Footer1 = function Footer1(props) {
|
|
|
37061
37217
|
})), sectionproperties.showhidemainpages == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37062
37218
|
"class": "d-none d-md-block align-items-center justify-content-center mt-3 p-0 row m-0 w-100"
|
|
37063
37219
|
}, templatepropcontext === null || templatepropcontext === void 0 ? void 0 : templatepropcontext.pagesnprop.map(function (item, index) {
|
|
37064
|
-
if (item.isselected) ;
|
|
37065
37220
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
37066
37221
|
return /*#__PURE__*/React.createElement("div", {
|
|
37067
37222
|
"class": "col-lg-12 p-0 d-flex justify-content-center"
|
|
@@ -37074,31 +37229,59 @@ var Footer1 = function Footer1(props) {
|
|
|
37074
37229
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar, " ")));
|
|
37075
37230
|
}
|
|
37076
37231
|
})), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37077
|
-
"class": "d-none d-md-block align-items-center justify-content-
|
|
37232
|
+
"class": "d-none d-md-block align-items-center justify-content-start mt-3 p-0 row m-0 w-100"
|
|
37078
37233
|
}, /*#__PURE__*/React.createElement("div", {
|
|
37079
37234
|
"class": "row m-0 w-100"
|
|
37080
37235
|
}, /*#__PURE__*/React.createElement("div", {
|
|
37081
|
-
"class": "col-lg-12 d-flex justify-content-
|
|
37236
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37082
37237
|
}, /*#__PURE__*/React.createElement("p", {
|
|
37083
37238
|
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37084
37239
|
onClick: function onClick() {
|
|
37085
37240
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
37086
37241
|
}
|
|
37087
37242
|
}, lang.wishlist)), authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
37088
|
-
"class": "col-lg-12 d-flex justify-content-
|
|
37243
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37089
37244
|
}, /*#__PURE__*/React.createElement("p", {
|
|
37090
37245
|
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37091
37246
|
onClick: function onClick() {
|
|
37092
37247
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
37093
37248
|
}
|
|
37094
|
-
}, lang.orderhistory)), /*#__PURE__*/React.createElement("div", {
|
|
37095
|
-
"class": "col-lg-12 d-flex justify-content-
|
|
37249
|
+
}, lang.orderhistory)), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React.createElement("div", {
|
|
37250
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37096
37251
|
}, /*#__PURE__*/React.createElement("p", {
|
|
37097
37252
|
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37098
37253
|
onClick: function onClick() {
|
|
37099
37254
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
37100
37255
|
}
|
|
37101
|
-
}, lang.policies))
|
|
37256
|
+
}, lang.policies)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
37257
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37258
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
37259
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37260
|
+
onClick: function onClick() {
|
|
37261
|
+
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
37262
|
+
}
|
|
37263
|
+
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
37264
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37265
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
37266
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37267
|
+
onClick: function onClick() {
|
|
37268
|
+
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
37269
|
+
}
|
|
37270
|
+
}, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
37271
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37272
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
37273
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37274
|
+
onClick: function onClick() {
|
|
37275
|
+
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
37276
|
+
}
|
|
37277
|
+
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
37278
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37279
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
37280
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37281
|
+
onClick: function onClick() {
|
|
37282
|
+
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
37283
|
+
}
|
|
37284
|
+
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar)))), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37102
37285
|
"class": "col-lg-10 d-flex d-md-none flex-row align-items-center justify-content-start mt-3 p-0"
|
|
37103
37286
|
}, /*#__PURE__*/React.createElement("p", {
|
|
37104
37287
|
"class": langdetect == 'en' ? "".concat(footerStyles.footersubtitlestyles) + ' ml-0 ' : "".concat(footerStyles.footersubtitlestyles) + ' mr-0 ',
|
|
@@ -37110,33 +37293,53 @@ var Footer1 = function Footer1(props) {
|
|
|
37110
37293
|
onClick: function onClick() {
|
|
37111
37294
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
37112
37295
|
}
|
|
37113
|
-
}, lang.orderhistory), /*#__PURE__*/React.createElement("p", {
|
|
37296
|
+
}, lang.orderhistory), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React.createElement("p", {
|
|
37114
37297
|
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37115
37298
|
onClick: function onClick() {
|
|
37116
37299
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
37117
37300
|
}
|
|
37118
|
-
}, lang.policies)
|
|
37301
|
+
}, lang.policies), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("p", {
|
|
37302
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37303
|
+
onClick: function onClick() {
|
|
37304
|
+
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
37305
|
+
}
|
|
37306
|
+
}, langdetect == 'en' ? (_returnpolicyobj9 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj9 === void 0 ? void 0 : _returnpolicyobj9.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("p", {
|
|
37307
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37308
|
+
onClick: function onClick() {
|
|
37309
|
+
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
37310
|
+
}
|
|
37311
|
+
}, langdetect == 'en' ? (_returnpolicyobj11 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj11 === void 0 ? void 0 : _returnpolicyobj11.policypagename_en : (_returnpolicyobj12 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj12 === void 0 ? void 0 : _returnpolicyobj12.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("p", {
|
|
37312
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37313
|
+
onClick: function onClick() {
|
|
37314
|
+
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
37315
|
+
}
|
|
37316
|
+
}, langdetect == 'en' ? (_returnpolicyobj13 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj13 === void 0 ? void 0 : _returnpolicyobj13.policypagename_en : (_returnpolicyobj14 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj14 === void 0 ? void 0 : _returnpolicyobj14.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("p", {
|
|
37317
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37318
|
+
onClick: function onClick() {
|
|
37319
|
+
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
37320
|
+
}
|
|
37321
|
+
}, langdetect == 'en' ? (_returnpolicyobj15 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj15 === void 0 ? void 0 : _returnpolicyobj15.policypagename_en : (_returnpolicyobj16 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj16 === void 0 ? void 0 : _returnpolicyobj16.policypagename_ar)))), /*#__PURE__*/React.createElement("div", {
|
|
37119
37322
|
"class": "col-lg-5 col-sm-12 mb-sm-2 d-flex justify-content-end"
|
|
37120
37323
|
}, /*#__PURE__*/React.createElement("div", {
|
|
37121
|
-
"class": " col-lg-12 d-flex flex-row align-items-center justify-content-end "
|
|
37324
|
+
"class": " col-lg-12 d-flex flex-row align-items-center justify-content-end justify-content-md-start p-md-0"
|
|
37122
37325
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37123
37326
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
37124
37327
|
onClick: function onClick() {
|
|
37125
|
-
var _authdetailsContext$
|
|
37126
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37127
|
-
var _authdetailsContext$
|
|
37128
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37328
|
+
var _authdetailsContext$i3;
|
|
37329
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
|
|
37330
|
+
var _authdetailsContext$i4;
|
|
37331
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
|
|
37129
37332
|
}
|
|
37130
37333
|
}
|
|
37131
|
-
}, /*#__PURE__*/React.createElement(
|
|
37334
|
+
}, /*#__PURE__*/React.createElement(FaFacebook, {
|
|
37132
37335
|
size: sectionproperties.facebkbtnniconfontsize
|
|
37133
37336
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37134
37337
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
37135
37338
|
onClick: function onClick() {
|
|
37136
|
-
var _authdetailsContext$
|
|
37137
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37138
|
-
var _authdetailsContext$
|
|
37139
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37339
|
+
var _authdetailsContext$i5;
|
|
37340
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
37341
|
+
var _authdetailsContext$i6;
|
|
37342
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
37140
37343
|
}
|
|
37141
37344
|
}
|
|
37142
37345
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
@@ -37144,10 +37347,10 @@ var Footer1 = function Footer1(props) {
|
|
|
37144
37347
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37145
37348
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
37146
37349
|
onClick: function onClick() {
|
|
37147
|
-
var _authdetailsContext$
|
|
37148
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37149
|
-
var _authdetailsContext$
|
|
37150
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37350
|
+
var _authdetailsContext$i7;
|
|
37351
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
|
|
37352
|
+
var _authdetailsContext$i8;
|
|
37353
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber), '_blank');
|
|
37151
37354
|
}
|
|
37152
37355
|
}
|
|
37153
37356
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
@@ -37155,7 +37358,23 @@ var Footer1 = function Footer1(props) {
|
|
|
37155
37358
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
37156
37359
|
"class": "col-lg-12 d-flex justify-content-center mt-md-3 mb-md-3"
|
|
37157
37360
|
}, /*#__PURE__*/React.createElement("div", {
|
|
37158
|
-
"class": "".concat(footerStyles.vl) + ' ml-sm-0 mr-sm-0 '
|
|
37361
|
+
"class": "".concat(footerStyles.vl) + ' ml-sm-0 mr-sm-0 my-2 '
|
|
37362
|
+
})), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37363
|
+
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center mt-3 mb-1 mb-sm-3'
|
|
37364
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
37365
|
+
"class": "".concat(footerStyles.apptore) + ' cursor-pointer mx-2 ',
|
|
37366
|
+
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
37367
|
+
onClick: function onClick() {
|
|
37368
|
+
var _authdetailsContext$i9;
|
|
37369
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.mobileapplink_appstore, '_blank');
|
|
37370
|
+
}
|
|
37371
|
+
}), /*#__PURE__*/React.createElement("img", {
|
|
37372
|
+
"class": "".concat(footerStyles.playstore) + ' cursor-pointer mx-2 ',
|
|
37373
|
+
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
37374
|
+
onClick: function onClick() {
|
|
37375
|
+
var _authdetailsContext$i10;
|
|
37376
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.mobileapplink_playstore, '_blank');
|
|
37377
|
+
}
|
|
37159
37378
|
})), sectionproperties.showcontactinfo == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37160
37379
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
|
|
37161
37380
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -37171,12 +37390,12 @@ var Footer1 = function Footer1(props) {
|
|
|
37171
37390
|
textTransform: sectionproperties.footerinfotext_textTransform
|
|
37172
37391
|
},
|
|
37173
37392
|
onClick: function onClick() {
|
|
37174
|
-
var _authdetailsContext$
|
|
37175
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37393
|
+
var _authdetailsContext$i11;
|
|
37394
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.contactinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.email), '_self');
|
|
37176
37395
|
}
|
|
37177
37396
|
}, /*#__PURE__*/React.createElement("i", {
|
|
37178
37397
|
"class": ' fa fa-at mr-2 text-transform-none ml-2 '
|
|
37179
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37398
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 || (_authdetailsContext$i12 = _authdetailsContext$i12.contactinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.email)), /*#__PURE__*/React.createElement("div", {
|
|
37180
37399
|
"class": "col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
|
|
37181
37400
|
}, /*#__PURE__*/React.createElement("p", {
|
|
37182
37401
|
"class": "".concat(footerStyles.footerinfotext) + ' d-flex align-items-center justify-content-md-center mr-1 ',
|
|
@@ -37205,7 +37424,7 @@ var Footer1 = function Footer1(props) {
|
|
|
37205
37424
|
"class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
|
|
37206
37425
|
}, /*#__PURE__*/React.createElement(IoLocationSharp, {
|
|
37207
37426
|
size: sectionproperties.footerinfoicon_fontsize
|
|
37208
|
-
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37427
|
+
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.address_en)))))));
|
|
37209
37428
|
};
|
|
37210
37429
|
|
|
37211
37430
|
function ownKeys$1v(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -52682,7 +52901,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
52682
52901
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
52683
52902
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
52684
52903
|
background: sectionproperties.backgroundColor,
|
|
52685
|
-
|
|
52904
|
+
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
52686
52905
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
52687
52906
|
}
|
|
52688
52907
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -63295,9 +63514,10 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
63295
63514
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
63296
63515
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
63297
63516
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
63298
|
-
height: sectionproperties.image_height + 'px',
|
|
63517
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
63518
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
63299
63519
|
'@media (max-width: 800px)': {
|
|
63300
|
-
height: sectionproperties.
|
|
63520
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px'
|
|
63301
63521
|
}
|
|
63302
63522
|
}),
|
|
63303
63523
|
productoutercard: css({
|
|
@@ -63413,14 +63633,21 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
63413
63633
|
background: sectionproperties.pillbgcolor,
|
|
63414
63634
|
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
63415
63635
|
}
|
|
63416
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
63636
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React.createElement("p", {
|
|
63637
|
+
"class": "m-0 p-0 text-uppercase",
|
|
63638
|
+
style: {
|
|
63639
|
+
color: sectionproperties.pillcolor,
|
|
63640
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
63641
|
+
direction: 'ltr'
|
|
63642
|
+
}
|
|
63643
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React.createElement("p", {
|
|
63417
63644
|
"class": "m-0 p-0 text-uppercase",
|
|
63418
63645
|
style: {
|
|
63419
63646
|
color: sectionproperties.pillcolor,
|
|
63420
63647
|
fontSize: sectionproperties.pillfontSize + 'px',
|
|
63421
63648
|
direction: 'ltr'
|
|
63422
63649
|
}
|
|
63423
|
-
}, '
|
|
63650
|
+
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
63424
63651
|
"class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
|
|
63425
63652
|
onClick: function onClick(e) {
|
|
63426
63653
|
e.stopPropagation();
|
|
@@ -63455,7 +63682,10 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
63455
63682
|
},
|
|
63456
63683
|
"class": props.fontFamilyprops == 'ASUL' && sectionproperties.prodNameFontWeight > 100 && sectionproperties.prodNameFontWeight < 600 ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ASUL-400 ' : props.fontFamilyprops == 'ASUL' && sectionproperties.prodNameFontWeight > 600 ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ASUL-700 ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center '
|
|
63457
63684
|
}, item.name)), /*#__PURE__*/React.createElement("div", {
|
|
63458
|
-
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column"
|
|
63685
|
+
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
|
|
63686
|
+
style: {
|
|
63687
|
+
marginTop: sectionproperties.productpricemarginTop + 'px'
|
|
63688
|
+
}
|
|
63459
63689
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
63460
63690
|
"class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 ASUL ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 '
|
|
63461
63691
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
|
|
@@ -64655,7 +64885,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
64655
64885
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
64656
64886
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
64657
64887
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
64658
|
-
height: sectionproperties.image_height + 'px',
|
|
64888
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
64659
64889
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
64660
64890
|
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
64661
64891
|
overflow: 'hidden',
|
|
@@ -64745,7 +64975,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
64745
64975
|
})), /*#__PURE__*/React.createElement("div", {
|
|
64746
64976
|
"class": card_cssstyles.imagecontainer + ' d-none d-sm-flex',
|
|
64747
64977
|
style: {
|
|
64748
|
-
height: sectionproperties.height_responsive + 'px',
|
|
64978
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px',
|
|
64749
64979
|
width: sectionproperties.image_bordertopleftradius == '100' ? sectionproperties.image_height + 'px' : sectionproperties.image_width_resp + '%'
|
|
64750
64980
|
}
|
|
64751
64981
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
@@ -64825,7 +65055,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
64825
65055
|
productcardimagecont: css({
|
|
64826
65056
|
position: 'relative',
|
|
64827
65057
|
overflow: 'hidden',
|
|
64828
|
-
height: sectionproperties.image_height + 'px',
|
|
65058
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
64829
65059
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
64830
65060
|
// border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
64831
65061
|
border: sectionproperties.image_borderType == 'All' ? sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor : 0,
|
|
@@ -64837,7 +65067,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
64837
65067
|
transition: '.3s',
|
|
64838
65068
|
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1,
|
|
64839
65069
|
'@media (max-width: 800px)': {
|
|
64840
|
-
height: sectionproperties.height_responsive != null ? sectionproperties.height_responsive + 'px' : sectionproperties.image_height + 'px'
|
|
65070
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive != null ? sectionproperties.height_responsive + 'px' : sectionproperties.image_height + 'px'
|
|
64841
65071
|
}
|
|
64842
65072
|
}),
|
|
64843
65073
|
productNameStyles: css({
|
|
@@ -65013,26 +65243,33 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
65013
65243
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
65014
65244
|
}
|
|
65015
65245
|
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
65016
|
-
"class":
|
|
65246
|
+
"class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
|
|
65017
65247
|
style: {
|
|
65018
65248
|
zIndex: 2,
|
|
65019
65249
|
position: 'absolute',
|
|
65020
65250
|
top: sectionproperties.pillpositionfromtop + 'px',
|
|
65021
65251
|
left: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
65022
65252
|
right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
|
|
65023
|
-
width: sectionproperties.pillwidth + 'px',
|
|
65253
|
+
width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
|
|
65024
65254
|
height: sectionproperties.pillheight + 'px',
|
|
65025
65255
|
background: sectionproperties.pillbgcolor,
|
|
65026
65256
|
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
65027
65257
|
}
|
|
65028
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
65258
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React.createElement("p", {
|
|
65259
|
+
"class": "m-0 p-0",
|
|
65260
|
+
style: {
|
|
65261
|
+
color: sectionproperties.pillcolor,
|
|
65262
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
65263
|
+
direction: 'ltr'
|
|
65264
|
+
}
|
|
65265
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React.createElement("p", {
|
|
65029
65266
|
"class": "m-0 p-0 text-uppercase",
|
|
65030
65267
|
style: {
|
|
65031
65268
|
color: sectionproperties.pillcolor,
|
|
65032
65269
|
fontSize: sectionproperties.pillfontSize + 'px',
|
|
65033
65270
|
direction: 'ltr'
|
|
65034
65271
|
}
|
|
65035
|
-
}, '
|
|
65272
|
+
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React.createElement("div", {
|
|
65036
65273
|
onClick: function onClick() {
|
|
65037
65274
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
|
|
65038
65275
|
// setShowProductInfoModalContext(true);
|
|
@@ -65097,8 +65334,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
65097
65334
|
"class": " d-flex flex-row col-lg-12 mx-0 p-0 align-items-center ",
|
|
65098
65335
|
style: {
|
|
65099
65336
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
65100
|
-
marginTop: sectionproperties.
|
|
65101
|
-
marginBottom: sectionproperties.
|
|
65337
|
+
marginTop: sectionproperties.productpricemarginTop + 'px',
|
|
65338
|
+
marginBottom: sectionproperties.productpricemarginBottom + 'px'
|
|
65102
65339
|
}
|
|
65103
65340
|
}, /*#__PURE__*/React.createElement("div", {
|
|
65104
65341
|
"class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center p-0 mb-0 ',
|