tabexseriescomponents 0.0.346 → 0.0.348
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 +856 -355
- package/dist/index.esm.js +856 -355
- package/dist/index.umd.js +859 -356
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -58,7 +58,7 @@ var HiOutlineChevronLeft = require('@react-icons/all-files/hi/HiOutlineChevronLe
|
|
|
58
58
|
var GoGlobe = require('@react-icons/all-files/go/GoGlobe');
|
|
59
59
|
var VscGlobe = require('@react-icons/all-files/vsc/VscGlobe');
|
|
60
60
|
var HiOutlineTrash = require('@react-icons/all-files/hi/HiOutlineTrash');
|
|
61
|
-
|
|
61
|
+
require('@react-icons/all-files/bi/BiSad');
|
|
62
62
|
var FiCalendar = require('@react-icons/all-files/fi/FiCalendar');
|
|
63
63
|
var Dropdown = require('react-bootstrap/Dropdown');
|
|
64
64
|
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
@@ -68,8 +68,6 @@ var GrMail = require('@react-icons/all-files/gr/GrMail');
|
|
|
68
68
|
var FiCheckCircle = require('@react-icons/all-files/fi/FiCheckCircle');
|
|
69
69
|
var BiPhone = require('@react-icons/all-files/bi/BiPhone');
|
|
70
70
|
var PhoneInput = require('react-phone-input-2');
|
|
71
|
-
require('@react-icons/all-files/ai/AiOutlineEye');
|
|
72
|
-
require('@react-icons/all-files/ai/AiOutlineEyeInvisible');
|
|
73
71
|
var BsChevronLeft = require('@react-icons/all-files/bs/BsChevronLeft');
|
|
74
72
|
var BsChevronRight = require('@react-icons/all-files/bs/BsChevronRight');
|
|
75
73
|
require('@react-icons/all-files/ri/RiArrowUpSLine');
|
|
@@ -342,7 +340,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
342
340
|
loginwithfacebook: 'Sign in with facebook',
|
|
343
341
|
orsigninwith: 'Or Sign in with',
|
|
344
342
|
orsignupwith: 'Or Sign up with'
|
|
345
|
-
}, _defineProperty__default["default"](_en, "price", 'Price'), _defineProperty__default["default"](_en, "relatedproducts", 'Related products'), _defineProperty__default["default"](_en, "qty", 'QTY'), _defineProperty__default["default"](_en, "emptyshoppingcart", 'Your shopping cart is empty'), _defineProperty__default["default"](_en, "shopnow", 'Shop now'), _defineProperty__default["default"](_en, "total", 'Total'), _defineProperty__default["default"](_en, "otherinformation", 'Other information'), _defineProperty__default["default"](_en, "productname", 'Product name'), _defineProperty__default["default"](_en, "quantity", 'Quantity'), _defineProperty__default["default"](_en, "orderid", 'Order ID'), _defineProperty__default["default"](_en, "numberofproducts", 'Number of products'), _defineProperty__default["default"](_en, "checkyourorder", 'Check your order'), _defineProperty__default["default"](_en, "search", 'Search'), _defineProperty__default["default"](_en, "searchproducts", 'Search for products...'), _defineProperty__default["default"](_en, "choosecity", 'Choose city'), _defineProperty__default["default"](_en, "choosestategov", 'Choose state/governorate'), _defineProperty__default["default"](_en, "choosecountry", 'Choose country'), _defineProperty__default["default"](_en, "giftcarddicountcode", 'Gift Card Or Discount Code...'), _defineProperty__default["default"](_en, "nosearchresults", 'No search results'), _defineProperty__default["default"](_en, "sale", 'Sale'), _defineProperty__default["default"](_en, "nofavoriteproducts", 'Your wishlist is empty'), _defineProperty__default["default"](_en, "loggedoutsuccess", 'Logged out successfully'), _defineProperty__default["default"](_en, "addedtocartsuccess", 'Cart is updated successfully'), _defineProperty__default["default"](_en, "promocodeapplied", 'Promo code is applied.'), _defineProperty__default["default"](_en, "promocoderemoved", 'Promo code is removed'), _defineProperty__default["default"](_en, "countryandstateupdatedsuccess", 'Country and state are updated successfully'), _defineProperty__default["default"](_en, "orderaddedsuccess", 'Order is added successfully'), _defineProperty__default["default"](_en, "addedtowishlist", 'Added to your favourites'), _defineProperty__default["default"](_en, "productrmovedfromwishlist", 'Removed from your favourites'), _defineProperty__default["default"](_en, "fillthemissingfields", 'Please complete the missing fields'), _defineProperty__default["default"](_en, "passwordsdontmatch", "Passwords don't match"), _defineProperty__default["default"](_en, "loggedinsuccess", 'Logged in successfully'), _defineProperty__default["default"](_en, "subtotal", 'Sub total'), _defineProperty__default["default"](_en, "discount", 'Discount'), _defineProperty__default["default"](_en, "outofzone", 'Out of zone'), _defineProperty__default["default"](_en, "total", 'Total'), _defineProperty__default["default"](_en, "cod", 'Cash on Delivery'), _defineProperty__default["default"](_en, "cardondelivery", 'Credit Card On Delivery'), _defineProperty__default["default"](_en, "onlinepayment", 'Online Payment'), _defineProperty__default["default"](_en, "paymentcardinformation", 'Payment Card Information'), _defineProperty__default["default"](_en, "shippingfees", 'Shipping fees'), _defineProperty__default["default"](_en, "shippingaddress", 'Shipping address'), _defineProperty__default["default"](_en, "cardnumber", 'Card number'), _defineProperty__default["default"](_en, "year", 'Year'), _defineProperty__default["default"](_en, "month", 'Month'), _defineProperty__default["default"](_en, "cvv", 'CVV'), _defineProperty__default["default"](_en, "nameoncard", 'Name On Card'), _defineProperty__default["default"](_en, "country", 'Country'), _defineProperty__default["default"](_en, "addressdetails", 'ِAddress details'), _defineProperty__default["default"](_en, "stategov", 'State/Governorate'), _defineProperty__default["default"](_en, "city", 'City'), _defineProperty__default["default"](_en, "paymentmethod", 'Payment method'), _defineProperty__default["default"](_en, "productimage", 'Product image'), _defineProperty__default["default"](_en, "orderdetails", 'Order details'), _defineProperty__default["default"](_en, "orderinvoice", 'Order invoice'), _defineProperty__default["default"](_en, "promocodediscount", 'Promo code discount'), _defineProperty__default["default"](_en, "address", 'Address'), _defineProperty__default["default"](_en, "update", 'Update'), _defineProperty__default["default"](_en, "phonenumber", 'Mobile number'), _defineProperty__default["default"](_en, "completerequiredfields", 'Please complete all required fields'), _defineProperty__default["default"](_en, "name", 'Name'), _defineProperty__default["default"](_en, "email", 'Email'), _defineProperty__default["default"](_en, "password", 'Password'), _defineProperty__default["default"](_en, "confirmpassword", 'Confirm password'), _defineProperty__default["default"](_en, "showmore", 'Show more'), _defineProperty__default["default"](_en, "showless", 'Show less'), _defineProperty__default["default"](_en, "contactdetails", 'Contact Information'), _defineProperty__default["default"](_en, "asaguest", 'As A Guest'), _defineProperty__default["default"](_en, "choosecountryfirst", 'Please choose country first'), _defineProperty__default["default"](_en, "security", 'Security'), _defineProperty__default["default"](_en, "personalinformation", 'Personal Information'), _defineProperty__default["default"](_en, "contactus", 'Contact us'), _defineProperty__default["default"](_en, "slogan", 'Your website & mobile application in one place'), _defineProperty__default["default"](_en, "recent", 'Recent'), _defineProperty__default["default"](_en, "oldest", 'Oldest'), _defineProperty__default["default"](_en, "pricehightolow", 'High to low'), _defineProperty__default["default"](_en, "pricelowtohigh", 'Low to High'), _defineProperty__default["default"](_en, "pleasecompleteaddressmissingfields", 'Please complete the missing address fields'), _en),
|
|
343
|
+
}, _defineProperty__default["default"](_en, "price", 'Price'), _defineProperty__default["default"](_en, "relatedproducts", 'Related products'), _defineProperty__default["default"](_en, "qty", 'QTY'), _defineProperty__default["default"](_en, "emptyshoppingcart", 'Your shopping cart is empty'), _defineProperty__default["default"](_en, "shopnow", 'Shop now'), _defineProperty__default["default"](_en, "total", 'Total'), _defineProperty__default["default"](_en, "otherinformation", 'Other information'), _defineProperty__default["default"](_en, "productname", 'Product name'), _defineProperty__default["default"](_en, "quantity", 'Quantity'), _defineProperty__default["default"](_en, "orderid", 'Order ID'), _defineProperty__default["default"](_en, "numberofproducts", 'Number of products'), _defineProperty__default["default"](_en, "checkyourorder", 'Check your order'), _defineProperty__default["default"](_en, "search", 'Search'), _defineProperty__default["default"](_en, "searchproducts", 'Search for products...'), _defineProperty__default["default"](_en, "choosecity", 'Choose city'), _defineProperty__default["default"](_en, "choosestategov", 'Choose state/governorate'), _defineProperty__default["default"](_en, "choosecountry", 'Choose country'), _defineProperty__default["default"](_en, "giftcarddicountcode", 'Gift Card Or Discount Code...'), _defineProperty__default["default"](_en, "nosearchresults", 'No search results'), _defineProperty__default["default"](_en, "sale", 'Sale'), _defineProperty__default["default"](_en, "nofavoriteproducts", 'Your wishlist is empty'), _defineProperty__default["default"](_en, "loggedoutsuccess", 'Logged out successfully'), _defineProperty__default["default"](_en, "addedtocartsuccess", 'Cart is updated successfully'), _defineProperty__default["default"](_en, "promocodeapplied", 'Promo code is applied.'), _defineProperty__default["default"](_en, "promocoderemoved", 'Promo code is removed'), _defineProperty__default["default"](_en, "countryandstateupdatedsuccess", 'Country and state are updated successfully'), _defineProperty__default["default"](_en, "orderaddedsuccess", 'Order is added successfully'), _defineProperty__default["default"](_en, "addedtowishlist", 'Added to your favourites'), _defineProperty__default["default"](_en, "productrmovedfromwishlist", 'Removed from your favourites'), _defineProperty__default["default"](_en, "fillthemissingfields", 'Please complete the missing fields'), _defineProperty__default["default"](_en, "passwordsdontmatch", "Passwords don't match"), _defineProperty__default["default"](_en, "loggedinsuccess", 'Logged in successfully'), _defineProperty__default["default"](_en, "subtotal", 'Sub total'), _defineProperty__default["default"](_en, "discount", 'Discount'), _defineProperty__default["default"](_en, "outofzone", 'Out of zone'), _defineProperty__default["default"](_en, "total", 'Total'), _defineProperty__default["default"](_en, "cod", 'Cash on Delivery'), _defineProperty__default["default"](_en, "cardondelivery", 'Credit Card On Delivery'), _defineProperty__default["default"](_en, "onlinepayment", 'Online Payment'), _defineProperty__default["default"](_en, "paymentcardinformation", 'Payment Card Information'), _defineProperty__default["default"](_en, "shippingfees", 'Shipping fees'), _defineProperty__default["default"](_en, "shippingaddress", 'Shipping address'), _defineProperty__default["default"](_en, "cardnumber", 'Card number'), _defineProperty__default["default"](_en, "year", 'Year'), _defineProperty__default["default"](_en, "month", 'Month'), _defineProperty__default["default"](_en, "cvv", 'CVV'), _defineProperty__default["default"](_en, "nameoncard", 'Name On Card'), _defineProperty__default["default"](_en, "country", 'Country'), _defineProperty__default["default"](_en, "addressdetails", 'ِAddress details'), _defineProperty__default["default"](_en, "stategov", 'State/Governorate'), _defineProperty__default["default"](_en, "city", 'City'), _defineProperty__default["default"](_en, "paymentmethod", 'Payment method'), _defineProperty__default["default"](_en, "productimage", 'Product image'), _defineProperty__default["default"](_en, "orderdetails", 'Order details'), _defineProperty__default["default"](_en, "orderinvoice", 'Order invoice'), _defineProperty__default["default"](_en, "promocodediscount", 'Promo code discount'), _defineProperty__default["default"](_en, "address", 'Address'), _defineProperty__default["default"](_en, "update", 'Update'), _defineProperty__default["default"](_en, "phonenumber", 'Mobile number'), _defineProperty__default["default"](_en, "completerequiredfields", 'Please complete all required fields'), _defineProperty__default["default"](_en, "name", 'Name'), _defineProperty__default["default"](_en, "email", 'Email'), _defineProperty__default["default"](_en, "password", 'Password'), _defineProperty__default["default"](_en, "confirmpassword", 'Confirm password'), _defineProperty__default["default"](_en, "showmore", 'Show more'), _defineProperty__default["default"](_en, "showless", 'Show less'), _defineProperty__default["default"](_en, "contactdetails", 'Contact Information'), _defineProperty__default["default"](_en, "asaguest", 'As A Guest'), _defineProperty__default["default"](_en, "choosecountryfirst", 'Please choose country first'), _defineProperty__default["default"](_en, "security", 'Security'), _defineProperty__default["default"](_en, "personalinformation", 'Personal Information'), _defineProperty__default["default"](_en, "contactus", 'Contact us'), _defineProperty__default["default"](_en, "slogan", 'Your website & mobile application in one place'), _defineProperty__default["default"](_en, "recent", 'Recent'), _defineProperty__default["default"](_en, "oldest", 'Oldest'), _defineProperty__default["default"](_en, "pricehightolow", 'High to low'), _defineProperty__default["default"](_en, "pricelowtohigh", 'Low to High'), _defineProperty__default["default"](_en, "pleasecompleteaddressmissingfields", 'Please complete the missing address fields'), _defineProperty__default["default"](_en, "instock", 'In Stock'), _en),
|
|
346
344
|
ar: (_ar = {
|
|
347
345
|
maximum: 'اقصى كمية',
|
|
348
346
|
minimum: 'اقل كمية',
|
|
@@ -422,7 +420,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
422
420
|
loginwithfacebook: 'تسجيل الدخول عن طريق فيسبوك',
|
|
423
421
|
orsigninwith: 'او تسجيل الدخول عن طريق',
|
|
424
422
|
orsignupwith: 'او انشاء حساب عن طريق'
|
|
425
|
-
}, _defineProperty__default["default"](_ar, "price", 'السعر'), _defineProperty__default["default"](_ar, "relatedproducts", 'منتجات ذات صلة'), _defineProperty__default["default"](_ar, "qty", 'الكمية'), _defineProperty__default["default"](_ar, "emptyshoppingcart", 'حقيبة التسوق فارغة'), _defineProperty__default["default"](_ar, "shopnow", 'تسوق الان'), _defineProperty__default["default"](_ar, "total", 'الإجمالى'), _defineProperty__default["default"](_ar, "otherinformation", 'معلومات اخرى'), _defineProperty__default["default"](_ar, "productname", 'إسم المنتج'), _defineProperty__default["default"](_ar, "quantity", 'الكمية'), _defineProperty__default["default"](_ar, "orderid", 'رقم الطلب'), _defineProperty__default["default"](_ar, "numberofproducts", 'عدد المنتجات'), _defineProperty__default["default"](_ar, "checkyourorder", 'الذهاب إلى طلبك'), _defineProperty__default["default"](_ar, "search", 'ابحث'), _defineProperty__default["default"](_ar, "searchproducts", 'ابحث...'), _defineProperty__default["default"](_ar, "choosecity", 'إختر المدينة'), _defineProperty__default["default"](_ar, "choosestategov", 'إختر المحافظة/الولاية'), _defineProperty__default["default"](_ar, "choosecountry", 'إختر البلد'), _defineProperty__default["default"](_ar, "giftcarddicountcode", 'كود خصم'), _defineProperty__default["default"](_ar, "nosearchresults", 'لا توجد نتائج'), _defineProperty__default["default"](_ar, "sale", 'خصم'), _defineProperty__default["default"](_ar, "nofavoriteproducts", 'لا توجد منتجات مفضلة'), _defineProperty__default["default"](_ar, "loggedoutsuccess", 'تم تسجيل الخروج'), _defineProperty__default["default"](_ar, "addedtocartsuccess", 'تم تعديل عربة التسوق'), _defineProperty__default["default"](_ar, "promocodeapplied", 'تم تطبيق كود الخصم'), _defineProperty__default["default"](_ar, "promocoderemoved", 'تم حذف كود الخصم'), _defineProperty__default["default"](_ar, "countryandstateupdatedsuccess", 'تم تحديث البلد و المدينة'), _defineProperty__default["default"](_ar, "orderaddedsuccess", 'تم إضافة الطلب'), _defineProperty__default["default"](_ar, "addedtowishlist", 'تم الإضافة لمفضلاتك'), _defineProperty__default["default"](_ar, "productrmovedfromwishlist", 'تم الحذف من مفضلاتك'), _defineProperty__default["default"](_ar, "fillthemissingfields", 'من فضلك اكمل باقى البيانات'), _defineProperty__default["default"](_ar, "passwordsdontmatch", 'كلمات السر لا تتطابق'), _defineProperty__default["default"](_ar, "loggedinsuccess", 'تم تسجيل الدخول'), _defineProperty__default["default"](_ar, "subtotal", 'إجمالي المبلغ'), _defineProperty__default["default"](_ar, "discount", 'الخصم'), _defineProperty__default["default"](_ar, "outofzone", 'خارج نطاق الشحن'), _defineProperty__default["default"](_ar, "total", 'المبلغ الكلي'), _defineProperty__default["default"](_ar, "cod", 'الدفع عند الإستلام'), _defineProperty__default["default"](_ar, "cardondelivery", 'الدفع بالطاقة الائتمانية عند الإستلام'), _defineProperty__default["default"](_ar, "onlinepayment", 'الدفع الإلكترونى'), _defineProperty__default["default"](_ar, "paymentcardinformation", 'بيانات البطاقة'), _defineProperty__default["default"](_ar, "shippingfees", 'مصاريف الشحن'), _defineProperty__default["default"](_ar, "shippingaddress", 'عنوان الشحن'), _defineProperty__default["default"](_ar, "cardnumber", 'رقم البطاقة'), _defineProperty__default["default"](_ar, "year", 'السنة'), _defineProperty__default["default"](_ar, "month", 'الشهر'), _defineProperty__default["default"](_ar, "cvv", 'رقم البطاقة'), _defineProperty__default["default"](_ar, "nameoncard", 'الإسم على البطاقة'), _defineProperty__default["default"](_ar, "country", 'البلد'), _defineProperty__default["default"](_ar, "addressdetails", 'العنوان'), _defineProperty__default["default"](_ar, "stategov", 'المحافظة/الولاية'), _defineProperty__default["default"](_ar, "city", 'المدينة'), _defineProperty__default["default"](_ar, "paymentmethod", 'طريقة الدفع'), _defineProperty__default["default"](_ar, "productimage", 'صورة المنتج'), _defineProperty__default["default"](_ar, "orderdetails", 'تفاصيل الطلب'), _defineProperty__default["default"](_ar, "orderinvoice", 'فاتورة الطلب'), _defineProperty__default["default"](_ar, "promocodediscount", 'كود الخصم'), _defineProperty__default["default"](_ar, "address", 'العنوان'), _defineProperty__default["default"](_ar, "update", 'تحديث'), _defineProperty__default["default"](_ar, "phonenumber", 'الهاتف'), _defineProperty__default["default"](_ar, "completerequiredfields", 'من فضلك اكمل البيانات الإجبارية'), _defineProperty__default["default"](_ar, "name", 'الإسم'), _defineProperty__default["default"](_ar, "email", 'البريد الإلكترونى'), _defineProperty__default["default"](_ar, "password", 'كلمة السر'), _defineProperty__default["default"](_ar, "confirmpassword", 'تأكيد كلمة السر'), _defineProperty__default["default"](_ar, "showless", 'اعرض اقل'), _defineProperty__default["default"](_ar, "showmore", 'اعرض المزيد'), _defineProperty__default["default"](_ar, "contactdetails", 'معلومات التواصل'), _defineProperty__default["default"](_ar, "asaguest", 'كزائر'), _defineProperty__default["default"](_ar, "choosecountryfirst", 'من فضلك اختر البلد اولاً'), _defineProperty__default["default"](_ar, "security", 'الخصوصية و الأمان'), _defineProperty__default["default"](_ar, "personalinformation", 'البيانات الشخصية'), _defineProperty__default["default"](_ar, "contactus", 'تواصل معنا'), _defineProperty__default["default"](_ar, "slogan", 'موقعك و تطبيقك فى مكان واحد'), _ar)
|
|
423
|
+
}, _defineProperty__default["default"](_ar, "price", 'السعر'), _defineProperty__default["default"](_ar, "relatedproducts", 'منتجات ذات صلة'), _defineProperty__default["default"](_ar, "qty", 'الكمية'), _defineProperty__default["default"](_ar, "emptyshoppingcart", 'حقيبة التسوق فارغة'), _defineProperty__default["default"](_ar, "shopnow", 'تسوق الان'), _defineProperty__default["default"](_ar, "total", 'الإجمالى'), _defineProperty__default["default"](_ar, "otherinformation", 'معلومات اخرى'), _defineProperty__default["default"](_ar, "productname", 'إسم المنتج'), _defineProperty__default["default"](_ar, "quantity", 'الكمية'), _defineProperty__default["default"](_ar, "orderid", 'رقم الطلب'), _defineProperty__default["default"](_ar, "numberofproducts", 'عدد المنتجات'), _defineProperty__default["default"](_ar, "checkyourorder", 'الذهاب إلى طلبك'), _defineProperty__default["default"](_ar, "search", 'ابحث'), _defineProperty__default["default"](_ar, "searchproducts", 'ابحث...'), _defineProperty__default["default"](_ar, "choosecity", 'إختر المدينة'), _defineProperty__default["default"](_ar, "choosestategov", 'إختر المحافظة/الولاية'), _defineProperty__default["default"](_ar, "choosecountry", 'إختر البلد'), _defineProperty__default["default"](_ar, "giftcarddicountcode", 'كود خصم'), _defineProperty__default["default"](_ar, "nosearchresults", 'لا توجد نتائج'), _defineProperty__default["default"](_ar, "sale", 'خصم'), _defineProperty__default["default"](_ar, "nofavoriteproducts", 'لا توجد منتجات مفضلة'), _defineProperty__default["default"](_ar, "loggedoutsuccess", 'تم تسجيل الخروج'), _defineProperty__default["default"](_ar, "addedtocartsuccess", 'تم تعديل عربة التسوق'), _defineProperty__default["default"](_ar, "promocodeapplied", 'تم تطبيق كود الخصم'), _defineProperty__default["default"](_ar, "promocoderemoved", 'تم حذف كود الخصم'), _defineProperty__default["default"](_ar, "countryandstateupdatedsuccess", 'تم تحديث البلد و المدينة'), _defineProperty__default["default"](_ar, "orderaddedsuccess", 'تم إضافة الطلب'), _defineProperty__default["default"](_ar, "addedtowishlist", 'تم الإضافة لمفضلاتك'), _defineProperty__default["default"](_ar, "productrmovedfromwishlist", 'تم الحذف من مفضلاتك'), _defineProperty__default["default"](_ar, "fillthemissingfields", 'من فضلك اكمل باقى البيانات'), _defineProperty__default["default"](_ar, "passwordsdontmatch", 'كلمات السر لا تتطابق'), _defineProperty__default["default"](_ar, "loggedinsuccess", 'تم تسجيل الدخول'), _defineProperty__default["default"](_ar, "subtotal", 'إجمالي المبلغ'), _defineProperty__default["default"](_ar, "discount", 'الخصم'), _defineProperty__default["default"](_ar, "outofzone", 'خارج نطاق الشحن'), _defineProperty__default["default"](_ar, "total", 'المبلغ الكلي'), _defineProperty__default["default"](_ar, "cod", 'الدفع عند الإستلام'), _defineProperty__default["default"](_ar, "cardondelivery", 'الدفع بالطاقة الائتمانية عند الإستلام'), _defineProperty__default["default"](_ar, "onlinepayment", 'الدفع الإلكترونى'), _defineProperty__default["default"](_ar, "paymentcardinformation", 'بيانات البطاقة'), _defineProperty__default["default"](_ar, "shippingfees", 'مصاريف الشحن'), _defineProperty__default["default"](_ar, "shippingaddress", 'عنوان الشحن'), _defineProperty__default["default"](_ar, "cardnumber", 'رقم البطاقة'), _defineProperty__default["default"](_ar, "year", 'السنة'), _defineProperty__default["default"](_ar, "month", 'الشهر'), _defineProperty__default["default"](_ar, "cvv", 'رقم البطاقة'), _defineProperty__default["default"](_ar, "nameoncard", 'الإسم على البطاقة'), _defineProperty__default["default"](_ar, "country", 'البلد'), _defineProperty__default["default"](_ar, "addressdetails", 'العنوان'), _defineProperty__default["default"](_ar, "stategov", 'المحافظة/الولاية'), _defineProperty__default["default"](_ar, "city", 'المدينة'), _defineProperty__default["default"](_ar, "paymentmethod", 'طريقة الدفع'), _defineProperty__default["default"](_ar, "productimage", 'صورة المنتج'), _defineProperty__default["default"](_ar, "orderdetails", 'تفاصيل الطلب'), _defineProperty__default["default"](_ar, "orderinvoice", 'فاتورة الطلب'), _defineProperty__default["default"](_ar, "promocodediscount", 'كود الخصم'), _defineProperty__default["default"](_ar, "address", 'العنوان'), _defineProperty__default["default"](_ar, "update", 'تحديث'), _defineProperty__default["default"](_ar, "phonenumber", 'الهاتف'), _defineProperty__default["default"](_ar, "completerequiredfields", 'من فضلك اكمل البيانات الإجبارية'), _defineProperty__default["default"](_ar, "name", 'الإسم'), _defineProperty__default["default"](_ar, "email", 'البريد الإلكترونى'), _defineProperty__default["default"](_ar, "password", 'كلمة السر'), _defineProperty__default["default"](_ar, "confirmpassword", 'تأكيد كلمة السر'), _defineProperty__default["default"](_ar, "showless", 'اعرض اقل'), _defineProperty__default["default"](_ar, "showmore", 'اعرض المزيد'), _defineProperty__default["default"](_ar, "contactdetails", 'معلومات التواصل'), _defineProperty__default["default"](_ar, "asaguest", 'كزائر'), _defineProperty__default["default"](_ar, "choosecountryfirst", 'من فضلك اختر البلد اولاً'), _defineProperty__default["default"](_ar, "security", 'الخصوصية و الأمان'), _defineProperty__default["default"](_ar, "personalinformation", 'البيانات الشخصية'), _defineProperty__default["default"](_ar, "contactus", 'تواصل معنا'), _defineProperty__default["default"](_ar, "slogan", 'موقعك و تطبيقك فى مكان واحد'), _defineProperty__default["default"](_ar, "instock", 'متوفر'), _ar)
|
|
426
424
|
},
|
|
427
425
|
langdetect: 'en',
|
|
428
426
|
setlang: _this.setlang,
|
|
@@ -948,7 +946,7 @@ var Login = function Login(props) {
|
|
|
948
946
|
letterSpacing: langdetect == 'en' ? '1px' : '',
|
|
949
947
|
textTransform: sectionproperties.login_btn_texttransform
|
|
950
948
|
}
|
|
951
|
-
},
|
|
949
|
+
}, langdetect == 'en' ? sectionproperties.loginbtncontent_en : sectionproperties.loginbtncontent_ar)), SocialLoginMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
952
950
|
color: "#fff",
|
|
953
951
|
width: "20px",
|
|
954
952
|
height: "20px",
|
|
@@ -1195,12 +1193,77 @@ styleInject(css_248z$L);
|
|
|
1195
1193
|
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}";
|
|
1196
1194
|
styleInject(css_248z$K);
|
|
1197
1195
|
|
|
1198
|
-
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:
|
|
1196
|
+
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}";
|
|
1199
1197
|
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"};
|
|
1200
1198
|
styleInject(css_248z$J);
|
|
1201
1199
|
|
|
1202
1200
|
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; }
|
|
1203
1201
|
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__default["default"](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; }
|
|
1202
|
+
var selectcustomStyles = {
|
|
1203
|
+
option: function option(provided, state) {
|
|
1204
|
+
return _objectSpread$2p(_objectSpread$2p({}, provided), {}, {
|
|
1205
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1206
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1207
|
+
padding: 5,
|
|
1208
|
+
textTransform: 'capitalize',
|
|
1209
|
+
color: state.isSelected ? '#eac435' : '#022648',
|
|
1210
|
+
transition: '.3s',
|
|
1211
|
+
'&:hover': {
|
|
1212
|
+
color: '#eac435',
|
|
1213
|
+
cursor: 'pointer'
|
|
1214
|
+
}
|
|
1215
|
+
});
|
|
1216
|
+
},
|
|
1217
|
+
control: function control() {
|
|
1218
|
+
return {
|
|
1219
|
+
border: '1px solid #e6e6e6',
|
|
1220
|
+
// boxShadow: '0 0 10px #e6e6e6',
|
|
1221
|
+
borderRadius: '5px',
|
|
1222
|
+
display: 'flex',
|
|
1223
|
+
cursor: 'pointer',
|
|
1224
|
+
transition: '.3s',
|
|
1225
|
+
'&:hover': {
|
|
1226
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1227
|
+
}
|
|
1228
|
+
};
|
|
1229
|
+
}
|
|
1230
|
+
};
|
|
1231
|
+
var selectcustomStylesTranslated = {
|
|
1232
|
+
option: function option(provided, state) {
|
|
1233
|
+
return _objectSpread$2p(_objectSpread$2p({}, provided), {}, {
|
|
1234
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1235
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1236
|
+
padding: 5,
|
|
1237
|
+
textTransform: 'capitalize',
|
|
1238
|
+
color: state.isSelected ? '#eac435' : '#022648',
|
|
1239
|
+
transition: '.3s',
|
|
1240
|
+
textAlign: 'right',
|
|
1241
|
+
'&:hover': {
|
|
1242
|
+
color: '#eac435',
|
|
1243
|
+
cursor: 'pointer'
|
|
1244
|
+
}
|
|
1245
|
+
});
|
|
1246
|
+
},
|
|
1247
|
+
control: function control() {
|
|
1248
|
+
return {
|
|
1249
|
+
border: '2px solid #e6e6e6',
|
|
1250
|
+
boxShadow: '0 0 10px #e6e6e6',
|
|
1251
|
+
borderRadius: '10px',
|
|
1252
|
+
display: 'flex',
|
|
1253
|
+
cursor: 'pointer',
|
|
1254
|
+
transition: '.3s',
|
|
1255
|
+
textAlign: 'right',
|
|
1256
|
+
'&:hover': {
|
|
1257
|
+
boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)'
|
|
1258
|
+
}
|
|
1259
|
+
};
|
|
1260
|
+
},
|
|
1261
|
+
placeholder: function placeholder(provided, state) {
|
|
1262
|
+
return _objectSpread$2p(_objectSpread$2p({}, provided), {}, {
|
|
1263
|
+
textAlign: 'right'
|
|
1264
|
+
});
|
|
1265
|
+
}
|
|
1266
|
+
};
|
|
1204
1267
|
var defaultstyles = {
|
|
1205
1268
|
option: function option(provided, state) {
|
|
1206
1269
|
return _objectSpread$2p(_objectSpread$2p({}, provided), {}, {
|
|
@@ -2116,7 +2179,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2116
2179
|
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; }
|
|
2117
2180
|
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__default["default"](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; }
|
|
2118
2181
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2119
|
-
var
|
|
2182
|
+
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;
|
|
2120
2183
|
var lang = props.actions.lang;
|
|
2121
2184
|
var langdetect = props.actions.langdetect;
|
|
2122
2185
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2234,11 +2297,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2234
2297
|
}, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar);
|
|
2235
2298
|
};
|
|
2236
2299
|
var SKUSection = function SKUSection() {
|
|
2237
|
-
var _fetchProductInfoQuer;
|
|
2300
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2;
|
|
2238
2301
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2239
|
-
"class":
|
|
2302
|
+
"class": sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' ? 'row m-0 w-100 mt-3' : 'row m-0 w-100'
|
|
2240
2303
|
}, sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2241
|
-
"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'
|
|
2304
|
+
"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'
|
|
2242
2305
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2243
2306
|
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2244
2307
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -2256,7 +2319,26 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2256
2319
|
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2257
2320
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2258
2321
|
}
|
|
2259
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.sku))))
|
|
2322
|
+
}, 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__default["default"].createElement("div", {
|
|
2323
|
+
"class": 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2324
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2325
|
+
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2326
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2327
|
+
style: {
|
|
2328
|
+
fontSize: sectionproperties.availability_fontsize + 'px',
|
|
2329
|
+
color: sectionproperties.availability_textcolor,
|
|
2330
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2331
|
+
fontWeight: sectionproperties.skuFontWeight
|
|
2332
|
+
}
|
|
2333
|
+
}, lang.availability, ":"), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2334
|
+
"class": "ml-1 mr-1",
|
|
2335
|
+
style: {
|
|
2336
|
+
color: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? sectionproperties.availability_availabletextcolor : sectionproperties.availability_limitedtextcolor,
|
|
2337
|
+
fontSize: sectionproperties.availability_fontsize + 'px',
|
|
2338
|
+
fontWeight: sectionproperties.skuSecondaryFontWeight,
|
|
2339
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2340
|
+
}
|
|
2341
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.instock : lang.limitedquantity))));
|
|
2260
2342
|
};
|
|
2261
2343
|
var ShareButtonsContainer = function ShareButtonsContainer() {
|
|
2262
2344
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2274,7 +2356,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2274
2356
|
}, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2275
2357
|
className: "Demo__container w-100 m-0 d-flex align-items-center mt-3",
|
|
2276
2358
|
style: {
|
|
2277
|
-
justifyContent: sectionproperties.sharecentered == 'Centered' ? 'center' : 'start'
|
|
2359
|
+
justifyContent: srcfromprops != 'templatedraftrouter' ? 'start' : sectionproperties.sharecentered == 'Centered' ? 'center' : 'start'
|
|
2278
2360
|
}
|
|
2279
2361
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2280
2362
|
className: "Demo__some-network ml-2 mr-2 allcentered"
|
|
@@ -2298,7 +2380,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2298
2380
|
style: {}
|
|
2299
2381
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2300
2382
|
"class": "h-100 allcentered"
|
|
2301
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineTwitter.AiOutlineTwitter,
|
|
2383
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineTwitter.AiOutlineTwitter, {
|
|
2384
|
+
size: 16
|
|
2385
|
+
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2302
2386
|
className: "Demo__some-network ml-2 mr-2"
|
|
2303
2387
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappShareButton, {
|
|
2304
2388
|
url: shareUrl,
|
|
@@ -2310,7 +2394,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2310
2394
|
style: {}
|
|
2311
2395
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2312
2396
|
"class": "h-100 allcentered"
|
|
2313
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp,
|
|
2397
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
2398
|
+
size: 16
|
|
2399
|
+
}))))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2314
2400
|
className: "Demo__some-network ml-2 mr-2"
|
|
2315
2401
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinShareButton, {
|
|
2316
2402
|
url: shareUrl,
|
|
@@ -2325,7 +2411,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2325
2411
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, null))))))));
|
|
2326
2412
|
};
|
|
2327
2413
|
var Quantitybtn_Cartbtn_Favbottombtn = function Quantitybtn_Cartbtn_Favbottombtn() {
|
|
2328
|
-
var
|
|
2414
|
+
var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
|
|
2329
2415
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2330
2416
|
"class": "col-lg-12 p-0"
|
|
2331
2417
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2333,7 +2419,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2333
2419
|
style: {
|
|
2334
2420
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
2335
2421
|
}
|
|
2336
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2422
|
+
}, 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__default["default"].createElement("button", {
|
|
2337
2423
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2338
2424
|
style: {
|
|
2339
2425
|
height: sectionproperties.quantitybtn_height + 'px',
|
|
@@ -2375,12 +2461,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2375
2461
|
}
|
|
2376
2462
|
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
2377
2463
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
2378
|
-
})))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2464
|
+
})))), 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__default["default"].createElement("button", {
|
|
2379
2465
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2380
2466
|
onClick: function onClick() {
|
|
2381
2467
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2382
|
-
var
|
|
2383
|
-
window.open('tel:' + ((
|
|
2468
|
+
var _fetchProductInfoQuer6;
|
|
2469
|
+
window.open('tel:' + ((_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.product_phonenumber), '_blank');
|
|
2384
2470
|
} else {
|
|
2385
2471
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2386
2472
|
addtocartfunc();
|
|
@@ -2411,7 +2497,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2411
2497
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2412
2498
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
2413
2499
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2414
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2500
|
+
})), 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__default["default"].createElement("div", {
|
|
2415
2501
|
className: ' d-flex align-items-center justify-content-center '
|
|
2416
2502
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2417
2503
|
color: "white",
|
|
@@ -2456,7 +2542,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2456
2542
|
style: {
|
|
2457
2543
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2458
2544
|
}
|
|
2459
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2545
|
+
}, 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__default["default"].createElement("div", {
|
|
2460
2546
|
"class": "row m-0 w-100 mt-3",
|
|
2461
2547
|
style: {
|
|
2462
2548
|
overflow: 'hidden'
|
|
@@ -2468,8 +2554,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2468
2554
|
},
|
|
2469
2555
|
onClick: function onClick() {
|
|
2470
2556
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2471
|
-
var
|
|
2472
|
-
window.open('tel:' + ((
|
|
2557
|
+
var _fetchProductInfoQuer10;
|
|
2558
|
+
window.open('tel:' + ((_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.product_phonenumber), '_blank');
|
|
2473
2559
|
} else {
|
|
2474
2560
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2475
2561
|
addtocartfunc();
|
|
@@ -2500,7 +2586,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2500
2586
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2501
2587
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
2502
2588
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2503
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2589
|
+
})), 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__default["default"].createElement("div", {
|
|
2504
2590
|
className: ' d-flex align-items-center justify-content-center '
|
|
2505
2591
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2506
2592
|
color: "white",
|
|
@@ -2541,13 +2627,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2541
2627
|
// ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)
|
|
2542
2628
|
// : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
|
|
2543
2629
|
React.useEffect(function () {
|
|
2544
|
-
var
|
|
2630
|
+
var _fetchProductInfoQuer13;
|
|
2545
2631
|
var totalprice = '';
|
|
2546
2632
|
if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0) {
|
|
2547
2633
|
totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
|
|
2548
2634
|
} else if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1) {
|
|
2549
2635
|
totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
|
|
2550
|
-
} else if (variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2636
|
+
} 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) {
|
|
2551
2637
|
totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
|
|
2552
2638
|
} else {
|
|
2553
2639
|
totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
|
|
@@ -2563,13 +2649,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2563
2649
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2564
2650
|
"class": ' col-lg-12 p-0 '
|
|
2565
2651
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2566
|
-
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
2652
|
+
"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 ',
|
|
2567
2653
|
style: {
|
|
2568
2654
|
minHeight: sectionproperties.height + 'vh'
|
|
2569
2655
|
}
|
|
2570
2656
|
}, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2571
2657
|
"class": "w-100 scrollhorizontalwithscrollbar"
|
|
2572
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2658
|
+
}, (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) {
|
|
2573
2659
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2574
2660
|
"class": ' scrollhorizontalcard mx-2 ',
|
|
2575
2661
|
style: {
|
|
@@ -2605,12 +2691,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2605
2691
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2606
2692
|
className: "row m-0 w-100"
|
|
2607
2693
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2608
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2609
|
-
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2694
|
+
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'
|
|
2695
|
+
}, 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__default["default"].createElement("div", {
|
|
2610
2696
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
2611
2697
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
2612
2698
|
count: 5,
|
|
2613
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2699
|
+
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,
|
|
2614
2700
|
edit: false,
|
|
2615
2701
|
size: 18,
|
|
2616
2702
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -2631,7 +2717,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2631
2717
|
activeColor: "#ffd700"
|
|
2632
2718
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2633
2719
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
2634
|
-
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2720
|
+
}, 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__default["default"].createElement("div", {
|
|
2635
2721
|
style: {
|
|
2636
2722
|
width: sectionproperties.availability_width + 'px',
|
|
2637
2723
|
height: sectionproperties.availability_height + 'px',
|
|
@@ -2683,7 +2769,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2683
2769
|
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2684
2770
|
actions: props.actions,
|
|
2685
2771
|
srcfromprops: 'undername'
|
|
2686
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2772
|
+
})), (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__default["default"].createElement("div", {
|
|
2687
2773
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2688
2774
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2689
2775
|
"class": "m-0 p-0",
|
|
@@ -2694,15 +2780,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2694
2780
|
style: {
|
|
2695
2781
|
fontWeight: 600
|
|
2696
2782
|
}
|
|
2697
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2783
|
+
}, 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__default["default"].createElement("div", {
|
|
2698
2784
|
"class": "col-lg-12 p-0"
|
|
2699
|
-
}, SKUSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2785
|
+
}, 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__default["default"].createElement("div", {
|
|
2700
2786
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
2701
2787
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2702
2788
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
2703
2789
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2704
2790
|
"class": "m-0 p-0"
|
|
2705
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2791
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2706
2792
|
"class": "mb-4 col-lg-12 allcentered",
|
|
2707
2793
|
style: {
|
|
2708
2794
|
width: '100%',
|
|
@@ -2723,9 +2809,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2723
2809
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2724
2810
|
color: sectionproperties.deliverytimecontainercolor
|
|
2725
2811
|
}
|
|
2726
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2812
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
2727
2813
|
actions: props.actions
|
|
2728
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2814
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2729
2815
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
2730
2816
|
}, ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productoptions) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.map(function (item, index) {
|
|
2731
2817
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2789,7 +2875,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2789
2875
|
actions: props.actions
|
|
2790
2876
|
}), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
|
|
2791
2877
|
actions: props.actions
|
|
2792
|
-
}), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2878
|
+
}), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2793
2879
|
className: "col-lg-12 p-0 mb-3"
|
|
2794
2880
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
2795
2881
|
className: "mb-0 mt-2"
|
|
@@ -2800,7 +2886,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2800
2886
|
}
|
|
2801
2887
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2802
2888
|
className: "row m-0 w-100 d-flex align-items-center"
|
|
2803
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2889
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2804
2890
|
className: "col-lg-12 p-0 mb-2 d-flex justify-content-start"
|
|
2805
2891
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2806
2892
|
className: "m-0 p-0",
|
|
@@ -2810,7 +2896,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2810
2896
|
textTransform: sectionproperties.generaltext_textTransform,
|
|
2811
2897
|
fontWeight: sectionproperties.generaltext_fontWeight
|
|
2812
2898
|
}
|
|
2813
|
-
}, lang.quantity, ":")), Quantitybtn_Cartbtn_Favbottombtn())), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2899
|
+
}, lang.quantity, ":")), Quantitybtn_Cartbtn_Favbottombtn())), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2814
2900
|
className: "col-lg-12 p-0 mb-3"
|
|
2815
2901
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2816
2902
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -2833,7 +2919,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2833
2919
|
}
|
|
2834
2920
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2835
2921
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
|
|
2836
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2922
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.variants[variantindexcompleted]) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.variants[variantindexcompleted]) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2837
2923
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
2838
2924
|
style: {
|
|
2839
2925
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -2847,14 +2933,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2847
2933
|
style: {
|
|
2848
2934
|
textDecoration: 'none'
|
|
2849
2935
|
}
|
|
2850
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2936
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.variants[variantindexcompleted]) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2851
2937
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2852
2938
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2853
2939
|
className: "ml-2 mr-2",
|
|
2854
2940
|
style: {
|
|
2855
2941
|
textDecoration: 'none'
|
|
2856
2942
|
}
|
|
2857
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2943
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2858
2944
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
2859
2945
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2860
2946
|
style: {
|
|
@@ -2880,7 +2966,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2880
2966
|
className: "font-weight-600"
|
|
2881
2967
|
}, lang.availability, ":"), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2882
2968
|
className: "ml-1 mr-1"
|
|
2883
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2969
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2884
2970
|
"class": "col-lg-12 p-0"
|
|
2885
2971
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
2886
2972
|
"class": "mb-3 mt-3",
|
|
@@ -5742,7 +5828,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5742
5828
|
lang: lang,
|
|
5743
5829
|
srcfromprops: props.srcfromprops
|
|
5744
5830
|
}, _defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref2, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref2, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref2, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref2, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty__default["default"](_ref2, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref2, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref2, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref2, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref2, "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref2, "routingcountext", routingcountext), _defineProperty__default["default"](_ref2, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref2, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref2, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref2, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref2, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref2, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_ref2, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref2, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref2, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref2, "getQuantityCondition", getQuantityCondition), _defineProperty__default["default"](_ref2, "StoreInfoprops", StoreInfo), _defineProperty__default["default"](_ref2, "templatepropcontext", templatepropcontext), _defineProperty__default["default"](_ref2, "ikimagecredcontext", ikimagecredcontext), _ref2)
|
|
5745
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5831
|
+
}), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5746
5832
|
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 ',
|
|
5747
5833
|
style: {
|
|
5748
5834
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -5908,7 +5994,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5908
5994
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
5909
5995
|
sectionproperties: sectionproperties
|
|
5910
5996
|
})
|
|
5911
|
-
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5997
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5912
5998
|
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 ',
|
|
5913
5999
|
style: {
|
|
5914
6000
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -7092,14 +7178,16 @@ function ownKeys$2g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySym
|
|
|
7092
7178
|
function _objectSpread$2g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2g(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7093
7179
|
var Wishlist = function Wishlist(props) {
|
|
7094
7180
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
7095
|
-
|
|
7181
|
+
props.actions.lang;
|
|
7096
7182
|
var langdetect = props.actions.langdetect;
|
|
7183
|
+
var routingcountext = props.actions.routingcountext;
|
|
7097
7184
|
var fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
|
|
7098
7185
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
7099
7186
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
7100
7187
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
7101
7188
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
7102
7189
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
7190
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
7103
7191
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
7104
7192
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
7105
7193
|
var actions = props.actions;
|
|
@@ -7111,6 +7199,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7111
7199
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
7112
7200
|
bgimagesarray = _useState4[0],
|
|
7113
7201
|
setbgimagesarray = _useState4[1];
|
|
7202
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
7114
7203
|
React.useEffect(function () {
|
|
7115
7204
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7116
7205
|
var secpropobj = {};
|
|
@@ -7163,22 +7252,23 @@ var Wishlist = function Wishlist(props) {
|
|
|
7163
7252
|
cart_btn: glamor.css({
|
|
7164
7253
|
width: sectionproperties.cartBtnWidth + 'px',
|
|
7165
7254
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
7166
|
-
background: sectionproperties.
|
|
7255
|
+
background: sectionproperties.cartBtnbgColor,
|
|
7167
7256
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
7168
7257
|
color: sectionproperties.cartBtnTextcolor,
|
|
7169
7258
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
7170
7259
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
7171
7260
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
7261
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
7172
7262
|
transition: '.3s',
|
|
7173
7263
|
':hover': {
|
|
7174
|
-
background: sectionproperties.
|
|
7264
|
+
background: sectionproperties.cartBtnbgColoronhover,
|
|
7175
7265
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
7176
7266
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
7177
7267
|
}
|
|
7178
7268
|
}),
|
|
7179
7269
|
trash_btn: glamor.css({
|
|
7180
|
-
width: sectionproperties.trashbtn_Width + 'px',
|
|
7181
|
-
height: sectionproperties.trashbtn_Height + 'px',
|
|
7270
|
+
width: sectionproperties.trashbtn_Width == 0 ? 'auto' : sectionproperties.trashbtn_Width + 'px',
|
|
7271
|
+
height: sectionproperties.trashbtn_Height == 0 ? 'auto' : sectionproperties.trashbtn_Height + 'px',
|
|
7182
7272
|
background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
|
|
7183
7273
|
color: sectionproperties.trashbtn_Textcolor,
|
|
7184
7274
|
borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
|
|
@@ -7190,20 +7280,13 @@ var Wishlist = function Wishlist(props) {
|
|
|
7190
7280
|
}
|
|
7191
7281
|
}),
|
|
7192
7282
|
imagecont: glamor.css({
|
|
7193
|
-
width: '
|
|
7194
|
-
height: '
|
|
7195
|
-
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
7283
|
+
width: '100px',
|
|
7284
|
+
height: '90px',
|
|
7196
7285
|
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
7197
|
-
|
|
7198
|
-
borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
|
|
7199
|
-
borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
|
|
7200
|
-
borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
|
|
7286
|
+
borderRadius: sectionproperties.productimageborderradius + 'px',
|
|
7201
7287
|
display: 'flex',
|
|
7202
7288
|
alignItems: 'center',
|
|
7203
7289
|
justifyContent: 'center',
|
|
7204
|
-
backgroundRepeat: 'no-repeat',
|
|
7205
|
-
backgroundSize: 'cover',
|
|
7206
|
-
backgroundPosition: 'center',
|
|
7207
7290
|
position: 'relative'
|
|
7208
7291
|
}),
|
|
7209
7292
|
containerstyle: glamor.css({
|
|
@@ -7213,6 +7296,23 @@ var Wishlist = function Wishlist(props) {
|
|
|
7213
7296
|
'@media (max-width: 800px)': {
|
|
7214
7297
|
marginTop: sectionproperties.marginTopResp + 'px'
|
|
7215
7298
|
}
|
|
7299
|
+
}),
|
|
7300
|
+
btnstyles: glamor.css({
|
|
7301
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
7302
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
7303
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
7304
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
7305
|
+
color: sectionproperties.generalbtn_textColor,
|
|
7306
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7307
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7308
|
+
':hover': {
|
|
7309
|
+
transition: '.3s',
|
|
7310
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
7311
|
+
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
7312
|
+
},
|
|
7313
|
+
'@media (max-width: 800px)': {
|
|
7314
|
+
width: '80%'
|
|
7315
|
+
}
|
|
7216
7316
|
})
|
|
7217
7317
|
};
|
|
7218
7318
|
React.useEffect(function () {
|
|
@@ -7263,10 +7363,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7263
7363
|
margin: 0,
|
|
7264
7364
|
padding: 0,
|
|
7265
7365
|
background: sectionproperties.image_bgcolor,
|
|
7266
|
-
|
|
7267
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7268
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7269
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7366
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
7270
7367
|
zIndex: -1,
|
|
7271
7368
|
objectFit: sectionproperties.bgcovercontain
|
|
7272
7369
|
}
|
|
@@ -7282,45 +7379,19 @@ var Wishlist = function Wishlist(props) {
|
|
|
7282
7379
|
padding: 0,
|
|
7283
7380
|
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
7284
7381
|
background: sectionproperties.image_bgcolor,
|
|
7285
|
-
|
|
7286
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7287
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7288
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7382
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
7289
7383
|
zIndex: -1
|
|
7290
7384
|
}
|
|
7291
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7292
|
-
className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
|
|
7293
|
-
style: {
|
|
7294
|
-
position: 'absolute',
|
|
7295
|
-
top: 0,
|
|
7296
|
-
right: 0,
|
|
7297
|
-
bottom: 0,
|
|
7298
|
-
left: 0
|
|
7299
|
-
}
|
|
7300
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7301
|
-
className: ' m-0 p-0 ',
|
|
7302
|
-
style: {
|
|
7303
|
-
fontSize: sectionproperties.imagetextfontsize + 'px',
|
|
7304
|
-
color: sectionproperties.imagetextcolor,
|
|
7305
|
-
textTransform: sectionproperties.imagetexttextTransform,
|
|
7306
|
-
fontWeight: sectionproperties.imagetextfontWeight
|
|
7307
|
-
}
|
|
7308
|
-
}, lang.mywishlist)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7385
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7309
7386
|
className: "col-lg-12 p-0"
|
|
7310
7387
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7311
7388
|
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',
|
|
7312
7389
|
style: {
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
7390
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
7391
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
7316
7392
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
7317
7393
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
7318
|
-
|
|
7319
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
7320
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
7321
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
7322
|
-
borderColor: sectionproperties.sectioncardbordercolor,
|
|
7323
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
7394
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
7324
7395
|
}
|
|
7325
7396
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7326
7397
|
className: 'col-lg-12 p-0'
|
|
@@ -7330,24 +7401,118 @@ var Wishlist = function Wishlist(props) {
|
|
|
7330
7401
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7331
7402
|
className: 'col-lg-12 p-0'
|
|
7332
7403
|
}, fetchFavoriteProductsQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7333
|
-
className: "w-100
|
|
7404
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
7405
|
+
style: {
|
|
7406
|
+
height: '50vh',
|
|
7407
|
+
padding: '20px'
|
|
7408
|
+
}
|
|
7409
|
+
}, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7410
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
7411
|
+
style: {
|
|
7412
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
7413
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
7414
|
+
}
|
|
7415
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7416
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
7417
|
+
style: {
|
|
7418
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
7419
|
+
color: sectionproperties.sectionTitleColor,
|
|
7420
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
7421
|
+
}
|
|
7422
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7423
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
7424
|
+
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
7425
|
+
className: 'table'
|
|
7426
|
+
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
7427
|
+
className: ""
|
|
7428
|
+
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7429
|
+
className: 'mw-150 mw-md-300'
|
|
7430
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7431
|
+
"class": "my-1 is-loading"
|
|
7432
|
+
})), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7433
|
+
className: "text-center",
|
|
7434
|
+
style: {
|
|
7435
|
+
minWidth: '100px'
|
|
7436
|
+
}
|
|
7437
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7438
|
+
"class": "my-1 is-loading"
|
|
7439
|
+
})), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7440
|
+
className: "text-center"
|
|
7441
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7442
|
+
"class": "my-1 is-loading"
|
|
7443
|
+
}))), /*#__PURE__*/React__default["default"].createElement("tbody", null, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
|
|
7444
|
+
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
7445
|
+
className: ""
|
|
7446
|
+
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7447
|
+
className: "mw-150 mw-md-300"
|
|
7448
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7449
|
+
"class": "my-1 is-loading"
|
|
7450
|
+
})), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7451
|
+
className: "text-center",
|
|
7452
|
+
style: {
|
|
7453
|
+
minWidth: '100px'
|
|
7454
|
+
}
|
|
7455
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7456
|
+
"class": "my-1 is-loading"
|
|
7457
|
+
})), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7458
|
+
className: "text-center",
|
|
7459
|
+
style: {
|
|
7460
|
+
minWidth: '100px'
|
|
7461
|
+
}
|
|
7462
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7463
|
+
"class": "my-1 is-loading"
|
|
7464
|
+
})));
|
|
7465
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7466
|
+
"class": "col-lg-12 p-0 d-none d-md-flex"
|
|
7467
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7468
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
7334
7469
|
style: {
|
|
7335
7470
|
height: '50vh'
|
|
7336
7471
|
}
|
|
7337
|
-
},
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7472
|
+
}, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
|
|
7473
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7474
|
+
"class": "col-lg-12 p-0"
|
|
7475
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7476
|
+
"class": "row m-0 w-100"
|
|
7477
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7478
|
+
className: ' col-3 p-0 '
|
|
7479
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7480
|
+
className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 is-loading image '
|
|
7481
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7482
|
+
className: "col-9 pt-2"
|
|
7483
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7484
|
+
"class": "row m-0 w-100 d-flex"
|
|
7485
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7486
|
+
"class": "col-10 p-0 mb-1"
|
|
7487
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7488
|
+
className: ' m-0 p-0 is-loading mb-auto '
|
|
7489
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7490
|
+
"class": "col-lg-12 p-0"
|
|
7491
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7492
|
+
"class": ' m-0 p-0 is-loading '
|
|
7493
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7494
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
7495
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7496
|
+
className: ' w-100 is-loading ',
|
|
7497
|
+
style: {
|
|
7498
|
+
height: sectionproperties.cartBtnHeight + 'px'
|
|
7499
|
+
}
|
|
7500
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7501
|
+
"class": "col-lg-12 p-0 my-3",
|
|
7502
|
+
style: {
|
|
7503
|
+
background: '#eee',
|
|
7504
|
+
height: 1,
|
|
7505
|
+
width: '100%'
|
|
7506
|
+
}
|
|
7507
|
+
})));
|
|
7508
|
+
})))), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7343
7509
|
className: "row ml-0 mr-0 w-100 "
|
|
7344
7510
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7345
7511
|
className: 'col-lg-12 d-flex w-100 p-0'
|
|
7346
|
-
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7512
|
+
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7347
7513
|
className: 'row m-0 d-flex justify-content-center w-100',
|
|
7348
7514
|
style: {
|
|
7349
7515
|
background: sectionproperties.reservation_bgcolor,
|
|
7350
|
-
border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
|
|
7351
7516
|
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
7352
7517
|
padding: '20px',
|
|
7353
7518
|
minHeight: '70vh'
|
|
@@ -7412,24 +7577,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7412
7577
|
fontSize: sectionproperties.cartBtnTextfontsize + 'px'
|
|
7413
7578
|
}
|
|
7414
7579
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
|
|
7415
|
-
})), fetchFavoriteProductsQueryContext.data.data.products.length
|
|
7416
|
-
className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100",
|
|
7417
|
-
style: {
|
|
7418
|
-
height: '50vh'
|
|
7419
|
-
}
|
|
7420
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7421
|
-
className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
7422
|
-
}, /*#__PURE__*/React__default["default"].createElement(BiSad.BiSad, {
|
|
7423
|
-
size: sectionproperties.noprod_iconfontSize,
|
|
7424
|
-
color: sectionproperties.noprod_iconcolor
|
|
7425
|
-
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7426
|
-
"class": "m-0 p-0 mt-2",
|
|
7427
|
-
style: {
|
|
7428
|
-
fontWeight: sectionproperties.noprod_fontWeight,
|
|
7429
|
-
color: sectionproperties.noprod_color,
|
|
7430
|
-
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
7431
|
-
}
|
|
7432
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7580
|
+
})))), sectionproperties.pagedesign == 'Design 2 (Table)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7433
7581
|
className: ' row m-0 w-100 p-sm-3 ',
|
|
7434
7582
|
style: {
|
|
7435
7583
|
background: sectionproperties.reservation_bgcolor,
|
|
@@ -7439,21 +7587,49 @@ var Wishlist = function Wishlist(props) {
|
|
|
7439
7587
|
minHeight: '70vh'
|
|
7440
7588
|
}
|
|
7441
7589
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7442
|
-
className: '
|
|
7590
|
+
className: ' row m-0 w-100 d-block '
|
|
7591
|
+
}, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7592
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
7593
|
+
style: {
|
|
7594
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
7595
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
7596
|
+
}
|
|
7597
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7598
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
7599
|
+
style: {
|
|
7600
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
7601
|
+
color: sectionproperties.sectionTitleColor,
|
|
7602
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
7603
|
+
}
|
|
7604
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7605
|
+
className: ' col-lg-12 table_responsive p-0 d-block d-md-none '
|
|
7443
7606
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
7444
7607
|
className: 'table'
|
|
7445
7608
|
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
7446
7609
|
className: ""
|
|
7447
7610
|
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7448
|
-
className: langdetect == 'en' ? 'text-left font-weight-500 font-14
|
|
7449
|
-
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7450
|
-
className: "text-center font-weight-500 font-14 text-light",
|
|
7611
|
+
className: langdetect == 'en' ? 'text-left font-weight-500 font-14 mw-150 mw-md-300' : 'text-right font-weight-500 font-14 mw-150 mw-md-300',
|
|
7451
7612
|
style: {
|
|
7452
|
-
|
|
7613
|
+
color: sectionproperties.sectionTitleColor
|
|
7614
|
+
}
|
|
7615
|
+
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7616
|
+
className: "text-center font-weight-500 font-14",
|
|
7617
|
+
style: {
|
|
7618
|
+
minWidth: '100px',
|
|
7619
|
+
color: sectionproperties.sectionTitleColor
|
|
7620
|
+
}
|
|
7621
|
+
}, langdetect == 'en' ? 'Unit Price' : 'السعر'), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7622
|
+
className: "text-center font-weight-500 font-14",
|
|
7623
|
+
style: {
|
|
7624
|
+
minWidth: '100px',
|
|
7625
|
+
color: sectionproperties.sectionTitleColor
|
|
7453
7626
|
}
|
|
7454
|
-
}
|
|
7455
|
-
className: "text-center font-weight-500 font-14
|
|
7456
|
-
|
|
7627
|
+
}), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7628
|
+
className: "text-center font-weight-500 font-14",
|
|
7629
|
+
style: {
|
|
7630
|
+
color: sectionproperties.sectionTitleColor
|
|
7631
|
+
}
|
|
7632
|
+
})), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
7457
7633
|
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
7458
7634
|
className: "border-none"
|
|
7459
7635
|
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
@@ -7469,14 +7645,28 @@ var Wishlist = function Wishlist(props) {
|
|
|
7469
7645
|
style: {
|
|
7470
7646
|
width: '100%',
|
|
7471
7647
|
height: '100%',
|
|
7472
|
-
objectFit: '
|
|
7648
|
+
objectFit: 'contain'
|
|
7473
7649
|
},
|
|
7474
7650
|
loading: "lazy"
|
|
7475
7651
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7476
|
-
className: "col-lg-9 col-md-9 col-sm-8"
|
|
7652
|
+
className: "col-lg-9 col-md-9 col-sm-8 pt-2"
|
|
7653
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7654
|
+
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
|
|
7655
|
+
style: {
|
|
7656
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
7657
|
+
}
|
|
7658
|
+
}, item.name_en)))), sectionproperties.prodPriceShow = /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7659
|
+
className: "text-center",
|
|
7660
|
+
style: {
|
|
7661
|
+
minWidth: '100px'
|
|
7662
|
+
}
|
|
7663
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7664
|
+
"class": "row m-0 w-100 allcentered flex-column"
|
|
7477
7665
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7478
|
-
|
|
7479
|
-
},
|
|
7666
|
+
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
7667
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7668
|
+
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
|
|
7669
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7480
7670
|
className: "text-center",
|
|
7481
7671
|
style: {
|
|
7482
7672
|
minWidth: '100px'
|
|
@@ -7487,28 +7677,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7487
7677
|
setShowProductInfoModalContext(true);
|
|
7488
7678
|
setProductIdProdutInfoModalContext(item.productid);
|
|
7489
7679
|
}
|
|
7490
|
-
},
|
|
7491
|
-
className: "",
|
|
7492
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7493
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
7494
|
-
className: "",
|
|
7495
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7496
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
7497
|
-
className: "",
|
|
7498
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7499
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
|
|
7500
|
-
className: "",
|
|
7501
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7502
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
7503
|
-
className: "",
|
|
7504
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7505
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
7506
|
-
className: "",
|
|
7507
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7508
|
-
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
7509
|
-
className: "",
|
|
7510
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7511
|
-
}))), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7680
|
+
}, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7512
7681
|
className: "text-center"
|
|
7513
7682
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7514
7683
|
className: " ".concat(wishlist_cssstyles.trash_btn) + ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto ',
|
|
@@ -7518,22 +7687,110 @@ var Wishlist = function Wishlist(props) {
|
|
|
7518
7687
|
style: {
|
|
7519
7688
|
fontSize: sectionproperties.trashbtn_Textfontsize + 'px'
|
|
7520
7689
|
}
|
|
7521
|
-
},
|
|
7522
|
-
|
|
7523
|
-
|
|
7690
|
+
}, /*#__PURE__*/React__default["default"].createElement(HiOutlineTrash.HiOutlineTrash, {
|
|
7691
|
+
size: sectionproperties.trashbtn_Textfontsize
|
|
7692
|
+
}))));
|
|
7693
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7694
|
+
className: ' col-lg-12 p-0 d-none d-md-flex align-items-center justify-content-start '
|
|
7524
7695
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7525
|
-
className: '
|
|
7526
|
-
},
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7696
|
+
className: ' row m-0 w-100 d-flex align-items-center justify-content-start '
|
|
7697
|
+
}, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
7698
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7699
|
+
"class": "col-lg-12 p-0"
|
|
7700
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7701
|
+
"class": "row m-0 w-100"
|
|
7702
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7703
|
+
className: ' col-3 p-0 '
|
|
7704
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7705
|
+
className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 '
|
|
7706
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
7707
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
7708
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
7709
|
+
path: item.productmainimage,
|
|
7710
|
+
style: {
|
|
7711
|
+
width: '100%',
|
|
7712
|
+
height: '100%',
|
|
7713
|
+
objectFit: 'contain'
|
|
7714
|
+
},
|
|
7715
|
+
loading: "lazy"
|
|
7716
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7717
|
+
className: "col-9 pt-2"
|
|
7718
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7719
|
+
"class": "row m-0 w-100 d-flex"
|
|
7720
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7721
|
+
"class": "col-10 p-0 d-flex align-items-center justify-content-start"
|
|
7722
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7723
|
+
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
|
|
7724
|
+
style: {
|
|
7725
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
7726
|
+
}
|
|
7727
|
+
}, item.name_en)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7728
|
+
"class": "col-2 p-0 d-flex align-items-center justify-content-end"
|
|
7729
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7730
|
+
className: " ".concat(wishlist_cssstyles.trash_btnresp) + ' allcentered ',
|
|
7731
|
+
onClick: function onClick() {
|
|
7732
|
+
addtofavoritescontext(item.productid);
|
|
7733
|
+
}
|
|
7734
|
+
}, /*#__PURE__*/React__default["default"].createElement(HiOutlineTrash.HiOutlineTrash, {
|
|
7735
|
+
size: sectionproperties.trashbtn_Textfontsize
|
|
7736
|
+
}))), sectionproperties.prodPriceShow = /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7737
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
7738
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7739
|
+
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
7740
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7741
|
+
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mx-2 mt-auto '
|
|
7742
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : '')))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7743
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
7744
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7745
|
+
className: "".concat(wishlist_cssstyles.cart_btn) + ' w-100 ',
|
|
7746
|
+
onClick: function onClick() {
|
|
7747
|
+
setShowProductInfoModalContext(true);
|
|
7748
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
7749
|
+
}
|
|
7750
|
+
}, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7751
|
+
"class": "col-lg-12 p-0 my-3",
|
|
7752
|
+
style: {
|
|
7753
|
+
background: '#eee',
|
|
7754
|
+
height: 1,
|
|
7755
|
+
width: '100%'
|
|
7756
|
+
}
|
|
7757
|
+
})));
|
|
7758
|
+
}))))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7759
|
+
className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
|
|
7760
|
+
style: {
|
|
7761
|
+
maxHeight: '60vh',
|
|
7762
|
+
padding: '20px'
|
|
7763
|
+
}
|
|
7764
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7765
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
7766
|
+
style: {
|
|
7767
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
7768
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
7769
|
+
}
|
|
7770
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7771
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
7772
|
+
style: {
|
|
7773
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
7774
|
+
color: sectionproperties.sectionTitleColor,
|
|
7775
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
7776
|
+
}
|
|
7777
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7778
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
|
|
7779
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7780
|
+
"class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
|
|
7531
7781
|
style: {
|
|
7532
7782
|
fontWeight: sectionproperties.noprod_fontWeight,
|
|
7533
7783
|
color: sectionproperties.noprod_color,
|
|
7534
7784
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
7535
7785
|
}
|
|
7536
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))
|
|
7786
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7787
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
|
|
7788
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7789
|
+
"class": "".concat(wishlist_cssstyles.btnstyles),
|
|
7790
|
+
onClick: function onClick() {
|
|
7791
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
7792
|
+
}
|
|
7793
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7537
7794
|
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
7538
7795
|
})));
|
|
7539
7796
|
};
|
|
@@ -7564,6 +7821,10 @@ var Viewcart = function Viewcart(props) {
|
|
|
7564
7821
|
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
7565
7822
|
_useState4[0];
|
|
7566
7823
|
var setimagesarray = _useState4[1];
|
|
7824
|
+
var _useState5 = React.useState([]),
|
|
7825
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
7826
|
+
bgimagesarray = _useState6[0],
|
|
7827
|
+
setbgimagesarray = _useState6[1];
|
|
7567
7828
|
React.useEffect(function () {
|
|
7568
7829
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7569
7830
|
var _StatePagePropertiesC;
|
|
@@ -7590,6 +7851,16 @@ var Viewcart = function Viewcart(props) {
|
|
|
7590
7851
|
}
|
|
7591
7852
|
}
|
|
7592
7853
|
}, [sectionproperties]);
|
|
7854
|
+
React.useEffect(function () {
|
|
7855
|
+
if (sectionproperties.length != 0) {
|
|
7856
|
+
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
7857
|
+
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
7858
|
+
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
7859
|
+
setbgimagesarray(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
|
|
7860
|
+
}
|
|
7861
|
+
}
|
|
7862
|
+
}
|
|
7863
|
+
}, [sectionproperties]);
|
|
7593
7864
|
var Summary = function Summary() {
|
|
7594
7865
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
|
|
7595
7866
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -7661,6 +7932,23 @@ var Viewcart = function Viewcart(props) {
|
|
|
7661
7932
|
}, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar)))));
|
|
7662
7933
|
};
|
|
7663
7934
|
var viewcart_cssstyles = {
|
|
7935
|
+
btnstyles: glamor.css({
|
|
7936
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
7937
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
7938
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
7939
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
7940
|
+
color: sectionproperties.generalbtn_textColor,
|
|
7941
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7942
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7943
|
+
':hover': {
|
|
7944
|
+
transition: '.3s',
|
|
7945
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
7946
|
+
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
7947
|
+
},
|
|
7948
|
+
'@media (max-width: 800px)': {
|
|
7949
|
+
width: '80%'
|
|
7950
|
+
}
|
|
7951
|
+
}),
|
|
7664
7952
|
checkoutbtnstyles: glamor.css({
|
|
7665
7953
|
background: sectionproperties.checkoutBtnbgColortranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColor,
|
|
7666
7954
|
width: sectionproperties.checkoutBtnWidth + 'px',
|
|
@@ -7795,38 +8083,8 @@ var Viewcart = function Viewcart(props) {
|
|
|
7795
8083
|
'@media (max-width: 800px)': {
|
|
7796
8084
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
7797
8085
|
}
|
|
7798
|
-
}),
|
|
7799
|
-
shopbuttonstyles: glamor.css({
|
|
7800
|
-
width: sectionproperties.generalbtn_width == 0 ? '100%' : sectionproperties.generalbtn_width + '%',
|
|
7801
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
7802
|
-
borderRadius: sectionproperties.generalbtnborderradius,
|
|
7803
|
-
backgroundColor: sectionproperties.generalbtn_bgColor,
|
|
7804
|
-
color: sectionproperties.generalbtn_textColor,
|
|
7805
|
-
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
7806
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7807
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7808
|
-
':hover': {
|
|
7809
|
-
transition: '.3s',
|
|
7810
|
-
backgroundColor: sectionproperties.generalbtn_bgColoronhover,
|
|
7811
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
7812
|
-
borderColor: sectionproperties.generalbtn_textColoronhover
|
|
7813
|
-
}
|
|
7814
8086
|
})
|
|
7815
8087
|
};
|
|
7816
|
-
var _useState5 = React.useState([]),
|
|
7817
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
7818
|
-
bgimagesarray = _useState6[0],
|
|
7819
|
-
setbgimagesarray = _useState6[1];
|
|
7820
|
-
React.useEffect(function () {
|
|
7821
|
-
if (sectionproperties.length != 0) {
|
|
7822
|
-
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
7823
|
-
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
7824
|
-
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
7825
|
-
setbgimagesarray(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
|
|
7826
|
-
}
|
|
7827
|
-
}
|
|
7828
|
-
}
|
|
7829
|
-
}, [sectionproperties]);
|
|
7830
8088
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7831
8089
|
className: viewcart_cssstyles.containerstyles + ' row ml-0 mr-0 w-100 d-flex justify-content-center ',
|
|
7832
8090
|
style: {}
|
|
@@ -7887,16 +8145,11 @@ var Viewcart = function Viewcart(props) {
|
|
|
7887
8145
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7888
8146
|
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',
|
|
7889
8147
|
style: {
|
|
7890
|
-
paddingLeft: sectionproperties.
|
|
7891
|
-
paddingRight: sectionproperties.
|
|
8148
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8149
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
7892
8150
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
7893
8151
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
7894
|
-
|
|
7895
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
7896
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
7897
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
7898
|
-
borderColor: sectionproperties.sectioncardbordercolor,
|
|
7899
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
8152
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
7900
8153
|
}
|
|
7901
8154
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7902
8155
|
className: 'col-lg-12 p-0'
|
|
@@ -8111,38 +8364,40 @@ var Viewcart = function Viewcart(props) {
|
|
|
8111
8364
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8112
8365
|
className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
|
|
8113
8366
|
}, 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__default["default"].createElement("div", {
|
|
8114
|
-
className: "row m-0 w-100 d-flex
|
|
8367
|
+
className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
|
|
8115
8368
|
style: {
|
|
8116
|
-
|
|
8369
|
+
maxHeight: '60vh'
|
|
8117
8370
|
}
|
|
8118
8371
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8119
|
-
className:
|
|
8120
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8121
|
-
className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
|
|
8122
|
-
}, sectionproperties.noproducticontype == 'Cart' && sectionproperties.noprod_iconfontSize != 0 && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8123
|
-
src: 'https://tabex-co.com/storage/StaticImages/shoppingcart.png',
|
|
8372
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
8124
8373
|
style: {
|
|
8125
|
-
|
|
8126
|
-
|
|
8374
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
8375
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
8127
8376
|
}
|
|
8128
|
-
}
|
|
8377
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8378
|
+
"class": "m-0 p-0",
|
|
8129
8379
|
style: {
|
|
8130
|
-
fontSize: sectionproperties.
|
|
8131
|
-
color: sectionproperties.
|
|
8380
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8381
|
+
color: sectionproperties.sectionTitleColor,
|
|
8382
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8132
8383
|
}
|
|
8133
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
8134
|
-
|
|
8384
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8385
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
|
|
8386
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8387
|
+
"class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
|
|
8135
8388
|
style: {
|
|
8136
8389
|
fontWeight: sectionproperties.noprod_fontWeight,
|
|
8137
8390
|
color: sectionproperties.noprod_color,
|
|
8138
8391
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8139
8392
|
}
|
|
8140
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React__default["default"].createElement("
|
|
8141
|
-
className:
|
|
8393
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8394
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
|
|
8395
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8396
|
+
"class": "".concat(viewcart_cssstyles.btnstyles),
|
|
8142
8397
|
onClick: function onClick() {
|
|
8143
8398
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
8144
8399
|
}
|
|
8145
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))
|
|
8400
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
|
|
8146
8401
|
};
|
|
8147
8402
|
|
|
8148
8403
|
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";
|
|
@@ -8155,7 +8410,7 @@ var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
8155
8410
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
8156
8411
|
});
|
|
8157
8412
|
var Checkout = function Checkout(props) {
|
|
8158
|
-
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73;
|
|
8413
|
+
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _fetchcustomercartQue75;
|
|
8159
8414
|
var _useState = React.useState(null),
|
|
8160
8415
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
8161
8416
|
_useState2[0];
|
|
@@ -8458,15 +8713,13 @@ var Checkout = function Checkout(props) {
|
|
|
8458
8713
|
})), _defineProperty__default["default"](_checkoutstyles, "containerstyles", glamor.css({
|
|
8459
8714
|
marginTop: sectionproperties.marginTop + 'px',
|
|
8460
8715
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
8461
|
-
paddingLeft: sectionproperties.
|
|
8462
|
-
paddingRight: sectionproperties.
|
|
8716
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8717
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8463
8718
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
8464
8719
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
8465
8720
|
background: sectionproperties.backgroundColor,
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
8469
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
8721
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
8722
|
+
minHeight: '70vh',
|
|
8470
8723
|
'@media (max-width: 800px)': {
|
|
8471
8724
|
marginTop: sectionproperties.marginTopResp + 'px'
|
|
8472
8725
|
}
|
|
@@ -8864,13 +9117,16 @@ var Checkout = function Checkout(props) {
|
|
|
8864
9117
|
__html: langdetect == 'en' ? sectionproperties.text1editortexten : sectionproperties.text1editortextar
|
|
8865
9118
|
}
|
|
8866
9119
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8867
|
-
className: "col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3",
|
|
9120
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
8868
9121
|
style: {
|
|
8869
9122
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
8870
9123
|
}
|
|
8871
9124
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8872
9125
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
8873
9126
|
onClick: function onClick() {
|
|
9127
|
+
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
9128
|
+
cartinfoupdater('paymentmethod', 'cod');
|
|
9129
|
+
}
|
|
8874
9130
|
addorderfuncrunner();
|
|
8875
9131
|
// AddOrderMutationContext.mutate(payloadobj);
|
|
8876
9132
|
},
|
|
@@ -8886,7 +9142,9 @@ var Checkout = function Checkout(props) {
|
|
|
8886
9142
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8887
9143
|
className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
|
|
8888
9144
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8889
|
-
className:
|
|
9145
|
+
className: ' col-lg-12 w-100 d-flex justify-content-center p-0 '
|
|
9146
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9147
|
+
className: checkoutstyles.containerstyles + ' w-100 d-flex justify-content-center px-md-2 '
|
|
8890
9148
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8891
9149
|
className: 'row m-0 w-100 justify-content-center '
|
|
8892
9150
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -9250,7 +9508,7 @@ var Checkout = function Checkout(props) {
|
|
|
9250
9508
|
resize: 'none',
|
|
9251
9509
|
boxShadow: 'none'
|
|
9252
9510
|
}
|
|
9253
|
-
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9511
|
+
}))))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9254
9512
|
className: "col-lg-12 p-0 w-100"
|
|
9255
9513
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9256
9514
|
"class": "".concat(checkoutstyles.innersection) + ' w-100 mb-3 '
|
|
@@ -9353,7 +9611,28 @@ var Checkout = function Checkout(props) {
|
|
|
9353
9611
|
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"
|
|
9354
9612
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9355
9613
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9356
|
-
}, " ValU")))
|
|
9614
|
+
}, " ValU"))), authdetailsContext.instinfo.acceptmobilewalletpayment == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9615
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9616
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
9617
|
+
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 '
|
|
9618
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
9619
|
+
type: "checkbox",
|
|
9620
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9621
|
+
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,
|
|
9622
|
+
onChange: function onChange() {
|
|
9623
|
+
var _fetchcustomercartQue74;
|
|
9624
|
+
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') {
|
|
9625
|
+
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
9626
|
+
}
|
|
9627
|
+
}
|
|
9628
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9629
|
+
viewBox: "0 0 21 21",
|
|
9630
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9631
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
9632
|
+
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"
|
|
9633
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9634
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9635
|
+
}, " 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__default["default"].createElement("div", {
|
|
9357
9636
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9358
9637
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9359
9638
|
style: {
|
|
@@ -9455,7 +9734,7 @@ var Checkout = function Checkout(props) {
|
|
|
9455
9734
|
}
|
|
9456
9735
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9457
9736
|
className: langdetect == 'en' ? 'col-lg-4 col-md-12 pr-0' : 'col-lg-4 col-md-12 pl-0'
|
|
9458
|
-
}, Mycart()))));
|
|
9737
|
+
}, Mycart())))));
|
|
9459
9738
|
};
|
|
9460
9739
|
|
|
9461
9740
|
function ownKeys$2d(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; }
|
|
@@ -9482,7 +9761,6 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9482
9761
|
var instapikey = props.actions.instapikey;
|
|
9483
9762
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
9484
9763
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
9485
|
-
props.actions.ikimagecredcontext;
|
|
9486
9764
|
var NotificationManager = props.actions.NotificationManager;
|
|
9487
9765
|
var actions = props.actions;
|
|
9488
9766
|
var _useState = React.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),
|
|
@@ -9904,7 +10182,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9904
10182
|
setFetchTabexStatesPayloadobjContext(_objectSpread$2d({}, tempFetchTabexStatesPayloadobjContext));
|
|
9905
10183
|
payloadobjchange('countryid', option.id);
|
|
9906
10184
|
},
|
|
9907
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
10185
|
+
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
9908
10186
|
placeholder: langdetect == 'en' ? 'Choose Country' : 'إختر البلد',
|
|
9909
10187
|
isSearchable: true
|
|
9910
10188
|
})), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -9956,7 +10234,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9956
10234
|
setFetchTabexStatesPayloadobjContext(_objectSpread$2d({}, tempFetchTabexStatesPayloadobjContext));
|
|
9957
10235
|
payloadobjchange('stateid', option.id);
|
|
9958
10236
|
},
|
|
9959
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
10237
|
+
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
9960
10238
|
placeholder: lang.choosestategov,
|
|
9961
10239
|
isSearchable: true
|
|
9962
10240
|
})), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10004,7 +10282,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10004
10282
|
onChange: function onChange(option) {
|
|
10005
10283
|
payloadobjchange('cityid', option.id);
|
|
10006
10284
|
},
|
|
10007
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
10285
|
+
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
10008
10286
|
placeholder: lang.choosecity,
|
|
10009
10287
|
isSearchable: true
|
|
10010
10288
|
})), sectionproperties.hideaddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10020,7 +10298,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10020
10298
|
className: loginstyles.wrap_input100
|
|
10021
10299
|
}, /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
10022
10300
|
type: "text",
|
|
10023
|
-
className: "".concat(loginstyles.form_control, " ").concat(
|
|
10301
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control) + ' py-1 ',
|
|
10024
10302
|
value: payloadobj.shippingaddress,
|
|
10025
10303
|
textplaceholder: "",
|
|
10026
10304
|
onChange: function onChange(event) {
|
|
@@ -10199,11 +10477,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10199
10477
|
style: {
|
|
10200
10478
|
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
10201
10479
|
}
|
|
10202
|
-
}, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar), authdetailsContext.loggedin == true && /*#__PURE__*/React__default["default"].createElement("span",
|
|
10203
|
-
style: {
|
|
10204
|
-
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
10205
|
-
}
|
|
10206
|
-
}, lang.update)));
|
|
10480
|
+
}, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar), authdetailsContext.loggedin == true && /*#__PURE__*/React__default["default"].createElement("span", null, lang.update)));
|
|
10207
10481
|
};
|
|
10208
10482
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10209
10483
|
className: "row m-0 w-100 d-flex justify-content-center",
|
|
@@ -10275,7 +10549,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10275
10549
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
10276
10550
|
}
|
|
10277
10551
|
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$c2 = authdetailsContext.customerinfo) === null || _authdetailsContext$c2 === void 0 ? void 0 : _authdetailsContext$c2.subscrption_enddate))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10278
|
-
className:
|
|
10552
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0'
|
|
10279
10553
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10280
10554
|
style: {
|
|
10281
10555
|
background: sectionproperties.backgroundColor,
|
|
@@ -10284,8 +10558,8 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10284
10558
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
10285
10559
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
10286
10560
|
},
|
|
10287
|
-
className:
|
|
10288
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10561
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100'
|
|
10562
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10289
10563
|
className: "row ml-0 mr-0"
|
|
10290
10564
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10291
10565
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
@@ -10301,12 +10575,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10301
10575
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
10302
10576
|
className: "mt-2 mb-3"
|
|
10303
10577
|
}))), PersonalInformation())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10304
|
-
className:
|
|
10578
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0',
|
|
10305
10579
|
style: {
|
|
10306
10580
|
display: sectionproperties.hidecountrystatecity == 'Show' && sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
|
|
10307
10581
|
}
|
|
10308
10582
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10309
|
-
className: 'p-2 w-100',
|
|
10583
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100',
|
|
10310
10584
|
style: {
|
|
10311
10585
|
background: sectionproperties.backgroundColor,
|
|
10312
10586
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
@@ -10314,7 +10588,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10314
10588
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
10315
10589
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
10316
10590
|
}
|
|
10317
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10591
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10318
10592
|
className: "row ml-0 mr-0"
|
|
10319
10593
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10320
10594
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
@@ -10330,9 +10604,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10330
10604
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
10331
10605
|
className: "mt-2 mb-3"
|
|
10332
10606
|
}))), Address())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10333
|
-
className:
|
|
10607
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0'
|
|
10334
10608
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10335
|
-
className: 'p-2 w-100',
|
|
10609
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100',
|
|
10336
10610
|
style: {
|
|
10337
10611
|
background: sectionproperties.backgroundColor,
|
|
10338
10612
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
@@ -10340,7 +10614,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10340
10614
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
10341
10615
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
10342
10616
|
}
|
|
10343
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10617
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10344
10618
|
className: "row ml-0 mr-0"
|
|
10345
10619
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10346
10620
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
@@ -10358,7 +10632,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10358
10632
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10359
10633
|
className: "row ml-0 mr-0"
|
|
10360
10634
|
}, Password()))), payloadobj.instsignupformvalues.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10361
|
-
className:
|
|
10635
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0'
|
|
10362
10636
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10363
10637
|
style: {
|
|
10364
10638
|
background: sectionproperties.backgroundColor,
|
|
@@ -10367,7 +10641,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10367
10641
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
10368
10642
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
10369
10643
|
},
|
|
10370
|
-
className:
|
|
10644
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100'
|
|
10371
10645
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10372
10646
|
className: "row ml-0 mr-0"
|
|
10373
10647
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -11205,7 +11479,7 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11205
11479
|
var lang = props.actions.lang;
|
|
11206
11480
|
var langdetect = props.actions.langdetect;
|
|
11207
11481
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
11208
|
-
|
|
11482
|
+
props.actions.StatePagePropertiesContext;
|
|
11209
11483
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
11210
11484
|
var actions = props.actions;
|
|
11211
11485
|
var _useState = React.useState(''),
|
|
@@ -11337,7 +11611,7 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11337
11611
|
}, lang.accountinformation)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11338
11612
|
className: "col-lg-12 p-0"
|
|
11339
11613
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11340
|
-
className: "row m-0 w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-
|
|
11614
|
+
className: "row m-0 w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-3 pr-sm-3",
|
|
11341
11615
|
style: {
|
|
11342
11616
|
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
11343
11617
|
paddingRight: sectionproperties.paddingRight + 'px',
|
|
@@ -11348,7 +11622,8 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11348
11622
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
11349
11623
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
11350
11624
|
borderColor: sectionproperties.sectioncardbordercolor,
|
|
11351
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
11625
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
11626
|
+
background: sectionproperties.cardstyletype == 'Style 1' ? '' : sectionproperties.backgroundColor
|
|
11352
11627
|
}
|
|
11353
11628
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11354
11629
|
className: 'col-lg-12 p-0'
|
|
@@ -11359,16 +11634,28 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11359
11634
|
className: 'col-lg-12 p-0'
|
|
11360
11635
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11361
11636
|
className: "row m-0 w-100"
|
|
11362
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11637
|
+
}, sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11638
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
11639
|
+
style: {
|
|
11640
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
11641
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
11642
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
11643
|
+
}
|
|
11644
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11645
|
+
className: "m-0 p-0",
|
|
11646
|
+
style: {
|
|
11647
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
11648
|
+
color: sectionproperties.sectionTitleColor,
|
|
11649
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
11650
|
+
}
|
|
11651
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11363
11652
|
className: 'col-lg-12 p-0'
|
|
11364
11653
|
}, /*#__PURE__*/React__default["default"].createElement(CustomerInformationForm, {
|
|
11365
11654
|
formtype: "edit",
|
|
11366
11655
|
srcfromprops: "accountinfo",
|
|
11367
11656
|
sectionpropertiesprops: sectionproperties,
|
|
11368
11657
|
actions: actions
|
|
11369
|
-
}))))))
|
|
11370
|
-
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
11371
|
-
}));
|
|
11658
|
+
})))))));
|
|
11372
11659
|
};
|
|
11373
11660
|
|
|
11374
11661
|
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";
|
|
@@ -11918,11 +12205,12 @@ var CartSlider = function CartSlider(props) {
|
|
|
11918
12205
|
setsidecartnavshowWorkplaceDesigncontext(false);
|
|
11919
12206
|
setsidecartnavshowcontext(false);
|
|
11920
12207
|
},
|
|
11921
|
-
placement:
|
|
12208
|
+
placement: langdetect == 'en' ? 'end' : 'start',
|
|
11922
12209
|
scroll: true,
|
|
11923
12210
|
style: {
|
|
11924
12211
|
backgroundColor: sectionproperties.backgroundColor,
|
|
11925
|
-
height: '100vh'
|
|
12212
|
+
height: '100vh',
|
|
12213
|
+
width: '30vw'
|
|
11926
12214
|
},
|
|
11927
12215
|
backdrop: CurrentSrcTypeContext == 'workplace' ? false : true
|
|
11928
12216
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -12009,7 +12297,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
12009
12297
|
}, (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__default["default"].createElement("div", {
|
|
12010
12298
|
className: "row m-0 w-100 h-100"
|
|
12011
12299
|
}, (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__default["default"].createElement("div", {
|
|
12012
|
-
className: "col-lg-12 p-0 mt-5 anim"
|
|
12300
|
+
className: "col-lg-12 p-0 mt-5 anim pt-3"
|
|
12013
12301
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12014
12302
|
className: "row m-0 w-100 d-flex align-items-center justify-content-center",
|
|
12015
12303
|
style: {
|
|
@@ -12108,25 +12396,39 @@ var CartSlider = function CartSlider(props) {
|
|
|
12108
12396
|
"class": "col-9 p-0 d-flex justify-content-start align-items-center"
|
|
12109
12397
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
12110
12398
|
className: " ".concat(cart_cssstyles.quantitybtn) + ' px-2 d-flex align-items-center justify-content-center '
|
|
12111
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12399
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12112
12400
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
12113
12401
|
onClick: function onClick() {
|
|
12114
12402
|
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
12115
12403
|
}
|
|
12116
12404
|
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
12117
12405
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
12406
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12407
|
+
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
12408
|
+
onClick: function onClick() {
|
|
12409
|
+
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
12410
|
+
}
|
|
12411
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
12412
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
12118
12413
|
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12119
12414
|
className: "".concat(cart_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
12120
12415
|
style: {
|
|
12121
12416
|
background: 'transparent'
|
|
12122
12417
|
}
|
|
12123
|
-
}, item.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12418
|
+
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12124
12419
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
12125
12420
|
onClick: function onClick() {
|
|
12126
12421
|
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
12127
12422
|
}
|
|
12128
12423
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
12129
12424
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
12425
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12426
|
+
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
12427
|
+
onClick: function onClick() {
|
|
12428
|
+
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
12429
|
+
}
|
|
12430
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
12431
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
12130
12432
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12131
12433
|
"class": "col-3 p-0 d-flex justify-content-end align-items-center"
|
|
12132
12434
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -13302,6 +13604,15 @@ var Filter$1 = function Filter(props) {
|
|
|
13302
13604
|
cursor: 'pointer',
|
|
13303
13605
|
color: sectionproperties.showallcolorhover
|
|
13304
13606
|
}
|
|
13607
|
+
}),
|
|
13608
|
+
sectiontitle: glamor.css({
|
|
13609
|
+
position: 'relative',
|
|
13610
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
13611
|
+
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
13612
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
13613
|
+
'@media (max-width: 800px)': {
|
|
13614
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
13615
|
+
}
|
|
13305
13616
|
})
|
|
13306
13617
|
};
|
|
13307
13618
|
var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
|
|
@@ -13487,13 +13798,8 @@ var Filter$1 = function Filter(props) {
|
|
|
13487
13798
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13488
13799
|
"class": "col-lg-6 col-md-6 p-0 d-flex align-items-center justify-content-start"
|
|
13489
13800
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13490
|
-
"class":
|
|
13491
|
-
style: {
|
|
13492
|
-
position: 'relative',
|
|
13493
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
13494
|
-
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
13495
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px'
|
|
13496
|
-
}
|
|
13801
|
+
"class": filter_cssstyles.sectiontitle + ' d-flex align-items-center flex-row ',
|
|
13802
|
+
style: {}
|
|
13497
13803
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13498
13804
|
"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 ',
|
|
13499
13805
|
style: {
|
|
@@ -13504,7 +13810,11 @@ var Filter$1 = function Filter(props) {
|
|
|
13504
13810
|
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
13505
13811
|
}
|
|
13506
13812
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13507
|
-
"class": "col-lg-6 col-md-6 d-flex align-items-center justify-content-end"
|
|
13813
|
+
"class": "col-lg-6 col-md-6 d-flex align-items-center justify-content-end",
|
|
13814
|
+
style: {
|
|
13815
|
+
paddingRight: langdetect == 'en' ? 0 : '',
|
|
13816
|
+
paddingLeft: langdetect == 'ar' ? 0 : ''
|
|
13817
|
+
}
|
|
13508
13818
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13509
13819
|
"class": "dropdowncontainer"
|
|
13510
13820
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -13518,7 +13828,7 @@ var Filter$1 = function Filter(props) {
|
|
|
13518
13828
|
onClick: function onClick() {
|
|
13519
13829
|
setChecked(!checked);
|
|
13520
13830
|
},
|
|
13521
|
-
className: filter_cssstyles.
|
|
13831
|
+
className: filter_cssstyles.collapsetitle + ' d-flex justify-content-end align-items-center for-dropdown m-0 ',
|
|
13522
13832
|
"for": "dropdown",
|
|
13523
13833
|
style: {
|
|
13524
13834
|
cursor: 'pointer'
|
|
@@ -13528,7 +13838,10 @@ var Filter$1 = function Filter(props) {
|
|
|
13528
13838
|
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
13529
13839
|
size: 20
|
|
13530
13840
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13531
|
-
"class": "dropdownmenu"
|
|
13841
|
+
"class": "dropdownmenu",
|
|
13842
|
+
style: {
|
|
13843
|
+
background: sectionproperties.filter_backgroundcolor
|
|
13844
|
+
}
|
|
13532
13845
|
}, otherfilters.map(function (item, index) {
|
|
13533
13846
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13534
13847
|
"class": "w-100"
|
|
@@ -15141,7 +15454,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
15141
15454
|
} else if (item.tabexsectioninfo.sectioncompname == 'Card20') {
|
|
15142
15455
|
bootstapclass = ' 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';
|
|
15143
15456
|
} else if (item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow') {
|
|
15144
|
-
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4
|
|
15457
|
+
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
15145
15458
|
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition') {
|
|
15146
15459
|
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
|
|
15147
15460
|
} else if (item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard') {
|
|
@@ -16279,7 +16592,7 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
16279
16592
|
minHeight: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : props.srcfromprops == 'cardssection' ? '30vh' : props.srcfromprops == 'ElegantHeader' ? '50vh' : '30vh'
|
|
16280
16593
|
}),
|
|
16281
16594
|
searchlist_innercontainer: glamor.css({
|
|
16282
|
-
height: props.srcfromprops == 'cardssection' ? '25vh' : props.srcfromprops == 'ElegantHeader' ? '
|
|
16595
|
+
height: props.srcfromprops == 'cardssection' ? '25vh' : props.srcfromprops == 'ElegantHeader' ? '48vh' : '30vh',
|
|
16283
16596
|
overflowY: 'scroll'
|
|
16284
16597
|
// height: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : props.srcfromprops == 'cardssection' ? '25vh' : '30vh',
|
|
16285
16598
|
// overflowY: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? 'scroll' : 'hidden',
|
|
@@ -16403,9 +16716,12 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
16403
16716
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16404
16717
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
16405
16718
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16406
|
-
"class": props.srcfromprops == 'ElegantHeader' ? "".concat(searchlist_styles.productNameStyles) + ' m-0 wordbreak wordbreak2 p-0 ' : "".concat(searchlist_styles.productNameStyles) + ' m-0 text-overflow p-0 '
|
|
16719
|
+
"class": props.srcfromprops == 'ElegantHeader' ? "".concat(searchlist_styles.productNameStyles) + ' m-0 wordbreak wordbreak2 p-0 ' : "".concat(searchlist_styles.productNameStyles) + ' m-0 text-overflow p-0 ',
|
|
16720
|
+
style: {
|
|
16721
|
+
textAlign: 'center'
|
|
16722
|
+
}
|
|
16407
16723
|
}, langdetect == 'en' ? item.name_en : item.name_ar)), sectionproperties.searchlistshowprice == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16408
|
-
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
16724
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered mt-2"
|
|
16409
16725
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16410
16726
|
"class": "".concat(searchlist_styles.productPricestyles) + ' m-0 '
|
|
16411
16727
|
}, 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__default["default"].createElement("p", {
|
|
@@ -18082,23 +18398,27 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18082
18398
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
18083
18399
|
menuactive = _useState6[0],
|
|
18084
18400
|
setmenuactive = _useState6[1];
|
|
18401
|
+
var _useState7 = React.useState(false),
|
|
18402
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
18403
|
+
openSearch = _useState8[0],
|
|
18404
|
+
setopenSearch = _useState8[1];
|
|
18085
18405
|
React.useEffect(function () {
|
|
18086
18406
|
if (props.sectionpropertiesprops != undefined) {
|
|
18087
18407
|
setsectionproperties(_objectSpread$1T({}, props.sectionpropertiesprops));
|
|
18088
18408
|
}
|
|
18089
18409
|
}, [props.sectionpropertiesprops]);
|
|
18090
|
-
var
|
|
18091
|
-
|
|
18092
|
-
logoarrayofobjects =
|
|
18093
|
-
setlogoarrayofobjects =
|
|
18094
|
-
var
|
|
18095
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
18096
|
-
_useState10[0];
|
|
18097
|
-
_useState10[1];
|
|
18098
|
-
var _useState11 = React.useState(''),
|
|
18410
|
+
var _useState9 = React.useState([]),
|
|
18411
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
18412
|
+
logoarrayofobjects = _useState10[0],
|
|
18413
|
+
setlogoarrayofobjects = _useState10[1];
|
|
18414
|
+
var _useState11 = React.useState(false),
|
|
18099
18415
|
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
18100
18416
|
_useState12[0];
|
|
18101
18417
|
_useState12[1];
|
|
18418
|
+
var _useState13 = React.useState(''),
|
|
18419
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2);
|
|
18420
|
+
_useState14[0];
|
|
18421
|
+
_useState14[1];
|
|
18102
18422
|
React.useEffect(function () {
|
|
18103
18423
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
18104
18424
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -18275,7 +18595,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18275
18595
|
var CartButton = function CartButton() {
|
|
18276
18596
|
var _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
18277
18597
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18278
|
-
"class": "d-flex align-items-center",
|
|
18598
|
+
"class": "d-flex align-items-center mx-2",
|
|
18279
18599
|
style: {
|
|
18280
18600
|
position: 'relative'
|
|
18281
18601
|
}
|
|
@@ -18315,9 +18635,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18315
18635
|
};
|
|
18316
18636
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18317
18637
|
className: "row m-0 w-100"
|
|
18318
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18319
|
-
className: "col-lg-12 p-0"
|
|
18320
18638
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18639
|
+
className: "col-lg-12 p-0"
|
|
18640
|
+
}, openSearch == false && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18321
18641
|
className: ' row m-0 w-100 d-none d-md-flex p-0 '
|
|
18322
18642
|
}, sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
18323
18643
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -18352,7 +18672,12 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18352
18672
|
}
|
|
18353
18673
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18354
18674
|
className: "col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0"
|
|
18355
|
-
},
|
|
18675
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18676
|
+
"class": "h-100 allcentered",
|
|
18677
|
+
onClick: function onClick() {
|
|
18678
|
+
setopenSearch(true);
|
|
18679
|
+
}
|
|
18680
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoSearchOutline.IoSearchOutline, null)), sectionproperties.cartBtnShow == 'Show' && CartButton(), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18356
18681
|
"class": ' h-100 allcentered ',
|
|
18357
18682
|
style: {
|
|
18358
18683
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
@@ -18371,7 +18696,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18371
18696
|
size: 20,
|
|
18372
18697
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
18373
18698
|
}))), menuactive == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18374
|
-
"class": "px-4 py-4",
|
|
18699
|
+
"class": "px-4 py-4 scrollvertical",
|
|
18375
18700
|
style: {
|
|
18376
18701
|
position: 'fixed',
|
|
18377
18702
|
top: '0px',
|
|
@@ -18380,7 +18705,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18380
18705
|
width: '100%',
|
|
18381
18706
|
background: sectionproperties.resposive_bgcolor,
|
|
18382
18707
|
height: '100%',
|
|
18383
|
-
zIndex: 10000
|
|
18708
|
+
zIndex: 10000,
|
|
18709
|
+
overflow: 'scroll'
|
|
18384
18710
|
}
|
|
18385
18711
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18386
18712
|
"class": "col-lg-12 text-end anim"
|
|
@@ -18508,7 +18834,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18508
18834
|
color: '#000',
|
|
18509
18835
|
fontSize: 16
|
|
18510
18836
|
}
|
|
18511
|
-
}, lang.logout))))))));
|
|
18837
|
+
}, lang.logout)))))), openSearch == true && /*#__PURE__*/React__default["default"].createElement("p", null, "asd")));
|
|
18512
18838
|
};
|
|
18513
18839
|
|
|
18514
18840
|
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; }
|
|
@@ -18526,7 +18852,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18526
18852
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
18527
18853
|
var lang = props.actions.lang;
|
|
18528
18854
|
var langdetect = props.actions.langdetect;
|
|
18529
|
-
props.actions.setlang;
|
|
18855
|
+
var setlang = props.actions.setlang;
|
|
18530
18856
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
18531
18857
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
18532
18858
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
@@ -18857,7 +19183,10 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18857
19183
|
}, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18858
19184
|
"class": "col-lg-4 p-0 text-end"
|
|
18859
19185
|
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18860
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 '
|
|
19186
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
|
|
19187
|
+
onClick: function onClick() {
|
|
19188
|
+
setlang('en');
|
|
19189
|
+
}
|
|
18861
19190
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
18862
19191
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
18863
19192
|
style: {
|
|
@@ -18874,7 +19203,10 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18874
19203
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18875
19204
|
"class": "m-0 p-0"
|
|
18876
19205
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18877
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 '
|
|
19206
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
|
|
19207
|
+
onClick: function onClick() {
|
|
19208
|
+
setlang('ar');
|
|
19209
|
+
}
|
|
18878
19210
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
18879
19211
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
18880
19212
|
style: {
|
|
@@ -18893,7 +19225,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18893
19225
|
}, "En")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18894
19226
|
"class": "allcentered"
|
|
18895
19227
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18896
|
-
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
19228
|
+
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
|
|
18897
19229
|
sytle: {
|
|
18898
19230
|
position: 'relative'
|
|
18899
19231
|
},
|
|
@@ -18907,19 +19239,16 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18907
19239
|
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
18908
19240
|
"class": "mx-2"
|
|
18909
19241
|
}, langdetect == 'en' ? 'Login' : 'تسجيل الدخول')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18910
|
-
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
19242
|
+
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
|
|
18911
19243
|
sytle: {
|
|
18912
19244
|
position: 'relative'
|
|
18913
|
-
},
|
|
18914
|
-
onClick: function onClick() {
|
|
18915
|
-
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
18916
19245
|
}
|
|
18917
19246
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18918
19247
|
"class": ' h-100 d-flex align-items-center '
|
|
18919
19248
|
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, {
|
|
18920
19249
|
size: sectionproperties.userBtnTextfontsize
|
|
18921
19250
|
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
18922
|
-
"class": "mx-2"
|
|
19251
|
+
"class": "mx-2 text-capitalize"
|
|
18923
19252
|
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
18924
19253
|
style: {
|
|
18925
19254
|
minWidth: '200px'
|
|
@@ -18940,15 +19269,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18940
19269
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
18941
19270
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18942
19271
|
"class": ' allcenetered m-0 p-0 '
|
|
18943
|
-
},
|
|
18944
|
-
onClick: function onClick() {
|
|
18945
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
18946
|
-
}
|
|
18947
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18948
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
18949
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18950
|
-
"class": ' allcenetered m-0 p-0 '
|
|
18951
|
-
}, lang.policies))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
19272
|
+
}, langdetect == 'en' ? sectionproperties.wishlisttitle_en : sectionproperties.wishlisttitle_ar))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
18952
19273
|
onClick: function onClick() {
|
|
18953
19274
|
LogoutMutationContext.mutate();
|
|
18954
19275
|
}
|
|
@@ -19041,7 +19362,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
19041
19362
|
top: sectionproperties.wishlistbadgetop + 'px',
|
|
19042
19363
|
right: sectionproperties.wishlistbadgeright + 'px'
|
|
19043
19364
|
}
|
|
19044
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19365
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length == 0 ? 0 : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19045
19366
|
"class": " ".concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ',
|
|
19046
19367
|
onClick: function onClick() {
|
|
19047
19368
|
setsidecartnavshowcontext(true);
|
|
@@ -24238,16 +24559,6 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
24238
24559
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
24239
24560
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
24240
24561
|
}), " ", lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
24241
|
-
onClick: function onClick() {
|
|
24242
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
24243
|
-
}
|
|
24244
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24245
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
24246
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24247
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
24248
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, {
|
|
24249
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
24250
|
-
}), lang.policies))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
24251
24562
|
onClick: function onClick() {
|
|
24252
24563
|
LogoutMutationContext.mutate();
|
|
24253
24564
|
}
|
|
@@ -42897,7 +43208,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
42897
43208
|
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
42898
43209
|
}
|
|
42899
43210
|
}, SectionTitle()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42900
|
-
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center mb-md-0' : 'col-lg-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-0',
|
|
43211
|
+
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center mb-md-0' : 'col-lg-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-0 p-0',
|
|
42901
43212
|
style: {
|
|
42902
43213
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
42903
43214
|
}
|
|
@@ -42960,7 +43271,10 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
42960
43271
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
42961
43272
|
transitionBehavior: 'auto',
|
|
42962
43273
|
wrapperClassName: '',
|
|
42963
|
-
itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' :
|
|
43274
|
+
itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' :
|
|
43275
|
+
// : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
|
|
43276
|
+
// ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard '
|
|
43277
|
+
item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : '',
|
|
42964
43278
|
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
42965
43279
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
42966
43280
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -47150,18 +47464,14 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47150
47464
|
}, [sectionproperties]);
|
|
47151
47465
|
var sectionstyles = {
|
|
47152
47466
|
btnstyles: glamor.css({
|
|
47153
|
-
width: sectionproperties.generalbtn_width + '
|
|
47467
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
47154
47468
|
height: sectionproperties.generalbtn_height + 'px',
|
|
47155
47469
|
background: sectionproperties.generalbtn_bgColor,
|
|
47156
|
-
|
|
47157
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
47158
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
47159
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
47470
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
47160
47471
|
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
47161
47472
|
color: sectionproperties.generalbtn_textColor,
|
|
47162
47473
|
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
47163
47474
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
47164
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
47165
47475
|
':hover': {
|
|
47166
47476
|
transition: '.3s',
|
|
47167
47477
|
background: sectionproperties.generalbtn_bgColoronhover,
|
|
@@ -47219,6 +47529,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47219
47529
|
position: 'relative',
|
|
47220
47530
|
marginLeft: sectionproperties.card_marginLeft + 'px',
|
|
47221
47531
|
marginRight: sectionproperties.card_marginRight + 'px',
|
|
47532
|
+
backgroundColor: 'white',
|
|
47222
47533
|
'@media (max-width: 800px)': {
|
|
47223
47534
|
height: sectionproperties.height_responsive + 'vh'
|
|
47224
47535
|
}
|
|
@@ -47241,7 +47552,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47241
47552
|
height: '100%',
|
|
47242
47553
|
objectFit: 'cover'
|
|
47243
47554
|
}
|
|
47244
|
-
})), sectionproperties.
|
|
47555
|
+
})), sectionproperties.sectionstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47245
47556
|
"class": "row m-0 w-100 justify-content-center mt-sm-5 mb-sm-5"
|
|
47246
47557
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47247
47558
|
"class": "col-lg-6 col-md-9 col-sm-9 p-0 mt-auto mb-auto text-align-start"
|
|
@@ -47307,7 +47618,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47307
47618
|
// onClick={() => {
|
|
47308
47619
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
47309
47620
|
// }}
|
|
47310
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.
|
|
47621
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.sectionstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47311
47622
|
"class": "row m-0 w-100 allcentered",
|
|
47312
47623
|
style: {
|
|
47313
47624
|
zIndex: 2
|
|
@@ -47376,9 +47687,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47376
47687
|
getOptionValue: function getOptionValue(option) {
|
|
47377
47688
|
return option.collectionid;
|
|
47378
47689
|
},
|
|
47379
|
-
autocomplete: "new-password"
|
|
47380
|
-
// value={fetchTabexCountriesQueryContext.data.data.countries.filter((option) => option.id == props?.payloadobj?.countryid)}
|
|
47381
|
-
,
|
|
47690
|
+
autocomplete: "new-password",
|
|
47382
47691
|
onChange: function onChange(option) {
|
|
47383
47692
|
var temp = payloadobj;
|
|
47384
47693
|
temp.collections = [];
|
|
@@ -47390,10 +47699,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47390
47699
|
placeholder: ''
|
|
47391
47700
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47392
47701
|
"class": sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? 'col-lg-8 p-0' : sectionproperties.showpricerange == 'Show' ? 'col-lg-9 p-0' : sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Hide' ? 'col-lg-8 p-0' : 'col-lg-12 p-0'
|
|
47393
|
-
}, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm
|
|
47394
|
-
// customeraddressrequierd={customeraddressrequierd}
|
|
47395
|
-
// payloadobj={payloadobj}
|
|
47396
|
-
, {
|
|
47702
|
+
}, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm, {
|
|
47397
47703
|
payloadobj: payloadobj,
|
|
47398
47704
|
setpayloadobj: setpayloadobj,
|
|
47399
47705
|
sectionproperties: sectionproperties
|
|
@@ -47474,7 +47780,191 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47474
47780
|
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
47475
47781
|
}
|
|
47476
47782
|
}
|
|
47477
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))
|
|
47783
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), sectionproperties.sectionstyletype == 'Style 3' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47784
|
+
"class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
|
|
47785
|
+
style: {
|
|
47786
|
+
zIndex: 2
|
|
47787
|
+
}
|
|
47788
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47789
|
+
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
47790
|
+
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47791
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
47792
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47793
|
+
"class": "wordbreak",
|
|
47794
|
+
style: {
|
|
47795
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
47796
|
+
color: sectionproperties.sectionTitleColor,
|
|
47797
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
47798
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
47799
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
47800
|
+
marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
|
|
47801
|
+
}
|
|
47802
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47803
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
47804
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47805
|
+
style: {
|
|
47806
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
47807
|
+
color: sectionproperties.prodCatColor,
|
|
47808
|
+
textTransform: sectionproperties.prodCatTextTranform,
|
|
47809
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
47810
|
+
maxWidth: '500px'
|
|
47811
|
+
}
|
|
47812
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47813
|
+
"class": 'col-lg-10 col-md-12 col-sm-12 allcentered mt-3',
|
|
47814
|
+
style: {
|
|
47815
|
+
backgroundColor: sectionproperties.reservation_bgcolor,
|
|
47816
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
47817
|
+
paddingTop: sectionproperties.reservation_padding_top + 'px',
|
|
47818
|
+
paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
|
|
47819
|
+
paddingLeft: sectionproperties.reservation_padding_left + 'px',
|
|
47820
|
+
paddingRight: sectionproperties.reservation_padding_right + 'px'
|
|
47821
|
+
}
|
|
47822
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47823
|
+
"class": "row m-0 w-100 allcentered"
|
|
47824
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47825
|
+
"class": "col-lg-12 p-0"
|
|
47826
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47827
|
+
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
47828
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47829
|
+
"class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
|
|
47830
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
47831
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
47832
|
+
style: {
|
|
47833
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47834
|
+
}
|
|
47835
|
+
}, langdetect == 'en' ? 'Brand' : 'الماركة'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47836
|
+
"class": 'col-lg-12 p-0'
|
|
47837
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
47838
|
+
options: [{
|
|
47839
|
+
label: 'Tesla',
|
|
47840
|
+
value: 1
|
|
47841
|
+
}, {
|
|
47842
|
+
label: 'VW',
|
|
47843
|
+
value: 0
|
|
47844
|
+
}, {
|
|
47845
|
+
label: 'BYD',
|
|
47846
|
+
value: 0
|
|
47847
|
+
}],
|
|
47848
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
47849
|
+
placeholder: ''
|
|
47850
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47851
|
+
"class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
|
|
47852
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
47853
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
47854
|
+
style: {
|
|
47855
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47856
|
+
}
|
|
47857
|
+
}, langdetect == 'en' ? 'KM' : 'KM'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47858
|
+
"class": 'col-lg-12 p-0'
|
|
47859
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
47860
|
+
options: [{
|
|
47861
|
+
label: '100000',
|
|
47862
|
+
value: 1
|
|
47863
|
+
}, {
|
|
47864
|
+
label: '50000',
|
|
47865
|
+
value: 0
|
|
47866
|
+
}, {
|
|
47867
|
+
label: '30000',
|
|
47868
|
+
value: 0
|
|
47869
|
+
}],
|
|
47870
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
47871
|
+
placeholder: ''
|
|
47872
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47873
|
+
"class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
|
|
47874
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
47875
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
47876
|
+
style: {
|
|
47877
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47878
|
+
}
|
|
47879
|
+
}, langdetect == 'en' ? 'Model Year' : 'السنة'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47880
|
+
"class": 'col-lg-12 p-0'
|
|
47881
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
47882
|
+
options: [{
|
|
47883
|
+
label: '2023',
|
|
47884
|
+
value: 1
|
|
47885
|
+
}, {
|
|
47886
|
+
label: '2022',
|
|
47887
|
+
value: 0
|
|
47888
|
+
}, {
|
|
47889
|
+
label: '2021',
|
|
47890
|
+
value: 0
|
|
47891
|
+
}],
|
|
47892
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
47893
|
+
placeholder: ''
|
|
47894
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47895
|
+
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-md-3 '
|
|
47896
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
47897
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
47898
|
+
style: {
|
|
47899
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47900
|
+
}
|
|
47901
|
+
}, langdetect == 'en' ? 'Price' : 'السعر'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47902
|
+
"class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
|
|
47903
|
+
style: {
|
|
47904
|
+
direction: 'ltr'
|
|
47905
|
+
}
|
|
47906
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputRange__default["default"], {
|
|
47907
|
+
draggableTrack: true,
|
|
47908
|
+
formatLabel: function formatLabel(value) {
|
|
47909
|
+
return "".concat(value);
|
|
47910
|
+
},
|
|
47911
|
+
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
47912
|
+
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
47913
|
+
value: pricevalue,
|
|
47914
|
+
onChange: function onChange(value) {
|
|
47915
|
+
setpricevalue(_objectSpread$16({}, value));
|
|
47916
|
+
}
|
|
47917
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47918
|
+
"class": "col-lg-1"
|
|
47919
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47920
|
+
"class": "col-lg-2 col-md-12 d-flex align-items-center justify-content-end"
|
|
47921
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
47922
|
+
"class": sectionstyles.btnstyles + ' allcentered ',
|
|
47923
|
+
onClick: function onClick() {
|
|
47924
|
+
var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
|
|
47925
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$16({}, fetchproductsfilerobjcontext);
|
|
47926
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.countryid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$countryid2 = payloadobj.countryid) === null || _payloadobj$countryid2 === void 0 ? void 0 : _payloadobj$countryid2.length) != 0) {
|
|
47927
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47928
|
+
tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
|
|
47929
|
+
} else {
|
|
47930
|
+
tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
|
|
47931
|
+
}
|
|
47932
|
+
}
|
|
47933
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.stateid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$stateid2 = payloadobj.stateid) === null || _payloadobj$stateid2 === void 0 ? void 0 : _payloadobj$stateid2.length) != 0) {
|
|
47934
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47935
|
+
tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
|
|
47936
|
+
} else {
|
|
47937
|
+
tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
|
|
47938
|
+
}
|
|
47939
|
+
}
|
|
47940
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.cityid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$cityid2 = payloadobj.cityid) === null || _payloadobj$cityid2 === void 0 ? void 0 : _payloadobj$cityid2.length) != 0) {
|
|
47941
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47942
|
+
tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
|
|
47943
|
+
} else {
|
|
47944
|
+
tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
|
|
47945
|
+
}
|
|
47946
|
+
}
|
|
47947
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
|
|
47948
|
+
tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
|
|
47949
|
+
}
|
|
47950
|
+
if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.min) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$min2 = pricevalue.min) === null || _pricevalue$min2 === void 0 ? void 0 : _pricevalue$min2.length) != 0) {
|
|
47951
|
+
tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
|
|
47952
|
+
}
|
|
47953
|
+
if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.max) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$max2 = pricevalue.max) === null || _pricevalue$max2 === void 0 ? void 0 : _pricevalue$max2.length) != 0) {
|
|
47954
|
+
if (sectionproperties.showpricerange == 'Hide') {
|
|
47955
|
+
tempfetchproductsfilerobjcontext.price_max = 99999999999999;
|
|
47956
|
+
} else {
|
|
47957
|
+
tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
|
|
47958
|
+
}
|
|
47959
|
+
}
|
|
47960
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47961
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
47962
|
+
}
|
|
47963
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
|
|
47964
|
+
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
47965
|
+
}
|
|
47966
|
+
}
|
|
47967
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
|
|
47478
47968
|
};
|
|
47479
47969
|
|
|
47480
47970
|
function ownKeys$15(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; }
|
|
@@ -52821,7 +53311,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
52821
53311
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
52822
53312
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
52823
53313
|
background: sectionproperties.backgroundColor,
|
|
52824
|
-
|
|
53314
|
+
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
52825
53315
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
52826
53316
|
}
|
|
52827
53317
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -63434,9 +63924,10 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
63434
63924
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
63435
63925
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
63436
63926
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
63437
|
-
height: sectionproperties.image_height + 'px',
|
|
63927
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
63928
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
63438
63929
|
'@media (max-width: 800px)': {
|
|
63439
|
-
height: sectionproperties.
|
|
63930
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px'
|
|
63440
63931
|
}
|
|
63441
63932
|
}),
|
|
63442
63933
|
productoutercard: glamor.css({
|
|
@@ -63552,14 +64043,21 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
63552
64043
|
background: sectionproperties.pillbgcolor,
|
|
63553
64044
|
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
63554
64045
|
}
|
|
63555
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
64046
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
64047
|
+
"class": "m-0 p-0 text-uppercase",
|
|
64048
|
+
style: {
|
|
64049
|
+
color: sectionproperties.pillcolor,
|
|
64050
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
64051
|
+
direction: 'ltr'
|
|
64052
|
+
}
|
|
64053
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
63556
64054
|
"class": "m-0 p-0 text-uppercase",
|
|
63557
64055
|
style: {
|
|
63558
64056
|
color: sectionproperties.pillcolor,
|
|
63559
64057
|
fontSize: sectionproperties.pillfontSize + 'px',
|
|
63560
64058
|
direction: 'ltr'
|
|
63561
64059
|
}
|
|
63562
|
-
}, '
|
|
64060
|
+
}, 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__default["default"].createElement("button", {
|
|
63563
64061
|
"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 ',
|
|
63564
64062
|
onClick: function onClick(e) {
|
|
63565
64063
|
e.stopPropagation();
|
|
@@ -63594,7 +64092,10 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
63594
64092
|
},
|
|
63595
64093
|
"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 '
|
|
63596
64094
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63597
|
-
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column"
|
|
64095
|
+
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
|
|
64096
|
+
style: {
|
|
64097
|
+
marginTop: sectionproperties.productpricemarginTop + 'px'
|
|
64098
|
+
}
|
|
63598
64099
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
63599
64100
|
"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 '
|
|
63600
64101
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -64794,7 +65295,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
64794
65295
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
64795
65296
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
64796
65297
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
64797
|
-
height: sectionproperties.image_height + 'px',
|
|
65298
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
64798
65299
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
64799
65300
|
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
64800
65301
|
overflow: 'hidden',
|
|
@@ -64884,7 +65385,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
64884
65385
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64885
65386
|
"class": card_cssstyles.imagecontainer + ' d-none d-sm-flex',
|
|
64886
65387
|
style: {
|
|
64887
|
-
height: sectionproperties.height_responsive + 'px',
|
|
65388
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px',
|
|
64888
65389
|
width: sectionproperties.image_bordertopleftradius == '100' ? sectionproperties.image_height + 'px' : sectionproperties.image_width_resp + '%'
|
|
64889
65390
|
}
|
|
64890
65391
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
@@ -65312,7 +65813,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
65312
65813
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
65313
65814
|
size: sectionproperties.cartBtn_iconFontSize
|
|
65314
65815
|
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65315
|
-
"class": "col-lg-12 d-flex align-items-center",
|
|
65816
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
65316
65817
|
style: {
|
|
65317
65818
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
65318
65819
|
}
|