tabexseriescomponents 0.50.163 → 0.50.164
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 +782 -493
- package/dist/index.esm.js +782 -493
- package/dist/index.umd.js +782 -493
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -45,7 +45,7 @@ var FiMinus = require('@react-icons/all-files/fi/FiMinus');
|
|
|
45
45
|
var FiPlus = require('@react-icons/all-files/fi/FiPlus');
|
|
46
46
|
var ReactStars = require('react-rating-stars-component');
|
|
47
47
|
var FiLayers = require('@react-icons/all-files/fi/FiLayers');
|
|
48
|
-
|
|
48
|
+
require('@react-icons/all-files/hi/HiOutlinePlusCircle');
|
|
49
49
|
require('@react-icons/all-files/hi/HiOutlineMinusCircle');
|
|
50
50
|
var _taggedTemplateLiteral = require('@babel/runtime/helpers/taggedTemplateLiteral');
|
|
51
51
|
var TextareaAutosize = require('react-textarea-autosize');
|
|
@@ -293,6 +293,8 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
293
293
|
_this.state = {
|
|
294
294
|
lang: {
|
|
295
295
|
en: (_en = {
|
|
296
|
+
to: 'To',
|
|
297
|
+
from: 'From',
|
|
296
298
|
pleasewriteemail: 'Please write your email',
|
|
297
299
|
completemissingfields: 'Please complete the missing fields',
|
|
298
300
|
passwordsdonotmatch: 'Passwords do not match',
|
|
@@ -379,6 +381,8 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
379
381
|
orsignupwith: 'Or Sign up with'
|
|
380
382
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "price", 'Price'), "relatedproducts", 'Related products'), "qty", 'QTY'), "emptyshoppingcart", 'Your shopping cart is empty'), "shopnow", 'Shop now'), "total", 'Total'), "otherinformation", 'Other information'), "productname", 'Product name'), "quantity", 'Quantity'), "orderid", 'Order ID'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "numberofproducts", 'Number of products'), "checkyourorder", 'Check your order'), "search", 'Search'), "searchproducts", 'Search for products...'), "choosecity", 'Choose city'), "choosestategov", 'Choose state/governorate'), "choosecountry", 'Choose country'), "giftcarddicountcode", 'Gift Card Or Discount Code...'), "nosearchresults", 'No search results'), "sale", 'Sale'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "nofavoriteproducts", 'Your wishlist is empty'), "loggedoutsuccess", 'Logged out successfully'), "addedtocartsuccess", 'Cart is updated successfully'), "promocodeapplied", 'Promo code is applied.'), "promocoderemoved", 'Promo code is removed'), "countryandstateupdatedsuccess", 'Country and state are updated successfully'), "orderaddedsuccess", 'Order is added successfully'), "addedtowishlist", 'Added to your favourites'), "productrmovedfromwishlist", 'Removed from your favourites'), "fillthemissingfields", 'Please complete the missing fields'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "passwordsdontmatch", "Passwords don't match"), "loggedinsuccess", 'Logged in successfully'), "subtotal", 'Sub total'), "discount", 'Discount'), "outofzone", 'Out of zone'), "total", 'Total'), "cod", 'Cash on Delivery'), "cardondelivery", 'Credit Card On Delivery'), "onlinepayment", 'Online Payment'), "paymentcardinformation", 'Payment Card Information'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "shippingfees", 'Shipping fees'), "shippingaddress", 'Shipping address'), "cardnumber", 'Card number'), "year", 'Year'), "month", 'Month'), "cvv", 'CVV'), "nameoncard", 'Name On Card'), "country", 'Country'), "addressdetails", 'ِAddress details'), "stategov", 'State/Governorate'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "city", 'City'), "paymentmethod", 'Payment method'), "productimage", 'Product image'), "orderdetails", 'Order details'), "orderinvoice", 'Order invoice'), "promocodediscount", 'Promo code discount'), "address", 'Address'), "update", 'Update'), "phonenumber", 'Mobile number'), "completerequiredfields", 'Please complete all required fields'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "name", 'Name'), "email", 'Email'), "password", 'Password'), "confirmpassword", 'Confirm password'), "showmore", 'Show more'), "showless", 'Show less'), "contactdetails", 'Contact Information'), "asaguest", 'As A Guest'), "choosecountryfirst", 'Please choose country first'), "security", 'Security'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "personalinformation", 'Personal Information'), "contactus", 'Contact us'), "slogan", 'Your website & mobile application in one place'), "recent", 'Recent'), "oldest", 'Oldest'), "pricehightolow", 'High to low'), "pricelowtohigh", 'Low to High'), "pleasecompleteaddressmissingfields", 'Please complete the missing address fields'), "instock", 'In Stock')),
|
|
381
383
|
turk: {
|
|
384
|
+
to: 'İle',
|
|
385
|
+
from: 'İtibaren',
|
|
382
386
|
pleasewriteemail: 'Lütfen e-posta adresinizi yazın',
|
|
383
387
|
completemissingfields: 'Lütfen eksik alanları doldurun',
|
|
384
388
|
passwordsdonotmatch: 'Şifreler eşleşmiyor',
|
|
@@ -547,6 +551,8 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
547
551
|
instock: 'Stokta var'
|
|
548
552
|
},
|
|
549
553
|
ital: {
|
|
554
|
+
to: 'A',
|
|
555
|
+
from: 'Da',
|
|
550
556
|
pleasewriteemail: 'Per favore inserisci la tua email',
|
|
551
557
|
completemissingfields: 'Per favore completa i campi mancanti',
|
|
552
558
|
passwordsdonotmatch: 'Le password non corrispondono',
|
|
@@ -715,6 +721,8 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
715
721
|
instock: 'Disponibile'
|
|
716
722
|
},
|
|
717
723
|
magr: {
|
|
724
|
+
to: 'To',
|
|
725
|
+
from: 'Tól',
|
|
718
726
|
pleasewriteemail: 'Kérjük, adja meg az email címét',
|
|
719
727
|
completemissingfields: 'Kérjük, töltse ki a hiányzó mezőket',
|
|
720
728
|
passwordsdonotmatch: 'A jelszavak nem egyeznek',
|
|
@@ -883,6 +891,8 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
883
891
|
instock: 'Raktáron'
|
|
884
892
|
},
|
|
885
893
|
nrwig: (_nrwig = {
|
|
894
|
+
to: 'Til',
|
|
895
|
+
from: 'Fra',
|
|
886
896
|
tpleasewriteemail: 'Vennligst fyll ut de manglende feltene',
|
|
887
897
|
completemissingfields: 'Vennligst fyll ut de manglende feltene',
|
|
888
898
|
compare: 'Sammenligne',
|
|
@@ -1007,6 +1017,8 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
1007
1017
|
outofzone: 'Utenfor sone'
|
|
1008
1018
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_nrwig, "total", 'Total'), "cod", 'Kontant ved levering'), "cardondelivery", 'Kort ved levering'), "onlinepayment", 'Online betaling'), "paymentcardinformation", 'Kortinformasjon'), "shippingfees", 'Fraktkostnader'), "shippingaddress", 'Leveringsadresse'), "cardnumber", 'Kortnummer'), "year", 'År'), "month", 'Måned'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_nrwig, "cvv", 'CVV'), "nameoncard", 'Navn på kortet'), "country", 'Land'), "addressdetails", 'Adresset detaljer'), "stategov", 'Fylke/Stat'), "city", 'By'), "paymentmethod", 'Betalingsmetode'), "productimage", 'Produktbilde'), "orderdetails", 'Bestillingsdetaljer'), "orderinvoice", 'Faktura'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_nrwig, "promocodediscount", 'Rabattkode rabatt'), "address", 'Adresse'), "update", 'Oppdater'), "phonenumber", 'Mobilnummer'), "completerequiredfields", 'Vennligst fyll ut alle påkrevde felt'), "name", 'Navn'), "email", 'E-post'), "password", 'Passord'), "passwordsdonotmatch", 'Passordene samsvarer ikke'), "confirmpassword", 'Bekreft passord'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_nrwig, "showmore", 'Vis mer'), "showless", 'Vis mindre'), "contactdetails", 'Kontaktinformasjon'), "asaguest", 'Som gjest'), "choosecountryfirst", 'Vennligst velg land først'), "security", 'Sikkerhet'), "personalinformation", 'Personopplysninger'), "contactus", 'Kontakt oss'), "slogan", 'Ditt nettsted og mobilapp på ett sted'), "recent", 'Nyeste'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_nrwig, "oldest", 'Eldste'), "pricehightolow", 'Pris høy til lav'), "pricelowtohigh", 'Pris lav til høy'), "pleasecompleteaddressmissingfields", 'Vennligst fyll ut de manglende adressefeltene'), "instock", 'På lager')),
|
|
1009
1019
|
ar: (_ar = {
|
|
1020
|
+
to: 'إلى',
|
|
1021
|
+
from: 'من',
|
|
1010
1022
|
pleasewriteemail: 'من فضلك اكتب الايميل',
|
|
1011
1023
|
completemissingfields: 'الرجاء إكمال الحقول المفقودة',
|
|
1012
1024
|
passwordsdonotmatch: 'كلمات السر لا تتطابق',
|
|
@@ -1097,6 +1109,8 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
1097
1109
|
orsignupwith: 'او انشاء حساب عن طريق'
|
|
1098
1110
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ar, "price", 'السعر'), "relatedproducts", 'منتجات ذات صلة'), "qty", 'الكمية'), "emptyshoppingcart", 'حقيبة التسوق فارغة'), "shopnow", 'تسوق الان'), "total", 'الإجمالى'), "otherinformation", 'معلومات اخرى'), "productname", 'إسم المنتج'), "quantity", 'الكمية'), "orderid", 'رقم الطلب'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ar, "numberofproducts", 'عدد المنتجات'), "checkyourorder", 'الذهاب إلى طلبك'), "search", 'ابحث'), "searchproducts", 'ابحث...'), "choosecity", 'إختر المدينة'), "choosestategov", 'إختر المحافظة/الولاية'), "choosecountry", 'إختر البلد'), "giftcarddicountcode", 'كود خصم'), "nosearchresults", 'لا توجد نتائج'), "sale", 'خصم'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ar, "nofavoriteproducts", 'لا توجد منتجات مفضلة'), "loggedoutsuccess", 'تم تسجيل الخروج'), "addedtocartsuccess", 'تم تعديل عربة التسوق'), "promocodeapplied", 'تم تطبيق كود الخصم'), "promocoderemoved", 'تم حذف كود الخصم'), "countryandstateupdatedsuccess", 'تم تحديث البلد و المدينة'), "orderaddedsuccess", 'تم إضافة الطلب'), "addedtowishlist", 'تم الإضافة لمفضلاتك'), "productrmovedfromwishlist", 'تم الحذف من مفضلاتك'), "fillthemissingfields", 'من فضلك اكمل باقى البيانات'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ar, "passwordsdontmatch", 'كلمات السر لا تتطابق'), "loggedinsuccess", 'تم تسجيل الدخول'), "subtotal", 'إجمالي المبلغ'), "discount", 'الخصم'), "outofzone", 'خارج نطاق الشحن'), "total", 'المبلغ الكلي'), "cod", 'الدفع عند الإستلام'), "cardondelivery", 'الدفع بالطاقة الائتمانية عند الإستلام'), "onlinepayment", 'الدفع الإلكترونى'), "paymentcardinformation", 'بيانات البطاقة'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ar, "shippingfees", 'مصاريف الشحن'), "shippingaddress", 'عنوان الشحن'), "cardnumber", 'رقم البطاقة'), "year", 'السنة'), "month", 'الشهر'), "cvv", 'رقم البطاقة'), "nameoncard", 'الإسم على البطاقة'), "country", 'البلد'), "addressdetails", 'العنوان'), "stategov", 'المحافظة/الولاية'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ar, "city", 'المدينة'), "paymentmethod", 'طريقة الدفع'), "productimage", 'صورة المنتج'), "orderdetails", 'تفاصيل الطلب'), "orderinvoice", 'فاتورة الطلب'), "promocodediscount", 'كود الخصم'), "address", 'العنوان'), "update", 'تحديث'), "phonenumber", 'الهاتف'), "completerequiredfields", 'من فضلك اكمل البيانات الإجبارية'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ar, "name", 'الإسم'), "email", 'البريد الإلكترونى'), "password", 'كلمة السر'), "confirmpassword", 'تأكيد كلمة السر'), "showless", 'اعرض اقل'), "showmore", 'اعرض المزيد'), "contactdetails", 'معلومات التواصل'), "asaguest", 'كزائر'), "choosecountryfirst", 'من فضلك اختر البلد اولاً'), "security", 'الخصوصية و الأمان'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ar, "personalinformation", 'البيانات الشخصية'), "contactus", 'تواصل معنا'), "slogan", 'موقعك و تطبيقك فى مكان واحد'), "instock", 'متوفر'), "compare", 'قارن')),
|
|
1099
1111
|
chin: {
|
|
1112
|
+
to: '到',
|
|
1113
|
+
from: '从',
|
|
1100
1114
|
pleasewriteemail: '请填写缺失的字段',
|
|
1101
1115
|
completemissingfields: '请填写缺失的字段',
|
|
1102
1116
|
passwordsdonotmatch: '密码不匹配',
|
|
@@ -1263,6 +1277,8 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
1263
1277
|
instock: '有现货'
|
|
1264
1278
|
},
|
|
1265
1279
|
es: {
|
|
1280
|
+
to: 'A',
|
|
1281
|
+
from: 'De',
|
|
1266
1282
|
pleasewriteemail: 'Por favor complete los campos faltantes',
|
|
1267
1283
|
completemissingfields: 'Por favor complete los campos faltantes',
|
|
1268
1284
|
passwordsdonotmatch: 'Las contraseñas no coinciden',
|
|
@@ -1429,6 +1445,8 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
1429
1445
|
instock: 'En stock'
|
|
1430
1446
|
},
|
|
1431
1447
|
fr: {
|
|
1448
|
+
to: 'À',
|
|
1449
|
+
from: 'Depuis',
|
|
1432
1450
|
pleasewriteemail: 'Veuillez compléter les champs manquants.',
|
|
1433
1451
|
completemissingfields: 'Veuillez compléter les champs manquants.',
|
|
1434
1452
|
passwordsdonotmatch: 'Les mots de passe ne correspondent pas.',
|
|
@@ -1596,6 +1614,8 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
1596
1614
|
instock: 'En stock'
|
|
1597
1615
|
},
|
|
1598
1616
|
rus: {
|
|
1617
|
+
to: 'K',
|
|
1618
|
+
from: 'От',
|
|
1599
1619
|
pleasewriteemail: 'Пожалуйста, заполните недостающие поля.',
|
|
1600
1620
|
completemissingfields: 'Por favor complete los campos faltantes',
|
|
1601
1621
|
passwordsdonotmatch: 'Пароли не совпадают',
|
|
@@ -3389,7 +3409,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
3389
3409
|
};
|
|
3390
3410
|
|
|
3391
3411
|
var ProductExtras = function ProductExtras(props) {
|
|
3392
|
-
var _fetchProductInfoQuer
|
|
3412
|
+
var _fetchProductInfoQuer;
|
|
3393
3413
|
props.actions.lang;
|
|
3394
3414
|
var langdetect = props.actions.langdetect;
|
|
3395
3415
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
@@ -3398,10 +3418,13 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
3398
3418
|
var sectionproperties = props.actions.sectionproperties;
|
|
3399
3419
|
props.actions.addtocardpayloadobj;
|
|
3400
3420
|
props.actions.setaddtocardpayloadobj;
|
|
3421
|
+
var addtocartfunc_extras = props.actions.addtocartfunc_extras;
|
|
3401
3422
|
props.actions;
|
|
3402
|
-
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.productid;
|
|
3423
|
+
var productid = 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.productid;
|
|
3403
3424
|
// const templatepropcontext = props.actions.templatepropcontext;
|
|
3404
3425
|
|
|
3426
|
+
// const addtocartfunc = props.addtocartfunc;
|
|
3427
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
3405
3428
|
props.actions.productinfo_cssstyles;
|
|
3406
3429
|
var _useState = React.useState([]),
|
|
3407
3430
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
@@ -3415,7 +3438,7 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
3415
3438
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
3416
3439
|
_useState6[0];
|
|
3417
3440
|
_useState6[1];
|
|
3418
|
-
var _useState7 = React.useState(
|
|
3441
|
+
var _useState7 = React.useState('all'),
|
|
3419
3442
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
3420
3443
|
filterproductreviews = _useState8[0];
|
|
3421
3444
|
_useState8[1];
|
|
@@ -3423,43 +3446,156 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
3423
3446
|
_useState0 = _slicedToArray__default["default"](_useState9, 2);
|
|
3424
3447
|
_useState0[0];
|
|
3425
3448
|
_useState0[1];
|
|
3449
|
+
var _useState1 = React.useState([]),
|
|
3450
|
+
_useState10 = _slicedToArray__default["default"](_useState1, 2),
|
|
3451
|
+
product_prod_extras_array = _useState10[0],
|
|
3452
|
+
setproduct_prod_extras_array = _useState10[1];
|
|
3426
3453
|
React.useEffect(function () {
|
|
3427
3454
|
if (fetchProductInfoQueryContext.isSuccess) ;
|
|
3428
3455
|
}, [filterproductreviews]);
|
|
3456
|
+
React.useEffect(function () {
|
|
3457
|
+
if (fetchProductInfoQueryContext.isSuccess) {
|
|
3458
|
+
var _fetchProductInfoQuer2;
|
|
3459
|
+
var tempprodextraarr = _toConsumableArray__default["default"](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.product_extras);
|
|
3460
|
+
setproduct_prod_extras_array(_toConsumableArray__default["default"](tempprodextraarr));
|
|
3461
|
+
}
|
|
3462
|
+
}, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
|
|
3429
3463
|
var formstyles = {
|
|
3430
3464
|
input_label_name: glamor.css({
|
|
3431
3465
|
color: sectionproperties.form_labelcolor,
|
|
3432
3466
|
textTransform: sectionproperties.form_labeltexttransform,
|
|
3433
3467
|
fontWeight: sectionproperties.form_labelfontweight,
|
|
3434
|
-
fontSize: sectionproperties.form_labelfontsize +
|
|
3468
|
+
fontSize: sectionproperties.form_labelfontsize + 'px'
|
|
3435
3469
|
}),
|
|
3436
3470
|
extracontainer: glamor.css({
|
|
3437
|
-
|
|
3438
|
-
transitions:
|
|
3439
|
-
color:
|
|
3471
|
+
':hover': {
|
|
3472
|
+
transitions: '.3s',
|
|
3473
|
+
color: '#4faa47'
|
|
3440
3474
|
}
|
|
3441
3475
|
})
|
|
3442
3476
|
};
|
|
3443
3477
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3444
|
-
className:
|
|
3445
|
-
},
|
|
3446
|
-
var _item$productinfo, _item$productinfo2;
|
|
3478
|
+
className: 'row w-100 ml-0 mr-0 mt-3'
|
|
3479
|
+
}, product_prod_extras_array === null || product_prod_extras_array === void 0 ? void 0 : product_prod_extras_array.map(function (item, index) {
|
|
3480
|
+
var _item$productinfo, _item$productinfo2, _item$productinfo3, _item$productinfo4;
|
|
3447
3481
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3448
|
-
"class":
|
|
3482
|
+
"class": props.srcfromprops == 'servicestyle2' ? 'col-lg-12 col-sm-12 p-0 mb-3' : 'col-lg-6 col-sm-12 p-0 mb-3'
|
|
3449
3483
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3450
3484
|
"class": "row m-0 w-100"
|
|
3451
3485
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3452
|
-
className: formstyles.extracontainer +
|
|
3453
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3486
|
+
className: formstyles.extracontainer + ' col-6 p-sm-0 d-flex flex-row align-items-center justify-content-start '
|
|
3487
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3488
|
+
"class": "row m-0 w-100"
|
|
3489
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3490
|
+
"class": "col-12 p-0 text-start"
|
|
3491
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3492
|
+
className: "".concat(formstyles.input_label_name) + ' m-0 p-0 '
|
|
3458
3493
|
}, item === null || item === void 0 || (_item$productinfo = item.productinfo) === null || _item$productinfo === void 0 ? void 0 : _item$productinfo.name_en)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3459
|
-
|
|
3494
|
+
"class": "col-12 p-0 text-start"
|
|
3495
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3496
|
+
className: ' m-0 p-0 ',
|
|
3497
|
+
style: {
|
|
3498
|
+
color: '#ccc',
|
|
3499
|
+
fontSize: 15
|
|
3500
|
+
},
|
|
3501
|
+
dangerouslySetInnerHTML: {
|
|
3502
|
+
__html: langdetect == 'en' ? item === null || item === void 0 || (_item$productinfo2 = item.productinfo) === null || _item$productinfo2 === void 0 ? void 0 : _item$productinfo2.description_en : item === null || item === void 0 || (_item$productinfo3 = item.productinfo) === null || _item$productinfo3 === void 0 ? void 0 : _item$productinfo3.description_ar
|
|
3503
|
+
}
|
|
3504
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3505
|
+
className: ' col-6 p-sm-0 d-flex align-items-center justify-content-end cursor-pointer '
|
|
3460
3506
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3461
|
-
className: "".concat(formstyles.input_label_name) +
|
|
3462
|
-
|
|
3507
|
+
className: "".concat(formstyles.input_label_name) + ' m-0 p-0 mx-2 ',
|
|
3508
|
+
style: {
|
|
3509
|
+
fontSize: 12
|
|
3510
|
+
}
|
|
3511
|
+
}, "(+ ", item === null || item === void 0 || (_item$productinfo4 = item.productinfo) === null || _item$productinfo4 === void 0 ? void 0 : _item$productinfo4.defaultprice, " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ")"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3512
|
+
"class": "d-flex flex-row",
|
|
3513
|
+
style: {
|
|
3514
|
+
width: '50%',
|
|
3515
|
+
height: 32,
|
|
3516
|
+
border: '1px solid #ccc',
|
|
3517
|
+
borderRadius: 15
|
|
3518
|
+
}
|
|
3519
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3520
|
+
style: {
|
|
3521
|
+
flex: 1
|
|
3522
|
+
},
|
|
3523
|
+
"class": "text-black cursor-pointer ",
|
|
3524
|
+
onClick: function onClick() {
|
|
3525
|
+
var quantity = 0;
|
|
3526
|
+
var tempproduct_prod_extras_array = _toConsumableArray__default["default"](product_prod_extras_array);
|
|
3527
|
+
if (parseFloat(tempproduct_prod_extras_array[index].quantity) <= 0) {
|
|
3528
|
+
quantity = 0;
|
|
3529
|
+
} else {
|
|
3530
|
+
quantity = parseFloat(tempproduct_prod_extras_array[index].quantity);
|
|
3531
|
+
}
|
|
3532
|
+
quantity = quantity - 1;
|
|
3533
|
+
if (quantity >= 0) {
|
|
3534
|
+
var _item$productinfo5;
|
|
3535
|
+
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
3536
|
+
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
3537
|
+
addtocartfunc_extras(false, {
|
|
3538
|
+
functype: 'add',
|
|
3539
|
+
item_type: 'Extras',
|
|
3540
|
+
productid: item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.productid,
|
|
3541
|
+
main_ref_productid: productid,
|
|
3542
|
+
variantid: '',
|
|
3543
|
+
quantity: quantity,
|
|
3544
|
+
date: '',
|
|
3545
|
+
time: '',
|
|
3546
|
+
from: '',
|
|
3547
|
+
to: '',
|
|
3548
|
+
extrafields: []
|
|
3549
|
+
});
|
|
3550
|
+
setproduct_prod_extras_array(_toConsumableArray__default["default"](tempproduct_prod_extras_array));
|
|
3551
|
+
} else {
|
|
3552
|
+
alert('Quantity cannot be less than 0');
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3556
|
+
className: 'h-100 allcentered'
|
|
3557
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
3558
|
+
size: 15
|
|
3559
|
+
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3560
|
+
className: 'text-black allcentered',
|
|
3561
|
+
style: {
|
|
3562
|
+
flex: 1,
|
|
3563
|
+
fontSize: 18
|
|
3564
|
+
}
|
|
3565
|
+
}, item === null || item === void 0 ? void 0 : item.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3566
|
+
style: {
|
|
3567
|
+
flex: 1
|
|
3568
|
+
},
|
|
3569
|
+
"class": "text-black cursor-pointer ",
|
|
3570
|
+
onClick: function onClick() {
|
|
3571
|
+
var _item$productinfo6;
|
|
3572
|
+
var quantity = 0;
|
|
3573
|
+
var tempproduct_prod_extras_array = _toConsumableArray__default["default"](product_prod_extras_array);
|
|
3574
|
+
if (tempproduct_prod_extras_array[index].quantity != undefined && tempproduct_prod_extras_array[index].quantity != null && tempproduct_prod_extras_array[index].quantity != 0) {
|
|
3575
|
+
quantity = parseFloat(tempproduct_prod_extras_array[index].quantity);
|
|
3576
|
+
}
|
|
3577
|
+
quantity = quantity + 1;
|
|
3578
|
+
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
3579
|
+
addtocartfunc_extras(false, {
|
|
3580
|
+
functype: 'add',
|
|
3581
|
+
item_type: 'Extras',
|
|
3582
|
+
productid: item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.productid,
|
|
3583
|
+
main_ref_productid: productid,
|
|
3584
|
+
variantid: '',
|
|
3585
|
+
quantity: quantity,
|
|
3586
|
+
date: '',
|
|
3587
|
+
time: '',
|
|
3588
|
+
from: '',
|
|
3589
|
+
to: '',
|
|
3590
|
+
extrafields: []
|
|
3591
|
+
});
|
|
3592
|
+
setproduct_prod_extras_array(_toConsumableArray__default["default"](tempproduct_prod_extras_array));
|
|
3593
|
+
}
|
|
3594
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3595
|
+
className: 'h-100 allcentered'
|
|
3596
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
3597
|
+
size: 15
|
|
3598
|
+
})))))));
|
|
3463
3599
|
}));
|
|
3464
3600
|
};
|
|
3465
3601
|
|
|
@@ -7749,18 +7885,18 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
7749
7885
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
7750
7886
|
props.actions.ikimagecredcontext;
|
|
7751
7887
|
var _useState = React.useState([{
|
|
7752
|
-
tabname:
|
|
7753
|
-
tabname_ar:
|
|
7888
|
+
tabname: 'Description',
|
|
7889
|
+
tabname_ar: 'التفاصيل',
|
|
7754
7890
|
ischecked: true
|
|
7755
7891
|
}, {
|
|
7756
|
-
tabname:
|
|
7757
|
-
tabname_ar:
|
|
7892
|
+
tabname: 'Reservation',
|
|
7893
|
+
tabname_ar: 'الحجز',
|
|
7758
7894
|
ischecked: false
|
|
7759
7895
|
}]),
|
|
7760
7896
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7761
7897
|
tabsarray = _useState2[0];
|
|
7762
7898
|
_useState2[1];
|
|
7763
|
-
var _useState3 = React.useState(
|
|
7899
|
+
var _useState3 = React.useState(''),
|
|
7764
7900
|
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
7765
7901
|
_useState4[0];
|
|
7766
7902
|
var setcurrentmutatestate = _useState4[1];
|
|
@@ -7768,11 +7904,11 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
7768
7904
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
7769
7905
|
slots = _useState6[0],
|
|
7770
7906
|
setslots = _useState6[1];
|
|
7771
|
-
var _useState7 = React.useState(
|
|
7907
|
+
var _useState7 = React.useState(''),
|
|
7772
7908
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
7773
7909
|
selectedtodate = _useState8[0],
|
|
7774
7910
|
setselectedtodate = _useState8[1];
|
|
7775
|
-
var _useState9 = React.useState(
|
|
7911
|
+
var _useState9 = React.useState(''),
|
|
7776
7912
|
_useState0 = _slicedToArray__default["default"](_useState9, 2),
|
|
7777
7913
|
selectedfromdate = _useState0[0],
|
|
7778
7914
|
setselectedfromdate = _useState0[1];
|
|
@@ -7786,21 +7922,21 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
7786
7922
|
setminutes_Active_days_array = _useState12[1];
|
|
7787
7923
|
React.useEffect(function () {
|
|
7788
7924
|
setaddtocardpayloadobj(_objectSpread$2D(_objectSpread$2D({}, addtocardpayloadobj), {}, {
|
|
7789
|
-
item_type:
|
|
7925
|
+
item_type: 'service'
|
|
7790
7926
|
}));
|
|
7791
7927
|
}, [tabsarray]);
|
|
7792
7928
|
var today = new Date();
|
|
7793
7929
|
today.getFullYear();
|
|
7794
|
-
(today.getMonth() + 1).toString().padStart(2,
|
|
7795
|
-
today.getDate().toString().padStart(2,
|
|
7930
|
+
(today.getMonth() + 1).toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
7931
|
+
today.getDate().toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
7796
7932
|
React.useEffect(function () {
|
|
7797
7933
|
var date1 = new Date(addtocardpayloadobj.from);
|
|
7798
7934
|
var date2 = new Date(addtocardpayloadobj.to);
|
|
7799
7935
|
var diffTime = Math.abs(date2 - date1);
|
|
7800
7936
|
var diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
|
|
7801
|
-
if (diffDays.toString() !=
|
|
7937
|
+
if (diffDays.toString() != 'NaN') {
|
|
7802
7938
|
if (date2 <= date1) {
|
|
7803
|
-
NotificationManager.warning(
|
|
7939
|
+
NotificationManager.warning('', 'Please choose another date.');
|
|
7804
7940
|
setaddtocardpayloadobj(_objectSpread$2D(_objectSpread$2D({}, addtocardpayloadobj), {}, {
|
|
7805
7941
|
quantity: 0
|
|
7806
7942
|
}));
|
|
@@ -7813,14 +7949,14 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
7813
7949
|
setaddtocardpayloadobj(_objectSpread$2D(_objectSpread$2D({}, addtocardpayloadobj), {}, {
|
|
7814
7950
|
quantity: 0
|
|
7815
7951
|
}));
|
|
7816
|
-
NotificationManager.warning(
|
|
7952
|
+
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
7817
7953
|
}
|
|
7818
7954
|
}
|
|
7819
7955
|
}
|
|
7820
7956
|
}, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
|
|
7821
7957
|
React.useEffect(function () {
|
|
7822
7958
|
var _fetchProductInfoQuer, _fetchProductInfoQuer6;
|
|
7823
|
-
if ((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 || (_fetchProductInfoQuer = _fetchProductInfoQuer.serviceinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.scheduletype) ==
|
|
7959
|
+
if ((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 || (_fetchProductInfoQuer = _fetchProductInfoQuer.serviceinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.scheduletype) == 'days') {
|
|
7824
7960
|
var _fetchProductInfoQuer2, _fetchProductInfoQuer3;
|
|
7825
7961
|
if ((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.disabled_dates) != undefined && (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.disabled_dates) != null) {
|
|
7826
7962
|
var _fetchProductInfoQuer4;
|
|
@@ -7835,14 +7971,14 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
7835
7971
|
}
|
|
7836
7972
|
}
|
|
7837
7973
|
}
|
|
7838
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.serviceinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.scheduletype) ==
|
|
7974
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.serviceinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.scheduletype) == 'minutes') {
|
|
7839
7975
|
var _fetchProductInfoQuer7;
|
|
7840
7976
|
var serviceDays = 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 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.serviceinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.servicedays;
|
|
7841
7977
|
if (Array.isArray(serviceDays) && serviceDays.length > 0) {
|
|
7842
7978
|
var uniqueDayNames = _toConsumableArray__default["default"](new Set(serviceDays.map(function (day) {
|
|
7843
7979
|
return day === null || day === void 0 ? void 0 : day.dayname;
|
|
7844
7980
|
}).filter(function (dayname) {
|
|
7845
|
-
return typeof dayname ===
|
|
7981
|
+
return typeof dayname === 'string' && dayname.trim() !== '';
|
|
7846
7982
|
})));
|
|
7847
7983
|
setminutes_Active_days_array(uniqueDayNames);
|
|
7848
7984
|
} else {
|
|
@@ -7873,12 +8009,12 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
7873
8009
|
var TabsStyles = {
|
|
7874
8010
|
sidebar_item: glamor.css({
|
|
7875
8011
|
background: sectionproperties.tabcontainerbgcolor,
|
|
7876
|
-
borderRadius: sectionproperties.tabcontainerborderradius +
|
|
7877
|
-
fontSize: sectionproperties.tabtextfontsize +
|
|
8012
|
+
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
8013
|
+
fontSize: sectionproperties.tabtextfontsize + 'px',
|
|
7878
8014
|
fontWeight: sectionproperties.tabtextfontweight,
|
|
7879
8015
|
textTransform: sectionproperties.tabtexttexttransform,
|
|
7880
8016
|
color: sectionproperties.tabtextcolor,
|
|
7881
|
-
|
|
8017
|
+
':hover': {
|
|
7882
8018
|
color: sectionproperties.tabtextactivecolor,
|
|
7883
8019
|
background: sectionproperties.activetabbgcolor
|
|
7884
8020
|
}
|
|
@@ -7888,38 +8024,38 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
7888
8024
|
background: sectionproperties.activetabbgcolor
|
|
7889
8025
|
}),
|
|
7890
8026
|
sidenavtext_active: glamor.css({
|
|
7891
|
-
fontSize: sectionproperties.tabtextfontsize +
|
|
8027
|
+
fontSize: sectionproperties.tabtextfontsize + 'px',
|
|
7892
8028
|
color: sectionproperties.tabtextactivecolor,
|
|
7893
8029
|
background: sectionproperties.activetabbgcolor
|
|
7894
8030
|
}),
|
|
7895
8031
|
booknow_btn: glamor.css({
|
|
7896
|
-
width: sectionproperties.generalbtn_width +
|
|
7897
|
-
height: sectionproperties.generalbtn_height +
|
|
7898
|
-
background: sectionproperties.generalbtn_bgColortransparent ==
|
|
7899
|
-
borderRadius: sectionproperties.generalbtn_borderbottomleftradius +
|
|
8032
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
8033
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
8034
|
+
background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
|
|
8035
|
+
borderRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
7900
8036
|
color: sectionproperties.generalbtn_textColor,
|
|
7901
|
-
fontSize: sectionproperties.generalbtn_fontsize +
|
|
8037
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7902
8038
|
textTransform: sectionproperties.generalbtn_texttransform,
|
|
7903
8039
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7904
|
-
textDecoration: sectionproperties.generalbtn_bgColortransparent ==
|
|
7905
|
-
transition:
|
|
7906
|
-
|
|
7907
|
-
background: sectionproperties.generalbtn_bgColortransparentonhover ==
|
|
8040
|
+
textDecoration: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'underline' : '',
|
|
8041
|
+
transition: '.3s',
|
|
8042
|
+
':hover': {
|
|
8043
|
+
background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
7908
8044
|
color: sectionproperties.generalbtn_textColoronhover
|
|
7909
8045
|
}
|
|
7910
8046
|
}),
|
|
7911
8047
|
booknow_btn_resp: glamor.css({
|
|
7912
|
-
width:
|
|
7913
|
-
height:
|
|
7914
|
-
background: sectionproperties.generalbtn_bgColortransparent ==
|
|
7915
|
-
borderRadius: sectionproperties.generalbtn_borderbottomleftradius +
|
|
8048
|
+
width: '30px',
|
|
8049
|
+
height: '30px',
|
|
8050
|
+
background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
|
|
8051
|
+
borderRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
7916
8052
|
color: sectionproperties.generalbtn_textColor,
|
|
7917
|
-
fontSize: sectionproperties.generalbtn_fontsize +
|
|
8053
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7918
8054
|
textTransform: sectionproperties.generalbtn_texttransform,
|
|
7919
8055
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7920
|
-
transition:
|
|
7921
|
-
|
|
7922
|
-
background: sectionproperties.generalbtn_bgColortransparentonhover ==
|
|
8056
|
+
transition: '.3s',
|
|
8057
|
+
':hover': {
|
|
8058
|
+
background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
7923
8059
|
color: sectionproperties.generalbtn_textColoronhover
|
|
7924
8060
|
}
|
|
7925
8061
|
}),
|
|
@@ -7929,17 +8065,17 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
7929
8065
|
inputfield_label: glamor.css({
|
|
7930
8066
|
color: sectionproperties.form_labelcolor,
|
|
7931
8067
|
fontWeight: sectionproperties.form_labelfontweight,
|
|
7932
|
-
fontSize: sectionproperties.form_labelfontsize +
|
|
8068
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
7933
8069
|
textTransform: sectionproperties.form_labeltexttransform
|
|
7934
8070
|
}),
|
|
7935
8071
|
inputfield: glamor.css({
|
|
7936
|
-
height:
|
|
7937
|
-
borderRadius: sectionproperties.inputfieldborderradius +
|
|
7938
|
-
fontSize: sectionproperties.inputfieldfontsize +
|
|
8072
|
+
height: '40px',
|
|
8073
|
+
borderRadius: sectionproperties.inputfieldborderradius + 'px',
|
|
8074
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
7939
8075
|
color: sectionproperties.inputfieldcolor,
|
|
7940
8076
|
backgroundColor: sectionproperties.input_bgcolor,
|
|
7941
|
-
border: sectionproperties.inputfieldborderWidth +
|
|
7942
|
-
|
|
8077
|
+
border: sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor,
|
|
8078
|
+
':focus': {
|
|
7943
8079
|
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
7944
8080
|
}
|
|
7945
8081
|
}),
|
|
@@ -7947,36 +8083,39 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
7947
8083
|
color: sectionproperties.inputfieldcolor
|
|
7948
8084
|
}),
|
|
7949
8085
|
timeSlotContainer: glamor.css({
|
|
7950
|
-
minWidth:
|
|
7951
|
-
height:
|
|
7952
|
-
borderRadius: sectionproperties.time_borderRadius +
|
|
8086
|
+
minWidth: '6vh',
|
|
8087
|
+
height: '5vh',
|
|
8088
|
+
borderRadius: sectionproperties.time_borderRadius + 'px',
|
|
7953
8089
|
backgroundColor: sectionproperties.time_bgcolor,
|
|
7954
|
-
border: sectionproperties.time_borderwidth +
|
|
8090
|
+
border: sectionproperties.time_borderwidth + 'px solid ' + sectionproperties.time_borderColor,
|
|
7955
8091
|
color: sectionproperties.time_timeColor,
|
|
7956
8092
|
fontWeight: sectionproperties.time_timeFontweight,
|
|
7957
|
-
fontSize: sectionproperties.time_timeFontsize +
|
|
7958
|
-
|
|
7959
|
-
transition:
|
|
8093
|
+
fontSize: sectionproperties.time_timeFontsize + 'px',
|
|
8094
|
+
':hover': {
|
|
8095
|
+
transition: '.3s',
|
|
7960
8096
|
backgroundColor: sectionproperties.time_secondarybgcolor,
|
|
7961
8097
|
color: sectionproperties.time_secondarycolor,
|
|
7962
8098
|
borderColor: sectionproperties.time_secondarycolor
|
|
7963
8099
|
}
|
|
7964
8100
|
}),
|
|
7965
8101
|
timeSlotContainer_active: glamor.css({
|
|
7966
|
-
minWidth:
|
|
7967
|
-
height:
|
|
7968
|
-
borderRadius: sectionproperties.time_borderRadius +
|
|
8102
|
+
minWidth: '6vh',
|
|
8103
|
+
height: '5vh',
|
|
8104
|
+
borderRadius: sectionproperties.time_borderRadius + 'px',
|
|
7969
8105
|
backgroundColor: sectionproperties.time_activebgcolor,
|
|
7970
|
-
border: sectionproperties.time_borderwidth +
|
|
8106
|
+
border: sectionproperties.time_borderwidth + 'px solid ' + sectionproperties.time_timeactiveColor,
|
|
7971
8107
|
color: sectionproperties.time_timeactiveColor,
|
|
7972
8108
|
fontWeight: sectionproperties.time_timeFontweight,
|
|
7973
|
-
fontSize: sectionproperties.time_timeFontsize +
|
|
7974
|
-
|
|
7975
|
-
transition:
|
|
8109
|
+
fontSize: sectionproperties.time_timeFontsize + 'px',
|
|
8110
|
+
':hover': {
|
|
8111
|
+
transition: '.3s',
|
|
7976
8112
|
backgroundColor: sectionproperties.time_secondarybgcolor,
|
|
7977
8113
|
color: sectionproperties.time_secondarycolor,
|
|
7978
8114
|
borderColor: sectionproperties.time_secondarycolor
|
|
7979
8115
|
}
|
|
8116
|
+
}),
|
|
8117
|
+
selectedpickers: glamor.css({
|
|
8118
|
+
color: '#000'
|
|
7980
8119
|
})
|
|
7981
8120
|
};
|
|
7982
8121
|
function getLastChoosedSlotIndex(slots) {
|
|
@@ -8066,7 +8205,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8066
8205
|
} else {
|
|
8067
8206
|
// The selected slot is not beside the previously selected slots
|
|
8068
8207
|
// Handle this case according to your requirements (e.g., show an error message)
|
|
8069
|
-
NotificationManager.warning(
|
|
8208
|
+
NotificationManager.warning('', 'You can only choose slots beside each other.');
|
|
8070
8209
|
}
|
|
8071
8210
|
}
|
|
8072
8211
|
setslots(_toConsumableArray__default["default"](tempslots));
|
|
@@ -8078,7 +8217,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8078
8217
|
}
|
|
8079
8218
|
});
|
|
8080
8219
|
if ((tempslots === null || tempslots === void 0 ? void 0 : tempslots.length) == 0) {
|
|
8081
|
-
NotificationManager.warning(
|
|
8220
|
+
NotificationManager.warning('', 'No Available Slots');
|
|
8082
8221
|
}
|
|
8083
8222
|
if (reservedslotArrtobetaken.length != 0) {
|
|
8084
8223
|
reservedslottobetaken = reservedslotArrtobetaken[0].slot;
|
|
@@ -8088,7 +8227,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8088
8227
|
quantity: parseInt(reservedslotArrtobetaken.length)
|
|
8089
8228
|
}));
|
|
8090
8229
|
} else {
|
|
8091
|
-
NotificationManager.warning(
|
|
8230
|
+
NotificationManager.warning('', 'No Slots Reserved');
|
|
8092
8231
|
}
|
|
8093
8232
|
};
|
|
8094
8233
|
// const chooseitemslot = (slot, index) => {
|
|
@@ -8120,10 +8259,10 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8120
8259
|
// }
|
|
8121
8260
|
// };
|
|
8122
8261
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8123
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.serviceinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.scheduletype) ==
|
|
8262
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.serviceinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.scheduletype) == 'minutes' ? 'col-lg-12 mt-3 p-0' : 'col-lg-10 mt-3 p-0'
|
|
8124
8263
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8125
8264
|
"class": "row m-0 w-100"
|
|
8126
|
-
}, (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 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.scheduletype) ==
|
|
8265
|
+
}, (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 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.scheduletype) == 'days' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8127
8266
|
"class": "row m-0 w-100"
|
|
8128
8267
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8129
8268
|
"class": "col-lg-6 col-md-12 col-sm-12 mb-2 pl-1 pr-1"
|
|
@@ -8132,11 +8271,11 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8132
8271
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8133
8272
|
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
8134
8273
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8135
|
-
"class": TabsStyles.inputfield_label +
|
|
8136
|
-
},
|
|
8137
|
-
"class":
|
|
8274
|
+
"class": TabsStyles.inputfield_label + ' m-0 pb-2 '
|
|
8275
|
+
}, lang.from)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8276
|
+
"class": ' col-lg-12 mb-3'
|
|
8138
8277
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8139
|
-
"class": TabsStyles.inputfield +
|
|
8278
|
+
"class": TabsStyles.inputfield + ' w-100 allcentered '
|
|
8140
8279
|
}, /*#__PURE__*/React__default["default"].createElement(DatePicker__default["default"], {
|
|
8141
8280
|
selected: selectedfromdate,
|
|
8142
8281
|
excludeDates: disableddates,
|
|
@@ -8145,7 +8284,8 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8145
8284
|
from: date
|
|
8146
8285
|
}));
|
|
8147
8286
|
setselectedfromdate(date);
|
|
8148
|
-
}
|
|
8287
|
+
},
|
|
8288
|
+
className: "".concat(TabsStyles.selectedpickers)
|
|
8149
8289
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8150
8290
|
"class": "col-lg-6 col-md-12 col-sm-12 mb-2 pl-1 pr-1"
|
|
8151
8291
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -8153,11 +8293,11 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8153
8293
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8154
8294
|
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
8155
8295
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8156
|
-
"class": TabsStyles.inputfield_label +
|
|
8157
|
-
},
|
|
8296
|
+
"class": TabsStyles.inputfield_label + ' m-0 pb-2 '
|
|
8297
|
+
}, lang.to)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8158
8298
|
"class": "col-lg-12 mb-3"
|
|
8159
8299
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8160
|
-
"class": TabsStyles.inputfield +
|
|
8300
|
+
"class": TabsStyles.inputfield + ' w-100 allcentered '
|
|
8161
8301
|
}, /*#__PURE__*/React__default["default"].createElement(DatePicker__default["default"], {
|
|
8162
8302
|
selected: selectedtodate,
|
|
8163
8303
|
excludeDates: disableddates,
|
|
@@ -8166,25 +8306,26 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8166
8306
|
to: date
|
|
8167
8307
|
}));
|
|
8168
8308
|
setselectedtodate(date);
|
|
8169
|
-
}
|
|
8170
|
-
|
|
8309
|
+
},
|
|
8310
|
+
className: "".concat(TabsStyles.selectedpickers)
|
|
8311
|
+
})))))), (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 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.scheduletype) == 'minutes' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8171
8312
|
"class": "col-lg-12 col-md-12 col-sm-12 mb-2"
|
|
8172
8313
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8173
8314
|
"class": "row m-0 w-100"
|
|
8174
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) !=
|
|
8315
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '66cf4427e144e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8175
8316
|
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
8176
8317
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8177
|
-
"class": TabsStyles.inputfield_label +
|
|
8318
|
+
"class": TabsStyles.inputfield_label + ' m-0 pb-2 '
|
|
8178
8319
|
}, lang.reservationdate, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8179
8320
|
"class": "col-lg-12 mb-3",
|
|
8180
8321
|
style: {
|
|
8181
|
-
position:
|
|
8182
|
-
height:
|
|
8183
|
-
borderRadius: sectionproperties.inputfieldborderradius +
|
|
8184
|
-
fontSize: sectionproperties.inputfieldfontsize +
|
|
8322
|
+
position: 'relative',
|
|
8323
|
+
height: '40px',
|
|
8324
|
+
borderRadius: sectionproperties.inputfieldborderradius + 'px',
|
|
8325
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
8185
8326
|
color: sectionproperties.inputfieldcolor,
|
|
8186
8327
|
backgroundColor: sectionproperties.input_bgcolor,
|
|
8187
|
-
border: sectionproperties.inputfieldborderWidth +
|
|
8328
|
+
border: sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor
|
|
8188
8329
|
}
|
|
8189
8330
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8190
8331
|
"class": "w-100 px-2 h-100 allcentered",
|
|
@@ -8202,36 +8343,36 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8202
8343
|
// setaddtocardpayloadobj({ ...addtocardpayloadobj, from: date });
|
|
8203
8344
|
if (date) {
|
|
8204
8345
|
var _year = date.getFullYear();
|
|
8205
|
-
var _month = String(date.getMonth() + 1).padStart(2,
|
|
8206
|
-
var _day = String(date.getDate()).padStart(2,
|
|
8346
|
+
var _month = String(date.getMonth() + 1).padStart(2, '0'); // Months are 0-based
|
|
8347
|
+
var _day = String(date.getDate()).padStart(2, '0');
|
|
8207
8348
|
var formattedDate = "".concat(_year, "-").concat(_month, "-").concat(_day);
|
|
8208
8349
|
setaddtocardpayloadobj(_objectSpread$2D(_objectSpread$2D({}, addtocardpayloadobj), {}, {
|
|
8209
8350
|
date: formattedDate,
|
|
8210
|
-
time:
|
|
8351
|
+
time: '',
|
|
8211
8352
|
reservedslotArrtobetaken: [],
|
|
8212
8353
|
quantity: 1
|
|
8213
8354
|
}));
|
|
8214
8355
|
setslots([]);
|
|
8215
|
-
setcurrentmutatestate(
|
|
8356
|
+
setcurrentmutatestate('/fetchserviceslots');
|
|
8216
8357
|
GeneralAPIMutationContext.mutate({
|
|
8217
|
-
endpointurl:
|
|
8358
|
+
endpointurl: '/fetchserviceslots',
|
|
8218
8359
|
productid: fetchProductInfoQueryContext.data.data.productinfo.productid,
|
|
8219
8360
|
reqdate: formattedDate,
|
|
8220
8361
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
8221
8362
|
setslots(data.data.slots);
|
|
8222
8363
|
if (!data.data.slots || data.data.slots.length === 0) {
|
|
8223
|
-
NotificationManager.warning(
|
|
8364
|
+
NotificationManager.warning('', 'Please choose another date');
|
|
8224
8365
|
}
|
|
8225
8366
|
}
|
|
8226
8367
|
});
|
|
8227
8368
|
setselectedfromdate(date);
|
|
8228
8369
|
}
|
|
8229
8370
|
},
|
|
8230
|
-
placeholderText: langdetect !=
|
|
8371
|
+
placeholderText: langdetect != 'ar' ? 'Choose date' : 'اختر تاريخ'
|
|
8231
8372
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8232
8373
|
"class": "h-100 allcentered",
|
|
8233
8374
|
style: {
|
|
8234
|
-
position:
|
|
8375
|
+
position: 'absolute',
|
|
8235
8376
|
right: 15,
|
|
8236
8377
|
bottom: 0,
|
|
8237
8378
|
top: 0,
|
|
@@ -8243,9 +8384,9 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8243
8384
|
})))))), slots.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8244
8385
|
"class": "col-lg-12 col-md-12 col-sm-12"
|
|
8245
8386
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8246
|
-
"class": TabsStyles.inputfield_label +
|
|
8247
|
-
}, langdetect !=
|
|
8248
|
-
className:
|
|
8387
|
+
"class": TabsStyles.inputfield_label + ' p-0 d-flex justify-content-start m-0 '
|
|
8388
|
+
}, langdetect != 'ar' ? sectionproperties.reservationslot_titleen : sectionproperties.reservationslot_titlear), GeneralAPIMutationContext.isLoading && GeneralAPIMutationContext.variables.endpointurl == '/fetchserviceslots' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8389
|
+
className: 'row ml-0 mr-0 w-100 allcentered',
|
|
8249
8390
|
style: {
|
|
8250
8391
|
height: 200
|
|
8251
8392
|
}
|
|
@@ -8254,7 +8395,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8254
8395
|
width: "10px",
|
|
8255
8396
|
height: "10px",
|
|
8256
8397
|
duration: "1s"
|
|
8257
|
-
})), sectionproperties.slots_style ==
|
|
8398
|
+
})), sectionproperties.slots_style == 'Horizontal' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8258
8399
|
"class": "w-100"
|
|
8259
8400
|
}, slots.map(function (item, index) {
|
|
8260
8401
|
var ischoosed = false;
|
|
@@ -8264,7 +8405,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8264
8405
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8265
8406
|
"class": "row m-0 mb-2 d-flex align-items-center w-100"
|
|
8266
8407
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8267
|
-
"class": TabsStyles.time +
|
|
8408
|
+
"class": TabsStyles.time + ' col-lg-6 col-md-6 col-sm-9 p-0 d-flex justify-content-start align-items-center '
|
|
8268
8409
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineClockCircle.AiOutlineClockCircle, {
|
|
8269
8410
|
"class": "ml-1 mr-1"
|
|
8270
8411
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -8272,19 +8413,19 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8272
8413
|
}, item.slot)), item.available && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8273
8414
|
"class": "col-lg-6 col-md-6 col-sm-12 p-0 d-flex d-sm-none justify-content-end justify-content-sm-center align-items-center"
|
|
8274
8415
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8275
|
-
"class": TabsStyles.booknow_btn +
|
|
8416
|
+
"class": TabsStyles.booknow_btn + ' allcentered mt-sm-3 ',
|
|
8276
8417
|
style: {
|
|
8277
|
-
backgroundColor: ischoosed ? sectionproperties.generalbtn_bgColortransparent ==
|
|
8278
|
-
color: ischoosed ? sectionproperties.generalbtn_bgColortransparent ==
|
|
8418
|
+
backgroundColor: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : 'green' : '',
|
|
8419
|
+
color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
|
|
8279
8420
|
},
|
|
8280
8421
|
onClick: function onClick() {
|
|
8281
8422
|
chooseitemslot(item.slot, index);
|
|
8282
8423
|
// setaddtocardpayloadobj({ ...addtocardpayloadobj, time: item.slot });
|
|
8283
8424
|
}
|
|
8284
|
-
}, ischoosed == false && /*#__PURE__*/React__default["default"].createElement("span", null, sectionproperties["slideshow_btn_text_".concat(langdetect)] || sectionproperties.generalbtn_content), ischoosed == true && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect !=
|
|
8425
|
+
}, ischoosed == false && /*#__PURE__*/React__default["default"].createElement("span", null, sectionproperties["slideshow_btn_text_".concat(langdetect)] || sectionproperties.generalbtn_content), ischoosed == true && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect != 'ar' ? sectionproperties.generalbtn_bookedcontent : sectionproperties.generalbtn_bookedcontent_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8285
8426
|
"class": "col-sm-3 p-0 d-none d-sm-flex justify-content-end justify-content-sm-center align-items-sm-center"
|
|
8286
8427
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8287
|
-
"class": TabsStyles.booknow_btn_resp +
|
|
8428
|
+
"class": TabsStyles.booknow_btn_resp + ' allcentered ',
|
|
8288
8429
|
onClick: function onClick() {
|
|
8289
8430
|
setaddtocardpayloadobj(_objectSpread$2D(_objectSpread$2D({}, addtocardpayloadobj), {}, {
|
|
8290
8431
|
time: item.slot
|
|
@@ -8295,19 +8436,19 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8295
8436
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlinePlus.AiOutlinePlus, null))))), !item.available && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8296
8437
|
"class": "col-lg-6 col-md-6 col-sm-9 p-0 d-flex d-sm-none justify-content-end justify-content-sm-center align-items-center"
|
|
8297
8438
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8298
|
-
"class": TabsStyles.booknow_btn +
|
|
8439
|
+
"class": TabsStyles.booknow_btn + ' allcentered mt-sm-3 ',
|
|
8299
8440
|
style: {
|
|
8300
8441
|
opacity: 0.5,
|
|
8301
|
-
cursor:
|
|
8302
|
-
background:
|
|
8442
|
+
cursor: 'not-allowed',
|
|
8443
|
+
background: '#ccc'
|
|
8303
8444
|
}
|
|
8304
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", null, langdetect !=
|
|
8445
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", null, langdetect != 'ar' ? sectionproperties.generalbtn_bookedcontent : sectionproperties.generalbtn_bookedcontent_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8305
8446
|
"class": "col-sm-3 p-0 d-none d-sm-flex justify-content-end justify-content-sm-center align-items-center"
|
|
8306
8447
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8307
|
-
"class": TabsStyles.booknow_btn_resp +
|
|
8448
|
+
"class": TabsStyles.booknow_btn_resp + ' allcentered ',
|
|
8308
8449
|
style: {
|
|
8309
8450
|
opacity: 0.5,
|
|
8310
|
-
cursor:
|
|
8451
|
+
cursor: 'not-allowed'
|
|
8311
8452
|
}
|
|
8312
8453
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8313
8454
|
"class": "allcentered"
|
|
@@ -8316,7 +8457,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8316
8457
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
8317
8458
|
"class": "m-0 mb-3 mt-3"
|
|
8318
8459
|
})));
|
|
8319
|
-
})), sectionproperties.slots_style ==
|
|
8460
|
+
})), sectionproperties.slots_style == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8320
8461
|
"class": "row m-0 w-100 mb-4 mt-3"
|
|
8321
8462
|
}, slots.map(function (item, index) {
|
|
8322
8463
|
var _slot, _slot2;
|
|
@@ -8327,93 +8468,93 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8327
8468
|
var slot = item.slot;
|
|
8328
8469
|
var slotsubstr = (_slot = slot) === null || _slot === void 0 ? void 0 : _slot.substring(0, 2);
|
|
8329
8470
|
var slotsubstr2 = (_slot2 = slot) === null || _slot2 === void 0 ? void 0 : _slot2.substring(2, 5);
|
|
8330
|
-
if (slotsubstr ==
|
|
8331
|
-
slot =
|
|
8332
|
-
} else if (slotsubstr ==
|
|
8333
|
-
slot =
|
|
8334
|
-
} else if (slotsubstr ==
|
|
8335
|
-
slot =
|
|
8336
|
-
} else if (slotsubstr ==
|
|
8337
|
-
slot =
|
|
8338
|
-
} else if (slotsubstr ==
|
|
8339
|
-
slot =
|
|
8340
|
-
} else if (slotsubstr ==
|
|
8341
|
-
slot =
|
|
8342
|
-
} else if (slotsubstr ==
|
|
8343
|
-
slot =
|
|
8344
|
-
} else if (slotsubstr ==
|
|
8345
|
-
slot =
|
|
8346
|
-
} else if (slotsubstr ==
|
|
8347
|
-
slot =
|
|
8348
|
-
} else if (slotsubstr ==
|
|
8349
|
-
slot =
|
|
8350
|
-
} else if (slotsubstr ==
|
|
8351
|
-
slot =
|
|
8352
|
-
} else if (slotsubstr ==
|
|
8353
|
-
slot =
|
|
8354
|
-
} else if (slotsubstr ==
|
|
8355
|
-
slot =
|
|
8356
|
-
} else if (slotsubstr ==
|
|
8357
|
-
slot =
|
|
8358
|
-
} else if (slotsubstr ==
|
|
8359
|
-
slot =
|
|
8360
|
-
} else if (slotsubstr ==
|
|
8361
|
-
slot =
|
|
8362
|
-
} else if (slotsubstr ==
|
|
8363
|
-
slot =
|
|
8364
|
-
} else if (slotsubstr ==
|
|
8365
|
-
slot =
|
|
8366
|
-
} else if (slotsubstr ==
|
|
8367
|
-
slot =
|
|
8368
|
-
} else if (slotsubstr ==
|
|
8369
|
-
slot =
|
|
8370
|
-
} else if (slotsubstr ==
|
|
8371
|
-
slot =
|
|
8372
|
-
} else if (slotsubstr ==
|
|
8373
|
-
slot =
|
|
8374
|
-
} else if (slotsubstr ==
|
|
8375
|
-
slot =
|
|
8376
|
-
} else if (slotsubstr ==
|
|
8377
|
-
slot =
|
|
8471
|
+
if (slotsubstr == '13') {
|
|
8472
|
+
slot = '01' + slotsubstr2 + ' PM';
|
|
8473
|
+
} else if (slotsubstr == '14') {
|
|
8474
|
+
slot = '02' + slotsubstr2 + ' PM';
|
|
8475
|
+
} else if (slotsubstr == '15') {
|
|
8476
|
+
slot = '03' + slotsubstr2 + ' PM';
|
|
8477
|
+
} else if (slotsubstr == '16') {
|
|
8478
|
+
slot = '04' + slotsubstr2 + ' PM';
|
|
8479
|
+
} else if (slotsubstr == '17') {
|
|
8480
|
+
slot = '05' + slotsubstr2 + ' PM';
|
|
8481
|
+
} else if (slotsubstr == '18') {
|
|
8482
|
+
slot = '06' + slotsubstr2 + ' PM';
|
|
8483
|
+
} else if (slotsubstr == '19') {
|
|
8484
|
+
slot = '07' + slotsubstr2 + ' PM';
|
|
8485
|
+
} else if (slotsubstr == '20') {
|
|
8486
|
+
slot = '08' + slotsubstr2 + ' PM';
|
|
8487
|
+
} else if (slotsubstr == '21') {
|
|
8488
|
+
slot = '09' + slotsubstr2 + ' PM';
|
|
8489
|
+
} else if (slotsubstr == '22') {
|
|
8490
|
+
slot = '10' + slotsubstr2 + ' PM';
|
|
8491
|
+
} else if (slotsubstr == '23') {
|
|
8492
|
+
slot = '11' + slotsubstr2 + ' PM';
|
|
8493
|
+
} else if (slotsubstr == '00') {
|
|
8494
|
+
slot = '12' + slotsubstr2 + ' AM';
|
|
8495
|
+
} else if (slotsubstr == '01') {
|
|
8496
|
+
slot = '01' + slotsubstr2 + ' AM';
|
|
8497
|
+
} else if (slotsubstr == '02') {
|
|
8498
|
+
slot = '02' + slotsubstr2 + ' AM';
|
|
8499
|
+
} else if (slotsubstr == '03') {
|
|
8500
|
+
slot = '03' + slotsubstr2 + ' AM';
|
|
8501
|
+
} else if (slotsubstr == '04') {
|
|
8502
|
+
slot = '04' + slotsubstr2 + ' AM';
|
|
8503
|
+
} else if (slotsubstr == '05') {
|
|
8504
|
+
slot = '05' + slotsubstr2 + ' AM';
|
|
8505
|
+
} else if (slotsubstr == '06') {
|
|
8506
|
+
slot = '06' + slotsubstr2 + ' AM';
|
|
8507
|
+
} else if (slotsubstr == '07') {
|
|
8508
|
+
slot = '07' + slotsubstr2 + ' AM';
|
|
8509
|
+
} else if (slotsubstr == '08') {
|
|
8510
|
+
slot = '08' + slotsubstr2 + ' AM';
|
|
8511
|
+
} else if (slotsubstr == '09') {
|
|
8512
|
+
slot = '09' + slotsubstr2 + ' AM';
|
|
8513
|
+
} else if (slotsubstr == '10') {
|
|
8514
|
+
slot = '10' + slotsubstr2 + ' AM';
|
|
8515
|
+
} else if (slotsubstr == '11') {
|
|
8516
|
+
slot = '11' + slotsubstr2 + ' AM';
|
|
8517
|
+
} else if (slotsubstr == '12') {
|
|
8518
|
+
slot = '12' + slotsubstr2 + ' PM';
|
|
8378
8519
|
}
|
|
8379
8520
|
if (item.available) {
|
|
8380
8521
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8381
8522
|
"class": "col-lg-2 col-md-2 col-sm-4 pl-1 pr-1 mb-2"
|
|
8382
8523
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8383
|
-
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active +
|
|
8524
|
+
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
8384
8525
|
style: {},
|
|
8385
8526
|
onClick: function onClick() {
|
|
8386
8527
|
chooseitemslot(item.slot, index);
|
|
8387
8528
|
}
|
|
8388
8529
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8389
|
-
"class":
|
|
8390
|
-
}, sectionproperties.timeformat ==
|
|
8530
|
+
"class": ' p-0 m-0 '
|
|
8531
|
+
}, sectionproperties.timeformat == '24 HOUR CLOCK' ? item.slot : slot)));
|
|
8391
8532
|
} else {
|
|
8392
8533
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8393
8534
|
"class": "col-lg-2 col-md-2 col-sm-4 pl-1 pr-1 mb-2"
|
|
8394
8535
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8395
|
-
"class":
|
|
8536
|
+
"class": ' allcentered px-1 showcrossicon ',
|
|
8396
8537
|
style: {
|
|
8397
|
-
cursor:
|
|
8398
|
-
minWidth:
|
|
8399
|
-
height:
|
|
8400
|
-
borderRadius: sectionproperties.time_borderRadius +
|
|
8538
|
+
cursor: 'not-allowed',
|
|
8539
|
+
minWidth: '6vh',
|
|
8540
|
+
height: '5vh',
|
|
8541
|
+
borderRadius: sectionproperties.time_borderRadius + 'px',
|
|
8401
8542
|
backgroundColor: sectionproperties.time_bgcolor,
|
|
8402
|
-
border: sectionproperties.time_borderwidth +
|
|
8543
|
+
border: sectionproperties.time_borderwidth + 'px solid ' + sectionproperties.time_borderColor,
|
|
8403
8544
|
color: sectionproperties.time_timeColor,
|
|
8404
8545
|
fontWeight: sectionproperties.time_timeFontweight,
|
|
8405
|
-
fontSize: sectionproperties.time_timeFontsize +
|
|
8406
|
-
background:
|
|
8546
|
+
fontSize: sectionproperties.time_timeFontsize + 'px',
|
|
8547
|
+
background: '#ccc'
|
|
8407
8548
|
}
|
|
8408
8549
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8409
|
-
"class":
|
|
8410
|
-
}, sectionproperties.timeformat ==
|
|
8550
|
+
"class": ' p-0 m-0 '
|
|
8551
|
+
}, sectionproperties.timeformat == '24 HOUR CLOCK' ? item.slot : slot)));
|
|
8411
8552
|
}
|
|
8412
8553
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8413
8554
|
className: "col-lg-12 p-0 mb-3"
|
|
8414
8555
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8415
8556
|
className: "row m-0 w-100"
|
|
8416
|
-
}, (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 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.scheduletype) ==
|
|
8557
|
+
}, (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 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.scheduletype) == 'days' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8417
8558
|
className: "col-lg-12 p-0"
|
|
8418
8559
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8419
8560
|
className: "row m-0 w-100"
|
|
@@ -8423,20 +8564,20 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8423
8564
|
className: "m-0 p-0",
|
|
8424
8565
|
style: {
|
|
8425
8566
|
color: sectionproperties.quantitytitlecolor,
|
|
8426
|
-
fontSize: sectionproperties.quantitytitlefontSize +
|
|
8567
|
+
fontSize: sectionproperties.quantitytitlefontSize + 'px',
|
|
8427
8568
|
fontWeight: sectionproperties.quantitytitlefontweight
|
|
8428
8569
|
}
|
|
8429
8570
|
}, {
|
|
8430
|
-
en:
|
|
8431
|
-
ar:
|
|
8432
|
-
fr:
|
|
8433
|
-
es:
|
|
8434
|
-
chin:
|
|
8435
|
-
rus:
|
|
8436
|
-
}[langdetect] ||
|
|
8571
|
+
en: 'Number of days',
|
|
8572
|
+
ar: 'عدد الايام',
|
|
8573
|
+
fr: 'Nombre de jours',
|
|
8574
|
+
es: 'Número de días',
|
|
8575
|
+
chin: '天数',
|
|
8576
|
+
rus: 'Количество дней'
|
|
8577
|
+
}[langdetect] || 'Number of days', ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8437
8578
|
style: {
|
|
8438
8579
|
color: sectionproperties.quantitybtn_textcolor,
|
|
8439
|
-
fontSize: sectionproperties.quantitybtn_textfontsize +
|
|
8580
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
8440
8581
|
fontWeight: sectionproperties.quantitybtn_textfontweight
|
|
8441
8582
|
}
|
|
8442
8583
|
}, addtocardpayloadobj.quantity))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -8447,52 +8588,52 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8447
8588
|
className: "m-0 p-0",
|
|
8448
8589
|
style: {
|
|
8449
8590
|
color: sectionproperties.total_color,
|
|
8450
|
-
fontSize: sectionproperties.total_fontsize +
|
|
8591
|
+
fontSize: sectionproperties.total_fontsize + 'px',
|
|
8451
8592
|
fontWeight: sectionproperties.total_fontweight,
|
|
8452
8593
|
textTransform: sectionproperties.total_texttransform
|
|
8453
8594
|
}
|
|
8454
8595
|
}, lang.total, ":"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8455
8596
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"
|
|
8456
8597
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8457
|
-
className:
|
|
8598
|
+
className: 'm-0 p-0 wordbreak d-flex align-items-center justify-content-end',
|
|
8458
8599
|
style: {
|
|
8459
|
-
fontSize: sectionproperties.prodpriceFontSize +
|
|
8600
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
8460
8601
|
fontWeight: sectionproperties.prodPriceFontWeight,
|
|
8461
8602
|
color: sectionproperties.prodPriceColor
|
|
8462
8603
|
}
|
|
8463
8604
|
}, fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8464
|
-
className: langdetect !=
|
|
8465
|
-
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en,
|
|
8466
|
-
className: langdetect !=
|
|
8467
|
-
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, parseFloat(getprice_discountpriceprops(
|
|
8468
|
-
className:
|
|
8605
|
+
className: langdetect != 'ar' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
8606
|
+
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1)).toFixed(2), " ", langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8607
|
+
className: langdetect != 'ar' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
8608
|
+
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, parseFloat(getprice_discountpriceprops('defaultsaleprice', 1)).toFixed(2), langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8609
|
+
className: 'm-0 p-0 linethrough wordbreak',
|
|
8469
8610
|
style: {
|
|
8470
8611
|
color: sectionproperties.prodsalePriceColor,
|
|
8471
|
-
fontSize: sectionproperties.prodsalepriceFontSize +
|
|
8612
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
8472
8613
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
8473
8614
|
}
|
|
8474
8615
|
}, fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8475
|
-
className: langdetect !=
|
|
8616
|
+
className: langdetect != 'ar' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
8476
8617
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8477
8618
|
className: "ml-2 mr-2"
|
|
8478
|
-
}, "-"), " ", authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en,
|
|
8619
|
+
}, "-"), " ", authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1)).toFixed(2), langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8479
8620
|
"class": "col-lg-12 d-flex align-items-center justify-content-center"
|
|
8480
8621
|
}, /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
|
|
8481
8622
|
actions: props.actions
|
|
8482
8623
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8483
8624
|
"class": "col-lg-12 d-flex d-md-none align-items-center justify-content-center"
|
|
8484
8625
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8485
|
-
className: "".concat(productinfo_cssstyles.cart_btn, " ") +
|
|
8626
|
+
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
8486
8627
|
onClick: function onClick() {
|
|
8487
8628
|
var _fetchProductInfoQuer16, _fetchProductInfoQuer17;
|
|
8488
|
-
if ((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 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.scheduletype) ==
|
|
8629
|
+
if ((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 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.scheduletype) == 'days') {
|
|
8489
8630
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
8490
8631
|
addtocartfunc();
|
|
8491
8632
|
// if (sectionproperties.cartbtntype == 'Goes to checkout') {
|
|
8492
8633
|
// routingcountext(StaticPagesLinksContext.Checkout);
|
|
8493
8634
|
// }
|
|
8494
8635
|
}
|
|
8495
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.serviceinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.scheduletype) ==
|
|
8636
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.serviceinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.scheduletype) == 'minutes') {
|
|
8496
8637
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
8497
8638
|
addtocartfunc();
|
|
8498
8639
|
// if (sectionproperties.cartbtntype == 'Goes to checkout') {
|
|
@@ -8505,80 +8646,80 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8505
8646
|
},
|
|
8506
8647
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
8507
8648
|
}, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8508
|
-
className:
|
|
8649
|
+
className: ' d-flex align-items-center justify-content-center '
|
|
8509
8650
|
}, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8510
|
-
className: langdetect !=
|
|
8511
|
-
}, sectionproperties.carticonstyle ==
|
|
8651
|
+
className: langdetect != 'ar' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
8652
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
8512
8653
|
className: "",
|
|
8513
8654
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8514
|
-
}), sectionproperties.carticonstyle ==
|
|
8655
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
8515
8656
|
className: "",
|
|
8516
8657
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8517
|
-
}), sectionproperties.carticonstyle ==
|
|
8658
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
8518
8659
|
className: "",
|
|
8519
8660
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8520
|
-
}), sectionproperties.carticonstyle ==
|
|
8661
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
|
|
8521
8662
|
className: "",
|
|
8522
8663
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8523
|
-
}), sectionproperties.carticonstyle ==
|
|
8664
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
8524
8665
|
className: "",
|
|
8525
8666
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8526
|
-
}), sectionproperties.carticonstyle ==
|
|
8667
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
8527
8668
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8528
|
-
})), sectionproperties.overwritecertbtntext ==
|
|
8529
|
-
className:
|
|
8669
|
+
})), sectionproperties.overwritecertbtntext == 'Yes' ? langdetect != 'ar' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic : langdetect != 'ar' ? 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.productactionbuttontext_en : 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.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8670
|
+
className: ' d-flex align-items-center justify-content-center '
|
|
8530
8671
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
8531
8672
|
color: "white",
|
|
8532
8673
|
width: "20px",
|
|
8533
8674
|
height: "20px",
|
|
8534
8675
|
duration: "1s"
|
|
8535
|
-
}))), sectionproperties.btnposition ==
|
|
8536
|
-
className: productinfo_cssstyles.wishlist_btn +
|
|
8676
|
+
}))), sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8677
|
+
className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center ml-2 mr-2 ',
|
|
8537
8678
|
onClick: function onClick() {
|
|
8538
8679
|
addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
8539
8680
|
},
|
|
8540
8681
|
style: {
|
|
8541
|
-
background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor :
|
|
8682
|
+
background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
8542
8683
|
}
|
|
8543
8684
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8544
8685
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
8545
8686
|
}, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8546
8687
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
8547
|
-
}, sectionproperties.faviconshape ==
|
|
8688
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
8548
8689
|
size: sectionproperties.favBtnIconfontsize,
|
|
8549
8690
|
style: {
|
|
8550
8691
|
color: sectionproperties.activefaviconcolor
|
|
8551
8692
|
}
|
|
8552
|
-
}), sectionproperties.faviconshape ==
|
|
8693
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
8553
8694
|
size: sectionproperties.favBtnIconfontsize,
|
|
8554
8695
|
style: {
|
|
8555
8696
|
color: sectionproperties.activefaviconcolor
|
|
8556
8697
|
}
|
|
8557
8698
|
})), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8558
8699
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
8559
|
-
}, sectionproperties.faviconshape ==
|
|
8700
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
8560
8701
|
size: sectionproperties.favBtnIconfontsize
|
|
8561
|
-
}), sectionproperties.faviconshape ==
|
|
8702
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
8562
8703
|
size: sectionproperties.favBtnIconfontsize
|
|
8563
8704
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8564
8705
|
"class": "col-lg-12 d-none d-md-flex align-items-center justify-content-center"
|
|
8565
8706
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8566
8707
|
"class": "col-md-9 col-sm-10 d-flex justify-content-center align-items-center "
|
|
8567
8708
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8568
|
-
className: "".concat(productinfo_cssstyles.cart_btn) +
|
|
8709
|
+
className: "".concat(productinfo_cssstyles.cart_btn) + ' w-100 d-flex align-items-center justify-content-center ',
|
|
8569
8710
|
onClick: function onClick() {
|
|
8570
8711
|
var _fetchProductInfoQuer20, _fetchProductInfoQuer21;
|
|
8571
|
-
if ((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 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.serviceinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.scheduletype) ==
|
|
8712
|
+
if ((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 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.serviceinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.scheduletype) == 'days') {
|
|
8572
8713
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
8573
8714
|
addtocartfunc();
|
|
8574
|
-
if (sectionproperties.cartbtntype ==
|
|
8715
|
+
if (sectionproperties.cartbtntype == 'Goes to checkout') {
|
|
8575
8716
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
8576
8717
|
}
|
|
8577
8718
|
}
|
|
8578
|
-
} else if ((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.serviceinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.scheduletype) ==
|
|
8719
|
+
} else if ((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.serviceinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.scheduletype) == 'minutes') {
|
|
8579
8720
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
8580
8721
|
addtocartfunc();
|
|
8581
|
-
if (sectionproperties.cartbtntype ==
|
|
8722
|
+
if (sectionproperties.cartbtntype == 'Goes to checkout') {
|
|
8582
8723
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
8583
8724
|
}
|
|
8584
8725
|
}
|
|
@@ -8588,41 +8729,41 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8588
8729
|
},
|
|
8589
8730
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
8590
8731
|
}, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8591
|
-
className:
|
|
8732
|
+
className: ' d-flex align-items-center justify-content-center '
|
|
8592
8733
|
}, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8593
|
-
className: langdetect !=
|
|
8594
|
-
}, sectionproperties.carticonstyle ==
|
|
8734
|
+
className: langdetect != 'ar' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
8735
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
8595
8736
|
className: "",
|
|
8596
8737
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8597
|
-
}), sectionproperties.carticonstyle ==
|
|
8738
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
8598
8739
|
className: "",
|
|
8599
8740
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8600
|
-
}), sectionproperties.carticonstyle ==
|
|
8741
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
8601
8742
|
className: "",
|
|
8602
8743
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8603
|
-
}), sectionproperties.carticonstyle ==
|
|
8744
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
|
|
8604
8745
|
className: "",
|
|
8605
8746
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8606
|
-
}), sectionproperties.carticonstyle ==
|
|
8747
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
8607
8748
|
className: "",
|
|
8608
8749
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8609
|
-
}), sectionproperties.carticonstyle ==
|
|
8750
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
8610
8751
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8611
|
-
})), sectionproperties.overwritecertbtntext ==
|
|
8612
|
-
className:
|
|
8752
|
+
})), sectionproperties.overwritecertbtntext == 'Yes' ? langdetect != 'ar' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic : langdetect != 'ar' ? 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.productactionbuttontext_en : 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.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8753
|
+
className: ' d-flex align-items-center justify-content-center '
|
|
8613
8754
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
8614
8755
|
color: "white",
|
|
8615
8756
|
width: "20px",
|
|
8616
8757
|
height: "20px",
|
|
8617
8758
|
duration: "1s"
|
|
8618
|
-
})))), sectionproperties.favBtnShow ==
|
|
8759
|
+
})))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8619
8760
|
"class": "col-md-3 col-sm-2"
|
|
8620
8761
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8621
|
-
className: productinfo_cssstyles.wishlist_btn +
|
|
8762
|
+
className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center ',
|
|
8622
8763
|
style: {
|
|
8623
|
-
width: sectionproperties.cartBtnHeight +
|
|
8624
|
-
height: sectionproperties.cartBtnHeight +
|
|
8625
|
-
background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor :
|
|
8764
|
+
width: sectionproperties.cartBtnHeight + 'px',
|
|
8765
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
8766
|
+
background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
8626
8767
|
},
|
|
8627
8768
|
onClick: function onClick() {
|
|
8628
8769
|
addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
@@ -8631,34 +8772,34 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8631
8772
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
8632
8773
|
}, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8633
8774
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
8634
|
-
}, sectionproperties.faviconshape ==
|
|
8775
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
8635
8776
|
size: sectionproperties.favBtnIconfontsize,
|
|
8636
8777
|
style: {
|
|
8637
8778
|
color: sectionproperties.activefaviconcolor
|
|
8638
8779
|
}
|
|
8639
|
-
}), sectionproperties.faviconshape ==
|
|
8780
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
8640
8781
|
size: sectionproperties.favBtnIconfontsize,
|
|
8641
8782
|
style: {
|
|
8642
8783
|
color: sectionproperties.activefaviconcolor
|
|
8643
8784
|
}
|
|
8644
8785
|
})), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8645
8786
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
8646
|
-
}, sectionproperties.faviconshape ==
|
|
8787
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
8647
8788
|
size: sectionproperties.favBtnIconfontsize
|
|
8648
|
-
}), sectionproperties.faviconshape ==
|
|
8789
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
8649
8790
|
size: sectionproperties.favBtnIconfontsize
|
|
8650
|
-
})))))), sectionproperties.showcheckoutbtn ==
|
|
8791
|
+
})))))), sectionproperties.showcheckoutbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8651
8792
|
"class": "col-lg-12 allcentered mt-3"
|
|
8652
8793
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8653
|
-
className: "".concat(productinfo_cssstyles.checkoutbtn, " ") +
|
|
8794
|
+
className: "".concat(productinfo_cssstyles.checkoutbtn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
8654
8795
|
onClick: function onClick() {
|
|
8655
8796
|
var _fetchProductInfoQuer24, _fetchProductInfoQuer25;
|
|
8656
|
-
if ((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 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.serviceinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.scheduletype) ==
|
|
8797
|
+
if ((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 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.serviceinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.scheduletype) == 'days') {
|
|
8657
8798
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
8658
8799
|
addtocartfunc();
|
|
8659
8800
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
8660
8801
|
}
|
|
8661
|
-
} else if ((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 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.serviceinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.scheduletype) ==
|
|
8802
|
+
} else if ((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 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.serviceinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.scheduletype) == 'minutes') {
|
|
8662
8803
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
8663
8804
|
addtocartfunc();
|
|
8664
8805
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
@@ -8672,10 +8813,10 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
8672
8813
|
};
|
|
8673
8814
|
|
|
8674
8815
|
var Service_itemtype = function Service_itemtype(props) {
|
|
8675
|
-
var _css, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _sizeguideimage$;
|
|
8816
|
+
var _css, _fetchProductInfoQuer, _fetchProductInfoQuer2, _authdetailsContext$i, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _sizeguideimage$;
|
|
8676
8817
|
var lang = props.actions.lang;
|
|
8677
8818
|
var langdetect = props.actions.langdetect;
|
|
8678
|
-
|
|
8819
|
+
props.actions.srcfromprops;
|
|
8679
8820
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
8680
8821
|
var addtocartfunc = props.actions.addtocartfunc;
|
|
8681
8822
|
var productimagesarray = props.actions.productimagesarray;
|
|
@@ -8695,11 +8836,11 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
8695
8836
|
var currentshowingimageindex = props.actions.currentshowingimageindex;
|
|
8696
8837
|
var returnpolicyobj = props.actions.returnpolicyobj;
|
|
8697
8838
|
var StoreInfoprops = props.actions.StoreInfoprops;
|
|
8698
|
-
var _useState = React.useState(
|
|
8839
|
+
var _useState = React.useState(''),
|
|
8699
8840
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
8700
8841
|
shareUrl = _useState2[0],
|
|
8701
8842
|
setshareUrl = _useState2[1];
|
|
8702
|
-
var _useState3 = React.useState(
|
|
8843
|
+
var _useState3 = React.useState(''),
|
|
8703
8844
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
8704
8845
|
title = _useState4[0],
|
|
8705
8846
|
settitle = _useState4[1];
|
|
@@ -8715,21 +8856,21 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
8715
8856
|
React.useEffect(function () {
|
|
8716
8857
|
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
8717
8858
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
8718
|
-
itemobj.titlelang =
|
|
8859
|
+
itemobj.titlelang = 'en';
|
|
8719
8860
|
} else {
|
|
8720
|
-
itemobj.titlelang =
|
|
8861
|
+
itemobj.titlelang = 'ar';
|
|
8721
8862
|
}
|
|
8722
8863
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.description_en)) {
|
|
8723
|
-
itemobj.decriptionlang =
|
|
8864
|
+
itemobj.decriptionlang = 'en';
|
|
8724
8865
|
} else {
|
|
8725
|
-
itemobj.decriptionlang =
|
|
8866
|
+
itemobj.decriptionlang = 'ar';
|
|
8726
8867
|
}
|
|
8727
8868
|
setitem(itemobj);
|
|
8728
8869
|
settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
|
|
8729
|
-
setshareUrl(
|
|
8870
|
+
setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
8730
8871
|
}, [props.itemprops]);
|
|
8731
8872
|
function stringIsEnglish(str) {
|
|
8732
|
-
var titlelang =
|
|
8873
|
+
var titlelang = 'English';
|
|
8733
8874
|
var arabic = /[\u0600-\u06FF]/;
|
|
8734
8875
|
if (!arabic.test(str)) {
|
|
8735
8876
|
titlelang = true;
|
|
@@ -8740,113 +8881,113 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
8740
8881
|
}
|
|
8741
8882
|
var ProductName = function ProductName() {
|
|
8742
8883
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8743
|
-
className: "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + " m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15
|
|
8884
|
+
className: props.actions.srcfromprops == 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ',
|
|
8744
8885
|
onClick: function onClick() {
|
|
8745
|
-
if (srcfromprops
|
|
8886
|
+
if (props.actions.srcfromprops == 'templatedraftrouter') {
|
|
8746
8887
|
routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
8747
8888
|
}
|
|
8748
8889
|
},
|
|
8749
8890
|
style: {
|
|
8750
|
-
textAlign: langdetect !=
|
|
8891
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
8751
8892
|
}
|
|
8752
|
-
}, langdetect !=
|
|
8893
|
+
}, langdetect != 'ar' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar);
|
|
8753
8894
|
};
|
|
8754
8895
|
var formstyles = {
|
|
8755
8896
|
input_label_name: glamor.css({
|
|
8756
8897
|
color: sectionproperties.form_labelcolor,
|
|
8757
8898
|
textTransform: sectionproperties.form_labeltexttransform,
|
|
8758
8899
|
fontWeight: sectionproperties.form_labelfontweight,
|
|
8759
|
-
fontSize: sectionproperties.form_labelfontsize +
|
|
8760
|
-
marginBottom: sectionproperties.inputfieldbordertype ==
|
|
8900
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
8901
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
8761
8902
|
}),
|
|
8762
8903
|
form_control: glamor.css((_css = {
|
|
8763
|
-
background:
|
|
8904
|
+
background: 'transparent',
|
|
8764
8905
|
color: sectionproperties.inputfieldcolor,
|
|
8765
|
-
fontSize: sectionproperties.inputfieldfontsize +
|
|
8766
|
-
position:
|
|
8767
|
-
display:
|
|
8768
|
-
alignItems:
|
|
8769
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css, "display",
|
|
8906
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
8907
|
+
position: 'relative',
|
|
8908
|
+
display: 'flex',
|
|
8909
|
+
alignItems: 'center'
|
|
8910
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css, "display", 'block'), "width", '100%'), "padding", '0 10px'), "transition", '.3s'), "border", sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0), "borderBottom", sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor), "borderRadius", sectionproperties.inputfieldborderradius + 'px'), "height", sectionproperties.inputfieldheight + 'px'), "background", sectionproperties.input_bgcolor), "color", sectionproperties.inputfieldcolor), _defineProperty__default["default"](_defineProperty__default["default"](_css, ':focus', {
|
|
8770
8911
|
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
8771
|
-
}),
|
|
8912
|
+
}), ':focus .login_input_icon', {
|
|
8772
8913
|
color: sectionproperties.inputfeildbordercoloronfocus
|
|
8773
8914
|
}))),
|
|
8774
8915
|
sizeguidebtn: glamor.css({
|
|
8775
8916
|
color: sectionproperties.sizeguidebtncolor,
|
|
8776
|
-
fontSize: sectionproperties.sizeguidebtnfontsize +
|
|
8777
|
-
transition:
|
|
8778
|
-
textDecoration:
|
|
8779
|
-
|
|
8917
|
+
fontSize: sectionproperties.sizeguidebtnfontsize + 'px',
|
|
8918
|
+
transition: '.3s',
|
|
8919
|
+
textDecoration: 'underline',
|
|
8920
|
+
':hover': {
|
|
8780
8921
|
color: sectionproperties.sizeguidebtncoloronhover,
|
|
8781
8922
|
fontWeight: sectionproperties.sizeguidebtnfontweight
|
|
8782
8923
|
}
|
|
8783
8924
|
}),
|
|
8784
8925
|
closemodalbtn: glamor.css({
|
|
8785
8926
|
color: sectionproperties.sizeguidebtncolor,
|
|
8786
|
-
transition:
|
|
8787
|
-
|
|
8927
|
+
transition: '.3s',
|
|
8928
|
+
':hover': {
|
|
8788
8929
|
color: sectionproperties.sizeguidebtncoloronhover
|
|
8789
8930
|
}
|
|
8790
8931
|
})
|
|
8791
8932
|
};
|
|
8792
8933
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8793
|
-
"class":
|
|
8934
|
+
"class": ' col-lg-12 p-0 '
|
|
8794
8935
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8795
|
-
"class": "".concat(productinfo_cssstyles.cardcontainer) +
|
|
8936
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
8796
8937
|
style: {
|
|
8797
|
-
minHeight: sectionproperties.height +
|
|
8938
|
+
minHeight: sectionproperties.height + 'vh'
|
|
8798
8939
|
}
|
|
8799
|
-
}, sectionproperties.gallerystyle ==
|
|
8940
|
+
}, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8800
8941
|
"class": "w-100 scrollhorizontalwithscrollbar"
|
|
8801
8942
|
}, (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 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productimages) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.length) != 0 && (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.productimages.map(function (item, index) {
|
|
8802
8943
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8803
|
-
"class":
|
|
8944
|
+
"class": ' scrollhorizontalcard mx-2 ',
|
|
8804
8945
|
style: {
|
|
8805
|
-
height: sectionproperties.image_height +
|
|
8806
|
-
width: sectionproperties.image_width +
|
|
8946
|
+
height: sectionproperties.image_height + 'px',
|
|
8947
|
+
width: sectionproperties.image_width + 'px'
|
|
8807
8948
|
}
|
|
8808
8949
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
8809
8950
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
8810
8951
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
8811
|
-
path:
|
|
8952
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.path,
|
|
8812
8953
|
style: {
|
|
8813
|
-
width:
|
|
8814
|
-
height:
|
|
8815
|
-
objectFit:
|
|
8954
|
+
width: '100%',
|
|
8955
|
+
height: '100%',
|
|
8956
|
+
objectFit: 'contain'
|
|
8816
8957
|
},
|
|
8817
8958
|
loading: "lazy"
|
|
8818
8959
|
}));
|
|
8819
8960
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8820
|
-
className: sectionproperties.showfooterphonenumber ==
|
|
8961
|
+
className: sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' && sectionproperties.showstoreinfo2 == 'Hide' && sectionproperties.showstoreinfo1 == 'Hide' ? 'col-lg-12 p-0' : langdetect != 'ar' ? 'col-lg-9 pl-0 mb-md-3 p-md-0' : 'col-lg-9 pr-0 mb-md-3 p-md-0'
|
|
8821
8962
|
// className={langdetect != 'ar' ? 'col-lg-9 pl-0 mb-md-3 p-md-0' : 'col-lg-9 pr-0 mb-md-3 p-md-0'}
|
|
8822
8963
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8823
|
-
className:
|
|
8824
|
-
}, sectionproperties.gallerystyle ==
|
|
8825
|
-
className: sectionproperties.galleryNumberOfCols == 4 ?
|
|
8964
|
+
className: 'row m-0 w-100'
|
|
8965
|
+
}, sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8966
|
+
className: sectionproperties.galleryNumberOfCols == 4 ? ' col-xl-4 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1 ' : ' col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1 '
|
|
8826
8967
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8827
8968
|
className: "col-lg-12 p-0 ",
|
|
8828
8969
|
style: {
|
|
8829
|
-
width:
|
|
8830
|
-
height:
|
|
8970
|
+
width: '100%',
|
|
8971
|
+
height: 'auto'
|
|
8831
8972
|
}
|
|
8832
8973
|
}, productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
8833
8974
|
items: productimagesarray,
|
|
8834
|
-
thumbnailPosition: sectionproperties.thumbnailposition ==
|
|
8975
|
+
thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
|
|
8835
8976
|
showNav: false,
|
|
8836
8977
|
showPlayButton: false,
|
|
8837
|
-
showFullscreenButton: sectionproperties.showgalleryfullscreenbtn ==
|
|
8838
|
-
showThumbnails: sectionproperties.showthumbnail ==
|
|
8978
|
+
showFullscreenButton: sectionproperties.showgalleryfullscreenbtn == 'Yes' ? true : false,
|
|
8979
|
+
showThumbnails: sectionproperties.showthumbnail == 'Hide' ? false : true,
|
|
8839
8980
|
startIndex: currentshowingimageindex
|
|
8840
|
-
})), sectionproperties.showShareButton ==
|
|
8841
|
-
"class": sectionproperties.thumbnailposition ==
|
|
8981
|
+
})), sectionproperties.showShareButton == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8982
|
+
"class": sectionproperties.thumbnailposition == 'Bottom' ? 'col-lg-12 d-flex justify-content-center flex-column align-items-center p-0 mt-5' : 'col-lg-12 d-flex justify-content-center flex-column align-items-center p-0 mt-2'
|
|
8842
8983
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8843
8984
|
"class": "m-0 p-0",
|
|
8844
8985
|
style: {
|
|
8845
8986
|
fontWeight: sectionproperties.sharebtn_FontWeight,
|
|
8846
8987
|
color: sectionproperties.sharebtn_color,
|
|
8847
|
-
fontSize: sectionproperties.sharebtn_fontSize +
|
|
8988
|
+
fontSize: sectionproperties.sharebtn_fontSize + 'px'
|
|
8848
8989
|
}
|
|
8849
|
-
}, langdetect !=
|
|
8990
|
+
}, langdetect != 'ar' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8850
8991
|
className: "Demo__container w-100 m-0 allcentered mt-3"
|
|
8851
8992
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8852
8993
|
className: "Demo__some-network ml-2 mr-2"
|
|
@@ -8876,7 +9017,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
8876
9017
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappIcon, {
|
|
8877
9018
|
size: 40,
|
|
8878
9019
|
round: true
|
|
8879
|
-
}))), sectionproperties.showsharelinkedin ==
|
|
9020
|
+
}))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8880
9021
|
className: "Demo__some-network ml-2 mr-2"
|
|
8881
9022
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinShareButton, {
|
|
8882
9023
|
url: shareUrl,
|
|
@@ -8887,37 +9028,37 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
8887
9028
|
size: 40,
|
|
8888
9029
|
round: true
|
|
8889
9030
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8890
|
-
className: sectionproperties.gallerystyle ==
|
|
9031
|
+
className: sectionproperties.gallerystyle == 'Style 1' ? langdetect != 'ar' ? sectionproperties.galleryNumberOfCols == 4 ? 'col-xl-8 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : sectionproperties.galleryNumberOfCols == 4 ? 'col-xl-8 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 pl-0 pr-4 p-md-0 mt-5'
|
|
8891
9032
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8892
9033
|
"class": "row m-0 w-100"
|
|
8893
9034
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8894
|
-
className:
|
|
9035
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) == '68e4efe8cb18e' ? 'col-12 col-sm-12 p-0 mb-1 d-flex d-md-none justify-content-start align-items-center' : 'col-xl-8 col-lg-7 col-md-8 col-sm-12 p-0 mb-1 d-flex d-md-none justify-content-start align-items-center'
|
|
8895
9036
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8896
9037
|
"class": "row m-0 w-100"
|
|
8897
|
-
}, (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.vendorinfo) != null && sectionproperties.showvendor ==
|
|
9038
|
+
}, (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.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8898
9039
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
8899
9040
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8900
9041
|
"class": "m-0 p-0",
|
|
8901
9042
|
style: {
|
|
8902
|
-
color:
|
|
9043
|
+
color: '#000'
|
|
8903
9044
|
}
|
|
8904
|
-
}, sectionproperties["vendortitle".concat(langdetect)] || sectionproperties.vendortitleen, ":",
|
|
9045
|
+
}, sectionproperties["vendortitle".concat(langdetect)] || sectionproperties.vendortitleen, ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8905
9046
|
style: {
|
|
8906
9047
|
fontWeight: 600
|
|
8907
9048
|
}
|
|
8908
9049
|
}, 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 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.vendorinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.vendorname))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8909
|
-
"class":
|
|
8910
|
-
}, ProductName()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8911
|
-
"class": "col-
|
|
9050
|
+
"class": (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.productcanrate) == 1 && sectionproperties.showrating == 'Show' ? 'col-9 p-0 d-flex justify-content-start' : 'col-lg-12 p-0 d-flex justify-content-start'
|
|
9051
|
+
}, ProductName()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9052
|
+
"class": "col-3 p-0 d-flex justify-content-end"
|
|
8912
9053
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
8913
9054
|
count: 5,
|
|
8914
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9055
|
+
value: 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.productoverallrate,
|
|
8915
9056
|
edit: false,
|
|
8916
9057
|
size: 18,
|
|
8917
9058
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8918
9059
|
className: "far fa-star",
|
|
8919
9060
|
style: {
|
|
8920
|
-
color:
|
|
9061
|
+
color: '#FAB400'
|
|
8921
9062
|
}
|
|
8922
9063
|
}),
|
|
8923
9064
|
halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -8926,117 +9067,117 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
8926
9067
|
filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8927
9068
|
className: "fa fa-star",
|
|
8928
9069
|
style: {
|
|
8929
|
-
color:
|
|
9070
|
+
color: '#FAB400'
|
|
8930
9071
|
}
|
|
8931
9072
|
}),
|
|
8932
9073
|
activeColor: "#ffd700"
|
|
8933
9074
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8934
9075
|
className: "col-xl-4 col-lg-5 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end justify-content-md-start align-items-center"
|
|
8935
|
-
}, sectionproperties.availabilitybtnposition ==
|
|
9076
|
+
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8936
9077
|
"class": "d-flex justify-content-center align-items-center ml-2 mr-2 m-md-0",
|
|
8937
9078
|
style: {
|
|
8938
|
-
minWidth: sectionproperties.availability_width +
|
|
8939
|
-
height: sectionproperties.availability_height +
|
|
8940
|
-
background: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype ==
|
|
8941
|
-
borderRadius: sectionproperties.availability_borderrradius +
|
|
8942
|
-
border: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype ==
|
|
9079
|
+
minWidth: sectionproperties.availability_width + 'px',
|
|
9080
|
+
height: sectionproperties.availability_height + 'px',
|
|
9081
|
+
background: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? sectionproperties.availability_availablebgcolor : sectionproperties.availability_limitedbgcolor,
|
|
9082
|
+
borderRadius: sectionproperties.availability_borderrradius + 'px',
|
|
9083
|
+
border: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? sectionproperties.availability_borderwidtth + 'px solid ' + sectionproperties.availability_availabletextcolor : sectionproperties.availability_borderwidtth + 'px solid ' + sectionproperties.availability_limitedtextcolor
|
|
8943
9084
|
}
|
|
8944
9085
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8945
9086
|
"class": "m-0 p-0 font-weight-500 wordbreak",
|
|
8946
9087
|
style: {
|
|
8947
|
-
color: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype ==
|
|
8948
|
-
fontSize: sectionproperties.availability_fontsize +
|
|
9088
|
+
color: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? sectionproperties.availability_availabletextcolor : sectionproperties.availability_limitedtextcolor,
|
|
9089
|
+
fontSize: sectionproperties.availability_fontsize + 'px'
|
|
8949
9090
|
}
|
|
8950
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype ==
|
|
8951
|
-
className: productinfo_cssstyles.wishlist_btn +
|
|
9091
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)), sectionproperties.btnposition == 'Top' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9092
|
+
className: productinfo_cssstyles.wishlist_btn + ' d-flex d-md-none justify-content-center align-items-center ml-2 mr-2 ',
|
|
8952
9093
|
onClick: function onClick() {
|
|
8953
9094
|
addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
8954
9095
|
},
|
|
8955
9096
|
style: {
|
|
8956
|
-
background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor :
|
|
9097
|
+
background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
8957
9098
|
}
|
|
8958
9099
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8959
9100
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
8960
9101
|
}, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8961
9102
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
8962
|
-
}, sectionproperties.faviconshape ==
|
|
9103
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar, {
|
|
8963
9104
|
size: sectionproperties.favBtnIconfontsize,
|
|
8964
9105
|
style: {
|
|
8965
9106
|
color: sectionproperties.activefaviconcolor
|
|
8966
9107
|
}
|
|
8967
|
-
}), sectionproperties.faviconshape ==
|
|
9108
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart, {
|
|
8968
9109
|
size: sectionproperties.favBtnIconfontsize,
|
|
8969
9110
|
style: {
|
|
8970
9111
|
color: sectionproperties.activefaviconcolor
|
|
8971
9112
|
}
|
|
8972
9113
|
})), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8973
9114
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
8974
|
-
}, sectionproperties.faviconshape ==
|
|
9115
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
8975
9116
|
size: sectionproperties.favBtnIconfontsize
|
|
8976
|
-
}), sectionproperties.faviconshape ==
|
|
9117
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
8977
9118
|
size: sectionproperties.favBtnIconfontsize
|
|
8978
9119
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8979
9120
|
className: "col-lg-8 col-md-8 col-sm-12 p-0 mb-1 d-none d-sm-flex justify-content-start align-items-center"
|
|
8980
9121
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8981
9122
|
"class": "row m-0 w-100"
|
|
8982
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9123
|
+
}, (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.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8983
9124
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
8984
9125
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8985
9126
|
"class": "m-0 p-0",
|
|
8986
9127
|
style: {
|
|
8987
|
-
color:
|
|
9128
|
+
color: '#000'
|
|
8988
9129
|
}
|
|
8989
|
-
}, sectionproperties["vendortitle".concat(langdetect)] || sectionproperties.vendortitleen, ":",
|
|
9130
|
+
}, sectionproperties["vendortitle".concat(langdetect)] || sectionproperties.vendortitleen, ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8990
9131
|
style: {
|
|
8991
9132
|
fontWeight: 600
|
|
8992
9133
|
}
|
|
8993
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9134
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer0 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.productinfo) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.vendorinfo) === null || _fetchProductInfoQuer0 === void 0 ? void 0 : _fetchProductInfoQuer0.vendorname))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8994
9135
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
8995
9136
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8996
9137
|
"class": "row m-0 w-100"
|
|
8997
9138
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8998
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9139
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer1 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.productinfo) === null || _fetchProductInfoQuer1 === void 0 ? void 0 : _fetchProductInfoQuer1.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'
|
|
8999
9140
|
}, ProductName()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9000
9141
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
9001
|
-
}, sectionproperties.btnposition ==
|
|
9002
|
-
className: productinfo_cssstyles.wishlist_btn +
|
|
9142
|
+
}, sectionproperties.btnposition == 'Top' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9143
|
+
className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center ml-2 mr-2 ',
|
|
9003
9144
|
onClick: function onClick() {
|
|
9004
9145
|
addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
9005
9146
|
},
|
|
9006
9147
|
style: {
|
|
9007
|
-
background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor :
|
|
9148
|
+
background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
9008
9149
|
}
|
|
9009
9150
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9010
9151
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
9011
9152
|
}, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9012
9153
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
9013
|
-
}, sectionproperties.faviconshape ==
|
|
9154
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar, {
|
|
9014
9155
|
size: sectionproperties.favBtnIconfontsize,
|
|
9015
9156
|
style: {
|
|
9016
9157
|
color: sectionproperties.activefaviconcolor
|
|
9017
9158
|
}
|
|
9018
|
-
}), sectionproperties.faviconshape ==
|
|
9159
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart, {
|
|
9019
9160
|
size: sectionproperties.favBtnIconfontsize,
|
|
9020
9161
|
style: {
|
|
9021
9162
|
color: sectionproperties.activefaviconcolor
|
|
9022
9163
|
}
|
|
9023
9164
|
})), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9024
9165
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
9025
|
-
}, sectionproperties.faviconshape ==
|
|
9166
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
9026
9167
|
size: sectionproperties.favBtnIconfontsize
|
|
9027
|
-
}), sectionproperties.faviconshape ==
|
|
9168
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
9028
9169
|
size: sectionproperties.favBtnIconfontsize
|
|
9029
|
-
}))))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9170
|
+
}))))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9030
9171
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
9031
9172
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
9032
9173
|
count: 5,
|
|
9033
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9174
|
+
value: 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.productoverallrate,
|
|
9034
9175
|
edit: false,
|
|
9035
9176
|
size: 18,
|
|
9036
9177
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9037
9178
|
className: "far fa-star",
|
|
9038
9179
|
style: {
|
|
9039
|
-
color:
|
|
9180
|
+
color: '#FAB400'
|
|
9040
9181
|
}
|
|
9041
9182
|
}),
|
|
9042
9183
|
halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -9045,32 +9186,32 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9045
9186
|
filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9046
9187
|
className: "fa fa-star",
|
|
9047
9188
|
style: {
|
|
9048
|
-
color:
|
|
9189
|
+
color: '#FAB400'
|
|
9049
9190
|
}
|
|
9050
9191
|
}),
|
|
9051
9192
|
activeColor: "#ffd700"
|
|
9052
|
-
})))), sectionproperties.showSKU ==
|
|
9053
|
-
"class": sectionproperties.deliverytimeshow ==
|
|
9193
|
+
})))), sectionproperties.showSKU == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9194
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (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.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'
|
|
9054
9195
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9055
9196
|
"class": "m-0 p-0 d-flex justify-content-start"
|
|
9056
9197
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9057
9198
|
style: {
|
|
9058
9199
|
color: sectionproperties.skuColor,
|
|
9059
9200
|
fontWeight: sectionproperties.skuFontWeight,
|
|
9060
|
-
fontSize: sectionproperties.skuFontSize +
|
|
9061
|
-
textAlign: langdetect !=
|
|
9201
|
+
fontSize: sectionproperties.skuFontSize + 'px',
|
|
9202
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
9062
9203
|
}
|
|
9063
|
-
}, langdetect !=
|
|
9204
|
+
}, langdetect != 'ar' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9064
9205
|
"class": "ml-1 mr-1",
|
|
9065
9206
|
style: {
|
|
9066
|
-
color:
|
|
9207
|
+
color: '#7e859b',
|
|
9067
9208
|
fontWeight: sectionproperties.skuSecondaryFontWeight,
|
|
9068
|
-
fontSize: sectionproperties.skuFontSize +
|
|
9069
|
-
textAlign: langdetect !=
|
|
9209
|
+
fontSize: sectionproperties.skuFontSize + 'px',
|
|
9210
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
9070
9211
|
}
|
|
9071
9212
|
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
9072
9213
|
actions: props.actions
|
|
9073
|
-
}), sectionproperties.descriptionstyle ==
|
|
9214
|
+
}), sectionproperties.descriptionstyle == 'Style 1' && sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9074
9215
|
"class": "col-lg-12 col-md-12 p-md-0"
|
|
9075
9216
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9076
9217
|
"class": "row m-0 w-100"
|
|
@@ -9079,32 +9220,32 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9079
9220
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9080
9221
|
"class": "m-0 p-0",
|
|
9081
9222
|
style: {
|
|
9082
|
-
textAlign: langdetect !=
|
|
9223
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9083
9224
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
9084
9225
|
color: sectionproperties.prodCatColor,
|
|
9085
|
-
fontSize: sectionproperties.prodCatFontSize +
|
|
9226
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
9086
9227
|
}
|
|
9087
9228
|
}, sectionproperties["descriptionContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.descriptionContentEn))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9088
9229
|
"class": "col-lg-12 p-0 mt-3"
|
|
9089
9230
|
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
9090
9231
|
actions: props.actions,
|
|
9091
|
-
srcfromprops:
|
|
9092
|
-
}))), sectionproperties.deliverytimeshow ==
|
|
9093
|
-
"class": sectionproperties.gallerystyle ==
|
|
9232
|
+
srcfromprops: 'service'
|
|
9233
|
+
}))), sectionproperties.deliverytimeshow == 'Show' && (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 ? void 0 : _fetchProductInfoQuer13.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9234
|
+
"class": sectionproperties.gallerystyle == 'Style 2' ? 'mb-4 col-lg-6 d-flex flex-row flex-sm-column allcentered' : 'mb-4 col-lg-12 d-flex flex-row flex-sm-column allcentered',
|
|
9094
9235
|
style: {
|
|
9095
|
-
width:
|
|
9236
|
+
width: '100%',
|
|
9096
9237
|
backgroundColor: sectionproperties.deliverytimecontainerBg,
|
|
9097
|
-
paddingLeft: sectionproperties.deliverytimecontainerpaddinghorizontal +
|
|
9098
|
-
paddingRight: sectionproperties.deliverytimecontainerpaddinghorizontal +
|
|
9099
|
-
paddingTop: sectionproperties.deliverytimecontainerpaddingvertical +
|
|
9100
|
-
paddingBottom: sectionproperties.deliverytimecontainerpaddingvertical +
|
|
9101
|
-
border: sectionproperties.deliverytimecontainerborderwidth +
|
|
9102
|
-
borderRadius: sectionproperties.deliverytimecontainerborderradius +
|
|
9103
|
-
fontSize: sectionproperties.deliverytimecontainerfontsize +
|
|
9238
|
+
paddingLeft: sectionproperties.deliverytimecontainerpaddinghorizontal + 'px',
|
|
9239
|
+
paddingRight: sectionproperties.deliverytimecontainerpaddinghorizontal + 'px',
|
|
9240
|
+
paddingTop: sectionproperties.deliverytimecontainerpaddingvertical + 'px',
|
|
9241
|
+
paddingBottom: sectionproperties.deliverytimecontainerpaddingvertical + 'px',
|
|
9242
|
+
border: sectionproperties.deliverytimecontainerborderwidth + 'px solid ' + sectionproperties.deliverytimecontainerbordercolor,
|
|
9243
|
+
borderRadius: sectionproperties.deliverytimecontainerborderradius + 'px',
|
|
9244
|
+
fontSize: sectionproperties.deliverytimecontainerfontsize + 'px',
|
|
9104
9245
|
fontWeight: sectionproperties.deliverytimecontainerfontWeight,
|
|
9105
9246
|
marginTop: 15
|
|
9106
9247
|
}
|
|
9107
|
-
}, sectionproperties.showdeliverytitle ==
|
|
9248
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9108
9249
|
"class": "m-0 p-0 ",
|
|
9109
9250
|
style: {
|
|
9110
9251
|
// textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
@@ -9115,11 +9256,11 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9115
9256
|
// textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9116
9257
|
color: sectionproperties.deliverytimecontainercolor
|
|
9117
9258
|
}
|
|
9118
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9259
|
+
}, 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 ? void 0 : _fetchProductInfoQuer14.deliverydatetext)), sectionproperties.showfeatures == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9119
9260
|
"class": "col-lg-12 text-start p-md-0"
|
|
9120
9261
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9121
9262
|
className: "row m-0 w-100"
|
|
9122
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9263
|
+
}, 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 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productfeatures) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.map(function (fitem, findex) {
|
|
9123
9264
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9124
9265
|
"class": "col-lg-4 col-md-12 p-0 mb-3 mt-2"
|
|
9125
9266
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -9128,17 +9269,17 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9128
9269
|
"class": "col-lg-12 text-start mb-3 text-uppercase p-0"
|
|
9129
9270
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9130
9271
|
style: {
|
|
9131
|
-
width:
|
|
9272
|
+
width: '20px'
|
|
9132
9273
|
},
|
|
9133
|
-
"class": langdetect !=
|
|
9274
|
+
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
9134
9275
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
9135
9276
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
9136
9277
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
9137
9278
|
path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
|
|
9138
9279
|
loading: "lazy",
|
|
9139
9280
|
style: {
|
|
9140
|
-
maxWidth:
|
|
9141
|
-
maxHeight:
|
|
9281
|
+
maxWidth: '100%',
|
|
9282
|
+
maxHeight: '100%'
|
|
9142
9283
|
}
|
|
9143
9284
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9144
9285
|
"class": "m-0 p-0",
|
|
@@ -9157,7 +9298,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9157
9298
|
fontSize: sectionproperties.featurevaluefontsize
|
|
9158
9299
|
}
|
|
9159
9300
|
}, fitem["value_".concat(langdetect)] || (fitem === null || fitem === void 0 ? void 0 : fitem.value_en)))));
|
|
9160
|
-
}))), sectionproperties.descriptionstyle ==
|
|
9301
|
+
}))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9161
9302
|
"class": "col-lg-12 col-md-12 p-md-0 mt-3"
|
|
9162
9303
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
9163
9304
|
allowMultipleExpanded: true,
|
|
@@ -9169,23 +9310,23 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9169
9310
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9170
9311
|
"class": "m-0 p-0",
|
|
9171
9312
|
style: {
|
|
9172
|
-
textAlign: langdetect !=
|
|
9313
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9173
9314
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
9174
9315
|
color: sectionproperties.prodCatColor,
|
|
9175
|
-
fontSize: sectionproperties.prodCatFontSize +
|
|
9316
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
9176
9317
|
}
|
|
9177
9318
|
}, sectionproperties["descriptionContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.descriptionContentEn)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9178
9319
|
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
9179
9320
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
9180
9321
|
if (state.expanded == true) {
|
|
9181
9322
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9182
|
-
className:
|
|
9323
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
9183
9324
|
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
9184
9325
|
color: sectionproperties.prodCatColor
|
|
9185
9326
|
}));
|
|
9186
9327
|
} else {
|
|
9187
9328
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9188
|
-
className:
|
|
9329
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
9189
9330
|
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
9190
9331
|
color: sectionproperties.prodCatColor
|
|
9191
9332
|
}));
|
|
@@ -9196,12 +9337,12 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9196
9337
|
"class": "col-lg-12 p-0 mt-3"
|
|
9197
9338
|
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
9198
9339
|
actions: props.actions,
|
|
9199
|
-
srcfromprops:
|
|
9200
|
-
})))))), sectionproperties.descriptionstyle ==
|
|
9340
|
+
srcfromprops: 'service'
|
|
9341
|
+
})))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9201
9342
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
9202
9343
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
9203
9344
|
"class": "m-0"
|
|
9204
|
-
})), sectionproperties.descriptionstyle ==
|
|
9345
|
+
})), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9205
9346
|
"class": "col-lg-12 col-md-12 p-md-0"
|
|
9206
9347
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
9207
9348
|
allowMultipleExpanded: true,
|
|
@@ -9213,23 +9354,23 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9213
9354
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9214
9355
|
"class": "m-0 p-0",
|
|
9215
9356
|
style: {
|
|
9216
|
-
textAlign: langdetect !=
|
|
9357
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9217
9358
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
9218
9359
|
color: sectionproperties.prodCatColor,
|
|
9219
|
-
fontSize: sectionproperties.prodCatFontSize +
|
|
9360
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
9220
9361
|
}
|
|
9221
|
-
}, langdetect !=
|
|
9362
|
+
}, langdetect != 'ar' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9222
9363
|
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
9223
9364
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
9224
9365
|
if (state.expanded == true) {
|
|
9225
9366
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9226
|
-
className:
|
|
9367
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
9227
9368
|
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
9228
9369
|
color: sectionproperties.prodCatColor
|
|
9229
9370
|
}));
|
|
9230
9371
|
} else {
|
|
9231
9372
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9232
|
-
className:
|
|
9373
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
9233
9374
|
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
9234
9375
|
color: sectionproperties.prodCatColor
|
|
9235
9376
|
}));
|
|
@@ -9239,19 +9380,19 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9239
9380
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9240
9381
|
"class": "col-lg-12 p-0 mt-3"
|
|
9241
9382
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9242
|
-
className:
|
|
9383
|
+
className: 'm-0 p-0 wordbreak',
|
|
9243
9384
|
style: {
|
|
9244
|
-
textAlign: langdetect !=
|
|
9385
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9245
9386
|
color: sectionproperties.prodCatColor
|
|
9246
9387
|
},
|
|
9247
9388
|
dangerouslySetInnerHTML: {
|
|
9248
|
-
__html: langdetect !=
|
|
9389
|
+
__html: langdetect != 'ar' ? 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.short_description_en : 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.short_description_ar
|
|
9249
9390
|
}
|
|
9250
|
-
})))))), sectionproperties.descriptionstyle ==
|
|
9391
|
+
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9251
9392
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
9252
9393
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
9253
9394
|
"class": "m-0"
|
|
9254
|
-
})), sectionproperties.descriptionstyle ==
|
|
9395
|
+
})), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showfirstpolicy == 'Show' && sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9255
9396
|
"class": "col-lg-12 col-md-12 p-md-0"
|
|
9256
9397
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
9257
9398
|
allowMultipleExpanded: true,
|
|
@@ -9263,30 +9404,30 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9263
9404
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9264
9405
|
"class": "m-0 p-0 ",
|
|
9265
9406
|
style: {
|
|
9266
|
-
textAlign: langdetect !=
|
|
9407
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9267
9408
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
9268
9409
|
color: sectionproperties.prodCatColor,
|
|
9269
|
-
fontSize: sectionproperties.prodCatFontSize +
|
|
9410
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
9270
9411
|
}
|
|
9271
9412
|
}, sectionproperties["policiestitle".concat(langdetect)] || sectionproperties.policiestitleen)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9272
9413
|
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
9273
9414
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
9274
9415
|
if (state.expanded == true) {
|
|
9275
9416
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9276
|
-
className:
|
|
9417
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
9277
9418
|
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
9278
9419
|
color: sectionproperties.prodCatColor
|
|
9279
9420
|
}));
|
|
9280
9421
|
} else {
|
|
9281
9422
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9282
|
-
className:
|
|
9423
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
9283
9424
|
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
9284
9425
|
color: sectionproperties.prodCatColor
|
|
9285
9426
|
}));
|
|
9286
9427
|
}
|
|
9287
9428
|
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
9288
9429
|
className: "p-0"
|
|
9289
|
-
}, sectionproperties.showfirstpolicy ==
|
|
9430
|
+
}, sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9290
9431
|
"class": "col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"
|
|
9291
9432
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9292
9433
|
"class": "h-100 allcentered mx-2"
|
|
@@ -9298,31 +9439,31 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9298
9439
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9299
9440
|
"class": "m-0 p-0 text-uppercase",
|
|
9300
9441
|
style: {
|
|
9301
|
-
textAlign: langdetect !=
|
|
9442
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9302
9443
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
9303
9444
|
color: sectionproperties.prodCatColor,
|
|
9304
|
-
fontSize:
|
|
9445
|
+
fontSize: '14px'
|
|
9305
9446
|
}
|
|
9306
|
-
}, returnpolicyobj(
|
|
9447
|
+
}, returnpolicyobj('Shipping Policy')["policypagename_".concat(langdetect)] || ((_returnpolicyobj = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en))), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9307
9448
|
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
9308
9449
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9309
|
-
className:
|
|
9450
|
+
className: ' m-0 p-0 wordbreak ',
|
|
9310
9451
|
style: {
|
|
9311
|
-
textAlign: langdetect !=
|
|
9452
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9312
9453
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
9313
9454
|
color: sectionproperties.prodCatColor,
|
|
9314
|
-
fontSize:
|
|
9455
|
+
fontSize: '15px'
|
|
9315
9456
|
},
|
|
9316
9457
|
dangerouslySetInnerHTML: {
|
|
9317
|
-
__html: langdetect !=
|
|
9458
|
+
__html: langdetect != 'ar' ? (_returnpolicyobj2 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policysummary_en : (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policysummary_ar
|
|
9318
9459
|
}
|
|
9319
|
-
})), sectionproperties.showfirstpolicy ==
|
|
9460
|
+
})), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9320
9461
|
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
9321
9462
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9322
|
-
className:
|
|
9463
|
+
className: ' m-0 p-0 wordbreak cursor-pointer ',
|
|
9323
9464
|
style: {
|
|
9324
|
-
textAlign: langdetect !=
|
|
9325
|
-
textDecoration:
|
|
9465
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9466
|
+
textDecoration: 'underline',
|
|
9326
9467
|
color: sectionproperties.prodCatColor
|
|
9327
9468
|
},
|
|
9328
9469
|
onClick: function onClick() {
|
|
@@ -9340,41 +9481,41 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9340
9481
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9341
9482
|
"class": "m-0 p-0 text-uppercase",
|
|
9342
9483
|
style: {
|
|
9343
|
-
textAlign: langdetect !=
|
|
9484
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9344
9485
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
9345
9486
|
color: sectionproperties.prodCatColor,
|
|
9346
|
-
fontSize:
|
|
9487
|
+
fontSize: '14px'
|
|
9347
9488
|
}
|
|
9348
|
-
}, langdetect !=
|
|
9489
|
+
}, langdetect != 'ar' ? (_returnpolicyobj4 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_en : (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9349
9490
|
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
9350
9491
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9351
|
-
className:
|
|
9492
|
+
className: ' m-0 p-0 wordbreak ',
|
|
9352
9493
|
style: {
|
|
9353
|
-
textAlign: langdetect !=
|
|
9494
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9354
9495
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
9355
9496
|
color: sectionproperties.prodCatColor,
|
|
9356
|
-
fontSize:
|
|
9497
|
+
fontSize: '15px'
|
|
9357
9498
|
},
|
|
9358
9499
|
dangerouslySetInnerHTML: {
|
|
9359
|
-
__html: returnpolicyobj(
|
|
9500
|
+
__html: returnpolicyobj('Refund Policy')["policysummary_".concat(langdetect)] || ((_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policysummary_en)
|
|
9360
9501
|
}
|
|
9361
9502
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9362
9503
|
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
9363
9504
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9364
|
-
className:
|
|
9505
|
+
className: ' m-0 p-0 wordbreak cursor-pointer ',
|
|
9365
9506
|
style: {
|
|
9366
|
-
textAlign: langdetect !=
|
|
9367
|
-
textDecoration:
|
|
9507
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9508
|
+
textDecoration: 'underline',
|
|
9368
9509
|
color: sectionproperties.prodCatColor
|
|
9369
9510
|
},
|
|
9370
9511
|
onClick: function onClick() {
|
|
9371
9512
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
9372
9513
|
}
|
|
9373
|
-
}, langdetect !=
|
|
9514
|
+
}, langdetect != 'ar' ? 'SEE MORE' : 'عرض المزيد')))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showfirstpolicy == 'Show' && sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9374
9515
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
9375
9516
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
9376
9517
|
"class": "m-0"
|
|
9377
|
-
})), sectionproperties.descriptionstyle ==
|
|
9518
|
+
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9378
9519
|
"class": "col-lg-12 col-md-12 p-md-0 mb-5"
|
|
9379
9520
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
9380
9521
|
allowMultipleExpanded: true,
|
|
@@ -9389,23 +9530,23 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9389
9530
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9390
9531
|
"class": "m-0 p-0",
|
|
9391
9532
|
style: {
|
|
9392
|
-
textAlign: langdetect !=
|
|
9533
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
9393
9534
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
9394
9535
|
color: sectionproperties.prodCatColor,
|
|
9395
|
-
fontSize: sectionproperties.prodCatFontSize +
|
|
9536
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
9396
9537
|
}
|
|
9397
|
-
}, langdetect !=
|
|
9538
|
+
}, langdetect != 'ar' ? sectionproperties.reservationtitle_en : sectionproperties.reservationtitle_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9398
9539
|
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
9399
9540
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
9400
9541
|
if (state.expanded == true) {
|
|
9401
9542
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9402
|
-
className:
|
|
9543
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
9403
9544
|
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
9404
9545
|
color: sectionproperties.prodCatColor
|
|
9405
9546
|
}));
|
|
9406
9547
|
} else {
|
|
9407
9548
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9408
|
-
className:
|
|
9549
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
9409
9550
|
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
9410
9551
|
color: sectionproperties.prodCatColor
|
|
9411
9552
|
}));
|
|
@@ -9416,17 +9557,19 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9416
9557
|
"class": "col-lg-12 p-0"
|
|
9417
9558
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9418
9559
|
"class": "col-lg-12 p-0 text-end"
|
|
9419
|
-
}, sectionproperties.showsizeguidebtn ==
|
|
9560
|
+
}, sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && sectionproperties.sizeguideposition == 'Besides Variants' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9420
9561
|
"class": "col-12 text-end"
|
|
9421
9562
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9422
|
-
"class": formstyles.sizeguidebtn +
|
|
9563
|
+
"class": formstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
9423
9564
|
onClick: function onClick() {
|
|
9424
9565
|
setopensizeguidemodal(true);
|
|
9425
9566
|
}
|
|
9426
|
-
}, sectionproperties["sizeguidecontent".concat(langdetect ===
|
|
9567
|
+
}, sectionproperties["sizeguidecontent".concat(langdetect === 'en' ? 'english' : langdetect === 'ar' ? 'arabic' : langdetect === 'fr' ? 'french' : langdetect === 'es' ? 'spanish' : langdetect === 'chin' ? 'chinese' : langdetect === 'rus' ? 'russian' : 'english')] || sectionproperties.sizeguidecontentenglish))), /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
|
|
9427
9568
|
actions: props.actions
|
|
9428
9569
|
}), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
|
|
9429
|
-
actions: props.actions
|
|
9570
|
+
actions: props.actions,
|
|
9571
|
+
srcfromprops: 'servicestyle2',
|
|
9572
|
+
addtocartfunc: addtocartfunc
|
|
9430
9573
|
}), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
|
|
9431
9574
|
actions: {
|
|
9432
9575
|
fetchProductInfoQueryContext: fetchProductInfoQueryContext,
|
|
@@ -9446,35 +9589,37 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9446
9589
|
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
9447
9590
|
addtofavoritescontext: addtofavoritescontext
|
|
9448
9591
|
}
|
|
9449
|
-
})))))), sectionproperties.descriptionstyle !=
|
|
9592
|
+
})))))), sectionproperties.descriptionstyle != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9450
9593
|
"class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
|
|
9451
9594
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9452
9595
|
"class": "m-0 p-0 mb-2 w-100",
|
|
9453
9596
|
style: {
|
|
9454
|
-
fontSize:
|
|
9597
|
+
fontSize: '15px',
|
|
9455
9598
|
color: sectionproperties.tabtextactivecolor,
|
|
9456
9599
|
fontWeight: sectionproperties.tabtextfontweight,
|
|
9457
9600
|
background: sectionproperties.tabcontainerbgcolor,
|
|
9458
9601
|
textTransform: sectionproperties.tabtexttexttransform,
|
|
9459
|
-
borderRadius: sectionproperties.tabcontainerborderradius +
|
|
9460
|
-
fontFamily:
|
|
9461
|
-
transition:
|
|
9462
|
-
textAlign: langdetect !=
|
|
9602
|
+
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
9603
|
+
fontFamily: 'Poppins',
|
|
9604
|
+
transition: '.3s',
|
|
9605
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
9463
9606
|
}
|
|
9464
|
-
}, langdetect !=
|
|
9607
|
+
}, langdetect != 'ar' ? sectionproperties.reservationtitle_en : sectionproperties.reservationtitle_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9465
9608
|
style: {
|
|
9466
9609
|
height: 1,
|
|
9467
|
-
width:
|
|
9468
|
-
background:
|
|
9610
|
+
width: '100%',
|
|
9611
|
+
background: '#eee'
|
|
9469
9612
|
},
|
|
9470
|
-
"class": langdetect !=
|
|
9471
|
-
})), sectionproperties.descriptionstyle !=
|
|
9613
|
+
"class": langdetect != 'ar' ? productinfo_cssstyles.before + ' before ' : productinfo_cssstyles.before + ' beforear '
|
|
9614
|
+
})), sectionproperties.descriptionstyle != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9472
9615
|
"class": "col-lg-12 p-0"
|
|
9473
9616
|
}, /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
|
|
9474
9617
|
actions: props.actions,
|
|
9475
|
-
srcprops:
|
|
9618
|
+
srcprops: 'reservation'
|
|
9476
9619
|
}), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
|
|
9477
|
-
actions: props.actions
|
|
9620
|
+
actions: props.actions,
|
|
9621
|
+
srcfromprops: 'servicestyle2',
|
|
9622
|
+
addtocartfunc: addtocartfunc
|
|
9478
9623
|
}), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
|
|
9479
9624
|
actions: {
|
|
9480
9625
|
fetchProductInfoQueryContext: fetchProductInfoQueryContext,
|
|
@@ -9495,20 +9640,20 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9495
9640
|
addtofavoritescontext: addtofavoritescontext
|
|
9496
9641
|
}
|
|
9497
9642
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9498
|
-
className: langdetect !=
|
|
9643
|
+
className: langdetect != 'ar' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0'
|
|
9499
9644
|
// className={langdetect != 'ar' ? 'col-lg-3 pr-0 border-md-none p-md-0' : 'col-lg-3 pl-0 border-md-none p-md-0'}
|
|
9500
9645
|
,
|
|
9501
9646
|
style: {
|
|
9502
|
-
borderLeft: langdetect !=
|
|
9503
|
-
borderRight: langdetect ==
|
|
9504
|
-
paddingTop: sectionproperties.showpricinglist ==
|
|
9505
|
-
display: sectionproperties.showfooterphonenumber ==
|
|
9647
|
+
borderLeft: langdetect != 'ar' ? '1px solid #eee' : 0,
|
|
9648
|
+
borderRight: langdetect == 'ar' ? '1px solid #eee' : 0,
|
|
9649
|
+
paddingTop: sectionproperties.showpricinglist == 'Show' ? '.5rem' : '1.5rem',
|
|
9650
|
+
display: sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' && sectionproperties.showstoreinfo2 == 'Hide' && sectionproperties.showstoreinfo1 == 'Hide' ? 'none' : 'block'
|
|
9506
9651
|
}
|
|
9507
9652
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9508
9653
|
"class": "row m-0 w-100",
|
|
9509
9654
|
style: {
|
|
9510
|
-
paddingLeft: langdetect !=
|
|
9511
|
-
paddingRight: langdetect ==
|
|
9655
|
+
paddingLeft: langdetect != 'ar' ? '.5em' : 0,
|
|
9656
|
+
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
9512
9657
|
}
|
|
9513
9658
|
}, StoreInfoprops()))), sizeguideimage.length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
9514
9659
|
show: opensizeguidemodal,
|
|
@@ -9516,35 +9661,35 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9516
9661
|
setopensizeguidemodal(false);
|
|
9517
9662
|
},
|
|
9518
9663
|
centered: true,
|
|
9519
|
-
size:
|
|
9664
|
+
size: 'lg'
|
|
9520
9665
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9521
9666
|
className: "allcentered cursor-pointer",
|
|
9522
9667
|
onClick: function onClick() {
|
|
9523
9668
|
setopensizeguidemodal(false);
|
|
9524
9669
|
},
|
|
9525
9670
|
style: {
|
|
9526
|
-
position:
|
|
9671
|
+
position: 'absolute',
|
|
9527
9672
|
top: 10,
|
|
9528
9673
|
width: 35,
|
|
9529
9674
|
height: 35,
|
|
9530
9675
|
right: 10
|
|
9531
9676
|
}
|
|
9532
9677
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
9533
|
-
"class":
|
|
9678
|
+
"class": ' h-100 allcentered text-black '
|
|
9534
9679
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
9535
9680
|
size: 25,
|
|
9536
9681
|
"class": formstyles.closemodalbtn
|
|
9537
9682
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9538
|
-
"class":
|
|
9683
|
+
"class": ' w-100 h-100 px-4 py-5 ',
|
|
9539
9684
|
style: {}
|
|
9540
9685
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
9541
9686
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
9542
9687
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
9543
9688
|
path: (_sizeguideimage$ = sizeguideimage[0]) === null || _sizeguideimage$ === void 0 ? void 0 : _sizeguideimage$.original,
|
|
9544
9689
|
style: {
|
|
9545
|
-
width:
|
|
9546
|
-
height:
|
|
9547
|
-
objectFit:
|
|
9690
|
+
width: '100%',
|
|
9691
|
+
height: '100%',
|
|
9692
|
+
objectFit: 'contain'
|
|
9548
9693
|
},
|
|
9549
9694
|
loading: "lazy"
|
|
9550
9695
|
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
@@ -9756,7 +9901,7 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
9756
9901
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9757
9902
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9758
9903
|
var Productinfo = function Productinfo(props) {
|
|
9759
|
-
var _css, _fetchProductInfoQuer64, _ref, _fetchProductInfoQuer65, _ref2, _fetchProductInfoQuer66, _ref3, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj0;
|
|
9904
|
+
var _css, _fetchProductInfoQuer64, _ref, _fetchProductInfoQuer65, _ref2, _fetchProductInfoQuer66, _ref3, _authdetailsContext$i11, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj0, _authdetailsContext$i12, _fetchProductInfoQuer74, _fetchProductInfoQuer75;
|
|
9760
9905
|
var _useState = React.useState({}),
|
|
9761
9906
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
9762
9907
|
ProductInfoObj = _useState2[0],
|
|
@@ -9964,7 +10109,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9964
10109
|
};
|
|
9965
10110
|
React.useEffect(function () {
|
|
9966
10111
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
9967
|
-
var
|
|
10112
|
+
var _authdetailsContext$i;
|
|
9968
10113
|
var secpropobj = {};
|
|
9969
10114
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
9970
10115
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
@@ -9972,14 +10117,20 @@ var Productinfo = function Productinfo(props) {
|
|
|
9972
10117
|
setsectionproperties(_objectSpread$2C({}, secpropobj));
|
|
9973
10118
|
setTabIndex(0);
|
|
9974
10119
|
settabname('descriptiontab');
|
|
9975
|
-
if (
|
|
9976
|
-
settabname('
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
10120
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68e4efe8cb18e') {
|
|
10121
|
+
settabname('descriptiontab');
|
|
10122
|
+
// alert('sd');
|
|
10123
|
+
} else {
|
|
10124
|
+
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
10125
|
+
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (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 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.product_videos) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) == 0) {
|
|
10126
|
+
settabname('shippingpolicytab');
|
|
10127
|
+
} else if ((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 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.product_videos) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.length) == 0 && sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide') {
|
|
10128
|
+
// settabname('videostab');
|
|
10129
|
+
settabname('reviewstab');
|
|
10130
|
+
} else if ((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 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.product_videos) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.length) != 0 && sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide') {
|
|
10131
|
+
// settabname('videostab');
|
|
10132
|
+
settabname('videostab');
|
|
10133
|
+
}
|
|
9983
10134
|
}
|
|
9984
10135
|
}
|
|
9985
10136
|
}, [StatePagePropertiesContext]);
|
|
@@ -10176,8 +10327,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10176
10327
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
10177
10328
|
}
|
|
10178
10329
|
if ((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.quantitystepincrearse) != undefined && (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.quantitystepincrearse) != null && (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.quantitystepincrearse) != 1 && (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.quantitystepincrearse) != '') {
|
|
10179
|
-
var _authdetailsContext$
|
|
10180
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10330
|
+
var _authdetailsContext$i2;
|
|
10331
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '66d6de1a1e04a') {
|
|
10181
10332
|
var _fetchProductInfoQuer29;
|
|
10182
10333
|
quantitystepincrearse = parseFloat(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.quantitystepincrearse);
|
|
10183
10334
|
} else {
|
|
@@ -10396,10 +10547,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10396
10547
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10397
10548
|
runfunc = true;
|
|
10398
10549
|
} else {
|
|
10399
|
-
var _authdetailsContext$
|
|
10550
|
+
var _authdetailsContext$i3;
|
|
10400
10551
|
// here
|
|
10401
10552
|
setvariantnotchosendisclaimer('This field is required');
|
|
10402
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10553
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
10403
10554
|
}
|
|
10404
10555
|
} else {
|
|
10405
10556
|
runfunc = true;
|
|
@@ -10483,9 +10634,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10483
10634
|
};
|
|
10484
10635
|
};
|
|
10485
10636
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
10486
|
-
var _authdetailsContext$
|
|
10637
|
+
var _authdetailsContext$i4;
|
|
10487
10638
|
var policyobj = {};
|
|
10488
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10639
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instpolicies) === null || _authdetailsContext$i4 === void 0 || _authdetailsContext$i4.forEach(function (item, index) {
|
|
10489
10640
|
if (item.policytype == policytype) {
|
|
10490
10641
|
policyobj = item;
|
|
10491
10642
|
}
|
|
@@ -10494,7 +10645,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10494
10645
|
};
|
|
10495
10646
|
var relatedproducts = function relatedproducts() {
|
|
10496
10647
|
if (Relatedproducts.length != 0) {
|
|
10497
|
-
var _authdetailsContext$
|
|
10648
|
+
var _authdetailsContext$i5;
|
|
10498
10649
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10499
10650
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
10500
10651
|
style: {
|
|
@@ -10541,7 +10692,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10541
10692
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
10542
10693
|
transitionBehavior: 'auto',
|
|
10543
10694
|
wrapperClassName: '',
|
|
10544
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10695
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
10545
10696
|
scrollContainerClassName: 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10546
10697
|
}, Relatedproducts.map(function (item, index) {
|
|
10547
10698
|
if (item.productinfo != null) {
|
|
@@ -11241,7 +11392,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11241
11392
|
})));
|
|
11242
11393
|
};
|
|
11243
11394
|
var StoreInfo = function StoreInfo(position) {
|
|
11244
|
-
var _fetchProductInfoQuer58, _authdetailsContext$
|
|
11395
|
+
var _fetchProductInfoQuer58, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i0;
|
|
11245
11396
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11246
11397
|
"class": "row m-0 w-100"
|
|
11247
11398
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -11316,8 +11467,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11316
11467
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11317
11468
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
11318
11469
|
onClick: function onClick() {
|
|
11319
|
-
var _authdetailsContext$
|
|
11320
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11470
|
+
var _authdetailsContext$i6;
|
|
11471
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.contactinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.email), '_self');
|
|
11321
11472
|
}
|
|
11322
11473
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11323
11474
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -11337,7 +11488,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11337
11488
|
style: {
|
|
11338
11489
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
11339
11490
|
}
|
|
11340
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11491
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11341
11492
|
"class": "row m-0 w-100"
|
|
11342
11493
|
}, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11343
11494
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
@@ -11348,25 +11499,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
11348
11499
|
}
|
|
11349
11500
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11350
11501
|
"class": "m-0 p-0"
|
|
11351
|
-
}, sectionproperties["phonetitle_".concat(langdetect)] || sectionproperties.phonetitle_en))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11502
|
+
}, sectionproperties["phonetitle_".concat(langdetect)] || sectionproperties.phonetitle_en))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.contactinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11352
11503
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11353
11504
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
11354
11505
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11355
11506
|
onClick: function onClick() {
|
|
11356
|
-
var _authdetailsContext$
|
|
11357
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11507
|
+
var _authdetailsContext$i9;
|
|
11508
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.contactinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.email), '_self');
|
|
11358
11509
|
}
|
|
11359
11510
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11360
11511
|
"class": "m-0 p-0"
|
|
11361
|
-
}, sectionproperties["emailtitle_".concat(langdetect)] || sectionproperties.emailtitle_en))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11512
|
+
}, sectionproperties["emailtitle_".concat(langdetect)] || sectionproperties.emailtitle_en))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11362
11513
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11363
11514
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
11364
11515
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11365
11516
|
onClick: function onClick() {
|
|
11366
|
-
var _authdetailsContext$
|
|
11367
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11368
|
-
var _authdetailsContext$
|
|
11369
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11517
|
+
var _authdetailsContext$i1;
|
|
11518
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.whatsappnumber) != null) {
|
|
11519
|
+
var _authdetailsContext$i10;
|
|
11520
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.whatsappnumber), '_blank');
|
|
11370
11521
|
}
|
|
11371
11522
|
}
|
|
11372
11523
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -11471,7 +11622,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11471
11622
|
lang: lang,
|
|
11472
11623
|
srcfromprops: props.srcfromprops
|
|
11473
11624
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal))
|
|
11474
|
-
}), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11625
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) != '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11475
11626
|
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 ',
|
|
11476
11627
|
style: {
|
|
11477
11628
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11662,6 +11813,126 @@ var Productinfo = function Productinfo(props) {
|
|
|
11662
11813
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11663
11814
|
sectionproperties: sectionproperties
|
|
11664
11815
|
})
|
|
11816
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11817
|
+
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 ',
|
|
11818
|
+
style: {
|
|
11819
|
+
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11820
|
+
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
11821
|
+
display: 'flex'
|
|
11822
|
+
}
|
|
11823
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11824
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
11825
|
+
style: {
|
|
11826
|
+
paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
|
|
11827
|
+
paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
|
|
11828
|
+
marginBottom: sectionproperties.tabsmb + 'px',
|
|
11829
|
+
paddingTop: sectionproperties.tabsPt + 'px',
|
|
11830
|
+
paddingBottom: sectionproperties.tabsPb + 'px'
|
|
11831
|
+
}
|
|
11832
|
+
}, sectionproperties.tabsfullwidth == 'Full Width' && /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
|
|
11833
|
+
value: tabIndex,
|
|
11834
|
+
onChange: handleTabChange,
|
|
11835
|
+
scrollButtons: "auto",
|
|
11836
|
+
TabIndicatorProps: {
|
|
11837
|
+
style: {
|
|
11838
|
+
background: sectionproperties.activetabbordercolor
|
|
11839
|
+
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
11840
|
+
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
11841
|
+
}
|
|
11842
|
+
},
|
|
11843
|
+
sx: {
|
|
11844
|
+
'& button': {
|
|
11845
|
+
color: sectionproperties.tabtextcolor,
|
|
11846
|
+
fontWeight: sectionproperties.tabtextfontweight,
|
|
11847
|
+
background: sectionproperties.tabcontainerbgcolor,
|
|
11848
|
+
textTransform: sectionproperties.tabtexttexttransform,
|
|
11849
|
+
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
11850
|
+
fontFamily: 'Poppins',
|
|
11851
|
+
transition: '.3s',
|
|
11852
|
+
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
11853
|
+
},
|
|
11854
|
+
'& button:hover': {
|
|
11855
|
+
color: sectionproperties.tabscoloronhover,
|
|
11856
|
+
fontFamily: 'Poppins',
|
|
11857
|
+
transition: '.3s'
|
|
11858
|
+
},
|
|
11859
|
+
'& button.Mui-selected': {
|
|
11860
|
+
color: sectionproperties.tabtextactivecolor,
|
|
11861
|
+
background: sectionproperties.activetabbgcolor,
|
|
11862
|
+
fontFamily: 'Poppins',
|
|
11863
|
+
transition: '.3s'
|
|
11864
|
+
}
|
|
11865
|
+
},
|
|
11866
|
+
variant: 'fullWidth'
|
|
11867
|
+
// tabsfullwidth
|
|
11868
|
+
}, /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11869
|
+
label: sectionproperties["tabsdesc".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.tabsdescEn,
|
|
11870
|
+
onClick: function onClick() {
|
|
11871
|
+
settabname('descriptiontab');
|
|
11872
|
+
}
|
|
11873
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11874
|
+
label: langdetect != 'ar' ? 'Reviews' : 'التقييمات',
|
|
11875
|
+
onClick: function onClick() {
|
|
11876
|
+
settabname('reviewstab');
|
|
11877
|
+
}
|
|
11878
|
+
}))), sectionproperties.tabsfullwidth != 'Full Width' && /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
|
|
11879
|
+
value: tabIndex,
|
|
11880
|
+
onChange: handleTabChange,
|
|
11881
|
+
scrollButtons: "auto",
|
|
11882
|
+
TabIndicatorProps: {
|
|
11883
|
+
style: {
|
|
11884
|
+
background: sectionproperties.activetabbordercolor
|
|
11885
|
+
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
11886
|
+
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
11887
|
+
}
|
|
11888
|
+
},
|
|
11889
|
+
sx: {
|
|
11890
|
+
'& button': {
|
|
11891
|
+
color: sectionproperties.tabtextcolor,
|
|
11892
|
+
fontWeight: sectionproperties.tabtextfontweight,
|
|
11893
|
+
background: sectionproperties.tabcontainerbgcolor,
|
|
11894
|
+
textTransform: sectionproperties.tabtexttexttransform,
|
|
11895
|
+
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
11896
|
+
fontFamily: 'Poppins',
|
|
11897
|
+
transition: '.3s',
|
|
11898
|
+
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
11899
|
+
},
|
|
11900
|
+
'& button:hover': {
|
|
11901
|
+
color: sectionproperties.tabscoloronhover,
|
|
11902
|
+
fontFamily: 'Poppins',
|
|
11903
|
+
transition: '.3s'
|
|
11904
|
+
},
|
|
11905
|
+
'& button.Mui-selected': {
|
|
11906
|
+
color: sectionproperties.tabtextactivecolor,
|
|
11907
|
+
background: sectionproperties.activetabbgcolor,
|
|
11908
|
+
fontFamily: 'Poppins',
|
|
11909
|
+
transition: '.3s'
|
|
11910
|
+
}
|
|
11911
|
+
}
|
|
11912
|
+
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11913
|
+
label: sectionproperties["tabsdesc".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.tabsdescEn,
|
|
11914
|
+
onClick: function onClick() {
|
|
11915
|
+
settabname('descriptiontab');
|
|
11916
|
+
}
|
|
11917
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11918
|
+
label: langdetect != 'ar' ? 'Reviews' : 'التقييمات',
|
|
11919
|
+
onClick: function onClick() {
|
|
11920
|
+
settabname('reviewstab');
|
|
11921
|
+
}
|
|
11922
|
+
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
11923
|
+
"class": "w-100 mt-5 mb-4"
|
|
11924
|
+
}, tabname == 'descriptiontab' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
11925
|
+
actions: _objectSpread$2C(_objectSpread$2C({}, actions), {}, {
|
|
11926
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
11927
|
+
sectionproperties: sectionproperties
|
|
11928
|
+
})
|
|
11929
|
+
}), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11930
|
+
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
11931
|
+
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
11932
|
+
actions: _objectSpread$2C(_objectSpread$2C({}, actions), {}, {
|
|
11933
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
11934
|
+
sectionproperties: sectionproperties
|
|
11935
|
+
})
|
|
11665
11936
|
}))))), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11666
11937
|
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 ',
|
|
11667
11938
|
style: {
|
|
@@ -29587,6 +29858,24 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29587
29858
|
"class": "m-0 p-0 d-flex align-items-center"
|
|
29588
29859
|
}, "\u0420\u0443", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
29589
29860
|
"class": "h-100 allcentered ml-auto pl-3"
|
|
29861
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'ital' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29862
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1 '
|
|
29863
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29864
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
29865
|
+
}, "IT", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
29866
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
29867
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'magr' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29868
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1 '
|
|
29869
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29870
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
29871
|
+
}, "HU", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
29872
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
29873
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'turk' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29874
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1 '
|
|
29875
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29876
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
29877
|
+
}, "TR", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
29878
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
29590
29879
|
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) != '687cd377528b1' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
29591
29880
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
29592
29881
|
onClick: function onClick() {
|