tabexseriescomponents 0.0.71 → 0.0.73
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 +420 -218
- package/dist/index.esm.js +421 -219
- package/dist/index.umd.js +420 -218
- package/package.json +1 -1
- package/src-aya/Contexts/LanguageContext.jsx +369 -0
- package/{src1-10 → src-aya}/Contexts/ProductsCardsSectionContext.jsx +0 -0
- package/{src1-10 → src-aya}/StylesJS/Customstyles.js +0 -0
- package/src-aya/TabexComponents/Cards/Card20/Card20.jsx +288 -0
- package/src-aya/TabexComponents/Cards/Card21/Card21.jsx +386 -0
- package/src-aya/TabexComponents/Cards/Card22/Card22.jsx +289 -0
- package/src-aya/TabexComponents/Cards/Card23/Card23.jsx +355 -0
- package/src-aya/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +393 -0
- package/src-aya/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +168 -0
- package/src-aya/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +243 -0
- package/src-aya/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +202 -0
- package/src-aya/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +174 -0
- package/src-aya/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +182 -0
- package/src-aya/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +158 -0
- package/src-aya/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +189 -0
- package/src-aya/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +150 -0
- package/src-aya/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +271 -0
- package/src-aya/TabexComponents/Cards/MenuCard/MenuCard.jsx +538 -0
- package/src-aya/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +491 -0
- package/src-aya/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +469 -0
- package/src-aya/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
- package/src-aya/TabexComponents/Cards/Productcard7/Productcard7.jsx +272 -0
- package/src-aya/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +295 -0
- package/src-aya/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +289 -0
- package/src-aya/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
- package/src-aya/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +288 -0
- package/src-aya/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +328 -0
- package/src-aya/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +509 -0
- package/{src1-10 → src-aya}/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +2 -2
- package/src-aya/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
- package/src-aya/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +133 -0
- package/src-aya/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +125 -0
- package/src-aya/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +292 -0
- package/src-aya/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +336 -0
- package/src-aya/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +429 -0
- package/{src1-10 → src-aya}/TabexComponents/Footer/Footer1/Footer1.jsx +21 -23
- package/{src1-10 → src-aya}/TabexComponents/Footer/Footer2/Footer2.jsx +6 -6
- package/src-aya/TabexComponents/Footer/Footer3/Footer3.jsx +302 -0
- package/{src1-10 → src-aya}/TabexComponents/Footer/Footer4/Footer4.jsx +8 -8
- package/{src1-10 → src-aya}/TabexComponents/Footer/Footer5/Footer5.jsx +8 -8
- package/{src1-10 → src-aya}/TabexComponents/Footer/Footer6/Footer6.jsx +4 -4
- package/{src1-10 → src-aya}/TabexComponents/Footer/Footer7/Footer7.jsx +5 -5
- package/{src1-10 → src-aya}/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +2 -2
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/src-aya/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +822 -0
- package/src-aya/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +841 -0
- package/src-aya/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +677 -0
- package/src-aya/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +707 -0
- package/{src1-10 → src-aya}/TabexComponents/Headers/Header4/Header4.jsx +0 -0
- package/src-aya/TabexComponents/Headers/Header6/Header6.jsx +631 -0
- package/{src1-10 → src-aya}/TabexComponents/Headers/Header8/Header8.jsx +103 -176
- package/{src1-10 → src-aya}/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +105 -106
- package/{src1-10 → src-aya}/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +99 -98
- package/src-aya/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +669 -0
- package/src-aya/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +919 -0
- package/src-aya/TabexComponents/Headers/Modernheader/Modernheader.jsx +687 -0
- package/src-aya/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +813 -0
- package/src-aya/TabexComponents/Headers/Subheader/Subheader.jsx +248 -0
- package/src-aya/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +926 -0
- package/src-aya/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +168 -0
- package/src-aya/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +346 -0
- package/src-aya/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +304 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -0
- package/src-aya/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +271 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +2 -1
- package/src-aya/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +200 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -0
- package/src-aya/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +768 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +1 -4
- package/src-aya/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.jsx +663 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +0 -0
- package/src-aya/TabexComponents/Sections/Cards/Cardsection10/Arrows.js +94 -0
- package/src-aya/TabexComponents/Sections/Cards/Cardsection10/Cardsection10.js +741 -0
- package/src-aya/TabexComponents/Sections/Cards/Cardsection100/Cardsection10.js +430 -0
- package/src-aya/TabexComponents/Sections/Cards/Cardsection100/burger.jpg +0 -0
- package/src-aya/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +473 -0
- package/src-aya/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +523 -0
- package/src-aya/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +502 -0
- package/src-aya/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +276 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +160 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +176 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1 -1
- package/src-aya/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +140 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +201 -0
- package/src-aya/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +125 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +139 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +215 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +6 -1
- package/{src1-10 → src-aya}/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +0 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +277 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -0
- package/src-aya/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +458 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Filter/Filter.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -0
- package/src-aya/TabexComponents/StaticPages/Login/Login.jsx +283 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +0 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Policies/Policies.jsx +0 -0
- package/src-aya/TabexComponents/StaticPages/Productinfo/Iteminfo.js +1287 -0
- package/src-aya/TabexComponents/StaticPages/Productinfo/Productinfo.js +710 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +3 -2
- package/src-aya/TabexComponents/StaticPages/Productinfo/Serviceinfo.js +804 -0
- package/src-aya/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +206 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +15 -0
- package/src-aya/TabexComponents/StaticPages/Signup/Signup.jsx +155 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -6
- package/src-aya/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +1048 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -0
- package/src-aya/assets/images/appstore.png +0 -0
- package/{src1-10 → src-aya}/assets/images/cod.png +0 -0
- package/{src1-10 → src-aya}/assets/images/egyptflag.png +0 -0
- package/{src1-10 → src-aya}/assets/images/fawry.png +0 -0
- package/src-aya/assets/images/googleplay.png +0 -0
- package/{src1-10 → src-aya}/assets/images/payment.png +0 -0
- package/{src1-10 → src-aya}/assets/images/paymob.png +0 -0
- package/{src1-10 → src-aya}/assets/images/paypal.png +0 -0
- package/{src1-10 → src-aya}/assets/images/shoppingcart.png +0 -0
- package/{src1-10 → src-aya}/assets/images/usflag.png +0 -0
- package/{src1-10 → src-aya}/assets/images/visa.png +0 -0
- package/{src1-10 → src-aya}/assets/images/whatsapp.png +0 -0
- package/{src1-10 → src-aya}/button.jsx +0 -0
- package/src-aya/index.jsx +222 -0
- package/{src1-10 → src-aya}/styles/Home.module.css +0 -0
- package/{src1-10 → src-aya}/styles/cards/Categorcycard_fullimage.module.css +0 -0
- package/{src1-10 → src-aya}/styles/cards/Categorycard_slidebgscaled.module.css +0 -0
- package/{src1-10 → src-aya}/styles/cards/Categorycard_withshapes.module.css +0 -0
- package/src-aya/styles/cards/ModernCardWithQuantityButton.module.css +34 -0
- package/{src1-10 → src-aya}/styles/cards/Productcard6.module.css +0 -0
- package/{src1-10 → src-aya}/styles/cards/Productcard_with_circularbg.module.css +0 -0
- package/{src1-10 → src-aya}/styles/cards/Productccard_with_zoominonhover.module.css +0 -0
- package/src-aya/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
- package/src-aya/styles/cards/categorycard.module.css +85 -0
- package/src-aya/styles/cards/categorycard3.module.css +50 -0
- package/{src1-10 → src-aya}/styles/cards/categorycardwithtext.module.css +0 -0
- package/src-aya/styles/cards/productcard_animatedbuttons.module.css +127 -0
- package/{src1-10 → src-aya}/styles/cards/productcard_with_textonhover.module.css +0 -0
- package/{src1-10 → src-aya}/styles/cards/productccard_with_imageontopleft.module.css +0 -0
- package/src-aya/styles/general/bootstrap.css +4562 -0
- package/src-aya/styles/general/dropdown.css +206 -0
- package/{src1-10 → src-aya}/styles/general/editorbardropdown.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/filter.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/form.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/general.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/image-gallery.css +0 -0
- package/{src1-10 → src-aya}/styles/general/react-accessible-accordion.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/react-phone-input-2.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/scrollbtn.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/slick.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/tabs.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/workplaceeditor.module.css +0 -0
- package/{src1-10 → src-aya}/styles/globals.css +0 -0
- package/src-aya/styles/headers/CTAHeader.module.css +40 -0
- package/src-aya/styles/headers/CategoryFeaturingHeader.module.css +61 -0
- package/{src1-10/styles/headers/Allinoneheader.module.css → src-aya/styles/headers/Gotoheader.module.css} +0 -0
- package/{src1-10 → src-aya}/styles/headers/Header7.module.css +0 -0
- package/src-aya/styles/headers/Header_threesectionslogocentered.module.css +96 -0
- package/{src1-10 → src-aya}/styles/headers/Sideheader.module.css +0 -0
- package/src-aya/styles/headers/classicheader.module.css +16 -0
- package/{src1-10 → src-aya}/styles/headers/classicheaderstyles.module.css +0 -0
- package/{src1-10 → src-aya}/styles/headers/dropdown.css +0 -0
- package/{src1-10 → src-aya}/styles/headers/header4.module.css +0 -0
- package/{src1-10 → src-aya}/styles/headers/header5.module.css +0 -0
- package/src-aya/styles/headers/header6.module.css +102 -0
- package/src-aya/styles/headers/header_contactinfo.module.css +66 -0
- package/{src1-10 → src-aya}/styles/headers/headerresturant.module.css +0 -0
- package/src-aya/styles/headers/modernheader.module.css +72 -0
- package/{src1-10/styles/headers/headerstyles.module.css → src-aya/styles/headers/stylishheader.module.css} +0 -0
- package/{src1-10 → src-aya}/styles/headers/subheader.module.css +0 -0
- package/src-aya/styles/headers/threetieredheader.module.css +91 -0
- package/src-aya/styles/sections/BackgroundImageWithTopContent.css +4 -0
- package/{src1-10 → src-aya}/styles/sections/Backgroundimage1.module.css +0 -0
- package/{src1-10 → src-aya}/styles/sections/Backgroundimage_with_topcircle.module.css +0 -0
- package/{src1-10 → src-aya}/styles/sections/Section_with_rightbgcont.module.css +0 -0
- package/{src1-10 → src-aya}/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -0
- package/{src1-10 → src-aya}/styles/sections/Slideshow_with_squarebg.module.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/accordion.module.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/cart.module.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/dropdown.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/filter.module.css +0 -0
- package/src-aya/styles/staticpages/image-gallery.css +481 -0
- package/src-aya/styles/staticpages/login.module.css +113 -0
- package/{src1-10 → src-aya}/styles/staticpages/productinfo.module.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/shop.module.css +0 -0
- package/src-aya/styles/staticpages/signup.module.css +206 -0
- package/{src1-10 → src-aya}/styles/staticpages/staticroutersidenav.module.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/viewcart.module.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/wishlist.module.css +0 -0
- package/src-aya/styles.rar +0 -0
- package/{src1-10 → srcOLD}/Contexts/LanguageContext.jsx +0 -0
- package/srcOLD/Contexts/ProductsCardsSectionContext.jsx +28 -0
- package/srcOLD/StylesJS/Customstyles.js +235 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +19 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +8 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +7 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +72 -45
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +15 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/MenuCard/MenuCard.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard6/Productcard6.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard7/Productcard7.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +14 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +17 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +14 -1
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +11 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +10 -0
- package/srcOLD/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +282 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +15 -3
- package/{src1-10 → srcOLD}/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +11 -1
- package/srcOLD/TabexComponents/Footer/Footer1/Footer1.jsx +418 -0
- package/srcOLD/TabexComponents/Footer/Footer2/Footer2.jsx +382 -0
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer3/Footer3.jsx +6 -14
- package/srcOLD/TabexComponents/Footer/Footer4/Footer4.jsx +438 -0
- package/srcOLD/TabexComponents/Footer/Footer5/Footer5.jsx +495 -0
- package/srcOLD/TabexComponents/Footer/Footer6/Footer6.jsx +295 -0
- package/srcOLD/TabexComponents/Footer/Footer7/Footer7.jsx +373 -0
- package/srcOLD/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +238 -0
- package/srcOLD/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx +99 -97
- package/{src1-10 → srcOLD}/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +80 -74
- package/srcOLD/TabexComponents/Headers/Header4/Header4.jsx +632 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Header6/Header6.jsx +76 -73
- package/srcOLD/TabexComponents/Headers/Header8/Header8.jsx +882 -0
- package/srcOLD/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +754 -0
- package/srcOLD/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +798 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +23 -3
- package/{src1-10 → srcOLD}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +114 -116
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Modernheader/Modernheader.jsx +92 -100
- package/{src1-10 → srcOLD}/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +98 -110
- package/srcOLD/TabexComponents/Headers/Subheader/Subheader copy.jsx +228 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Subheader/Subheader.jsx +22 -10
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +312 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -0
- package/srcOLD/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +138 -0
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +160 -0
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +295 -0
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +784 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +75 -7
- package/srcOLD/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.js +496 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.js +0 -0
- package/srcOLD/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +419 -0
- package/{src1-10/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx → srcOLD/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.js} +74 -34
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -0
- package/srcOLD/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +284 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +8 -0
- package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +414 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +53 -92
- package/srcOLD/TabexComponents/StaticPages/Aboutus/Aboutus.js +175 -0
- package/srcOLD/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +275 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -0
- package/srcOLD/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.js +146 -0
- package/srcOLD/TabexComponents/StaticPages/Checkout/Checkout.jsx +1220 -0
- package/srcOLD/TabexComponents/StaticPages/Filter/Filter.jsx +542 -0
- package/srcOLD/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +51 -0
- package/srcOLD/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Login/Login.jsx +0 -0
- package/srcOLD/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +192 -0
- package/srcOLD/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1285 -0
- package/srcOLD/TabexComponents/StaticPages/Policies/Policies.jsx +358 -0
- package/srcOLD/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1506 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +16 -0
- package/srcOLD/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +788 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Signup/Signup.jsx +0 -0
- package/srcOLD/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +295 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Viewcart/Viewcart.js +0 -0
- package/srcOLD/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +629 -0
- package/srcOLD/assets/images/cod.png +0 -0
- package/srcOLD/assets/images/egyptflag.png +0 -0
- package/srcOLD/assets/images/fawry.png +0 -0
- package/srcOLD/assets/images/payment.png +0 -0
- package/srcOLD/assets/images/paymob.png +0 -0
- package/srcOLD/assets/images/paypal.png +0 -0
- package/srcOLD/assets/images/shoppingcart.png +0 -0
- package/srcOLD/assets/images/usflag.png +0 -0
- package/srcOLD/assets/images/visa.png +0 -0
- package/srcOLD/assets/images/whatsapp.png +0 -0
- package/srcOLD/button.jsx +40 -0
- package/{src1-10 → srcOLD}/index.jsx +2 -6
- package/srcOLD/styles/Home.module.css +129 -0
- package/srcOLD/styles/cards/Categorcycard_fullimage.module.css +10 -0
- package/srcOLD/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
- package/srcOLD/styles/cards/Categorycard_withshapes.module.css +189 -0
- package/srcOLD/styles/cards/Productcard6.module.css +9 -0
- package/srcOLD/styles/cards/Productcard_with_circularbg.module.css +137 -0
- package/srcOLD/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
- package/{src1-10 → srcOLD}/styles/cards/Prouductcard_with_zoomhover.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/categorycard.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/categorycard3.module.css +0 -0
- package/srcOLD/styles/cards/categorycardwithtext.module.css +40 -0
- package/{src1-10 → srcOLD}/styles/cards/productcard_animatedbuttons.module.css +0 -0
- package/srcOLD/styles/cards/productcard_with_textonhover.module.css +12 -0
- package/srcOLD/styles/cards/productccard_with_imageontopleft.module.css +85 -0
- package/{src1-10 → srcOLD}/styles/general/bootstrap.css +73 -68
- package/{src1-10 → srcOLD}/styles/general/dropdown.css +0 -0
- package/srcOLD/styles/general/editorbardropdown.module.css +94 -0
- package/srcOLD/styles/general/filter.module.css +108 -0
- package/srcOLD/styles/general/form.module.css +273 -0
- package/srcOLD/styles/general/general.module.css +709 -0
- package/srcOLD/styles/general/image-gallery.css +481 -0
- package/srcOLD/styles/general/react-accessible-accordion.module.css +52 -0
- package/srcOLD/styles/general/react-phone-input-2.module.css +927 -0
- package/srcOLD/styles/general/scrollbtn.module.css +22 -0
- package/srcOLD/styles/general/slick.module.css +166 -0
- package/srcOLD/styles/general/tabs.module.css +110 -0
- package/srcOLD/styles/general/workplaceeditor.module.css +328 -0
- package/srcOLD/styles/globals.css +26 -0
- package/srcOLD/styles/headers/Allinoneheader.module.css +91 -0
- package/srcOLD/styles/headers/Header7.module.css +50 -0
- package/{src1-10 → srcOLD}/styles/headers/Header_threesectionslogocentered.module.css +0 -0
- package/srcOLD/styles/headers/Sideheader.module.css +108 -0
- package/srcOLD/styles/headers/classicheaderstyles.module.css +16 -0
- package/srcOLD/styles/headers/dropdown.css +0 -0
- package/srcOLD/styles/headers/header4.module.css +175 -0
- package/srcOLD/styles/headers/header5.module.css +30 -0
- package/{src1-10 → srcOLD}/styles/headers/header6.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/header_contactinfo.module.css +0 -0
- package/srcOLD/styles/headers/headerresturant.module.css +89 -0
- package/srcOLD/styles/headers/headerstyles.module.css +24 -0
- package/{src1-10 → srcOLD}/styles/headers/modernheader.module.css +0 -0
- package/srcOLD/styles/headers/subheader.module.css +114 -0
- package/srcOLD/styles/sections/Backgroundimage1.module.css +17 -0
- package/srcOLD/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
- package/srcOLD/styles/sections/Section_with_rightbgcont.module.css +49 -0
- package/srcOLD/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
- package/srcOLD/styles/sections/Slideshow_with_squarebg.module.css +39 -0
- package/srcOLD/styles/staticpages/accordion.module.css +9 -0
- package/srcOLD/styles/staticpages/cart.module.css +108 -0
- package/srcOLD/styles/staticpages/dropdown.css +196 -0
- package/srcOLD/styles/staticpages/filter.module.css +139 -0
- package/{src1-10 → srcOLD}/styles/staticpages/login.module.css +0 -0
- package/srcOLD/styles/staticpages/productinfo.module.css +54 -0
- package/srcOLD/styles/staticpages/shop.module.css +191 -0
- package/{src1-10 → srcOLD}/styles/staticpages/signup.module.css +0 -0
- package/srcOLD/styles/staticpages/staticroutersidenav.module.css +129 -0
- package/srcOLD/styles/staticpages/viewcart.module.css +129 -0
- package/srcOLD/styles/staticpages/wishlist.module.css +29 -0
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
import { css } from 'glamor';
|
|
3
|
+
import { MdOutlineLayersClear } from 'react-icons/md';
|
|
4
|
+
import { IKImage } from 'imagekitio-react';
|
|
5
|
+
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
6
|
+
const Searchlist = (props) => {
|
|
7
|
+
const lang = props.actions.lang;
|
|
8
|
+
const langdetect = props.actions.langdetect;
|
|
9
|
+
const routingcountext = props.actions.routingcountext;
|
|
10
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
11
|
+
const SearchHeaderInputContext = props.actions.SearchHeaderInputContext;
|
|
12
|
+
const SearchHeaderMutationContext = props.actions.SearchHeaderMutationContext;
|
|
13
|
+
const [sectionproperties, setsectionproperties] = useState('');
|
|
14
|
+
const [searchinput, setsearchinput] = useState(props.srcfromprops == 'cardssection' ? props.searchinputprops : SearchHeaderInputContext);
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
setsectionproperties(props.sectionpropertiesprops);
|
|
17
|
+
}, [props.sectionpropertiesprops]);
|
|
18
|
+
useEffect(() => {
|
|
19
|
+
if (props.srcfromprops != 'cardssection') {
|
|
20
|
+
setsearchinput(SearchHeaderInputContext);
|
|
21
|
+
}
|
|
22
|
+
}, [SearchHeaderInputContext]);
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
if (props.srcfromprops == 'cardssection') {
|
|
25
|
+
setsearchinput(props.searchinputprops);
|
|
26
|
+
}
|
|
27
|
+
}, [props.searchinputprops]);
|
|
28
|
+
const searchlist_styles = {
|
|
29
|
+
searchcont: css({
|
|
30
|
+
color: sectionproperties.searchlist_prodNameColor,
|
|
31
|
+
':hover': {
|
|
32
|
+
color: sectionproperties.searchlist_prodNameColorOnHover,
|
|
33
|
+
},
|
|
34
|
+
}),
|
|
35
|
+
productNameStyles: css({
|
|
36
|
+
fontSize: sectionproperties.searchlist_prodNameFontSize + 'px',
|
|
37
|
+
textTransform: sectionproperties.searchlist_prodNameTextTranform,
|
|
38
|
+
fontWeight: sectionproperties.searchlist_prodNameFontWeight,
|
|
39
|
+
marginBottom: 4,
|
|
40
|
+
transition: '.3s',
|
|
41
|
+
cursor: 'pointer',
|
|
42
|
+
':hover': {
|
|
43
|
+
color: sectionproperties.searchlist_prodNameColorOnHover,
|
|
44
|
+
},
|
|
45
|
+
}),
|
|
46
|
+
productPricestyles: css({
|
|
47
|
+
color: sectionproperties.searchlist_prodPriceColor,
|
|
48
|
+
fontSize: sectionproperties.searchlist_prodpriceFontSize + 'px',
|
|
49
|
+
fontWeight: sectionproperties.searchlist_prodPriceFontWeight,
|
|
50
|
+
}),
|
|
51
|
+
productSalePricestyles: css({
|
|
52
|
+
color: sectionproperties.searchlist_prodsalePriceColor,
|
|
53
|
+
fontSize: sectionproperties.searchlist_prodsalepriceFontSize + 'px',
|
|
54
|
+
fontWeight: sectionproperties.searchlist_prodsalePriceFontWeight,
|
|
55
|
+
}),
|
|
56
|
+
imagecont: css({
|
|
57
|
+
width: sectionproperties.searchlist_prodimage_width + 'px',
|
|
58
|
+
height: sectionproperties.searchlist_prodimage_height + 'px',
|
|
59
|
+
// width: '200px',
|
|
60
|
+
// height: '80px',
|
|
61
|
+
borderRadius: sectionproperties.searchlist_prodimage_borderradius + 'px',
|
|
62
|
+
display: 'flex',
|
|
63
|
+
alignItems: 'center',
|
|
64
|
+
justifyContent: 'center',
|
|
65
|
+
position: 'relative',
|
|
66
|
+
}),
|
|
67
|
+
searchlist_outercontainer: css({
|
|
68
|
+
position: 'absolute',
|
|
69
|
+
background: sectionproperties.searchlistcontainer_bgcolor,
|
|
70
|
+
borderRadius: sectionproperties.searchlistcontainer_borderradius + 'px',
|
|
71
|
+
border: sectionproperties.searchlistcontainer_borderwidth + 'px solid ' + sectionproperties.searchlistcontainer_bordercolor,
|
|
72
|
+
zIndex: 1000,
|
|
73
|
+
maxHeight: props.srcfromprops == 'cardssection' ? '30vh' : '50vh',
|
|
74
|
+
}),
|
|
75
|
+
searchlist_innercontainer: css({
|
|
76
|
+
height: props.srcfromprops == 'cardssection' ? '25vh' : '30vh',
|
|
77
|
+
overflowY: 'scroll',
|
|
78
|
+
}),
|
|
79
|
+
};
|
|
80
|
+
return (
|
|
81
|
+
<div className="col-lg-12 p-0 m-0 w-100" style={{ zIndex: 1000 }}>
|
|
82
|
+
{sectionproperties.length != 0 && searchinput != undefined && searchinput != null && searchinput.length != 0 && (
|
|
83
|
+
<div
|
|
84
|
+
className={
|
|
85
|
+
props.srcfromprops == 'header'
|
|
86
|
+
? `${searchlist_styles.searchlist_outercontainer}` + ' m-0 row d-flex d-md-none justify-content-center p-1 '
|
|
87
|
+
: `${searchlist_styles.searchlist_outercontainer}` + ' m-0 row d-flex justify-content-center p-1 '
|
|
88
|
+
}
|
|
89
|
+
style={{
|
|
90
|
+
zIndex: 1000,
|
|
91
|
+
width:
|
|
92
|
+
props.srcfromprops == 'header'
|
|
93
|
+
? '300px'
|
|
94
|
+
: props.srcfromprops == 'headerfullwidth'
|
|
95
|
+
? '100%'
|
|
96
|
+
: props.srcfromprops == 'headerfullwidth-200'
|
|
97
|
+
? '270px'
|
|
98
|
+
: props.srcfromprops == 'respheader'
|
|
99
|
+
? '100%'
|
|
100
|
+
: props.srcfromprops == 'header-400'
|
|
101
|
+
? '400px'
|
|
102
|
+
: props.srcfromprops == 'header-250'
|
|
103
|
+
? '250px'
|
|
104
|
+
: props.srcfromprops == 'header-300'
|
|
105
|
+
? '300px'
|
|
106
|
+
: props.srcfromprops == 'StylishHeader'
|
|
107
|
+
? '90%'
|
|
108
|
+
: '100%',
|
|
109
|
+
top: props.headernameprops == 'categoryfeaturingheader' ? 20 : props.srcfromprops == 'respheader' ? 10 : props.srcfromprops == 'StylishHeader' ? 50 : 10,
|
|
110
|
+
left:
|
|
111
|
+
props.srcfromprops == 'respheader'
|
|
112
|
+
? 0
|
|
113
|
+
: props.srcfromprops == 'header-400' || props.srcfromprops == 'header-300' || props.srcfromprops == 'header-250'
|
|
114
|
+
? langdetect == 'en'
|
|
115
|
+
? ''
|
|
116
|
+
: 0
|
|
117
|
+
: props.srcfromprops == 'StylishHeader'
|
|
118
|
+
? langdetect == 'en'
|
|
119
|
+
? '5%'
|
|
120
|
+
: ''
|
|
121
|
+
: '',
|
|
122
|
+
right:
|
|
123
|
+
props.srcfromprops == 'respheader'
|
|
124
|
+
? 0
|
|
125
|
+
: props.srcfromprops == 'header-400' || props.srcfromprops == 'header-300' || props.srcfromprops == 'header-250'
|
|
126
|
+
? langdetect == 'en'
|
|
127
|
+
? 0
|
|
128
|
+
: ''
|
|
129
|
+
: props.srcfromprops == 'StylishHeader'
|
|
130
|
+
? langdetect == 'ar'
|
|
131
|
+
? '5%'
|
|
132
|
+
: ''
|
|
133
|
+
: '',
|
|
134
|
+
margin: props.srcfromprops == 'respheader' ? 'auto' : '',
|
|
135
|
+
}}
|
|
136
|
+
>
|
|
137
|
+
{!SearchHeaderMutationContext.isLoading && SearchHeaderMutationContext.isSuccess && (
|
|
138
|
+
<div class={`${searchlist_styles.searchlist_innercontainer}` + ' subscrollbar row m-0 w-100 d-flex justify-content-center p-0 '}>
|
|
139
|
+
<div class="col-lg-12 m-0 w-100 p-0">
|
|
140
|
+
{SearchHeaderMutationContext.data.data.products.map((item, index) => {
|
|
141
|
+
return (
|
|
142
|
+
<div
|
|
143
|
+
class="col-lg-12 m-0 w-100 p-1 pt-0 pb-0"
|
|
144
|
+
style={{ zIndex: 1000 }}
|
|
145
|
+
onClick={() => {
|
|
146
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
147
|
+
}}
|
|
148
|
+
>
|
|
149
|
+
<div class={`${searchlist_styles.searchcont}` + ' col-lg-12 col-md-12 d-flex p-0 cursor-pointer '}>
|
|
150
|
+
<div class={searchlist_styles.imagecont}>
|
|
151
|
+
<IKImage
|
|
152
|
+
urlEndpoint={IKurlEndpoint}
|
|
153
|
+
publicKey={IKpublicKey}
|
|
154
|
+
path={item.defaultimagepath}
|
|
155
|
+
loading="lazy"
|
|
156
|
+
style={{
|
|
157
|
+
height: '100%',
|
|
158
|
+
width: '100%',
|
|
159
|
+
objectFit: 'contain',
|
|
160
|
+
}}
|
|
161
|
+
/>
|
|
162
|
+
</div>
|
|
163
|
+
<div class={props.srcfromprops == 'StylishHeader' ? 'col-lg-11 col-md-11 col-sm-9 pl-1 pr-0' : 'col-lg-10 col-md-11 col-sm-9 pl-1 pr-0'}>
|
|
164
|
+
<div class="row m-0 w-100 d-flex align-items-start">
|
|
165
|
+
<div class="col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-start">
|
|
166
|
+
<p class={`${searchlist_styles.productNameStyles}` + ' m-0 text-overflow p-0 '}>{langdetect == 'en' ? item.name_en : item.name_ar}</p>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center mt-n1">
|
|
169
|
+
<p class={`${searchlist_styles.productPricestyles}` + ' m-0 '}>
|
|
170
|
+
{langdetect == 'en' ? 'EGP' : ''} {item.hassale == 1 ? item.defaultsaleprice : item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
|
|
171
|
+
</p>
|
|
172
|
+
|
|
173
|
+
{item.hassale == 1 && (
|
|
174
|
+
<p class={`${searchlist_styles.productSalePricestyles}` + ' linethrough ml-2 mr-2 mb-0'}>
|
|
175
|
+
{langdetect == 'en' ? 'EGP' : ''} {item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
|
|
176
|
+
</p>
|
|
177
|
+
)}
|
|
178
|
+
</div>
|
|
179
|
+
</div>
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
{index != SearchHeaderMutationContext.data.data.products.length - 1 && (
|
|
183
|
+
<div className="col-lg-12 col-md-12 p-0">
|
|
184
|
+
<hr className="mt-2 mb-1" />
|
|
185
|
+
</div>
|
|
186
|
+
)}
|
|
187
|
+
</div>
|
|
188
|
+
);
|
|
189
|
+
})}
|
|
190
|
+
{SearchHeaderMutationContext.data.data.products.length == 0 && (
|
|
191
|
+
<div className="row m-0 w-100 d-flex align-items-center justify-content-center h-100">
|
|
192
|
+
<div className="col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100">
|
|
193
|
+
<MdOutlineLayersClear size={25} />
|
|
194
|
+
<p className="font-13 font-weight-500">{lang.nosearchresults}</p>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
)}
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
)}
|
|
201
|
+
</div>
|
|
202
|
+
)}
|
|
203
|
+
</div>
|
|
204
|
+
);
|
|
205
|
+
};
|
|
206
|
+
export default Searchlist;
|
|
@@ -142,6 +142,21 @@ const CustomerInformationForm = (props) => {
|
|
|
142
142
|
form_control: css({
|
|
143
143
|
color: sectionproperties.inputfieldcolor,
|
|
144
144
|
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
145
|
+
position: 'relative',
|
|
146
|
+
display: 'flex',
|
|
147
|
+
alignItems: 'center',
|
|
148
|
+
borderBottom: sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor,
|
|
149
|
+
display: 'block',
|
|
150
|
+
width: '100%',
|
|
151
|
+
height: '35px',
|
|
152
|
+
padding: '0 30px',
|
|
153
|
+
transition: '.3s',
|
|
154
|
+
':focus': {
|
|
155
|
+
borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
156
|
+
},
|
|
157
|
+
':focus .login_input_icon': {
|
|
158
|
+
color: sectionproperties.inputfeildbordercoloronfocus,
|
|
159
|
+
},
|
|
145
160
|
}),
|
|
146
161
|
checkbox: css({
|
|
147
162
|
color: sectionproperties.checkbox_color,
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
import generalstyles from '../../../styles/general/general.module.css';
|
|
3
|
+
import CustomerInformationForm from './CustomerInformationForm.jsx';
|
|
4
|
+
|
|
5
|
+
import { css } from 'glamor';
|
|
6
|
+
import { CircularProgress } from 'react-cssfx-loading';
|
|
7
|
+
const Signup = (props) => {
|
|
8
|
+
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
9
|
+
const CurrentSrcTypeContext = props.actions.CurrentSrcTypeContext;
|
|
10
|
+
const routingcountext = props.actions.routingcountext;
|
|
11
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
12
|
+
const SocialLoginMutationContext = props.actions.SocialLoginMutationContext;
|
|
13
|
+
const lang = props.actions.lang;
|
|
14
|
+
const langdetect = props.actions.langdetect;
|
|
15
|
+
const templatepropcontext = props.actions.templatepropcontext;
|
|
16
|
+
const authdetailsContext = props.actions.authdetailsContext;
|
|
17
|
+
const actions = props.actions;
|
|
18
|
+
const [CurrentPageId, setCurrentPageId] = useState('');
|
|
19
|
+
|
|
20
|
+
const [sectionproperties, setsectionproperties] = useState('');
|
|
21
|
+
useEffect(() => {
|
|
22
|
+
if (authdetailsContext.loggedin) {
|
|
23
|
+
routingcountext('');
|
|
24
|
+
}
|
|
25
|
+
}, []);
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
var cartindex = templatepropcontext?.pagesnprop.findIndex((x) => x.staticpageid == '6218bccb7f4f7');
|
|
28
|
+
if (cartindex >= 0) {
|
|
29
|
+
setCurrentPageId(cartindex);
|
|
30
|
+
}
|
|
31
|
+
}, []);
|
|
32
|
+
// useEffect(() => {
|
|
33
|
+
// var secpropobj = {};
|
|
34
|
+
// templatepropcontext?.pagesnprop[CurrentPageId]?.pageproperties?.forEach(function (arrayItem, arrayindex) {
|
|
35
|
+
// secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
36
|
+
// });
|
|
37
|
+
// setsectionproperties({ ...secpropobj });
|
|
38
|
+
// }, [CurrentPageId]);
|
|
39
|
+
useEffect(() => {
|
|
40
|
+
if (StatePagePropertiesContext != null && StatePagePropertiesContext != undefined && StatePagePropertiesContext.length != 0) {
|
|
41
|
+
var secpropobj = {};
|
|
42
|
+
StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
|
|
43
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
44
|
+
});
|
|
45
|
+
setsectionproperties({ ...secpropobj });
|
|
46
|
+
}
|
|
47
|
+
}, [StatePagePropertiesContext]);
|
|
48
|
+
const loginstyles2 = {
|
|
49
|
+
loginbtn: css({
|
|
50
|
+
color: sectionproperties.login_btn_color,
|
|
51
|
+
fontSize: sectionproperties.login_btn_fontSize + 'px',
|
|
52
|
+
textTransform: sectionproperties.login_btn_texttransform,
|
|
53
|
+
fontWeight: sectionproperties.login_btn_fontweight,
|
|
54
|
+
textDecoration: 'underline',
|
|
55
|
+
transition: '.3s',
|
|
56
|
+
':hover': {
|
|
57
|
+
color: sectionproperties.login_btn_coloronhover,
|
|
58
|
+
},
|
|
59
|
+
}),
|
|
60
|
+
logininputLabel: css({
|
|
61
|
+
color: sectionproperties.form_labelcolor,
|
|
62
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
63
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
64
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
65
|
+
}),
|
|
66
|
+
signupbtn: css({
|
|
67
|
+
background: sectionproperties.signup_btnbgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.signup_btnbgcolor,
|
|
68
|
+
width: sectionproperties.signup_btn_width + 'px',
|
|
69
|
+
height: sectionproperties.signup_btn_height + 'px',
|
|
70
|
+
borderRadius: sectionproperties.signup_btn_borderBottomLeftRadius + 'px',
|
|
71
|
+
color: sectionproperties.signup_btn_color,
|
|
72
|
+
fontSize: sectionproperties.signup_btn_fontSize + 'px',
|
|
73
|
+
textTransform: sectionproperties.signup_btn_texttransform,
|
|
74
|
+
fontWeight: sectionproperties.signup_btn_fontweight,
|
|
75
|
+
boxShadow: sectionproperties.signup_btn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.signup_btn_shadowcolor : '',
|
|
76
|
+
border: sectionproperties.signup_btn_borderwidth + 'px solid ' + sectionproperties.signup_btn_bordercolor,
|
|
77
|
+
opacity: sectionproperties.signup_btn_opacity,
|
|
78
|
+
transition: '.3s',
|
|
79
|
+
':hover': {
|
|
80
|
+
color: sectionproperties.signup_btn_coloronhover,
|
|
81
|
+
background: sectionproperties.signup_btnbgcoloroonhover,
|
|
82
|
+
opacity: sectionproperties.signup_btn_opacityonhover,
|
|
83
|
+
},
|
|
84
|
+
}),
|
|
85
|
+
form_control: css({
|
|
86
|
+
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)',
|
|
87
|
+
}),
|
|
88
|
+
};
|
|
89
|
+
return (
|
|
90
|
+
<div className="col-lg-12 d-flex align-items-center justify-content-center pt-3 pb-3 pt-md-3 ">
|
|
91
|
+
<div 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'}>
|
|
92
|
+
<div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center">
|
|
93
|
+
<p
|
|
94
|
+
className="m-0 p-0"
|
|
95
|
+
style={{
|
|
96
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
97
|
+
color: sectionproperties.sectionTitleColor,
|
|
98
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
99
|
+
}}
|
|
100
|
+
>
|
|
101
|
+
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
102
|
+
</p>
|
|
103
|
+
</div>
|
|
104
|
+
<div className="row m-0 w-100 mb-2">
|
|
105
|
+
<div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-md-2">
|
|
106
|
+
<p
|
|
107
|
+
className="m-0 p-0"
|
|
108
|
+
style={{
|
|
109
|
+
color: sectionproperties.formRightTextColor1,
|
|
110
|
+
fontSize: sectionproperties.formRightTextFontSize1 + 'px',
|
|
111
|
+
fontWeight: sectionproperties.formRightTextFontWeight1,
|
|
112
|
+
}}
|
|
113
|
+
>
|
|
114
|
+
{langdetect == 'en' ? sectionproperties.formRightText1 : sectionproperties.formRightText1_ar}
|
|
115
|
+
</p>
|
|
116
|
+
<p
|
|
117
|
+
className={`${loginstyles2.loginbtn} ` + ' ml-2 mr-2 mb-0 p-0 cursor-pointer '}
|
|
118
|
+
onClick={() => {
|
|
119
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
120
|
+
}}
|
|
121
|
+
>
|
|
122
|
+
{lang.login}
|
|
123
|
+
</p>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
<div className="col-lg-12 p-sm-0">
|
|
127
|
+
<div className={`${generalstyles.card}` + ' p-0 ml-3 mr-3 m-md-0 '} style={{ border: 'none', boxShadow: 'none' }}>
|
|
128
|
+
<div className=" row m-0 w-100 ">
|
|
129
|
+
<div
|
|
130
|
+
className="col-lg-12 col-md-12 col-sm-12 pt-4 pb-4 d-flex align-items-stretch"
|
|
131
|
+
style={{
|
|
132
|
+
background: sectionproperties.formLeftbgColor,
|
|
133
|
+
borderTopRightRadius: sectionproperties.formLeft_bordertoprightradius + 'px',
|
|
134
|
+
borderTopLeftRadius: sectionproperties.formLeft_bordertopleftradius + 'px',
|
|
135
|
+
borderBottomRightRadius: sectionproperties.formLeft_borderbottomrightadius + 'px',
|
|
136
|
+
borderBottomLeftRadius: sectionproperties.formLeft_borderbottomleftadius + 'px',
|
|
137
|
+
}}
|
|
138
|
+
>
|
|
139
|
+
{!SocialLoginMutationContext.isLoading && (
|
|
140
|
+
<CustomerInformationForm formtype="add" sectionpropertiesprops={sectionproperties} srcfromprops={'signup'} actions={actions} />
|
|
141
|
+
)}
|
|
142
|
+
{SocialLoginMutationContext.isLoading && (
|
|
143
|
+
<div className="w-100 d-flex m-auto mx-auto justify-content-center align-items-center">
|
|
144
|
+
<CircularProgress color="black" width="40px" height="40px" duration="1s" />
|
|
145
|
+
</div>
|
|
146
|
+
)}
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
);
|
|
154
|
+
};
|
|
155
|
+
export default Signup;
|
package/{src1-10 → src-aya}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx
RENAMED
|
@@ -65,12 +65,6 @@ const Staticpagesrouter = (props) => {
|
|
|
65
65
|
</i>
|
|
66
66
|
),
|
|
67
67
|
Isvisible: true,
|
|
68
|
-
// counter:
|
|
69
|
-
// fetchFavoriteProductsQueryContext.isFetching == false && fetchFavoriteProductsQueryContext.isSuccess == true ? (
|
|
70
|
-
// fetchFavoriteProductsQueryContext.data.data.products.length
|
|
71
|
-
// ) : (
|
|
72
|
-
// <CircularProgress color={props.pillpropertiesprops.color} width="10px" height="10px" duration="1s" />
|
|
73
|
-
// ),
|
|
74
68
|
},
|
|
75
69
|
{
|
|
76
70
|
route: StaticPagesLinksContext.viewcart,
|