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,844 @@
|
|
|
1
|
+
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
import wishliststyles from '../../../styles/staticpages/wishlist.module.css';
|
|
3
|
+
import { css } from 'glamor';
|
|
4
|
+
import Staticpagesrouter from '../Staticpagesrouter/Staticpagesrouter.jsx';
|
|
5
|
+
import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
|
|
6
|
+
import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
|
|
7
|
+
import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
|
|
8
|
+
|
|
9
|
+
const Wishlist = (props) => {
|
|
10
|
+
const lang = props.actions.lang;
|
|
11
|
+
const langdetect = props.actions.langdetect;
|
|
12
|
+
const routingcountext = props.actions.routingcountext;
|
|
13
|
+
const fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
|
|
14
|
+
const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
15
|
+
const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
16
|
+
const addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
17
|
+
const setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
18
|
+
const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
19
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
20
|
+
const setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
21
|
+
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
22
|
+
const actions = props.actions;
|
|
23
|
+
const [sectionproperties, setsectionproperties] = useState('');
|
|
24
|
+
const [bgimagesarray, setbgimagesarray] = useState([]);
|
|
25
|
+
const authdetailsContext = props.actions.authdetailsContext;
|
|
26
|
+
|
|
27
|
+
useEffect(() => {
|
|
28
|
+
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
29
|
+
var secpropobj = {};
|
|
30
|
+
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
31
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
32
|
+
});
|
|
33
|
+
setsectionproperties({ ...secpropobj });
|
|
34
|
+
}
|
|
35
|
+
}, [StatePagePropertiesContext]);
|
|
36
|
+
useEffect(() => {
|
|
37
|
+
var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
|
|
38
|
+
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
39
|
+
setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
|
|
40
|
+
}, []);
|
|
41
|
+
useEffect(() => {
|
|
42
|
+
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
43
|
+
var secpropobj = {};
|
|
44
|
+
StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
|
|
45
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
46
|
+
});
|
|
47
|
+
setsectionproperties({ ...secpropobj });
|
|
48
|
+
}
|
|
49
|
+
}, [StatePagePropertiesContext]);
|
|
50
|
+
const wishlist_cssstyles = {
|
|
51
|
+
pill: css({
|
|
52
|
+
minWidth: sectionproperties.badge_width + 'px',
|
|
53
|
+
height: sectionproperties.badge_height + 'px',
|
|
54
|
+
backgroundColor: sectionproperties.badge_bgcolor,
|
|
55
|
+
color: sectionproperties.badge_color,
|
|
56
|
+
fontSize: sectionproperties.badge_fontsize + 'px',
|
|
57
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
58
|
+
}),
|
|
59
|
+
productNameStyles: css({
|
|
60
|
+
color: sectionproperties.prodNameColor,
|
|
61
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
62
|
+
textTransform: sectionproperties.prodNameTextTranform,
|
|
63
|
+
fontWeight: sectionproperties.prodNameFontWeight,
|
|
64
|
+
}),
|
|
65
|
+
productPricestyles: css({
|
|
66
|
+
color: sectionproperties.prodPriceColor,
|
|
67
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
68
|
+
fontWeight: sectionproperties.prodPriceFontWeight,
|
|
69
|
+
}),
|
|
70
|
+
productsalePricestyles: css({
|
|
71
|
+
color: sectionproperties.prodsalePriceColor,
|
|
72
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
73
|
+
fontWeight: sectionproperties.prodsalePriceFontWeight,
|
|
74
|
+
}),
|
|
75
|
+
cart_btn: css({
|
|
76
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
77
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
78
|
+
background: sectionproperties.cartBtnbgColor,
|
|
79
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
80
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
81
|
+
textTransform: sectionproperties.cartBtnTexttransform,
|
|
82
|
+
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
83
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
84
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
85
|
+
transition: '.3s',
|
|
86
|
+
':hover': {
|
|
87
|
+
background: sectionproperties.cartBtnbgColoronhover,
|
|
88
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
89
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover,
|
|
90
|
+
},
|
|
91
|
+
}),
|
|
92
|
+
trash_btn: css({
|
|
93
|
+
width: sectionproperties.trashbtn_Width == 0 ? 'auto' : sectionproperties.trashbtn_Width + 'px',
|
|
94
|
+
height: sectionproperties.trashbtn_Height == 0 ? 'auto' : sectionproperties.trashbtn_Height + 'px',
|
|
95
|
+
background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
|
|
96
|
+
color: sectionproperties.trashbtn_Textcolor,
|
|
97
|
+
borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
|
|
98
|
+
transition: '.3s',
|
|
99
|
+
border: sectionproperties.trashbtn_borderwidth + 'px solid ' + sectionproperties.trashbtn_bordercolor,
|
|
100
|
+
':hover': {
|
|
101
|
+
background: sectionproperties.trashbtn_bgColoronhover,
|
|
102
|
+
color: sectionproperties.trashbtn_Textcoloronhover,
|
|
103
|
+
},
|
|
104
|
+
}),
|
|
105
|
+
imagecont: css({
|
|
106
|
+
width: '100px',
|
|
107
|
+
height: '90px',
|
|
108
|
+
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
109
|
+
borderRadius: sectionproperties.productimageborderradius + 'px',
|
|
110
|
+
display: 'flex',
|
|
111
|
+
alignItems: 'center',
|
|
112
|
+
justifyContent: 'center',
|
|
113
|
+
position: 'relative',
|
|
114
|
+
}),
|
|
115
|
+
containerstyle: css({
|
|
116
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
117
|
+
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
118
|
+
background: sectionproperties.backgroundColor,
|
|
119
|
+
'@media (max-width: 800px)': {
|
|
120
|
+
marginTop: sectionproperties.marginTopResp + 'px',
|
|
121
|
+
},
|
|
122
|
+
}),
|
|
123
|
+
btnstyles: css({
|
|
124
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
125
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
126
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
127
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
128
|
+
color: sectionproperties.generalbtn_textColor,
|
|
129
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
130
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
131
|
+
':hover': {
|
|
132
|
+
transition: '.3s',
|
|
133
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
134
|
+
backgroundColor: sectionproperties.generalbtn_bgColoronhover,
|
|
135
|
+
},
|
|
136
|
+
'@media (max-width: 800px)': {
|
|
137
|
+
width: '80%',
|
|
138
|
+
},
|
|
139
|
+
prodimage: css({
|
|
140
|
+
height: sectionproperties.prodimage_height,
|
|
141
|
+
}),
|
|
142
|
+
}),
|
|
143
|
+
};
|
|
144
|
+
useEffect(() => {
|
|
145
|
+
if (sectionproperties.length != 0) {
|
|
146
|
+
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
147
|
+
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
148
|
+
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
149
|
+
setbgimagesarray([...arrayofobjectimagesonlyparsed]);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}, [sectionproperties]);
|
|
154
|
+
return (
|
|
155
|
+
<div className={wishlist_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '} style={{ minHeight: '60vh' }}>
|
|
156
|
+
{sectionproperties.showbgimage == 'Show' && (
|
|
157
|
+
<div
|
|
158
|
+
className="col-lg-12 p-0 d-flex justify-content-center"
|
|
159
|
+
style={{
|
|
160
|
+
cursor: bgimagesarray[0]?.IsClickable == 'Yes' ? 'pointer' : 'default',
|
|
161
|
+
}}
|
|
162
|
+
onClick={() => {
|
|
163
|
+
if (bgimagesarray[0]?.IsClickable == 'Yes') {
|
|
164
|
+
if (bgimagesarray[0]?.clickable_page_route && bgimagesarray[0]?.clickable_page_route.length != 0) {
|
|
165
|
+
routingcountext(bgimagesarray[0].clickable_page_route, false, '');
|
|
166
|
+
} else {
|
|
167
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}}
|
|
171
|
+
>
|
|
172
|
+
<div
|
|
173
|
+
class={sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : ''}
|
|
174
|
+
style={{
|
|
175
|
+
width: sectionproperties.image_width + 'vw',
|
|
176
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
|
|
177
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
178
|
+
position: 'relative',
|
|
179
|
+
}}
|
|
180
|
+
>
|
|
181
|
+
<Imagekitimagecomp
|
|
182
|
+
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
183
|
+
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
184
|
+
path={
|
|
185
|
+
bgimagesarray.length != 0
|
|
186
|
+
? langdetect == 'en'
|
|
187
|
+
? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + bgimagesarray[0]?.bgsection_image
|
|
188
|
+
: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + bgimagesarray[0]?.bgsection_image_ar
|
|
189
|
+
: ''
|
|
190
|
+
}
|
|
191
|
+
class="d-flex d-sm-none"
|
|
192
|
+
style={{
|
|
193
|
+
height: '100%',
|
|
194
|
+
width: '100%',
|
|
195
|
+
margin: 0,
|
|
196
|
+
padding: 0,
|
|
197
|
+
background: sectionproperties.image_bgcolor,
|
|
198
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
199
|
+
zIndex: -1,
|
|
200
|
+
objectFit: sectionproperties.bgcovercontain,
|
|
201
|
+
}}
|
|
202
|
+
/>
|
|
203
|
+
<Imagekitimagecomp
|
|
204
|
+
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
205
|
+
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
206
|
+
path={bgimagesarray.length != 0 ? (langdetect == 'en' ? bgimagesarray[0]?.bgsection_imageresponsive : bgimagesarray[0]?.bgsection_imageresponsive_ar) : ''}
|
|
207
|
+
class="d-none d-sm-flex"
|
|
208
|
+
style={{
|
|
209
|
+
height: '100%',
|
|
210
|
+
width: '100%',
|
|
211
|
+
margin: 0,
|
|
212
|
+
padding: 0,
|
|
213
|
+
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
214
|
+
background: sectionproperties.image_bgcolor,
|
|
215
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
216
|
+
zIndex: -1,
|
|
217
|
+
}}
|
|
218
|
+
/>
|
|
219
|
+
</div>
|
|
220
|
+
</div>
|
|
221
|
+
)}
|
|
222
|
+
<div className="col-lg-12 p-0">
|
|
223
|
+
<div
|
|
224
|
+
className={'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2'}
|
|
225
|
+
style={{
|
|
226
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
227
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
228
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
229
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
230
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
231
|
+
}}
|
|
232
|
+
>
|
|
233
|
+
<div className={'col-lg-12 p-0'}>
|
|
234
|
+
<Staticpagesrouter currentpageprops={'Wishlist'} actions={actions} />
|
|
235
|
+
</div>
|
|
236
|
+
<div className={'col-lg-12 p-0'}>
|
|
237
|
+
{/* Loading */}
|
|
238
|
+
{fetchFavoriteProductsQueryContext.isFetching && (
|
|
239
|
+
<div className="row m-0 w-100 align-items-center justify-content-center" style={{ height: '50vh', padding: '20px' }}>
|
|
240
|
+
{sectionproperties.showbgimage == 'Hide' && (
|
|
241
|
+
<div
|
|
242
|
+
className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0"
|
|
243
|
+
style={{
|
|
244
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
245
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
246
|
+
}}
|
|
247
|
+
>
|
|
248
|
+
<p
|
|
249
|
+
class="m-0 p-0 mt-5 mt-sm-2"
|
|
250
|
+
style={{
|
|
251
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
252
|
+
color: sectionproperties.sectionTitleColor,
|
|
253
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
254
|
+
}}
|
|
255
|
+
>
|
|
256
|
+
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
257
|
+
</p>
|
|
258
|
+
</div>
|
|
259
|
+
)}
|
|
260
|
+
<div class="col-lg-12 p-0 d-flex d-md-none">
|
|
261
|
+
<table className={'table'}>
|
|
262
|
+
<thead className="">
|
|
263
|
+
<th className={'mw-150 mw-md-300'}>
|
|
264
|
+
<p class="my-1 is-loading"></p>
|
|
265
|
+
</th>
|
|
266
|
+
<th className="text-center" style={{ minWidth: '100px' }}>
|
|
267
|
+
<p class="my-1 is-loading"></p>
|
|
268
|
+
</th>
|
|
269
|
+
|
|
270
|
+
<th className="text-center">
|
|
271
|
+
<p class="my-1 is-loading"></p>
|
|
272
|
+
</th>
|
|
273
|
+
</thead>
|
|
274
|
+
<tbody>
|
|
275
|
+
{[...Array(3)].map((item, index) => {
|
|
276
|
+
return (
|
|
277
|
+
<tr className="">
|
|
278
|
+
<td className="mw-150 mw-md-300">
|
|
279
|
+
<p class="my-1 is-loading"></p>
|
|
280
|
+
</td>
|
|
281
|
+
<td className="text-center" style={{ minWidth: '100px' }}>
|
|
282
|
+
<p class="my-1 is-loading"></p>
|
|
283
|
+
</td>
|
|
284
|
+
<td className="text-center" style={{ minWidth: '100px' }}>
|
|
285
|
+
<p class="my-1 is-loading"></p>
|
|
286
|
+
</td>
|
|
287
|
+
</tr>
|
|
288
|
+
);
|
|
289
|
+
})}
|
|
290
|
+
</tbody>
|
|
291
|
+
</table>
|
|
292
|
+
</div>
|
|
293
|
+
<div class="col-lg-12 p-0 d-none d-md-flex">
|
|
294
|
+
<div className="row m-0 w-100 align-items-center justify-content-center" style={{ height: '50vh' }}>
|
|
295
|
+
{[...Array(3)].map((item, index) => {
|
|
296
|
+
return (
|
|
297
|
+
<div class="col-lg-12 p-0">
|
|
298
|
+
<div class="row m-0 w-100">
|
|
299
|
+
<div className={' col-3 p-0 '}>
|
|
300
|
+
<div className={`${wishlist_cssstyles.imagecont}` + ' w-100 p-0 is-loading image '}></div>
|
|
301
|
+
</div>
|
|
302
|
+
<div className="col-9 pt-2">
|
|
303
|
+
<div class="row m-0 w-100 d-flex">
|
|
304
|
+
<div class="col-10 p-0 mb-1">
|
|
305
|
+
<p className={' m-0 p-0 is-loading mb-auto '}></p>
|
|
306
|
+
</div>
|
|
307
|
+
|
|
308
|
+
<div class="col-lg-12 p-0">
|
|
309
|
+
<p class={' m-0 p-0 is-loading '}></p>
|
|
310
|
+
</div>
|
|
311
|
+
</div>
|
|
312
|
+
</div>
|
|
313
|
+
|
|
314
|
+
<div class="col-lg-12 allcentered p-0 mt-4">
|
|
315
|
+
<button
|
|
316
|
+
className={' w-100 is-loading '}
|
|
317
|
+
style={{
|
|
318
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
319
|
+
}}
|
|
320
|
+
></button>
|
|
321
|
+
</div>
|
|
322
|
+
|
|
323
|
+
<div
|
|
324
|
+
class="col-lg-12 p-0 my-3"
|
|
325
|
+
style={{
|
|
326
|
+
background: '#eee',
|
|
327
|
+
height: 1,
|
|
328
|
+
width: '100%',
|
|
329
|
+
}}
|
|
330
|
+
></div>
|
|
331
|
+
</div>
|
|
332
|
+
</div>
|
|
333
|
+
);
|
|
334
|
+
})}
|
|
335
|
+
</div>
|
|
336
|
+
</div>
|
|
337
|
+
</div>
|
|
338
|
+
)}
|
|
339
|
+
{/* Not Loading */}
|
|
340
|
+
{!fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && (
|
|
341
|
+
<div className="row m-0 w-100 ">
|
|
342
|
+
<div className={'col-lg-12 d-flex w-100 p-0'}>
|
|
343
|
+
{sectionproperties.pagedesign == 'Design 1 (Cards)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && (
|
|
344
|
+
<div
|
|
345
|
+
className={'row m-0 d-flex justify-content-center w-100'}
|
|
346
|
+
style={{
|
|
347
|
+
background: sectionproperties.reservation_bgcolor,
|
|
348
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
349
|
+
padding: '20px',
|
|
350
|
+
minHeight: '70vh',
|
|
351
|
+
}}
|
|
352
|
+
>
|
|
353
|
+
<div
|
|
354
|
+
className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 mb-3"
|
|
355
|
+
style={{
|
|
356
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
357
|
+
color: sectionproperties.sectionTitleColor,
|
|
358
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
359
|
+
}}
|
|
360
|
+
>
|
|
361
|
+
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
362
|
+
</div>
|
|
363
|
+
<div
|
|
364
|
+
className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
|
|
365
|
+
style={{
|
|
366
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
367
|
+
color: sectionproperties.badge_color,
|
|
368
|
+
fontSize: sectionproperties.badge_fontsize + 'px',
|
|
369
|
+
}}
|
|
370
|
+
>
|
|
371
|
+
{fetchFavoriteProductsQueryContext.data.data.products.length} Item(s)
|
|
372
|
+
</div>
|
|
373
|
+
|
|
374
|
+
<div className={' col-lg-12 co-md-12 p-0 '}>
|
|
375
|
+
<div className="row m-0 w-100">
|
|
376
|
+
{fetchFavoriteProductsQueryContext.data.data.products.map((item, index) => {
|
|
377
|
+
return (
|
|
378
|
+
<div className="col-lg-3 col-md-6 col-sm-12 mb-5">
|
|
379
|
+
<div
|
|
380
|
+
className={`${wishliststyles.wishlist_card}` + ' row m-0 w-100 '}
|
|
381
|
+
onClick={() => {
|
|
382
|
+
setShowProductInfoModalContext(true);
|
|
383
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
384
|
+
}}
|
|
385
|
+
>
|
|
386
|
+
<div className="col-lg-12 d-flex align-items-center justify-content-center p-0">
|
|
387
|
+
<div
|
|
388
|
+
className={`${wishliststyles.image_container}${wishlist_cssstyles.prodimage}`}
|
|
389
|
+
// style={{ backgroundImage: `url(${serverbaselink + item.productmainimage})` }}
|
|
390
|
+
>
|
|
391
|
+
<Imagekitimagecomp
|
|
392
|
+
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
393
|
+
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
394
|
+
path={
|
|
395
|
+
'/tr:w-' +
|
|
396
|
+
sectionproperties.prodimage__width +
|
|
397
|
+
',h-' +
|
|
398
|
+
sectionproperties.prodimage__height +
|
|
399
|
+
'/' +
|
|
400
|
+
item.productmainimage
|
|
401
|
+
}
|
|
402
|
+
style={{
|
|
403
|
+
width: '100%',
|
|
404
|
+
height: '100%',
|
|
405
|
+
objectFit: 'contain',
|
|
406
|
+
}}
|
|
407
|
+
loading="lazy"
|
|
408
|
+
/>
|
|
409
|
+
<span
|
|
410
|
+
className={`${wishliststyles.floatbtn} ${wishlist_cssstyles.trash_btn}`}
|
|
411
|
+
onClick={(e) => {
|
|
412
|
+
e.stopPropagation();
|
|
413
|
+
addtofavoritescontext(item.productid);
|
|
414
|
+
}}
|
|
415
|
+
>
|
|
416
|
+
<IoMdClose size={sectionproperties.trashbtn_Textfontsize} />
|
|
417
|
+
</span>
|
|
418
|
+
</div>
|
|
419
|
+
</div>
|
|
420
|
+
<div className="col-lg-12 d-flex align-items-center justify-content-center mt-3 mb-3">
|
|
421
|
+
<p
|
|
422
|
+
className={
|
|
423
|
+
`${wishlist_cssstyles.productNameStyles}` +
|
|
424
|
+
' wordbreak text-center m-0 p-0 d-flex align-items-center justify-content-center '
|
|
425
|
+
}
|
|
426
|
+
>
|
|
427
|
+
{langdetect == 'en' ? item.name_en : item.name_ar}
|
|
428
|
+
</p>
|
|
429
|
+
</div>
|
|
430
|
+
<div className="col-lg-12 d-flex align-items-center justify-content-center mt-3 mb-3 flex-row">
|
|
431
|
+
<p class={wishlist_cssstyles.productPricestyles + ' m-0 p-0 '}>
|
|
432
|
+
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
|
|
433
|
+
{item.hassale == 1 ? item.defaultsaleprice : item.defaultprice}{' '}
|
|
434
|
+
{langdetect == 'ar' ? authdetailsContext?.currencyname_ar : ''}
|
|
435
|
+
</p>
|
|
436
|
+
{item.hassale == 1 && (
|
|
437
|
+
<p class={wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '}>
|
|
438
|
+
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {item.defaultprice}{' '}
|
|
439
|
+
{langdetect == 'ar' ? authdetailsContext?.currencyname_ar : ''}
|
|
440
|
+
</p>
|
|
441
|
+
)}
|
|
442
|
+
</div>
|
|
443
|
+
|
|
444
|
+
{sectionproperties.cartBtnShow == 'Show' && (
|
|
445
|
+
<div className="col-lg-12 d-flex align-items-center justify-content-center p-0 ">
|
|
446
|
+
<button
|
|
447
|
+
className={` ${wishlist_cssstyles.cart_btn}`}
|
|
448
|
+
style={{
|
|
449
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
450
|
+
width: sectionproperties.cartBtnWidth + '%',
|
|
451
|
+
}}
|
|
452
|
+
>
|
|
453
|
+
{langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic}
|
|
454
|
+
</button>
|
|
455
|
+
</div>
|
|
456
|
+
)}
|
|
457
|
+
</div>
|
|
458
|
+
</div>
|
|
459
|
+
);
|
|
460
|
+
})}
|
|
461
|
+
</div>
|
|
462
|
+
</div>
|
|
463
|
+
</div>
|
|
464
|
+
)}
|
|
465
|
+
{sectionproperties.pagedesign == 'Design 2 (Table)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && (
|
|
466
|
+
<div
|
|
467
|
+
className={' row m-0 w-100 p-sm-3 '}
|
|
468
|
+
style={{
|
|
469
|
+
padding: '20px',
|
|
470
|
+
minHeight: '70vh',
|
|
471
|
+
}}
|
|
472
|
+
>
|
|
473
|
+
<div className={' row m-0 w-100 d-block '}>
|
|
474
|
+
{sectionproperties.showbgimage == 'Hide' && (
|
|
475
|
+
<div
|
|
476
|
+
className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0"
|
|
477
|
+
style={{
|
|
478
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
479
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
480
|
+
}}
|
|
481
|
+
>
|
|
482
|
+
<p
|
|
483
|
+
class="m-0 p-0 mt-5 mt-sm-2"
|
|
484
|
+
style={{
|
|
485
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
486
|
+
color: sectionproperties.sectionTitleColor,
|
|
487
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
488
|
+
}}
|
|
489
|
+
>
|
|
490
|
+
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
491
|
+
</p>
|
|
492
|
+
</div>
|
|
493
|
+
)}
|
|
494
|
+
<div className={' col-lg-12 table_responsive p-0 d-block d-md-none '}>
|
|
495
|
+
<table className={'table'}>
|
|
496
|
+
<thead className="">
|
|
497
|
+
<th
|
|
498
|
+
className={
|
|
499
|
+
langdetect == 'en' ? 'text-left font-weight-500 font-14 mw-150 mw-md-300' : 'text-right font-weight-500 font-14 mw-150 mw-md-300'
|
|
500
|
+
}
|
|
501
|
+
style={{
|
|
502
|
+
color: sectionproperties.sectionTitleColor,
|
|
503
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor,
|
|
504
|
+
}}
|
|
505
|
+
>
|
|
506
|
+
{langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar}
|
|
507
|
+
</th>
|
|
508
|
+
{sectionproperties.prodPriceShow == 'Show' && (
|
|
509
|
+
<th
|
|
510
|
+
className="text-center font-weight-500 font-14"
|
|
511
|
+
style={{
|
|
512
|
+
minWidth: '100px',
|
|
513
|
+
color: sectionproperties.sectionTitleColor,
|
|
514
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor,
|
|
515
|
+
}}
|
|
516
|
+
>
|
|
517
|
+
{langdetect == 'en' ? 'Unit Price' : 'السعر'}
|
|
518
|
+
</th>
|
|
519
|
+
)}
|
|
520
|
+
{sectionproperties.cartBtnShow == 'Show' && (
|
|
521
|
+
<th
|
|
522
|
+
className="text-center font-weight-500 font-14"
|
|
523
|
+
style={{
|
|
524
|
+
minWidth: '100px',
|
|
525
|
+
color: sectionproperties.sectionTitleColor,
|
|
526
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor,
|
|
527
|
+
}}
|
|
528
|
+
></th>
|
|
529
|
+
)}
|
|
530
|
+
<th
|
|
531
|
+
className="text-center font-weight-500 font-14"
|
|
532
|
+
style={{
|
|
533
|
+
color: sectionproperties.sectionTitleColor,
|
|
534
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor,
|
|
535
|
+
}}
|
|
536
|
+
></th>
|
|
537
|
+
</thead>
|
|
538
|
+
<tbody>
|
|
539
|
+
{fetchFavoriteProductsQueryContext.data.data.products.map((item, index) => {
|
|
540
|
+
return (
|
|
541
|
+
<tr className="border-none">
|
|
542
|
+
<td
|
|
543
|
+
className="mw-150 mw-md-300"
|
|
544
|
+
style={{
|
|
545
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor,
|
|
546
|
+
}}
|
|
547
|
+
>
|
|
548
|
+
<div className="row m-0 w-100 d-flex">
|
|
549
|
+
<div className={`${wishlist_cssstyles.imagecont}`}>
|
|
550
|
+
{item.productmainimage != '' && (
|
|
551
|
+
<Imagekitimagecomp
|
|
552
|
+
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
553
|
+
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
554
|
+
path={item.productmainimage}
|
|
555
|
+
style={{
|
|
556
|
+
width: '100%',
|
|
557
|
+
height: '100%',
|
|
558
|
+
objectFit: 'contain',
|
|
559
|
+
}}
|
|
560
|
+
loading="lazy"
|
|
561
|
+
/>
|
|
562
|
+
)}
|
|
563
|
+
{item.productmainimage == '' && (
|
|
564
|
+
<div
|
|
565
|
+
style={{
|
|
566
|
+
width: '100%',
|
|
567
|
+
height: '100%',
|
|
568
|
+
background: '#eee',
|
|
569
|
+
borderRadius: 10,
|
|
570
|
+
}}
|
|
571
|
+
>
|
|
572
|
+
<i class="h-100 allcentered text-light">
|
|
573
|
+
<FiLayers size={26} />
|
|
574
|
+
</i>
|
|
575
|
+
</div>
|
|
576
|
+
)}
|
|
577
|
+
</div>
|
|
578
|
+
<div className="col-lg-9 col-md-9 col-sm-8 pt-2">
|
|
579
|
+
<p
|
|
580
|
+
className={`${wishlist_cssstyles.productNameStyles}` + ' m-0 p-0 wordbreak wordbreak3 mb-auto '}
|
|
581
|
+
style={{
|
|
582
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
583
|
+
}}
|
|
584
|
+
>
|
|
585
|
+
{item.name_en}
|
|
586
|
+
</p>
|
|
587
|
+
</div>
|
|
588
|
+
</div>
|
|
589
|
+
</td>
|
|
590
|
+
{
|
|
591
|
+
(sectionproperties.prodPriceShow = 'Show' && (
|
|
592
|
+
<td className="text-center" style={{ minWidth: '100px', borderBottomColor: sectionproperties.sectioncardbordercolor }}>
|
|
593
|
+
<div class="row m-0 w-100 allcentered flex-column">
|
|
594
|
+
<p class={wishlist_cssstyles.productPricestyles + ' m-0 p-0 '}>
|
|
595
|
+
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
|
|
596
|
+
{item.hassale == 1 ? item.defaultsaleprice : item.defaultprice}{' '}
|
|
597
|
+
{langdetect == 'ar' ? authdetailsContext?.currencyname_ar : ''}
|
|
598
|
+
</p>
|
|
599
|
+
{item.hassale == 1 && (
|
|
600
|
+
<p class={wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '}>
|
|
601
|
+
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {item.defaultprice}{' '}
|
|
602
|
+
{langdetect == 'ar' ? authdetailsContext?.currencyname_ar : ''}
|
|
603
|
+
</p>
|
|
604
|
+
)}
|
|
605
|
+
</div>
|
|
606
|
+
</td>
|
|
607
|
+
))
|
|
608
|
+
}
|
|
609
|
+
{sectionproperties.cartBtnShow == 'Show' && (
|
|
610
|
+
<td className="text-center" style={{ minWidth: '100px', borderBottomColor: sectionproperties.sectioncardbordercolor }}>
|
|
611
|
+
<button
|
|
612
|
+
className={`${wishlist_cssstyles.cart_btn}`}
|
|
613
|
+
onClick={() => {
|
|
614
|
+
setShowProductInfoModalContext(true);
|
|
615
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
616
|
+
}}
|
|
617
|
+
>
|
|
618
|
+
{langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar}
|
|
619
|
+
</button>
|
|
620
|
+
</td>
|
|
621
|
+
)}
|
|
622
|
+
<td
|
|
623
|
+
className="text-center"
|
|
624
|
+
style={{
|
|
625
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor,
|
|
626
|
+
}}
|
|
627
|
+
>
|
|
628
|
+
<button
|
|
629
|
+
className={
|
|
630
|
+
` ${wishlist_cssstyles.trash_btn}` +
|
|
631
|
+
' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto '
|
|
632
|
+
}
|
|
633
|
+
onClick={() => {
|
|
634
|
+
addtofavoritescontext(item.productid);
|
|
635
|
+
}}
|
|
636
|
+
style={{
|
|
637
|
+
fontSize: sectionproperties.trashbtn_Textfontsize + 'px',
|
|
638
|
+
}}
|
|
639
|
+
>
|
|
640
|
+
<IoMdClose size={sectionproperties.trashbtn_Textfontsize} />
|
|
641
|
+
</button>
|
|
642
|
+
</td>
|
|
643
|
+
</tr>
|
|
644
|
+
);
|
|
645
|
+
})}
|
|
646
|
+
</tbody>
|
|
647
|
+
</table>
|
|
648
|
+
</div>
|
|
649
|
+
<div className={' col-lg-12 p-0 d-none d-md-flex align-items-center justify-content-start '}>
|
|
650
|
+
<div className={' row m-0 w-100 d-flex align-items-center justify-content-start '}>
|
|
651
|
+
{fetchFavoriteProductsQueryContext.data.data.products.map((item, index) => {
|
|
652
|
+
return (
|
|
653
|
+
<div class="col-lg-12 p-0">
|
|
654
|
+
<div class="row m-0 w-100">
|
|
655
|
+
<div className={' col-3 p-0 '}>
|
|
656
|
+
<div className={`${wishlist_cssstyles.imagecont}` + ' w-100 p-0 '}>
|
|
657
|
+
{item.productmainimage != '' && (
|
|
658
|
+
<Imagekitimagecomp
|
|
659
|
+
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
660
|
+
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
661
|
+
path={item.productmainimage}
|
|
662
|
+
style={{
|
|
663
|
+
width: '100%',
|
|
664
|
+
height: '100%',
|
|
665
|
+
objectFit: 'contain',
|
|
666
|
+
}}
|
|
667
|
+
loading="lazy"
|
|
668
|
+
/>
|
|
669
|
+
)}
|
|
670
|
+
{item.productmainimage == '' && (
|
|
671
|
+
<div
|
|
672
|
+
style={{
|
|
673
|
+
width: '100%',
|
|
674
|
+
height: '100%',
|
|
675
|
+
background: '#eee',
|
|
676
|
+
borderRadius: 10,
|
|
677
|
+
}}
|
|
678
|
+
>
|
|
679
|
+
<i class="h-100 allcentered text-light">
|
|
680
|
+
<FiLayers size={26} />
|
|
681
|
+
</i>
|
|
682
|
+
</div>
|
|
683
|
+
)}
|
|
684
|
+
</div>
|
|
685
|
+
</div>
|
|
686
|
+
<div className="col-9 pt-2">
|
|
687
|
+
<div class="row m-0 w-100 d-flex">
|
|
688
|
+
<div class="col-10 p-0 d-flex align-items-center justify-content-start">
|
|
689
|
+
<p
|
|
690
|
+
className={`${wishlist_cssstyles.productNameStyles}` + ' m-0 p-0 wordbreak wordbreak3 mb-auto '}
|
|
691
|
+
style={{
|
|
692
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
693
|
+
}}
|
|
694
|
+
>
|
|
695
|
+
{item.name_en}
|
|
696
|
+
</p>
|
|
697
|
+
</div>
|
|
698
|
+
<div class="col-2 p-0 d-flex align-items-center justify-content-end">
|
|
699
|
+
<button
|
|
700
|
+
className={` ${wishlist_cssstyles.trash_btnresp}` + ' allcentered '}
|
|
701
|
+
onClick={() => {
|
|
702
|
+
addtofavoritescontext(item.productid);
|
|
703
|
+
}}
|
|
704
|
+
>
|
|
705
|
+
<IoMdClose size={sectionproperties.trashbtn_Textfontsize} />
|
|
706
|
+
</button>
|
|
707
|
+
</div>
|
|
708
|
+
{
|
|
709
|
+
(sectionproperties.prodPriceShow = 'Show' && (
|
|
710
|
+
<div class="col-lg-12 p-0 d-flex align-items-center justify-content-start">
|
|
711
|
+
<p class={wishlist_cssstyles.productPricestyles + ' m-0 p-0 '}>
|
|
712
|
+
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
|
|
713
|
+
{item.hassale == 1 ? item.defaultsaleprice : item.defaultprice}{' '}
|
|
714
|
+
{langdetect == 'ar' ? authdetailsContext?.currencyname_ar : ''}
|
|
715
|
+
</p>
|
|
716
|
+
{item.hassale == 1 && (
|
|
717
|
+
<p class={wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mx-2 mt-auto '}>
|
|
718
|
+
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {item.defaultprice}{' '}
|
|
719
|
+
{langdetect == 'ar' ? authdetailsContext?.currencyname_ar : ''}
|
|
720
|
+
</p>
|
|
721
|
+
)}
|
|
722
|
+
</div>
|
|
723
|
+
))
|
|
724
|
+
}
|
|
725
|
+
</div>
|
|
726
|
+
</div>
|
|
727
|
+
{sectionproperties.cartBtnShow == 'Show' && (
|
|
728
|
+
<div class="col-lg-12 allcentered p-0 mt-4">
|
|
729
|
+
<button
|
|
730
|
+
className={`${wishlist_cssstyles.cart_btn}` + ' w-100 '}
|
|
731
|
+
onClick={() => {
|
|
732
|
+
setShowProductInfoModalContext(true);
|
|
733
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
734
|
+
}}
|
|
735
|
+
>
|
|
736
|
+
{langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar}
|
|
737
|
+
</button>
|
|
738
|
+
</div>
|
|
739
|
+
)}
|
|
740
|
+
<div
|
|
741
|
+
class="col-lg-12 p-0 my-3"
|
|
742
|
+
style={{
|
|
743
|
+
background: '#eee',
|
|
744
|
+
height: 1,
|
|
745
|
+
width: '100%',
|
|
746
|
+
}}
|
|
747
|
+
></div>
|
|
748
|
+
</div>
|
|
749
|
+
</div>
|
|
750
|
+
);
|
|
751
|
+
})}
|
|
752
|
+
</div>
|
|
753
|
+
</div>
|
|
754
|
+
</div>
|
|
755
|
+
</div>
|
|
756
|
+
)}
|
|
757
|
+
{fetchFavoriteProductsQueryContext.data.data.products.length == 0 && (
|
|
758
|
+
<div
|
|
759
|
+
className="row m-0 w-100 d-flex justify-content-center pb-5"
|
|
760
|
+
style={{
|
|
761
|
+
maxHeight: '60vh',
|
|
762
|
+
padding: '20px',
|
|
763
|
+
}}
|
|
764
|
+
>
|
|
765
|
+
<div
|
|
766
|
+
className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0"
|
|
767
|
+
style={{
|
|
768
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
769
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
770
|
+
}}
|
|
771
|
+
>
|
|
772
|
+
<p
|
|
773
|
+
class="m-0 p-0 mt-5 mt-sm-2"
|
|
774
|
+
style={{
|
|
775
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
776
|
+
color: sectionproperties.sectionTitleColor,
|
|
777
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
778
|
+
}}
|
|
779
|
+
>
|
|
780
|
+
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
781
|
+
</p>
|
|
782
|
+
</div>
|
|
783
|
+
<div className={' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '}>
|
|
784
|
+
{/* <BiSad size={sectionproperties.noprod_iconfontSize} color={sectionproperties.noprod_iconcolor} /> */}
|
|
785
|
+
<p
|
|
786
|
+
class={sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2'}
|
|
787
|
+
style={{
|
|
788
|
+
fontWeight: sectionproperties.noprod_fontWeight,
|
|
789
|
+
color: sectionproperties.noprod_color,
|
|
790
|
+
fontSize: sectionproperties.noprod_fontSize + 'px',
|
|
791
|
+
}}
|
|
792
|
+
>
|
|
793
|
+
{langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar}
|
|
794
|
+
</p>
|
|
795
|
+
</div>
|
|
796
|
+
<div className={' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '}>
|
|
797
|
+
<button
|
|
798
|
+
class={`${wishlist_cssstyles.btnstyles}`}
|
|
799
|
+
onClick={() => {
|
|
800
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
801
|
+
}}
|
|
802
|
+
>
|
|
803
|
+
{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
|
|
804
|
+
{/* Return To Shop */}
|
|
805
|
+
</button>
|
|
806
|
+
</div>
|
|
807
|
+
</div>
|
|
808
|
+
)}
|
|
809
|
+
</div>
|
|
810
|
+
</div>
|
|
811
|
+
)}
|
|
812
|
+
</div>
|
|
813
|
+
</div>
|
|
814
|
+
<div className="col-lg-12 d-flex align-items-center justify-content-center p-0 ">
|
|
815
|
+
{/* {pageindexcontext.length != 0 && Object.keys(StatePagePropertiesContext).length != 0 && (
|
|
816
|
+
<div className={generalstyles.app_container + ' w-100 '} style={{ position: 'relative' }}>
|
|
817
|
+
{StatePagePropertiesContext.pageobj.sections.map((item, index) => {
|
|
818
|
+
if (item.tabexsectioninfo != null && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined && item.componenttype == 'section') {
|
|
819
|
+
var sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
|
|
820
|
+
return (
|
|
821
|
+
<div className="row w-100 ml-0 mr-0 d-flex justify-content-center p-0">
|
|
822
|
+
{item.tabexsectioninfo.sectiontype == 'Cards' && (
|
|
823
|
+
<ProductsCardsSectionContext_Provider>
|
|
824
|
+
{React.createElement(sectioncomp, {
|
|
825
|
+
sectionidprops: item.sectionid,
|
|
826
|
+
sectionindexprops: index,
|
|
827
|
+
srcfromprops: 'GeneralProductsComponent',
|
|
828
|
+
collectionidprops: collectionidparams,
|
|
829
|
+
})}
|
|
830
|
+
</ProductsCardsSectionContext_Provider>
|
|
831
|
+
)}
|
|
832
|
+
{item.tabexsectioninfo.sectiontype != 'Cards' && React.createElement(sectioncomp, { sectionidprops: item.sectionid, sectionindexprops: index })}
|
|
833
|
+
</div>
|
|
834
|
+
);
|
|
835
|
+
}
|
|
836
|
+
})}
|
|
837
|
+
</div>
|
|
838
|
+
)} */}
|
|
839
|
+
</div>
|
|
840
|
+
</div>
|
|
841
|
+
</div>
|
|
842
|
+
);
|
|
843
|
+
};
|
|
844
|
+
export default Wishlist;
|