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,183 @@
|
|
|
1
|
+
// //productidprops
|
|
2
|
+
// import React, { useEffect, useState, useContext } from 'react';
|
|
3
|
+
// import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
|
|
4
|
+
// import ReactStars from 'react-rating-stars-component';
|
|
5
|
+
// import TextareaAutosize from 'react-textarea-autosize';
|
|
6
|
+
// const Addreviewform = (props) => {
|
|
7
|
+
// const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
8
|
+
// const actions = props.actions;
|
|
9
|
+
// const lang = props.actions.lang;
|
|
10
|
+
// const langdetect = props.actions.langdetect;
|
|
11
|
+
// const productid = props.actions.productid;
|
|
12
|
+
// const GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
13
|
+
// const NotificationManager = props.actions.NotificationManager;
|
|
14
|
+
// const sectionproperties = props.actions.sectionproperties;
|
|
15
|
+
// const canuserreview = props.actions.canuserreview;
|
|
16
|
+
// const addreviewcallback = props.actions.addreviewcallback;
|
|
17
|
+
// const productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
18
|
+
// const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
19
|
+
// const [reviewpayloadobj, setreviewpayloadobj] = useState({
|
|
20
|
+
// reviewtitle: '',
|
|
21
|
+
// reviewbody: '',
|
|
22
|
+
// reviewrate: 0,
|
|
23
|
+
// reviewname: '',
|
|
24
|
+
// hasreview: 0,
|
|
25
|
+
// });
|
|
26
|
+
// // const [item, setitem] = useState(props.actions.fetchProductInfoQueryContext);
|
|
27
|
+
// const fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
28
|
+
|
|
29
|
+
// return (
|
|
30
|
+
// <div
|
|
31
|
+
// className={'row w-100 ml-0 mr-0 py-5'}
|
|
32
|
+
// style={{
|
|
33
|
+
// marginTop: sectionproperties.marginTop + 'px',
|
|
34
|
+
// }}
|
|
35
|
+
// >
|
|
36
|
+
// <div class="col-lg-12 mb-3">
|
|
37
|
+
// <div class="row m-0 w-100 d-flex justify-content-start align-items-center">
|
|
38
|
+
// <div
|
|
39
|
+
// class="d-flex justify-content-start align-items-center"
|
|
40
|
+
// style={{
|
|
41
|
+
// width: '9vh',
|
|
42
|
+
// height: '9vh',
|
|
43
|
+
// }}
|
|
44
|
+
// >
|
|
45
|
+
// <Imagekitimagecomp
|
|
46
|
+
// urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
47
|
+
// publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
48
|
+
// path={fetchProductInfoQueryContext.data.data.productinfo.productmainimage}
|
|
49
|
+
// style={{
|
|
50
|
+
// width: '100%',
|
|
51
|
+
// height: '100%',
|
|
52
|
+
// objectFit: 'contain',
|
|
53
|
+
// }}
|
|
54
|
+
// loading="lazy"
|
|
55
|
+
// />
|
|
56
|
+
// </div>
|
|
57
|
+
// <div class="col-lg-9 co-md-9 col-sm-9 d-flex justify-content-start align-items-center">
|
|
58
|
+
// <div class="row m-0 w-100">
|
|
59
|
+
// <div class="col-lg-12 p-0 d-flex justify-content-start align-items-center">
|
|
60
|
+
// <p class={productinfo_cssstyles.productname + ' m-0 p-0 '}>
|
|
61
|
+
// {langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar}
|
|
62
|
+
// </p>
|
|
63
|
+
// </div>
|
|
64
|
+
// <div class="col-lg-12 p-0 d-flex justify-content-start align-items-center">
|
|
65
|
+
// <ReactStars
|
|
66
|
+
// count={5}
|
|
67
|
+
// value={reviewpayloadobj.reviewrate}
|
|
68
|
+
// size={18}
|
|
69
|
+
// emptyIcon={<i className="far fa-star" style={{ color: '#bfbfbf' }}></i>}
|
|
70
|
+
// halfIcon={<i className="fa fa-star-half-alt style={{ color: '#FAB400' }}"></i>}
|
|
71
|
+
// filledIcon={<i className="fa fa-star" style={{ color: '#FAB400' }}></i>}
|
|
72
|
+
// activeColor="#ffd700"
|
|
73
|
+
// onChange={(event) => {
|
|
74
|
+
// var tempreviewpayloadobj = { ...reviewpayloadobj };
|
|
75
|
+
// tempreviewpayloadobj.reviewrate = event;
|
|
76
|
+
// setreviewpayloadobj({ ...tempreviewpayloadobj });
|
|
77
|
+
// }}
|
|
78
|
+
// />
|
|
79
|
+
// </div>
|
|
80
|
+
// </div>
|
|
81
|
+
// </div>
|
|
82
|
+
// </div>
|
|
83
|
+
// </div>
|
|
84
|
+
// <div class="col-lg-12">
|
|
85
|
+
// <div class="row m-0 w-100">
|
|
86
|
+
// <div class="col-lg-12 mb-4">
|
|
87
|
+
// <label className={`${productinfo_cssstyles.inputfield_label}` + ' text-transform-none d-flex justify-content-start '}>{langdetect == 'en' ? 'Your Name' : 'اسمك'}</label>
|
|
88
|
+
// <input
|
|
89
|
+
// class={productinfo_cssstyles.form_control}
|
|
90
|
+
// value={reviewpayloadobj.reviewname}
|
|
91
|
+
// onChange={(event) => {
|
|
92
|
+
// var tempreviewpayloadobj = { ...reviewpayloadobj };
|
|
93
|
+
// tempreviewpayloadobj.reviewname = event.target.value;
|
|
94
|
+
// setreviewpayloadobj({ ...tempreviewpayloadobj });
|
|
95
|
+
// }}
|
|
96
|
+
// />
|
|
97
|
+
// </div>
|
|
98
|
+
// <div class="col-lg-12 mb-4">
|
|
99
|
+
// <label className={`${productinfo_cssstyles.inputfield_label}` + ' text-transform-none d-flex justify-content-start '}>
|
|
100
|
+
// {langdetect == 'en' ? 'Review title' : 'عنوان التقييم'}
|
|
101
|
+
// </label>
|
|
102
|
+
// <input
|
|
103
|
+
// class={productinfo_cssstyles.form_control}
|
|
104
|
+
// value={reviewpayloadobj.reviewtitle}
|
|
105
|
+
// onChange={(event) => {
|
|
106
|
+
// var tempreviewpayloadobj = { ...reviewpayloadobj };
|
|
107
|
+
// tempreviewpayloadobj.reviewtitle = event.target.value;
|
|
108
|
+
// setreviewpayloadobj({ ...tempreviewpayloadobj });
|
|
109
|
+
// }}
|
|
110
|
+
// />
|
|
111
|
+
// </div>
|
|
112
|
+
// <div class="col-lg-12 mb-4">
|
|
113
|
+
// <label className={`${productinfo_cssstyles.inputfield_label}` + ' text-transform-none d-flex justify-content-start '}>{langdetect == 'en' ? 'Your Review' : 'تقييمك'}</label>
|
|
114
|
+
// <TextareaAutosize
|
|
115
|
+
// type={'text'}
|
|
116
|
+
// class={productinfo_cssstyles.form_control + ' form_control '}
|
|
117
|
+
// value={reviewpayloadobj.reviewbody}
|
|
118
|
+
// onChange={(event) => {
|
|
119
|
+
// var tempreviewpayloadobj = { ...reviewpayloadobj };
|
|
120
|
+
// tempreviewpayloadobj.reviewbody = event.target.value;
|
|
121
|
+
// setreviewpayloadobj({ ...tempreviewpayloadobj });
|
|
122
|
+
// }}
|
|
123
|
+
// style={{
|
|
124
|
+
// resize: 'none',
|
|
125
|
+
// minRows: 5,
|
|
126
|
+
// }}
|
|
127
|
+
// />
|
|
128
|
+
// </div>
|
|
129
|
+
|
|
130
|
+
// {/* <div class="col-lg-12 mb-4">
|
|
131
|
+
// <label className={`${productinfo_cssstyles.inputfield_label}` + ' text-transform-none d-flex justify-content-start '}>Your Rating</label>
|
|
132
|
+
// <input
|
|
133
|
+
// class={productinfo_cssstyles.form_control}
|
|
134
|
+
// value={reviewpayloadobj.reviewrate}
|
|
135
|
+
// type="number"
|
|
136
|
+
// onChange={(event) => {
|
|
137
|
+
// var tempreviewpayloadobj = { ...reviewpayloadobj };
|
|
138
|
+
// tempreviewpayloadobj.reviewrate = event.target.value;
|
|
139
|
+
// setreviewpayloadobj({ ...tempreviewpayloadobj });
|
|
140
|
+
// }}
|
|
141
|
+
// />
|
|
142
|
+
// </div> */}
|
|
143
|
+
// </div>
|
|
144
|
+
// </div>
|
|
145
|
+
// {canuserreview && (
|
|
146
|
+
// <div class="col-lg-12 allcentered">
|
|
147
|
+
// <button
|
|
148
|
+
// class={`${productinfo_cssstyles.submitreviewbtn}`}
|
|
149
|
+
// onClick={() => {
|
|
150
|
+
// if (
|
|
151
|
+
// reviewpayloadobj.reviewtitle.length != 0 &&
|
|
152
|
+
// reviewpayloadobj.reviewbody.length != 0 &&
|
|
153
|
+
// reviewpayloadobj.reviewrate.length != 0 &&
|
|
154
|
+
// parseInt(reviewpayloadobj.reviewrate) > 0 &&
|
|
155
|
+
// reviewpayloadobj.reviewname.length != 0
|
|
156
|
+
// ) {
|
|
157
|
+
// var tempreviewpayloadobj = reviewpayloadobj;
|
|
158
|
+
// GeneralAPIMutationContext.mutate({
|
|
159
|
+
// endpointurl: '/addproductreview',
|
|
160
|
+
// productid: productid,
|
|
161
|
+
// reviewpayloadobj: reviewpayloadobj,
|
|
162
|
+
// mutateSuccesscallback: (data, variables) => {
|
|
163
|
+
// if (data.data.status) {
|
|
164
|
+
// NotificationManager.success('', 'Success');
|
|
165
|
+
// addreviewcallback();
|
|
166
|
+
// } else {
|
|
167
|
+
// NotificationManager.warning('', data.data.reason);
|
|
168
|
+
// }
|
|
169
|
+
// },
|
|
170
|
+
// });
|
|
171
|
+
// } else {
|
|
172
|
+
// alert('Please fill the missing fields');
|
|
173
|
+
// }
|
|
174
|
+
// }}
|
|
175
|
+
// >
|
|
176
|
+
// {langdetect == 'en' ? 'Submit your review' : 'تقديم تقييمك'}
|
|
177
|
+
// </button>
|
|
178
|
+
// </div>
|
|
179
|
+
// )}
|
|
180
|
+
// </div>
|
|
181
|
+
// );
|
|
182
|
+
// };
|
|
183
|
+
// export default Addreviewform;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
//productidprops
|
|
2
|
+
import React, { useEffect, useState } from 'react';
|
|
3
|
+
import { Messaging } from 'react-cssfx-loading';
|
|
4
|
+
import { css } from 'glamor';
|
|
5
|
+
import Product_itemtype from './Product_itemtype.jsx';
|
|
6
|
+
import Service_itemtype from './Service_itemtype.jsx';
|
|
7
|
+
import '../../../styles/staticpages/image-gallery.css';
|
|
8
|
+
import { ScrollMenu, VisibilityContext } from 'react-horizontal-scrolling-menu';
|
|
9
|
+
import { Box, Tab, Tabs } from '@mui/material';
|
|
10
|
+
import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
|
|
11
|
+
import ReactStars from 'react-rating-stars-component';
|
|
12
|
+
import { Modal } from 'react-bootstrap';
|
|
13
|
+
|
|
14
|
+
const Addreviewform = (props) => {
|
|
15
|
+
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
16
|
+
const lang = props.actions.lang;
|
|
17
|
+
const langdetect = props.actions.langdetect;
|
|
18
|
+
|
|
19
|
+
const productid = props.actions.productid;
|
|
20
|
+
|
|
21
|
+
const GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
22
|
+
|
|
23
|
+
const NotificationManager = props.actions.NotificationManager;
|
|
24
|
+
const sectionproperties = props.actions.sectionproperties;
|
|
25
|
+
const canuserreview = props.actions.canuserreview;
|
|
26
|
+
const addreviewcallback = props.actions.addreviewcallback;
|
|
27
|
+
const actions = props.actions;
|
|
28
|
+
|
|
29
|
+
const [reviewpayloadobj, setreviewpayloadobj] = useState({
|
|
30
|
+
reviewtitle: '',
|
|
31
|
+
reviewbody: '',
|
|
32
|
+
reviewrate: 0,
|
|
33
|
+
reviewname: '',
|
|
34
|
+
hasreview: 0,
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
return (
|
|
38
|
+
<div
|
|
39
|
+
className={'row w-100 ml-0 mr-0'}
|
|
40
|
+
style={{
|
|
41
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
42
|
+
}}
|
|
43
|
+
>
|
|
44
|
+
<div class="col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0">
|
|
45
|
+
<div class="col-lg-12">
|
|
46
|
+
<p>Review title</p>
|
|
47
|
+
<input
|
|
48
|
+
value={reviewpayloadobj.reviewtitle}
|
|
49
|
+
onChange={(event) => {
|
|
50
|
+
var tempreviewpayloadobj = { ...reviewpayloadobj };
|
|
51
|
+
tempreviewpayloadobj.reviewtitle = event.target.value;
|
|
52
|
+
setreviewpayloadobj({ ...tempreviewpayloadobj });
|
|
53
|
+
}}
|
|
54
|
+
/>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="col-lg-12">
|
|
57
|
+
<p>Review body</p>
|
|
58
|
+
<input
|
|
59
|
+
value={reviewpayloadobj.reviewbody}
|
|
60
|
+
onChange={(event) => {
|
|
61
|
+
var tempreviewpayloadobj = { ...reviewpayloadobj };
|
|
62
|
+
tempreviewpayloadobj.reviewbody = event.target.value;
|
|
63
|
+
setreviewpayloadobj({ ...tempreviewpayloadobj });
|
|
64
|
+
}}
|
|
65
|
+
/>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="col-lg-12">
|
|
68
|
+
<p>Review rate</p>
|
|
69
|
+
<input
|
|
70
|
+
value={reviewpayloadobj.reviewrate}
|
|
71
|
+
type="number"
|
|
72
|
+
onChange={(event) => {
|
|
73
|
+
var tempreviewpayloadobj = { ...reviewpayloadobj };
|
|
74
|
+
tempreviewpayloadobj.reviewrate = event.target.value;
|
|
75
|
+
setreviewpayloadobj({ ...tempreviewpayloadobj });
|
|
76
|
+
}}
|
|
77
|
+
/>
|
|
78
|
+
</div>
|
|
79
|
+
<div class="col-lg-12">
|
|
80
|
+
<p>Review name</p>
|
|
81
|
+
<input
|
|
82
|
+
value={reviewpayloadobj.reviewname}
|
|
83
|
+
onChange={(event) => {
|
|
84
|
+
var tempreviewpayloadobj = { ...reviewpayloadobj };
|
|
85
|
+
tempreviewpayloadobj.reviewname = event.target.value;
|
|
86
|
+
setreviewpayloadobj({ ...tempreviewpayloadobj });
|
|
87
|
+
}}
|
|
88
|
+
/>
|
|
89
|
+
</div>
|
|
90
|
+
{canuserreview && (
|
|
91
|
+
<button
|
|
92
|
+
onClick={() => {
|
|
93
|
+
if (
|
|
94
|
+
reviewpayloadobj.reviewtitle.length != 0 &&
|
|
95
|
+
reviewpayloadobj.reviewbody.length != 0 &&
|
|
96
|
+
reviewpayloadobj.reviewrate.length != 0 &&
|
|
97
|
+
parseInt(reviewpayloadobj.reviewrate) > 0 &&
|
|
98
|
+
reviewpayloadobj.reviewname.length != 0
|
|
99
|
+
) {
|
|
100
|
+
var tempreviewpayloadobj = reviewpayloadobj;
|
|
101
|
+
|
|
102
|
+
GeneralAPIMutationContext.mutate({
|
|
103
|
+
endpointurl: '/addproductreview',
|
|
104
|
+
productid: productid,
|
|
105
|
+
reviewpayloadobj: reviewpayloadobj,
|
|
106
|
+
|
|
107
|
+
mutateSuccesscallback: (data, variables) => {
|
|
108
|
+
if (data.data.status) {
|
|
109
|
+
NotificationManager.success('', 'Success');
|
|
110
|
+
addreviewcallback();
|
|
111
|
+
} else {
|
|
112
|
+
NotificationManager.warning('', data.data.reason);
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
});
|
|
116
|
+
} else {
|
|
117
|
+
alert('Please fill the missing fields');
|
|
118
|
+
}
|
|
119
|
+
}}
|
|
120
|
+
>
|
|
121
|
+
Submit
|
|
122
|
+
</button>
|
|
123
|
+
)}
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
);
|
|
127
|
+
};
|
|
128
|
+
export default Addreviewform;
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
//productidprops
|
|
2
|
+
import React, { useEffect, useState } from 'react';
|
|
3
|
+
import productinfostyles from '../../../styles/staticpages/productinfo.module.css';
|
|
4
|
+
import ImageGallery from 'react-image-gallery';
|
|
5
|
+
import { CircularProgress } from 'react-cssfx-loading';
|
|
6
|
+
import '../../../styles/staticpages/image-gallery.css';
|
|
7
|
+
import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
|
|
8
|
+
import { IoBagHandleOutline } from '@react-icons/all-files/io5/IoBagHandleOutline';
|
|
9
|
+
import { BsBag } from '@react-icons/all-files/bs/BsBag';
|
|
10
|
+
import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
|
|
11
|
+
import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
|
|
12
|
+
import { FaHeart } from '@react-icons/all-files/fa/FaHeart';
|
|
13
|
+
import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
|
|
14
|
+
import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
|
|
15
|
+
import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
|
|
16
|
+
import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
|
|
17
|
+
import { FaPlus } from '@react-icons/all-files/fa/FaPlus';
|
|
18
|
+
import { FaMinus } from '@react-icons/all-files/fa/FaMinus';
|
|
19
|
+
import { FiBox } from '@react-icons/all-files/fi/FiBox';
|
|
20
|
+
import { RiArrowGoBackLine } from '@react-icons/all-files/ri/RiArrowGoBackLine';
|
|
21
|
+
|
|
22
|
+
import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemPanel, AccordionItemState } from 'react-accessible-accordion';
|
|
23
|
+
import {
|
|
24
|
+
FacebookShareButton,
|
|
25
|
+
TwitterShareButton,
|
|
26
|
+
WhatsappShareButton,
|
|
27
|
+
FacebookIcon,
|
|
28
|
+
TwitterIcon,
|
|
29
|
+
FacebookMessengerShareButton,
|
|
30
|
+
FacebookMessengerIcon,
|
|
31
|
+
WhatsappIcon,
|
|
32
|
+
LinkedinShareButton,
|
|
33
|
+
LinkedinIcon,
|
|
34
|
+
} from 'react-share';
|
|
35
|
+
import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
|
|
36
|
+
import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
|
|
37
|
+
import { FiMinus } from '@react-icons/all-files/fi/FiMinus';
|
|
38
|
+
import { FiPlus } from '@react-icons/all-files/fi/FiPlus';
|
|
39
|
+
import ReactStars from 'react-rating-stars-component';
|
|
40
|
+
import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
|
|
41
|
+
import Variantoptions from './Variantoptions.jsx';
|
|
42
|
+
import ProductExtras from './ProductExtras.jsx';
|
|
43
|
+
import ProductHeaderPricing from './ProductHeaderPricing.jsx';
|
|
44
|
+
import ProductExtraFields from './ProductExtraFields.jsx';
|
|
45
|
+
import DescriptionContent from './DescriptionContent.jsx';
|
|
46
|
+
import { maxHeight, maxWidth } from '@mui/system';
|
|
47
|
+
|
|
48
|
+
const Article_itemtype = (props) => {
|
|
49
|
+
const lang = props.actions.lang;
|
|
50
|
+
const langdetect = props.actions.langdetect;
|
|
51
|
+
const srcfromprops = props.actions.srcfromprops;
|
|
52
|
+
const returnpolicyobj = props.actions.returnpolicyobj;
|
|
53
|
+
const productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
54
|
+
const addtocartfunc = props.actions.addtocartfunc;
|
|
55
|
+
const selectproductoptionvalue = props.actions.selectproductoptionvalue;
|
|
56
|
+
const clearchoosenvaluesbutkeepcurrentvalue = props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
57
|
+
const productimagesarray = props.actions.productimagesarray;
|
|
58
|
+
const fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
59
|
+
const sectionproperties = props.actions.sectionproperties;
|
|
60
|
+
const addtocardpayloadobj = props.actions.addtocardpayloadobj;
|
|
61
|
+
const setaddtocardpayloadobj = props.actions.setaddtocardpayloadobj;
|
|
62
|
+
const routingcountext = props.actions.routingcountext;
|
|
63
|
+
const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
64
|
+
const authdetailsContext = props.actions.authdetailsContext;
|
|
65
|
+
const variantsku = props.actions.variantsku;
|
|
66
|
+
const addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
67
|
+
const variantindexcompleted = props.actions.variantindexcompleted;
|
|
68
|
+
const ProductInfoObj = props.actions.ProductInfoObj;
|
|
69
|
+
const NotificationManager = props.actions.NotificationManager;
|
|
70
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
71
|
+
const getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
72
|
+
const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
73
|
+
const currentshowingimageindex_pro = props.actions.currentshowingimageindex;
|
|
74
|
+
const StoreInfoprops = props.actions.StoreInfoprops;
|
|
75
|
+
const [currentshowingimageindex, setcurrentshowingimageindex] = useState(currentshowingimageindex_pro);
|
|
76
|
+
// const DescriptionContent = props.actions.DescriptionContent;
|
|
77
|
+
const [shareUrl, setshareUrl] = useState('');
|
|
78
|
+
const [title, settitle] = useState('');
|
|
79
|
+
const [item, setitem] = useState(fetchProductInfoQueryContext.data.data.productinfo);
|
|
80
|
+
|
|
81
|
+
useEffect(() => {
|
|
82
|
+
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
83
|
+
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
84
|
+
itemobj.titlelang = 'en';
|
|
85
|
+
} else {
|
|
86
|
+
itemobj.titlelang = 'ar';
|
|
87
|
+
}
|
|
88
|
+
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.description_en)) {
|
|
89
|
+
itemobj.decriptionlang = 'en';
|
|
90
|
+
} else {
|
|
91
|
+
itemobj.decriptionlang = 'ar';
|
|
92
|
+
}
|
|
93
|
+
setitem(itemobj);
|
|
94
|
+
settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
|
|
95
|
+
setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
96
|
+
}, [props.itemprops]);
|
|
97
|
+
|
|
98
|
+
function stringIsEnglish(str) {
|
|
99
|
+
var titlelang = 'English';
|
|
100
|
+
var arabic = /[\u0600-\u06FF]/;
|
|
101
|
+
if (!arabic.test(str)) {
|
|
102
|
+
titlelang = true;
|
|
103
|
+
} else {
|
|
104
|
+
titlelang = false;
|
|
105
|
+
}
|
|
106
|
+
return titlelang;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return (
|
|
110
|
+
<div
|
|
111
|
+
className={sectionproperties.card_marginLeft != 0 ? ' row m-0 w-100 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 p-sm-0 ' : ' row m-0 w-100 p-sm-0 '}
|
|
112
|
+
style={{
|
|
113
|
+
paddingLeft: srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px') : 0,
|
|
114
|
+
paddingRight: srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px') : 0,
|
|
115
|
+
}}
|
|
116
|
+
>
|
|
117
|
+
<div class={' col-lg-12 p-0 '}>
|
|
118
|
+
<div
|
|
119
|
+
class={`${productinfo_cssstyles.cardcontainer}` + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 '}
|
|
120
|
+
style={{
|
|
121
|
+
minHeight: sectionproperties.height + 'vh',
|
|
122
|
+
// paddingLeft: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
123
|
+
// paddingRight: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
124
|
+
}}
|
|
125
|
+
>
|
|
126
|
+
{/* // scrollhorizontalwithscrollbarremove */}
|
|
127
|
+
<div class="w-100 scrollhorizontalwithscrollbar ">
|
|
128
|
+
{fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages?.length != 0 &&
|
|
129
|
+
fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages.map((item, index) => {
|
|
130
|
+
return (
|
|
131
|
+
<div
|
|
132
|
+
class={' scrollhorizontalcard mx-2 '}
|
|
133
|
+
style={{
|
|
134
|
+
height: sectionproperties.image_height + 'px',
|
|
135
|
+
width: sectionproperties.image_width + 'px',
|
|
136
|
+
}}
|
|
137
|
+
>
|
|
138
|
+
<Imagekitimagecomp
|
|
139
|
+
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
140
|
+
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
141
|
+
path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.path}
|
|
142
|
+
style={{
|
|
143
|
+
width: '100%',
|
|
144
|
+
height: '100%',
|
|
145
|
+
objectFit: 'contain',
|
|
146
|
+
}}
|
|
147
|
+
loading="lazy"
|
|
148
|
+
/>
|
|
149
|
+
</div>
|
|
150
|
+
);
|
|
151
|
+
})}
|
|
152
|
+
</div>
|
|
153
|
+
<div class="col-lg-12 p-0">
|
|
154
|
+
<div
|
|
155
|
+
class="row mx-0 w-100"
|
|
156
|
+
style={{
|
|
157
|
+
marginTop: '3rem',
|
|
158
|
+
}}
|
|
159
|
+
>
|
|
160
|
+
<div className={'col-lg-12 px-3 px-md-2'}>
|
|
161
|
+
<div className={'row m-0 w-100'}>
|
|
162
|
+
{sectionproperties.showmeasurementunit == 'Show' && (
|
|
163
|
+
<div className={'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'}>
|
|
164
|
+
<p
|
|
165
|
+
className={' m-0 p-0 wordbreak d-flex justify-content-start '}
|
|
166
|
+
style={{
|
|
167
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
168
|
+
fontWeight: 400,
|
|
169
|
+
color: sectionproperties.measurementunitcolor,
|
|
170
|
+
fontSize: sectionproperties.measurementunitcolor + 'px',
|
|
171
|
+
}}
|
|
172
|
+
>
|
|
173
|
+
{fetchProductInfoQueryContext.data.data.productinfo.measurmentunit}
|
|
174
|
+
</p>
|
|
175
|
+
</div>
|
|
176
|
+
)}
|
|
177
|
+
<div className={'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'}>
|
|
178
|
+
<p
|
|
179
|
+
className={
|
|
180
|
+
props.srcfromprops != 'templatedraftrouter'
|
|
181
|
+
? `${productinfo_cssstyles.productname} ${productinfo_cssstyles.productnamehover}` +
|
|
182
|
+
' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 '
|
|
183
|
+
: `${productinfo_cssstyles.productname}` + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 '
|
|
184
|
+
}
|
|
185
|
+
onClick={() => {
|
|
186
|
+
if (props.srcfromprops != 'templatedraftrouter') {
|
|
187
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
188
|
+
}
|
|
189
|
+
}}
|
|
190
|
+
style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
|
|
191
|
+
>
|
|
192
|
+
{langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar}
|
|
193
|
+
</p>
|
|
194
|
+
</div>
|
|
195
|
+
|
|
196
|
+
{/* short desc */}
|
|
197
|
+
{/* un comment */}
|
|
198
|
+
{langdetect == 'en' && fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_en != null && (
|
|
199
|
+
<div class="col-lg-12 p-0">
|
|
200
|
+
<div class="col-lg-12 p-0 d-flex justify-content-start">
|
|
201
|
+
<p
|
|
202
|
+
className={'text-black m-0 p-0 wordbreak'}
|
|
203
|
+
style={{
|
|
204
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
205
|
+
}}
|
|
206
|
+
dangerouslySetInnerHTML={{
|
|
207
|
+
__html: fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_en,
|
|
208
|
+
}}
|
|
209
|
+
></p>
|
|
210
|
+
</div>
|
|
211
|
+
</div>
|
|
212
|
+
)}
|
|
213
|
+
{/* short desc */}
|
|
214
|
+
{/* un comment */}
|
|
215
|
+
{langdetect == 'ar' && fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_ar != null && (
|
|
216
|
+
<div class="col-lg-12 p-0">
|
|
217
|
+
<div class="col-lg-12 p-0 d-flex justify-content-start">
|
|
218
|
+
<p
|
|
219
|
+
className={'text-black m-0 p-0 wordbreak'}
|
|
220
|
+
style={{
|
|
221
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
222
|
+
}}
|
|
223
|
+
dangerouslySetInnerHTML={{
|
|
224
|
+
__html: fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_ar,
|
|
225
|
+
}}
|
|
226
|
+
></p>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
)}
|
|
230
|
+
{/* un comment */}
|
|
231
|
+
|
|
232
|
+
<div class="col-lg-12 p-0">
|
|
233
|
+
<DescriptionContent actions={props.actions} srcfromprops={'Articles'} />
|
|
234
|
+
</div>
|
|
235
|
+
|
|
236
|
+
{/* {sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && (
|
|
237
|
+
<div className="col-lg-12 p-0 mb-3">
|
|
238
|
+
<hr className="mb-0 mt-2" />
|
|
239
|
+
</div>
|
|
240
|
+
)} */}
|
|
241
|
+
|
|
242
|
+
{/* {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && (
|
|
243
|
+
<div class="col-lg-12 mt-2 p-0">{ShareButtonsContainer()}</div>
|
|
244
|
+
)} */}
|
|
245
|
+
</div>
|
|
246
|
+
</div>
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
</div>
|
|
250
|
+
</div>
|
|
251
|
+
{/* <div class="col-lg-12 p-0">{relatedproducts()}</div> */}
|
|
252
|
+
</div>
|
|
253
|
+
);
|
|
254
|
+
};
|
|
255
|
+
export default Article_itemtype;
|