tabexseriescomponents 0.50.147 → 0.50.149
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 +587 -545
- package/dist/index.esm.js +587 -545
- package/dist/index.umd.js +587 -545
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -379,90 +379,129 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
379
379
|
orsignupwith: 'Or Sign up with'
|
|
380
380
|
}, _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
381
|
nrwig: (_nrwig = {
|
|
382
|
-
|
|
382
|
+
tpleasewriteemail: 'Vennligst fyll ut de manglende feltene',
|
|
383
383
|
completemissingfields: 'Vennligst fyll ut de manglende feltene',
|
|
384
384
|
compare: 'Sammenligne',
|
|
385
385
|
menu: 'MENY',
|
|
386
|
-
apply: '
|
|
386
|
+
apply: 'Søk',
|
|
387
387
|
sendverificationcode: 'Send bekreftelseskode',
|
|
388
|
-
resetpassword: '
|
|
388
|
+
resetpassword: 'Tilbakestill passord',
|
|
389
389
|
clearcart: 'Tøm handlekurven',
|
|
390
390
|
seemore: 'SE MER',
|
|
391
391
|
sortby: 'Sorter etter',
|
|
392
392
|
maximum: 'Maksimal mengde',
|
|
393
393
|
minimum: 'Minimumsmengde',
|
|
394
|
-
sendcode: 'Send
|
|
395
|
-
verifycode: '
|
|
396
|
-
writevalidemail: '
|
|
397
|
-
loginregister: '
|
|
398
|
-
pleaselogintocheckout: '
|
|
399
|
-
reservationtime: '
|
|
400
|
-
reservationdate: '
|
|
401
|
-
chooseemployee: '
|
|
402
|
-
employee: '
|
|
403
|
-
servicename: '
|
|
404
|
-
reservation: '
|
|
405
|
-
viewmore: '
|
|
406
|
-
workinghours: '
|
|
407
|
-
english: '
|
|
408
|
-
arabic: '
|
|
409
|
-
price: '
|
|
410
|
-
dates: '
|
|
411
|
-
hello: '
|
|
412
|
-
havequestion: '
|
|
394
|
+
sendcode: 'Send kode',
|
|
395
|
+
verifycode: 'Verifiser kode',
|
|
396
|
+
writevalidemail: 'Vennligst skriv en gyldig e-post',
|
|
397
|
+
loginregister: 'Logg inn / Registrer deg',
|
|
398
|
+
pleaselogintocheckout: 'Vennligst logg inn for å fullføre kjøpet',
|
|
399
|
+
reservationtime: 'Tid',
|
|
400
|
+
reservationdate: 'Reservasjonsdato',
|
|
401
|
+
chooseemployee: 'Velg ansatt',
|
|
402
|
+
employee: 'Ansatt',
|
|
403
|
+
servicename: 'Tjeneste',
|
|
404
|
+
reservation: 'Reservasjon',
|
|
405
|
+
viewmore: 'Se mer',
|
|
406
|
+
workinghours: 'Åpningstider',
|
|
407
|
+
english: 'Engelsk',
|
|
408
|
+
arabic: 'Arabisk',
|
|
409
|
+
price: 'Pris',
|
|
410
|
+
dates: 'Datoer',
|
|
411
|
+
hello: 'Hei',
|
|
412
|
+
havequestion: 'Har du et spørsmål?',
|
|
413
413
|
// Static Pages
|
|
414
|
-
orderhistory: '
|
|
415
|
-
policies: '
|
|
416
|
-
wishlist: '
|
|
417
|
-
mywishlist: '
|
|
418
|
-
accountinformation: '
|
|
419
|
-
account: '
|
|
420
|
-
viewcart: '
|
|
421
|
-
cart: '
|
|
422
|
-
myshoppingcart: '
|
|
423
|
-
previousorders: '
|
|
424
|
-
checkout: '
|
|
425
|
-
mycart: '
|
|
426
|
-
login: '
|
|
427
|
-
signup: '
|
|
428
|
-
openinghours: '
|
|
429
|
-
pages: '
|
|
414
|
+
orderhistory: 'Tidligere bestillinger',
|
|
415
|
+
policies: 'Retningslinjer',
|
|
416
|
+
wishlist: 'Favoritter',
|
|
417
|
+
mywishlist: 'Mine favoritter',
|
|
418
|
+
accountinformation: 'Kontoinformasjon',
|
|
419
|
+
account: 'Konto',
|
|
420
|
+
viewcart: 'Se handlekurv',
|
|
421
|
+
cart: 'Handlekurv',
|
|
422
|
+
myshoppingcart: 'Min handlekurv',
|
|
423
|
+
previousorders: 'Tidligere bestillinger',
|
|
424
|
+
checkout: 'Kasse',
|
|
425
|
+
mycart: 'Min handlekurv',
|
|
426
|
+
login: 'Logg inn',
|
|
427
|
+
signup: 'Registrer deg',
|
|
428
|
+
openinghours: 'Åpningstider',
|
|
429
|
+
pages: 'Sider',
|
|
430
430
|
// General
|
|
431
|
-
inprogress: '
|
|
431
|
+
inprogress: 'Pågår',
|
|
432
432
|
status: 'Status',
|
|
433
|
-
excludingdelivery: '
|
|
434
|
-
stayconnected: '
|
|
435
|
-
availability: '
|
|
436
|
-
available: '
|
|
437
|
-
limitedquantity: '
|
|
438
|
-
securepayment: '
|
|
439
|
-
trustedshipping: '
|
|
440
|
-
callus: '
|
|
441
|
-
callus2: '
|
|
442
|
-
returnpolicy: '
|
|
443
|
-
shippingpolicy: '
|
|
444
|
-
deliverto: '
|
|
433
|
+
excludingdelivery: 'Ekskluderer levering',
|
|
434
|
+
stayconnected: 'Hold kontakten',
|
|
435
|
+
availability: 'Tilgjengelighet',
|
|
436
|
+
available: 'Tilgjengelig',
|
|
437
|
+
limitedquantity: 'Begrenset antall',
|
|
438
|
+
securepayment: 'Sikker betaling',
|
|
439
|
+
trustedshipping: 'Pålitelig frakt',
|
|
440
|
+
callus: 'RING OSS',
|
|
441
|
+
callus2: 'Ring oss',
|
|
442
|
+
returnpolicy: 'Returpolicy',
|
|
443
|
+
shippingpolicy: 'Fraktpolicy',
|
|
444
|
+
deliverto: 'Lever til',
|
|
445
445
|
support247: 'Support 24/7',
|
|
446
|
-
select: '
|
|
447
|
-
usefullinks: '
|
|
448
|
-
helpcenter: '
|
|
449
|
-
loggedinas: '
|
|
446
|
+
select: 'Velg',
|
|
447
|
+
usefullinks: 'Nyttige lenker',
|
|
448
|
+
helpcenter: 'Hjelpesenter',
|
|
449
|
+
loggedinas: 'Logget inn som',
|
|
450
450
|
// Buttons
|
|
451
|
-
logout: '
|
|
452
|
-
addtocart: '
|
|
453
|
-
addtofavorites: '
|
|
454
|
-
removefromfav: '
|
|
455
|
-
description: '
|
|
456
|
-
showmore: '
|
|
457
|
-
remove: '
|
|
458
|
-
shopbycategory: '
|
|
459
|
-
confirmorder: '
|
|
460
|
-
continuetopayment: '
|
|
461
|
-
doyouhavepromocode: '
|
|
462
|
-
loginwithfacebook: '
|
|
463
|
-
orsigninwith: '
|
|
464
|
-
orsignupwith: '
|
|
465
|
-
|
|
451
|
+
logout: 'Logg ut',
|
|
452
|
+
addtocart: 'Legg i handlekurv',
|
|
453
|
+
addtofavorites: 'Legg til favoritter',
|
|
454
|
+
removefromfav: 'Fjern fra favoritter',
|
|
455
|
+
description: 'Beskrivelse',
|
|
456
|
+
showmore: 'Vis mer',
|
|
457
|
+
remove: 'Fjern',
|
|
458
|
+
shopbycategory: 'Handle etter kategori',
|
|
459
|
+
confirmorder: 'Bekreft bestilling',
|
|
460
|
+
continuetopayment: 'Fortsett til betaling',
|
|
461
|
+
doyouhavepromocode: 'Har du en rabattkode?',
|
|
462
|
+
loginwithfacebook: 'Logg inn med Facebook',
|
|
463
|
+
orsigninwith: 'Eller logg inn med',
|
|
464
|
+
orsignupwith: 'Eller registrer deg med',
|
|
465
|
+
// Products
|
|
466
|
+
relatedproducts: 'Relaterte produkter',
|
|
467
|
+
qty: 'Antall',
|
|
468
|
+
emptyshoppingcart: 'Handlekurven din er tom',
|
|
469
|
+
shopnow: 'Handle nå',
|
|
470
|
+
total: 'Totalt',
|
|
471
|
+
otherinformation: 'Annen informasjon',
|
|
472
|
+
productname: 'Produktnavn',
|
|
473
|
+
quantity: 'Mengde',
|
|
474
|
+
// Orders
|
|
475
|
+
orderid: 'Bestillings-ID',
|
|
476
|
+
numberofproducts: 'Antall produkter',
|
|
477
|
+
checkyourorder: 'Sjekk bestillingen din',
|
|
478
|
+
// Placeholders
|
|
479
|
+
search: 'Søk',
|
|
480
|
+
searchproducts: 'Søk etter produkter...',
|
|
481
|
+
choosecity: 'Velg by',
|
|
482
|
+
choosestategov: 'Velg stat/fylke',
|
|
483
|
+
choosecountry: 'Velg land',
|
|
484
|
+
giftcarddicountcode: 'Gavekort eller rabattkode...',
|
|
485
|
+
nosearchresults: 'Ingen treff',
|
|
486
|
+
sale: 'Salg',
|
|
487
|
+
nofavoriteproducts: 'Favorittlisten din er tom',
|
|
488
|
+
// Notifications
|
|
489
|
+
loggedoutsuccess: 'Logget ut',
|
|
490
|
+
addedtocartsuccess: 'Handlekurven er oppdatert',
|
|
491
|
+
promocodeapplied: 'Rabattkode er lagt til',
|
|
492
|
+
promocoderemoved: 'Rabattkode fjernet',
|
|
493
|
+
countryandstateupdatedsuccess: 'Land og fylke er oppdatert',
|
|
494
|
+
orderaddedsuccess: 'Bestillingen er lagt til',
|
|
495
|
+
addedtowishlist: 'Lagt til favoritter',
|
|
496
|
+
productrmovedfromwishlist: 'Fjernet fra favoritter',
|
|
497
|
+
fillthemissingfields: 'Vennligst fyll ut de manglende feltene',
|
|
498
|
+
passwordsdontmatch: 'Passordene samsvarer ikke',
|
|
499
|
+
loggedinsuccess: 'Logget inn',
|
|
500
|
+
// Checkout
|
|
501
|
+
subtotal: 'Delsum',
|
|
502
|
+
discount: 'Rabatt',
|
|
503
|
+
outofzone: 'Utenfor sone'
|
|
504
|
+
}, _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')),
|
|
466
505
|
ar: (_ar = {
|
|
467
506
|
pleasewriteemail: 'من فضلك اكتب الايميل',
|
|
468
507
|
completemissingfields: 'الرجاء إكمال الحقول المفقودة',
|
|
@@ -2325,7 +2364,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2325
2364
|
var sectionproperties = props.actions.sectionproperties;
|
|
2326
2365
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
2327
2366
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
2328
|
-
var _useState = React.useState(
|
|
2367
|
+
var _useState = React.useState(''),
|
|
2329
2368
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
2330
2369
|
_useState2[0];
|
|
2331
2370
|
_useState2[1];
|
|
@@ -2342,35 +2381,35 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2342
2381
|
color: sectionproperties.form_labelcolor,
|
|
2343
2382
|
textTransform: sectionproperties.form_labeltexttransform,
|
|
2344
2383
|
fontWeight: sectionproperties.form_labelfontweight,
|
|
2345
|
-
fontSize: sectionproperties.form_labelfontsize +
|
|
2346
|
-
marginBottom: sectionproperties.inputfieldbordertype ==
|
|
2384
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
2385
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
2347
2386
|
}),
|
|
2348
2387
|
form_control: glamor.css((_css = {
|
|
2349
|
-
background:
|
|
2388
|
+
background: 'transparent',
|
|
2350
2389
|
color: sectionproperties.inputfieldcolor,
|
|
2351
|
-
fontSize: sectionproperties.inputfieldfontsize +
|
|
2352
|
-
position:
|
|
2353
|
-
display:
|
|
2354
|
-
alignItems:
|
|
2355
|
-
}, _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",
|
|
2390
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
2391
|
+
position: 'relative',
|
|
2392
|
+
display: 'flex',
|
|
2393
|
+
alignItems: 'center'
|
|
2394
|
+
}, _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', {
|
|
2356
2395
|
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
2357
|
-
}),
|
|
2396
|
+
}), ':focus .login_input_icon', {
|
|
2358
2397
|
color: sectionproperties.inputfeildbordercoloronfocus
|
|
2359
2398
|
}))),
|
|
2360
2399
|
sizeguidebtn: glamor.css({
|
|
2361
2400
|
color: sectionproperties.sizeguidebtncolor,
|
|
2362
|
-
fontSize: sectionproperties.sizeguidebtnfontsize +
|
|
2363
|
-
transition:
|
|
2364
|
-
textDecoration:
|
|
2365
|
-
|
|
2401
|
+
fontSize: sectionproperties.sizeguidebtnfontsize + 'px',
|
|
2402
|
+
transition: '.3s',
|
|
2403
|
+
textDecoration: 'underline',
|
|
2404
|
+
':hover': {
|
|
2366
2405
|
color: sectionproperties.sizeguidebtncoloronhover,
|
|
2367
2406
|
fontWeight: sectionproperties.sizeguidebtnfontweight
|
|
2368
2407
|
}
|
|
2369
2408
|
}),
|
|
2370
2409
|
closemodalbtn: glamor.css({
|
|
2371
2410
|
color: sectionproperties.sizeguidebtncolor,
|
|
2372
|
-
transition:
|
|
2373
|
-
|
|
2411
|
+
transition: '.3s',
|
|
2412
|
+
':hover': {
|
|
2374
2413
|
color: sectionproperties.sizeguidebtncoloronhover
|
|
2375
2414
|
}
|
|
2376
2415
|
})
|
|
@@ -2388,7 +2427,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2388
2427
|
current_quantity = varitem.current_quantity;
|
|
2389
2428
|
if (varitem.current_quantity <= 0) {
|
|
2390
2429
|
var _ProductInfoObj$data3;
|
|
2391
|
-
if ((ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 || (_ProductInfoObj$data3 = _ProductInfoObj$data3.productinfo) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.quantavailtype) ==
|
|
2430
|
+
if ((ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 || (_ProductInfoObj$data3 = _ProductInfoObj$data3.productinfo) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.quantavailtype) == 'limit') {
|
|
2392
2431
|
isoutofstock = true;
|
|
2393
2432
|
}
|
|
2394
2433
|
}
|
|
@@ -2402,36 +2441,36 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2402
2441
|
};
|
|
2403
2442
|
};
|
|
2404
2443
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (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.hasvariants) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2405
|
-
className: props.srcprops ==
|
|
2444
|
+
className: props.srcprops == 'reservation' ? 'row mx-0 mt-3 w-100 d-flex align-items-start' : 'row m-0 w-100 d-flex align-items-start'
|
|
2406
2445
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2407
2446
|
"class": "row m-0 w-100"
|
|
2408
2447
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2409
|
-
"class": sectionproperties.showsizeguidebtn ==
|
|
2448
|
+
"class": sectionproperties.showsizeguidebtn == 'Show' ? 'col-9 p-0' : 'col-lg-12 p-0'
|
|
2410
2449
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2411
2450
|
"class": "row m-0 w-100"
|
|
2412
|
-
}, sectionproperties.variantstyle ==
|
|
2451
|
+
}, sectionproperties.variantstyle == 'Slider' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 || (_ProductInfoObj$data4 = _ProductInfoObj$data4.productinfo) === null || _ProductInfoObj$data4 === void 0 || (_ProductInfoObj$data4 = _ProductInfoObj$data4.productoptions) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.map(function (item, index) {
|
|
2413
2452
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2414
|
-
className:
|
|
2453
|
+
className: 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2415
2454
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2416
2455
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
2417
2456
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2418
2457
|
className: "col-lg-12 col-md-12 p-0 d-flex"
|
|
2419
2458
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2420
|
-
className:
|
|
2459
|
+
className: ' m-0 p-0 wordbreak',
|
|
2421
2460
|
style: {
|
|
2422
2461
|
color: sectionproperties.varianttitle_color,
|
|
2423
2462
|
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
2424
2463
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
2425
|
-
fontSize: sectionproperties.varianttitle_fontSize +
|
|
2464
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
2426
2465
|
}
|
|
2427
|
-
}, sectionproperties.showselect ==
|
|
2466
|
+
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', ' ', langdetect == 'nrwig' && item.optionname == 'Size' ? 'Størrelse' : langdetect == 'nrwig' && item.optionname == 'Color' ? 'Farge' : item["optionname_".concat(langdetect)] || item.optionname, ": ", item.optionname == 'color' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2428
2467
|
style: {
|
|
2429
|
-
color:
|
|
2468
|
+
color: '#62554a'
|
|
2430
2469
|
}
|
|
2431
2470
|
}, variantvalueidentifier))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2432
2471
|
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1",
|
|
2433
2472
|
style: {
|
|
2434
|
-
paddingTop: sectionproperties.showRemovebutton ==
|
|
2473
|
+
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
|
|
2435
2474
|
}
|
|
2436
2475
|
}, item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
|
|
2437
2476
|
var isoptionvalueselected = 0;
|
|
@@ -2446,9 +2485,9 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2446
2485
|
} else {
|
|
2447
2486
|
isoptionvaluedenabled = 0;
|
|
2448
2487
|
}
|
|
2449
|
-
if (item.optionname ==
|
|
2488
|
+
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
2450
2489
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2451
|
-
className: issingleoptionoutofstock(optionvaluesitem)[
|
|
2490
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? productinfostyles.color_container + ' mr-2 variabttcontainer showcrossiconcolor ' + "".concat(productinfostyles.color_container_active) : productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
|
|
2452
2491
|
// `${isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''}`
|
|
2453
2492
|
,
|
|
2454
2493
|
onClick: function onClick() {
|
|
@@ -2461,18 +2500,18 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2461
2500
|
},
|
|
2462
2501
|
style: {
|
|
2463
2502
|
background: optionvaluesitem.valuename,
|
|
2464
|
-
border: isoptionvalueselected == 1 ?
|
|
2503
|
+
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : '1px solid #ccc'
|
|
2465
2504
|
|
|
2466
2505
|
// borderWidth: isoptionvalueselected == 1 ? '2px' : 0,
|
|
2467
2506
|
// opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
|
|
2468
2507
|
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
2469
2508
|
}
|
|
2470
2509
|
}));
|
|
2471
|
-
} else if (item.optionname ==
|
|
2510
|
+
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
2472
2511
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2473
|
-
className: issingleoptionoutofstock(optionvaluesitem)[
|
|
2512
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered showcrossicon ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
2474
2513
|
onClick: function onClick() {
|
|
2475
|
-
if (issingleoptionoutofstock(optionvaluesitem)[
|
|
2514
|
+
if (issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show') ; else {
|
|
2476
2515
|
if (optionvaluesitem.isenabled == 1) {
|
|
2477
2516
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
2478
2517
|
} else {
|
|
@@ -2489,37 +2528,37 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2489
2528
|
// : isoptionvaluedenabled == 1
|
|
2490
2529
|
// ? 'pointer'
|
|
2491
2530
|
// : 'not-allowed',
|
|
2492
|
-
cursor: issingleoptionoutofstock(optionvaluesitem)[
|
|
2493
|
-
backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ?
|
|
2494
|
-
minWidth: sectionproperties.variantcontainer_minwidth +
|
|
2495
|
-
height: sectionproperties.variantcontainer_height +
|
|
2496
|
-
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius +
|
|
2497
|
-
position:
|
|
2498
|
-
border: isoptionvalueselected == 1 ?
|
|
2531
|
+
cursor: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? 'not-allowed' : 'pointer',
|
|
2532
|
+
backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
2533
|
+
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
2534
|
+
height: sectionproperties.variantcontainer_height + 'px',
|
|
2535
|
+
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
2536
|
+
position: 'relative',
|
|
2537
|
+
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
2499
2538
|
}
|
|
2500
|
-
}, isoptionvalueselected == 1 && sectionproperties.showRemovebutton ==
|
|
2539
|
+
}, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2501
2540
|
"class": "m-0 p-0 bg-danger bgdanger-hover",
|
|
2502
2541
|
style: {
|
|
2503
|
-
position:
|
|
2504
|
-
top:
|
|
2505
|
-
right:
|
|
2506
|
-
width:
|
|
2507
|
-
height:
|
|
2542
|
+
position: 'absolute',
|
|
2543
|
+
top: '-15px',
|
|
2544
|
+
right: '-5px',
|
|
2545
|
+
width: '3vh',
|
|
2546
|
+
height: '3vh',
|
|
2508
2547
|
borderRadius: 100
|
|
2509
2548
|
}
|
|
2510
2549
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2511
2550
|
"class": "h-100 allcentered"
|
|
2512
2551
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2513
|
-
className:
|
|
2552
|
+
className: 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
2514
2553
|
style: {
|
|
2515
2554
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
2516
|
-
fontSize: sectionproperties.variantcontainer_fontSize +
|
|
2555
|
+
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
2517
2556
|
fontWeight: 500
|
|
2518
2557
|
}
|
|
2519
2558
|
}, optionvaluesitem["valuename_".concat(langdetect)] || optionvaluesitem.valuename));
|
|
2520
2559
|
} else {
|
|
2521
2560
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2522
|
-
className: productinfostyles.variant_container +
|
|
2561
|
+
className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered pl-2 pr-2 ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
2523
2562
|
onClick: function onClick() {
|
|
2524
2563
|
if (optionvaluesitem.isenabled == 1) {
|
|
2525
2564
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
@@ -2528,72 +2567,72 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2528
2567
|
}
|
|
2529
2568
|
},
|
|
2530
2569
|
style: {
|
|
2531
|
-
backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ?
|
|
2532
|
-
width:
|
|
2533
|
-
height: sectionproperties.variantcontainer_height +
|
|
2534
|
-
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius +
|
|
2535
|
-
position:
|
|
2570
|
+
backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
2571
|
+
width: 'auto',
|
|
2572
|
+
height: sectionproperties.variantcontainer_height + 'px',
|
|
2573
|
+
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
2574
|
+
position: 'relative',
|
|
2536
2575
|
// border:
|
|
2537
2576
|
// isoptionvalueselected == 1
|
|
2538
2577
|
// ? '2px solid green'
|
|
2539
2578
|
// : isoptionvaluedenabled == 1
|
|
2540
2579
|
// ? '1px solid ' + sectionproperties.variantcontainerbordercolor
|
|
2541
2580
|
// : '1px solid ' + ' grey ',
|
|
2542
|
-
border: isoptionvalueselected == 1 ?
|
|
2581
|
+
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : '1px solid #ccc'
|
|
2543
2582
|
}
|
|
2544
|
-
}, isoptionvalueselected == 1 && sectionproperties.showRemovebutton ==
|
|
2583
|
+
}, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2545
2584
|
"class": "m-0 p-0 bg-danger bgdanger-hover",
|
|
2546
2585
|
style: {
|
|
2547
|
-
position:
|
|
2548
|
-
top:
|
|
2549
|
-
right:
|
|
2550
|
-
width:
|
|
2551
|
-
height:
|
|
2586
|
+
position: 'absolute',
|
|
2587
|
+
top: '-15px',
|
|
2588
|
+
right: '-5px',
|
|
2589
|
+
width: '3vh',
|
|
2590
|
+
height: '3vh',
|
|
2552
2591
|
borderRadius: 100
|
|
2553
2592
|
}
|
|
2554
2593
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2555
2594
|
"class": "h-100 allcentered"
|
|
2556
2595
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2557
|
-
className:
|
|
2596
|
+
className: 'm-0 p-0 allcentered',
|
|
2558
2597
|
style: {
|
|
2559
2598
|
fontWeight: 500,
|
|
2560
2599
|
// color: sectionproperties.variantcontainer_color,
|
|
2561
|
-
fontSize: sectionproperties.variantcontainer_fontSize +
|
|
2600
|
+
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
2562
2601
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color
|
|
2563
2602
|
}
|
|
2564
2603
|
}, optionvaluesitem["valuename_".concat(langdetect)] || optionvaluesitem.valuename));
|
|
2565
2604
|
}
|
|
2566
2605
|
}))));
|
|
2567
|
-
})))), sectionproperties.showsizeguidebtn ==
|
|
2606
|
+
})))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && sectionproperties.sizeguideposition == 'Besides Variants' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2568
2607
|
"class": "col-3 text-end"
|
|
2569
2608
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2570
|
-
"class": formstyles.sizeguidebtn +
|
|
2609
|
+
"class": formstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
2571
2610
|
onClick: function onClick() {
|
|
2572
2611
|
setopensizeguidemodal(true);
|
|
2573
2612
|
}
|
|
2574
|
-
}, sectionproperties["sizeguidecontent".concat(langdetect ===
|
|
2613
|
+
}, sectionproperties["sizeguidecontent".concat(langdetect === 'en' ? 'english' : langdetect === 'ar' ? 'arabic' : langdetect === 'fr' ? 'french' : langdetect === 'es' ? 'spanish' : langdetect === 'chin' ? 'chinese' : langdetect === 'rus' ? 'russian' : 'english')] || sectionproperties.sizeguidecontentenglish))), langdetect != 'ar' && (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.variants[variantindexcompleted]) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.variantdescription_en) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2575
2614
|
"class": "my-3 col-lg-12 p-0"
|
|
2576
2615
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2577
|
-
className:
|
|
2616
|
+
className: 'm-0 p-0 wordbreak',
|
|
2578
2617
|
style: {
|
|
2579
|
-
textAlign: langdetect !=
|
|
2580
|
-
color:
|
|
2618
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
2619
|
+
color: '#000000'
|
|
2581
2620
|
},
|
|
2582
2621
|
dangerouslySetInnerHTML: {
|
|
2583
|
-
__html: langdetect !=
|
|
2622
|
+
__html: langdetect != 'ar' ? 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.variants[variantindexcompleted]) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.variantdescription_en : 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.variants[variantindexcompleted]) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.variantdescription_ar
|
|
2584
2623
|
}
|
|
2585
|
-
})), langdetect ==
|
|
2624
|
+
})), langdetect == 'ar' && (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 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.variants[variantindexcompleted]) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.variantdescription_ar) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2586
2625
|
"class": "my-3 col-lg-12 p-0"
|
|
2587
2626
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2588
|
-
className:
|
|
2627
|
+
className: 'm-0 p-0 wordbreak',
|
|
2589
2628
|
style: {
|
|
2590
|
-
textAlign: langdetect !=
|
|
2591
|
-
color:
|
|
2629
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
2630
|
+
color: '#000000'
|
|
2592
2631
|
},
|
|
2593
2632
|
dangerouslySetInnerHTML: {
|
|
2594
|
-
__html: langdetect !=
|
|
2633
|
+
__html: langdetect != 'ar' ? 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.variants[variantindexcompleted]) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.variantdescription_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.variants[variantindexcompleted]) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.variantdescription_ar
|
|
2595
2634
|
}
|
|
2596
|
-
})), sectionproperties.variantstyle ==
|
|
2635
|
+
})), sectionproperties.variantstyle == 'Vertical' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productinfo) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productoptions) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.map(function (item, index) {
|
|
2597
2636
|
return /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
2598
2637
|
"class": "thwvsf-wrapper-ul"
|
|
2599
2638
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2601,14 +2640,14 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2601
2640
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2602
2641
|
className: "col-lg-12 col-md-12 p-0 d-flex"
|
|
2603
2642
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2604
|
-
className:
|
|
2643
|
+
className: ' m-0 p-0 wordbreak',
|
|
2605
2644
|
style: {
|
|
2606
2645
|
color: sectionproperties.varianttitle_color,
|
|
2607
2646
|
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
2608
2647
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
2609
|
-
fontSize: sectionproperties.varianttitle_fontSize +
|
|
2648
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
2610
2649
|
}
|
|
2611
|
-
}, sectionproperties.showselect ==
|
|
2650
|
+
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', ' ', langdetect == 'nrwig' && item.optionname == 'Size' ? 'Størrelse' : langdetect == 'nrwig' && item.optionname == 'Color' ? 'Farge' : item["optionname_".concat(langdetect)] || item.optionname, ":"))), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
|
|
2612
2651
|
var isoptionvalueselected = 0;
|
|
2613
2652
|
if (optionvaluesitem.isselected == 1) {
|
|
2614
2653
|
isoptionvalueselected = 1;
|
|
@@ -2621,13 +2660,13 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2621
2660
|
} else {
|
|
2622
2661
|
isoptionvaluedenabled = 0;
|
|
2623
2662
|
}
|
|
2624
|
-
if (item.optionname ==
|
|
2663
|
+
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
2625
2664
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
|
2626
2665
|
style: {
|
|
2627
|
-
width:
|
|
2666
|
+
width: 'auto'
|
|
2628
2667
|
}
|
|
2629
2668
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2630
|
-
className: productinfostyles.color_container +
|
|
2669
|
+
className: productinfostyles.color_container + ' mx-1 mb-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''),
|
|
2631
2670
|
onClick: function onClick() {
|
|
2632
2671
|
if (optionvaluesitem.isenabled == 1) {
|
|
2633
2672
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
@@ -2645,10 +2684,10 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2645
2684
|
// else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
2646
2685
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
|
2647
2686
|
style: {
|
|
2648
|
-
width:
|
|
2687
|
+
width: 'auto'
|
|
2649
2688
|
}
|
|
2650
2689
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2651
|
-
className: "".concat(productinfo_cssstyles.variant_container) +
|
|
2690
|
+
className: "".concat(productinfo_cssstyles.variant_container) + ' mx-1 mb-2 variabttcontainer allcentered px-2 ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
2652
2691
|
onClick: function onClick() {
|
|
2653
2692
|
if (optionvaluesitem.isenabled == 1) {
|
|
2654
2693
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
@@ -2658,15 +2697,15 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2658
2697
|
},
|
|
2659
2698
|
style: {
|
|
2660
2699
|
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
2661
|
-
backgroundColor: isoptionvalueselected == 1 ?
|
|
2662
|
-
minWidth: sectionproperties.variantcontainer_minwidth +
|
|
2663
|
-
height: sectionproperties.variantcontainer_height +
|
|
2664
|
-
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius +
|
|
2665
|
-
position:
|
|
2666
|
-
border: isoptionvalueselected == 1 ?
|
|
2700
|
+
backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
2701
|
+
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
2702
|
+
height: sectionproperties.variantcontainer_height + 'px',
|
|
2703
|
+
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
2704
|
+
position: 'relative',
|
|
2705
|
+
border: isoptionvalueselected == 1 ? '1px solid green' : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
2667
2706
|
}
|
|
2668
2707
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2669
|
-
className:
|
|
2708
|
+
className: 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
2670
2709
|
style: {}
|
|
2671
2710
|
}, optionvaluesitem["valuename_".concat(langdetect)] || optionvaluesitem.valuename)));
|
|
2672
2711
|
}
|
|
@@ -2729,11 +2768,11 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2729
2768
|
// );
|
|
2730
2769
|
// }
|
|
2731
2770
|
}));
|
|
2732
|
-
})), sectionproperties.variantstyle ==
|
|
2771
|
+
})), sectionproperties.variantstyle == 'Select Box' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 || (_ProductInfoObj$data6 = _ProductInfoObj$data6.productinfo) === null || _ProductInfoObj$data6 === void 0 || (_ProductInfoObj$data6 = _ProductInfoObj$data6.productoptions) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.map(function (item, index) {
|
|
2733
2772
|
var orgselectoptions = [];
|
|
2734
2773
|
var selecteditemid = null;
|
|
2735
|
-
var placeholdervalue =
|
|
2736
|
-
placeholdervalue =
|
|
2774
|
+
var placeholdervalue = '';
|
|
2775
|
+
placeholdervalue = 'Choose' + ' ' + (item["optionname_".concat(langdetect)] || item.optionname);
|
|
2737
2776
|
if (item.optionvalues != undefined && Array.isArray(item.optionvalues)) {
|
|
2738
2777
|
orgselectoptions = item.optionvalues;
|
|
2739
2778
|
// optionvaluesitem.isselected
|
|
@@ -2751,27 +2790,27 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2751
2790
|
}
|
|
2752
2791
|
});
|
|
2753
2792
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2754
|
-
"class": sectionproperties.numberofcolsperrow ==
|
|
2793
|
+
"class": sectionproperties.numberofcolsperrow == '2' ? 'col-lg-2 col-md-3 col-sm-12 mb-3 p-sm-0' : sectionproperties.numberofcolsperrow == '3' ? ' col-lg-3 col-md-3 col-sm-12 mb-3 p-sm-0' : sectionproperties.numberofcolsperrow == '4' ? 'col-lg-4 col-md-4 col-sm-12 mb-3 p-sm-0' : sectionproperties.numberofcolsperrow == '6' ? 'col-lg-6 col-md-6 col-sm-12 mb-3 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0'
|
|
2755
2794
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
2756
|
-
className:
|
|
2795
|
+
className: ' d-flex align-items-start mb-2 ',
|
|
2757
2796
|
style: {
|
|
2758
2797
|
color: sectionproperties.varianttitle_color,
|
|
2759
2798
|
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
2760
2799
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
2761
|
-
fontSize: sectionproperties.varianttitle_fontSize +
|
|
2800
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
2762
2801
|
}
|
|
2763
|
-
}, item["optionname_".concat(langdetect)] || item.optionname), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2802
|
+
}, langdetect == 'nrwig' && item.optionname == 'Size' ? 'Størrelse' : langdetect == 'nrwig' && item.optionname == 'Color' ? 'Farge' : item["optionname_".concat(langdetect)] || item.optionname), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2764
2803
|
style: {
|
|
2765
|
-
width:
|
|
2804
|
+
width: '100%'
|
|
2766
2805
|
},
|
|
2767
|
-
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control) +
|
|
2806
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control) + ' variantselectbox '
|
|
2768
2807
|
}, /*#__PURE__*/React__default["default"].createElement(Select$3, {
|
|
2769
2808
|
options: orgselectoptions,
|
|
2770
2809
|
getOptionLabel: function getOptionLabel(option) {
|
|
2771
|
-
var crname =
|
|
2772
|
-
if (langdetect !=
|
|
2810
|
+
var crname = '';
|
|
2811
|
+
if (langdetect != 'ar') {
|
|
2773
2812
|
crname = option.valuename;
|
|
2774
|
-
} else if (langdetect ==
|
|
2813
|
+
} else if (langdetect == 'ar') {
|
|
2775
2814
|
crname = option.valuename_ar;
|
|
2776
2815
|
}
|
|
2777
2816
|
return crname;
|
|
@@ -2808,35 +2847,35 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2808
2847
|
setopensizeguidemodal(false);
|
|
2809
2848
|
},
|
|
2810
2849
|
centered: true,
|
|
2811
|
-
size:
|
|
2850
|
+
size: 'lg'
|
|
2812
2851
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2813
2852
|
className: "allcentered cursor-pointer",
|
|
2814
2853
|
onClick: function onClick() {
|
|
2815
2854
|
setopensizeguidemodal(false);
|
|
2816
2855
|
},
|
|
2817
2856
|
style: {
|
|
2818
|
-
position:
|
|
2857
|
+
position: 'absolute',
|
|
2819
2858
|
top: 10,
|
|
2820
2859
|
width: 35,
|
|
2821
2860
|
height: 35,
|
|
2822
2861
|
right: 10
|
|
2823
2862
|
}
|
|
2824
2863
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2825
|
-
"class":
|
|
2864
|
+
"class": ' h-100 allcentered text-black '
|
|
2826
2865
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
2827
2866
|
size: 25,
|
|
2828
2867
|
"class": formstyles.closemodalbtn
|
|
2829
2868
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2830
|
-
"class":
|
|
2869
|
+
"class": ' w-100 h-100 px-4 py-5 ',
|
|
2831
2870
|
style: {}
|
|
2832
2871
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
2833
2872
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
2834
2873
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
2835
2874
|
path: (_sizeguideimage$ = sizeguideimage[0]) === null || _sizeguideimage$ === void 0 ? void 0 : _sizeguideimage$.original,
|
|
2836
2875
|
style: {
|
|
2837
|
-
width:
|
|
2838
|
-
height:
|
|
2839
|
-
objectFit:
|
|
2876
|
+
width: '100%',
|
|
2877
|
+
height: '100%',
|
|
2878
|
+
objectFit: 'contain'
|
|
2840
2879
|
},
|
|
2841
2880
|
loading: "lazy"
|
|
2842
2881
|
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
@@ -4249,7 +4288,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4249
4288
|
color: sectionproperties.prodCatColor,
|
|
4250
4289
|
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
4251
4290
|
}
|
|
4252
|
-
}, sectionproperties["shortdescriptiontitle_".concat(langdetect)] || sectionproperties.shortdescriptiontitle_en);
|
|
4291
|
+
}, langdetect == 'nrwig' ? 'Detaljer' : sectionproperties["shortdescriptiontitle_".concat(langdetect)] || sectionproperties.shortdescriptiontitle_en);
|
|
4253
4292
|
};
|
|
4254
4293
|
var ProductFeaturesTable = function ProductFeaturesTable() {
|
|
4255
4294
|
var _fetchProductInfoQuer3;
|
|
@@ -4319,7 +4358,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4319
4358
|
color: sectionproperties.prodCatColor,
|
|
4320
4359
|
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
4321
4360
|
}
|
|
4322
|
-
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : langdetect == 'chin' ? '细节' : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4361
|
+
}, langdetect == 'nrwig' ? 'Flere detaljer' : langdetect == 'en' ? sectionproperties.descriptionContentEn : langdetect == 'chin' ? '细节' : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4323
4362
|
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
4324
4363
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
4325
4364
|
if (state.expanded == true) {
|
|
@@ -4977,7 +5016,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4977
5016
|
color: sectionproperties.prodCatColor,
|
|
4978
5017
|
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
4979
5018
|
}
|
|
4980
|
-
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : langdetect == 'chin' ? '细节' : sectionproperties.descriptionContentAr), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5019
|
+
}, langdetect == 'nrwig' ? 'Flere detaljer' : langdetect == 'en' ? sectionproperties.descriptionContentEn : langdetect == 'chin' ? '细节' : sectionproperties.descriptionContentAr), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4981
5020
|
"class": "col-lg-12 p-0"
|
|
4982
5021
|
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
4983
5022
|
actions: props.actions,
|
|
@@ -5056,7 +5095,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5056
5095
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5057
5096
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5058
5097
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5059
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.productactionbuttontext_en : langdetect == 'rus' ? 'Добавить в корзину' : langdetect == 'fr' ? 'Ajouter au panier' : langdetect == 'chin' ? '从' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productinfo) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5098
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.productactionbuttontext_en : langdetect == 'rus' ? 'Добавить в корзину' : langdetect == 'nrwig' ? 'Legg i handlekurven' : langdetect == 'fr' ? 'Ajouter au panier' : langdetect == 'chin' ? '从' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productinfo) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5060
5099
|
className: ' d-flex align-items-center justify-content-center '
|
|
5061
5100
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5062
5101
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5145,7 +5184,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5145
5184
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5146
5185
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5147
5186
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5148
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.productactionbuttontext_en : langdetect == 'rus' ? 'Добавить в корзину' : langdetect == 'fr' ? 'Ajouter au panier' : langdetect == 'chin' ? '从' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5187
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.productactionbuttontext_en : langdetect == 'rus' ? 'Добавить в корзину' : langdetect == 'nrwig' ? 'Legg i handlekurven' : langdetect == 'fr' ? 'Ajouter au panier' : langdetect == 'chin' ? '从' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5149
5188
|
className: ' d-flex align-items-center justify-content-center '
|
|
5150
5189
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5151
5190
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5399,7 +5438,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5399
5438
|
color: sectionproperties.prodCatColor,
|
|
5400
5439
|
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
5401
5440
|
}
|
|
5402
|
-
}, sectionproperties["policiestitle_".concat(langdetect)] || sectionproperties.policiestitleen)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5441
|
+
}, langdetect == 'nrwig' ? 'RETNINGSLINJER' : sectionproperties["policiestitle_".concat(langdetect)] || sectionproperties.policiestitleen)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5403
5442
|
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
5404
5443
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
5405
5444
|
if (state.expanded == true) {
|
|
@@ -6150,7 +6189,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6150
6189
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6151
6190
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6152
6191
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6153
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.productactionbuttontext_en : langdetect == 'rus' ? 'Добавить в корзину' : langdetect == 'fr' ? 'Ajouter au panier' : langdetect == 'chin' ? '从' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6192
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.productactionbuttontext_en : langdetect == 'rus' ? 'Добавить в корзину' : langdetect == 'nrwig' ? 'Legg i handlekurven' : langdetect == 'fr' ? 'Ajouter au panier' : langdetect == 'chin' ? '从' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6154
6193
|
className: ' d-flex align-items-center justify-content-center '
|
|
6155
6194
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6156
6195
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -6239,7 +6278,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6239
6278
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6240
6279
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6241
6280
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6242
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.productactionbuttontext_en : langdetect == 'rus' ? 'Добавить в корзину' : langdetect == 'fr' ? 'Ajouter au panier' : langdetect == 'chin' ? '从' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.productactionbuttontext_ar, ' '), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6281
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.productactionbuttontext_en : langdetect == 'rus' ? 'Добавить в корзину' : langdetect == 'nrwig' ? 'Legg i handlekurven' : langdetect == 'fr' ? 'Ajouter au panier' : langdetect == 'chin' ? '从' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.productactionbuttontext_ar, ' '), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6243
6282
|
className: ' d-flex align-items-center justify-content-center '
|
|
6244
6283
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6245
6284
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -7113,7 +7152,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
7113
7152
|
size: sectionproperties.cartBtn_iconFontSize
|
|
7114
7153
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
7115
7154
|
size: sectionproperties.cartBtn_iconFontSize
|
|
7116
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer134 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.data) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.productinfo) === null || _fetchProductInfoQuer134 === void 0 ? void 0 : _fetchProductInfoQuer134.productactionbuttontext_en : langdetect == 'rus' ? 'Добавить в корзину' : langdetect == 'fr' ? 'Ajouter au panier' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer135 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.data) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.productinfo) === null || _fetchProductInfoQuer135 === void 0 ? void 0 : _fetchProductInfoQuer135.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7155
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer134 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.data) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.productinfo) === null || _fetchProductInfoQuer134 === void 0 ? void 0 : _fetchProductInfoQuer134.productactionbuttontext_en : langdetect == 'rus' ? 'Добавить в корзину' : langdetect == 'nrwig' ? 'Legg i handlekurven' : langdetect == 'fr' ? 'Ajouter au panier' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer135 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.data) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.productinfo) === null || _fetchProductInfoQuer135 === void 0 ? void 0 : _fetchProductInfoQuer135.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7117
7156
|
className: ' d-flex align-items-center justify-content-center '
|
|
7118
7157
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
7119
7158
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -14562,7 +14601,7 @@ var Checkout = function Checkout(props) {
|
|
|
14562
14601
|
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
14563
14602
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
14564
14603
|
}
|
|
14565
|
-
}, sectionproperties["cartTitlte_".concat(langdetect)] || sectionproperties.cartTitlte_en)), ChooseState_CountryMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14604
|
+
}, langdetect == 'nrwig' ? 'Handlekurven min' : sectionproperties["cartTitlte_".concat(langdetect)] || sectionproperties.cartTitlte_en)), ChooseState_CountryMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14566
14605
|
className: "col-lg-12 allcentered p-0"
|
|
14567
14606
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.Messaging, {
|
|
14568
14607
|
color: "#000",
|
|
@@ -14844,7 +14883,7 @@ var Checkout = function Checkout(props) {
|
|
|
14844
14883
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
14845
14884
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14846
14885
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
14847
|
-
}, sectionproperties["shippingfeestitle_".concat(langdetect)] || sectionproperties.shippingfeestitle_en)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14886
|
+
}, langdetect == 'nrwig' ? 'Fraktgebyrer' : sectionproperties["shippingfeestitle_".concat(langdetect)] || sectionproperties.shippingfeestitle_en)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14848
14887
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
14849
14888
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14850
14889
|
className: langdetect != 'ar' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
@@ -14922,7 +14961,7 @@ var Checkout = function Checkout(props) {
|
|
|
14922
14961
|
width: "20px",
|
|
14923
14962
|
height: "20px",
|
|
14924
14963
|
duration: "1s"
|
|
14925
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : sectionproperties["checkoutbtn_".concat(langdetect, "2")] || sectionproperties.checkoutbtn_en2 : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14964
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : langdetect == 'nrwig' ? 'Bekreft bestilling' : sectionproperties["checkoutbtn_".concat(langdetect, "2")] || sectionproperties.checkoutbtn_en2 : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14926
14965
|
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
14927
14966
|
style: {
|
|
14928
14967
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
@@ -14963,7 +15002,7 @@ var Checkout = function Checkout(props) {
|
|
|
14963
15002
|
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
14964
15003
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
14965
15004
|
}
|
|
14966
|
-
}, sectionproperties["checkoutButtonContent_".concat(langdetect)] || sectionproperties.checkoutButtonContenten)), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15005
|
+
}, langdetect == 'nrwig' ? 'Kasse' : sectionproperties["checkoutButtonContent_".concat(langdetect)] || sectionproperties.checkoutButtonContenten)), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14967
15006
|
className: "col-lg-12 p-0"
|
|
14968
15007
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14969
15008
|
className: "pl-3 pr-3 pt-2 pb-2",
|
|
@@ -15309,7 +15348,7 @@ var Checkout = function Checkout(props) {
|
|
|
15309
15348
|
className: "col-lg-12 mb-3"
|
|
15310
15349
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15311
15350
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
15312
|
-
}, sectionproperties["shippingaddress".concat(langdetect)] || sectionproperties.shippingaddressen, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
15351
|
+
}, langdetect == 'nrwig' ? 'Leveringsadresse' : sectionproperties["shippingaddress".concat(langdetect)] || sectionproperties.shippingaddressen, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
15313
15352
|
"class": "mx-2",
|
|
15314
15353
|
style: {
|
|
15315
15354
|
color: 'var(--danger)'
|
|
@@ -15493,7 +15532,7 @@ var Checkout = function Checkout(props) {
|
|
|
15493
15532
|
style: {
|
|
15494
15533
|
color: sectionproperties.checkbox_color
|
|
15495
15534
|
}
|
|
15496
|
-
}, sectionproperties["cod_text_".concat(langdetect)] || sectionproperties.cod_text_en))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15535
|
+
}, langdetect == 'nrwig' ? 'Kontant ved levering' : sectionproperties["cod_text_".concat(langdetect)] || sectionproperties.cod_text_en))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15497
15536
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15498
15537
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15499
15538
|
className: langdetect != 'ar' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
@@ -15565,7 +15604,7 @@ var Checkout = function Checkout(props) {
|
|
|
15565
15604
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
15566
15605
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15567
15606
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15568
|
-
}, ' '
|
|
15607
|
+
}, langdetect == 'nrwig' ? 'Betaling på nett' : langdetect != 'ar' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), authdetailsContext.instinfo.acceptValuCard == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15569
15608
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15570
15609
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15571
15610
|
className: langdetect != 'ar' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -16083,7 +16122,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16083
16122
|
_useState0 = _slicedToArray__default["default"](_useState9, 2),
|
|
16084
16123
|
validateemailmodal = _useState0[0],
|
|
16085
16124
|
setvalidateemailmodal = _useState0[1];
|
|
16086
|
-
var _useState1 = React.useState(
|
|
16125
|
+
var _useState1 = React.useState(''),
|
|
16087
16126
|
_useState10 = _slicedToArray__default["default"](_useState1, 2),
|
|
16088
16127
|
sectionproperties = _useState10[0],
|
|
16089
16128
|
setsectionproperties = _useState10[1];
|
|
@@ -16092,37 +16131,37 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16092
16131
|
dataloaded = _useState12[0],
|
|
16093
16132
|
setdataloaded = _useState12[1];
|
|
16094
16133
|
var _useState13 = React.useState({
|
|
16095
|
-
phonenumber:
|
|
16096
|
-
code:
|
|
16097
|
-
step:
|
|
16134
|
+
phonenumber: '',
|
|
16135
|
+
code: '',
|
|
16136
|
+
step: 'sendcode',
|
|
16098
16137
|
isvalidated: false
|
|
16099
16138
|
}),
|
|
16100
16139
|
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
16101
16140
|
validatephonenumberpayload = _useState14[0],
|
|
16102
16141
|
setvalidatephonenumberpayload = _useState14[1];
|
|
16103
16142
|
var _useState15 = React.useState({
|
|
16104
|
-
email:
|
|
16105
|
-
code:
|
|
16106
|
-
step:
|
|
16107
|
-
isvalidated: props.srcfromprops ==
|
|
16143
|
+
email: '',
|
|
16144
|
+
code: '',
|
|
16145
|
+
step: 'sendcode',
|
|
16146
|
+
isvalidated: props.srcfromprops == 'accountinfo' ? true : false
|
|
16108
16147
|
}),
|
|
16109
16148
|
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
16110
16149
|
validateemailpayload = _useState16[0],
|
|
16111
16150
|
setvalidateemailpayload = _useState16[1];
|
|
16112
16151
|
var _useState17 = React.useState({
|
|
16113
16152
|
instapikey: instapikey,
|
|
16114
|
-
name:
|
|
16115
|
-
email:
|
|
16116
|
-
mobile:
|
|
16117
|
-
password:
|
|
16118
|
-
password2:
|
|
16119
|
-
shippingaddress:
|
|
16120
|
-
addedsourcetype:
|
|
16153
|
+
name: '',
|
|
16154
|
+
email: '',
|
|
16155
|
+
mobile: '',
|
|
16156
|
+
password: '',
|
|
16157
|
+
password2: '',
|
|
16158
|
+
shippingaddress: '',
|
|
16159
|
+
addedsourcetype: 'Webapp',
|
|
16121
16160
|
instsignupformvalues: [],
|
|
16122
|
-
countryid:
|
|
16123
|
-
stateid:
|
|
16124
|
-
cityid:
|
|
16125
|
-
countrydialcode:
|
|
16161
|
+
countryid: '',
|
|
16162
|
+
stateid: '',
|
|
16163
|
+
cityid: '',
|
|
16164
|
+
countrydialcode: ''
|
|
16126
16165
|
}),
|
|
16127
16166
|
_useState18 = _slicedToArray__default["default"](_useState17, 2),
|
|
16128
16167
|
payloadobj = _useState18[0],
|
|
@@ -16219,7 +16258,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16219
16258
|
}
|
|
16220
16259
|
}
|
|
16221
16260
|
if (passwordvalidation == false) {
|
|
16222
|
-
NotificationManager.warning(
|
|
16261
|
+
NotificationManager.warning('', lang.passwordsdontmatch);
|
|
16223
16262
|
}
|
|
16224
16263
|
// address
|
|
16225
16264
|
if (customeraddressrequierd == 1) {
|
|
@@ -16253,15 +16292,15 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16253
16292
|
iscompleted = true;
|
|
16254
16293
|
} else {
|
|
16255
16294
|
iscompleted = false;
|
|
16256
|
-
NotificationManager.warning(
|
|
16295
|
+
NotificationManager.warning('', lang.completerequiredfields);
|
|
16257
16296
|
}
|
|
16258
16297
|
} else {
|
|
16259
16298
|
iscompleted = false;
|
|
16260
|
-
NotificationManager.warning(
|
|
16299
|
+
NotificationManager.warning('', lang.pleasecompleteaddressmissingfields);
|
|
16261
16300
|
}
|
|
16262
16301
|
} else {
|
|
16263
16302
|
iscompleted = false;
|
|
16264
|
-
NotificationManager.warning(
|
|
16303
|
+
NotificationManager.warning('', lang.fillthemissingfields);
|
|
16265
16304
|
}
|
|
16266
16305
|
} else if ((fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu7 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu7 === void 0 || (_fetchAuthorizationQu7 = _fetchAuthorizationQu7.data) === null || _fetchAuthorizationQu7 === void 0 || (_fetchAuthorizationQu7 = _fetchAuthorizationQu7.instinfo) === null || _fetchAuthorizationQu7 === void 0 ? void 0 : _fetchAuthorizationQu7.customerEmailrequiered) == 0) {
|
|
16267
16306
|
if (payloadobj.name.length != 0 && payloadobj.mobile.length != 0 && passwordvalidation == true) {
|
|
@@ -16278,19 +16317,19 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16278
16317
|
iscompleted = true;
|
|
16279
16318
|
} else {
|
|
16280
16319
|
iscompleted = false;
|
|
16281
|
-
NotificationManager.warning(
|
|
16320
|
+
NotificationManager.warning('', lang.completerequiredfields);
|
|
16282
16321
|
}
|
|
16283
16322
|
} else {
|
|
16284
16323
|
iscompleted = false;
|
|
16285
|
-
NotificationManager.warning(
|
|
16324
|
+
NotificationManager.warning('', lang.pleasecompleteaddressmissingfields);
|
|
16286
16325
|
}
|
|
16287
16326
|
} else {
|
|
16288
16327
|
iscompleted = false;
|
|
16289
|
-
NotificationManager.warning(
|
|
16328
|
+
NotificationManager.warning('', lang.fillthemissingfields);
|
|
16290
16329
|
}
|
|
16291
16330
|
} else {
|
|
16292
16331
|
iscompleted = false;
|
|
16293
|
-
NotificationManager.warning(
|
|
16332
|
+
NotificationManager.warning('', lang.writevalidemail);
|
|
16294
16333
|
}
|
|
16295
16334
|
return iscompleted;
|
|
16296
16335
|
};
|
|
@@ -16298,13 +16337,13 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16298
16337
|
if (verifypayload() == true) {
|
|
16299
16338
|
var temppayloadobj = _objectSpread$2u({}, payloadobj);
|
|
16300
16339
|
if (authdetailsContext.loggedin == true) {
|
|
16301
|
-
temppayloadobj.functype =
|
|
16340
|
+
temppayloadobj.functype = 'edit';
|
|
16302
16341
|
} else {
|
|
16303
|
-
temppayloadobj.functype =
|
|
16342
|
+
temppayloadobj.functype = 'add';
|
|
16304
16343
|
}
|
|
16305
|
-
temppayloadobj.addedsourcetype =
|
|
16344
|
+
temppayloadobj.addedsourcetype = 'Webapp';
|
|
16306
16345
|
temppayloadobj.instapikey = instapikey;
|
|
16307
|
-
if (sectionproperties.redirectsaftersignup !=
|
|
16346
|
+
if (sectionproperties.redirectsaftersignup != 'Home') {
|
|
16308
16347
|
setwaitingpage(true);
|
|
16309
16348
|
}
|
|
16310
16349
|
CustomerSignUpMutationContext.mutate(temppayloadobj);
|
|
@@ -16314,47 +16353,47 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16314
16353
|
loginbtn: glamor.css({
|
|
16315
16354
|
background: templatepropcontext.primarycolor,
|
|
16316
16355
|
color: sectionproperties.generalbtn_textColor,
|
|
16317
|
-
borderRadius: sectionproperties.generalbtn_borderradius +
|
|
16318
|
-
fontSize: sectionproperties.generalbtn_fontsize +
|
|
16319
|
-
lineHeight: sectionproperties.generalbtn_fontsize +
|
|
16356
|
+
borderRadius: sectionproperties.generalbtn_borderradius + 'px',
|
|
16357
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
16358
|
+
lineHeight: sectionproperties.generalbtn_fontsize + 'px',
|
|
16320
16359
|
textTransform: sectionproperties.generalbtn_texttransform,
|
|
16321
|
-
width: sectionproperties.generalbtn_width +
|
|
16322
|
-
height: sectionproperties.generalbtn_height +
|
|
16323
|
-
|
|
16360
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
16361
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
16362
|
+
':hover': {
|
|
16324
16363
|
background: templatepropcontext.secondarycolor
|
|
16325
16364
|
}
|
|
16326
16365
|
}),
|
|
16327
16366
|
btnstyles: glamor.css({
|
|
16328
|
-
width: sectionproperties.generalbtn_width +
|
|
16329
|
-
height: sectionproperties.generalbtn_height +
|
|
16367
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
16368
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
16330
16369
|
textTransform: sectionproperties.generalbtn_texttransform,
|
|
16331
|
-
fontSize: sectionproperties.generalbtn_fontsize +
|
|
16370
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
16332
16371
|
color: sectionproperties.generalbtn_textColor,
|
|
16333
16372
|
background: sectionproperties.generalbtn_bgColor,
|
|
16334
|
-
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius +
|
|
16335
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius +
|
|
16336
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius +
|
|
16337
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius +
|
|
16373
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
16374
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
16375
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
16376
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
16338
16377
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
16339
|
-
transition:
|
|
16340
|
-
|
|
16378
|
+
transition: '.3s',
|
|
16379
|
+
':hover': {
|
|
16341
16380
|
background: sectionproperties.generalbtn_bgColoronhover,
|
|
16342
16381
|
color: sectionproperties.generalbtn_textColoronhover
|
|
16343
16382
|
}
|
|
16344
16383
|
}),
|
|
16345
16384
|
signupbtn: glamor.css({
|
|
16346
|
-
width: sectionproperties.signup_btn_width +
|
|
16347
|
-
height: sectionproperties.signup_btn_height +
|
|
16348
|
-
borderRadius: sectionproperties.signup_btn_borderBottomLeftRadius +
|
|
16385
|
+
width: sectionproperties.signup_btn_width + 'px',
|
|
16386
|
+
height: sectionproperties.signup_btn_height + 'px',
|
|
16387
|
+
borderRadius: sectionproperties.signup_btn_borderBottomLeftRadius + 'px',
|
|
16349
16388
|
textTransform: sectionproperties.signup_btn_texttransform,
|
|
16350
|
-
fontSize: sectionproperties.signup_btn_fontSize +
|
|
16389
|
+
fontSize: sectionproperties.signup_btn_fontSize + 'px',
|
|
16351
16390
|
color: sectionproperties.signup_btn_color,
|
|
16352
16391
|
fontWeight: sectionproperties.signup_btn_fontweight,
|
|
16353
|
-
background: sectionproperties.signup_btnbgcolor_transparent ==
|
|
16354
|
-
border: sectionproperties.signup_btn_borderwidth +
|
|
16355
|
-
transition:
|
|
16356
|
-
|
|
16357
|
-
background: sectionproperties.signup_btnbgcoloroonhovertransparent ==
|
|
16392
|
+
background: sectionproperties.signup_btnbgcolor_transparent == 'Transparent' ? 'transparent' : sectionproperties.signup_btnbgcolor,
|
|
16393
|
+
border: sectionproperties.signup_btn_borderwidth + 'px solid ' + sectionproperties.signupbtn_bordercolor,
|
|
16394
|
+
transition: '.3s',
|
|
16395
|
+
':hover': {
|
|
16396
|
+
background: sectionproperties.signup_btnbgcoloroonhovertransparent == 'Transparent' ? 'transparent' : sectionproperties.signup_btnbgcoloroonhover,
|
|
16358
16397
|
color: sectionproperties.signup_btn_coloronhover,
|
|
16359
16398
|
borderColor: sectionproperties.signup_btn_coloronhover
|
|
16360
16399
|
}
|
|
@@ -16363,48 +16402,48 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16363
16402
|
color: sectionproperties.form_labelcolor,
|
|
16364
16403
|
textTransform: sectionproperties.form_labeltexttransform,
|
|
16365
16404
|
fontWeight: sectionproperties.form_labelfontweight,
|
|
16366
|
-
fontSize: sectionproperties.form_labelfontsize +
|
|
16367
|
-
marginBottom: sectionproperties.inputfieldbordertype ==
|
|
16405
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
16406
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
16368
16407
|
}),
|
|
16369
16408
|
form_control: glamor.css((_css = {
|
|
16370
|
-
background:
|
|
16409
|
+
background: 'transparent',
|
|
16371
16410
|
color: sectionproperties.inputfieldcolor,
|
|
16372
|
-
fontSize: sectionproperties.inputfieldfontsize +
|
|
16373
|
-
position:
|
|
16374
|
-
display:
|
|
16375
|
-
alignItems:
|
|
16376
|
-
}, _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",
|
|
16411
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
16412
|
+
position: 'relative',
|
|
16413
|
+
display: 'flex',
|
|
16414
|
+
alignItems: 'center'
|
|
16415
|
+
}, _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', {
|
|
16377
16416
|
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
16378
|
-
}),
|
|
16417
|
+
}), ':focus .login_input_icon', {
|
|
16379
16418
|
color: sectionproperties.inputfeildbordercoloronfocus
|
|
16380
16419
|
}))),
|
|
16381
16420
|
checkbox: glamor.css({
|
|
16382
16421
|
color: sectionproperties.checkbox_color,
|
|
16383
16422
|
textTransform: sectionproperties.form_labeltexttransform,
|
|
16384
16423
|
fontWeight: sectionproperties.form_labelfontweight,
|
|
16385
|
-
fontSize: sectionproperties.form_labelfontsize +
|
|
16386
|
-
transition:
|
|
16387
|
-
|
|
16424
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
16425
|
+
transition: '.3s',
|
|
16426
|
+
':hover': {
|
|
16388
16427
|
color: sectionproperties.checkbox_texthovercolor
|
|
16389
16428
|
},
|
|
16390
|
-
|
|
16429
|
+
'input:checked': {
|
|
16391
16430
|
color: sectionproperties.checkbox_checkedcolor
|
|
16392
16431
|
}
|
|
16393
16432
|
}),
|
|
16394
16433
|
checkboxinputstyles: glamor.css({
|
|
16395
|
-
|
|
16396
|
-
boxShadow:
|
|
16434
|
+
':hover:not(:checked)': {
|
|
16435
|
+
boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_texthovercolor
|
|
16397
16436
|
},
|
|
16398
|
-
|
|
16399
|
-
boxShadow:
|
|
16437
|
+
':checked': {
|
|
16438
|
+
boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_checkedcolor
|
|
16400
16439
|
}
|
|
16401
16440
|
}),
|
|
16402
16441
|
svgstyles: glamor.css({
|
|
16403
|
-
stroke:
|
|
16442
|
+
stroke: 'var(--stroke, ' + sectionproperties.checkbox_checkedcolor + ')'
|
|
16404
16443
|
}),
|
|
16405
16444
|
terms: glamor.css({
|
|
16406
|
-
|
|
16407
|
-
transition:
|
|
16445
|
+
':hover': {
|
|
16446
|
+
transition: '.3s',
|
|
16408
16447
|
color: sectionproperties.termsandconditionsecondarycolor
|
|
16409
16448
|
}
|
|
16410
16449
|
})
|
|
@@ -16414,51 +16453,51 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16414
16453
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16415
16454
|
className: "row m-0 w-100"
|
|
16416
16455
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16417
|
-
className: sectionproperties.cardstyletype ==
|
|
16456
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
16418
16457
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16419
|
-
className: "".concat(formstyles.input_label_name) +
|
|
16420
|
-
}, lang.name, " ", props.srcfromprops ==
|
|
16458
|
+
className: "".concat(formstyles.input_label_name) + ' d-flex align-items-start '
|
|
16459
|
+
}, lang.name, " ", props.srcfromprops == 'signup' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16421
16460
|
"class": "text-danger ml-1 mr-1"
|
|
16422
16461
|
}, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16423
16462
|
type: "text",
|
|
16424
16463
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
16425
16464
|
value: payloadobj.name,
|
|
16426
16465
|
onChange: function onChange(event) {
|
|
16427
|
-
payloadobjchange(
|
|
16466
|
+
payloadobjchange('name', event.target.value);
|
|
16428
16467
|
},
|
|
16429
16468
|
style: {
|
|
16430
16469
|
background: sectionproperties.input_bgcolor
|
|
16431
16470
|
}
|
|
16432
16471
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16433
|
-
className: sectionproperties.cardstyletype ==
|
|
16472
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0 flex-column' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0 flex-column',
|
|
16434
16473
|
style: {
|
|
16435
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.customerEmailrequiered) == 1 ?
|
|
16474
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
16436
16475
|
}
|
|
16437
16476
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16438
|
-
className: "".concat(formstyles.input_label_name) +
|
|
16439
|
-
}, lang.email, " ", props.srcfromprops ==
|
|
16477
|
+
className: "".concat(formstyles.input_label_name) + ' d-flex align-items-start '
|
|
16478
|
+
}, lang.email, " ", props.srcfromprops == 'signup' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16440
16479
|
"class": "text-danger ml-1 mr-1"
|
|
16441
|
-
}, "*")), sectionproperties.showemaildisclaimer ==
|
|
16480
|
+
}, "*")), sectionproperties.showemaildisclaimer == 'Show' && /*#__PURE__*/React__default["default"].createElement("sup", null, sectionproperties["emaildisclaimer".concat(langdetect)] || sectionproperties.emaildisclaimeren), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16442
16481
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
16443
16482
|
type: "text",
|
|
16444
16483
|
textplaceholder: "",
|
|
16445
16484
|
value: payloadobj.email,
|
|
16446
16485
|
disabled: validateemailpayload.isvalidated,
|
|
16447
16486
|
onChange: function onChange(event) {
|
|
16448
|
-
payloadobjchange(
|
|
16487
|
+
payloadobjchange('email', event.target.value);
|
|
16449
16488
|
},
|
|
16450
16489
|
style: {
|
|
16451
16490
|
background: sectionproperties.input_bgcolor
|
|
16452
16491
|
}
|
|
16453
16492
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16454
|
-
className: sectionproperties.cardstyletype ==
|
|
16493
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
16455
16494
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16456
|
-
className: formstyles.input_label_name +
|
|
16457
|
-
}, lang.phonenumber, props.srcfromprops ==
|
|
16495
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
16496
|
+
}, lang.phonenumber, props.srcfromprops == 'signup' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16458
16497
|
"class": "text-danger ml-1 mr-1"
|
|
16459
16498
|
}, "*")), /*#__PURE__*/React__default["default"].createElement(PhoneInput__default["default"], {
|
|
16460
16499
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
16461
|
-
country: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) ==
|
|
16500
|
+
country: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '6808c6295b598' ? 'sa' : sectionproperties.countrycode == 'SA' ? 'sa' : 'eg',
|
|
16462
16501
|
enableSearch: true,
|
|
16463
16502
|
autoFormat: true,
|
|
16464
16503
|
value: payloadobj.mobile,
|
|
@@ -16476,7 +16515,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16476
16515
|
// alert(JSON.stringify(country));
|
|
16477
16516
|
},
|
|
16478
16517
|
style: {
|
|
16479
|
-
direction:
|
|
16518
|
+
direction: 'ltr',
|
|
16480
16519
|
color: sectionproperties.inputfieldcolor
|
|
16481
16520
|
}
|
|
16482
16521
|
})));
|
|
@@ -16485,18 +16524,18 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16485
16524
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16486
16525
|
className: "row m-0 w-100",
|
|
16487
16526
|
style: {
|
|
16488
|
-
display: sectionproperties.hidecountrystatecity ==
|
|
16527
|
+
display: sectionproperties.hidecountrystatecity == 'Show' && sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
|
|
16489
16528
|
}
|
|
16490
|
-
}, sectionproperties.hidecountrystatecity ==
|
|
16491
|
-
className: sectionproperties.cardstyletype ==
|
|
16529
|
+
}, sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16530
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
16492
16531
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16493
|
-
"class": sectionproperties.inputfieldcolor ==
|
|
16532
|
+
"class": sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-12 p-0 selectwhite' : 'col-lg-12 p-0'
|
|
16494
16533
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16495
|
-
className: formstyles.input_label_name +
|
|
16534
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
16496
16535
|
}, lang.country, customeraddressrequierd == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16497
16536
|
"class": "ml-1 mr-1",
|
|
16498
16537
|
style: {
|
|
16499
|
-
color:
|
|
16538
|
+
color: 'red'
|
|
16500
16539
|
}
|
|
16501
16540
|
}, "*")), fetchTabexCountriesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16502
16541
|
className: "col-lg-4 col-md-12 col-sm-12 mb-3 p-sm-0 d-flex justify-content-center align-items-center"
|
|
@@ -16506,13 +16545,13 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16506
16545
|
height: "20px",
|
|
16507
16546
|
duration: "1s"
|
|
16508
16547
|
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
16509
|
-
placeholder:
|
|
16548
|
+
placeholder: '',
|
|
16510
16549
|
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
16511
16550
|
getOptionLabel: function getOptionLabel(option) {
|
|
16512
|
-
var crname =
|
|
16513
|
-
if (langdetect !=
|
|
16551
|
+
var crname = '';
|
|
16552
|
+
if (langdetect != 'ar') {
|
|
16514
16553
|
crname = option.name;
|
|
16515
|
-
} else if (langdetect ==
|
|
16554
|
+
} else if (langdetect == 'ar') {
|
|
16516
16555
|
if (option.name_ar != null) {
|
|
16517
16556
|
crname = option.name_ar;
|
|
16518
16557
|
} else {
|
|
@@ -16530,23 +16569,23 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16530
16569
|
}),
|
|
16531
16570
|
onChange: function onChange(option) {
|
|
16532
16571
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2u({}, FetchTabexStatesPayloadobjContext);
|
|
16533
|
-
tempFetchTabexStatesPayloadobjContext.functype =
|
|
16572
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
16534
16573
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
16535
16574
|
setFetchTabexStatesPayloadobjContext(_objectSpread$2u({}, tempFetchTabexStatesPayloadobjContext));
|
|
16536
|
-
payloadobjchange(
|
|
16575
|
+
payloadobjchange('countryid', option.id);
|
|
16537
16576
|
},
|
|
16538
|
-
styles: langdetect !=
|
|
16577
|
+
styles: langdetect != 'ar' ? defaultstyles : defaultstylestranslated,
|
|
16539
16578
|
isSearchable: true
|
|
16540
|
-
}))), sectionproperties.hidecountrystatecity ==
|
|
16541
|
-
className: sectionproperties.cardstyletype ==
|
|
16579
|
+
}))), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16580
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
16542
16581
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16543
|
-
"class": sectionproperties.inputfieldcolor ==
|
|
16582
|
+
"class": sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-12 p-0 selectwhite' : 'col-lg-12 p-0'
|
|
16544
16583
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16545
|
-
className: formstyles.input_label_name +
|
|
16546
|
-
}, lang.choosestategov,
|
|
16584
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
16585
|
+
}, lang.choosestategov, ' ', customeraddressrequierd == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16547
16586
|
"class": "ml-1 mr-1",
|
|
16548
16587
|
style: {
|
|
16549
|
-
color:
|
|
16588
|
+
color: 'red'
|
|
16550
16589
|
}
|
|
16551
16590
|
}, "*")), fetchTabexStatesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16552
16591
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0 d-flex justify-content-center align-items-center"
|
|
@@ -16555,17 +16594,17 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16555
16594
|
width: "20px",
|
|
16556
16595
|
height: "20px",
|
|
16557
16596
|
duration: "1s"
|
|
16558
|
-
})), FetchTabexStatesPayloadobjContext.country_id ==
|
|
16559
|
-
styles: langdetect !=
|
|
16560
|
-
placeholder:
|
|
16597
|
+
})), FetchTabexStatesPayloadobjContext.country_id == '' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
16598
|
+
styles: langdetect != 'ar' ? defaultstyles : defaultstylestranslated,
|
|
16599
|
+
placeholder: '',
|
|
16561
16600
|
isSearchable: true
|
|
16562
16601
|
}), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
16563
16602
|
options: fetchTabexStatesQueryContext.data.data.states,
|
|
16564
16603
|
getOptionLabel: function getOptionLabel(option) {
|
|
16565
|
-
var crname =
|
|
16566
|
-
if (langdetect !=
|
|
16604
|
+
var crname = '';
|
|
16605
|
+
if (langdetect != 'ar') {
|
|
16567
16606
|
crname = option.name;
|
|
16568
|
-
} else if (langdetect ==
|
|
16607
|
+
} else if (langdetect == 'ar') {
|
|
16569
16608
|
if (option.name_ar != null) {
|
|
16570
16609
|
crname = option.name_ar;
|
|
16571
16610
|
} else {
|
|
@@ -16583,24 +16622,24 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16583
16622
|
}),
|
|
16584
16623
|
onChange: function onChange(option) {
|
|
16585
16624
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2u({}, FetchTabexStatesPayloadobjContext);
|
|
16586
|
-
tempFetchTabexStatesPayloadobjContext.functype =
|
|
16625
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
16587
16626
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
16588
16627
|
setFetchTabexStatesPayloadobjContext(_objectSpread$2u({}, tempFetchTabexStatesPayloadobjContext));
|
|
16589
|
-
payloadobjchange(
|
|
16628
|
+
payloadobjchange('stateid', option.id);
|
|
16590
16629
|
},
|
|
16591
|
-
styles: langdetect !=
|
|
16630
|
+
styles: langdetect != 'ar' ? defaultstyles : defaultstylestranslated,
|
|
16592
16631
|
isSearchable: true,
|
|
16593
|
-
placeholder:
|
|
16594
|
-
}))), sectionproperties.hidecountrystatecity ==
|
|
16595
|
-
className: sectionproperties.cardstyletype ==
|
|
16632
|
+
placeholder: ''
|
|
16633
|
+
}))), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16634
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
16596
16635
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16597
|
-
"class": sectionproperties.inputfieldcolor ==
|
|
16636
|
+
"class": sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-12 p-0 selectwhite' : 'col-lg-12 p-0'
|
|
16598
16637
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16599
|
-
className: formstyles.input_label_name +
|
|
16638
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
16600
16639
|
}, lang.city, customeraddressrequierd == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16601
16640
|
"class": "ml-1 mr-1",
|
|
16602
16641
|
style: {
|
|
16603
|
-
color:
|
|
16642
|
+
color: 'red'
|
|
16604
16643
|
}
|
|
16605
16644
|
}, "*")), fetchTabexCitiesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16606
16645
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0 d-flex justify-content-center align-items-center"
|
|
@@ -16609,17 +16648,17 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16609
16648
|
width: "20px",
|
|
16610
16649
|
height: "20px",
|
|
16611
16650
|
duration: "1s"
|
|
16612
|
-
})), FetchTabexStatesPayloadobjContext.country_id ==
|
|
16613
|
-
placeholder:
|
|
16614
|
-
styles: langdetect !=
|
|
16651
|
+
})), FetchTabexStatesPayloadobjContext.country_id == '' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
16652
|
+
placeholder: '',
|
|
16653
|
+
styles: langdetect != 'ar' ? defaultstyles : defaultstylestranslated,
|
|
16615
16654
|
isSearchable: true
|
|
16616
16655
|
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
16617
16656
|
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
16618
16657
|
getOptionLabel: function getOptionLabel(option) {
|
|
16619
|
-
var crname =
|
|
16620
|
-
if (langdetect !=
|
|
16658
|
+
var crname = '';
|
|
16659
|
+
if (langdetect != 'ar') {
|
|
16621
16660
|
crname = option.name;
|
|
16622
|
-
} else if (langdetect ==
|
|
16661
|
+
} else if (langdetect == 'ar') {
|
|
16623
16662
|
if (option.name_ar != null) {
|
|
16624
16663
|
crname = option.name_ar;
|
|
16625
16664
|
} else {
|
|
@@ -16636,32 +16675,32 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16636
16675
|
return option.id == payloadobj.cityid;
|
|
16637
16676
|
}),
|
|
16638
16677
|
onChange: function onChange(option) {
|
|
16639
|
-
payloadobjchange(
|
|
16678
|
+
payloadobjchange('cityid', option.id);
|
|
16640
16679
|
},
|
|
16641
|
-
styles: langdetect !=
|
|
16642
|
-
placeholder:
|
|
16680
|
+
styles: langdetect != 'ar' ? defaultstyles : defaultstylestranslated,
|
|
16681
|
+
placeholder: '',
|
|
16643
16682
|
isSearchable: true
|
|
16644
|
-
}))), sectionproperties.hideaddress ==
|
|
16645
|
-
className:
|
|
16683
|
+
}))), sectionproperties.hideaddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16684
|
+
className: 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
16646
16685
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16647
|
-
className: "".concat(formstyles.input_label_name) +
|
|
16648
|
-
}, lang.address,
|
|
16686
|
+
className: "".concat(formstyles.input_label_name) + ' mb-1 d-flex align-items-start '
|
|
16687
|
+
}, lang.address, ' ', customeraddressrequierd == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16649
16688
|
"class": "ml-1 mr-1",
|
|
16650
16689
|
style: {
|
|
16651
|
-
color:
|
|
16690
|
+
color: 'red'
|
|
16652
16691
|
}
|
|
16653
16692
|
}, "*")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16654
16693
|
className: loginstyles.wrap_input100
|
|
16655
16694
|
}, /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
16656
16695
|
type: "text",
|
|
16657
|
-
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control) +
|
|
16696
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control) + ' py-1 ',
|
|
16658
16697
|
value: payloadobj.shippingaddress,
|
|
16659
16698
|
textplaceholder: "",
|
|
16660
16699
|
onChange: function onChange(event) {
|
|
16661
|
-
payloadobjchange(
|
|
16700
|
+
payloadobjchange('shippingaddress', event.target.value);
|
|
16662
16701
|
},
|
|
16663
16702
|
style: {
|
|
16664
|
-
resize:
|
|
16703
|
+
resize: 'none',
|
|
16665
16704
|
background: sectionproperties.input_bgcolor
|
|
16666
16705
|
}
|
|
16667
16706
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -16672,28 +16711,28 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16672
16711
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16673
16712
|
className: "row m-0 w-100"
|
|
16674
16713
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16675
|
-
className: sectionproperties.cardstyletype ==
|
|
16714
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-6 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
16676
16715
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16677
|
-
className: "".concat(formstyles.input_label_name) +
|
|
16678
|
-
}, lang.password, props.srcfromprops ==
|
|
16716
|
+
className: "".concat(formstyles.input_label_name) + ' d-flex align-items-start '
|
|
16717
|
+
}, lang.password, props.srcfromprops == 'signup' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16679
16718
|
"class": "text-danger ml-1 mr-1"
|
|
16680
16719
|
}, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16681
16720
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
16682
|
-
type:
|
|
16721
|
+
type: 'password',
|
|
16683
16722
|
autocomplete: "new-password",
|
|
16684
16723
|
textplaceholder: "",
|
|
16685
16724
|
value: payloadobj.password,
|
|
16686
16725
|
onChange: function onChange(event) {
|
|
16687
|
-
payloadobjchange(
|
|
16726
|
+
payloadobjchange('password', event.target.value);
|
|
16688
16727
|
},
|
|
16689
16728
|
style: {
|
|
16690
16729
|
background: sectionproperties.input_bgcolor
|
|
16691
16730
|
}
|
|
16692
16731
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16693
|
-
className: sectionproperties.cardstyletype ==
|
|
16732
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-6 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
16694
16733
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16695
|
-
className: "".concat(formstyles.input_label_name) +
|
|
16696
|
-
}, lang.confirmpassword, props.srcfromprops ==
|
|
16734
|
+
className: "".concat(formstyles.input_label_name) + ' d-flex align-items-start '
|
|
16735
|
+
}, lang.confirmpassword, props.srcfromprops == 'signup' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16697
16736
|
"class": "text-danger ml-1 mr-1"
|
|
16698
16737
|
}, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16699
16738
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
@@ -16702,32 +16741,32 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16702
16741
|
textplaceholder: "",
|
|
16703
16742
|
value: payloadobj.password2,
|
|
16704
16743
|
onChange: function onChange(event) {
|
|
16705
|
-
payloadobjchange(
|
|
16744
|
+
payloadobjchange('password2', event.target.value);
|
|
16706
16745
|
},
|
|
16707
16746
|
style: {
|
|
16708
16747
|
background: sectionproperties.input_bgcolor
|
|
16709
16748
|
}
|
|
16710
|
-
})), sectionproperties.showpassworddisclaimer ==
|
|
16749
|
+
})), sectionproperties.showpassworddisclaimer == 'Show' && props.srcfromprops == 'signup' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16711
16750
|
"class": "col-lg-12 text-start text-danger"
|
|
16712
16751
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16713
16752
|
style: {
|
|
16714
16753
|
fontSize: 14
|
|
16715
16754
|
}
|
|
16716
|
-
}, langdetect ===
|
|
16755
|
+
}, langdetect === 'ar' ? 'الرقم السرى لا يقل عن 8 حروف او ارقام' : langdetect === 'chin' ? '密码长度不得少于8个字符' : langdetect === 'es' ? 'La contraseña no debe tener menos de 8 caracteres' : langdetect === 'fr' ? 'Le mot de passe ne doit pas comporter moins de 8 caractères' : langdetect === 'rus' ? 'Пароль не должен быть короче 8 символов' : "Password shouldn't be less than 8 characters")));
|
|
16717
16756
|
};
|
|
16718
16757
|
var Otherinformation = function Otherinformation() {
|
|
16719
16758
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16720
16759
|
className: "row m-0 w-100"
|
|
16721
16760
|
}, payloadobj.instsignupformvalues.length != 0 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, payloadobj.instsignupformvalues.map(function (item, index) {
|
|
16722
16761
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16723
|
-
className: sectionproperties.cardstyletype ==
|
|
16724
|
-
}, item.inputtype !=
|
|
16725
|
-
className: formstyles.input_label_name +
|
|
16762
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-6 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
16763
|
+
}, item.inputtype != 'checkbox' && /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16764
|
+
className: formstyles.input_label_name + ' d-flex align-items-start '
|
|
16726
16765
|
}, item["inputname_".concat(langdetect)] || item.inputname_en, " ", /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16727
16766
|
"class": "text-danger ml-1 mr-1"
|
|
16728
|
-
}, item.optional == 1 ?
|
|
16767
|
+
}, item.optional == 1 ? '*' : '')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16729
16768
|
className: loginstyles.wrap_input100
|
|
16730
|
-
}, item.inputtype ==
|
|
16769
|
+
}, item.inputtype == 'input' && /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16731
16770
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
16732
16771
|
type: "text",
|
|
16733
16772
|
value: item.customersignupvalue,
|
|
@@ -16738,15 +16777,15 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16738
16777
|
setpayloadobj(_objectSpread$2u({}, temppayloadobj));
|
|
16739
16778
|
},
|
|
16740
16779
|
style: {
|
|
16741
|
-
background:
|
|
16780
|
+
background: 'transparent'
|
|
16742
16781
|
}
|
|
16743
|
-
}), item.inputtype ==
|
|
16744
|
-
className: langdetect !=
|
|
16782
|
+
}), item.inputtype == 'checkbox' && /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16783
|
+
className: langdetect != 'ar' ? "".concat(loginstyles.checkbox, " ").concat(formstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(loginstyles.checkbox, " ").concat(loginstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
16745
16784
|
"for": "codcheckbox"
|
|
16746
16785
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16747
|
-
id:
|
|
16786
|
+
id: 'codcheckbox',
|
|
16748
16787
|
type: "checkbox",
|
|
16749
|
-
className: formstyles.checkboxinputstyles +
|
|
16788
|
+
className: formstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
16750
16789
|
checked: item.customersignupvalue == 1 ? true : false,
|
|
16751
16790
|
onChange: function onChange() {
|
|
16752
16791
|
var temppayloadobj = _objectSpread$2u({}, payloadobj);
|
|
@@ -16759,15 +16798,15 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16759
16798
|
}
|
|
16760
16799
|
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
16761
16800
|
viewBox: "0 0 21 21",
|
|
16762
|
-
className: formstyles.svgstyles +
|
|
16801
|
+
className: formstyles.svgstyles + ' h-100 '
|
|
16763
16802
|
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
16764
16803
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
16765
16804
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16766
|
-
className: formstyles.input_label_name +
|
|
16805
|
+
className: formstyles.input_label_name + ' ml-2 cursor-pointer wordbreak mr-2',
|
|
16767
16806
|
style: {}
|
|
16768
16807
|
}, item["inputname_".concat(langdetect)] || item.inputname_en, " ", /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16769
16808
|
"class": "text-danger ml-1 mr-1"
|
|
16770
|
-
}, item.optional == 1 ?
|
|
16809
|
+
}, item.optional == 1 ? '' : '*'))), item.inputtype == 'selectbox' && /*#__PURE__*/React__default["default"].createElement("select", {
|
|
16771
16810
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
16772
16811
|
value: item.customersignupvalue,
|
|
16773
16812
|
textplaceholder: "",
|
|
@@ -16777,13 +16816,13 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16777
16816
|
setpayloadobj(_objectSpread$2u({}, temppayloadobj));
|
|
16778
16817
|
}
|
|
16779
16818
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
16780
|
-
value:
|
|
16819
|
+
value: '',
|
|
16781
16820
|
disabled: true
|
|
16782
|
-
}, langdetect ===
|
|
16821
|
+
}, langdetect === 'ar' ? 'إختر' : langdetect === 'chin' ? '选择' : langdetect === 'es' ? 'Elegir' : langdetect === 'fr' ? 'Choisir' : langdetect === 'rus' ? 'Выбрать' : 'Choose'), JSON.parse(item.selectboxvalues).map(function (selectboxitem, selectboxindex) {
|
|
16783
16822
|
return /*#__PURE__*/React__default["default"].createElement("option", {
|
|
16784
16823
|
value: selectboxitem.optionname_en
|
|
16785
16824
|
}, selectboxitem["optionname_".concat(langdetect)] || selectboxitem.optionname_en);
|
|
16786
|
-
})), item.inputtype ==
|
|
16825
|
+
})), item.inputtype == 'textarea' && /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
16787
16826
|
type: "text",
|
|
16788
16827
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
16789
16828
|
value: item.customersignupvalue,
|
|
@@ -16794,7 +16833,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16794
16833
|
setpayloadobj(_objectSpread$2u({}, temppayloadobj));
|
|
16795
16834
|
},
|
|
16796
16835
|
style: {
|
|
16797
|
-
resize:
|
|
16836
|
+
resize: 'none'
|
|
16798
16837
|
}
|
|
16799
16838
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16800
16839
|
className: loginstyles.login_input_focus
|
|
@@ -16803,7 +16842,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16803
16842
|
};
|
|
16804
16843
|
var SignUpButtonContent = function SignUpButtonContent() {
|
|
16805
16844
|
return /*#__PURE__*/React__default["default"].createElement("button", {
|
|
16806
|
-
className: "".concat(formstyles.signupbtn) +
|
|
16845
|
+
className: "".concat(formstyles.signupbtn) + ' d-flex align-items-center justify-content-center ',
|
|
16807
16846
|
disabled: CustomerSignUpMutationContext.isLoading ? true : false,
|
|
16808
16847
|
onClick: function onClick() {
|
|
16809
16848
|
if (verifypayload() == true) {
|
|
@@ -16841,9 +16880,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16841
16880
|
duration: "1s"
|
|
16842
16881
|
}), !CustomerSignUpMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, authdetailsContext.loggedin != true && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16843
16882
|
style: {
|
|
16844
|
-
letterSpacing: langdetect !=
|
|
16883
|
+
letterSpacing: langdetect != 'ar' ? '1px' : ''
|
|
16845
16884
|
}
|
|
16846
|
-
}, sectionproperties["signupbtn_content".concat(langdetect)] || sectionproperties.signupbtn_contenten), authdetailsContext.loggedin == true && /*#__PURE__*/React__default["default"].createElement("span", null, lang.update)));
|
|
16885
|
+
}, langdetect == 'nrwig' ? 'SKAPE' : sectionproperties["signupbtn_content".concat(langdetect)] || sectionproperties.signupbtn_contenten), authdetailsContext.loggedin == true && /*#__PURE__*/React__default["default"].createElement("span", null, lang.update)));
|
|
16847
16886
|
};
|
|
16848
16887
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16849
16888
|
className: "row m-0 w-100 d-flex justify-content-center",
|
|
@@ -16855,84 +16894,84 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16855
16894
|
width: "20px",
|
|
16856
16895
|
height: "20px",
|
|
16857
16896
|
duration: "1s"
|
|
16858
|
-
}), dataloaded && props.srcfromprops ==
|
|
16897
|
+
}), dataloaded && props.srcfromprops == 'signup' && waitingpage == false && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16859
16898
|
className: "col-lg-12 p-0",
|
|
16860
16899
|
style: {
|
|
16861
16900
|
background: sectionproperties.formLeftbgColor
|
|
16862
16901
|
}
|
|
16863
|
-
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword ==
|
|
16902
|
+
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.ispasswordrequired_signup) == 1 && Password()), dataloaded && props.srcfromprops == 'accountinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16864
16903
|
className: "col-lg-12 p-0"
|
|
16865
16904
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16866
16905
|
className: "row ml-0 mr-0 w-100"
|
|
16867
|
-
}, sectionproperties.showsubscription ==
|
|
16906
|
+
}, sectionproperties.showsubscription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16868
16907
|
className: "col-lg-6 col-md-6 col-sm-12 mb-3"
|
|
16869
16908
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16870
16909
|
style: {
|
|
16871
16910
|
background: sectionproperties.backgroundColor,
|
|
16872
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius +
|
|
16873
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius +
|
|
16874
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius +
|
|
16875
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius +
|
|
16911
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
16912
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
16913
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
16914
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
16876
16915
|
},
|
|
16877
16916
|
className: "px-2 py-3 flex-column"
|
|
16878
16917
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16879
16918
|
"class": "m-0 p-0 allcentered ",
|
|
16880
16919
|
style: {
|
|
16881
|
-
fontSize: sectionproperties.sectionTitleFontSize +
|
|
16920
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
16882
16921
|
color: sectionproperties.sectionTitleColor,
|
|
16883
16922
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
16884
16923
|
}
|
|
16885
|
-
}, langdetect ===
|
|
16924
|
+
}, langdetect === 'ar' ? 'مشترك فى' : langdetect === 'chin' ? '订阅于' : langdetect === 'es' ? 'Suscrito en' : langdetect === 'fr' ? 'Abonné le' : langdetect === 'rus' ? 'Подписан на' : 'Subscribed at'), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16886
16925
|
"class": "m-0 p-0 allcentered ",
|
|
16887
16926
|
style: {
|
|
16888
|
-
fontSize: sectionproperties.sectionTitleFontSize +
|
|
16927
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
16889
16928
|
color: sectionproperties.sectionTitleColor,
|
|
16890
16929
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
16891
16930
|
}
|
|
16892
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.subscription_name))), sectionproperties.showsubscription ==
|
|
16931
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.subscription_name))), sectionproperties.showsubscription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16893
16932
|
className: "col-lg-6 col-md-6 col-sm-12 mb-3"
|
|
16894
16933
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16895
16934
|
style: {
|
|
16896
16935
|
background: sectionproperties.backgroundColor,
|
|
16897
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius +
|
|
16898
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius +
|
|
16899
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius +
|
|
16900
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius +
|
|
16936
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
16937
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
16938
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
16939
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
16901
16940
|
},
|
|
16902
16941
|
className: "px-2 py-3 allcentered flex-column"
|
|
16903
16942
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16904
16943
|
"class": "m-0 p-0",
|
|
16905
16944
|
style: {
|
|
16906
|
-
fontSize: sectionproperties.sectionTitleFontSize +
|
|
16945
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
16907
16946
|
color: sectionproperties.sectionTitleColor,
|
|
16908
16947
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
16909
16948
|
}
|
|
16910
|
-
}, langdetect ===
|
|
16949
|
+
}, langdetect === 'ar' ? 'الإشتراك ينتهى فى' : langdetect === 'chin' ? '订阅结束于' : langdetect === 'es' ? 'La suscripción termina el' : langdetect === 'fr' ? "L'abonnement se termine le" : langdetect === 'rus' ? 'Подписка заканчивается' : 'Subscription ends on'), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16911
16950
|
"class": "m-0 p-0",
|
|
16912
16951
|
style: {
|
|
16913
|
-
fontSize: sectionproperties.sectionTitleFontSize +
|
|
16952
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
16914
16953
|
color: sectionproperties.sectionTitleColor,
|
|
16915
16954
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
16916
16955
|
}
|
|
16917
16956
|
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$c2 = authdetailsContext.customerinfo) === null || _authdetailsContext$c2 === void 0 ? void 0 : _authdetailsContext$c2.subscrption_enddate))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16918
|
-
className: sectionproperties.cardstyletype ==
|
|
16957
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0'
|
|
16919
16958
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16920
16959
|
style: {
|
|
16921
16960
|
background: sectionproperties.backgroundColor,
|
|
16922
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius +
|
|
16923
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius +
|
|
16924
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius +
|
|
16925
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius +
|
|
16961
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
16962
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
16963
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
16964
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
16926
16965
|
},
|
|
16927
|
-
className: sectionproperties.cardstyletype ==
|
|
16928
|
-
}, sectionproperties.cardstyletype ==
|
|
16966
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100'
|
|
16967
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16929
16968
|
className: "row ml-0 mr-0"
|
|
16930
16969
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16931
16970
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
16932
16971
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16933
16972
|
className: "m-0 p-0",
|
|
16934
16973
|
style: {
|
|
16935
|
-
fontSize: sectionproperties.sectionTitleFontSize +
|
|
16974
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
16936
16975
|
color: sectionproperties.sectionTitleColor,
|
|
16937
16976
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
16938
16977
|
}
|
|
@@ -16941,27 +16980,27 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16941
16980
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
16942
16981
|
className: "mt-2 mb-3"
|
|
16943
16982
|
}))), PersonalInformation())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16944
|
-
className: sectionproperties.cardstyletype ==
|
|
16983
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0',
|
|
16945
16984
|
style: {
|
|
16946
|
-
display: sectionproperties.hidecountrystatecity ==
|
|
16985
|
+
display: sectionproperties.hidecountrystatecity == 'Show' && sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
|
|
16947
16986
|
}
|
|
16948
16987
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16949
|
-
className: sectionproperties.cardstyletype ==
|
|
16988
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100',
|
|
16950
16989
|
style: {
|
|
16951
16990
|
background: sectionproperties.backgroundColor,
|
|
16952
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius +
|
|
16953
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius +
|
|
16954
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius +
|
|
16955
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius +
|
|
16991
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
16992
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
16993
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
16994
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
16956
16995
|
}
|
|
16957
|
-
}, sectionproperties.cardstyletype ==
|
|
16996
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16958
16997
|
className: "row ml-0 mr-0"
|
|
16959
16998
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16960
16999
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
16961
17000
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16962
17001
|
className: "m-0 p-0",
|
|
16963
17002
|
style: {
|
|
16964
|
-
fontSize: sectionproperties.sectionTitleFontSize +
|
|
17003
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
16965
17004
|
color: sectionproperties.sectionTitleColor,
|
|
16966
17005
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
16967
17006
|
}
|
|
@@ -16970,24 +17009,24 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16970
17009
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
16971
17010
|
className: "mt-2 mb-3"
|
|
16972
17011
|
}))), Address())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16973
|
-
className: sectionproperties.cardstyletype ==
|
|
17012
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0'
|
|
16974
17013
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16975
|
-
className: sectionproperties.cardstyletype ==
|
|
17014
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100',
|
|
16976
17015
|
style: {
|
|
16977
17016
|
background: sectionproperties.backgroundColor,
|
|
16978
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius +
|
|
16979
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius +
|
|
16980
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius +
|
|
16981
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius +
|
|
17017
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
17018
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
17019
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
17020
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
16982
17021
|
}
|
|
16983
|
-
}, sectionproperties.cardstyletype ==
|
|
17022
|
+
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16984
17023
|
className: "row ml-0 mr-0"
|
|
16985
17024
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16986
17025
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
16987
17026
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16988
17027
|
className: "m-0 p-0",
|
|
16989
17028
|
style: {
|
|
16990
|
-
fontSize: sectionproperties.sectionTitleFontSize +
|
|
17029
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
16991
17030
|
color: sectionproperties.sectionTitleColor,
|
|
16992
17031
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
16993
17032
|
}
|
|
@@ -16998,16 +17037,16 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
16998
17037
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16999
17038
|
className: "row ml-0 mr-0"
|
|
17000
17039
|
}, Password()))), payloadobj.instsignupformvalues.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17001
|
-
className: sectionproperties.cardstyletype ==
|
|
17040
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 mb-3 p-0' : 'col-lg-12 p-0'
|
|
17002
17041
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17003
17042
|
style: {
|
|
17004
17043
|
background: sectionproperties.backgroundColor,
|
|
17005
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius +
|
|
17006
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius +
|
|
17007
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius +
|
|
17008
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius +
|
|
17044
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
17045
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
17046
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
17047
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
17009
17048
|
},
|
|
17010
|
-
className: sectionproperties.cardstyletype ==
|
|
17049
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'p-2 w-100' : 'w-100'
|
|
17011
17050
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17012
17051
|
className: "row ml-0 mr-0"
|
|
17013
17052
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -17015,7 +17054,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17015
17054
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17016
17055
|
className: "m-0 p-0",
|
|
17017
17056
|
style: {
|
|
17018
|
-
fontSize: sectionproperties.sectionTitleFontSize +
|
|
17057
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
17019
17058
|
color: sectionproperties.sectionTitleColor,
|
|
17020
17059
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
17021
17060
|
}
|
|
@@ -17025,23 +17064,23 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17025
17064
|
className: "mt-2 mb-3"
|
|
17026
17065
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17027
17066
|
className: "row ml-0 mr-0"
|
|
17028
|
-
}, Otherinformation()))))), sectionproperties.viewtermsandcondition ==
|
|
17067
|
+
}, Otherinformation()))))), sectionproperties.viewtermsandcondition == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17029
17068
|
"class": "col-lg-12 allcentered"
|
|
17030
17069
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17031
17070
|
"class": "m-0 p-0",
|
|
17032
17071
|
style: {
|
|
17033
|
-
fontSize: sectionproperties.termsandconditionfontsize +
|
|
17072
|
+
fontSize: sectionproperties.termsandconditionfontsize + 'px',
|
|
17034
17073
|
color: sectionproperties.termsandconditioncolor,
|
|
17035
17074
|
fontWeight: 600
|
|
17036
17075
|
}
|
|
17037
|
-
}, sectionproperties["termsandconditiontext_".concat(langdetect)] || sectionproperties.termsandconditiontext_en,
|
|
17038
|
-
"class": formstyles.terms +
|
|
17076
|
+
}, sectionproperties["termsandconditiontext_".concat(langdetect)] || sectionproperties.termsandconditiontext_en, ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
17077
|
+
"class": formstyles.terms + ' cursor-pointer ',
|
|
17039
17078
|
onClick: function onClick() {
|
|
17040
|
-
window.open(window.location.origin +
|
|
17079
|
+
window.open(window.location.origin + '/policies', '_blank');
|
|
17041
17080
|
}
|
|
17042
|
-
}, langdetect ===
|
|
17081
|
+
}, langdetect === 'ar' ? 'الشروط و الاحكام' : langdetect === 'chin' ? '条款和条件' : langdetect === 'es' ? 'Términos y Condiciones' : langdetect === 'fr' ? 'Termes et Conditions' : langdetect === 'rus' ? 'Правила и условия' : 'Terms & Conditions'))), waitingpage == false && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17043
17082
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-3"
|
|
17044
|
-
}, authdetailsContext.loggedin == false && SignUpButtonContent(), authdetailsContext.loggedin == true && sectionproperties.showupdatebtn ==
|
|
17083
|
+
}, authdetailsContext.loggedin == false && SignUpButtonContent(), authdetailsContext.loggedin == true && sectionproperties.showupdatebtn == 'Show' && SignUpButtonContent()), props.srcfromprops == 'signup' && waitingpage == false && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17045
17084
|
className: "row m-0 w-100"
|
|
17046
17085
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17047
17086
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex d-md-none align-items-center justify-content-center mb-2"
|
|
@@ -17074,14 +17113,14 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17074
17113
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17075
17114
|
style: {
|
|
17076
17115
|
color: sectionproperties.waitingapprovalcolor,
|
|
17077
|
-
fontSize: sectionproperties.waitingapprovalfontsize +
|
|
17116
|
+
fontSize: sectionproperties.waitingapprovalfontsize + 'px'
|
|
17078
17117
|
}
|
|
17079
17118
|
}, sectionproperties["waitingapprovaltest_".concat(langdetect)] || sectionproperties.waitingapprovaltest_en)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17080
17119
|
"class": "col-lg-12 allcentered"
|
|
17081
17120
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17082
17121
|
style: {
|
|
17083
17122
|
color: sectionproperties.waitingapprovalcolor2,
|
|
17084
|
-
fontSize: sectionproperties.waitingapprovalfontsize2 +
|
|
17123
|
+
fontSize: sectionproperties.waitingapprovalfontsize2 + 'px'
|
|
17085
17124
|
}
|
|
17086
17125
|
}, sectionproperties["waitingapprovaltest_".concat(langdetect, "2")] || sectionproperties.waitingapprovaltest_en2)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
17087
17126
|
show: validateemailmodal,
|
|
@@ -17089,17 +17128,17 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17089
17128
|
return setvalidateemailmodal(false);
|
|
17090
17129
|
},
|
|
17091
17130
|
centered: true,
|
|
17092
|
-
size:
|
|
17131
|
+
size: 'md'
|
|
17093
17132
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17094
17133
|
"class": "d-flex align-items-center justify-content-center bgdanger-hover",
|
|
17095
17134
|
style: {
|
|
17096
|
-
position:
|
|
17135
|
+
position: 'absolute',
|
|
17097
17136
|
right: -15,
|
|
17098
17137
|
top: -15,
|
|
17099
|
-
width:
|
|
17100
|
-
height:
|
|
17101
|
-
background:
|
|
17102
|
-
borderRadius:
|
|
17138
|
+
width: '4vh',
|
|
17139
|
+
height: '4vh',
|
|
17140
|
+
background: '#000',
|
|
17141
|
+
borderRadius: '50%'
|
|
17103
17142
|
},
|
|
17104
17143
|
onClick: function onClick() {
|
|
17105
17144
|
return setvalidateemailmodal(false);
|
|
@@ -17114,40 +17153,40 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17114
17153
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17115
17154
|
className: "text-md-center m-0 p-0 mb-2",
|
|
17116
17155
|
style: {
|
|
17117
|
-
fontSize:
|
|
17118
|
-
color:
|
|
17156
|
+
fontSize: '19px',
|
|
17157
|
+
color: '#000',
|
|
17119
17158
|
fontWeight: 600
|
|
17120
17159
|
}
|
|
17121
|
-
}, langdetect ===
|
|
17160
|
+
}, langdetect === 'ar' ? 'التحقق من صحة البريد الإلكتروني' : langdetect === 'chin' ? '验证电子邮件' : langdetect === 'es' ? 'Validar correo electrónico' : langdetect === 'fr' ? "Valider l'email" : langdetect === 'rus' ? 'Проверить электронную почту' : 'Validate Email')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17122
17161
|
"class": "col-lg-12 p-0"
|
|
17123
17162
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
17124
|
-
"class":
|
|
17163
|
+
"class": 'm-0 p-0'
|
|
17125
17164
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17126
17165
|
"class": "row w-100 m-0 mb-3 pl-2 pr-2 pt-3 pb-3 pl-sm-3 pr-sm-3"
|
|
17127
17166
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17128
17167
|
className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
|
|
17129
17168
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17130
|
-
className: "".concat(formstyles.logininputLabel) +
|
|
17169
|
+
className: "".concat(formstyles.logininputLabel) + ' d-flex justify-content-start ',
|
|
17131
17170
|
style: {
|
|
17132
|
-
color:
|
|
17171
|
+
color: '#000'
|
|
17133
17172
|
}
|
|
17134
|
-
}, langdetect ===
|
|
17173
|
+
}, langdetect === 'ar' ? 'البريد الإلكترونى' : langdetect === 'chin' ? '电子邮件' : langdetect === 'es' ? 'Correo electrónico' : langdetect === 'fr' ? 'E-mail' : langdetect === 'rus' ? 'Электронная почта' : 'Email'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17135
17174
|
type: "text",
|
|
17136
17175
|
className: "".concat(formstyles.form_control),
|
|
17137
17176
|
value: payloadobj.email,
|
|
17138
17177
|
disabled: true,
|
|
17139
17178
|
style: {
|
|
17140
|
-
background:
|
|
17141
|
-
color:
|
|
17179
|
+
background: 'transparent',
|
|
17180
|
+
color: '#000'
|
|
17142
17181
|
}
|
|
17143
|
-
})), validateemailpayload.step ==
|
|
17182
|
+
})), validateemailpayload.step == 'verifycode' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17144
17183
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
|
|
17145
17184
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17146
|
-
className: "".concat(formstyles.logininputLabel) +
|
|
17185
|
+
className: "".concat(formstyles.logininputLabel) + ' d-flex justify-content-start ',
|
|
17147
17186
|
style: {
|
|
17148
|
-
color:
|
|
17187
|
+
color: '#000'
|
|
17149
17188
|
}
|
|
17150
|
-
}, langdetect ===
|
|
17189
|
+
}, langdetect === 'ar' ? 'كود البريد الاكتروني' : langdetect === 'chin' ? '验证码' : langdetect === 'es' ? 'Código' : langdetect === 'fr' ? 'Code' : langdetect === 'rus' ? 'Код' : 'Code'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17151
17190
|
type: "text",
|
|
17152
17191
|
className: "".concat(formstyles.form_control),
|
|
17153
17192
|
value: validateemailpayload.code,
|
|
@@ -17157,13 +17196,13 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17157
17196
|
}));
|
|
17158
17197
|
},
|
|
17159
17198
|
style: {
|
|
17160
|
-
background:
|
|
17161
|
-
color:
|
|
17199
|
+
background: 'transparent',
|
|
17200
|
+
color: '#000'
|
|
17162
17201
|
}
|
|
17163
17202
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17164
17203
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-3"
|
|
17165
17204
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
17166
|
-
className: "".concat(formstyles.signupbtn) +
|
|
17205
|
+
className: "".concat(formstyles.signupbtn) + ' d-flex align-items-center justify-content-center ',
|
|
17167
17206
|
disabled: GeneralAPIMutationContext.isLoading ? true : false,
|
|
17168
17207
|
onClick: function onClick() {
|
|
17169
17208
|
if (payloadobj.email.length != 0) {
|
|
@@ -17172,19 +17211,19 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17172
17211
|
signupbuttonfunc();
|
|
17173
17212
|
} else {
|
|
17174
17213
|
GeneralAPIMutationContext.mutate({
|
|
17175
|
-
endpointurl:
|
|
17214
|
+
endpointurl: '/validateemail',
|
|
17176
17215
|
functype: validateemailpayload.step,
|
|
17177
17216
|
code: validateemailpayload.code,
|
|
17178
17217
|
name: payloadobj.name,
|
|
17179
17218
|
email: payloadobj.email,
|
|
17180
17219
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
17181
17220
|
if (data.data.status) {
|
|
17182
|
-
if (data.data.functype ==
|
|
17221
|
+
if (data.data.functype == 'sendcode') {
|
|
17183
17222
|
setvalidateemailpayload(_objectSpread$2u(_objectSpread$2u({}, validateemailpayload), {}, {
|
|
17184
|
-
step:
|
|
17223
|
+
step: 'verifycode'
|
|
17185
17224
|
}));
|
|
17186
17225
|
}
|
|
17187
|
-
if (data.data.functype ==
|
|
17226
|
+
if (data.data.functype == 'verifycode') {
|
|
17188
17227
|
setvalidateemailpayload(_objectSpread$2u(_objectSpread$2u({}, validateemailpayload), {}, {
|
|
17189
17228
|
isvalidated: true
|
|
17190
17229
|
}));
|
|
@@ -17200,7 +17239,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17200
17239
|
}
|
|
17201
17240
|
}
|
|
17202
17241
|
} else {
|
|
17203
|
-
NotificationManager.warning(
|
|
17242
|
+
NotificationManager.warning('', data.data.reason);
|
|
17204
17243
|
}
|
|
17205
17244
|
}
|
|
17206
17245
|
});
|
|
@@ -17216,25 +17255,25 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17216
17255
|
duration: "1s"
|
|
17217
17256
|
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
17218
17257
|
style: {
|
|
17219
|
-
letterSpacing: langdetect !=
|
|
17258
|
+
letterSpacing: langdetect != 'ar' ? '1px' : ''
|
|
17220
17259
|
}
|
|
17221
|
-
}, validateemailpayload.step ==
|
|
17260
|
+
}, validateemailpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
17222
17261
|
show: validatephonenumbermodal,
|
|
17223
17262
|
onHide: function onHide() {
|
|
17224
17263
|
return setvalidatephonenumbermodal(false);
|
|
17225
17264
|
},
|
|
17226
17265
|
centered: true,
|
|
17227
|
-
size:
|
|
17266
|
+
size: 'md'
|
|
17228
17267
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17229
17268
|
"class": "d-flex align-items-center justify-content-center bgdanger-hover",
|
|
17230
17269
|
style: {
|
|
17231
|
-
position:
|
|
17270
|
+
position: 'absolute',
|
|
17232
17271
|
right: -15,
|
|
17233
17272
|
top: -15,
|
|
17234
|
-
width:
|
|
17235
|
-
height:
|
|
17236
|
-
background:
|
|
17237
|
-
borderRadius:
|
|
17273
|
+
width: '4vh',
|
|
17274
|
+
height: '4vh',
|
|
17275
|
+
background: '#000',
|
|
17276
|
+
borderRadius: '50%'
|
|
17238
17277
|
},
|
|
17239
17278
|
onClick: function onClick() {
|
|
17240
17279
|
return setvalidatephonenumbermodal(false);
|
|
@@ -17249,33 +17288,33 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17249
17288
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17250
17289
|
className: "text-md-center m-0 p-0 mb-2",
|
|
17251
17290
|
style: {
|
|
17252
|
-
fontSize:
|
|
17291
|
+
fontSize: '19px',
|
|
17253
17292
|
color: sectionproperties.sectionTitleColor,
|
|
17254
17293
|
fontWeight: 600
|
|
17255
17294
|
}
|
|
17256
|
-
}, langdetect ===
|
|
17295
|
+
}, langdetect === 'ar' ? 'التحقق من صحة رقم الهاتف' : langdetect === 'chin' ? '验证电话号码' : langdetect === 'es' ? 'Validar número de teléfono' : langdetect === 'fr' ? 'Valider le numéro de téléphone' : langdetect === 'rus' ? 'Проверить номер телефона' : 'Validate Phone Number')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17257
17296
|
"class": "col-lg-12 p-0"
|
|
17258
17297
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
17259
|
-
"class":
|
|
17298
|
+
"class": 'm-0 p-0'
|
|
17260
17299
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17261
17300
|
"class": "row w-100 m-0 mb-3 pl-2 pr-2 pt-3 pb-3 pl-sm-3 pr-sm-3"
|
|
17262
17301
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17263
17302
|
className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
|
|
17264
17303
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17265
|
-
className: "".concat(formstyles.logininputLabel) +
|
|
17266
|
-
}, langdetect ===
|
|
17304
|
+
className: "".concat(formstyles.logininputLabel) + ' d-flex justify-content-start '
|
|
17305
|
+
}, langdetect === 'ar' ? 'رقم الهاتف' : langdetect === 'chin' ? '电话号码' : langdetect === 'es' ? 'Número de teléfono' : langdetect === 'fr' ? 'Numéro de téléphone' : langdetect === 'rus' ? 'Номер телефона' : 'Phone Number'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17267
17306
|
type: "text",
|
|
17268
17307
|
className: "".concat(formstyles.form_control),
|
|
17269
17308
|
value: payloadobj.mobile,
|
|
17270
17309
|
disabled: true,
|
|
17271
17310
|
style: {
|
|
17272
|
-
background:
|
|
17311
|
+
background: 'transparent'
|
|
17273
17312
|
}
|
|
17274
|
-
})), validatephonenumberpayload.step ==
|
|
17313
|
+
})), validatephonenumberpayload.step == 'verifycode' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17275
17314
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
|
|
17276
17315
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17277
|
-
className: "".concat(formstyles.logininputLabel) +
|
|
17278
|
-
}, langdetect ===
|
|
17316
|
+
className: "".concat(formstyles.logininputLabel) + ' d-flex justify-content-start '
|
|
17317
|
+
}, langdetect === 'ar' ? 'كود الرسالة النصية' : langdetect === 'chin' ? '验证码' : langdetect === 'es' ? 'Código de mensaje' : langdetect === 'fr' ? 'Code du message' : langdetect === 'rus' ? 'Код сообщения' : 'Code'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17279
17318
|
type: "text",
|
|
17280
17319
|
className: "".concat(formstyles.form_control),
|
|
17281
17320
|
value: validatephonenumberpayload.code,
|
|
@@ -17285,12 +17324,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17285
17324
|
}));
|
|
17286
17325
|
},
|
|
17287
17326
|
style: {
|
|
17288
|
-
background:
|
|
17327
|
+
background: 'transparent'
|
|
17289
17328
|
}
|
|
17290
17329
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17291
17330
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-3"
|
|
17292
17331
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
17293
|
-
className: "".concat(formstyles.signupbtn) +
|
|
17332
|
+
className: "".concat(formstyles.signupbtn) + ' d-flex align-items-center justify-content-center ',
|
|
17294
17333
|
disabled: GeneralAPIMutationContext.isLoading ? true : false,
|
|
17295
17334
|
onClick: function onClick() {
|
|
17296
17335
|
if (payloadobj.mobile.length != 0) {
|
|
@@ -17299,19 +17338,19 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17299
17338
|
signupbuttonfunc();
|
|
17300
17339
|
} else {
|
|
17301
17340
|
GeneralAPIMutationContext.mutate({
|
|
17302
|
-
endpointurl:
|
|
17341
|
+
endpointurl: '/validatephonenumber',
|
|
17303
17342
|
functype: validatephonenumberpayload.step,
|
|
17304
17343
|
code: validatephonenumberpayload.code,
|
|
17305
17344
|
name: payloadobj.name,
|
|
17306
17345
|
phonenumber: payloadobj.mobile,
|
|
17307
17346
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
17308
17347
|
if (data.data.status) {
|
|
17309
|
-
if (data.data.functype ==
|
|
17348
|
+
if (data.data.functype == 'sendcode') {
|
|
17310
17349
|
setvalidatephonenumberpayload(_objectSpread$2u(_objectSpread$2u({}, validatephonenumberpayload), {}, {
|
|
17311
|
-
step:
|
|
17350
|
+
step: 'verifycode'
|
|
17312
17351
|
}));
|
|
17313
17352
|
}
|
|
17314
|
-
if (data.data.functype ==
|
|
17353
|
+
if (data.data.functype == 'verifycode') {
|
|
17315
17354
|
setvalidatephonenumberpayload(_objectSpread$2u(_objectSpread$2u({}, validatephonenumberpayload), {}, {
|
|
17316
17355
|
isvalidated: true
|
|
17317
17356
|
}));
|
|
@@ -17327,7 +17366,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17327
17366
|
}
|
|
17328
17367
|
}
|
|
17329
17368
|
} else {
|
|
17330
|
-
NotificationManager.warning(
|
|
17369
|
+
NotificationManager.warning('', data.data.reason);
|
|
17331
17370
|
}
|
|
17332
17371
|
}
|
|
17333
17372
|
});
|
|
@@ -17343,9 +17382,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
17343
17382
|
duration: "1s"
|
|
17344
17383
|
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
17345
17384
|
style: {
|
|
17346
|
-
letterSpacing: langdetect !=
|
|
17385
|
+
letterSpacing: langdetect != 'ar' ? '1px' : ''
|
|
17347
17386
|
}
|
|
17348
|
-
}, validatephonenumberpayload.step ==
|
|
17387
|
+
}, validatephonenumberpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
17349
17388
|
};
|
|
17350
17389
|
|
|
17351
17390
|
function ownKeys$2t(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; }
|
|
@@ -17362,22 +17401,22 @@ var Signup = function Signup(props) {
|
|
|
17362
17401
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
17363
17402
|
props.actions.ikimagecredcontext;
|
|
17364
17403
|
var actions = props.actions;
|
|
17365
|
-
var _useState = React.useState(
|
|
17404
|
+
var _useState = React.useState(''),
|
|
17366
17405
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
17367
17406
|
_useState2[0];
|
|
17368
17407
|
var setCurrentPageId = _useState2[1];
|
|
17369
|
-
var _useState3 = React.useState(
|
|
17408
|
+
var _useState3 = React.useState(''),
|
|
17370
17409
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
17371
17410
|
sectionproperties = _useState4[0],
|
|
17372
17411
|
setsectionproperties = _useState4[1];
|
|
17373
17412
|
React.useEffect(function () {
|
|
17374
17413
|
if (authdetailsContext.loggedin) {
|
|
17375
|
-
routingcountext(
|
|
17414
|
+
routingcountext('');
|
|
17376
17415
|
}
|
|
17377
17416
|
}, []);
|
|
17378
17417
|
React.useEffect(function () {
|
|
17379
17418
|
var cartindex = templatepropcontext === null || templatepropcontext === void 0 ? void 0 : templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
17380
|
-
return x.staticpageid ==
|
|
17419
|
+
return x.staticpageid == '6218bccb7f4f7';
|
|
17381
17420
|
});
|
|
17382
17421
|
if (cartindex >= 0) {
|
|
17383
17422
|
setCurrentPageId(cartindex);
|
|
@@ -17403,12 +17442,12 @@ var Signup = function Signup(props) {
|
|
|
17403
17442
|
var loginstyles2 = {
|
|
17404
17443
|
loginbtn: glamor.css({
|
|
17405
17444
|
color: sectionproperties.login_btn_color,
|
|
17406
|
-
fontSize: sectionproperties.login_btn_fontSize +
|
|
17445
|
+
fontSize: sectionproperties.login_btn_fontSize + 'px',
|
|
17407
17446
|
textTransform: sectionproperties.login_btn_texttransform,
|
|
17408
17447
|
fontWeight: sectionproperties.login_btn_fontweight,
|
|
17409
|
-
textDecoration:
|
|
17410
|
-
transition:
|
|
17411
|
-
|
|
17448
|
+
textDecoration: 'underline',
|
|
17449
|
+
transition: '.3s',
|
|
17450
|
+
':hover': {
|
|
17412
17451
|
color: sectionproperties.login_btn_coloronhover
|
|
17413
17452
|
}
|
|
17414
17453
|
}),
|
|
@@ -17416,45 +17455,45 @@ var Signup = function Signup(props) {
|
|
|
17416
17455
|
color: sectionproperties.form_labelcolor,
|
|
17417
17456
|
textTransform: sectionproperties.form_labeltexttransform,
|
|
17418
17457
|
fontWeight: sectionproperties.form_labelfontweight,
|
|
17419
|
-
fontSize: sectionproperties.form_labelfontsize +
|
|
17458
|
+
fontSize: sectionproperties.form_labelfontsize + 'px'
|
|
17420
17459
|
}),
|
|
17421
17460
|
signupbtn: glamor.css({
|
|
17422
|
-
background: sectionproperties.signup_btnbgcolortransparent ==
|
|
17423
|
-
width: sectionproperties.signup_btn_width +
|
|
17424
|
-
height: sectionproperties.signup_btn_height +
|
|
17425
|
-
borderRadius: sectionproperties.signup_btn_borderBottomLeftRadius +
|
|
17461
|
+
background: sectionproperties.signup_btnbgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.signup_btnbgcolor,
|
|
17462
|
+
width: sectionproperties.signup_btn_width + 'px',
|
|
17463
|
+
height: sectionproperties.signup_btn_height + 'px',
|
|
17464
|
+
borderRadius: sectionproperties.signup_btn_borderBottomLeftRadius + 'px',
|
|
17426
17465
|
color: sectionproperties.signup_btn_color,
|
|
17427
|
-
fontSize: sectionproperties.signup_btn_fontSize +
|
|
17466
|
+
fontSize: sectionproperties.signup_btn_fontSize + 'px',
|
|
17428
17467
|
textTransform: sectionproperties.signup_btn_texttransform,
|
|
17429
17468
|
fontWeight: sectionproperties.signup_btn_fontweight,
|
|
17430
|
-
boxShadow: sectionproperties.signup_btn_showshadow ==
|
|
17431
|
-
border: sectionproperties.signup_btn_borderwidth +
|
|
17432
|
-
transition:
|
|
17433
|
-
|
|
17469
|
+
boxShadow: sectionproperties.signup_btn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.signup_btn_shadowcolor : '',
|
|
17470
|
+
border: sectionproperties.signup_btn_borderwidth + 'px solid ' + sectionproperties.signup_btn_bordercolor,
|
|
17471
|
+
transition: '.3s',
|
|
17472
|
+
':hover': {
|
|
17434
17473
|
color: sectionproperties.signup_btn_coloronhover,
|
|
17435
17474
|
borderColor: sectionproperties.signup_btn_coloronhover,
|
|
17436
17475
|
background: sectionproperties.signup_btnbgcoloroonhover
|
|
17437
17476
|
}
|
|
17438
17477
|
}),
|
|
17439
17478
|
form_control: glamor.css({
|
|
17440
|
-
backgroundImage:
|
|
17479
|
+
backgroundImage: 'linear-gradient(to top, #eac435 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px)'
|
|
17441
17480
|
})
|
|
17442
17481
|
};
|
|
17443
17482
|
var LoginButton = function LoginButton() {
|
|
17444
17483
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17445
17484
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-md-2",
|
|
17446
17485
|
style: {
|
|
17447
|
-
flexDirection: sectionproperties.cardstyletype ==
|
|
17486
|
+
flexDirection: sectionproperties.cardstyletype == 'Style 1' ? 'row' : 'column'
|
|
17448
17487
|
}
|
|
17449
17488
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17450
17489
|
className: "m-0 p-0",
|
|
17451
17490
|
style: {
|
|
17452
17491
|
color: sectionproperties.formRightTextColor1,
|
|
17453
|
-
fontSize: sectionproperties.formRightTextFontSize1 +
|
|
17492
|
+
fontSize: sectionproperties.formRightTextFontSize1 + 'px',
|
|
17454
17493
|
fontWeight: sectionproperties.formRightTextFontWeight1
|
|
17455
17494
|
}
|
|
17456
17495
|
}, sectionproperties["formRightText1_".concat(langdetect)] || sectionproperties.formRightText1), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17457
|
-
className: "".concat(loginstyles2.loginbtn, " ") +
|
|
17496
|
+
className: "".concat(loginstyles2.loginbtn, " ") + ' ml-2 mr-2 mb-0 p-0 cursor-pointer ',
|
|
17458
17497
|
onClick: function onClick() {
|
|
17459
17498
|
routingcountext(StaticPagesLinksContext.Login);
|
|
17460
17499
|
}
|
|
@@ -17464,39 +17503,39 @@ var Signup = function Signup(props) {
|
|
|
17464
17503
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17465
17504
|
"class": "col-lg-12 p-0",
|
|
17466
17505
|
style: {
|
|
17467
|
-
height:
|
|
17506
|
+
height: '100%'
|
|
17468
17507
|
}
|
|
17469
17508
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17470
|
-
className:
|
|
17509
|
+
className: 'row m-0 w-100 pl-3 pr-3 d-flex align-items-center justify-content-center pl-md-3 pr-md-3 p-sm-0'
|
|
17471
17510
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17472
17511
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mt-3",
|
|
17473
17512
|
style: {
|
|
17474
|
-
marginBottom: sectionproperties.cardstyletype ==
|
|
17513
|
+
marginBottom: sectionproperties.cardstyletype == 'Style 1' ? 0 : '15px'
|
|
17475
17514
|
}
|
|
17476
17515
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17477
17516
|
className: "m-0 p-0",
|
|
17478
17517
|
style: {
|
|
17479
|
-
fontSize: sectionproperties.sectionTitleFontSize +
|
|
17518
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
17480
17519
|
color: sectionproperties.sectionTitleColor,
|
|
17481
17520
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
17482
17521
|
}
|
|
17483
|
-
}, sectionproperties["sectionTitleContent_".concat(langdetect)] || sectionproperties.sectionTitleContent)), sectionproperties.cardstyletype ==
|
|
17522
|
+
}, langdetect == 'nrwig' ? 'OPPRETT NY KONTO' : sectionproperties["sectionTitleContent_".concat(langdetect)] || sectionproperties.sectionTitleContent)), sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17484
17523
|
className: "row m-0 w-100 mb-2"
|
|
17485
17524
|
}, LoginButton()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17486
|
-
className: sectionproperties.cardstyletype ==
|
|
17525
|
+
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-12 p-sm-0' : 'col-lg-6 p-sm-0 mx-auto'
|
|
17487
17526
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17488
|
-
className: "".concat(generalstyles.card) +
|
|
17527
|
+
className: "".concat(generalstyles.card) + ' p-0 ml-3 mr-3 m-md-0 ',
|
|
17489
17528
|
style: {
|
|
17490
|
-
border:
|
|
17491
|
-
boxShadow:
|
|
17529
|
+
border: 'none',
|
|
17530
|
+
boxShadow: 'none'
|
|
17492
17531
|
}
|
|
17493
17532
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17494
17533
|
className: " row m-0 w-100 "
|
|
17495
17534
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17496
|
-
className:
|
|
17535
|
+
className: 'col-lg-12 col-md-12 col-sm-12 pt-4 pb-4 d-flex align-items-stretch',
|
|
17497
17536
|
style: {
|
|
17498
17537
|
background: sectionproperties.formLeftbgColor,
|
|
17499
|
-
borderRadius:
|
|
17538
|
+
borderRadius: '10px'
|
|
17500
17539
|
}
|
|
17501
17540
|
}, !SocialLoginMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17502
17541
|
"class": "row m-0 w-100"
|
|
@@ -17505,9 +17544,9 @@ var Signup = function Signup(props) {
|
|
|
17505
17544
|
}, /*#__PURE__*/React__default["default"].createElement(CustomerInformationForm, {
|
|
17506
17545
|
formtype: "add",
|
|
17507
17546
|
sectionpropertiesprops: sectionproperties,
|
|
17508
|
-
srcfromprops:
|
|
17547
|
+
srcfromprops: 'signup',
|
|
17509
17548
|
actions: actions
|
|
17510
|
-
})), sectionproperties.cardstyletype ==
|
|
17549
|
+
})), sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17511
17550
|
className: "col-lg-12 p-0 allcentered m-0 w-100 mb-2"
|
|
17512
17551
|
}, LoginButton())), SocialLoginMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17513
17552
|
className: "w-100 d-flex m-auto mx-auto justify-content-center align-items-center"
|
|
@@ -17522,20 +17561,20 @@ var Signup = function Signup(props) {
|
|
|
17522
17561
|
className: "col-lg-12 d-flex align-items-center justify-content-center pt-md-3 pb-5",
|
|
17523
17562
|
style: {
|
|
17524
17563
|
background: sectionproperties.backgroundColor,
|
|
17525
|
-
marginBottom: sectionproperties.marginBottom +
|
|
17526
|
-
minHeight: sectionproperties.height != null ? sectionproperties.height +
|
|
17564
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
17565
|
+
minHeight: sectionproperties.height != null ? sectionproperties.height + 'vh' : 'auto'
|
|
17527
17566
|
}
|
|
17528
17567
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17529
17568
|
"class": "row ml-0 mr-0 w-100 d-flex d-md-none",
|
|
17530
17569
|
style: {
|
|
17531
|
-
marginTop: sectionproperties.marginTop +
|
|
17532
|
-
height:
|
|
17570
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
17571
|
+
height: '100%'
|
|
17533
17572
|
}
|
|
17534
17573
|
}, SignupContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17535
17574
|
"class": "row ml-0 mr-0 w-100 d-none d-md-flex",
|
|
17536
17575
|
style: {
|
|
17537
|
-
marginTop: sectionproperties.marginTopResp +
|
|
17538
|
-
height:
|
|
17576
|
+
marginTop: sectionproperties.marginTopResp + 'px',
|
|
17577
|
+
height: '100%'
|
|
17539
17578
|
}
|
|
17540
17579
|
}, SignupContent()));
|
|
17541
17580
|
};
|
|
@@ -18838,7 +18877,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
18838
18877
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
18839
18878
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18840
18879
|
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
18841
|
-
}, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18880
|
+
}, langdetect == 'nrwig' && variantitem.optionname == 'Size' ? 'Størrelse' : langdetect == 'nrwig' && variantitem.optionname == 'Color' ? 'Farge' : variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18842
18881
|
className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
|
|
18843
18882
|
}, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue))));
|
|
18844
18883
|
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
@@ -22945,7 +22984,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
22945
22984
|
image: ''
|
|
22946
22985
|
};
|
|
22947
22986
|
if (fetchingtype == 'products') {
|
|
22948
|
-
var _arrayItem$
|
|
22987
|
+
var _arrayItem$productinf6, _arrayItem$productinf7, _arrayItem$productinf8, _arrayItem$productinf9, _arrayItem$vendorinfo, _arrayItem$vendorinfo2, _arrayItem$features3;
|
|
22949
22988
|
// var itemquantity = parseInt(sectionproperties.startquantity);
|
|
22950
22989
|
|
|
22951
22990
|
var itemquantity = 0;
|
|
@@ -22957,22 +22996,25 @@ var CardsSection = function CardsSection(props) {
|
|
|
22957
22996
|
if (langdetect == 'chin') {
|
|
22958
22997
|
var _arrayItem$productinf;
|
|
22959
22998
|
cardobj.name = (_arrayItem$productinf = arrayItem.productinfo) === null || _arrayItem$productinf === void 0 ? void 0 : _arrayItem$productinf.name_chin;
|
|
22960
|
-
} else {
|
|
22999
|
+
} else if (langdetect == 'nrwig') {
|
|
22961
23000
|
var _arrayItem$productinf2;
|
|
22962
|
-
cardobj.name =
|
|
23001
|
+
cardobj.name = (_arrayItem$productinf2 = arrayItem.productinfo) === null || _arrayItem$productinf2 === void 0 ? void 0 : _arrayItem$productinf2.name_nrwig;
|
|
23002
|
+
} else {
|
|
23003
|
+
var _arrayItem$productinf3;
|
|
23004
|
+
cardobj.name = arrayItem.productinfo["name_".concat(langdetect)] || ((_arrayItem$productinf3 = arrayItem.productinfo) === null || _arrayItem$productinf3 === void 0 ? void 0 : _arrayItem$productinf3.name_en);
|
|
22963
23005
|
}
|
|
22964
23006
|
} else {
|
|
22965
23007
|
cardobj.name = arrayItem.productinfo.name_ar;
|
|
22966
23008
|
}
|
|
22967
23009
|
if (langdetect != 'ar') {
|
|
22968
|
-
var _arrayItem$
|
|
22969
|
-
cardobj.description = arrayItem.productinfo["description_".concat(langdetect)] || ((_arrayItem$
|
|
23010
|
+
var _arrayItem$productinf4;
|
|
23011
|
+
cardobj.description = arrayItem.productinfo["description_".concat(langdetect)] || ((_arrayItem$productinf4 = arrayItem.productinfo) === null || _arrayItem$productinf4 === void 0 ? void 0 : _arrayItem$productinf4.description_en);
|
|
22970
23012
|
} else {
|
|
22971
23013
|
cardobj.description = arrayItem.productinfo.description_ar;
|
|
22972
23014
|
}
|
|
22973
23015
|
if (langdetect != 'ar') {
|
|
22974
|
-
var _arrayItem$
|
|
22975
|
-
cardobj.shortdescription = arrayItem.productinfo["short_description_".concat(langdetect)] || ((_arrayItem$
|
|
23016
|
+
var _arrayItem$productinf5;
|
|
23017
|
+
cardobj.shortdescription = arrayItem.productinfo["short_description_".concat(langdetect)] || ((_arrayItem$productinf5 = arrayItem.productinfo) === null || _arrayItem$productinf5 === void 0 ? void 0 : _arrayItem$productinf5.short_description_en);
|
|
22976
23018
|
} else {
|
|
22977
23019
|
cardobj.shortdescription = arrayItem.productinfo.short_description_ar;
|
|
22978
23020
|
}
|
|
@@ -22990,10 +23032,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
22990
23032
|
// cardobj[`name_${langdetect}`] = arrayItem?.productinfo[`name_${langdetect}`] || arrayItem?.productinfo?.name_en;
|
|
22991
23033
|
// cardobj.name_en = arrayItem?.productinfo?.name_en;
|
|
22992
23034
|
// cardobj.name_ar = arrayItem?.productinfo?.name_ar;
|
|
22993
|
-
cardobj.item_type = arrayItem === null || arrayItem === void 0 || (_arrayItem$
|
|
22994
|
-
cardobj.isproducthasquantitychange = arrayItem === null || arrayItem === void 0 || (_arrayItem$
|
|
22995
|
-
cardobj.quantitystepincrearse = arrayItem === null || arrayItem === void 0 || (_arrayItem$
|
|
22996
|
-
cardobj.instid = arrayItem === null || arrayItem === void 0 || (_arrayItem$
|
|
23035
|
+
cardobj.item_type = arrayItem === null || arrayItem === void 0 || (_arrayItem$productinf6 = arrayItem.productinfo) === null || _arrayItem$productinf6 === void 0 ? void 0 : _arrayItem$productinf6.item_type;
|
|
23036
|
+
cardobj.isproducthasquantitychange = arrayItem === null || arrayItem === void 0 || (_arrayItem$productinf7 = arrayItem.productinfo) === null || _arrayItem$productinf7 === void 0 ? void 0 : _arrayItem$productinf7.isproducthasquantitychange;
|
|
23037
|
+
cardobj.quantitystepincrearse = arrayItem === null || arrayItem === void 0 || (_arrayItem$productinf8 = arrayItem.productinfo) === null || _arrayItem$productinf8 === void 0 ? void 0 : _arrayItem$productinf8.quantitystepincrearse;
|
|
23038
|
+
cardobj.instid = arrayItem === null || arrayItem === void 0 || (_arrayItem$productinf9 = arrayItem.productinfo) === null || _arrayItem$productinf9 === void 0 ? void 0 : _arrayItem$productinf9.instid;
|
|
22997
23039
|
cardobj.image = arrayItem.productinfo.productmainimage;
|
|
22998
23040
|
cardobj.countryid = arrayItem.productinfo.countryid;
|
|
22999
23041
|
cardobj.stateid = arrayItem.productinfo.stateid;
|
|
@@ -23441,7 +23483,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
23441
23483
|
paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
|
|
23442
23484
|
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
23443
23485
|
}
|
|
23444
|
-
}, sectionproperties.sectionTitleContent == 'OUR PRODUCTS' && langdetect == 'nrwig' ? 'VÅRE PRODUKTER' : sectionproperties.sectionTitleContent == 'AS SEEN ON' && langdetect == 'nrwig' ? 'SOM SETT PÅ' : sectionproperties["sectionTitleContent_".concat(langdetect)] || sectionproperties.sectionTitleContent), authdetailsContext.instinfo.instid == '68333d09dc47d' && sectionproperties.sectionTitleContent != 'ALL PRODUCTS' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
23486
|
+
}, sectionproperties.sectionTitleContent == 'OUR PRODUCTS' && langdetect == 'nrwig' ? 'VÅRE PRODUKTER' : sectionproperties.sectionTitleContent == 'AS SEEN ON' && langdetect == 'nrwig' ? 'SOM SETT PÅ' : sectionproperties.sectionTitleContent == 'CUSTOMIZED PRODUCTS' && langdetect == 'nrwig' ? 'TILPASSEDE PRODUKTER' : sectionproperties["sectionTitleContent_".concat(langdetect)] || sectionproperties.sectionTitleContent), authdetailsContext.instinfo.instid == '68333d09dc47d' && sectionproperties.sectionTitleContent != 'ALL PRODUCTS' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
23445
23487
|
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(section_cssstyles.sectiontitlespan) + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(section_cssstyles.sectiontitlespan) + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(section_cssstyles.sectiontitlespan) + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(section_cssstyles.sectiontitlespan) + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(section_cssstyles.sectiontitlespan) + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? "".concat(section_cssstyles.sectiontitlespan) + ' ASUL mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : "".concat(section_cssstyles.sectiontitlespan) + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
|
|
23446
23488
|
style: {
|
|
23447
23489
|
color: sectionproperties.sectionTitleColor,
|
|
@@ -33410,7 +33452,7 @@ styleInject(css_248z$y);
|
|
|
33410
33452
|
function ownKeys$24(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; }
|
|
33411
33453
|
function _objectSpread$24(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$24(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$24(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
33412
33454
|
var FloatingIcons = function FloatingIcons(props) {
|
|
33413
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i9;
|
|
33455
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i9, _authdetailsContext$i0;
|
|
33414
33456
|
var _useState = React.useState(''),
|
|
33415
33457
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
33416
33458
|
sectionproperties = _useState2[0],
|
|
@@ -33665,7 +33707,7 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
33665
33707
|
}
|
|
33666
33708
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33667
33709
|
"class": "m-0 p-0"
|
|
33668
|
-
}, langdetect != 'ar' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfloatingcallbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
33710
|
+
}, langdetect == 'nrwig' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '68c6a5ff3e0d0' ? 'Tilpass produktet ditt' : langdetect != 'ar' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfloatingcallbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
33669
33711
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
33670
33712
|
target: '_self',
|
|
33671
33713
|
style: {
|
|
@@ -33682,7 +33724,7 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
33682
33724
|
style: {
|
|
33683
33725
|
transform: langdetect != 'ar' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
33684
33726
|
}
|
|
33685
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33727
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) == '6824564a386c2' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
33686
33728
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
33687
33729
|
target: '_self',
|
|
33688
33730
|
style: {
|
|
@@ -73198,7 +73240,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
73198
73240
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
73199
73241
|
style: {},
|
|
73200
73242
|
dangerouslySetInnerHTML: {
|
|
73201
|
-
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)]
|
|
73243
|
+
__html: langdetect == 'nrwig' ? sectionproperties.contenteditor : langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)]
|
|
73202
73244
|
|
|
73203
73245
|
// langdetect == 'en' ? sectionproperties.contenteditor : langdetect == 'rus' ? sectionproperties.slideshowText2Content_rus : sectionproperties.text2editortextar,
|
|
73204
73246
|
}
|
|
@@ -73423,7 +73465,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
73423
73465
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
73424
73466
|
style: {},
|
|
73425
73467
|
dangerouslySetInnerHTML: {
|
|
73426
|
-
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)]
|
|
73468
|
+
__html: langdetect == 'nrwig' ? sectionproperties.contenteditor : langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)]
|
|
73427
73469
|
// langdetect == 'en'
|
|
73428
73470
|
// ? sectionproperties.contenteditor
|
|
73429
73471
|
// : langdetect == 'rus'
|
|
@@ -73579,7 +73621,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
73579
73621
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
73580
73622
|
style: {},
|
|
73581
73623
|
dangerouslySetInnerHTML: {
|
|
73582
|
-
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)] // langdetect == 'en'
|
|
73624
|
+
__html: langdetect == 'nrwig' ? sectionproperties.contenteditor : langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)] // langdetect == 'en'
|
|
73583
73625
|
// ? sectionproperties.contenteditor
|
|
73584
73626
|
// : langdetect == 'rus'
|
|
73585
73627
|
// ? sectionproperties.slideshowText2Content_rus
|
|
@@ -73734,7 +73776,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
73734
73776
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
73735
73777
|
style: {},
|
|
73736
73778
|
dangerouslySetInnerHTML: {
|
|
73737
|
-
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)]
|
|
73779
|
+
__html: langdetect == 'nrwig' ? sectionproperties.contenteditor : langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)]
|
|
73738
73780
|
// langdetect == 'en'
|
|
73739
73781
|
// ? sectionproperties.contenteditor
|
|
73740
73782
|
// : langdetect == 'rus'
|
|
@@ -73890,7 +73932,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
73890
73932
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
73891
73933
|
style: {},
|
|
73892
73934
|
dangerouslySetInnerHTML: {
|
|
73893
|
-
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)]
|
|
73935
|
+
__html: langdetect == 'nrwig' ? sectionproperties.contenteditor : langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)]
|
|
73894
73936
|
// langdetect == 'en'
|
|
73895
73937
|
// ? sectionproperties.contenteditor
|
|
73896
73938
|
// : langdetect == 'rus'
|
|
@@ -74184,7 +74226,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
74184
74226
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
74185
74227
|
style: {},
|
|
74186
74228
|
dangerouslySetInnerHTML: {
|
|
74187
|
-
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)] // langdetect == 'en'
|
|
74229
|
+
__html: langdetect == 'nrwig' ? sectionproperties.contenteditor : langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)] // langdetect == 'en'
|
|
74188
74230
|
// ? sectionproperties.contenteditor
|
|
74189
74231
|
// : langdetect == 'rus'
|
|
74190
74232
|
// ? sectionproperties.slideshowText2Content_rus
|
|
@@ -74379,7 +74421,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
74379
74421
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
74380
74422
|
style: {},
|
|
74381
74423
|
dangerouslySetInnerHTML: {
|
|
74382
|
-
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)] // langdetect == 'en'
|
|
74424
|
+
__html: langdetect == 'nrwig' ? sectionproperties.contenteditor : langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)] // langdetect == 'en'
|
|
74383
74425
|
// ? sectionproperties.contenteditor
|
|
74384
74426
|
// : langdetect == 'rus'
|
|
74385
74427
|
// ? sectionproperties.slideshowText2Content_rus
|
|
@@ -74539,7 +74581,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
74539
74581
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
74540
74582
|
style: {},
|
|
74541
74583
|
dangerouslySetInnerHTML: {
|
|
74542
|
-
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)] // langdetect == 'en'
|
|
74584
|
+
__html: langdetect == 'nrwig' ? sectionproperties.contenteditor : langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)] // langdetect == 'en'
|
|
74543
74585
|
// ? sectionproperties.contenteditor
|
|
74544
74586
|
// : langdetect == 'rus'
|
|
74545
74587
|
// ? sectionproperties.slideshowText2Content_rus
|
|
@@ -74699,7 +74741,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
74699
74741
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
74700
74742
|
style: {},
|
|
74701
74743
|
dangerouslySetInnerHTML: {
|
|
74702
|
-
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)] // langdetect == 'en'
|
|
74744
|
+
__html: langdetect == 'nrwig' ? sectionproperties.contenteditor : langdetect == 'ar' ? sectionproperties.text2editortextar : langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties["slideshowText2Content".concat(langdetect)] // langdetect == 'en'
|
|
74703
74745
|
// ? sectionproperties.contenteditor
|
|
74704
74746
|
// : langdetect == 'rus'
|
|
74705
74747
|
// ? sectionproperties.slideshowText2Content_rus
|