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.esm.js
CHANGED
|
@@ -56,7 +56,7 @@ import { HiOutlineChevronLeft } from '@react-icons/all-files/hi/HiOutlineChevron
|
|
|
56
56
|
import { GoGlobe } from '@react-icons/all-files/go/GoGlobe';
|
|
57
57
|
import { VscGlobe } from '@react-icons/all-files/vsc/VscGlobe';
|
|
58
58
|
import { HiOutlineTrash } from '@react-icons/all-files/hi/HiOutlineTrash';
|
|
59
|
-
import
|
|
59
|
+
import '@react-icons/all-files/bi/BiSad';
|
|
60
60
|
import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
|
|
61
61
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
62
62
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
@@ -66,8 +66,6 @@ import { GrMail } from '@react-icons/all-files/gr/GrMail';
|
|
|
66
66
|
import { FiCheckCircle } from '@react-icons/all-files/fi/FiCheckCircle';
|
|
67
67
|
import { BiPhone } from '@react-icons/all-files/bi/BiPhone';
|
|
68
68
|
import PhoneInput from 'react-phone-input-2';
|
|
69
|
-
import '@react-icons/all-files/ai/AiOutlineEye';
|
|
70
|
-
import '@react-icons/all-files/ai/AiOutlineEyeInvisible';
|
|
71
69
|
import { BsChevronLeft } from '@react-icons/all-files/bs/BsChevronLeft';
|
|
72
70
|
import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
|
|
73
71
|
import '@react-icons/all-files/ri/RiArrowUpSLine';
|
|
@@ -293,7 +291,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
293
291
|
loginwithfacebook: 'Sign in with facebook',
|
|
294
292
|
orsigninwith: 'Or Sign in with',
|
|
295
293
|
orsignupwith: 'Or Sign up with'
|
|
296
|
-
}, _defineProperty(_en, "price", 'Price'), _defineProperty(_en, "relatedproducts", 'Related products'), _defineProperty(_en, "qty", 'QTY'), _defineProperty(_en, "emptyshoppingcart", 'Your shopping cart is empty'), _defineProperty(_en, "shopnow", 'Shop now'), _defineProperty(_en, "total", 'Total'), _defineProperty(_en, "otherinformation", 'Other information'), _defineProperty(_en, "productname", 'Product name'), _defineProperty(_en, "quantity", 'Quantity'), _defineProperty(_en, "orderid", 'Order ID'), _defineProperty(_en, "numberofproducts", 'Number of products'), _defineProperty(_en, "checkyourorder", 'Check your order'), _defineProperty(_en, "search", 'Search'), _defineProperty(_en, "searchproducts", 'Search for products...'), _defineProperty(_en, "choosecity", 'Choose city'), _defineProperty(_en, "choosestategov", 'Choose state/governorate'), _defineProperty(_en, "choosecountry", 'Choose country'), _defineProperty(_en, "giftcarddicountcode", 'Gift Card Or Discount Code...'), _defineProperty(_en, "nosearchresults", 'No search results'), _defineProperty(_en, "sale", 'Sale'), _defineProperty(_en, "nofavoriteproducts", 'Your wishlist is empty'), _defineProperty(_en, "loggedoutsuccess", 'Logged out successfully'), _defineProperty(_en, "addedtocartsuccess", 'Cart is updated successfully'), _defineProperty(_en, "promocodeapplied", 'Promo code is applied.'), _defineProperty(_en, "promocoderemoved", 'Promo code is removed'), _defineProperty(_en, "countryandstateupdatedsuccess", 'Country and state are updated successfully'), _defineProperty(_en, "orderaddedsuccess", 'Order is added successfully'), _defineProperty(_en, "addedtowishlist", 'Added to your favourites'), _defineProperty(_en, "productrmovedfromwishlist", 'Removed from your favourites'), _defineProperty(_en, "fillthemissingfields", 'Please complete the missing fields'), _defineProperty(_en, "passwordsdontmatch", "Passwords don't match"), _defineProperty(_en, "loggedinsuccess", 'Logged in successfully'), _defineProperty(_en, "subtotal", 'Sub total'), _defineProperty(_en, "discount", 'Discount'), _defineProperty(_en, "outofzone", 'Out of zone'), _defineProperty(_en, "total", 'Total'), _defineProperty(_en, "cod", 'Cash on Delivery'), _defineProperty(_en, "cardondelivery", 'Credit Card On Delivery'), _defineProperty(_en, "onlinepayment", 'Online Payment'), _defineProperty(_en, "paymentcardinformation", 'Payment Card Information'), _defineProperty(_en, "shippingfees", 'Shipping fees'), _defineProperty(_en, "shippingaddress", 'Shipping address'), _defineProperty(_en, "cardnumber", 'Card number'), _defineProperty(_en, "year", 'Year'), _defineProperty(_en, "month", 'Month'), _defineProperty(_en, "cvv", 'CVV'), _defineProperty(_en, "nameoncard", 'Name On Card'), _defineProperty(_en, "country", 'Country'), _defineProperty(_en, "addressdetails", 'ِAddress details'), _defineProperty(_en, "stategov", 'State/Governorate'), _defineProperty(_en, "city", 'City'), _defineProperty(_en, "paymentmethod", 'Payment method'), _defineProperty(_en, "productimage", 'Product image'), _defineProperty(_en, "orderdetails", 'Order details'), _defineProperty(_en, "orderinvoice", 'Order invoice'), _defineProperty(_en, "promocodediscount", 'Promo code discount'), _defineProperty(_en, "address", 'Address'), _defineProperty(_en, "update", 'Update'), _defineProperty(_en, "phonenumber", 'Mobile number'), _defineProperty(_en, "completerequiredfields", 'Please complete all required fields'), _defineProperty(_en, "name", 'Name'), _defineProperty(_en, "email", 'Email'), _defineProperty(_en, "password", 'Password'), _defineProperty(_en, "confirmpassword", 'Confirm password'), _defineProperty(_en, "showmore", 'Show more'), _defineProperty(_en, "showless", 'Show less'), _defineProperty(_en, "contactdetails", 'Contact Information'), _defineProperty(_en, "asaguest", 'As A Guest'), _defineProperty(_en, "choosecountryfirst", 'Please choose country first'), _defineProperty(_en, "security", 'Security'), _defineProperty(_en, "personalinformation", 'Personal Information'), _defineProperty(_en, "contactus", 'Contact us'), _defineProperty(_en, "slogan", 'Your website & mobile application in one place'), _defineProperty(_en, "recent", 'Recent'), _defineProperty(_en, "oldest", 'Oldest'), _defineProperty(_en, "pricehightolow", 'High to low'), _defineProperty(_en, "pricelowtohigh", 'Low to High'), _defineProperty(_en, "pleasecompleteaddressmissingfields", 'Please complete the missing address fields'), _en),
|
|
294
|
+
}, _defineProperty(_en, "price", 'Price'), _defineProperty(_en, "relatedproducts", 'Related products'), _defineProperty(_en, "qty", 'QTY'), _defineProperty(_en, "emptyshoppingcart", 'Your shopping cart is empty'), _defineProperty(_en, "shopnow", 'Shop now'), _defineProperty(_en, "total", 'Total'), _defineProperty(_en, "otherinformation", 'Other information'), _defineProperty(_en, "productname", 'Product name'), _defineProperty(_en, "quantity", 'Quantity'), _defineProperty(_en, "orderid", 'Order ID'), _defineProperty(_en, "numberofproducts", 'Number of products'), _defineProperty(_en, "checkyourorder", 'Check your order'), _defineProperty(_en, "search", 'Search'), _defineProperty(_en, "searchproducts", 'Search for products...'), _defineProperty(_en, "choosecity", 'Choose city'), _defineProperty(_en, "choosestategov", 'Choose state/governorate'), _defineProperty(_en, "choosecountry", 'Choose country'), _defineProperty(_en, "giftcarddicountcode", 'Gift Card Or Discount Code...'), _defineProperty(_en, "nosearchresults", 'No search results'), _defineProperty(_en, "sale", 'Sale'), _defineProperty(_en, "nofavoriteproducts", 'Your wishlist is empty'), _defineProperty(_en, "loggedoutsuccess", 'Logged out successfully'), _defineProperty(_en, "addedtocartsuccess", 'Cart is updated successfully'), _defineProperty(_en, "promocodeapplied", 'Promo code is applied.'), _defineProperty(_en, "promocoderemoved", 'Promo code is removed'), _defineProperty(_en, "countryandstateupdatedsuccess", 'Country and state are updated successfully'), _defineProperty(_en, "orderaddedsuccess", 'Order is added successfully'), _defineProperty(_en, "addedtowishlist", 'Added to your favourites'), _defineProperty(_en, "productrmovedfromwishlist", 'Removed from your favourites'), _defineProperty(_en, "fillthemissingfields", 'Please complete the missing fields'), _defineProperty(_en, "passwordsdontmatch", "Passwords don't match"), _defineProperty(_en, "loggedinsuccess", 'Logged in successfully'), _defineProperty(_en, "subtotal", 'Sub total'), _defineProperty(_en, "discount", 'Discount'), _defineProperty(_en, "outofzone", 'Out of zone'), _defineProperty(_en, "total", 'Total'), _defineProperty(_en, "cod", 'Cash on Delivery'), _defineProperty(_en, "cardondelivery", 'Credit Card On Delivery'), _defineProperty(_en, "onlinepayment", 'Online Payment'), _defineProperty(_en, "paymentcardinformation", 'Payment Card Information'), _defineProperty(_en, "shippingfees", 'Shipping fees'), _defineProperty(_en, "shippingaddress", 'Shipping address'), _defineProperty(_en, "cardnumber", 'Card number'), _defineProperty(_en, "year", 'Year'), _defineProperty(_en, "month", 'Month'), _defineProperty(_en, "cvv", 'CVV'), _defineProperty(_en, "nameoncard", 'Name On Card'), _defineProperty(_en, "country", 'Country'), _defineProperty(_en, "addressdetails", 'ِAddress details'), _defineProperty(_en, "stategov", 'State/Governorate'), _defineProperty(_en, "city", 'City'), _defineProperty(_en, "paymentmethod", 'Payment method'), _defineProperty(_en, "productimage", 'Product image'), _defineProperty(_en, "orderdetails", 'Order details'), _defineProperty(_en, "orderinvoice", 'Order invoice'), _defineProperty(_en, "promocodediscount", 'Promo code discount'), _defineProperty(_en, "address", 'Address'), _defineProperty(_en, "update", 'Update'), _defineProperty(_en, "phonenumber", 'Mobile number'), _defineProperty(_en, "completerequiredfields", 'Please complete all required fields'), _defineProperty(_en, "name", 'Name'), _defineProperty(_en, "email", 'Email'), _defineProperty(_en, "password", 'Password'), _defineProperty(_en, "confirmpassword", 'Confirm password'), _defineProperty(_en, "showmore", 'Show more'), _defineProperty(_en, "showless", 'Show less'), _defineProperty(_en, "contactdetails", 'Contact Information'), _defineProperty(_en, "asaguest", 'As A Guest'), _defineProperty(_en, "choosecountryfirst", 'Please choose country first'), _defineProperty(_en, "security", 'Security'), _defineProperty(_en, "personalinformation", 'Personal Information'), _defineProperty(_en, "contactus", 'Contact us'), _defineProperty(_en, "slogan", 'Your website & mobile application in one place'), _defineProperty(_en, "recent", 'Recent'), _defineProperty(_en, "oldest", 'Oldest'), _defineProperty(_en, "pricehightolow", 'High to low'), _defineProperty(_en, "pricelowtohigh", 'Low to High'), _defineProperty(_en, "pleasecompleteaddressmissingfields", 'Please complete the missing address fields'), _defineProperty(_en, "instock", 'In Stock'), _en),
|
|
297
295
|
ar: (_ar = {
|
|
298
296
|
maximum: 'اقصى كمية',
|
|
299
297
|
minimum: 'اقل كمية',
|
|
@@ -373,7 +371,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
373
371
|
loginwithfacebook: 'تسجيل الدخول عن طريق فيسبوك',
|
|
374
372
|
orsigninwith: 'او تسجيل الدخول عن طريق',
|
|
375
373
|
orsignupwith: 'او انشاء حساب عن طريق'
|
|
376
|
-
}, _defineProperty(_ar, "price", 'السعر'), _defineProperty(_ar, "relatedproducts", 'منتجات ذات صلة'), _defineProperty(_ar, "qty", 'الكمية'), _defineProperty(_ar, "emptyshoppingcart", 'حقيبة التسوق فارغة'), _defineProperty(_ar, "shopnow", 'تسوق الان'), _defineProperty(_ar, "total", 'الإجمالى'), _defineProperty(_ar, "otherinformation", 'معلومات اخرى'), _defineProperty(_ar, "productname", 'إسم المنتج'), _defineProperty(_ar, "quantity", 'الكمية'), _defineProperty(_ar, "orderid", 'رقم الطلب'), _defineProperty(_ar, "numberofproducts", 'عدد المنتجات'), _defineProperty(_ar, "checkyourorder", 'الذهاب إلى طلبك'), _defineProperty(_ar, "search", 'ابحث'), _defineProperty(_ar, "searchproducts", 'ابحث...'), _defineProperty(_ar, "choosecity", 'إختر المدينة'), _defineProperty(_ar, "choosestategov", 'إختر المحافظة/الولاية'), _defineProperty(_ar, "choosecountry", 'إختر البلد'), _defineProperty(_ar, "giftcarddicountcode", 'كود خصم'), _defineProperty(_ar, "nosearchresults", 'لا توجد نتائج'), _defineProperty(_ar, "sale", 'خصم'), _defineProperty(_ar, "nofavoriteproducts", 'لا توجد منتجات مفضلة'), _defineProperty(_ar, "loggedoutsuccess", 'تم تسجيل الخروج'), _defineProperty(_ar, "addedtocartsuccess", 'تم تعديل عربة التسوق'), _defineProperty(_ar, "promocodeapplied", 'تم تطبيق كود الخصم'), _defineProperty(_ar, "promocoderemoved", 'تم حذف كود الخصم'), _defineProperty(_ar, "countryandstateupdatedsuccess", 'تم تحديث البلد و المدينة'), _defineProperty(_ar, "orderaddedsuccess", 'تم إضافة الطلب'), _defineProperty(_ar, "addedtowishlist", 'تم الإضافة لمفضلاتك'), _defineProperty(_ar, "productrmovedfromwishlist", 'تم الحذف من مفضلاتك'), _defineProperty(_ar, "fillthemissingfields", 'من فضلك اكمل باقى البيانات'), _defineProperty(_ar, "passwordsdontmatch", 'كلمات السر لا تتطابق'), _defineProperty(_ar, "loggedinsuccess", 'تم تسجيل الدخول'), _defineProperty(_ar, "subtotal", 'إجمالي المبلغ'), _defineProperty(_ar, "discount", 'الخصم'), _defineProperty(_ar, "outofzone", 'خارج نطاق الشحن'), _defineProperty(_ar, "total", 'المبلغ الكلي'), _defineProperty(_ar, "cod", 'الدفع عند الإستلام'), _defineProperty(_ar, "cardondelivery", 'الدفع بالطاقة الائتمانية عند الإستلام'), _defineProperty(_ar, "onlinepayment", 'الدفع الإلكترونى'), _defineProperty(_ar, "paymentcardinformation", 'بيانات البطاقة'), _defineProperty(_ar, "shippingfees", 'مصاريف الشحن'), _defineProperty(_ar, "shippingaddress", 'عنوان الشحن'), _defineProperty(_ar, "cardnumber", 'رقم البطاقة'), _defineProperty(_ar, "year", 'السنة'), _defineProperty(_ar, "month", 'الشهر'), _defineProperty(_ar, "cvv", 'رقم البطاقة'), _defineProperty(_ar, "nameoncard", 'الإسم على البطاقة'), _defineProperty(_ar, "country", 'البلد'), _defineProperty(_ar, "addressdetails", 'العنوان'), _defineProperty(_ar, "stategov", 'المحافظة/الولاية'), _defineProperty(_ar, "city", 'المدينة'), _defineProperty(_ar, "paymentmethod", 'طريقة الدفع'), _defineProperty(_ar, "productimage", 'صورة المنتج'), _defineProperty(_ar, "orderdetails", 'تفاصيل الطلب'), _defineProperty(_ar, "orderinvoice", 'فاتورة الطلب'), _defineProperty(_ar, "promocodediscount", 'كود الخصم'), _defineProperty(_ar, "address", 'العنوان'), _defineProperty(_ar, "update", 'تحديث'), _defineProperty(_ar, "phonenumber", 'الهاتف'), _defineProperty(_ar, "completerequiredfields", 'من فضلك اكمل البيانات الإجبارية'), _defineProperty(_ar, "name", 'الإسم'), _defineProperty(_ar, "email", 'البريد الإلكترونى'), _defineProperty(_ar, "password", 'كلمة السر'), _defineProperty(_ar, "confirmpassword", 'تأكيد كلمة السر'), _defineProperty(_ar, "showless", 'اعرض اقل'), _defineProperty(_ar, "showmore", 'اعرض المزيد'), _defineProperty(_ar, "contactdetails", 'معلومات التواصل'), _defineProperty(_ar, "asaguest", 'كزائر'), _defineProperty(_ar, "choosecountryfirst", 'من فضلك اختر البلد اولاً'), _defineProperty(_ar, "security", 'الخصوصية و الأمان'), _defineProperty(_ar, "personalinformation", 'البيانات الشخصية'), _defineProperty(_ar, "contactus", 'تواصل معنا'), _defineProperty(_ar, "slogan", 'موقعك و تطبيقك فى مكان واحد'), _ar)
|
|
374
|
+
}, _defineProperty(_ar, "price", 'السعر'), _defineProperty(_ar, "relatedproducts", 'منتجات ذات صلة'), _defineProperty(_ar, "qty", 'الكمية'), _defineProperty(_ar, "emptyshoppingcart", 'حقيبة التسوق فارغة'), _defineProperty(_ar, "shopnow", 'تسوق الان'), _defineProperty(_ar, "total", 'الإجمالى'), _defineProperty(_ar, "otherinformation", 'معلومات اخرى'), _defineProperty(_ar, "productname", 'إسم المنتج'), _defineProperty(_ar, "quantity", 'الكمية'), _defineProperty(_ar, "orderid", 'رقم الطلب'), _defineProperty(_ar, "numberofproducts", 'عدد المنتجات'), _defineProperty(_ar, "checkyourorder", 'الذهاب إلى طلبك'), _defineProperty(_ar, "search", 'ابحث'), _defineProperty(_ar, "searchproducts", 'ابحث...'), _defineProperty(_ar, "choosecity", 'إختر المدينة'), _defineProperty(_ar, "choosestategov", 'إختر المحافظة/الولاية'), _defineProperty(_ar, "choosecountry", 'إختر البلد'), _defineProperty(_ar, "giftcarddicountcode", 'كود خصم'), _defineProperty(_ar, "nosearchresults", 'لا توجد نتائج'), _defineProperty(_ar, "sale", 'خصم'), _defineProperty(_ar, "nofavoriteproducts", 'لا توجد منتجات مفضلة'), _defineProperty(_ar, "loggedoutsuccess", 'تم تسجيل الخروج'), _defineProperty(_ar, "addedtocartsuccess", 'تم تعديل عربة التسوق'), _defineProperty(_ar, "promocodeapplied", 'تم تطبيق كود الخصم'), _defineProperty(_ar, "promocoderemoved", 'تم حذف كود الخصم'), _defineProperty(_ar, "countryandstateupdatedsuccess", 'تم تحديث البلد و المدينة'), _defineProperty(_ar, "orderaddedsuccess", 'تم إضافة الطلب'), _defineProperty(_ar, "addedtowishlist", 'تم الإضافة لمفضلاتك'), _defineProperty(_ar, "productrmovedfromwishlist", 'تم الحذف من مفضلاتك'), _defineProperty(_ar, "fillthemissingfields", 'من فضلك اكمل باقى البيانات'), _defineProperty(_ar, "passwordsdontmatch", 'كلمات السر لا تتطابق'), _defineProperty(_ar, "loggedinsuccess", 'تم تسجيل الدخول'), _defineProperty(_ar, "subtotal", 'إجمالي المبلغ'), _defineProperty(_ar, "discount", 'الخصم'), _defineProperty(_ar, "outofzone", 'خارج نطاق الشحن'), _defineProperty(_ar, "total", 'المبلغ الكلي'), _defineProperty(_ar, "cod", 'الدفع عند الإستلام'), _defineProperty(_ar, "cardondelivery", 'الدفع بالطاقة الائتمانية عند الإستلام'), _defineProperty(_ar, "onlinepayment", 'الدفع الإلكترونى'), _defineProperty(_ar, "paymentcardinformation", 'بيانات البطاقة'), _defineProperty(_ar, "shippingfees", 'مصاريف الشحن'), _defineProperty(_ar, "shippingaddress", 'عنوان الشحن'), _defineProperty(_ar, "cardnumber", 'رقم البطاقة'), _defineProperty(_ar, "year", 'السنة'), _defineProperty(_ar, "month", 'الشهر'), _defineProperty(_ar, "cvv", 'رقم البطاقة'), _defineProperty(_ar, "nameoncard", 'الإسم على البطاقة'), _defineProperty(_ar, "country", 'البلد'), _defineProperty(_ar, "addressdetails", 'العنوان'), _defineProperty(_ar, "stategov", 'المحافظة/الولاية'), _defineProperty(_ar, "city", 'المدينة'), _defineProperty(_ar, "paymentmethod", 'طريقة الدفع'), _defineProperty(_ar, "productimage", 'صورة المنتج'), _defineProperty(_ar, "orderdetails", 'تفاصيل الطلب'), _defineProperty(_ar, "orderinvoice", 'فاتورة الطلب'), _defineProperty(_ar, "promocodediscount", 'كود الخصم'), _defineProperty(_ar, "address", 'العنوان'), _defineProperty(_ar, "update", 'تحديث'), _defineProperty(_ar, "phonenumber", 'الهاتف'), _defineProperty(_ar, "completerequiredfields", 'من فضلك اكمل البيانات الإجبارية'), _defineProperty(_ar, "name", 'الإسم'), _defineProperty(_ar, "email", 'البريد الإلكترونى'), _defineProperty(_ar, "password", 'كلمة السر'), _defineProperty(_ar, "confirmpassword", 'تأكيد كلمة السر'), _defineProperty(_ar, "showless", 'اعرض اقل'), _defineProperty(_ar, "showmore", 'اعرض المزيد'), _defineProperty(_ar, "contactdetails", 'معلومات التواصل'), _defineProperty(_ar, "asaguest", 'كزائر'), _defineProperty(_ar, "choosecountryfirst", 'من فضلك اختر البلد اولاً'), _defineProperty(_ar, "security", 'الخصوصية و الأمان'), _defineProperty(_ar, "personalinformation", 'البيانات الشخصية'), _defineProperty(_ar, "contactus", 'تواصل معنا'), _defineProperty(_ar, "slogan", 'موقعك و تطبيقك فى مكان واحد'), _defineProperty(_ar, "instock", 'متوفر'), _ar)
|
|
377
375
|
},
|
|
378
376
|
langdetect: 'en',
|
|
379
377
|
setlang: _this.setlang,
|
|
@@ -899,7 +897,7 @@ var Login = function Login(props) {
|
|
|
899
897
|
letterSpacing: langdetect == 'en' ? '1px' : '',
|
|
900
898
|
textTransform: sectionproperties.login_btn_texttransform
|
|
901
899
|
}
|
|
902
|
-
},
|
|
900
|
+
}, langdetect == 'en' ? sectionproperties.loginbtncontent_en : sectionproperties.loginbtncontent_ar)), SocialLoginMutationContext.isLoading && /*#__PURE__*/React.createElement(CircularProgress, {
|
|
903
901
|
color: "#fff",
|
|
904
902
|
width: "20px",
|
|
905
903
|
height: "20px",
|
|
@@ -1146,12 +1144,77 @@ styleInject(css_248z$L);
|
|
|
1146
1144
|
var css_248z$K = ".image-gallery_image-gallery-icon__WE2UX {\n\tcolor: #fff;\n\ttransition: all .3s ease-out;\n\tappearance: none;\n\tbackground-color: transparent;\n\tborder: 0;\n\tcursor: pointer;\n\toutline: none;\n\tposition: absolute;\n\tz-index: 4;\n display: none !important;\n\t/* filter: drop-shadow(0 2px 2px #1a1a1a); */\n}\n\n@media(hover: hover)and (pointer: fine) {\n\t.image-gallery_image-gallery-icon__WE2UX:hover {\n\t\tcolor: var(--secondary)\n\t}\n\n\t.image-gallery_image-gallery-icon__WE2UX:hover .image-gallery_image-gallery-svg__XloJd {\n\t\ttransform: scale(1.1)\n\t}\n}\n\n.image-gallery_image-gallery-icon__WE2UX:focus {\n\toutline: 2px solid #000\n}\n\n.image-gallery_image-gallery-using-mouse__lBKAU .image-gallery_image-gallery-icon__WE2UX:focus {\n\toutline: none\n}\n\n.image-gallery_image-gallery-fullscreen-button__xyF3z,\n.image-gallery_image-gallery-play-button__2AS3J {\n\tbottom: 0;\n\tpadding: 20px\n}\n\n.image-gallery_image-gallery-fullscreen-button__xyF3z .image-gallery_image-gallery-svg__XloJd,\n.image-gallery_image-gallery-play-button__2AS3J .image-gallery_image-gallery-svg__XloJd {\n\theight: 28px;\n\twidth: 28px\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-fullscreen-button__xyF3z,\n\t.image-gallery_image-gallery-play-button__2AS3J {\n\t\tpadding: 15px\n\t}\n\n\t.image-gallery_image-gallery-fullscreen-button__xyF3z .image-gallery_image-gallery-svg__XloJd,\n\t.image-gallery_image-gallery-play-button__2AS3J .image-gallery_image-gallery-svg__XloJd {\n\t\theight: 24px;\n\t\twidth: 24px\n\t}\n}\n\n@media(max-width: 480px) {\n\n\t.image-gallery_image-gallery-fullscreen-button__xyF3z,\n\t.image-gallery_image-gallery-play-button__2AS3J {\n\t\tpadding: 10px\n\t}\n\n\t.image-gallery_image-gallery-fullscreen-button__xyF3z .image-gallery_image-gallery-svg__XloJd,\n\t.image-gallery_image-gallery-play-button__2AS3J .image-gallery_image-gallery-svg__XloJd {\n\t\theight: 16px;\n\t\twidth: 16px\n\t}\n}\n\n.image-gallery_image-gallery-fullscreen-button__xyF3z {\n\tright: 0\n}\n\n.image-gallery_image-gallery-play-button__2AS3J {\n\tleft: 0\n}\n\n.image-gallery_image-gallery-left-nav__BmHmk,\n.image-gallery_image-gallery-right-nav__53hut {\n\tpadding: 50px 10px;\n\ttop: 50%;\n\ttransform: translateY(-50%)\n}\n\n.image-gallery_image-gallery-left-nav__BmHmk .image-gallery_image-gallery-svg__XloJd,\n.image-gallery_image-gallery-right-nav__53hut .image-gallery_image-gallery-svg__XloJd {\n\theight: 120px;\n\twidth: 60px\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-left-nav__BmHmk .image-gallery_image-gallery-svg__XloJd,\n\t.image-gallery_image-gallery-right-nav__53hut .image-gallery_image-gallery-svg__XloJd {\n\t\theight: 72px;\n\t\twidth: 36px\n\t}\n}\n\n@media(max-width: 480px) {\n\n\t.image-gallery_image-gallery-left-nav__BmHmk .image-gallery_image-gallery-svg__XloJd,\n\t.image-gallery_image-gallery-right-nav__53hut .image-gallery_image-gallery-svg__XloJd {\n\t\theight: 48px;\n\t\twidth: 24px\n\t}\n}\n\n.image-gallery_image-gallery-left-nav__BmHmk[disabled],\n.image-gallery_image-gallery-right-nav__53hut[disabled] {\n\tcursor: disabled;\n\topacity: .6;\n\tpointer-events: none\n}\n\n.image-gallery_image-gallery-left-nav__BmHmk {\n\tleft: 0\n}\n\n.image-gallery_image-gallery-right-nav__53hut {\n\tright: 0\n}\n\n.image-gallery_image-gallery__FfPQj {\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\t-ms-user-select: none;\n\t-o-user-select: none;\n\tuser-select: none;\n\t-webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\tposition: relative\n}\n\n.image-gallery_image-gallery__FfPQj.image-gallery_fullscreen-modal__KM6Xw {\n\tbackground: #000;\n\tbottom: 0;\n\theight: 100%;\n\tleft: 0;\n\tposition: fixed;\n\tright: 0;\n\ttop: 0;\n\twidth: 100%;\n\tz-index: 5\n}\n\n.image-gallery_image-gallery__FfPQj.image-gallery_fullscreen-modal__KM6Xw .image-gallery_image-gallery-content__kMTBU {\n\ttop: 50%;\n\ttransform: translateY(-50%)\n}\n\n.image-gallery_image-gallery-content__kMTBU {\n\tposition: relative;\n\tline-height: 0;\n\ttop: 0\n}\n\n.image-gallery_image-gallery-content__kMTBU.image-gallery_fullscreen__VMCyX {\n\tbackground: #000\n}\n\n.image-gallery_image-gallery-content__kMTBU .image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-image__pCNKh {\n\tmax-height: 50vh !important;\n}\n\n.image-gallery_image-gallery-content__kMTBU.image-gallery_left__K0NWU .image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-image__pCNKh,\n.image-gallery_image-gallery-content__kMTBU.image-gallery_right__PlchD .image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-image__pCNKh {\n\tmax-height: 100vh\n}\n\n.image-gallery_image-gallery-slide-wrapper__gdmSf {\n\tposition: relative\n}\n\n.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_left__K0NWU,\n.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_right__PlchD {\n\tdisplay: inline-block;\n\twidth: calc(100% - 110px)\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_left__K0NWU,\n\t.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_right__PlchD {\n\t\twidth: calc(100% - 87px)\n\t}\n}\n\n.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_image-gallery-rtl__jhrNg {\n\tdirection: rtl\n}\n\n.image-gallery_image-gallery-slides__cWfmF {\n\tline-height: 0;\n\toverflow: hidden;\n\tposition: relative;\n\twhite-space: nowrap;\n\ttext-align: center\n}\n\n.image-gallery_image-gallery-slide__2BfHc {\n\tleft: 0;\n\tposition: absolute;\n\ttop: 0;\n\twidth: 100%\n}\n\n.image-gallery_image-gallery-slide__2BfHc.image-gallery_center__1gH-w {\n\tposition: relative\n}\n\n.image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-image__pCNKh {\n\twidth: 100%;\n\tobject-fit: contain\n}\n\n.image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-description__l1rZM {\n\tbackground: rgba(0, 0, 0, .4);\n\tbottom: 70px;\n\tcolor: #fff;\n\tleft: 0;\n\tline-height: 1;\n\tpadding: 10px 20px;\n\tposition: absolute;\n\twhite-space: normal\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-description__l1rZM {\n\t\tbottom: 45px;\n\t\tfont-size: .8em;\n\t\tpadding: 8px 15px\n\t}\n}\n\n.image-gallery_image-gallery-bullets__CEQBy {\n\tbottom: 20px;\n\tleft: 0;\n\tmargin: 0 auto;\n\tposition: absolute;\n\tright: 0;\n\twidth: 80%;\n\tz-index: 4\n}\n\n.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullets-container__BXDlg {\n\tmargin: 0;\n\tpadding: 0;\n\ttext-align: center\n}\n\n.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG {\n\tappearance: none;\n\tbackground-color: transparent;\n\tborder: 1px solid #fff;\n\tborder-radius: 50%;\n\tbox-shadow: 0 2px 2px #1a1a1a;\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tmargin: 0 5px;\n\toutline: none;\n\tpadding: 5px;\n\ttransition: all .2s ease-out\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG {\n\t\tmargin: 0 3px;\n\t\tpadding: 3px\n\t}\n}\n\n@media(max-width: 480px) {\n\t.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG {\n\t\tpadding: 2.7px\n\t}\n}\n\n.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG:focus {\n\ttransform: scale(1.2);\n\tbackground: #000;\n\tborder: 1px solid #000\n}\n\n.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG.image-gallery_active__B2qrR {\n\ttransform: scale(1.2);\n\tborder: 1px solid #fff;\n\tbackground: #fff\n}\n\n@media(hover: hover)and (pointer: fine) {\n\t.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG:hover {\n\t\tbackground: #000;\n\t\tborder: 1px solid #000\n\t}\n\n\t.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG.image-gallery_active__B2qrR:hover {\n\t\tbackground: #000\n\t}\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv- {\n\tposition: relative\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_thumbnails-swipe-horizontal__5-5qp {\n\ttouch-action: pan-y\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_thumbnails-swipe-vertical__-NAhb {\n\ttouch-action: pan-x\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_thumbnails-wrapper-rtl__Ya5gz {\n\tdirection: rtl\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD {\n\tdisplay: inline-block;\n\tvertical-align: top;\n\twidth: 100px;\n\theight: 100px !important;\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU,\n\t.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD {\n\t\twidth: 81px\n\t}\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU .image-gallery_image-gallery-thumbnails__1BFBn,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD .image-gallery_image-gallery-thumbnails__1BFBn {\n\theight: 100%;\n\twidth: 100%;\n\tleft: 0;\n\tpadding: 0;\n\tposition: absolute;\n\ttop: 0\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU .image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnail__EKbDF,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD .image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnail__EKbDF {\n\tdisplay: block;\n\tmargin-right: 0;\n\tpadding: 0\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU .image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnail__EKbDF+.image-gallery_image-gallery-thumbnail__EKbDF,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD .image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnail__EKbDF+.image-gallery_image-gallery-thumbnail__EKbDF {\n\tmargin-left: 0;\n\tmargin-top: 2px\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD {\n\tmargin: 0 5px\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU,\n\t.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD {\n\t\tmargin: 0 3px\n\t}\n}\n\n.image-gallery_image-gallery-thumbnails__1BFBn {\n\toverflow: hidden;\n\tpadding: 5px 0\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-thumbnails__1BFBn {\n\t\tpadding: 3px 0\n\t}\n}\n\n.image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnails-container__Z3mr8 {\n\tcursor: pointer;\n\ttext-align: center;\n\twhite-space: nowrap\n}\n\n.image-gallery_image-gallery-thumbnail__EKbDF {\n\tdisplay: inline-block;\n\tborder: 2px solid transparent;\n\ttransition: border .3s ease-out;\n\twidth: 10vh;\n\tbackground: transparent;\n\tpadding: 0\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-thumbnail__EKbDF {\n\t\tborder: 3px solid transparent;\n\t\twidth: 81px\n\t}\n}\n\n.image-gallery_image-gallery-thumbnail__EKbDF+.image-gallery_image-gallery-thumbnail__EKbDF {\n\tmargin-left: 2px\n}\n\n.image-gallery_image-gallery-thumbnail__EKbDF .image-gallery_image-gallery-thumbnail-inner__4F4ry {\n\tdisplay: block;\n\tposition: relative\n}\n.image-gallery_image-gallery-thumbnail__EKbDF{\n\twidth: 10vh;\n\theight: 7vh;\n\toverflow: hidden;\n}\n.image-gallery_image-gallery-thumbnail__EKbDF .image-gallery_image-gallery-thumbnail-image__Oi9qX {\n\twidth: 100%;\n height:100%;\n\tline-height: 0;\n object-fit: contain;\n}\n\n.image-gallery_image-gallery-thumbnail__EKbDF.image-gallery_active__B2qrR,\n.image-gallery_image-gallery-thumbnail__EKbDF:focus {\n\toutline: none;\n\tborder: 2px solid var(--light);\n}\n@media(hover: hover)and (pointer: fine) {\n\t.image-gallery_image-gallery-thumbnail__EKbDF:hover {\n\t\toutline: none;\n\t\tborder: 2px solid var(--light)\n\t}\n}\n\n@media(hover: hover)and (pointer: fine)and (max-width: 768px) {\n\t.image-gallery_image-gallery-thumbnail__EKbDF:hover {\n\t\tborder: 2px solid var(--primary)\n\t}\n}\n\n.image-gallery_image-gallery-thumbnail-label__4Xph8 {\n\tbox-sizing: border-box;\n\tcolor: #fff;\n\tfont-size: 1em;\n\tleft: 0;\n\tline-height: 1em;\n\tpadding: 5%;\n\tposition: absolute;\n\ttop: 50%;\n\ttext-shadow: 0 2px 2px #1a1a1a;\n\ttransform: translateY(-50%);\n\twhite-space: normal;\n\twidth: 100%\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-thumbnail-label__4Xph8 {\n\t\tfont-size: .8em;\n\t\tline-height: .8em\n\t}\n}\n\n.image-gallery_image-gallery-index__DbRoC {\n\tbackground: rgba(0, 0, 0, .4);\n\tcolor: #fff;\n\tline-height: 1;\n\tpadding: 10px 20px;\n\tposition: absolute;\n\tright: 0;\n\ttop: 0;\n\tz-index: 4\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-index__DbRoC {\n\t\tfont-size: .8em;\n\t\tpadding: 5px 10px\n\t}\n}";
|
|
1147
1145
|
styleInject(css_248z$K);
|
|
1148
1146
|
|
|
1149
|
-
var css_248z$J = "@media screen and (max-width: 800px) {\n .signup-module_rightContainer__yEcoL,\n .signup-module_rightContainerTrans__fkdBH {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 15px !important;\n border-bottom-left-radius: 15px !important;\n }\n .signup-module_rightContainerText__-pvN- {\n font-size: 23px !important;\n }\n}\n.signup-module_form_control__7s76W:focus {\n -webkit-animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n}\n.signup-module_form_control__7s76W:focus + .signup-module_login_input_icon__RDTS0 {\n padding-left: 20px;\n}\n/* Forms */\n.signup-module_form_control__7s76W {\n display: block;\n width: 100%;\n /* height: 35px; */\n /* font-size: 1rem; */\n /* color: var(--cardtitle); */\n /* background: no-repeat center bottom, center calc(100% - 1px); */\n /* background-size: 0 100%, 100% 100%; */\n background-clip: padding-box;\n /* font-size: 14px; */\n /* transition: background 0s ease-out; */\n /* border: 0; */\n padding: 0 15px;\n font-weight: 500;\n display: flex;\n align-items: center;\n position: relative;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .signup-module_form_control__7s76W {\n transition: none;\n }\n}\n.signup-module_form_control__7s76W::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.signup-module_form_control__7s76W:focus {\n outline: 0;\n}\n.signup-module_form_control__7s76W::placeholder {\n opacity: 1;\n}\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.signup-module_form_control__7s76W {\n height: auto;\n}\n.signup-module_form_control__7s76W:focus {\n /* background-size: 100% 100%, 100% 100%; */\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.signup-module_form_control__7s76W::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W {\n /* background-image: linear-gradient(to top, #000 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px); */\n}\n.signup-module_form_control_border_none__HjUMS {\n background-image: none;\n}\n.signup-module_form_control__7s76W.signup-module_disabled__h55ao,\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[disabled] {\n /* background-image: linear-gradient(to right, #d2d2d2 0%, #d2d2d2 30%, transparent 30%, transparent 100%); */\n /* background-repeat: repeat-x;\n background-size: 3px 1px; */\n cursor: not-allowed;\n}\n@media screen and (max-width: 500px) {\n .signup-module_form_control__7s76W {\n /* padding: 0 5px !important; */\n }\n .signup-module_login_input_icon__RDTS0 {\n padding-left: 0 !important;\n }\n .signup-module_rightContainer__yEcoL {\n border-radius: 15px 15px 0 0 !important;\n }\n .signup-module_leftcontainer__bqfnN {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.signup-module_form_controltextarea__-LGz6{\n min-height:
|
|
1147
|
+
var css_248z$J = "@media screen and (max-width: 800px) {\n .signup-module_rightContainer__yEcoL,\n .signup-module_rightContainerTrans__fkdBH {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 15px !important;\n border-bottom-left-radius: 15px !important;\n }\n .signup-module_rightContainerText__-pvN- {\n font-size: 23px !important;\n }\n}\n.signup-module_form_control__7s76W:focus {\n -webkit-animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n}\n.signup-module_form_control__7s76W:focus + .signup-module_login_input_icon__RDTS0 {\n padding-left: 20px;\n}\n/* Forms */\n.signup-module_form_control__7s76W {\n display: block;\n width: 100%;\n /* height: 35px; */\n /* font-size: 1rem; */\n /* color: var(--cardtitle); */\n /* background: no-repeat center bottom, center calc(100% - 1px); */\n /* background-size: 0 100%, 100% 100%; */\n background-clip: padding-box;\n /* font-size: 14px; */\n /* transition: background 0s ease-out; */\n /* border: 0; */\n padding: 0 15px;\n font-weight: 500;\n display: flex;\n align-items: center;\n position: relative;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .signup-module_form_control__7s76W {\n transition: none;\n }\n}\n.signup-module_form_control__7s76W::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.signup-module_form_control__7s76W:focus {\n outline: 0;\n}\n.signup-module_form_control__7s76W::placeholder {\n opacity: 1;\n}\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.signup-module_form_control__7s76W {\n height: auto;\n}\n.signup-module_form_control__7s76W:focus {\n /* background-size: 100% 100%, 100% 100%; */\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.signup-module_form_control__7s76W::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W {\n /* background-image: linear-gradient(to top, #000 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px); */\n}\n.signup-module_form_control_border_none__HjUMS {\n background-image: none;\n}\n.signup-module_form_control__7s76W.signup-module_disabled__h55ao,\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[disabled] {\n /* background-image: linear-gradient(to right, #d2d2d2 0%, #d2d2d2 30%, transparent 30%, transparent 100%); */\n /* background-repeat: repeat-x;\n background-size: 3px 1px; */\n cursor: not-allowed;\n}\n@media screen and (max-width: 500px) {\n .signup-module_form_control__7s76W {\n /* padding: 0 5px !important; */\n }\n .signup-module_login_input_icon__RDTS0 {\n padding-left: 0 !important;\n }\n .signup-module_rightContainer__yEcoL {\n border-radius: 15px 15px 0 0 !important;\n }\n .signup-module_leftcontainer__bqfnN {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.signup-module_form_controltextarea__-LGz6{\n min-height: 40px !important;\n}\n.signup-module_checkbox__8ejBx {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.signup-module_checkbox_label__d84Q2 {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.signup-module_checkbox__8ejBx:hover {\n /* color: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input,\n.signup-module_checkbox__8ejBx svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.signup-module_checkbox_sub__WQLUX input {\n width: 15px;\n height: 15px;\n}\n.signup-module_checkbox__8ejBx input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.signup-module_checkbox__8ejBx input:disabled {\n cursor: not-allowed;\n}\n.signup-module_checkbox__8ejBx input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input:checked {\n /* --b: var(--secondary); */\n}\n.signup-module_checkbox__8ejBx svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkbox_sub__WQLUX svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkboxtranslated__4xHR- svg {\n right: 0;\n}\n.signup-module_checkbox__8ejBx input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.signup-module_checkbox__8ejBx input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.signup-module_checkbox__8ejBx svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n\n.signup-module_showpassword_input_icon__cVHRS {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 15px;\n right: 25px;\n padding-left: 15px;\n\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n cursor: pointer !important;\n z-index: 10000000000000000000000 !important;\n}\n.signup-module_showpassword_input_icontrans__vmV5q {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 15px;\n left: 25px;\n\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n cursor: pointer !important;\n z-index: 10000000000000000000000 !important;\n}";
|
|
1150
1148
|
var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-","showpassword_input_icon":"signup-module_showpassword_input_icon__cVHRS","showpassword_input_icontrans":"signup-module_showpassword_input_icontrans__vmV5q"};
|
|
1151
1149
|
styleInject(css_248z$J);
|
|
1152
1150
|
|
|
1153
1151
|
function ownKeys$2p(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1154
1152
|
function _objectSpread$2p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2p(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1153
|
+
var selectcustomStyles = {
|
|
1154
|
+
option: function option(provided, state) {
|
|
1155
|
+
return _objectSpread$2p(_objectSpread$2p({}, provided), {}, {
|
|
1156
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1157
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1158
|
+
padding: 5,
|
|
1159
|
+
textTransform: 'capitalize',
|
|
1160
|
+
color: state.isSelected ? '#eac435' : '#022648',
|
|
1161
|
+
transition: '.3s',
|
|
1162
|
+
'&:hover': {
|
|
1163
|
+
color: '#eac435',
|
|
1164
|
+
cursor: 'pointer'
|
|
1165
|
+
}
|
|
1166
|
+
});
|
|
1167
|
+
},
|
|
1168
|
+
control: function control() {
|
|
1169
|
+
return {
|
|
1170
|
+
border: '1px solid #e6e6e6',
|
|
1171
|
+
// boxShadow: '0 0 10px #e6e6e6',
|
|
1172
|
+
borderRadius: '5px',
|
|
1173
|
+
display: 'flex',
|
|
1174
|
+
cursor: 'pointer',
|
|
1175
|
+
transition: '.3s',
|
|
1176
|
+
'&:hover': {
|
|
1177
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1178
|
+
}
|
|
1179
|
+
};
|
|
1180
|
+
}
|
|
1181
|
+
};
|
|
1182
|
+
var selectcustomStylesTranslated = {
|
|
1183
|
+
option: function option(provided, state) {
|
|
1184
|
+
return _objectSpread$2p(_objectSpread$2p({}, provided), {}, {
|
|
1185
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1186
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1187
|
+
padding: 5,
|
|
1188
|
+
textTransform: 'capitalize',
|
|
1189
|
+
color: state.isSelected ? '#eac435' : '#022648',
|
|
1190
|
+
transition: '.3s',
|
|
1191
|
+
textAlign: 'right',
|
|
1192
|
+
'&:hover': {
|
|
1193
|
+
color: '#eac435',
|
|
1194
|
+
cursor: 'pointer'
|
|
1195
|
+
}
|
|
1196
|
+
});
|
|
1197
|
+
},
|
|
1198
|
+
control: function control() {
|
|
1199
|
+
return {
|
|
1200
|
+
border: '2px solid #e6e6e6',
|
|
1201
|
+
boxShadow: '0 0 10px #e6e6e6',
|
|
1202
|
+
borderRadius: '10px',
|
|
1203
|
+
display: 'flex',
|
|
1204
|
+
cursor: 'pointer',
|
|
1205
|
+
transition: '.3s',
|
|
1206
|
+
textAlign: 'right',
|
|
1207
|
+
'&:hover': {
|
|
1208
|
+
boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)'
|
|
1209
|
+
}
|
|
1210
|
+
};
|
|
1211
|
+
},
|
|
1212
|
+
placeholder: function placeholder(provided, state) {
|
|
1213
|
+
return _objectSpread$2p(_objectSpread$2p({}, provided), {}, {
|
|
1214
|
+
textAlign: 'right'
|
|
1215
|
+
});
|
|
1216
|
+
}
|
|
1217
|
+
};
|
|
1155
1218
|
var defaultstyles = {
|
|
1156
1219
|
option: function option(provided, state) {
|
|
1157
1220
|
return _objectSpread$2p(_objectSpread$2p({}, provided), {}, {
|
|
@@ -2067,7 +2130,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2067
2130
|
function ownKeys$2n(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2068
2131
|
function _objectSpread$2n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2069
2132
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2070
|
-
var
|
|
2133
|
+
var _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _ProductInfoObj$data, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35;
|
|
2071
2134
|
var lang = props.actions.lang;
|
|
2072
2135
|
var langdetect = props.actions.langdetect;
|
|
2073
2136
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2185,11 +2248,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2185
2248
|
}, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar);
|
|
2186
2249
|
};
|
|
2187
2250
|
var SKUSection = function SKUSection() {
|
|
2188
|
-
var _fetchProductInfoQuer;
|
|
2251
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2;
|
|
2189
2252
|
return /*#__PURE__*/React.createElement("div", {
|
|
2190
|
-
"class":
|
|
2253
|
+
"class": sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' ? 'row m-0 w-100 mt-3' : 'row m-0 w-100'
|
|
2191
2254
|
}, sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
|
|
2192
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2255
|
+
"class": sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' ? 'col-lg-12 p-0 mb-1 d-flex justify-content-start' : sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2193
2256
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2194
2257
|
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2195
2258
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -2207,7 +2270,26 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2207
2270
|
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2208
2271
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2209
2272
|
}
|
|
2210
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.sku))))
|
|
2273
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
2274
|
+
"class": 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2275
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
2276
|
+
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2277
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2278
|
+
style: {
|
|
2279
|
+
fontSize: sectionproperties.availability_fontsize + 'px',
|
|
2280
|
+
color: sectionproperties.availability_textcolor,
|
|
2281
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2282
|
+
fontWeight: sectionproperties.skuFontWeight
|
|
2283
|
+
}
|
|
2284
|
+
}, lang.availability, ":"), /*#__PURE__*/React.createElement("span", {
|
|
2285
|
+
"class": "ml-1 mr-1",
|
|
2286
|
+
style: {
|
|
2287
|
+
color: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? sectionproperties.availability_availabletextcolor : sectionproperties.availability_limitedtextcolor,
|
|
2288
|
+
fontSize: sectionproperties.availability_fontsize + 'px',
|
|
2289
|
+
fontWeight: sectionproperties.skuSecondaryFontWeight,
|
|
2290
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2291
|
+
}
|
|
2292
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.instock : lang.limitedquantity))));
|
|
2211
2293
|
};
|
|
2212
2294
|
var ShareButtonsContainer = function ShareButtonsContainer() {
|
|
2213
2295
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -2225,7 +2307,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2225
2307
|
}, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React.createElement("div", {
|
|
2226
2308
|
className: "Demo__container w-100 m-0 d-flex align-items-center mt-3",
|
|
2227
2309
|
style: {
|
|
2228
|
-
justifyContent: sectionproperties.sharecentered == 'Centered' ? 'center' : 'start'
|
|
2310
|
+
justifyContent: srcfromprops != 'templatedraftrouter' ? 'start' : sectionproperties.sharecentered == 'Centered' ? 'center' : 'start'
|
|
2229
2311
|
}
|
|
2230
2312
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2231
2313
|
className: "Demo__some-network ml-2 mr-2 allcentered"
|
|
@@ -2249,7 +2331,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2249
2331
|
style: {}
|
|
2250
2332
|
}, /*#__PURE__*/React.createElement("i", {
|
|
2251
2333
|
"class": "h-100 allcentered"
|
|
2252
|
-
}, /*#__PURE__*/React.createElement(AiOutlineTwitter,
|
|
2334
|
+
}, /*#__PURE__*/React.createElement(AiOutlineTwitter, {
|
|
2335
|
+
size: 16
|
|
2336
|
+
}))))), /*#__PURE__*/React.createElement("div", {
|
|
2253
2337
|
className: "Demo__some-network ml-2 mr-2"
|
|
2254
2338
|
}, /*#__PURE__*/React.createElement(WhatsappShareButton, {
|
|
2255
2339
|
url: shareUrl,
|
|
@@ -2261,7 +2345,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2261
2345
|
style: {}
|
|
2262
2346
|
}, /*#__PURE__*/React.createElement("i", {
|
|
2263
2347
|
"class": "h-100 allcentered"
|
|
2264
|
-
}, /*#__PURE__*/React.createElement(FaWhatsapp,
|
|
2348
|
+
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
2349
|
+
size: 16
|
|
2350
|
+
}))))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2265
2351
|
className: "Demo__some-network ml-2 mr-2"
|
|
2266
2352
|
}, /*#__PURE__*/React.createElement(LinkedinShareButton, {
|
|
2267
2353
|
url: shareUrl,
|
|
@@ -2276,7 +2362,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2276
2362
|
}, /*#__PURE__*/React.createElement(FaLinkedinIn, null))))))));
|
|
2277
2363
|
};
|
|
2278
2364
|
var Quantitybtn_Cartbtn_Favbottombtn = function Quantitybtn_Cartbtn_Favbottombtn() {
|
|
2279
|
-
var
|
|
2365
|
+
var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
|
|
2280
2366
|
return /*#__PURE__*/React.createElement("div", {
|
|
2281
2367
|
"class": "col-lg-12 p-0"
|
|
2282
2368
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -2284,7 +2370,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2284
2370
|
style: {
|
|
2285
2371
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
2286
2372
|
}
|
|
2287
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2373
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.isproducthasquantitychange) == 1 && /*#__PURE__*/React.createElement("button", {
|
|
2288
2374
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2289
2375
|
style: {
|
|
2290
2376
|
height: sectionproperties.quantitybtn_height + 'px',
|
|
@@ -2326,12 +2412,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2326
2412
|
}
|
|
2327
2413
|
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React.createElement(FiPlus, {
|
|
2328
2414
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
2329
|
-
})))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2415
|
+
})))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("button", {
|
|
2330
2416
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2331
2417
|
onClick: function onClick() {
|
|
2332
2418
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2333
|
-
var
|
|
2334
|
-
window.open('tel:' + ((
|
|
2419
|
+
var _fetchProductInfoQuer6;
|
|
2420
|
+
window.open('tel:' + ((_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.product_phonenumber), '_blank');
|
|
2335
2421
|
} else {
|
|
2336
2422
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2337
2423
|
addtocartfunc();
|
|
@@ -2362,7 +2448,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2362
2448
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2363
2449
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
2364
2450
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2365
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2451
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
2366
2452
|
className: ' d-flex align-items-center justify-content-center '
|
|
2367
2453
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
2368
2454
|
color: "white",
|
|
@@ -2407,7 +2493,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2407
2493
|
style: {
|
|
2408
2494
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2409
2495
|
}
|
|
2410
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2496
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
2411
2497
|
"class": "row m-0 w-100 mt-3",
|
|
2412
2498
|
style: {
|
|
2413
2499
|
overflow: 'hidden'
|
|
@@ -2419,8 +2505,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2419
2505
|
},
|
|
2420
2506
|
onClick: function onClick() {
|
|
2421
2507
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2422
|
-
var
|
|
2423
|
-
window.open('tel:' + ((
|
|
2508
|
+
var _fetchProductInfoQuer10;
|
|
2509
|
+
window.open('tel:' + ((_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.product_phonenumber), '_blank');
|
|
2424
2510
|
} else {
|
|
2425
2511
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2426
2512
|
addtocartfunc();
|
|
@@ -2451,7 +2537,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2451
2537
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2452
2538
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
2453
2539
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2454
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2540
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
2455
2541
|
className: ' d-flex align-items-center justify-content-center '
|
|
2456
2542
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
2457
2543
|
color: "white",
|
|
@@ -2492,13 +2578,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2492
2578
|
// ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)
|
|
2493
2579
|
// : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
|
|
2494
2580
|
useEffect(function () {
|
|
2495
|
-
var
|
|
2581
|
+
var _fetchProductInfoQuer13;
|
|
2496
2582
|
var totalprice = '';
|
|
2497
2583
|
if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0) {
|
|
2498
2584
|
totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
|
|
2499
2585
|
} else if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1) {
|
|
2500
2586
|
totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
|
|
2501
|
-
} else if (variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2587
|
+
} else if (variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.variants[variantindexcompleted]) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.hassale) == 1) {
|
|
2502
2588
|
totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
|
|
2503
2589
|
} else {
|
|
2504
2590
|
totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
|
|
@@ -2514,13 +2600,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2514
2600
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2515
2601
|
"class": ' col-lg-12 p-0 '
|
|
2516
2602
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2517
|
-
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
2603
|
+
"class": srcfromprops == 'templatedraftrouter' ? "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 px-2 px-1025-1 p-sm-0 ' : "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
2518
2604
|
style: {
|
|
2519
2605
|
minHeight: sectionproperties.height + 'vh'
|
|
2520
2606
|
}
|
|
2521
2607
|
}, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
2522
2608
|
"class": "w-100 scrollhorizontalwithscrollbar"
|
|
2523
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2609
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productimages) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.productimages.map(function (item, index) {
|
|
2524
2610
|
return /*#__PURE__*/React.createElement("div", {
|
|
2525
2611
|
"class": ' scrollhorizontalcard mx-2 ',
|
|
2526
2612
|
style: {
|
|
@@ -2556,12 +2642,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2556
2642
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2557
2643
|
className: "row m-0 w-100"
|
|
2558
2644
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2559
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2560
|
-
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2645
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
2646
|
+
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2561
2647
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
2562
2648
|
}, /*#__PURE__*/React.createElement(ReactStars, {
|
|
2563
2649
|
count: 5,
|
|
2564
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2650
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productoverallrate,
|
|
2565
2651
|
edit: false,
|
|
2566
2652
|
size: 18,
|
|
2567
2653
|
emptyIcon: /*#__PURE__*/React.createElement("i", {
|
|
@@ -2582,7 +2668,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2582
2668
|
activeColor: "#ffd700"
|
|
2583
2669
|
})), /*#__PURE__*/React.createElement("div", {
|
|
2584
2670
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
2585
|
-
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2671
|
+
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
2586
2672
|
style: {
|
|
2587
2673
|
width: sectionproperties.availability_width + 'px',
|
|
2588
2674
|
height: sectionproperties.availability_height + 'px',
|
|
@@ -2634,7 +2720,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2634
2720
|
}, /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
2635
2721
|
actions: props.actions,
|
|
2636
2722
|
srcfromprops: 'undername'
|
|
2637
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2723
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2638
2724
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2639
2725
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2640
2726
|
"class": "m-0 p-0",
|
|
@@ -2645,15 +2731,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2645
2731
|
style: {
|
|
2646
2732
|
fontWeight: 600
|
|
2647
2733
|
}
|
|
2648
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2734
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.vendorinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.vendorname))), /*#__PURE__*/React.createElement("div", {
|
|
2649
2735
|
"class": "col-lg-12 p-0"
|
|
2650
|
-
}, SKUSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2736
|
+
}, SKUSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.hasvariants) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
2651
2737
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
2652
2738
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2653
2739
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
2654
2740
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2655
2741
|
"class": "m-0 p-0"
|
|
2656
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2742
|
+
}, 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.createElement("div", {
|
|
2657
2743
|
"class": "mb-4 col-lg-12 allcentered",
|
|
2658
2744
|
style: {
|
|
2659
2745
|
width: '100%',
|
|
@@ -2674,9 +2760,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2674
2760
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2675
2761
|
color: sectionproperties.deliverytimecontainercolor
|
|
2676
2762
|
}
|
|
2677
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React.createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2763
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React.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.createElement(ProductHeaderPricing, {
|
|
2678
2764
|
actions: props.actions
|
|
2679
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2765
|
+
}), (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.createElement("div", {
|
|
2680
2766
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
2681
2767
|
}, 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) {
|
|
2682
2768
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -2740,7 +2826,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2740
2826
|
actions: props.actions
|
|
2741
2827
|
}), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React.createElement(ProductExtraFields, {
|
|
2742
2828
|
actions: props.actions
|
|
2743
|
-
}), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2829
|
+
}), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React.createElement("div", {
|
|
2744
2830
|
className: "col-lg-12 p-0 mb-3"
|
|
2745
2831
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
2746
2832
|
className: "mb-0 mt-2"
|
|
@@ -2751,7 +2837,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2751
2837
|
}
|
|
2752
2838
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2753
2839
|
className: "row m-0 w-100 d-flex align-items-center"
|
|
2754
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2840
|
+
}, (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.createElement("div", {
|
|
2755
2841
|
className: "col-lg-12 p-0 mb-2 d-flex justify-content-start"
|
|
2756
2842
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2757
2843
|
className: "m-0 p-0",
|
|
@@ -2761,7 +2847,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2761
2847
|
textTransform: sectionproperties.generaltext_textTransform,
|
|
2762
2848
|
fontWeight: sectionproperties.generaltext_fontWeight
|
|
2763
2849
|
}
|
|
2764
|
-
}, lang.quantity, ":")), Quantitybtn_Cartbtn_Favbottombtn())), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2850
|
+
}, 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.createElement("div", {
|
|
2765
2851
|
className: "col-lg-12 p-0 mb-3"
|
|
2766
2852
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2767
2853
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -2784,7 +2870,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2784
2870
|
}
|
|
2785
2871
|
}, /*#__PURE__*/React.createElement("span", {
|
|
2786
2872
|
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 '
|
|
2787
|
-
}, 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 || (
|
|
2873
|
+
}, 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.createElement("p", {
|
|
2788
2874
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
2789
2875
|
style: {
|
|
2790
2876
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -2798,14 +2884,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2798
2884
|
style: {
|
|
2799
2885
|
textDecoration: 'none'
|
|
2800
2886
|
}
|
|
2801
|
-
}, "-"), 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 || (
|
|
2887
|
+
}, "-"), 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.createElement("span", {
|
|
2802
2888
|
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 '
|
|
2803
2889
|
}, /*#__PURE__*/React.createElement("span", {
|
|
2804
2890
|
className: "ml-2 mr-2",
|
|
2805
2891
|
style: {
|
|
2806
2892
|
textDecoration: 'none'
|
|
2807
2893
|
}
|
|
2808
|
-
}, "-"), 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 || (
|
|
2894
|
+
}, "-"), 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.createElement("div", {
|
|
2809
2895
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
2810
2896
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2811
2897
|
style: {
|
|
@@ -2831,7 +2917,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2831
2917
|
className: "font-weight-600"
|
|
2832
2918
|
}, lang.availability, ":"), /*#__PURE__*/React.createElement("span", {
|
|
2833
2919
|
className: "ml-1 mr-1"
|
|
2834
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
2920
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React.createElement("div", {
|
|
2835
2921
|
"class": "col-lg-12 p-0"
|
|
2836
2922
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
2837
2923
|
"class": "mb-3 mt-3",
|
|
@@ -5693,7 +5779,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5693
5779
|
lang: lang,
|
|
5694
5780
|
srcfromprops: props.srcfromprops
|
|
5695
5781
|
}, _defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), _defineProperty(_ref2, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty(_ref2, "addtocartfunc", addtocartfunc), _defineProperty(_ref2, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty(_ref2, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty(_ref2, "productimagesarray", productimagesarray), _defineProperty(_ref2, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty(_ref2, "sectionproperties", sectionproperties), _defineProperty(_ref2, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_ref2, "ProductInfoObj", ProductInfoObj), _defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty(_ref2, "routingcountext", routingcountext), _defineProperty(_ref2, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty(_ref2, "authdetailsContext", authdetailsContext), _defineProperty(_ref2, "addtofavoritescontext", addtofavoritescontext), _defineProperty(_ref2, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty(_ref2, "variantindexcompleted", variantindexcompleted), _defineProperty(_ref2, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_ref2, "NotificationManager", NotificationManager), _defineProperty(_ref2, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty(_ref2, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_ref2, "relatedproducts", relatedproducts), _defineProperty(_ref2, "getQuantityCondition", getQuantityCondition), _defineProperty(_ref2, "StoreInfoprops", StoreInfo), _defineProperty(_ref2, "templatepropcontext", templatepropcontext), _defineProperty(_ref2, "ikimagecredcontext", ikimagecredcontext), _ref2)
|
|
5696
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
5782
|
+
}), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React.createElement("div", {
|
|
5697
5783
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
5698
5784
|
style: {
|
|
5699
5785
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -5859,7 +5945,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5859
5945
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
5860
5946
|
sectionproperties: sectionproperties
|
|
5861
5947
|
})
|
|
5862
|
-
}))))), /*#__PURE__*/React.createElement("div", {
|
|
5948
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React.createElement("div", {
|
|
5863
5949
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
5864
5950
|
style: {
|
|
5865
5951
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -7043,14 +7129,16 @@ function ownKeys$2g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySym
|
|
|
7043
7129
|
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(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; }
|
|
7044
7130
|
var Wishlist = function Wishlist(props) {
|
|
7045
7131
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
7046
|
-
|
|
7132
|
+
props.actions.lang;
|
|
7047
7133
|
var langdetect = props.actions.langdetect;
|
|
7134
|
+
var routingcountext = props.actions.routingcountext;
|
|
7048
7135
|
var fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
|
|
7049
7136
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
7050
7137
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
7051
7138
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
7052
7139
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
7053
7140
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
7141
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
7054
7142
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
7055
7143
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
7056
7144
|
var actions = props.actions;
|
|
@@ -7062,6 +7150,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7062
7150
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
7063
7151
|
bgimagesarray = _useState4[0],
|
|
7064
7152
|
setbgimagesarray = _useState4[1];
|
|
7153
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
7065
7154
|
useEffect(function () {
|
|
7066
7155
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7067
7156
|
var secpropobj = {};
|
|
@@ -7114,22 +7203,23 @@ var Wishlist = function Wishlist(props) {
|
|
|
7114
7203
|
cart_btn: css({
|
|
7115
7204
|
width: sectionproperties.cartBtnWidth + 'px',
|
|
7116
7205
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
7117
|
-
background: sectionproperties.
|
|
7206
|
+
background: sectionproperties.cartBtnbgColor,
|
|
7118
7207
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
7119
7208
|
color: sectionproperties.cartBtnTextcolor,
|
|
7120
7209
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
7121
7210
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
7122
7211
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
7212
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
7123
7213
|
transition: '.3s',
|
|
7124
7214
|
':hover': {
|
|
7125
|
-
background: sectionproperties.
|
|
7215
|
+
background: sectionproperties.cartBtnbgColoronhover,
|
|
7126
7216
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
7127
7217
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
7128
7218
|
}
|
|
7129
7219
|
}),
|
|
7130
7220
|
trash_btn: css({
|
|
7131
|
-
width: sectionproperties.trashbtn_Width + 'px',
|
|
7132
|
-
height: sectionproperties.trashbtn_Height + 'px',
|
|
7221
|
+
width: sectionproperties.trashbtn_Width == 0 ? 'auto' : sectionproperties.trashbtn_Width + 'px',
|
|
7222
|
+
height: sectionproperties.trashbtn_Height == 0 ? 'auto' : sectionproperties.trashbtn_Height + 'px',
|
|
7133
7223
|
background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
|
|
7134
7224
|
color: sectionproperties.trashbtn_Textcolor,
|
|
7135
7225
|
borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
|
|
@@ -7141,20 +7231,13 @@ var Wishlist = function Wishlist(props) {
|
|
|
7141
7231
|
}
|
|
7142
7232
|
}),
|
|
7143
7233
|
imagecont: css({
|
|
7144
|
-
width: '
|
|
7145
|
-
height: '
|
|
7146
|
-
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
7234
|
+
width: '100px',
|
|
7235
|
+
height: '90px',
|
|
7147
7236
|
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
7148
|
-
|
|
7149
|
-
borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
|
|
7150
|
-
borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
|
|
7151
|
-
borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
|
|
7237
|
+
borderRadius: sectionproperties.productimageborderradius + 'px',
|
|
7152
7238
|
display: 'flex',
|
|
7153
7239
|
alignItems: 'center',
|
|
7154
7240
|
justifyContent: 'center',
|
|
7155
|
-
backgroundRepeat: 'no-repeat',
|
|
7156
|
-
backgroundSize: 'cover',
|
|
7157
|
-
backgroundPosition: 'center',
|
|
7158
7241
|
position: 'relative'
|
|
7159
7242
|
}),
|
|
7160
7243
|
containerstyle: css({
|
|
@@ -7164,6 +7247,23 @@ var Wishlist = function Wishlist(props) {
|
|
|
7164
7247
|
'@media (max-width: 800px)': {
|
|
7165
7248
|
marginTop: sectionproperties.marginTopResp + 'px'
|
|
7166
7249
|
}
|
|
7250
|
+
}),
|
|
7251
|
+
btnstyles: css({
|
|
7252
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
7253
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
7254
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
7255
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
7256
|
+
color: sectionproperties.generalbtn_textColor,
|
|
7257
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7258
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7259
|
+
':hover': {
|
|
7260
|
+
transition: '.3s',
|
|
7261
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
7262
|
+
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
7263
|
+
},
|
|
7264
|
+
'@media (max-width: 800px)': {
|
|
7265
|
+
width: '80%'
|
|
7266
|
+
}
|
|
7167
7267
|
})
|
|
7168
7268
|
};
|
|
7169
7269
|
useEffect(function () {
|
|
@@ -7214,10 +7314,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7214
7314
|
margin: 0,
|
|
7215
7315
|
padding: 0,
|
|
7216
7316
|
background: sectionproperties.image_bgcolor,
|
|
7217
|
-
|
|
7218
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7219
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7220
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7317
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
7221
7318
|
zIndex: -1,
|
|
7222
7319
|
objectFit: sectionproperties.bgcovercontain
|
|
7223
7320
|
}
|
|
@@ -7233,45 +7330,19 @@ var Wishlist = function Wishlist(props) {
|
|
|
7233
7330
|
padding: 0,
|
|
7234
7331
|
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
7235
7332
|
background: sectionproperties.image_bgcolor,
|
|
7236
|
-
|
|
7237
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7238
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7239
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7333
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
7240
7334
|
zIndex: -1
|
|
7241
7335
|
}
|
|
7242
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
7243
|
-
className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
|
|
7244
|
-
style: {
|
|
7245
|
-
position: 'absolute',
|
|
7246
|
-
top: 0,
|
|
7247
|
-
right: 0,
|
|
7248
|
-
bottom: 0,
|
|
7249
|
-
left: 0
|
|
7250
|
-
}
|
|
7251
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
7252
|
-
className: ' m-0 p-0 ',
|
|
7253
|
-
style: {
|
|
7254
|
-
fontSize: sectionproperties.imagetextfontsize + 'px',
|
|
7255
|
-
color: sectionproperties.imagetextcolor,
|
|
7256
|
-
textTransform: sectionproperties.imagetexttextTransform,
|
|
7257
|
-
fontWeight: sectionproperties.imagetextfontWeight
|
|
7258
|
-
}
|
|
7259
|
-
}, lang.mywishlist)))), /*#__PURE__*/React.createElement("div", {
|
|
7336
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
7260
7337
|
className: "col-lg-12 p-0"
|
|
7261
7338
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7262
7339
|
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',
|
|
7263
7340
|
style: {
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
7341
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
7342
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
7267
7343
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
7268
7344
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
7269
|
-
|
|
7270
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
7271
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
7272
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
7273
|
-
borderColor: sectionproperties.sectioncardbordercolor,
|
|
7274
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
7345
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
7275
7346
|
}
|
|
7276
7347
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7277
7348
|
className: 'col-lg-12 p-0'
|
|
@@ -7281,24 +7352,118 @@ var Wishlist = function Wishlist(props) {
|
|
|
7281
7352
|
})), /*#__PURE__*/React.createElement("div", {
|
|
7282
7353
|
className: 'col-lg-12 p-0'
|
|
7283
7354
|
}, fetchFavoriteProductsQueryContext.isFetching && /*#__PURE__*/React.createElement("div", {
|
|
7284
|
-
className: "w-100
|
|
7355
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
7356
|
+
style: {
|
|
7357
|
+
height: '50vh',
|
|
7358
|
+
padding: '20px'
|
|
7359
|
+
}
|
|
7360
|
+
}, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React.createElement("div", {
|
|
7361
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
7362
|
+
style: {
|
|
7363
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
7364
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
7365
|
+
}
|
|
7366
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7367
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
7368
|
+
style: {
|
|
7369
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
7370
|
+
color: sectionproperties.sectionTitleColor,
|
|
7371
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
7372
|
+
}
|
|
7373
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
|
|
7374
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
7375
|
+
}, /*#__PURE__*/React.createElement("table", {
|
|
7376
|
+
className: 'table'
|
|
7377
|
+
}, /*#__PURE__*/React.createElement("thead", {
|
|
7378
|
+
className: ""
|
|
7379
|
+
}, /*#__PURE__*/React.createElement("th", {
|
|
7380
|
+
className: 'mw-150 mw-md-300'
|
|
7381
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7382
|
+
"class": "my-1 is-loading"
|
|
7383
|
+
})), /*#__PURE__*/React.createElement("th", {
|
|
7384
|
+
className: "text-center",
|
|
7385
|
+
style: {
|
|
7386
|
+
minWidth: '100px'
|
|
7387
|
+
}
|
|
7388
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7389
|
+
"class": "my-1 is-loading"
|
|
7390
|
+
})), /*#__PURE__*/React.createElement("th", {
|
|
7391
|
+
className: "text-center"
|
|
7392
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7393
|
+
"class": "my-1 is-loading"
|
|
7394
|
+
}))), /*#__PURE__*/React.createElement("tbody", null, _toConsumableArray(Array(3)).map(function (item, index) {
|
|
7395
|
+
return /*#__PURE__*/React.createElement("tr", {
|
|
7396
|
+
className: ""
|
|
7397
|
+
}, /*#__PURE__*/React.createElement("td", {
|
|
7398
|
+
className: "mw-150 mw-md-300"
|
|
7399
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7400
|
+
"class": "my-1 is-loading"
|
|
7401
|
+
})), /*#__PURE__*/React.createElement("td", {
|
|
7402
|
+
className: "text-center",
|
|
7403
|
+
style: {
|
|
7404
|
+
minWidth: '100px'
|
|
7405
|
+
}
|
|
7406
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7407
|
+
"class": "my-1 is-loading"
|
|
7408
|
+
})), /*#__PURE__*/React.createElement("td", {
|
|
7409
|
+
className: "text-center",
|
|
7410
|
+
style: {
|
|
7411
|
+
minWidth: '100px'
|
|
7412
|
+
}
|
|
7413
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7414
|
+
"class": "my-1 is-loading"
|
|
7415
|
+
})));
|
|
7416
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
7417
|
+
"class": "col-lg-12 p-0 d-none d-md-flex"
|
|
7418
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7419
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
7285
7420
|
style: {
|
|
7286
7421
|
height: '50vh'
|
|
7287
7422
|
}
|
|
7288
|
-
},
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7423
|
+
}, _toConsumableArray(Array(3)).map(function (item, index) {
|
|
7424
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
7425
|
+
"class": "col-lg-12 p-0"
|
|
7426
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7427
|
+
"class": "row m-0 w-100"
|
|
7428
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7429
|
+
className: ' col-3 p-0 '
|
|
7430
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7431
|
+
className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 is-loading image '
|
|
7432
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
7433
|
+
className: "col-9 pt-2"
|
|
7434
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7435
|
+
"class": "row m-0 w-100 d-flex"
|
|
7436
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7437
|
+
"class": "col-10 p-0 mb-1"
|
|
7438
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7439
|
+
className: ' m-0 p-0 is-loading mb-auto '
|
|
7440
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
7441
|
+
"class": "col-lg-12 p-0"
|
|
7442
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7443
|
+
"class": ' m-0 p-0 is-loading '
|
|
7444
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
7445
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
7446
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
7447
|
+
className: ' w-100 is-loading ',
|
|
7448
|
+
style: {
|
|
7449
|
+
height: sectionproperties.cartBtnHeight + 'px'
|
|
7450
|
+
}
|
|
7451
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
7452
|
+
"class": "col-lg-12 p-0 my-3",
|
|
7453
|
+
style: {
|
|
7454
|
+
background: '#eee',
|
|
7455
|
+
height: 1,
|
|
7456
|
+
width: '100%'
|
|
7457
|
+
}
|
|
7458
|
+
})));
|
|
7459
|
+
})))), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React.createElement("div", {
|
|
7294
7460
|
className: "row ml-0 mr-0 w-100 "
|
|
7295
7461
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7296
7462
|
className: 'col-lg-12 d-flex w-100 p-0'
|
|
7297
|
-
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React.createElement("div", {
|
|
7463
|
+
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
7298
7464
|
className: 'row m-0 d-flex justify-content-center w-100',
|
|
7299
7465
|
style: {
|
|
7300
7466
|
background: sectionproperties.reservation_bgcolor,
|
|
7301
|
-
border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
|
|
7302
7467
|
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
7303
7468
|
padding: '20px',
|
|
7304
7469
|
minHeight: '70vh'
|
|
@@ -7363,24 +7528,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7363
7528
|
fontSize: sectionproperties.cartBtnTextfontsize + 'px'
|
|
7364
7529
|
}
|
|
7365
7530
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
|
|
7366
|
-
})), fetchFavoriteProductsQueryContext.data.data.products.length
|
|
7367
|
-
className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100",
|
|
7368
|
-
style: {
|
|
7369
|
-
height: '50vh'
|
|
7370
|
-
}
|
|
7371
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
7372
|
-
className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
7373
|
-
}, /*#__PURE__*/React.createElement(BiSad, {
|
|
7374
|
-
size: sectionproperties.noprod_iconfontSize,
|
|
7375
|
-
color: sectionproperties.noprod_iconcolor
|
|
7376
|
-
}), /*#__PURE__*/React.createElement("p", {
|
|
7377
|
-
"class": "m-0 p-0 mt-2",
|
|
7378
|
-
style: {
|
|
7379
|
-
fontWeight: sectionproperties.noprod_fontWeight,
|
|
7380
|
-
color: sectionproperties.noprod_color,
|
|
7381
|
-
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
7382
|
-
}
|
|
7383
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React.createElement("div", {
|
|
7531
|
+
})))), sectionproperties.pagedesign == 'Design 2 (Table)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
7384
7532
|
className: ' row m-0 w-100 p-sm-3 ',
|
|
7385
7533
|
style: {
|
|
7386
7534
|
background: sectionproperties.reservation_bgcolor,
|
|
@@ -7390,21 +7538,49 @@ var Wishlist = function Wishlist(props) {
|
|
|
7390
7538
|
minHeight: '70vh'
|
|
7391
7539
|
}
|
|
7392
7540
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7393
|
-
className: '
|
|
7541
|
+
className: ' row m-0 w-100 d-block '
|
|
7542
|
+
}, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React.createElement("div", {
|
|
7543
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
7544
|
+
style: {
|
|
7545
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
7546
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
7547
|
+
}
|
|
7548
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7549
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
7550
|
+
style: {
|
|
7551
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
7552
|
+
color: sectionproperties.sectionTitleColor,
|
|
7553
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
7554
|
+
}
|
|
7555
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
|
|
7556
|
+
className: ' col-lg-12 table_responsive p-0 d-block d-md-none '
|
|
7394
7557
|
}, /*#__PURE__*/React.createElement("table", {
|
|
7395
7558
|
className: 'table'
|
|
7396
7559
|
}, /*#__PURE__*/React.createElement("thead", {
|
|
7397
7560
|
className: ""
|
|
7398
7561
|
}, /*#__PURE__*/React.createElement("th", {
|
|
7399
|
-
className: langdetect == 'en' ? 'text-left font-weight-500 font-14
|
|
7400
|
-
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("th", {
|
|
7401
|
-
className: "text-center font-weight-500 font-14 text-light",
|
|
7562
|
+
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',
|
|
7402
7563
|
style: {
|
|
7403
|
-
|
|
7564
|
+
color: sectionproperties.sectionTitleColor
|
|
7565
|
+
}
|
|
7566
|
+
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("th", {
|
|
7567
|
+
className: "text-center font-weight-500 font-14",
|
|
7568
|
+
style: {
|
|
7569
|
+
minWidth: '100px',
|
|
7570
|
+
color: sectionproperties.sectionTitleColor
|
|
7571
|
+
}
|
|
7572
|
+
}, langdetect == 'en' ? 'Unit Price' : 'السعر'), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("th", {
|
|
7573
|
+
className: "text-center font-weight-500 font-14",
|
|
7574
|
+
style: {
|
|
7575
|
+
minWidth: '100px',
|
|
7576
|
+
color: sectionproperties.sectionTitleColor
|
|
7404
7577
|
}
|
|
7405
|
-
}
|
|
7406
|
-
className: "text-center font-weight-500 font-14
|
|
7407
|
-
|
|
7578
|
+
}), /*#__PURE__*/React.createElement("th", {
|
|
7579
|
+
className: "text-center font-weight-500 font-14",
|
|
7580
|
+
style: {
|
|
7581
|
+
color: sectionproperties.sectionTitleColor
|
|
7582
|
+
}
|
|
7583
|
+
})), /*#__PURE__*/React.createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
7408
7584
|
return /*#__PURE__*/React.createElement("tr", {
|
|
7409
7585
|
className: "border-none"
|
|
7410
7586
|
}, /*#__PURE__*/React.createElement("td", {
|
|
@@ -7420,14 +7596,28 @@ var Wishlist = function Wishlist(props) {
|
|
|
7420
7596
|
style: {
|
|
7421
7597
|
width: '100%',
|
|
7422
7598
|
height: '100%',
|
|
7423
|
-
objectFit: '
|
|
7599
|
+
objectFit: 'contain'
|
|
7424
7600
|
},
|
|
7425
7601
|
loading: "lazy"
|
|
7426
7602
|
})), /*#__PURE__*/React.createElement("div", {
|
|
7427
|
-
className: "col-lg-9 col-md-9 col-sm-8"
|
|
7603
|
+
className: "col-lg-9 col-md-9 col-sm-8 pt-2"
|
|
7604
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7605
|
+
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
|
|
7606
|
+
style: {
|
|
7607
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
7608
|
+
}
|
|
7609
|
+
}, item.name_en)))), sectionproperties.prodPriceShow = /*#__PURE__*/React.createElement("td", {
|
|
7610
|
+
className: "text-center",
|
|
7611
|
+
style: {
|
|
7612
|
+
minWidth: '100px'
|
|
7613
|
+
}
|
|
7614
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7615
|
+
"class": "row m-0 w-100 allcentered flex-column"
|
|
7428
7616
|
}, /*#__PURE__*/React.createElement("p", {
|
|
7429
|
-
|
|
7430
|
-
},
|
|
7617
|
+
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
7618
|
+
}, 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.createElement("p", {
|
|
7619
|
+
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
|
|
7620
|
+
}, 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.createElement("td", {
|
|
7431
7621
|
className: "text-center",
|
|
7432
7622
|
style: {
|
|
7433
7623
|
minWidth: '100px'
|
|
@@ -7438,28 +7628,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7438
7628
|
setShowProductInfoModalContext(true);
|
|
7439
7629
|
setProductIdProdutInfoModalContext(item.productid);
|
|
7440
7630
|
}
|
|
7441
|
-
},
|
|
7442
|
-
className: "",
|
|
7443
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7444
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
7445
|
-
className: "",
|
|
7446
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7447
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
7448
|
-
className: "",
|
|
7449
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7450
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(IoBagHandleOutline, {
|
|
7451
|
-
className: "",
|
|
7452
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7453
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
7454
|
-
className: "",
|
|
7455
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7456
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
7457
|
-
className: "",
|
|
7458
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7459
|
-
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
7460
|
-
className: "",
|
|
7461
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7462
|
-
}))), /*#__PURE__*/React.createElement("td", {
|
|
7631
|
+
}, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React.createElement("td", {
|
|
7463
7632
|
className: "text-center"
|
|
7464
7633
|
}, /*#__PURE__*/React.createElement("button", {
|
|
7465
7634
|
className: " ".concat(wishlist_cssstyles.trash_btn) + ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto ',
|
|
@@ -7469,22 +7638,110 @@ var Wishlist = function Wishlist(props) {
|
|
|
7469
7638
|
style: {
|
|
7470
7639
|
fontSize: sectionproperties.trashbtn_Textfontsize + 'px'
|
|
7471
7640
|
}
|
|
7472
|
-
},
|
|
7473
|
-
|
|
7474
|
-
|
|
7641
|
+
}, /*#__PURE__*/React.createElement(HiOutlineTrash, {
|
|
7642
|
+
size: sectionproperties.trashbtn_Textfontsize
|
|
7643
|
+
}))));
|
|
7644
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
7645
|
+
className: ' col-lg-12 p-0 d-none d-md-flex align-items-center justify-content-start '
|
|
7475
7646
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7476
|
-
className: '
|
|
7477
|
-
},
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7647
|
+
className: ' row m-0 w-100 d-flex align-items-center justify-content-start '
|
|
7648
|
+
}, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
7649
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
7650
|
+
"class": "col-lg-12 p-0"
|
|
7651
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7652
|
+
"class": "row m-0 w-100"
|
|
7653
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7654
|
+
className: ' col-3 p-0 '
|
|
7655
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7656
|
+
className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 '
|
|
7657
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
7658
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
7659
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
7660
|
+
path: item.productmainimage,
|
|
7661
|
+
style: {
|
|
7662
|
+
width: '100%',
|
|
7663
|
+
height: '100%',
|
|
7664
|
+
objectFit: 'contain'
|
|
7665
|
+
},
|
|
7666
|
+
loading: "lazy"
|
|
7667
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
7668
|
+
className: "col-9 pt-2"
|
|
7669
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7670
|
+
"class": "row m-0 w-100 d-flex"
|
|
7671
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7672
|
+
"class": "col-10 p-0 d-flex align-items-center justify-content-start"
|
|
7673
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7674
|
+
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
|
|
7675
|
+
style: {
|
|
7676
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
7677
|
+
}
|
|
7678
|
+
}, item.name_en)), /*#__PURE__*/React.createElement("div", {
|
|
7679
|
+
"class": "col-2 p-0 d-flex align-items-center justify-content-end"
|
|
7680
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
7681
|
+
className: " ".concat(wishlist_cssstyles.trash_btnresp) + ' allcentered ',
|
|
7682
|
+
onClick: function onClick() {
|
|
7683
|
+
addtofavoritescontext(item.productid);
|
|
7684
|
+
}
|
|
7685
|
+
}, /*#__PURE__*/React.createElement(HiOutlineTrash, {
|
|
7686
|
+
size: sectionproperties.trashbtn_Textfontsize
|
|
7687
|
+
}))), sectionproperties.prodPriceShow = /*#__PURE__*/React.createElement("div", {
|
|
7688
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
7689
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7690
|
+
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
7691
|
+
}, 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.createElement("p", {
|
|
7692
|
+
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mx-2 mt-auto '
|
|
7693
|
+
}, 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.createElement("div", {
|
|
7694
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
7695
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
7696
|
+
className: "".concat(wishlist_cssstyles.cart_btn) + ' w-100 ',
|
|
7697
|
+
onClick: function onClick() {
|
|
7698
|
+
setShowProductInfoModalContext(true);
|
|
7699
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
7700
|
+
}
|
|
7701
|
+
}, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React.createElement("div", {
|
|
7702
|
+
"class": "col-lg-12 p-0 my-3",
|
|
7703
|
+
style: {
|
|
7704
|
+
background: '#eee',
|
|
7705
|
+
height: 1,
|
|
7706
|
+
width: '100%'
|
|
7707
|
+
}
|
|
7708
|
+
})));
|
|
7709
|
+
}))))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React.createElement("div", {
|
|
7710
|
+
className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
|
|
7711
|
+
style: {
|
|
7712
|
+
maxHeight: '60vh',
|
|
7713
|
+
padding: '20px'
|
|
7714
|
+
}
|
|
7715
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7716
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
7717
|
+
style: {
|
|
7718
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
7719
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
7720
|
+
}
|
|
7721
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7722
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
7723
|
+
style: {
|
|
7724
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
7725
|
+
color: sectionproperties.sectionTitleColor,
|
|
7726
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
7727
|
+
}
|
|
7728
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
|
|
7729
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
|
|
7730
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
7731
|
+
"class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
|
|
7482
7732
|
style: {
|
|
7483
7733
|
fontWeight: sectionproperties.noprod_fontWeight,
|
|
7484
7734
|
color: sectionproperties.noprod_color,
|
|
7485
7735
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
7486
7736
|
}
|
|
7487
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))
|
|
7737
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React.createElement("div", {
|
|
7738
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
|
|
7739
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
7740
|
+
"class": "".concat(wishlist_cssstyles.btnstyles),
|
|
7741
|
+
onClick: function onClick() {
|
|
7742
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
7743
|
+
}
|
|
7744
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))), /*#__PURE__*/React.createElement("div", {
|
|
7488
7745
|
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
7489
7746
|
})));
|
|
7490
7747
|
};
|
|
@@ -7515,6 +7772,10 @@ var Viewcart = function Viewcart(props) {
|
|
|
7515
7772
|
_useState4 = _slicedToArray(_useState3, 2);
|
|
7516
7773
|
_useState4[0];
|
|
7517
7774
|
var setimagesarray = _useState4[1];
|
|
7775
|
+
var _useState5 = useState([]),
|
|
7776
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
7777
|
+
bgimagesarray = _useState6[0],
|
|
7778
|
+
setbgimagesarray = _useState6[1];
|
|
7518
7779
|
useEffect(function () {
|
|
7519
7780
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7520
7781
|
var _StatePagePropertiesC;
|
|
@@ -7541,6 +7802,16 @@ var Viewcart = function Viewcart(props) {
|
|
|
7541
7802
|
}
|
|
7542
7803
|
}
|
|
7543
7804
|
}, [sectionproperties]);
|
|
7805
|
+
useEffect(function () {
|
|
7806
|
+
if (sectionproperties.length != 0) {
|
|
7807
|
+
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
7808
|
+
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
7809
|
+
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
7810
|
+
setbgimagesarray(_toConsumableArray(arrayofobjectimagesonlyparsed));
|
|
7811
|
+
}
|
|
7812
|
+
}
|
|
7813
|
+
}
|
|
7814
|
+
}, [sectionproperties]);
|
|
7544
7815
|
var Summary = function Summary() {
|
|
7545
7816
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
|
|
7546
7817
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -7612,6 +7883,23 @@ var Viewcart = function Viewcart(props) {
|
|
|
7612
7883
|
}, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar)))));
|
|
7613
7884
|
};
|
|
7614
7885
|
var viewcart_cssstyles = {
|
|
7886
|
+
btnstyles: css({
|
|
7887
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
7888
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
7889
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
7890
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
7891
|
+
color: sectionproperties.generalbtn_textColor,
|
|
7892
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7893
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7894
|
+
':hover': {
|
|
7895
|
+
transition: '.3s',
|
|
7896
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
7897
|
+
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
7898
|
+
},
|
|
7899
|
+
'@media (max-width: 800px)': {
|
|
7900
|
+
width: '80%'
|
|
7901
|
+
}
|
|
7902
|
+
}),
|
|
7615
7903
|
checkoutbtnstyles: css({
|
|
7616
7904
|
background: sectionproperties.checkoutBtnbgColortranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColor,
|
|
7617
7905
|
width: sectionproperties.checkoutBtnWidth + 'px',
|
|
@@ -7746,38 +8034,8 @@ var Viewcart = function Viewcart(props) {
|
|
|
7746
8034
|
'@media (max-width: 800px)': {
|
|
7747
8035
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
7748
8036
|
}
|
|
7749
|
-
}),
|
|
7750
|
-
shopbuttonstyles: css({
|
|
7751
|
-
width: sectionproperties.generalbtn_width == 0 ? '100%' : sectionproperties.generalbtn_width + '%',
|
|
7752
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
7753
|
-
borderRadius: sectionproperties.generalbtnborderradius,
|
|
7754
|
-
backgroundColor: sectionproperties.generalbtn_bgColor,
|
|
7755
|
-
color: sectionproperties.generalbtn_textColor,
|
|
7756
|
-
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
7757
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7758
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7759
|
-
':hover': {
|
|
7760
|
-
transition: '.3s',
|
|
7761
|
-
backgroundColor: sectionproperties.generalbtn_bgColoronhover,
|
|
7762
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
7763
|
-
borderColor: sectionproperties.generalbtn_textColoronhover
|
|
7764
|
-
}
|
|
7765
8037
|
})
|
|
7766
8038
|
};
|
|
7767
|
-
var _useState5 = useState([]),
|
|
7768
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
7769
|
-
bgimagesarray = _useState6[0],
|
|
7770
|
-
setbgimagesarray = _useState6[1];
|
|
7771
|
-
useEffect(function () {
|
|
7772
|
-
if (sectionproperties.length != 0) {
|
|
7773
|
-
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
7774
|
-
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
7775
|
-
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
7776
|
-
setbgimagesarray(_toConsumableArray(arrayofobjectimagesonlyparsed));
|
|
7777
|
-
}
|
|
7778
|
-
}
|
|
7779
|
-
}
|
|
7780
|
-
}, [sectionproperties]);
|
|
7781
8039
|
return /*#__PURE__*/React.createElement("div", {
|
|
7782
8040
|
className: viewcart_cssstyles.containerstyles + ' row ml-0 mr-0 w-100 d-flex justify-content-center ',
|
|
7783
8041
|
style: {}
|
|
@@ -7838,16 +8096,11 @@ var Viewcart = function Viewcart(props) {
|
|
|
7838
8096
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7839
8097
|
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',
|
|
7840
8098
|
style: {
|
|
7841
|
-
paddingLeft: sectionproperties.
|
|
7842
|
-
paddingRight: sectionproperties.
|
|
8099
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8100
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
7843
8101
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
7844
8102
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
7845
|
-
|
|
7846
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
7847
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
7848
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
7849
|
-
borderColor: sectionproperties.sectioncardbordercolor,
|
|
7850
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
8103
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
7851
8104
|
}
|
|
7852
8105
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7853
8106
|
className: 'col-lg-12 p-0'
|
|
@@ -8062,38 +8315,40 @@ var Viewcart = function Viewcart(props) {
|
|
|
8062
8315
|
})))))), /*#__PURE__*/React.createElement("div", {
|
|
8063
8316
|
className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
|
|
8064
8317
|
}, Summary())), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.cartitems.length) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
8065
|
-
className: "row m-0 w-100 d-flex
|
|
8318
|
+
className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
|
|
8066
8319
|
style: {
|
|
8067
|
-
|
|
8320
|
+
maxHeight: '60vh'
|
|
8068
8321
|
}
|
|
8069
8322
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8070
|
-
className:
|
|
8071
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
8072
|
-
className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
|
|
8073
|
-
}, sectionproperties.noproducticontype == 'Cart' && sectionproperties.noprod_iconfontSize != 0 && /*#__PURE__*/React.createElement("img", {
|
|
8074
|
-
src: 'https://tabex-co.com/storage/StaticImages/shoppingcart.png',
|
|
8323
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
8075
8324
|
style: {
|
|
8076
|
-
|
|
8077
|
-
|
|
8325
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
8326
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
8078
8327
|
}
|
|
8079
|
-
}
|
|
8328
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8329
|
+
"class": "m-0 p-0",
|
|
8080
8330
|
style: {
|
|
8081
|
-
fontSize: sectionproperties.
|
|
8082
|
-
color: sectionproperties.
|
|
8331
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8332
|
+
color: sectionproperties.sectionTitleColor,
|
|
8333
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8083
8334
|
}
|
|
8084
|
-
}), /*#__PURE__*/React.createElement("
|
|
8085
|
-
|
|
8335
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
|
|
8336
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
|
|
8337
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8338
|
+
"class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
|
|
8086
8339
|
style: {
|
|
8087
8340
|
fontWeight: sectionproperties.noprod_fontWeight,
|
|
8088
8341
|
color: sectionproperties.noprod_color,
|
|
8089
8342
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8090
8343
|
}
|
|
8091
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React.createElement("
|
|
8092
|
-
className:
|
|
8344
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React.createElement("div", {
|
|
8345
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
|
|
8346
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
8347
|
+
"class": "".concat(viewcart_cssstyles.btnstyles),
|
|
8093
8348
|
onClick: function onClick() {
|
|
8094
8349
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
8095
8350
|
}
|
|
8096
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))
|
|
8351
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
|
|
8097
8352
|
};
|
|
8098
8353
|
|
|
8099
8354
|
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";
|
|
@@ -8106,7 +8361,7 @@ var Select$3 = /*#__PURE__*/React.lazy(function () {
|
|
|
8106
8361
|
return import('react-select');
|
|
8107
8362
|
});
|
|
8108
8363
|
var Checkout = function Checkout(props) {
|
|
8109
|
-
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73;
|
|
8364
|
+
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _fetchcustomercartQue75;
|
|
8110
8365
|
var _useState = useState(null),
|
|
8111
8366
|
_useState2 = _slicedToArray(_useState, 2);
|
|
8112
8367
|
_useState2[0];
|
|
@@ -8409,15 +8664,13 @@ var Checkout = function Checkout(props) {
|
|
|
8409
8664
|
})), _defineProperty(_checkoutstyles, "containerstyles", css({
|
|
8410
8665
|
marginTop: sectionproperties.marginTop + 'px',
|
|
8411
8666
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
8412
|
-
paddingLeft: sectionproperties.
|
|
8413
|
-
paddingRight: sectionproperties.
|
|
8667
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8668
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8414
8669
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
8415
8670
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
8416
8671
|
background: sectionproperties.backgroundColor,
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
8420
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
8672
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
8673
|
+
minHeight: '70vh',
|
|
8421
8674
|
'@media (max-width: 800px)': {
|
|
8422
8675
|
marginTop: sectionproperties.marginTopResp + 'px'
|
|
8423
8676
|
}
|
|
@@ -8815,13 +9068,16 @@ var Checkout = function Checkout(props) {
|
|
|
8815
9068
|
__html: langdetect == 'en' ? sectionproperties.text1editortexten : sectionproperties.text1editortextar
|
|
8816
9069
|
}
|
|
8817
9070
|
})), /*#__PURE__*/React.createElement("div", {
|
|
8818
|
-
className: "col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3",
|
|
9071
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
8819
9072
|
style: {
|
|
8820
9073
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
8821
9074
|
}
|
|
8822
9075
|
}, /*#__PURE__*/React.createElement("button", {
|
|
8823
9076
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
8824
9077
|
onClick: function onClick() {
|
|
9078
|
+
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
9079
|
+
cartinfoupdater('paymentmethod', 'cod');
|
|
9080
|
+
}
|
|
8825
9081
|
addorderfuncrunner();
|
|
8826
9082
|
// AddOrderMutationContext.mutate(payloadobj);
|
|
8827
9083
|
},
|
|
@@ -8837,7 +9093,9 @@ var Checkout = function Checkout(props) {
|
|
|
8837
9093
|
return /*#__PURE__*/React.createElement("div", {
|
|
8838
9094
|
className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
|
|
8839
9095
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8840
|
-
className:
|
|
9096
|
+
className: ' col-lg-12 w-100 d-flex justify-content-center p-0 '
|
|
9097
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
9098
|
+
className: checkoutstyles.containerstyles + ' w-100 d-flex justify-content-center px-md-2 '
|
|
8841
9099
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8842
9100
|
className: 'row m-0 w-100 justify-content-center '
|
|
8843
9101
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -9201,7 +9459,7 @@ var Checkout = function Checkout(props) {
|
|
|
9201
9459
|
resize: 'none',
|
|
9202
9460
|
boxShadow: 'none'
|
|
9203
9461
|
}
|
|
9204
|
-
}))))), /*#__PURE__*/React.createElement("div", {
|
|
9462
|
+
}))))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
9205
9463
|
className: "col-lg-12 p-0 w-100"
|
|
9206
9464
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9207
9465
|
"class": "".concat(checkoutstyles.innersection) + ' w-100 mb-3 '
|
|
@@ -9304,7 +9562,28 @@ var Checkout = function Checkout(props) {
|
|
|
9304
9562
|
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"
|
|
9305
9563
|
})), /*#__PURE__*/React.createElement("p", {
|
|
9306
9564
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9307
|
-
}, " ValU")))
|
|
9565
|
+
}, " ValU"))), authdetailsContext.instinfo.acceptmobilewalletpayment == 1 && /*#__PURE__*/React.createElement("div", {
|
|
9566
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9567
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
9568
|
+
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 '
|
|
9569
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
9570
|
+
type: "checkbox",
|
|
9571
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9572
|
+
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,
|
|
9573
|
+
onChange: function onChange() {
|
|
9574
|
+
var _fetchcustomercartQue74;
|
|
9575
|
+
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') {
|
|
9576
|
+
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
9577
|
+
}
|
|
9578
|
+
}
|
|
9579
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
9580
|
+
viewBox: "0 0 21 21",
|
|
9581
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9582
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
9583
|
+
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"
|
|
9584
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
9585
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9586
|
+
}, " Mobile Wallet")))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React.createElement("div", {
|
|
9308
9587
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9309
9588
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9310
9589
|
style: {
|
|
@@ -9406,7 +9685,7 @@ var Checkout = function Checkout(props) {
|
|
|
9406
9685
|
}
|
|
9407
9686
|
})))))), /*#__PURE__*/React.createElement("div", {
|
|
9408
9687
|
className: langdetect == 'en' ? 'col-lg-4 col-md-12 pr-0' : 'col-lg-4 col-md-12 pl-0'
|
|
9409
|
-
}, Mycart()))));
|
|
9688
|
+
}, Mycart())))));
|
|
9410
9689
|
};
|
|
9411
9690
|
|
|
9412
9691
|
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; }
|
|
@@ -9433,7 +9712,6 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9433
9712
|
var instapikey = props.actions.instapikey;
|
|
9434
9713
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
9435
9714
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
9436
|
-
props.actions.ikimagecredcontext;
|
|
9437
9715
|
var NotificationManager = props.actions.NotificationManager;
|
|
9438
9716
|
var actions = props.actions;
|
|
9439
9717
|
var _useState = useState(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu === void 0 || (_fetchAuthorizationQu = _fetchAuthorizationQu.data) === null || _fetchAuthorizationQu === void 0 || (_fetchAuthorizationQu = _fetchAuthorizationQu.instinfo) === null || _fetchAuthorizationQu === void 0 ? void 0 : _fetchAuthorizationQu.customerAddressrequiered),
|
|
@@ -9855,7 +10133,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9855
10133
|
setFetchTabexStatesPayloadobjContext(_objectSpread$2d({}, tempFetchTabexStatesPayloadobjContext));
|
|
9856
10134
|
payloadobjchange('countryid', option.id);
|
|
9857
10135
|
},
|
|
9858
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
10136
|
+
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
9859
10137
|
placeholder: langdetect == 'en' ? 'Choose Country' : 'إختر البلد',
|
|
9860
10138
|
isSearchable: true
|
|
9861
10139
|
})), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -9907,7 +10185,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9907
10185
|
setFetchTabexStatesPayloadobjContext(_objectSpread$2d({}, tempFetchTabexStatesPayloadobjContext));
|
|
9908
10186
|
payloadobjchange('stateid', option.id);
|
|
9909
10187
|
},
|
|
9910
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
10188
|
+
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
9911
10189
|
placeholder: lang.choosestategov,
|
|
9912
10190
|
isSearchable: true
|
|
9913
10191
|
})), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -9955,7 +10233,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9955
10233
|
onChange: function onChange(option) {
|
|
9956
10234
|
payloadobjchange('cityid', option.id);
|
|
9957
10235
|
},
|
|
9958
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
10236
|
+
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
9959
10237
|
placeholder: lang.choosecity,
|
|
9960
10238
|
isSearchable: true
|
|
9961
10239
|
})), sectionproperties.hideaddress == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -9971,7 +10249,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9971
10249
|
className: loginstyles.wrap_input100
|
|
9972
10250
|
}, /*#__PURE__*/React.createElement(TextareaAutosize, {
|
|
9973
10251
|
type: "text",
|
|
9974
|
-
className: "".concat(loginstyles.form_control, " ").concat(
|
|
10252
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control) + ' py-1 ',
|
|
9975
10253
|
value: payloadobj.shippingaddress,
|
|
9976
10254
|
textplaceholder: "",
|
|
9977
10255
|
onChange: function onChange(event) {
|
|
@@ -10150,11 +10428,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10150
10428
|
style: {
|
|
10151
10429
|
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
10152
10430
|
}
|
|
10153
|
-
}, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar), authdetailsContext.loggedin == true && /*#__PURE__*/React.createElement("span",
|
|
10154
|
-
style: {
|
|
10155
|
-
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
10156
|
-
}
|
|
10157
|
-
}, lang.update)));
|
|
10431
|
+
}, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar), authdetailsContext.loggedin == true && /*#__PURE__*/React.createElement("span", null, lang.update)));
|
|
10158
10432
|
};
|
|
10159
10433
|
return /*#__PURE__*/React.createElement("div", {
|
|
10160
10434
|
className: "row m-0 w-100 d-flex justify-content-center",
|
|
@@ -10226,7 +10500,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10226
10500
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
10227
10501
|
}
|
|
10228
10502
|
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$c2 = authdetailsContext.customerinfo) === null || _authdetailsContext$c2 === void 0 ? void 0 : _authdetailsContext$c2.subscrption_enddate))), /*#__PURE__*/React.createElement("div", {
|
|
10229
|
-
className:
|
|
10503
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0'
|
|
10230
10504
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10231
10505
|
style: {
|
|
10232
10506
|
background: sectionproperties.backgroundColor,
|
|
@@ -10235,8 +10509,8 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10235
10509
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
10236
10510
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
10237
10511
|
},
|
|
10238
|
-
className:
|
|
10239
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
10512
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100'
|
|
10513
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
10240
10514
|
className: "row ml-0 mr-0"
|
|
10241
10515
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10242
10516
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
@@ -10252,12 +10526,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10252
10526
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
10253
10527
|
className: "mt-2 mb-3"
|
|
10254
10528
|
}))), PersonalInformation())), /*#__PURE__*/React.createElement("div", {
|
|
10255
|
-
className:
|
|
10529
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0',
|
|
10256
10530
|
style: {
|
|
10257
10531
|
display: sectionproperties.hidecountrystatecity == 'Show' && sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
|
|
10258
10532
|
}
|
|
10259
10533
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10260
|
-
className: 'p-2 w-100',
|
|
10534
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100',
|
|
10261
10535
|
style: {
|
|
10262
10536
|
background: sectionproperties.backgroundColor,
|
|
10263
10537
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
@@ -10265,7 +10539,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10265
10539
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
10266
10540
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
10267
10541
|
}
|
|
10268
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
10542
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
10269
10543
|
className: "row ml-0 mr-0"
|
|
10270
10544
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10271
10545
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
@@ -10281,9 +10555,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10281
10555
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
10282
10556
|
className: "mt-2 mb-3"
|
|
10283
10557
|
}))), Address())), /*#__PURE__*/React.createElement("div", {
|
|
10284
|
-
className:
|
|
10558
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0'
|
|
10285
10559
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10286
|
-
className: 'p-2 w-100',
|
|
10560
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100',
|
|
10287
10561
|
style: {
|
|
10288
10562
|
background: sectionproperties.backgroundColor,
|
|
10289
10563
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
@@ -10291,7 +10565,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10291
10565
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
10292
10566
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
10293
10567
|
}
|
|
10294
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
10568
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
10295
10569
|
className: "row ml-0 mr-0"
|
|
10296
10570
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10297
10571
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
@@ -10309,7 +10583,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10309
10583
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
10310
10584
|
className: "row ml-0 mr-0"
|
|
10311
10585
|
}, Password()))), payloadobj.instsignupformvalues.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
10312
|
-
className:
|
|
10586
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0'
|
|
10313
10587
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10314
10588
|
style: {
|
|
10315
10589
|
background: sectionproperties.backgroundColor,
|
|
@@ -10318,7 +10592,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10318
10592
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
10319
10593
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
10320
10594
|
},
|
|
10321
|
-
className:
|
|
10595
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100'
|
|
10322
10596
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10323
10597
|
className: "row ml-0 mr-0"
|
|
10324
10598
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -11156,7 +11430,7 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11156
11430
|
var lang = props.actions.lang;
|
|
11157
11431
|
var langdetect = props.actions.langdetect;
|
|
11158
11432
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
11159
|
-
|
|
11433
|
+
props.actions.StatePagePropertiesContext;
|
|
11160
11434
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
11161
11435
|
var actions = props.actions;
|
|
11162
11436
|
var _useState = useState(''),
|
|
@@ -11288,7 +11562,7 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11288
11562
|
}, lang.accountinformation)))), /*#__PURE__*/React.createElement("div", {
|
|
11289
11563
|
className: "col-lg-12 p-0"
|
|
11290
11564
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11291
|
-
className: "row m-0 w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-
|
|
11565
|
+
className: "row m-0 w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-3 pr-sm-3",
|
|
11292
11566
|
style: {
|
|
11293
11567
|
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
11294
11568
|
paddingRight: sectionproperties.paddingRight + 'px',
|
|
@@ -11299,7 +11573,8 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11299
11573
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
11300
11574
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
11301
11575
|
borderColor: sectionproperties.sectioncardbordercolor,
|
|
11302
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
11576
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
11577
|
+
background: sectionproperties.cardstyletype == 'Style 1' ? '' : sectionproperties.backgroundColor
|
|
11303
11578
|
}
|
|
11304
11579
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11305
11580
|
className: 'col-lg-12 p-0'
|
|
@@ -11310,16 +11585,28 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11310
11585
|
className: 'col-lg-12 p-0'
|
|
11311
11586
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11312
11587
|
className: "row m-0 w-100"
|
|
11313
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
11588
|
+
}, sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
11589
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
11590
|
+
style: {
|
|
11591
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
11592
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
11593
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
11594
|
+
}
|
|
11595
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
11596
|
+
className: "m-0 p-0",
|
|
11597
|
+
style: {
|
|
11598
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
11599
|
+
color: sectionproperties.sectionTitleColor,
|
|
11600
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
11601
|
+
}
|
|
11602
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
|
|
11314
11603
|
className: 'col-lg-12 p-0'
|
|
11315
11604
|
}, /*#__PURE__*/React.createElement(CustomerInformationForm, {
|
|
11316
11605
|
formtype: "edit",
|
|
11317
11606
|
srcfromprops: "accountinfo",
|
|
11318
11607
|
sectionpropertiesprops: sectionproperties,
|
|
11319
11608
|
actions: actions
|
|
11320
|
-
}))))))
|
|
11321
|
-
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
11322
|
-
}));
|
|
11609
|
+
})))))));
|
|
11323
11610
|
};
|
|
11324
11611
|
|
|
11325
11612
|
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";
|
|
@@ -11869,11 +12156,12 @@ var CartSlider = function CartSlider(props) {
|
|
|
11869
12156
|
setsidecartnavshowWorkplaceDesigncontext(false);
|
|
11870
12157
|
setsidecartnavshowcontext(false);
|
|
11871
12158
|
},
|
|
11872
|
-
placement:
|
|
12159
|
+
placement: langdetect == 'en' ? 'end' : 'start',
|
|
11873
12160
|
scroll: true,
|
|
11874
12161
|
style: {
|
|
11875
12162
|
backgroundColor: sectionproperties.backgroundColor,
|
|
11876
|
-
height: '100vh'
|
|
12163
|
+
height: '100vh',
|
|
12164
|
+
width: '30vw'
|
|
11877
12165
|
},
|
|
11878
12166
|
backdrop: CurrentSrcTypeContext == 'workplace' ? false : true
|
|
11879
12167
|
}, /*#__PURE__*/React.createElement(Offcanvas.Header, null, /*#__PURE__*/React.createElement(Offcanvas.Title, null, /*#__PURE__*/React.createElement("div", {
|
|
@@ -11960,7 +12248,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
11960
12248
|
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 || (_fetchcustomercartQue5 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : _fetchcustomercartQue5.customercart) != null && /*#__PURE__*/React.createElement("div", {
|
|
11961
12249
|
className: "row m-0 w-100 h-100"
|
|
11962
12250
|
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue6 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue6 === void 0 || (_fetchcustomercartQue6 = _fetchcustomercartQue6.data) === null || _fetchcustomercartQue6 === void 0 || (_fetchcustomercartQue6 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.cartitems) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
11963
|
-
className: "col-lg-12 p-0 mt-5 anim"
|
|
12251
|
+
className: "col-lg-12 p-0 mt-5 anim pt-3"
|
|
11964
12252
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11965
12253
|
className: "row m-0 w-100 d-flex align-items-center justify-content-center",
|
|
11966
12254
|
style: {
|
|
@@ -12059,25 +12347,39 @@ var CartSlider = function CartSlider(props) {
|
|
|
12059
12347
|
"class": "col-9 p-0 d-flex justify-content-start align-items-center"
|
|
12060
12348
|
}, /*#__PURE__*/React.createElement("button", {
|
|
12061
12349
|
className: " ".concat(cart_cssstyles.quantitybtn) + ' px-2 d-flex align-items-center justify-content-center '
|
|
12062
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
12350
|
+
}, langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
|
|
12063
12351
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
12064
12352
|
onClick: function onClick() {
|
|
12065
12353
|
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
12066
12354
|
}
|
|
12067
12355
|
}, /*#__PURE__*/React.createElement(FiMinus, {
|
|
12068
12356
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
12357
|
+
})), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
12358
|
+
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
12359
|
+
onClick: function onClick() {
|
|
12360
|
+
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
12361
|
+
}
|
|
12362
|
+
}, /*#__PURE__*/React.createElement(FiPlus, {
|
|
12363
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
12069
12364
|
})), /*#__PURE__*/React.createElement("span", {
|
|
12070
12365
|
className: "".concat(cart_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
12071
12366
|
style: {
|
|
12072
12367
|
background: 'transparent'
|
|
12073
12368
|
}
|
|
12074
|
-
}, item.quantity), /*#__PURE__*/React.createElement("span", {
|
|
12369
|
+
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
|
|
12075
12370
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
12076
12371
|
onClick: function onClick() {
|
|
12077
12372
|
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
12078
12373
|
}
|
|
12079
12374
|
}, /*#__PURE__*/React.createElement(FiPlus, {
|
|
12080
12375
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
12376
|
+
})), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
12377
|
+
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
12378
|
+
onClick: function onClick() {
|
|
12379
|
+
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
12380
|
+
}
|
|
12381
|
+
}, /*#__PURE__*/React.createElement(FiMinus, {
|
|
12382
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
12081
12383
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
12082
12384
|
"class": "col-3 p-0 d-flex justify-content-end align-items-center"
|
|
12083
12385
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -13253,6 +13555,15 @@ var Filter$1 = function Filter(props) {
|
|
|
13253
13555
|
cursor: 'pointer',
|
|
13254
13556
|
color: sectionproperties.showallcolorhover
|
|
13255
13557
|
}
|
|
13558
|
+
}),
|
|
13559
|
+
sectiontitle: css({
|
|
13560
|
+
position: 'relative',
|
|
13561
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
13562
|
+
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
13563
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
13564
|
+
'@media (max-width: 800px)': {
|
|
13565
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
13566
|
+
}
|
|
13256
13567
|
})
|
|
13257
13568
|
};
|
|
13258
13569
|
var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
|
|
@@ -13438,13 +13749,8 @@ var Filter$1 = function Filter(props) {
|
|
|
13438
13749
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13439
13750
|
"class": "col-lg-6 col-md-6 p-0 d-flex align-items-center justify-content-start"
|
|
13440
13751
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13441
|
-
"class":
|
|
13442
|
-
style: {
|
|
13443
|
-
position: 'relative',
|
|
13444
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
13445
|
-
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
13446
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px'
|
|
13447
|
-
}
|
|
13752
|
+
"class": filter_cssstyles.sectiontitle + ' d-flex align-items-center flex-row ',
|
|
13753
|
+
style: {}
|
|
13448
13754
|
}, /*#__PURE__*/React.createElement("p", {
|
|
13449
13755
|
"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 ',
|
|
13450
13756
|
style: {
|
|
@@ -13455,7 +13761,11 @@ var Filter$1 = function Filter(props) {
|
|
|
13455
13761
|
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
13456
13762
|
}
|
|
13457
13763
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), /*#__PURE__*/React.createElement("div", {
|
|
13458
|
-
"class": "col-lg-6 col-md-6 d-flex align-items-center justify-content-end"
|
|
13764
|
+
"class": "col-lg-6 col-md-6 d-flex align-items-center justify-content-end",
|
|
13765
|
+
style: {
|
|
13766
|
+
paddingRight: langdetect == 'en' ? 0 : '',
|
|
13767
|
+
paddingLeft: langdetect == 'ar' ? 0 : ''
|
|
13768
|
+
}
|
|
13459
13769
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13460
13770
|
"class": "dropdowncontainer"
|
|
13461
13771
|
}, /*#__PURE__*/React.createElement("input", {
|
|
@@ -13469,7 +13779,7 @@ var Filter$1 = function Filter(props) {
|
|
|
13469
13779
|
onClick: function onClick() {
|
|
13470
13780
|
setChecked(!checked);
|
|
13471
13781
|
},
|
|
13472
|
-
className: filter_cssstyles.
|
|
13782
|
+
className: filter_cssstyles.collapsetitle + ' d-flex justify-content-end align-items-center for-dropdown m-0 ',
|
|
13473
13783
|
"for": "dropdown",
|
|
13474
13784
|
style: {
|
|
13475
13785
|
cursor: 'pointer'
|
|
@@ -13479,7 +13789,10 @@ var Filter$1 = function Filter(props) {
|
|
|
13479
13789
|
}, /*#__PURE__*/React.createElement(FiChevronDown, {
|
|
13480
13790
|
size: 20
|
|
13481
13791
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
13482
|
-
"class": "dropdownmenu"
|
|
13792
|
+
"class": "dropdownmenu",
|
|
13793
|
+
style: {
|
|
13794
|
+
background: sectionproperties.filter_backgroundcolor
|
|
13795
|
+
}
|
|
13483
13796
|
}, otherfilters.map(function (item, index) {
|
|
13484
13797
|
return /*#__PURE__*/React.createElement("div", {
|
|
13485
13798
|
"class": "w-100"
|
|
@@ -15092,7 +15405,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
15092
15405
|
} else if (item.tabexsectioninfo.sectioncompname == 'Card20') {
|
|
15093
15406
|
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';
|
|
15094
15407
|
} else if (item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow') {
|
|
15095
|
-
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4
|
|
15408
|
+
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
15096
15409
|
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition') {
|
|
15097
15410
|
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
|
|
15098
15411
|
} else if (item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard') {
|
|
@@ -16230,7 +16543,7 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
16230
16543
|
minHeight: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : props.srcfromprops == 'cardssection' ? '30vh' : props.srcfromprops == 'ElegantHeader' ? '50vh' : '30vh'
|
|
16231
16544
|
}),
|
|
16232
16545
|
searchlist_innercontainer: css({
|
|
16233
|
-
height: props.srcfromprops == 'cardssection' ? '25vh' : props.srcfromprops == 'ElegantHeader' ? '
|
|
16546
|
+
height: props.srcfromprops == 'cardssection' ? '25vh' : props.srcfromprops == 'ElegantHeader' ? '48vh' : '30vh',
|
|
16234
16547
|
overflowY: 'scroll'
|
|
16235
16548
|
// height: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : props.srcfromprops == 'cardssection' ? '25vh' : '30vh',
|
|
16236
16549
|
// overflowY: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? 'scroll' : 'hidden',
|
|
@@ -16354,9 +16667,12 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
16354
16667
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
16355
16668
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
16356
16669
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16357
|
-
"class": props.srcfromprops == 'ElegantHeader' ? "".concat(searchlist_styles.productNameStyles) + ' m-0 wordbreak wordbreak2 p-0 ' : "".concat(searchlist_styles.productNameStyles) + ' m-0 text-overflow p-0 '
|
|
16670
|
+
"class": props.srcfromprops == 'ElegantHeader' ? "".concat(searchlist_styles.productNameStyles) + ' m-0 wordbreak wordbreak2 p-0 ' : "".concat(searchlist_styles.productNameStyles) + ' m-0 text-overflow p-0 ',
|
|
16671
|
+
style: {
|
|
16672
|
+
textAlign: 'center'
|
|
16673
|
+
}
|
|
16358
16674
|
}, langdetect == 'en' ? item.name_en : item.name_ar)), sectionproperties.searchlistshowprice == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
16359
|
-
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
16675
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered mt-2"
|
|
16360
16676
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16361
16677
|
"class": "".concat(searchlist_styles.productPricestyles) + ' m-0 '
|
|
16362
16678
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
|
|
@@ -18033,23 +18349,27 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18033
18349
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
18034
18350
|
menuactive = _useState6[0],
|
|
18035
18351
|
setmenuactive = _useState6[1];
|
|
18352
|
+
var _useState7 = useState(false),
|
|
18353
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
18354
|
+
openSearch = _useState8[0],
|
|
18355
|
+
setopenSearch = _useState8[1];
|
|
18036
18356
|
useEffect(function () {
|
|
18037
18357
|
if (props.sectionpropertiesprops != undefined) {
|
|
18038
18358
|
setsectionproperties(_objectSpread$1T({}, props.sectionpropertiesprops));
|
|
18039
18359
|
}
|
|
18040
18360
|
}, [props.sectionpropertiesprops]);
|
|
18041
|
-
var
|
|
18042
|
-
|
|
18043
|
-
logoarrayofobjects =
|
|
18044
|
-
setlogoarrayofobjects =
|
|
18045
|
-
var
|
|
18046
|
-
_useState10 = _slicedToArray(_useState9, 2);
|
|
18047
|
-
_useState10[0];
|
|
18048
|
-
_useState10[1];
|
|
18049
|
-
var _useState11 = useState(''),
|
|
18361
|
+
var _useState9 = useState([]),
|
|
18362
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
18363
|
+
logoarrayofobjects = _useState10[0],
|
|
18364
|
+
setlogoarrayofobjects = _useState10[1];
|
|
18365
|
+
var _useState11 = useState(false),
|
|
18050
18366
|
_useState12 = _slicedToArray(_useState11, 2);
|
|
18051
18367
|
_useState12[0];
|
|
18052
18368
|
_useState12[1];
|
|
18369
|
+
var _useState13 = useState(''),
|
|
18370
|
+
_useState14 = _slicedToArray(_useState13, 2);
|
|
18371
|
+
_useState14[0];
|
|
18372
|
+
_useState14[1];
|
|
18053
18373
|
useEffect(function () {
|
|
18054
18374
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
18055
18375
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -18226,7 +18546,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18226
18546
|
var CartButton = function CartButton() {
|
|
18227
18547
|
var _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
18228
18548
|
return /*#__PURE__*/React.createElement("div", {
|
|
18229
|
-
"class": "d-flex align-items-center",
|
|
18549
|
+
"class": "d-flex align-items-center mx-2",
|
|
18230
18550
|
style: {
|
|
18231
18551
|
position: 'relative'
|
|
18232
18552
|
}
|
|
@@ -18266,9 +18586,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18266
18586
|
};
|
|
18267
18587
|
return /*#__PURE__*/React.createElement("div", {
|
|
18268
18588
|
className: "row m-0 w-100"
|
|
18269
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
18270
|
-
className: "col-lg-12 p-0"
|
|
18271
18589
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
18590
|
+
className: "col-lg-12 p-0"
|
|
18591
|
+
}, openSearch == false && /*#__PURE__*/React.createElement("div", {
|
|
18272
18592
|
className: ' row m-0 w-100 d-none d-md-flex p-0 '
|
|
18273
18593
|
}, sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React.createElement(MarqueeHeader, {
|
|
18274
18594
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -18303,7 +18623,12 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18303
18623
|
}
|
|
18304
18624
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
18305
18625
|
className: "col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0"
|
|
18306
|
-
},
|
|
18626
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
18627
|
+
"class": "h-100 allcentered",
|
|
18628
|
+
onClick: function onClick() {
|
|
18629
|
+
setopenSearch(true);
|
|
18630
|
+
}
|
|
18631
|
+
}, /*#__PURE__*/React.createElement(IoSearchOutline, null)), sectionproperties.cartBtnShow == 'Show' && CartButton(), /*#__PURE__*/React.createElement("i", {
|
|
18307
18632
|
"class": ' h-100 allcentered ',
|
|
18308
18633
|
style: {
|
|
18309
18634
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
@@ -18322,7 +18647,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18322
18647
|
size: 20,
|
|
18323
18648
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
18324
18649
|
}))), menuactive == true && /*#__PURE__*/React.createElement("div", {
|
|
18325
|
-
"class": "px-4 py-4",
|
|
18650
|
+
"class": "px-4 py-4 scrollvertical",
|
|
18326
18651
|
style: {
|
|
18327
18652
|
position: 'fixed',
|
|
18328
18653
|
top: '0px',
|
|
@@ -18331,7 +18656,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18331
18656
|
width: '100%',
|
|
18332
18657
|
background: sectionproperties.resposive_bgcolor,
|
|
18333
18658
|
height: '100%',
|
|
18334
|
-
zIndex: 10000
|
|
18659
|
+
zIndex: 10000,
|
|
18660
|
+
overflow: 'scroll'
|
|
18335
18661
|
}
|
|
18336
18662
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18337
18663
|
"class": "col-lg-12 text-end anim"
|
|
@@ -18459,7 +18785,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
18459
18785
|
color: '#000',
|
|
18460
18786
|
fontSize: 16
|
|
18461
18787
|
}
|
|
18462
|
-
}, lang.logout))))))));
|
|
18788
|
+
}, lang.logout)))))), openSearch == true && /*#__PURE__*/React.createElement("p", null, "asd")));
|
|
18463
18789
|
};
|
|
18464
18790
|
|
|
18465
18791
|
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; }
|
|
@@ -18477,7 +18803,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18477
18803
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
18478
18804
|
var lang = props.actions.lang;
|
|
18479
18805
|
var langdetect = props.actions.langdetect;
|
|
18480
|
-
props.actions.setlang;
|
|
18806
|
+
var setlang = props.actions.setlang;
|
|
18481
18807
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
18482
18808
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
18483
18809
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
@@ -18808,7 +19134,10 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18808
19134
|
}, 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.createElement("div", {
|
|
18809
19135
|
"class": "col-lg-4 p-0 text-end"
|
|
18810
19136
|
}, langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
18811
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 '
|
|
19137
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
|
|
19138
|
+
onClick: function onClick() {
|
|
19139
|
+
setlang('en');
|
|
19140
|
+
}
|
|
18812
19141
|
}, /*#__PURE__*/React.createElement("img", {
|
|
18813
19142
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
18814
19143
|
style: {
|
|
@@ -18825,7 +19154,10 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18825
19154
|
}), /*#__PURE__*/React.createElement("p", {
|
|
18826
19155
|
"class": "m-0 p-0"
|
|
18827
19156
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
18828
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 '
|
|
19157
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
|
|
19158
|
+
onClick: function onClick() {
|
|
19159
|
+
setlang('ar');
|
|
19160
|
+
}
|
|
18829
19161
|
}, /*#__PURE__*/React.createElement("img", {
|
|
18830
19162
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
18831
19163
|
style: {
|
|
@@ -18844,7 +19176,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18844
19176
|
}, "En")), /*#__PURE__*/React.createElement("div", {
|
|
18845
19177
|
"class": "allcentered"
|
|
18846
19178
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
18847
|
-
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
19179
|
+
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
|
|
18848
19180
|
sytle: {
|
|
18849
19181
|
position: 'relative'
|
|
18850
19182
|
},
|
|
@@ -18858,19 +19190,16 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18858
19190
|
})), /*#__PURE__*/React.createElement("span", {
|
|
18859
19191
|
"class": "mx-2"
|
|
18860
19192
|
}, langdetect == 'en' ? 'Login' : 'تسجيل الدخول')), authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
18861
|
-
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
19193
|
+
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
|
|
18862
19194
|
sytle: {
|
|
18863
19195
|
position: 'relative'
|
|
18864
|
-
},
|
|
18865
|
-
onClick: function onClick() {
|
|
18866
|
-
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
18867
19196
|
}
|
|
18868
19197
|
}, /*#__PURE__*/React.createElement("i", {
|
|
18869
19198
|
"class": ' h-100 d-flex align-items-center '
|
|
18870
19199
|
}, /*#__PURE__*/React.createElement(BiUser, {
|
|
18871
19200
|
size: sectionproperties.userBtnTextfontsize
|
|
18872
19201
|
})), /*#__PURE__*/React.createElement("span", {
|
|
18873
|
-
"class": "mx-2"
|
|
19202
|
+
"class": "mx-2 text-capitalize"
|
|
18874
19203
|
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
|
|
18875
19204
|
style: {
|
|
18876
19205
|
minWidth: '200px'
|
|
@@ -18891,15 +19220,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18891
19220
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
18892
19221
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18893
19222
|
"class": ' allcenetered m-0 p-0 '
|
|
18894
|
-
},
|
|
18895
|
-
onClick: function onClick() {
|
|
18896
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
18897
|
-
}
|
|
18898
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
18899
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
18900
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
18901
|
-
"class": ' allcenetered m-0 p-0 '
|
|
18902
|
-
}, lang.policies))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
19223
|
+
}, langdetect == 'en' ? sectionproperties.wishlisttitle_en : sectionproperties.wishlisttitle_ar))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
18903
19224
|
onClick: function onClick() {
|
|
18904
19225
|
LogoutMutationContext.mutate();
|
|
18905
19226
|
}
|
|
@@ -18992,7 +19313,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18992
19313
|
top: sectionproperties.wishlistbadgetop + 'px',
|
|
18993
19314
|
right: sectionproperties.wishlistbadgeright + 'px'
|
|
18994
19315
|
}
|
|
18995
|
-
}, /*#__PURE__*/React.createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
19316
|
+
}, /*#__PURE__*/React.createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length == 0 ? 0 : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
18996
19317
|
"class": " ".concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ',
|
|
18997
19318
|
onClick: function onClick() {
|
|
18998
19319
|
setsidecartnavshowcontext(true);
|
|
@@ -24189,16 +24510,6 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
24189
24510
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
|
|
24190
24511
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
24191
24512
|
}), " ", lang.wishlist))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
24192
|
-
onClick: function onClick() {
|
|
24193
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
24194
|
-
}
|
|
24195
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
24196
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
24197
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
24198
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
24199
|
-
}, /*#__PURE__*/React.createElement(AiOutlineSecurityScan, {
|
|
24200
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
24201
|
-
}), lang.policies))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
24202
24513
|
onClick: function onClick() {
|
|
24203
24514
|
LogoutMutationContext.mutate();
|
|
24204
24515
|
}
|
|
@@ -42848,7 +43159,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
42848
43159
|
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
42849
43160
|
}
|
|
42850
43161
|
}, SectionTitle()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
42851
|
-
"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',
|
|
43162
|
+
"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',
|
|
42852
43163
|
style: {
|
|
42853
43164
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
42854
43165
|
}
|
|
@@ -42911,7 +43222,10 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
42911
43222
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
42912
43223
|
transitionBehavior: 'auto',
|
|
42913
43224
|
wrapperClassName: '',
|
|
42914
|
-
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' :
|
|
43225
|
+
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' :
|
|
43226
|
+
// : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
|
|
43227
|
+
// ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard '
|
|
43228
|
+
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' : '',
|
|
42915
43229
|
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
42916
43230
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
42917
43231
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -47101,18 +47415,14 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47101
47415
|
}, [sectionproperties]);
|
|
47102
47416
|
var sectionstyles = {
|
|
47103
47417
|
btnstyles: css({
|
|
47104
|
-
width: sectionproperties.generalbtn_width + '
|
|
47418
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
47105
47419
|
height: sectionproperties.generalbtn_height + 'px',
|
|
47106
47420
|
background: sectionproperties.generalbtn_bgColor,
|
|
47107
|
-
|
|
47108
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
47109
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
47110
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
47421
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
47111
47422
|
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
47112
47423
|
color: sectionproperties.generalbtn_textColor,
|
|
47113
47424
|
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
47114
47425
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
47115
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
47116
47426
|
':hover': {
|
|
47117
47427
|
transition: '.3s',
|
|
47118
47428
|
background: sectionproperties.generalbtn_bgColoronhover,
|
|
@@ -47170,6 +47480,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47170
47480
|
position: 'relative',
|
|
47171
47481
|
marginLeft: sectionproperties.card_marginLeft + 'px',
|
|
47172
47482
|
marginRight: sectionproperties.card_marginRight + 'px',
|
|
47483
|
+
backgroundColor: 'white',
|
|
47173
47484
|
'@media (max-width: 800px)': {
|
|
47174
47485
|
height: sectionproperties.height_responsive + 'vh'
|
|
47175
47486
|
}
|
|
@@ -47192,7 +47503,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47192
47503
|
height: '100%',
|
|
47193
47504
|
objectFit: 'cover'
|
|
47194
47505
|
}
|
|
47195
|
-
})), sectionproperties.
|
|
47506
|
+
})), sectionproperties.sectionstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
47196
47507
|
"class": "row m-0 w-100 justify-content-center mt-sm-5 mb-sm-5"
|
|
47197
47508
|
}, /*#__PURE__*/React.createElement("div", {
|
|
47198
47509
|
"class": "col-lg-6 col-md-9 col-sm-9 p-0 mt-auto mb-auto text-align-start"
|
|
@@ -47258,7 +47569,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47258
47569
|
// onClick={() => {
|
|
47259
47570
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
47260
47571
|
// }}
|
|
47261
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.
|
|
47572
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.sectionstyletype == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
47262
47573
|
"class": "row m-0 w-100 allcentered",
|
|
47263
47574
|
style: {
|
|
47264
47575
|
zIndex: 2
|
|
@@ -47327,9 +47638,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47327
47638
|
getOptionValue: function getOptionValue(option) {
|
|
47328
47639
|
return option.collectionid;
|
|
47329
47640
|
},
|
|
47330
|
-
autocomplete: "new-password"
|
|
47331
|
-
// value={fetchTabexCountriesQueryContext.data.data.countries.filter((option) => option.id == props?.payloadobj?.countryid)}
|
|
47332
|
-
,
|
|
47641
|
+
autocomplete: "new-password",
|
|
47333
47642
|
onChange: function onChange(option) {
|
|
47334
47643
|
var temp = payloadobj;
|
|
47335
47644
|
temp.collections = [];
|
|
@@ -47341,10 +47650,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47341
47650
|
placeholder: ''
|
|
47342
47651
|
})), /*#__PURE__*/React.createElement("div", {
|
|
47343
47652
|
"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'
|
|
47344
|
-
}, /*#__PURE__*/React.createElement(CustomerAddressForm
|
|
47345
|
-
// customeraddressrequierd={customeraddressrequierd}
|
|
47346
|
-
// payloadobj={payloadobj}
|
|
47347
|
-
, {
|
|
47653
|
+
}, /*#__PURE__*/React.createElement(CustomerAddressForm, {
|
|
47348
47654
|
payloadobj: payloadobj,
|
|
47349
47655
|
setpayloadobj: setpayloadobj,
|
|
47350
47656
|
sectionproperties: sectionproperties
|
|
@@ -47425,7 +47731,191 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47425
47731
|
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
47426
47732
|
}
|
|
47427
47733
|
}
|
|
47428
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))
|
|
47734
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), sectionproperties.sectionstyletype == 'Style 3' && /*#__PURE__*/React.createElement("div", {
|
|
47735
|
+
"class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
|
|
47736
|
+
style: {
|
|
47737
|
+
zIndex: 2
|
|
47738
|
+
}
|
|
47739
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
47740
|
+
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
47741
|
+
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
47742
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
47743
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
47744
|
+
"class": "wordbreak",
|
|
47745
|
+
style: {
|
|
47746
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
47747
|
+
color: sectionproperties.sectionTitleColor,
|
|
47748
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
47749
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
47750
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
47751
|
+
marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
|
|
47752
|
+
}
|
|
47753
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
47754
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
47755
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
47756
|
+
style: {
|
|
47757
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
47758
|
+
color: sectionproperties.prodCatColor,
|
|
47759
|
+
textTransform: sectionproperties.prodCatTextTranform,
|
|
47760
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
47761
|
+
maxWidth: '500px'
|
|
47762
|
+
}
|
|
47763
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React.createElement("div", {
|
|
47764
|
+
"class": 'col-lg-10 col-md-12 col-sm-12 allcentered mt-3',
|
|
47765
|
+
style: {
|
|
47766
|
+
backgroundColor: sectionproperties.reservation_bgcolor,
|
|
47767
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
47768
|
+
paddingTop: sectionproperties.reservation_padding_top + 'px',
|
|
47769
|
+
paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
|
|
47770
|
+
paddingLeft: sectionproperties.reservation_padding_left + 'px',
|
|
47771
|
+
paddingRight: sectionproperties.reservation_padding_right + 'px'
|
|
47772
|
+
}
|
|
47773
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
47774
|
+
"class": "row m-0 w-100 allcentered"
|
|
47775
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
47776
|
+
"class": "col-lg-12 p-0"
|
|
47777
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
47778
|
+
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
47779
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
47780
|
+
"class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
|
|
47781
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
47782
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
47783
|
+
style: {
|
|
47784
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47785
|
+
}
|
|
47786
|
+
}, langdetect == 'en' ? 'Brand' : 'الماركة'), /*#__PURE__*/React.createElement("div", {
|
|
47787
|
+
"class": 'col-lg-12 p-0'
|
|
47788
|
+
}, /*#__PURE__*/React.createElement(Select$5, {
|
|
47789
|
+
options: [{
|
|
47790
|
+
label: 'Tesla',
|
|
47791
|
+
value: 1
|
|
47792
|
+
}, {
|
|
47793
|
+
label: 'VW',
|
|
47794
|
+
value: 0
|
|
47795
|
+
}, {
|
|
47796
|
+
label: 'BYD',
|
|
47797
|
+
value: 0
|
|
47798
|
+
}],
|
|
47799
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
47800
|
+
placeholder: ''
|
|
47801
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
47802
|
+
"class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
|
|
47803
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
47804
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
47805
|
+
style: {
|
|
47806
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47807
|
+
}
|
|
47808
|
+
}, langdetect == 'en' ? 'KM' : 'KM'), /*#__PURE__*/React.createElement("div", {
|
|
47809
|
+
"class": 'col-lg-12 p-0'
|
|
47810
|
+
}, /*#__PURE__*/React.createElement(Select$5, {
|
|
47811
|
+
options: [{
|
|
47812
|
+
label: '100000',
|
|
47813
|
+
value: 1
|
|
47814
|
+
}, {
|
|
47815
|
+
label: '50000',
|
|
47816
|
+
value: 0
|
|
47817
|
+
}, {
|
|
47818
|
+
label: '30000',
|
|
47819
|
+
value: 0
|
|
47820
|
+
}],
|
|
47821
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
47822
|
+
placeholder: ''
|
|
47823
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
47824
|
+
"class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
|
|
47825
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
47826
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
47827
|
+
style: {
|
|
47828
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47829
|
+
}
|
|
47830
|
+
}, langdetect == 'en' ? 'Model Year' : 'السنة'), /*#__PURE__*/React.createElement("div", {
|
|
47831
|
+
"class": 'col-lg-12 p-0'
|
|
47832
|
+
}, /*#__PURE__*/React.createElement(Select$5, {
|
|
47833
|
+
options: [{
|
|
47834
|
+
label: '2023',
|
|
47835
|
+
value: 1
|
|
47836
|
+
}, {
|
|
47837
|
+
label: '2022',
|
|
47838
|
+
value: 0
|
|
47839
|
+
}, {
|
|
47840
|
+
label: '2021',
|
|
47841
|
+
value: 0
|
|
47842
|
+
}],
|
|
47843
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
47844
|
+
placeholder: ''
|
|
47845
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
47846
|
+
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-md-3 '
|
|
47847
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
47848
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
47849
|
+
style: {
|
|
47850
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47851
|
+
}
|
|
47852
|
+
}, langdetect == 'en' ? 'Price' : 'السعر'), /*#__PURE__*/React.createElement("div", {
|
|
47853
|
+
"class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
|
|
47854
|
+
style: {
|
|
47855
|
+
direction: 'ltr'
|
|
47856
|
+
}
|
|
47857
|
+
}, /*#__PURE__*/React.createElement(InputRange, {
|
|
47858
|
+
draggableTrack: true,
|
|
47859
|
+
formatLabel: function formatLabel(value) {
|
|
47860
|
+
return "".concat(value);
|
|
47861
|
+
},
|
|
47862
|
+
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
47863
|
+
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
47864
|
+
value: pricevalue,
|
|
47865
|
+
onChange: function onChange(value) {
|
|
47866
|
+
setpricevalue(_objectSpread$16({}, value));
|
|
47867
|
+
}
|
|
47868
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
47869
|
+
"class": "col-lg-1"
|
|
47870
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
47871
|
+
"class": "col-lg-2 col-md-12 d-flex align-items-center justify-content-end"
|
|
47872
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
47873
|
+
"class": sectionstyles.btnstyles + ' allcentered ',
|
|
47874
|
+
onClick: function onClick() {
|
|
47875
|
+
var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
|
|
47876
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$16({}, fetchproductsfilerobjcontext);
|
|
47877
|
+
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) {
|
|
47878
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47879
|
+
tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
|
|
47880
|
+
} else {
|
|
47881
|
+
tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
|
|
47882
|
+
}
|
|
47883
|
+
}
|
|
47884
|
+
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) {
|
|
47885
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47886
|
+
tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
|
|
47887
|
+
} else {
|
|
47888
|
+
tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
|
|
47889
|
+
}
|
|
47890
|
+
}
|
|
47891
|
+
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) {
|
|
47892
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47893
|
+
tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
|
|
47894
|
+
} else {
|
|
47895
|
+
tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
|
|
47896
|
+
}
|
|
47897
|
+
}
|
|
47898
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
|
|
47899
|
+
tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
|
|
47900
|
+
}
|
|
47901
|
+
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) {
|
|
47902
|
+
tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
|
|
47903
|
+
}
|
|
47904
|
+
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) {
|
|
47905
|
+
if (sectionproperties.showpricerange == 'Hide') {
|
|
47906
|
+
tempfetchproductsfilerobjcontext.price_max = 99999999999999;
|
|
47907
|
+
} else {
|
|
47908
|
+
tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
|
|
47909
|
+
}
|
|
47910
|
+
}
|
|
47911
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47912
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
47913
|
+
}
|
|
47914
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
|
|
47915
|
+
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
47916
|
+
}
|
|
47917
|
+
}
|
|
47918
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
|
|
47429
47919
|
};
|
|
47430
47920
|
|
|
47431
47921
|
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; }
|
|
@@ -52772,7 +53262,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
52772
53262
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
52773
53263
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
52774
53264
|
background: sectionproperties.backgroundColor,
|
|
52775
|
-
|
|
53265
|
+
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
52776
53266
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
52777
53267
|
}
|
|
52778
53268
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -63385,9 +63875,10 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
63385
63875
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
63386
63876
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
63387
63877
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
63388
|
-
height: sectionproperties.image_height + 'px',
|
|
63878
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
63879
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
63389
63880
|
'@media (max-width: 800px)': {
|
|
63390
|
-
height: sectionproperties.
|
|
63881
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px'
|
|
63391
63882
|
}
|
|
63392
63883
|
}),
|
|
63393
63884
|
productoutercard: css({
|
|
@@ -63503,14 +63994,21 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
63503
63994
|
background: sectionproperties.pillbgcolor,
|
|
63504
63995
|
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
63505
63996
|
}
|
|
63506
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
63997
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React.createElement("p", {
|
|
63998
|
+
"class": "m-0 p-0 text-uppercase",
|
|
63999
|
+
style: {
|
|
64000
|
+
color: sectionproperties.pillcolor,
|
|
64001
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
64002
|
+
direction: 'ltr'
|
|
64003
|
+
}
|
|
64004
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React.createElement("p", {
|
|
63507
64005
|
"class": "m-0 p-0 text-uppercase",
|
|
63508
64006
|
style: {
|
|
63509
64007
|
color: sectionproperties.pillcolor,
|
|
63510
64008
|
fontSize: sectionproperties.pillfontSize + 'px',
|
|
63511
64009
|
direction: 'ltr'
|
|
63512
64010
|
}
|
|
63513
|
-
}, '
|
|
64011
|
+
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
63514
64012
|
"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 ',
|
|
63515
64013
|
onClick: function onClick(e) {
|
|
63516
64014
|
e.stopPropagation();
|
|
@@ -63545,7 +64043,10 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
63545
64043
|
},
|
|
63546
64044
|
"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 '
|
|
63547
64045
|
}, item.name)), /*#__PURE__*/React.createElement("div", {
|
|
63548
|
-
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column"
|
|
64046
|
+
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
|
|
64047
|
+
style: {
|
|
64048
|
+
marginTop: sectionproperties.productpricemarginTop + 'px'
|
|
64049
|
+
}
|
|
63549
64050
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
63550
64051
|
"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 '
|
|
63551
64052
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
|
|
@@ -64745,7 +65246,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
64745
65246
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
64746
65247
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
64747
65248
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
64748
|
-
height: sectionproperties.image_height + 'px',
|
|
65249
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
64749
65250
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
64750
65251
|
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
64751
65252
|
overflow: 'hidden',
|
|
@@ -64835,7 +65336,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
64835
65336
|
})), /*#__PURE__*/React.createElement("div", {
|
|
64836
65337
|
"class": card_cssstyles.imagecontainer + ' d-none d-sm-flex',
|
|
64837
65338
|
style: {
|
|
64838
|
-
height: sectionproperties.height_responsive + 'px',
|
|
65339
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px',
|
|
64839
65340
|
width: sectionproperties.image_bordertopleftradius == '100' ? sectionproperties.image_height + 'px' : sectionproperties.image_width_resp + '%'
|
|
64840
65341
|
}
|
|
64841
65342
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
@@ -65263,7 +65764,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
65263
65764
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
65264
65765
|
size: sectionproperties.cartBtn_iconFontSize
|
|
65265
65766
|
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React.createElement("div", {
|
|
65266
|
-
"class": "col-lg-12 d-flex align-items-center",
|
|
65767
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
65267
65768
|
style: {
|
|
65268
65769
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
65269
65770
|
}
|