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,387 @@
|
|
|
1
|
+
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
import { css } from 'glamor';
|
|
3
|
+
import '../../../../styles/sections/BackgroundImageWithTopContent.css';
|
|
4
|
+
import Select from 'react-select';
|
|
5
|
+
import { defaultstyles, defaultstylestranslated } from '../../../../StylesJS/Customstyles.js';
|
|
6
|
+
import { Imagekitimagecomp } from '../../../../Imagekitconfig.jsx';
|
|
7
|
+
import InputRange from 'react-input-range';
|
|
8
|
+
import CustomerAddressForm from '../../../StaticPages/Signup/CustomerAddressForm.jsx';
|
|
9
|
+
|
|
10
|
+
const Filterwithcategoriespcoll = (props) => {
|
|
11
|
+
const [sectionproperties, setsectionproperties] = useState('');
|
|
12
|
+
const [pricevalue, setpricevalue] = useState({ min: 0, max: 10000 });
|
|
13
|
+
const [imagesarray, setimagesarray] = useState([]);
|
|
14
|
+
const lang = props.actions.lang;
|
|
15
|
+
const langdetect = props.actions.langdetect;
|
|
16
|
+
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
17
|
+
const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
18
|
+
const actions = props.actions;
|
|
19
|
+
const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
20
|
+
|
|
21
|
+
const FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
22
|
+
const setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
23
|
+
const fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
|
|
24
|
+
const fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
25
|
+
const fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
|
|
26
|
+
const fetchproductsfilerobjcontext = props.actions.fetchproductsfilerobjcontext;
|
|
27
|
+
const routingcountext = props.actions.routingcountext;
|
|
28
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
29
|
+
// const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
30
|
+
const [payloadobj, setpayloadobj] = useState({ countryid: '', stateid: '', cityid: '' });
|
|
31
|
+
const [collectionsarray, setcollectionsarray] = useState([]);
|
|
32
|
+
const [collectionsids, setcollectionsids] = useState([]);
|
|
33
|
+
const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
34
|
+
const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
35
|
+
const authdetailsContext = props.actions.authdetailsContext;
|
|
36
|
+
const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
37
|
+
|
|
38
|
+
useEffect(() => {
|
|
39
|
+
var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
|
|
40
|
+
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
41
|
+
tempFetchQueriesEngineContext.collections = true;
|
|
42
|
+
setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
|
|
43
|
+
var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
|
|
44
|
+
|
|
45
|
+
// authdetailsContext?.instinfo?.instcollections?
|
|
46
|
+
}, []);
|
|
47
|
+
|
|
48
|
+
useEffect(() => {
|
|
49
|
+
var temppcollarray = [...collectionsarray];
|
|
50
|
+
authdetailsContext?.instinfo?.instcollections?.forEach(function (arrayItem) {
|
|
51
|
+
temppcollarray.push(arrayItem);
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
setcollectionsarray([...temppcollarray]);
|
|
55
|
+
}, [authdetailsContext]);
|
|
56
|
+
useEffect(() => {
|
|
57
|
+
var secpropobj = {};
|
|
58
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
59
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
60
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
61
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
setsectionproperties({ ...secpropobj });
|
|
66
|
+
}, [StatePagePropertiesContext]);
|
|
67
|
+
// useEffect(() => {
|
|
68
|
+
// if (fetchCategoriesQueryContext.isSuccess == true && fetchCategoriesQueryContext.data.data.status == true) {
|
|
69
|
+
// var temppcollarray = [...pcollarray];
|
|
70
|
+
// fetchCategoriesQueryContext?.data?.data?.categories.forEach(function (arrayItem) {
|
|
71
|
+
// arrayItem?.parentcolletions.forEach(function (item) {
|
|
72
|
+
// temppcollarray.push(item);
|
|
73
|
+
// });
|
|
74
|
+
// });
|
|
75
|
+
// setpcollarray([...temppcollarray]);
|
|
76
|
+
// }
|
|
77
|
+
// }, [fetchCategoriesQueryContext.isSuccess]);
|
|
78
|
+
useEffect(() => {
|
|
79
|
+
if (sectionproperties.length != 0) {
|
|
80
|
+
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
81
|
+
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
82
|
+
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
83
|
+
setimagesarray([...arrayofobjectimagesonlyparsed]);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}, [sectionproperties]);
|
|
88
|
+
|
|
89
|
+
const sectionstyles = {
|
|
90
|
+
btnstyles: css({
|
|
91
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
92
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
93
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
94
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
95
|
+
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
96
|
+
color: sectionproperties.generalbtn_textColor,
|
|
97
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
98
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
99
|
+
':hover': {
|
|
100
|
+
transition: '.3s',
|
|
101
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
102
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
103
|
+
},
|
|
104
|
+
}),
|
|
105
|
+
form_control: css({
|
|
106
|
+
backgroundImage: 'linear-gradient(to top, #eac435 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px)',
|
|
107
|
+
}),
|
|
108
|
+
input_label_name: css({
|
|
109
|
+
color: sectionproperties.form_labelcolor,
|
|
110
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
111
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
112
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
113
|
+
}),
|
|
114
|
+
|
|
115
|
+
dateInput: css({
|
|
116
|
+
display: 'inline-block',
|
|
117
|
+
outline: 'none',
|
|
118
|
+
background: 'none',
|
|
119
|
+
transition: 'width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000)',
|
|
120
|
+
cursor: 'text',
|
|
121
|
+
Zindex: 2,
|
|
122
|
+
borderBottomStyle: 'solid',
|
|
123
|
+
borderBottomWidth: sectionproperties.inputfieldborderWidth + 'px',
|
|
124
|
+
borderBottomColor: sectionproperties.inputfieldborderColor,
|
|
125
|
+
width: '100%',
|
|
126
|
+
}),
|
|
127
|
+
imgcontainer: css({
|
|
128
|
+
position: 'absolute',
|
|
129
|
+
top: 0,
|
|
130
|
+
bottom: 0,
|
|
131
|
+
right: 0,
|
|
132
|
+
left: 0,
|
|
133
|
+
zIndex: 1,
|
|
134
|
+
':before': {
|
|
135
|
+
width: '100%',
|
|
136
|
+
height: '100%',
|
|
137
|
+
background: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')',
|
|
138
|
+
zIndex: 1,
|
|
139
|
+
position: 'absolute',
|
|
140
|
+
content: 's',
|
|
141
|
+
fontSize: 0,
|
|
142
|
+
left: 0,
|
|
143
|
+
right: 0,
|
|
144
|
+
top: 0,
|
|
145
|
+
bottom: 0,
|
|
146
|
+
},
|
|
147
|
+
}),
|
|
148
|
+
container: css({
|
|
149
|
+
backgroundSize: sectionproperties.bgcovercontain,
|
|
150
|
+
width: '100%',
|
|
151
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
|
|
152
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
153
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
154
|
+
position: 'relative',
|
|
155
|
+
marginLeft: sectionproperties.card_marginLeft + 'px',
|
|
156
|
+
marginRight: sectionproperties.card_marginRight + 'px',
|
|
157
|
+
backgroundColor: 'white',
|
|
158
|
+
'@media (max-width: 800px)': {
|
|
159
|
+
height: sectionproperties.height_responsive + 'vh',
|
|
160
|
+
},
|
|
161
|
+
}),
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
return (
|
|
165
|
+
<div class={sectionstyles.container + ' allcentered mx-md-0 '}>
|
|
166
|
+
<div class={sectionstyles.imgcontainer} style={{ width: '100%', height: 'auto' }}>
|
|
167
|
+
<Imagekitimagecomp
|
|
168
|
+
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
169
|
+
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
170
|
+
path={
|
|
171
|
+
imagesarray.length != 0
|
|
172
|
+
? langdetect == 'en'
|
|
173
|
+
? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + imagesarray[0].bgsection_image
|
|
174
|
+
: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + imagesarray[0].bgsection_image_ar
|
|
175
|
+
: ''
|
|
176
|
+
}
|
|
177
|
+
style={{
|
|
178
|
+
width: '100%',
|
|
179
|
+
height: '100%',
|
|
180
|
+
objectFit: 'cover',
|
|
181
|
+
}}
|
|
182
|
+
/>
|
|
183
|
+
</div>
|
|
184
|
+
|
|
185
|
+
<div class="row m-0 w-100 allcentered mt-auto mb-4 px-4" style={{ zIndex: 2 }}>
|
|
186
|
+
<div class="row m-0 w-100 d-flex align-items-center justify-content-start">
|
|
187
|
+
{sectionproperties.sectiontitleshow == 'Show' && (
|
|
188
|
+
<div class="col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start">
|
|
189
|
+
<div
|
|
190
|
+
class="wordbreak"
|
|
191
|
+
style={{
|
|
192
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
193
|
+
color: sectionproperties.sectionTitleColor,
|
|
194
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
195
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
196
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
197
|
+
marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20,
|
|
198
|
+
}}
|
|
199
|
+
>
|
|
200
|
+
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
201
|
+
</div>
|
|
202
|
+
</div>
|
|
203
|
+
)}
|
|
204
|
+
{sectionproperties.prodCatShow == 'Show' && (
|
|
205
|
+
<div class="col-lg-12 col-md-12 col-sm-12 p-0 allcentered">
|
|
206
|
+
<div
|
|
207
|
+
style={{
|
|
208
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
209
|
+
color: sectionproperties.prodCatColor,
|
|
210
|
+
textTransform: sectionproperties.prodCatTextTranform,
|
|
211
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
212
|
+
maxWidth: '500px',
|
|
213
|
+
}}
|
|
214
|
+
>
|
|
215
|
+
{langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
)}
|
|
219
|
+
<div
|
|
220
|
+
class={'col-lg-10 col-md-12 col-sm-12 allcentered mt-3'}
|
|
221
|
+
style={{
|
|
222
|
+
backgroundColor: sectionproperties.reservation_bgcolor,
|
|
223
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
224
|
+
paddingTop: sectionproperties.reservation_padding_top + 'px',
|
|
225
|
+
paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
|
|
226
|
+
paddingLeft: sectionproperties.reservation_padding_left + 'px',
|
|
227
|
+
paddingRight: sectionproperties.reservation_padding_right + 'px',
|
|
228
|
+
}}
|
|
229
|
+
>
|
|
230
|
+
<div class="row m-0 w-100 allcentered">
|
|
231
|
+
<div class="col-lg-12 p-0">
|
|
232
|
+
<div class="row m-0 w-100 d-flex align-items-center justify-content-start">
|
|
233
|
+
{fetchCategoriesQueryContext.isSuccess && fetchCategoriesQueryContext.data.data.status && (
|
|
234
|
+
<div class="col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3">
|
|
235
|
+
<label
|
|
236
|
+
className={`${sectionstyles.input_label_name}` + ' mb-3 w-100 '}
|
|
237
|
+
style={{
|
|
238
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
239
|
+
}}
|
|
240
|
+
>
|
|
241
|
+
{langdetect == 'en' ? 'Categories' : 'Categories'}
|
|
242
|
+
</label>
|
|
243
|
+
<div class={'col-lg-12 p-0'}>
|
|
244
|
+
<Select
|
|
245
|
+
options={fetchCategoriesQueryContext?.data?.data?.categories}
|
|
246
|
+
getOptionLabel={(option) => {
|
|
247
|
+
var crname = '';
|
|
248
|
+
if (langdetect == 'en') {
|
|
249
|
+
crname = option.title_en;
|
|
250
|
+
} else if (langdetect == 'ar') {
|
|
251
|
+
crname = option.title_ar;
|
|
252
|
+
}
|
|
253
|
+
return crname;
|
|
254
|
+
}}
|
|
255
|
+
// getOptionValue={(option) => option.collectionid}
|
|
256
|
+
|
|
257
|
+
styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated}
|
|
258
|
+
placeholder={''}
|
|
259
|
+
/>
|
|
260
|
+
</div>
|
|
261
|
+
</div>
|
|
262
|
+
)}
|
|
263
|
+
<div class="col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3">
|
|
264
|
+
<label
|
|
265
|
+
className={`${sectionstyles.input_label_name}` + ' mb-3 w-100 '}
|
|
266
|
+
style={{
|
|
267
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
268
|
+
}}
|
|
269
|
+
>
|
|
270
|
+
{langdetect == 'en' ? 'KM' : 'KM'}
|
|
271
|
+
</label>
|
|
272
|
+
<div class={'col-lg-12 p-0'}>
|
|
273
|
+
<Select
|
|
274
|
+
options={[
|
|
275
|
+
{ label: '100000', value: 1 },
|
|
276
|
+
{ label: '50000', value: 0 },
|
|
277
|
+
{ label: '30000', value: 0 },
|
|
278
|
+
]}
|
|
279
|
+
styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated}
|
|
280
|
+
placeholder={''}
|
|
281
|
+
/>
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
284
|
+
<div class="col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3">
|
|
285
|
+
<label
|
|
286
|
+
className={`${sectionstyles.input_label_name}` + ' mb-3 w-100 '}
|
|
287
|
+
style={{
|
|
288
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
289
|
+
}}
|
|
290
|
+
>
|
|
291
|
+
{langdetect == 'en' ? 'Model Year' : 'السنة'}
|
|
292
|
+
</label>
|
|
293
|
+
<div class={'col-lg-12 p-0'}>
|
|
294
|
+
<Select
|
|
295
|
+
options={[
|
|
296
|
+
{ label: '2023', value: 1 },
|
|
297
|
+
{ label: '2022', value: 0 },
|
|
298
|
+
{ label: '2021', value: 0 },
|
|
299
|
+
]}
|
|
300
|
+
styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated}
|
|
301
|
+
placeholder={''}
|
|
302
|
+
/>
|
|
303
|
+
</div>
|
|
304
|
+
</div>
|
|
305
|
+
<div className={`${langdetect == 'en' ? 'text-left' : 'text-right'}` + ' col-lg-3 col-md-12 col-sm-12 mb-md-3 '}>
|
|
306
|
+
<label
|
|
307
|
+
className={`${sectionstyles.input_label_name}` + ' mb-3 w-100'}
|
|
308
|
+
style={{
|
|
309
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
310
|
+
}}
|
|
311
|
+
>
|
|
312
|
+
{langdetect == 'en' ? 'Price' : 'السعر'}
|
|
313
|
+
</label>
|
|
314
|
+
<div class={'col-lg-12 pl-4 pr-4 mt-2 mb-2'} style={{ direction: 'ltr' }}>
|
|
315
|
+
<InputRange
|
|
316
|
+
draggableTrack={true}
|
|
317
|
+
formatLabel={(value) => `${value}`}
|
|
318
|
+
maxValue={parseInt(sectionproperties.filterpricemaxvalue)}
|
|
319
|
+
minValue={parseInt(sectionproperties.filterpriceminvalue)}
|
|
320
|
+
value={pricevalue}
|
|
321
|
+
onChange={(value) => {
|
|
322
|
+
setpricevalue({ ...value });
|
|
323
|
+
}}
|
|
324
|
+
/>
|
|
325
|
+
</div>
|
|
326
|
+
</div>
|
|
327
|
+
<div class="col-lg-1"></div>
|
|
328
|
+
<div class="col-lg-2 col-md-12 d-flex align-items-center justify-content-end">
|
|
329
|
+
<button
|
|
330
|
+
class={sectionstyles.btnstyles + ' allcentered '}
|
|
331
|
+
onClick={() => {
|
|
332
|
+
var tempfetchproductsfilerobjcontext = { ...fetchproductsfilerobjcontext };
|
|
333
|
+
if (payloadobj?.countryid != null && payloadobj?.countryid?.length != 0) {
|
|
334
|
+
if (sectionproperties?.generalbtnonclick == 'Products') {
|
|
335
|
+
tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
|
|
336
|
+
} else {
|
|
337
|
+
tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
if (payloadobj?.stateid != null && payloadobj?.stateid?.length != 0) {
|
|
341
|
+
if (sectionproperties?.generalbtnonclick == 'Products') {
|
|
342
|
+
tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
|
|
343
|
+
} else {
|
|
344
|
+
tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
if (payloadobj?.cityid != null && payloadobj?.cityid?.length != 0) {
|
|
348
|
+
if (sectionproperties?.generalbtnonclick == 'Products') {
|
|
349
|
+
tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
|
|
350
|
+
} else {
|
|
351
|
+
tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
if (payloadobj?.collections != null && payloadobj.collections.length != 0) {
|
|
355
|
+
tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
|
|
356
|
+
}
|
|
357
|
+
if (pricevalue?.min != null && pricevalue?.min?.length != 0) {
|
|
358
|
+
tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
|
|
359
|
+
}
|
|
360
|
+
if (pricevalue?.max != null && pricevalue?.max?.length != 0) {
|
|
361
|
+
if (sectionproperties.showpricerange == 'Hide') {
|
|
362
|
+
tempfetchproductsfilerobjcontext.price_max = 99999999999999;
|
|
363
|
+
} else {
|
|
364
|
+
tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
if (sectionproperties?.generalbtnonclick == 'Products') {
|
|
368
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
369
|
+
}
|
|
370
|
+
if (sectionproperties?.generalbtnonclick == 'Vendors') {
|
|
371
|
+
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
372
|
+
}
|
|
373
|
+
}}
|
|
374
|
+
>
|
|
375
|
+
{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
|
|
376
|
+
</button>
|
|
377
|
+
</div>
|
|
378
|
+
</div>
|
|
379
|
+
</div>
|
|
380
|
+
</div>
|
|
381
|
+
</div>
|
|
382
|
+
</div>
|
|
383
|
+
</div>
|
|
384
|
+
</div>
|
|
385
|
+
);
|
|
386
|
+
};
|
|
387
|
+
export default Filterwithcategoriespcoll;
|
package/srcoman/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx
ADDED
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
import { css } from 'glamor';
|
|
3
|
+
import { Imagekitimagecomp } from '../../../../Imagekitconfig.jsx';
|
|
4
|
+
|
|
5
|
+
import ReactPlayer from 'react-player';
|
|
6
|
+
|
|
7
|
+
const FullVideoSection = (props) => {
|
|
8
|
+
const [sectionproperties, setsectionproperties] = useState('');
|
|
9
|
+
const [Videosarrayofobjs, setVideosarrayofobjs] = useState([]);
|
|
10
|
+
const lang = props.actions.lang;
|
|
11
|
+
const langdetect = props.actions.langdetect;
|
|
12
|
+
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
13
|
+
const routingcountext = props.actions.routingcountext;
|
|
14
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
15
|
+
const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
16
|
+
|
|
17
|
+
const actions = props.actions;
|
|
18
|
+
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
var secpropobj = {};
|
|
21
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
22
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
23
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
24
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
setsectionproperties({ ...secpropobj });
|
|
29
|
+
}, [StatePagePropertiesContext]);
|
|
30
|
+
useEffect(() => {
|
|
31
|
+
if (sectionproperties.length != 0 && sectionproperties.Videosarrayofobjs != undefined) {
|
|
32
|
+
var Videosarrayofobjsparsed = JSON.parse(sectionproperties.Videosarrayofobjs);
|
|
33
|
+
if (Array.isArray(Videosarrayofobjsparsed)) {
|
|
34
|
+
var temparr = [...Videosarrayofobjsparsed];
|
|
35
|
+
temparr.forEach(function (item) {
|
|
36
|
+
item.linkclicked = false;
|
|
37
|
+
});
|
|
38
|
+
setVideosarrayofobjs([...Videosarrayofobjsparsed]);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}, [sectionproperties]);
|
|
42
|
+
const SectionTitle = () => {
|
|
43
|
+
return (
|
|
44
|
+
<div
|
|
45
|
+
class="d-flex align-items-center justify-content-md-center flex-row pl-md-2 pr-md-2 w-100"
|
|
46
|
+
style={{
|
|
47
|
+
position: 'relative',
|
|
48
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
49
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
50
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
51
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
|
|
52
|
+
paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
|
|
53
|
+
}}
|
|
54
|
+
>
|
|
55
|
+
<p
|
|
56
|
+
class={
|
|
57
|
+
sectionproperties.sectiontitlefontfamily == 'Pacifico'
|
|
58
|
+
? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center text-md-center '
|
|
59
|
+
: sectionproperties.sectiontitlefontfamily == 'Playfair'
|
|
60
|
+
? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center text-md-center '
|
|
61
|
+
: sectionproperties.sectiontitlefontfamily == 'Great Vibes'
|
|
62
|
+
? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center text-md-center '
|
|
63
|
+
: sectionproperties.sectiontitlefontfamily == 'Quicksand'
|
|
64
|
+
? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center text-md-center '
|
|
65
|
+
: sectionproperties.sectiontitlefontfamily == 'Satisfy'
|
|
66
|
+
? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center text-md-center '
|
|
67
|
+
: ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center text-md-center '
|
|
68
|
+
}
|
|
69
|
+
style={{
|
|
70
|
+
color: sectionproperties.sectionTitleColor,
|
|
71
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
72
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
73
|
+
}}
|
|
74
|
+
>
|
|
75
|
+
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
76
|
+
</p>
|
|
77
|
+
</div>
|
|
78
|
+
);
|
|
79
|
+
};
|
|
80
|
+
const Description = () => {
|
|
81
|
+
return (
|
|
82
|
+
<p
|
|
83
|
+
class={
|
|
84
|
+
sectionproperties.descFontFamily == 'Pacifico'
|
|
85
|
+
? ' PacificoFont m-0 p-0 wordbreak text-md-center '
|
|
86
|
+
: sectionproperties.descFontFamily == 'Playfair'
|
|
87
|
+
? ' PlayfairFont m-0 p-0 wordbreak '
|
|
88
|
+
: sectionproperties.descFontFamily == 'Great Vibes'
|
|
89
|
+
? ' GreatvibesFont m-0 p-0 wordbreak text-md-center '
|
|
90
|
+
: sectionproperties.descFontFamily == 'Quicksand'
|
|
91
|
+
? ' QuicksandFont m-0 p-0 wordbreak text-md-center '
|
|
92
|
+
: ' m-0 p-0 wordbreak '
|
|
93
|
+
}
|
|
94
|
+
style={{
|
|
95
|
+
color: sectionproperties.prodCatColor,
|
|
96
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
97
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
98
|
+
}}
|
|
99
|
+
>
|
|
100
|
+
{langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
|
|
101
|
+
</p>
|
|
102
|
+
);
|
|
103
|
+
};
|
|
104
|
+
const Content = () => {
|
|
105
|
+
return (
|
|
106
|
+
<div
|
|
107
|
+
class="col-lg-6 p-0"
|
|
108
|
+
style={{
|
|
109
|
+
display: sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0 ? 'none' : 'flex',
|
|
110
|
+
}}
|
|
111
|
+
>
|
|
112
|
+
<div class="row m-0 w-100">
|
|
113
|
+
{sectionproperties.sectiontitleshow == 'Show' && (
|
|
114
|
+
<div
|
|
115
|
+
class={' col-lg-12 p-0 d-flex d-md-none align-items-center '}
|
|
116
|
+
style={{
|
|
117
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
118
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
119
|
+
}}
|
|
120
|
+
>
|
|
121
|
+
{SectionTitle()}
|
|
122
|
+
</div>
|
|
123
|
+
)}
|
|
124
|
+
{sectionproperties.sectiontitleshow == 'Show' && (
|
|
125
|
+
<div
|
|
126
|
+
class={' col-lg-12 p-0 d-none d-md-flex align-items-center '}
|
|
127
|
+
style={{
|
|
128
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
129
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
130
|
+
}}
|
|
131
|
+
>
|
|
132
|
+
{SectionTitle()}
|
|
133
|
+
</div>
|
|
134
|
+
)}
|
|
135
|
+
{sectionproperties.prodCatShow == 'Show' && (
|
|
136
|
+
<div
|
|
137
|
+
class={' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-md-center d-md-none pl-md-2 pr-md-2 '}
|
|
138
|
+
style={{
|
|
139
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
140
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
141
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
142
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
|
|
143
|
+
paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
|
|
144
|
+
}}
|
|
145
|
+
>
|
|
146
|
+
{Description()}
|
|
147
|
+
</div>
|
|
148
|
+
)}
|
|
149
|
+
{sectionproperties.prodCatShow == 'Show' && (
|
|
150
|
+
<div
|
|
151
|
+
class={' col-lg-12 col-md-12 col-sm-12 d-none align-items-center justify-content-md-center d-md-flex pl-md-2 pr-md-2 '}
|
|
152
|
+
style={{
|
|
153
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
154
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
155
|
+
fontSize: sectionproperties.prodCatFontSizeResp + 'px',
|
|
156
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
|
|
157
|
+
paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
|
|
158
|
+
}}
|
|
159
|
+
>
|
|
160
|
+
{Description()}
|
|
161
|
+
</div>
|
|
162
|
+
)}
|
|
163
|
+
<div class="col-lg-12 p-0 d-flex justify-content-md-center">
|
|
164
|
+
<p
|
|
165
|
+
class="pb-0 text-md-center pl-sm-2 pr-sm-2"
|
|
166
|
+
style={{
|
|
167
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
168
|
+
color: sectionproperties.slideshowText2ContentColor,
|
|
169
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
170
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
171
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
172
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
173
|
+
}}
|
|
174
|
+
dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
|
|
175
|
+
></p>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
</div>
|
|
179
|
+
);
|
|
180
|
+
};
|
|
181
|
+
const Video = () => {
|
|
182
|
+
return (
|
|
183
|
+
<div
|
|
184
|
+
className={
|
|
185
|
+
sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0
|
|
186
|
+
? 'col-lg-12 col-md-12 col-sm-12 p-0 allcentered'
|
|
187
|
+
: 'col-lg-6 col-md-12 col-sm-12 p-0 d-flex align-items-stretch'
|
|
188
|
+
}
|
|
189
|
+
style={{ marginBottom: sectionproperties.image_mb + 'px' }}
|
|
190
|
+
>
|
|
191
|
+
{Object.keys(Videosarrayofobjs).length != 0 && (
|
|
192
|
+
<div className="row ml-0 mr-0 d-flex w-100">
|
|
193
|
+
<div
|
|
194
|
+
className={'col-lg-12 p-0 d-md-flex w-100 mt-auto'}
|
|
195
|
+
style={{
|
|
196
|
+
height: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'auto' : sectionproperties.image_height + 'px',
|
|
197
|
+
}}
|
|
198
|
+
>
|
|
199
|
+
{Videosarrayofobjs[0].linkclicked == true && <ReactPlayer url={Videosarrayofobjs[0].url} height={sectionproperties.image_height + 'px'} width={'100%'} />}
|
|
200
|
+
{Videosarrayofobjs[0]?.image == null && (
|
|
201
|
+
<ReactPlayer playing={true} controls={true} loop={true} muted={true} url={Videosarrayofobjs[0].url} height={sectionproperties.image_height + 'px'} width={'100%'} />
|
|
202
|
+
)}
|
|
203
|
+
{Videosarrayofobjs[0].linkclicked == false && Videosarrayofobjs[0].image != '' && Videosarrayofobjs[0].image != null && (
|
|
204
|
+
<button
|
|
205
|
+
onClick={() => {
|
|
206
|
+
var temparr = [...Videosarrayofobjs];
|
|
207
|
+
temparr[0].linkclicked = true;
|
|
208
|
+
setVideosarrayofobjs([...temparr]);
|
|
209
|
+
}}
|
|
210
|
+
class="w-100 h-100"
|
|
211
|
+
>
|
|
212
|
+
<Imagekitimagecomp
|
|
213
|
+
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
214
|
+
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
215
|
+
path={Videosarrayofobjs.length != 0 ? Videosarrayofobjs[0].image : ''}
|
|
216
|
+
className={sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : ''}
|
|
217
|
+
style={{
|
|
218
|
+
height: '100%',
|
|
219
|
+
width: '100%',
|
|
220
|
+
objectFit: sectionproperties.bgcovercontain,
|
|
221
|
+
}}
|
|
222
|
+
/>
|
|
223
|
+
</button>
|
|
224
|
+
)}
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
)}
|
|
228
|
+
</div>
|
|
229
|
+
);
|
|
230
|
+
};
|
|
231
|
+
return (
|
|
232
|
+
<div
|
|
233
|
+
className="row ml-0 mr-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2"
|
|
234
|
+
style={{
|
|
235
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
236
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
237
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
238
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
239
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
240
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
241
|
+
background: sectionproperties.backgroundColor,
|
|
242
|
+
}}
|
|
243
|
+
>
|
|
244
|
+
{sectionproperties.sectionstyle == 'Image on right' && (
|
|
245
|
+
<div class="col-lg-12 p-0">
|
|
246
|
+
<div class="row m-0 w-100">
|
|
247
|
+
{Content()} {Video()}
|
|
248
|
+
</div>
|
|
249
|
+
</div>
|
|
250
|
+
)}
|
|
251
|
+
{sectionproperties.sectionstyle != 'Image on right' && (
|
|
252
|
+
<div class="col-lg-12 p-0 d-flex d-md-none">
|
|
253
|
+
<div class="row m-0 w-100">
|
|
254
|
+
{Video()} {Content()}
|
|
255
|
+
</div>
|
|
256
|
+
</div>
|
|
257
|
+
)}
|
|
258
|
+
{sectionproperties.sectionstyle != 'Image on right' && (
|
|
259
|
+
<div class="col-lg-12 p-0 d-none d-md-flex">
|
|
260
|
+
<div class="row m-0 w-100">
|
|
261
|
+
{Content()} {Video()}
|
|
262
|
+
</div>
|
|
263
|
+
</div>
|
|
264
|
+
)}
|
|
265
|
+
</div>
|
|
266
|
+
);
|
|
267
|
+
};
|
|
268
|
+
export default FullVideoSection;
|