tabexseriescomponents 0.0.706 → 0.0.708
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/package.json +1 -1
- package/srcoman/Contexts/LanguageContext.jsx +408 -0
- package/srcoman/Contexts/ProductsCardsSectionContext.jsx +36 -0
- package/srcoman/Imagekitconfig.jsx +46 -0
- package/srcoman/StylesJS/Customstyles.js +345 -0
- package/srcoman/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
- package/srcoman/TabexComponents/Cards/Card20/Card20.jsx +298 -0
- package/srcoman/TabexComponents/Cards/Card21/Card21.jsx +388 -0
- package/srcoman/TabexComponents/Cards/Card22/Card22.jsx +288 -0
- package/srcoman/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
- package/srcoman/TabexComponents/Cards/Card23/Card23.jsx +742 -0
- package/srcoman/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
- package/srcoman/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
- package/srcoman/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
- package/srcoman/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
- package/srcoman/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +255 -0
- package/srcoman/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
- package/srcoman/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
- package/srcoman/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
- package/srcoman/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
- package/srcoman/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
- package/srcoman/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
- package/srcoman/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
- package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
- package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +146 -0
- package/srcoman/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
- package/srcoman/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
- package/srcoman/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +409 -0
- package/srcoman/TabexComponents/Cards/MenuCard/MenuCard.jsx +732 -0
- package/srcoman/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
- package/srcoman/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
- package/srcoman/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
- package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
- package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
- package/srcoman/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
- package/srcoman/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
- package/srcoman/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
- package/srcoman/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +558 -0
- package/srcoman/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
- package/srcoman/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
- package/srcoman/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
- package/srcoman/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +613 -0
- package/srcoman/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +413 -0
- package/srcoman/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
- package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
- package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
- package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +905 -0
- package/srcoman/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
- package/srcoman/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
- package/srcoman/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
- package/srcoman/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
- package/srcoman/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
- package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +780 -0
- package/srcoman/TabexComponents/Footer/Footer2/Footer2.jsx +527 -0
- package/srcoman/TabexComponents/Footer/Footer3/Footer3.jsx +411 -0
- package/srcoman/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
- package/srcoman/TabexComponents/Footer/Footer5/Footer5.jsx +714 -0
- package/srcoman/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
- package/srcoman/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
- package/srcoman/TabexComponents/Footer/Footer8/Footer8.jsx +533 -0
- package/srcoman/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
- package/srcoman/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +562 -0
- package/srcoman/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +865 -0
- package/srcoman/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +647 -0
- package/srcoman/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
- package/srcoman/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
- package/srcoman/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/srcoman/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1259 -0
- package/srcoman/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1049 -0
- package/srcoman/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1040 -0
- package/srcoman/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1263 -0
- package/srcoman/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
- package/srcoman/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +894 -0
- package/srcoman/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +831 -0
- package/srcoman/TabexComponents/Headers/Header4/Header4.jsx +622 -0
- package/srcoman/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
- package/srcoman/TabexComponents/Headers/Header8/Header8.jsx +1976 -0
- package/srcoman/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +776 -0
- package/srcoman/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +927 -0
- package/srcoman/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +704 -0
- package/srcoman/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
- package/srcoman/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +953 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1562 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +1610 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
- package/srcoman/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +934 -0
- package/srcoman/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +78 -0
- package/srcoman/TabexComponents/Headers/Modernheader/Modernheader.jsx +972 -0
- package/srcoman/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
- package/srcoman/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1159 -0
- package/srcoman/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +1073 -0
- package/srcoman/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +133 -0
- package/srcoman/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
- package/srcoman/TabexComponents/Headers/Subheader/Subheader.jsx +863 -0
- package/srcoman/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
- package/srcoman/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
- package/srcoman/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
- package/srcoman/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1042 -0
- package/srcoman/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1089 -0
- package/srcoman/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +936 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +870 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +393 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +627 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +288 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +117 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +462 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +617 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +408 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1898 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
- package/srcoman/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
- package/srcoman/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +929 -0
- package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
- package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +962 -0
- package/srcoman/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +582 -0
- package/srcoman/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
- package/srcoman/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +437 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
- package/srcoman/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1769 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +380 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +867 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +520 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +643 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +619 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +614 -0
- package/srcoman/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
- package/srcoman/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
- package/srcoman/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
- package/srcoman/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
- package/srcoman/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +797 -0
- package/srcoman/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout.jsx +1892 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
- package/srcoman/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter.jsx +2771 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
- package/srcoman/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
- package/srcoman/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
- package/srcoman/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
- package/srcoman/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
- package/srcoman/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
- package/srcoman/TabexComponents/StaticPages/Login/Login.jsx +610 -0
- package/srcoman/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +172 -0
- package/srcoman/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1584 -0
- package/srcoman/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
- package/srcoman/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +255 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +176 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +92 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +312 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1983 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1946 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +1037 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +966 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +632 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +919 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
- package/srcoman/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
- package/srcoman/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
- package/srcoman/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +359 -0
- package/srcoman/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
- package/srcoman/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
- package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
- package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1364 -0
- package/srcoman/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
- package/srcoman/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
- package/srcoman/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
- package/srcoman/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
- package/srcoman/button.jsx +40 -0
- package/srcoman/index.jsx +334 -0
- package/srcoman/styles/Home.module.css +129 -0
- package/srcoman/styles/cards/Categorcycard_fullimage.module.css +14 -0
- package/srcoman/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
- package/srcoman/styles/cards/Categorycard_withshapes.module.css +189 -0
- package/srcoman/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
- package/srcoman/styles/cards/Productcard6.module.css +9 -0
- package/srcoman/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
- package/srcoman/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
- package/srcoman/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
- package/srcoman/styles/cards/card23.module.css +60 -0
- package/srcoman/styles/cards/categorycard.module.css +84 -0
- package/srcoman/styles/cards/categorycard3.module.css +50 -0
- package/srcoman/styles/cards/categorycardwithtext.module.css +40 -0
- package/srcoman/styles/cards/generalCardsStyles.module.css +79 -0
- package/srcoman/styles/cards/productcard_animatedbuttons.module.css +139 -0
- package/srcoman/styles/cards/productcard_with_textonhover.module.css +18 -0
- package/srcoman/styles/cards/productcard_withtextonimage.module.css +0 -0
- package/srcoman/styles/cards/productccard_with_imageontopleft.module.css +85 -0
- package/srcoman/styles/general/bootstrap.css +4763 -0
- package/srcoman/styles/general/dropdown.css +206 -0
- package/srcoman/styles/general/editorbardropdown.module.css +94 -0
- package/srcoman/styles/general/filter.module.css +108 -0
- package/srcoman/styles/general/form.module.css +255 -0
- package/srcoman/styles/general/general.module.css +872 -0
- package/srcoman/styles/general/image-gallery.css +531 -0
- package/srcoman/styles/general/react-accessible-accordion.module.css +52 -0
- package/srcoman/styles/general/react-phone-input-2.module.css +927 -0
- package/srcoman/styles/general/scrollbtn.module.css +22 -0
- package/srcoman/styles/general/slick.module.css +166 -0
- package/srcoman/styles/general/tabs.module.css +119 -0
- package/srcoman/styles/general/workplaceeditor.module.css +328 -0
- package/srcoman/styles/globals.css +26 -0
- package/srcoman/styles/headers/CTAHeader.module.css +40 -0
- package/srcoman/styles/headers/CategoryFeaturingHeader.module.css +61 -0
- package/srcoman/styles/headers/Gotoheader.module.css +87 -0
- package/srcoman/styles/headers/Header7.module.css +50 -0
- package/srcoman/styles/headers/HeaderWithAdSlider.module.css +86 -0
- package/srcoman/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
- package/srcoman/styles/headers/HeaderWithUtilityBar.module.css +46 -0
- package/srcoman/styles/headers/Header_threesectionslogocentered.module.css +84 -0
- package/srcoman/styles/headers/NewHeader.module.css +101 -0
- package/srcoman/styles/headers/SearchFocusedHeader.module.css +62 -0
- package/srcoman/styles/headers/Sideheader.module.css +108 -0
- package/srcoman/styles/headers/Simpleheader.module.css +102 -0
- package/srcoman/styles/headers/classicheader.module.css +16 -0
- package/srcoman/styles/headers/classicheaderstyles.module.css +9 -0
- package/srcoman/styles/headers/dropdown.css +0 -0
- package/srcoman/styles/headers/header4.module.css +175 -0
- package/srcoman/styles/headers/header5.module.css +30 -0
- package/srcoman/styles/headers/header_contactinfo.module.css +53 -0
- package/srcoman/styles/headers/headerresturant.module.css +89 -0
- package/srcoman/styles/headers/modernheader.module.css +45 -0
- package/srcoman/styles/headers/stylishheader.module.css +24 -0
- package/srcoman/styles/headers/subheader.module.css +114 -0
- package/srcoman/styles/headers/threetieredheader.module.css +91 -0
- package/srcoman/styles/sections/BackgroundImageWithTopContent.css +4 -0
- package/srcoman/styles/sections/Backgroundimage1.module.css +17 -0
- package/srcoman/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
- package/srcoman/styles/sections/Freetext.module.css +18 -0
- package/srcoman/styles/sections/Section_with_rightbgcont.module.css +49 -0
- package/srcoman/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
- package/srcoman/styles/sections/Slideshow_with_squarebg.module.css +39 -0
- package/srcoman/styles/staticpages/accordion.module.css +9 -0
- package/srcoman/styles/staticpages/cart.module.css +108 -0
- package/srcoman/styles/staticpages/dropdown.css +196 -0
- package/srcoman/styles/staticpages/filter.module.css +139 -0
- package/srcoman/styles/staticpages/image-gallery.css +481 -0
- package/srcoman/styles/staticpages/login.module.css +155 -0
- package/srcoman/styles/staticpages/productinfo.module.css +54 -0
- package/srcoman/styles/staticpages/shop.module.css +191 -0
- package/srcoman/styles/staticpages/signup.module.css +250 -0
- package/srcoman/styles/staticpages/staticroutersidenav.module.css +129 -0
- package/srcoman/styles/staticpages/viewcart.module.css +129 -0
- package/srcoman/styles/staticpages/wishlist.module.css +29 -0
|
@@ -0,0 +1,610 @@
|
|
|
1
|
+
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
import loginstyles from '../../../styles/staticpages/login.module.css';
|
|
3
|
+
import { CircularProgress } from 'react-cssfx-loading';
|
|
4
|
+
import { css } from 'glamor';
|
|
5
|
+
import GoogleLogin from './GoogleLoginButton.jsx';
|
|
6
|
+
import FacebookLoginButton from './FacebookLoginButton.jsx';
|
|
7
|
+
import { AiOutlineUser } from '@react-icons/all-files/ai/AiOutlineUser';
|
|
8
|
+
import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
|
|
9
|
+
import { Modal } from 'react-bootstrap';
|
|
10
|
+
import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
|
|
11
|
+
|
|
12
|
+
const Login = (props) => {
|
|
13
|
+
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
14
|
+
const lang = props.actions.lang;
|
|
15
|
+
const templatepropcontext = props.actions.templatepropcontext;
|
|
16
|
+
const langdetect = props.actions.langdetect;
|
|
17
|
+
const routingcountext = props.actions.routingcountext;
|
|
18
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
19
|
+
const SocialLoginMutationContext = props.actions.SocialLoginMutationContext;
|
|
20
|
+
const ForgetpasswordMutationContext = props.actions.ForgetpasswordMutationContext;
|
|
21
|
+
const LoginMutation = props.actions.LoginMutationContext;
|
|
22
|
+
const NotificationManager = props.actions.NotificationManager;
|
|
23
|
+
const instapikey = props.actions.instapikey;
|
|
24
|
+
const actions = props.actions;
|
|
25
|
+
const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
26
|
+
const authdetailsContext = props.actions.authdetailsContext;
|
|
27
|
+
|
|
28
|
+
const [statusreason, setstatusreason] = useState('');
|
|
29
|
+
const [showpassword, setshowpassword] = useState(false);
|
|
30
|
+
const [forgotpasswordpayload, setforgotpasswordpayload] = useState({
|
|
31
|
+
instapikey: instapikey,
|
|
32
|
+
email: '',
|
|
33
|
+
code: '',
|
|
34
|
+
newpassword: '',
|
|
35
|
+
confirmnewpassword: '',
|
|
36
|
+
});
|
|
37
|
+
const [payloadobj, setpayloadobj] = useState({
|
|
38
|
+
instapikey: instapikey,
|
|
39
|
+
email: '',
|
|
40
|
+
password: '',
|
|
41
|
+
});
|
|
42
|
+
const [forgetpasswordstage, setforgetpasswordstage] = useState('send');
|
|
43
|
+
const [forgetpasswordmodal, setforgetpasswordmodal] = useState(false);
|
|
44
|
+
const [CurrentPageId, setCurrentPageId] = useState('');
|
|
45
|
+
const [sectionproperties, setsectionproperties] = useState('');
|
|
46
|
+
// const templateproperties_context = props.actions.templateproperties_context;
|
|
47
|
+
|
|
48
|
+
useEffect(() => {
|
|
49
|
+
var cartindex = templatepropcontext.pagesnprop.findIndex((x) => x.staticpageid == '6218bccb77283');
|
|
50
|
+
if (cartindex >= 0) {
|
|
51
|
+
setCurrentPageId(templatepropcontext.pagesnprop[cartindex].pageid);
|
|
52
|
+
}
|
|
53
|
+
}, []);
|
|
54
|
+
useEffect(() => {
|
|
55
|
+
if (StatePagePropertiesContext != null && StatePagePropertiesContext != undefined && StatePagePropertiesContext.length != 0) {
|
|
56
|
+
var secpropobj = {};
|
|
57
|
+
StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
|
|
58
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
59
|
+
});
|
|
60
|
+
setsectionproperties({ ...secpropobj });
|
|
61
|
+
}
|
|
62
|
+
}, [StatePagePropertiesContext]);
|
|
63
|
+
useEffect(() => {
|
|
64
|
+
if (ForgetpasswordMutationContext.isSuccess) {
|
|
65
|
+
if (ForgetpasswordMutationContext.data.data.status) {
|
|
66
|
+
if (ForgetpasswordMutationContext.data.data.stage == 'send') {
|
|
67
|
+
setforgetpasswordstage('verify');
|
|
68
|
+
} else if (ForgetpasswordMutationContext.data.data.stage == 'verify') {
|
|
69
|
+
setforgetpasswordstage('send');
|
|
70
|
+
setforgotpasswordpayload({
|
|
71
|
+
instapikey: instapikey,
|
|
72
|
+
email: '',
|
|
73
|
+
code: '',
|
|
74
|
+
newpassword: '',
|
|
75
|
+
confirmnewpassword: '',
|
|
76
|
+
});
|
|
77
|
+
setforgetpasswordmodal(false);
|
|
78
|
+
NotificationManager.success('', 'Password changed successfully');
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}, [ForgetpasswordMutationContext.isSuccess]);
|
|
83
|
+
|
|
84
|
+
const loginstyles2 = {
|
|
85
|
+
loginbtn: css({
|
|
86
|
+
background: sectionproperties.login_btn_backgroundtransparent == 'Transparent' ? 'transparent' : sectionproperties.login_btn_background,
|
|
87
|
+
color: sectionproperties.login_btn_color,
|
|
88
|
+
borderRadius: sectionproperties.login_btn_borderBottomLeftRadius + 'px',
|
|
89
|
+
fontSize: sectionproperties.login_btn_fontSize + 'px',
|
|
90
|
+
lineHeight: sectionproperties.login_btn_fontSize + 'px',
|
|
91
|
+
width: sectionproperties.login_btn_width == 0 ? '100%' : sectionproperties.login_btn_width + 'px',
|
|
92
|
+
height: sectionproperties.login_btn_height + 'px',
|
|
93
|
+
fontWeight: sectionproperties.login_btn_fontweight,
|
|
94
|
+
transition: '.3s',
|
|
95
|
+
border: sectionproperties.login_btn_borderwidth + 'px solid ' + sectionproperties.login_btn_bordercolor,
|
|
96
|
+
':hover': {
|
|
97
|
+
background: sectionproperties.login_btn_backgroundonhover,
|
|
98
|
+
color: sectionproperties.login_btn_coloronhover,
|
|
99
|
+
borderColor: sectionproperties.login_btn_coloronhover,
|
|
100
|
+
},
|
|
101
|
+
}),
|
|
102
|
+
logininputLabel: css({
|
|
103
|
+
color: sectionproperties.form_labelcolor,
|
|
104
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
105
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
106
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
107
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0,
|
|
108
|
+
}),
|
|
109
|
+
signupbtn: css({
|
|
110
|
+
background: sectionproperties.signup_btnbgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.signup_btnbgcolor,
|
|
111
|
+
width: sectionproperties.signup_btn_width + 'px',
|
|
112
|
+
height: sectionproperties.signup_btn_height + 'px',
|
|
113
|
+
borderRadius: sectionproperties.signup_btn_borderBottomLeftRadius + 'px',
|
|
114
|
+
color: sectionproperties.signup_btn_color,
|
|
115
|
+
fontSize: sectionproperties.signup_btn_fontSize + 'px',
|
|
116
|
+
fontWeight: sectionproperties.signup_btn_fontweight,
|
|
117
|
+
border: sectionproperties.signup_btn_borderwidth + 'px solid ' + sectionproperties.signupbtn_bordercolor,
|
|
118
|
+
transition: '.3s',
|
|
119
|
+
':hover': {
|
|
120
|
+
color: sectionproperties.signup_btn_coloronhover,
|
|
121
|
+
borderColor: sectionproperties.signup_btn_coloronhover,
|
|
122
|
+
background: sectionproperties.signup_btnbgcoloroonhover,
|
|
123
|
+
},
|
|
124
|
+
}),
|
|
125
|
+
forgetpwsignuptextstyles: css({
|
|
126
|
+
color: sectionproperties.signup_btn_color,
|
|
127
|
+
fontSize: sectionproperties.signup_btn_fontSize + 'px',
|
|
128
|
+
fontWeight: sectionproperties.signup_btn_fontweight,
|
|
129
|
+
transition: '.3s',
|
|
130
|
+
|
|
131
|
+
':hover': {
|
|
132
|
+
cursor: 'pointer',
|
|
133
|
+
color: sectionproperties.signup_btn_coloronhover,
|
|
134
|
+
},
|
|
135
|
+
}),
|
|
136
|
+
form_control: css({
|
|
137
|
+
position: 'relative',
|
|
138
|
+
display: 'flex',
|
|
139
|
+
alignItems: 'center',
|
|
140
|
+
display: 'block',
|
|
141
|
+
width: '100%',
|
|
142
|
+
height: '35px',
|
|
143
|
+
padding: '0 10px',
|
|
144
|
+
transition: '.3s',
|
|
145
|
+
fontWeight: 500,
|
|
146
|
+
border: sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0,
|
|
147
|
+
borderBottom: sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor,
|
|
148
|
+
borderRadius: sectionproperties.inputfieldborderradius + 'px',
|
|
149
|
+
height: sectionproperties.inputfieldheight + 'px',
|
|
150
|
+
background: sectionproperties.input_bgcolor,
|
|
151
|
+
color: sectionproperties.inputfieldcolor,
|
|
152
|
+
':focus': {
|
|
153
|
+
borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
154
|
+
},
|
|
155
|
+
':focus .login_input_icon': {
|
|
156
|
+
color: sectionproperties.inputfeildbordercoloronfocus,
|
|
157
|
+
},
|
|
158
|
+
}),
|
|
159
|
+
};
|
|
160
|
+
const RightContainerContent = () => {
|
|
161
|
+
return (
|
|
162
|
+
<div className="row m-0 w-100">
|
|
163
|
+
<div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-md-2">
|
|
164
|
+
<p
|
|
165
|
+
className={` ${loginstyles.rightContainerText}`}
|
|
166
|
+
style={{
|
|
167
|
+
color: sectionproperties.formRightTextColor1,
|
|
168
|
+
fontSize: sectionproperties.formRightTextFontSize1 + 'px',
|
|
169
|
+
fontWeight: sectionproperties.formRightTextFontWeight1,
|
|
170
|
+
marginBottom: sectionproperties.formRightTextMarginBottom1 + 'px',
|
|
171
|
+
}}
|
|
172
|
+
>
|
|
173
|
+
{langdetect == 'en' ? sectionproperties.formRightText1 : sectionproperties.formRightText1_ar}
|
|
174
|
+
</p>
|
|
175
|
+
</div>
|
|
176
|
+
<div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-md-2">
|
|
177
|
+
<p
|
|
178
|
+
className={` ${loginstyles.rightContainerText}`}
|
|
179
|
+
style={{
|
|
180
|
+
color: sectionproperties.formRightTextColor2,
|
|
181
|
+
fontSize: sectionproperties.formRightTextFontSize2 + 'px',
|
|
182
|
+
fontWeight: sectionproperties.formRightTextFontWeight2,
|
|
183
|
+
marginBottom: sectionproperties.formRightTextMarginBottom2 + 'px',
|
|
184
|
+
}}
|
|
185
|
+
>
|
|
186
|
+
{langdetect == 'en' ? sectionproperties.formRightText2 : sectionproperties.formRightText2_ar}
|
|
187
|
+
</p>
|
|
188
|
+
</div>
|
|
189
|
+
|
|
190
|
+
<div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center">
|
|
191
|
+
<button
|
|
192
|
+
className={`${loginstyles2.signupbtn} ` + ' pl-4 pr-4 '}
|
|
193
|
+
onClick={() => {
|
|
194
|
+
routingcountext(StaticPagesLinksContext.Signup);
|
|
195
|
+
}}
|
|
196
|
+
>
|
|
197
|
+
{langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar}
|
|
198
|
+
</button>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
);
|
|
202
|
+
};
|
|
203
|
+
const LoginContent = () => {
|
|
204
|
+
return (
|
|
205
|
+
<div class="col-lg-12 p-0">
|
|
206
|
+
<div class="row m-0 w-100">
|
|
207
|
+
{sectionproperties.length != 0 && (
|
|
208
|
+
<div className={'row m-0 w-100 pl-5 pr-5 d-flex align-items-center justify-content-center pl-md-3 pr-md-3 p-sm-0'}>
|
|
209
|
+
<div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center">
|
|
210
|
+
<p
|
|
211
|
+
className="text-md-center"
|
|
212
|
+
style={{
|
|
213
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
214
|
+
color: sectionproperties.sectionTitleColor,
|
|
215
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
216
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
217
|
+
marginLeft: sectionproperties.sectionTitleMarginLeft + 'px',
|
|
218
|
+
marginRight: sectionproperties.sectionTitleMarginRight + 'px',
|
|
219
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
220
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
221
|
+
}}
|
|
222
|
+
>
|
|
223
|
+
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
224
|
+
</p>
|
|
225
|
+
</div>
|
|
226
|
+
<div className="col-lg-12 col-md-12 col-sm-12 p-sm-0 d-flex justify-content-center">
|
|
227
|
+
<div className={' col-lg-10 col-md-12 col-sm-12 p-sm-0 '}>
|
|
228
|
+
<div className=" row m-0 w-100 ">
|
|
229
|
+
<div
|
|
230
|
+
className={
|
|
231
|
+
sectionproperties.cardstyletype == 'Style 1'
|
|
232
|
+
? `${loginstyles.leftcontainer}` + ' col-lg-6 col-md-12 col-sm-12 pt-4 pb-4 d-flex align-items-stretch p-0 '
|
|
233
|
+
: ' col-lg-6 mx-auto col-md-12 col-sm-12 pt-4 pb-4 d-flex align-items-stretch p-0 '
|
|
234
|
+
}
|
|
235
|
+
style={{
|
|
236
|
+
background: sectionproperties.formLeftbgColor,
|
|
237
|
+
borderTopRightRadius:
|
|
238
|
+
langdetect == 'en' ? sectionproperties.formLeft_bordertoprightradius + 'px' : sectionproperties.formLeft_bordertopleftradius + 'px',
|
|
239
|
+
borderTopLeftRadius:
|
|
240
|
+
langdetect == 'en' ? sectionproperties.formLeft_bordertopleftradius + 'px' : sectionproperties.formLeft_bordertoprightradius + 'px',
|
|
241
|
+
borderBottomRightRadius:
|
|
242
|
+
langdetect == 'en' ? sectionproperties.formLeft_borderbottomrightadius + 'px' : sectionproperties.formLeft_borderbottomleftadius + 'px',
|
|
243
|
+
borderBottomLeftRadius:
|
|
244
|
+
langdetect == 'en' ? sectionproperties.formLeft_borderbottomleftadius + 'px' : sectionproperties.formLeft_borderbottomrightadius + 'px',
|
|
245
|
+
}}
|
|
246
|
+
>
|
|
247
|
+
<div class="row m-0 w-100">
|
|
248
|
+
<div class="col-lg-12 p-0">
|
|
249
|
+
<form class="row m-0 w-100 d-flex p-2 pl-sm-3 pr-sm-3">
|
|
250
|
+
{/* <div className="row m-0 w-100 d-block "> */}
|
|
251
|
+
<div className="col-lg-12 col-md-12 col-sm-12 mb-5 p-sm-0">
|
|
252
|
+
<label className={`${loginstyles2.logininputLabel}` + ' d-flex justify-content-start '}>
|
|
253
|
+
{langdetect == 'en' ? 'Email or Phone number' : 'البريد الإلكترونى او رقم الهاتف'}
|
|
254
|
+
</label>
|
|
255
|
+
<input
|
|
256
|
+
type="text"
|
|
257
|
+
className={`${loginstyles2.form_control}`}
|
|
258
|
+
value={payloadobj.email}
|
|
259
|
+
onChange={(event) => {
|
|
260
|
+
var temppayloadobj = { ...payloadobj };
|
|
261
|
+
temppayloadobj.email = event.target.value;
|
|
262
|
+
setpayloadobj({ ...temppayloadobj });
|
|
263
|
+
}}
|
|
264
|
+
style={{
|
|
265
|
+
background: sectionproperties.input_bgcolor,
|
|
266
|
+
}}
|
|
267
|
+
/>
|
|
268
|
+
{/* <span
|
|
269
|
+
className={langdetect == 'en' ? loginstyles.login_input_icon + ' login_input_icon ' : loginstyles.login_input_icontrans + ' login_input_icon '}
|
|
270
|
+
>
|
|
271
|
+
<i className="h-100 d-flex align-items-center justify-content-center">
|
|
272
|
+
<AiOutlineUser size={18} />
|
|
273
|
+
</i>
|
|
274
|
+
</span> */}
|
|
275
|
+
</div>
|
|
276
|
+
<div className="col-lg-12 col-md-12 col-sm-12 p-sm-0">
|
|
277
|
+
<label className={`${loginstyles2.logininputLabel}` + ' d-flex justify-content-start '}>
|
|
278
|
+
{langdetect == 'en' ? 'Password' : 'كلمة السر'}
|
|
279
|
+
</label>
|
|
280
|
+
<div
|
|
281
|
+
onClick={() => {
|
|
282
|
+
setshowpassword(!showpassword);
|
|
283
|
+
}}
|
|
284
|
+
className={langdetect == 'en' ? loginstyles.showpassword_input_icon : loginstyles.showpassword_input_icontrans}
|
|
285
|
+
>
|
|
286
|
+
<i className="fa fa-eye h-100 d-flex align-items-center justify-content-center"></i>
|
|
287
|
+
</div>
|
|
288
|
+
<input
|
|
289
|
+
className={`${loginstyles.form_control} ${loginstyles2.form_control}`}
|
|
290
|
+
type={showpassword ? 'text' : 'password'}
|
|
291
|
+
textplaceholder=""
|
|
292
|
+
value={payloadobj.password}
|
|
293
|
+
onChange={(event) => {
|
|
294
|
+
var temppayloadobj = { ...payloadobj };
|
|
295
|
+
temppayloadobj.password = event.target.value;
|
|
296
|
+
setpayloadobj({ ...temppayloadobj });
|
|
297
|
+
}}
|
|
298
|
+
style={{
|
|
299
|
+
background: sectionproperties.input_bgcolor,
|
|
300
|
+
}}
|
|
301
|
+
/>
|
|
302
|
+
</div>
|
|
303
|
+
{sectionproperties.btnstyles == 'Style 1' && sectionproperties.showforgetpassword == 'Show' && (
|
|
304
|
+
<div
|
|
305
|
+
className="col-lg-12 col-md-12 col-sm-12 mb-3 d-flex justify-content-end mt-1 cursor-pointer text-light text-lighthover font-13 "
|
|
306
|
+
onClick={() => {
|
|
307
|
+
setforgetpasswordmodal(true);
|
|
308
|
+
}}
|
|
309
|
+
>
|
|
310
|
+
<p className={'m-0 p-0 '}>{langdetect == 'en' ? 'Forgot Password?' : 'هل نسيت كلمة السر؟'}</p>
|
|
311
|
+
</div>
|
|
312
|
+
)}
|
|
313
|
+
<div className="col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center font-13 mb-2">
|
|
314
|
+
<p style={{ color: 'red' }} className="m-0 p-0">
|
|
315
|
+
{statusreason}
|
|
316
|
+
</p>
|
|
317
|
+
</div>
|
|
318
|
+
<div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-4">
|
|
319
|
+
<button
|
|
320
|
+
className={` ${loginstyles2.loginbtn}` + ' d-flex align-items-center justify-content-center '}
|
|
321
|
+
onClick={() => {
|
|
322
|
+
if (payloadobj.email.length != 0 && payloadobj.password.length != 0) {
|
|
323
|
+
LoginMutation.mutate(payloadobj);
|
|
324
|
+
}
|
|
325
|
+
}}
|
|
326
|
+
type={'button'}
|
|
327
|
+
disabled={LoginMutation.isLoading == true ? true : false}
|
|
328
|
+
>
|
|
329
|
+
{!SocialLoginMutationContext.isLoading && (
|
|
330
|
+
<>
|
|
331
|
+
{LoginMutation.isLoading && (
|
|
332
|
+
<CircularProgress color={sectionproperties.login_btn_color} width="20px" height="20px" duration="1s" />
|
|
333
|
+
)}
|
|
334
|
+
|
|
335
|
+
{!LoginMutation.isLoading && (
|
|
336
|
+
<span style={{ letterSpacing: langdetect == 'en' ? '1px' : '', textTransform: sectionproperties.login_btn_texttransform }}>
|
|
337
|
+
{langdetect == 'en' ? sectionproperties.loginbtncontent_en : sectionproperties.loginbtncontent_ar}
|
|
338
|
+
</span>
|
|
339
|
+
)}
|
|
340
|
+
</>
|
|
341
|
+
)}
|
|
342
|
+
{SocialLoginMutationContext.isLoading && <CircularProgress color="#fff" width="20px" height="20px" duration="1s" />}
|
|
343
|
+
</button>
|
|
344
|
+
</div>
|
|
345
|
+
{sectionproperties.btnstyles == 'Style 2' && (
|
|
346
|
+
<div class="col-lg-12 mb-4 mt-1">
|
|
347
|
+
<div class="row m-0 w-100 d-flex align-items-center justify-content-start">
|
|
348
|
+
{sectionproperties.btnstyles == 'Style 2' && sectionproperties.showforgetpassword == 'Show' && (
|
|
349
|
+
<p
|
|
350
|
+
className={loginstyles2.forgetpwsignuptextstyles + ' m-0 p-0 '}
|
|
351
|
+
onClick={() => {
|
|
352
|
+
routingcountext(StaticPagesLinksContext.Signup);
|
|
353
|
+
}}
|
|
354
|
+
style={{
|
|
355
|
+
textDecoration: 'underline',
|
|
356
|
+
}}
|
|
357
|
+
>
|
|
358
|
+
{langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar}
|
|
359
|
+
</p>
|
|
360
|
+
)}
|
|
361
|
+
{sectionproperties.btnstyles == 'Style 2' && sectionproperties.showforgetpassword == 'Show' && (
|
|
362
|
+
<p
|
|
363
|
+
className={loginstyles2.forgetpwsignuptextstyles + ' m-0 p-0 '}
|
|
364
|
+
onClick={() => {
|
|
365
|
+
routingcountext(StaticPagesLinksContext.Resetpassword);
|
|
366
|
+
}}
|
|
367
|
+
>
|
|
368
|
+
<span
|
|
369
|
+
class="mx-2"
|
|
370
|
+
style={{
|
|
371
|
+
textDecoration: 'none',
|
|
372
|
+
}}
|
|
373
|
+
>
|
|
374
|
+
/
|
|
375
|
+
</span>
|
|
376
|
+
<span
|
|
377
|
+
style={{
|
|
378
|
+
textDecoration: 'underline',
|
|
379
|
+
}}
|
|
380
|
+
>
|
|
381
|
+
{langdetect == 'en' ? 'Forgot Password?' : 'هل نسيت كلمة السر؟'}
|
|
382
|
+
</span>
|
|
383
|
+
</p>
|
|
384
|
+
)}
|
|
385
|
+
</div>
|
|
386
|
+
</div>
|
|
387
|
+
)}
|
|
388
|
+
<div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-2">
|
|
389
|
+
<FacebookLoginButton actions={actions} />
|
|
390
|
+
</div>
|
|
391
|
+
<div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center">
|
|
392
|
+
<GoogleLogin actions={actions} />
|
|
393
|
+
</div>
|
|
394
|
+
</form>
|
|
395
|
+
</div>
|
|
396
|
+
{sectionproperties.cardstyletype == 'Style 2' && sectionproperties.btnstyles != 'Style 2' && (
|
|
397
|
+
<div className={' col-lg-12 col-md-12 col-sm-12 allcentered p-0 '}>{RightContainerContent()}</div>
|
|
398
|
+
)}
|
|
399
|
+
</div>
|
|
400
|
+
</div>
|
|
401
|
+
|
|
402
|
+
{sectionproperties.cardstyletype == 'Style 1' && (
|
|
403
|
+
<div className={' col-lg-6 col-md-12 col-sm-12 d-flex align-items-stretch p-0 '}>
|
|
404
|
+
<div
|
|
405
|
+
className={`${loginstyles.rightContainer}` + ' p-2 row m-0 w-100 d-flex align-items-center justify-content-center pt-md-4 pb-md-4 '}
|
|
406
|
+
style={{
|
|
407
|
+
background: sectionproperties.formRightbgColor,
|
|
408
|
+
borderTopRightRadius:
|
|
409
|
+
langdetect == 'en' ? sectionproperties.formRight_bordertoprightradius + 'px' : sectionproperties.formRight_bordertopleftradius + 'px',
|
|
410
|
+
borderTopLeftRadius:
|
|
411
|
+
langdetect == 'en' ? sectionproperties.formRight_bordertopleftradius + 'px' : sectionproperties.formRight_bordertoprightradius + 'px',
|
|
412
|
+
borderBottomRightRadius:
|
|
413
|
+
langdetect == 'en' ? sectionproperties.formRight_borderbottomrightadius + 'px' : sectionproperties.formRight_borderbottomleftadius + 'px',
|
|
414
|
+
borderBottomLeftRadius:
|
|
415
|
+
langdetect == 'en' ? sectionproperties.formRight_borderbottomleftadius + 'px' : sectionproperties.formRight_borderbottomrightadius + 'px',
|
|
416
|
+
}}
|
|
417
|
+
>
|
|
418
|
+
{RightContainerContent()}
|
|
419
|
+
</div>
|
|
420
|
+
</div>
|
|
421
|
+
)}
|
|
422
|
+
</div>
|
|
423
|
+
</div>
|
|
424
|
+
</div>
|
|
425
|
+
<form method="POST" action={'/surfer/login'} className="" id={'loginform'} style={{ display: 'none' }}>
|
|
426
|
+
<input type="hidden" name="email" value={payloadobj.email} />
|
|
427
|
+
<input type="hidden" name="password" value={payloadobj.password} />
|
|
428
|
+
</form>
|
|
429
|
+
</div>
|
|
430
|
+
)}
|
|
431
|
+
</div>
|
|
432
|
+
</div>
|
|
433
|
+
);
|
|
434
|
+
};
|
|
435
|
+
return (
|
|
436
|
+
<div
|
|
437
|
+
className="col-lg-12 d-flex align-items-center justify-content-center pt-md-3 pb-5"
|
|
438
|
+
style={{
|
|
439
|
+
background: sectionproperties.backgroundColor,
|
|
440
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
441
|
+
height: sectionproperties.height != null ? sectionproperties.height + 'vh' : 'auto',
|
|
442
|
+
}}
|
|
443
|
+
>
|
|
444
|
+
<div
|
|
445
|
+
class="row ml-0 mr-0 w-100 d-flex d-md-none"
|
|
446
|
+
style={{
|
|
447
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
448
|
+
}}
|
|
449
|
+
>
|
|
450
|
+
{LoginContent()}
|
|
451
|
+
</div>
|
|
452
|
+
<div
|
|
453
|
+
class="row ml-0 mr-0 w-100 d-none d-md-flex"
|
|
454
|
+
style={{
|
|
455
|
+
marginTop: sectionproperties.marginTopResp + 'px',
|
|
456
|
+
}}
|
|
457
|
+
>
|
|
458
|
+
{LoginContent()}
|
|
459
|
+
</div>
|
|
460
|
+
<Modal show={forgetpasswordmodal} onHide={() => setforgetpasswordmodal(false)} centered size={'md'}>
|
|
461
|
+
<Modal.Body>
|
|
462
|
+
<div
|
|
463
|
+
class="d-flex align-items-center justify-content-center bgdanger-hover"
|
|
464
|
+
style={{ position: 'absolute', right: -15, top: -15, width: '4vh', height: '4vh', background: '#000', borderRadius: '50%' }}
|
|
465
|
+
onClick={() => setforgetpasswordmodal(false)}
|
|
466
|
+
>
|
|
467
|
+
<IoMdClose size={15} color="white" />
|
|
468
|
+
</div>
|
|
469
|
+
<div class="row m-0 w-100 allcentered">
|
|
470
|
+
<div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center mt-2 justify-content-center">
|
|
471
|
+
<p
|
|
472
|
+
className="text-md-center m-0 p-0 mb-2"
|
|
473
|
+
style={{
|
|
474
|
+
fontSize: '19px',
|
|
475
|
+
color: sectionproperties.sectionTitleColor,
|
|
476
|
+
fontWeight: 600,
|
|
477
|
+
}}
|
|
478
|
+
>
|
|
479
|
+
{langdetect == 'en' ? 'Reset Password' : 'إعادة تعيين كلمة المرور'}
|
|
480
|
+
</p>
|
|
481
|
+
</div>
|
|
482
|
+
<div class="col-lg-12 p-0">
|
|
483
|
+
<hr class={'m-0 p-0'} />
|
|
484
|
+
</div>
|
|
485
|
+
</div>
|
|
486
|
+
<div class="row w-100 m-0 mb-3 pl-2 pr-2 pt-3 pb-3 pl-sm-3 pr-sm-3">
|
|
487
|
+
<div className="col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0">
|
|
488
|
+
<label className={`${loginstyles2.logininputLabel}` + ' d-flex justify-content-start '}>{langdetect == 'en' ? 'E-mail' : 'البريد الإلكترونى'}</label>
|
|
489
|
+
<input
|
|
490
|
+
type="text"
|
|
491
|
+
className={`${loginstyles2.form_control}`}
|
|
492
|
+
value={forgotpasswordpayload.email}
|
|
493
|
+
onChange={(event) => {
|
|
494
|
+
var temppayloadobj = { ...forgotpasswordpayload };
|
|
495
|
+
temppayloadobj.email = event.target.value;
|
|
496
|
+
setforgotpasswordpayload({ ...temppayloadobj });
|
|
497
|
+
}}
|
|
498
|
+
disabled={forgetpasswordstage == 'verify' ? true : false}
|
|
499
|
+
style={{
|
|
500
|
+
background: sectionproperties.input_bgcolor,
|
|
501
|
+
}}
|
|
502
|
+
/>
|
|
503
|
+
</div>
|
|
504
|
+
{forgetpasswordstage == 'verify' && (
|
|
505
|
+
<>
|
|
506
|
+
<div className="col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0">
|
|
507
|
+
<label className={`${loginstyles2.logininputLabel}` + ' d-flex justify-content-start '}>{langdetect == 'en' ? 'Code' : ' كود البريد الاكتروني'}</label>
|
|
508
|
+
<input
|
|
509
|
+
type="text"
|
|
510
|
+
className={`${loginstyles2.form_control}`}
|
|
511
|
+
value={forgotpasswordpayload.code}
|
|
512
|
+
onChange={(event) => {
|
|
513
|
+
var temppayloadobj = { ...forgotpasswordpayload };
|
|
514
|
+
temppayloadobj.code = event.target.value;
|
|
515
|
+
setforgotpasswordpayload({ ...temppayloadobj });
|
|
516
|
+
}}
|
|
517
|
+
style={{
|
|
518
|
+
background: sectionproperties.input_bgcolor,
|
|
519
|
+
}}
|
|
520
|
+
/>
|
|
521
|
+
</div>
|
|
522
|
+
<div className="col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0">
|
|
523
|
+
<label className={`${loginstyles2.logininputLabel}` + ' d-flex justify-content-start '}>{lang.password}</label>
|
|
524
|
+
<input
|
|
525
|
+
type="password"
|
|
526
|
+
className={`${loginstyles2.form_control}`}
|
|
527
|
+
value={forgotpasswordpayload.newpassword}
|
|
528
|
+
onChange={(event) => {
|
|
529
|
+
var temppayloadobj = { ...forgotpasswordpayload };
|
|
530
|
+
temppayloadobj.newpassword = event.target.value;
|
|
531
|
+
setforgotpasswordpayload({ ...temppayloadobj });
|
|
532
|
+
}}
|
|
533
|
+
style={{
|
|
534
|
+
background: sectionproperties.input_bgcolor,
|
|
535
|
+
}}
|
|
536
|
+
/>
|
|
537
|
+
</div>
|
|
538
|
+
<div className="col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0">
|
|
539
|
+
<label className={`${loginstyles2.logininputLabel}` + ' d-flex justify-content-start '}>{lang.confirmpassword}</label>
|
|
540
|
+
<input
|
|
541
|
+
type="password"
|
|
542
|
+
className={`${loginstyles2.form_control}`}
|
|
543
|
+
value={forgotpasswordpayload.confirmnewpassword}
|
|
544
|
+
onChange={(event) => {
|
|
545
|
+
var temppayloadobj = { ...forgotpasswordpayload };
|
|
546
|
+
temppayloadobj.confirmnewpassword = event.target.value;
|
|
547
|
+
setforgotpasswordpayload({ ...temppayloadobj });
|
|
548
|
+
}}
|
|
549
|
+
style={{
|
|
550
|
+
background: sectionproperties.input_bgcolor,
|
|
551
|
+
}}
|
|
552
|
+
/>
|
|
553
|
+
</div>
|
|
554
|
+
</>
|
|
555
|
+
)}
|
|
556
|
+
</div>
|
|
557
|
+
</Modal.Body>
|
|
558
|
+
<Modal.Footer>
|
|
559
|
+
<div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 ">
|
|
560
|
+
<button
|
|
561
|
+
className={` ${loginstyles2.loginbtn}` + ' d-flex align-items-center justify-content-center '}
|
|
562
|
+
onClick={() => {
|
|
563
|
+
if (forgotpasswordpayload.email.length != 0) {
|
|
564
|
+
var runfunc = false;
|
|
565
|
+
var tempforgotpasswordpayload = { ...forgotpasswordpayload };
|
|
566
|
+
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
567
|
+
if (forgetpasswordstage == 'verify') {
|
|
568
|
+
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
569
|
+
if (tempforgotpasswordpayload.newpassword == tempforgotpasswordpayload.confirmnewpassword) {
|
|
570
|
+
runfunc = true;
|
|
571
|
+
} else {
|
|
572
|
+
NotificationManager.warning('', 'Passwords do not match');
|
|
573
|
+
}
|
|
574
|
+
} else {
|
|
575
|
+
NotificationManager.warning('', 'Please complete the missing fields');
|
|
576
|
+
}
|
|
577
|
+
} else {
|
|
578
|
+
runfunc = true;
|
|
579
|
+
}
|
|
580
|
+
if (runfunc) {
|
|
581
|
+
ForgetpasswordMutationContext.mutate(tempforgotpasswordpayload);
|
|
582
|
+
}
|
|
583
|
+
} else {
|
|
584
|
+
NotificationManager.warning('', 'Please write your email');
|
|
585
|
+
}
|
|
586
|
+
}}
|
|
587
|
+
type={'button'}
|
|
588
|
+
disabled={ForgetpasswordMutationContext.isLoading == true ? true : false}
|
|
589
|
+
style={{ width: '230px' }}
|
|
590
|
+
>
|
|
591
|
+
{ForgetpasswordMutationContext.isLoading && <CircularProgress color="#fff" width="20px" height="20px" duration="1s" />}
|
|
592
|
+
{!ForgetpasswordMutationContext.isLoading && (
|
|
593
|
+
<span style={{ letterSpacing: langdetect == 'en' ? '1px' : '', textTransform: sectionproperties.login_btn_texttransform }}>
|
|
594
|
+
{forgetpasswordstage == 'verify'
|
|
595
|
+
? langdetect == 'en'
|
|
596
|
+
? 'Reset password'
|
|
597
|
+
: 'إعادة تعيين كلمة المرور'
|
|
598
|
+
: langdetect == 'en'
|
|
599
|
+
? 'Send verification code'
|
|
600
|
+
: 'أرسل رمز التحقق'}
|
|
601
|
+
</span>
|
|
602
|
+
)}
|
|
603
|
+
</button>
|
|
604
|
+
</div>
|
|
605
|
+
</Modal.Footer>
|
|
606
|
+
</Modal>
|
|
607
|
+
</div>
|
|
608
|
+
);
|
|
609
|
+
};
|
|
610
|
+
export default Login;
|