tabexseriescomponents 0.2.1280 → 0.2.1283
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +40 -258
- package/dist/index.esm.js +40 -258
- package/dist/index.umd.js +40 -258
- package/package.json +1 -1
- package/srcbefore27-11/Contexts/LanguageContext.jsx +0 -408
- package/srcbefore27-11/Contexts/ProductsCardsSectionContext.jsx +0 -36
- package/srcbefore27-11/Imagekitconfig copy.jsx +0 -46
- package/srcbefore27-11/Imagekitconfig.jsx +0 -178
- package/srcbefore27-11/StylesJS/Customstyles.js +0 -456
- package/srcbefore27-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -538
- package/srcbefore27-11/TabexComponents/Cards/Card20/Card20.jsx +0 -299
- package/srcbefore27-11/TabexComponents/Cards/Card21/Card21.jsx +0 -388
- package/srcbefore27-11/TabexComponents/Cards/Card22/Card22.jsx +0 -288
- package/srcbefore27-11/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
- package/srcbefore27-11/TabexComponents/Cards/Card23/Card23.jsx +0 -733
- package/srcbefore27-11/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
- package/srcbefore27-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
- package/srcbefore27-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
- package/srcbefore27-11/TabexComponents/Cards/Cardwithdetailsshowonhover/Cardwithdetailsshowonhover.jsx +0 -1074
- package/srcbefore27-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
- package/srcbefore27-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -293
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover/Categorycard_details_onhover.jsx +0 -512
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover copy/Categorycard_details_onhover.jsx +0 -513
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -184
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -208
- package/srcbefore27-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -560
- package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -145
- package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -145
- package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -142
- package/srcbefore27-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
- package/srcbefore27-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -605
- package/srcbefore27-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -817
- package/srcbefore27-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
- package/srcbefore27-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
- package/srcbefore27-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
- package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
- package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -512
- package/srcbefore27-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
- package/srcbefore27-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
- package/srcbefore27-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
- package/srcbefore27-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -731
- package/srcbefore27-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
- package/srcbefore27-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
- package/srcbefore27-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -138
- package/srcbefore27-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -611
- package/srcbefore27-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -600
- package/srcbefore27-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -2321
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -1311
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcardlastversion15-9.jsx +0 -1292
- package/srcbefore27-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
- package/srcbefore27-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
- package/srcbefore27-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -605
- package/srcbefore27-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
- package/srcbefore27-11/TabexComponents/Cards/Variants_J_Cards/Variants_J_Cards.jsx +0 -660
- package/srcbefore27-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -759
- package/srcbefore27-11/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
- package/srcbefore27-11/TabexComponents/Footer/Footer2/Footer2.jsx +0 -731
- package/srcbefore27-11/TabexComponents/Footer/Footer3/Footer3.jsx +0 -414
- package/srcbefore27-11/TabexComponents/Footer/Footer4/Footer4.jsx +0 -466
- package/srcbefore27-11/TabexComponents/Footer/Footer5/Footer5.jsx +0 -776
- package/srcbefore27-11/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
- package/srcbefore27-11/TabexComponents/Footer/Footer7/Footer7.jsx +0 -430
- package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8 copy.jsx +0 -1970
- package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8.jsx +0 -2015
- package/srcbefore27-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
- package/srcbefore27-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -582
- package/srcbefore27-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -1165
- package/srcbefore27-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -646
- package/srcbefore27-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
- package/srcbefore27-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -332
- package/srcbefore27-11/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/srcbefore27-11/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1264
- package/srcbefore27-11/TabexComponents/Headers/CategoriesComponent/CategoriesComponent.jsx +0 -375
- package/srcbefore27-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1056
- package/srcbefore27-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -1498
- package/srcbefore27-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1289
- package/srcbefore27-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
- package/srcbefore27-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -907
- package/srcbefore27-11/TabexComponents/Headers/FloatingIcons/FloatingIcons.jsx +0 -358
- package/srcbefore27-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -875
- package/srcbefore27-11/TabexComponents/Headers/Header4/Header4.jsx +0 -622
- package/srcbefore27-11/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
- package/srcbefore27-11/TabexComponents/Headers/Header8/Header8.jsx +0 -3414
- package/srcbefore27-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -777
- package/srcbefore27-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -933
- package/srcbefore27-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -710
- package/srcbefore27-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
- package/srcbefore27-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -1347
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1566
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -1639
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -7163
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
- package/srcbefore27-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -941
- package/srcbefore27-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -80
- package/srcbefore27-11/TabexComponents/Headers/Minimalheader/Minimalheader.jsx +0 -846
- package/srcbefore27-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -1198
- package/srcbefore27-11/TabexComponents/Headers/ParentCollectionsComponent/ParentCollectionsComponent.jsx +0 -385
- package/srcbefore27-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -784
- package/srcbefore27-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1186
- package/srcbefore27-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -3692
- package/srcbefore27-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -266
- package/srcbefore27-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -860
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -950
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader.jsx +0 -1052
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -685
- package/srcbefore27-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
- package/srcbefore27-11/TabexComponents/Headers/SubheaderDropdown/SubheaderDropdown.jsx +0 -610
- package/srcbefore27-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1049
- package/srcbefore27-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1095
- package/srcbefore27-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -979
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -872
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContentrecent.jsx +0 -895
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -318
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -421
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -583
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -291
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -822
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm19-8beforeattach.jsx +0 -789
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm22-7.jsx +0 -787
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -348
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -268
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -295
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/PopupCountryComponent/PopupCountryComponent.jsx +0 -120
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -119
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -99
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -489
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -633
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -509
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -2323
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -1596
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -1872
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +0 -1891
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -1880
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSectionwithanomation12-1.jsx +0 -2065
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -726
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
- package/srcbefore27-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
- package/srcbefore27-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -966
- package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -646
- package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -1577
- package/srcbefore27-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -596
- package/srcbefore27-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -342
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -394
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/CountDownSection/CountDownSection.jsx +0 -174
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -651
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +0 -757
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection20-2.jsx +0 -1017
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -3027
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/MarqueeSection/MarqueeSection.jsx +0 -103
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Preloaderone/Preloaderone.jsx +0 -49
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -384
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards copy.jsx +0 -1576
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -1989
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -474
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -665
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -614
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -741
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/TableSection/TableSection.jsx +0 -423
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -636
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -402
- package/srcbefore27-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -234
- package/srcbefore27-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -306
- package/srcbefore27-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -364
- package/srcbefore27-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -1000
- package/srcbefore27-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -2506
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout12-12beforeextras.jsx +0 -1999
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
- package/srcbefore27-11/TabexComponents/StaticPages/Compare/Compare.jsx +0 -79
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -245
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter.jsx +0 -3459
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -2624
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -2758
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -2753
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -1271
- package/srcbefore27-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
- package/srcbefore27-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
- package/srcbefore27-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
- package/srcbefore27-11/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
- package/srcbefore27-11/TabexComponents/StaticPages/Login/Login.jsx +0 -616
- package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -693
- package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess2.jsx +0 -173
- package/srcbefore27-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1831
- package/srcbefore27-11/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
- package/srcbefore27-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -194
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -268
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -190
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -224
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductFileUploader.jsx +0 -136
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -347
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -262
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -5566
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -1827
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -1351
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeeuro.jsx +0 -3101
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -3047
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo13-5.jsx +0 -2103
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo_28_6.jsx +0 -2189
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfotoday.jsx +0 -2166
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.js +0 -2714
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -2206
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtypetill28-4-2025.jsx +0 -1158
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -1117
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs4-5.jsx +0 -1043
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabstill28-4-2025.jsx +0 -1040
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -905
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -183
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -128
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -140
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -225
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -310
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -235
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -1672
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -1554
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -1351
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -1566
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -1804
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -560
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -928
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -597
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -324
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -145
- package/srcbefore27-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -194
- package/srcbefore27-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -346
- package/srcbefore27-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -367
- package/srcbefore27-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -222
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1505
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm12-5beforeemailrequired.jsx +0 -1476
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
- package/srcbefore27-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -292
- package/srcbefore27-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -219
- package/srcbefore27-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -844
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -555
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
- package/srcbefore27-11/button.jsx +0 -40
- package/srcbefore27-11/index.jsx +0 -353
- package/srcbefore27-11/styles/Home.module.css +0 -129
- package/srcbefore27-11/styles/cards/Categorcycard_fullimage.module.css +0 -14
- package/srcbefore27-11/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
- package/srcbefore27-11/styles/cards/Categorycard_withshapes.module.css +0 -189
- package/srcbefore27-11/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
- package/srcbefore27-11/styles/cards/Productcard6.module.css +0 -9
- package/srcbefore27-11/styles/cards/Productccard_with_zoominonhover.module.css +0 -94
- package/srcbefore27-11/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
- package/srcbefore27-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
- package/srcbefore27-11/styles/cards/card23.module.css +0 -60
- package/srcbefore27-11/styles/cards/categorycard.module.css +0 -84
- package/srcbefore27-11/styles/cards/categorycard3.module.css +0 -50
- package/srcbefore27-11/styles/cards/categorycardwithtext.module.css +0 -40
- package/srcbefore27-11/styles/cards/generalCardsStyles.module.css +0 -79
- package/srcbefore27-11/styles/cards/productcard_animatedbuttons.module.css +0 -139
- package/srcbefore27-11/styles/cards/productcard_with_textonhover.module.css +0 -18
- package/srcbefore27-11/styles/cards/productcard_withtextonimage.module.css +0 -0
- package/srcbefore27-11/styles/cards/productccard_with_imageontopleft.module.css +0 -85
- package/srcbefore27-11/styles/general/bootstrap.css +0 -4763
- package/srcbefore27-11/styles/general/dropdown.css +0 -206
- package/srcbefore27-11/styles/general/editorbardropdown.module.css +0 -94
- package/srcbefore27-11/styles/general/filter.module.css +0 -108
- package/srcbefore27-11/styles/general/form.module.css +0 -255
- package/srcbefore27-11/styles/general/general.module.css +0 -872
- package/srcbefore27-11/styles/general/image-gallery.css +0 -531
- package/srcbefore27-11/styles/general/react-accessible-accordion.module.css +0 -52
- package/srcbefore27-11/styles/general/react-phone-input-2.module.css +0 -927
- package/srcbefore27-11/styles/general/scrollbtn.module.css +0 -22
- package/srcbefore27-11/styles/general/slick.module.css +0 -166
- package/srcbefore27-11/styles/general/tabs.module.css +0 -119
- package/srcbefore27-11/styles/general/workplaceeditor.module.css +0 -328
- package/srcbefore27-11/styles/globals.css +0 -26
- package/srcbefore27-11/styles/headers/CTAHeader.module.css +0 -40
- package/srcbefore27-11/styles/headers/CategoryFeaturingHeader.module.css +0 -61
- package/srcbefore27-11/styles/headers/Gotoheader.module.css +0 -87
- package/srcbefore27-11/styles/headers/Header7.module.css +0 -50
- package/srcbefore27-11/styles/headers/HeaderWithAdSlider.module.css +0 -86
- package/srcbefore27-11/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
- package/srcbefore27-11/styles/headers/HeaderWithUtilityBar.module.css +0 -46
- package/srcbefore27-11/styles/headers/Header_threesectionslogocentered.module.css +0 -84
- package/srcbefore27-11/styles/headers/NewHeader.module.css +0 -101
- package/srcbefore27-11/styles/headers/SearchFocusedHeader.module.css +0 -62
- package/srcbefore27-11/styles/headers/Sideheader.module.css +0 -108
- package/srcbefore27-11/styles/headers/Simpleheader.module.css +0 -102
- package/srcbefore27-11/styles/headers/classicheader.module.css +0 -16
- package/srcbefore27-11/styles/headers/classicheaderstyles.module.css +0 -9
- package/srcbefore27-11/styles/headers/dropdown.css +0 -0
- package/srcbefore27-11/styles/headers/header4.module.css +0 -175
- package/srcbefore27-11/styles/headers/header5.module.css +0 -30
- package/srcbefore27-11/styles/headers/header_contactinfo.module.css +0 -53
- package/srcbefore27-11/styles/headers/headerresturant.module.css +0 -89
- package/srcbefore27-11/styles/headers/modernheader.module.css +0 -45
- package/srcbefore27-11/styles/headers/stylishheader.module.css +0 -24
- package/srcbefore27-11/styles/headers/subheader.module.css +0 -114
- package/srcbefore27-11/styles/headers/threetieredheader.module.css +0 -91
- package/srcbefore27-11/styles/sections/BackgroundImageWithTopContent.css +0 -4
- package/srcbefore27-11/styles/sections/Backgroundimage1.module.css +0 -17
- package/srcbefore27-11/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
- package/srcbefore27-11/styles/sections/Freetext.module.css +0 -18
- package/srcbefore27-11/styles/sections/Section_with_rightbgcont.module.css +0 -49
- package/srcbefore27-11/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
- package/srcbefore27-11/styles/sections/Slideshow_with_squarebg.module.css +0 -39
- package/srcbefore27-11/styles/staticpages/accordion.module.css +0 -9
- package/srcbefore27-11/styles/staticpages/cart.module.css +0 -108
- package/srcbefore27-11/styles/staticpages/dropdown.css +0 -196
- package/srcbefore27-11/styles/staticpages/filter.module.css +0 -139
- package/srcbefore27-11/styles/staticpages/image-gallery.css +0 -481
- package/srcbefore27-11/styles/staticpages/login.module.css +0 -155
- package/srcbefore27-11/styles/staticpages/productinfo.module.css +0 -54
- package/srcbefore27-11/styles/staticpages/shop.module.css +0 -191
- package/srcbefore27-11/styles/staticpages/signup.module.css +0 -250
- package/srcbefore27-11/styles/staticpages/staticroutersidenav.module.css +0 -129
- package/srcbefore27-11/styles/staticpages/viewcart.module.css +0 -129
- package/srcbefore27-11/styles/staticpages/wishlist.module.css +0 -29
|
@@ -1,596 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
import generalstyles from '../../../../styles/general/general.module.css';
|
|
3
|
-
import { css } from 'glamor';
|
|
4
|
-
import { useInView } from 'react-intersection-observer';
|
|
5
|
-
import { Imagekitimagecomp } from '../../../../Imagekitconfig.jsx';
|
|
6
|
-
import { FaArrowAltCircleRight } from '@react-icons/all-files/fa/FaArrowAltCircleRight';
|
|
7
|
-
import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircleLeft';
|
|
8
|
-
|
|
9
|
-
const Sixverticalcardssection = (props) => {
|
|
10
|
-
const { ref, inView } = useInView();
|
|
11
|
-
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
12
|
-
const lang = props.actions.lang;
|
|
13
|
-
const langdetect = props.actions.langdetect;
|
|
14
|
-
const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
15
|
-
const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
|
|
16
|
-
const routingcountext = props.actions.routingcountext;
|
|
17
|
-
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
18
|
-
const ProductFilterObjContext = props.actions.ProductFilterObjContext;
|
|
19
|
-
const setProductFilterObjContext = props.actions.setProductFilterObjContext;
|
|
20
|
-
const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
|
|
21
|
-
const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
22
|
-
const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
23
|
-
const fetchProductsQuery = props.actions.fetchProductsQuery;
|
|
24
|
-
const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
25
|
-
const setParentCollectionsForCollectionQueryArr = props.actions.setParentCollectionsForCollectionQueryArr;
|
|
26
|
-
const ParentCollectionsForCollectionQueryArr = props.actions.ParentCollectionsForCollectionQueryArr;
|
|
27
|
-
const setfetchingtype = props.actions.setfetchingtype;
|
|
28
|
-
const fetchingtype = props.actions.fetchingtype;
|
|
29
|
-
const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
30
|
-
const fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
|
|
31
|
-
const actions = props.actions;
|
|
32
|
-
const [sectionproperties, setsectionproperties] = useState('');
|
|
33
|
-
const [cardsarray, setcardsarray] = useState([]);
|
|
34
|
-
React.useEffect(() => {
|
|
35
|
-
if (inView) {
|
|
36
|
-
fetchProductsQuery.fetchNextPage();
|
|
37
|
-
}
|
|
38
|
-
}, [inView]);
|
|
39
|
-
const [ProductsFetchingTypeSectionObj, setProductsFetchingTypeSectionObj] = useState({ productfetchingtype: 'Random', collectionid: '' });
|
|
40
|
-
|
|
41
|
-
useEffect(() => {
|
|
42
|
-
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
43
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
44
|
-
var secpropobj = {};
|
|
45
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
46
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
47
|
-
});
|
|
48
|
-
setsectionproperties({ ...secpropobj });
|
|
49
|
-
|
|
50
|
-
if (props.srcfromprops == 'GeneralProductsComponent') {
|
|
51
|
-
setfetchingtype('products');
|
|
52
|
-
setProductsFetchingTypeSectionObj({
|
|
53
|
-
productfetchingtype: 'Random',
|
|
54
|
-
collectionid: props.collectionidprops,
|
|
55
|
-
});
|
|
56
|
-
} else {
|
|
57
|
-
setfetchingtype(sectionitem.fetchingtype);
|
|
58
|
-
setProductsFetchingTypeSectionObj({
|
|
59
|
-
productfetchingtype: sectionitem.productsfetchingtype,
|
|
60
|
-
collectionid: sectionitem.productsfetchingtypeCollectioncollectionid,
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
}, [StatePagePropertiesContext]);
|
|
66
|
-
useEffect(() => {
|
|
67
|
-
if (sectionproperties.length != 0) {
|
|
68
|
-
if (cardsarray.length == 0) {
|
|
69
|
-
if (fetchingtype == 'collections') {
|
|
70
|
-
if (fetchcollectionsQueryContext.isSuccess) {
|
|
71
|
-
cardobjassigner(fetchcollectionsQueryContext?.data?.data?.collections);
|
|
72
|
-
}
|
|
73
|
-
} else if (fetchingtype == 'products') {
|
|
74
|
-
if (fetchProductsQuery.isSuccess) {
|
|
75
|
-
var allpagesarr = [];
|
|
76
|
-
fetchProductsQuery?.data?.data?.products?.forEach((item) => {
|
|
77
|
-
allpagesarr.push(item);
|
|
78
|
-
});
|
|
79
|
-
cardobjassigner(allpagesarr);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}, [sectionproperties]);
|
|
85
|
-
useEffect(() => {
|
|
86
|
-
if (fetchingtype.length != 0) {
|
|
87
|
-
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
88
|
-
if (fetchingtype == 'collections') {
|
|
89
|
-
// tempFetchQueriesEngineContext.collections = true;
|
|
90
|
-
if (ProductsFetchingTypeSectionObj.collectionid == 'all' || ProductsFetchingTypeSectionObj.collectionid == null || ProductsFetchingTypeSectionObj.collectionid == undefined) {
|
|
91
|
-
setParentCollectionsForCollectionQueryArr('all');
|
|
92
|
-
} else {
|
|
93
|
-
setParentCollectionsForCollectionQueryArr([ProductsFetchingTypeSectionObj.collectionid]);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
if (fetchingtype == 'products') {
|
|
97
|
-
var tempfetchproductsfilerobjcontext = ProductFilterObjContext;
|
|
98
|
-
tempfetchproductsfilerobjcontext.ProductFetchingType = ProductsFetchingTypeSectionObj.productfetchingtype;
|
|
99
|
-
tempfetchproductsfilerobjcontext.collections.push(ProductsFetchingTypeSectionObj.collectionid);
|
|
100
|
-
|
|
101
|
-
setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
|
|
105
|
-
}
|
|
106
|
-
}, [fetchingtype, ProductsFetchingTypeSectionObj]);
|
|
107
|
-
useEffect(() => {
|
|
108
|
-
if (fetchingtype == 'products') {
|
|
109
|
-
if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
|
|
110
|
-
var allpagesarr = [];
|
|
111
|
-
|
|
112
|
-
fetchProductsQuery?.data?.data?.products?.forEach((item) => {
|
|
113
|
-
allpagesarr.push(item);
|
|
114
|
-
});
|
|
115
|
-
cardobjassigner(allpagesarr);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}, [fetchProductsQuery.isSuccess, fetchProductsQuery.dataUpdatedAt, fetchProductsQuery.data, fetchcustomercartQueryContext.dataUpdatedAt]);
|
|
119
|
-
useEffect(() => {
|
|
120
|
-
if (fetchingtype == 'collections') {
|
|
121
|
-
if (fetchcollectionsQueryContext.isSuccess) {
|
|
122
|
-
cardobjassigner(fetchcollectionsQueryContext?.data?.data?.collections);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
126
|
-
useEffect(() => {
|
|
127
|
-
favassigner();
|
|
128
|
-
}, [favoriteprojectscountContext]);
|
|
129
|
-
const favassigner = () => {
|
|
130
|
-
if (fetchingtype == 'products') {
|
|
131
|
-
if (cardsarray.length != 0) {
|
|
132
|
-
if (favoriteprojectscountContext != undefined && Array.isArray(favoriteprojectscountContext)) {
|
|
133
|
-
var tempcardsarray = [...cardsarray];
|
|
134
|
-
tempcardsarray.forEach(function (arrayItem, arrayindex) {
|
|
135
|
-
arrayItem.IsFavExists = false;
|
|
136
|
-
});
|
|
137
|
-
tempcardsarray.forEach(function (arrayItem, arrayindex) {
|
|
138
|
-
favoriteprojectscountContext.forEach(function (favitem, favindex) {
|
|
139
|
-
if (arrayItem.productid == favitem) {
|
|
140
|
-
arrayItem.IsFavExists = true;
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
});
|
|
144
|
-
setcardsarray([...tempcardsarray]);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
const cardobjassigner = (fetchedarray) => {
|
|
150
|
-
var temparray = [];
|
|
151
|
-
fetchedarray.forEach(function (arrayItem, arrayindex) {
|
|
152
|
-
var cardobj = {
|
|
153
|
-
name: '',
|
|
154
|
-
image: '',
|
|
155
|
-
};
|
|
156
|
-
if (fetchingtype == 'products') {
|
|
157
|
-
var itemquantity = 0;
|
|
158
|
-
if (langdetect == 'en') {
|
|
159
|
-
cardobj.name = arrayItem.productinfo.name_en;
|
|
160
|
-
} else {
|
|
161
|
-
cardobj.name = arrayItem.productinfo.name_ar;
|
|
162
|
-
}
|
|
163
|
-
if (langdetect == 'en') {
|
|
164
|
-
cardobj.description = arrayItem.productinfo.description_en;
|
|
165
|
-
} else {
|
|
166
|
-
cardobj.description = arrayItem.productinfo.description_ar;
|
|
167
|
-
}
|
|
168
|
-
if (langdetect == 'en') {
|
|
169
|
-
cardobj.shortdescription = arrayItem.short_description_en;
|
|
170
|
-
} else {
|
|
171
|
-
cardobj.shortdescription = arrayItem.short_description_ar;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
if (arrayItem.productinfo.hasvariants == 0) {
|
|
175
|
-
fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems.forEach(function (cartitem, cartindex) {
|
|
176
|
-
if (cartitem.productid == arrayItem.productinfo.productid) {
|
|
177
|
-
itemquantity = cartitem.quantity;
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
cardobj.image = arrayItem.productinfo.productmainimage;
|
|
182
|
-
cardobj.producttags = arrayItem.tags;
|
|
183
|
-
if (langdetect == 'en') {
|
|
184
|
-
cardobj.productfeature = arrayItem?.features?.value_en;
|
|
185
|
-
} else {
|
|
186
|
-
cardobj.productfeature = arrayItem?.features?.value_ar;
|
|
187
|
-
}
|
|
188
|
-
cardobj.productfeatureid = arrayItem?.features?.featureid;
|
|
189
|
-
|
|
190
|
-
cardobj.productendpointurl = arrayItem.productinfo.productendpointurl;
|
|
191
|
-
cardobj.hassale = arrayItem.productinfo.hassale;
|
|
192
|
-
cardobj.productid = arrayItem.productinfo.productid;
|
|
193
|
-
cardobj.hasvariants = arrayItem.productinfo.hasvariants;
|
|
194
|
-
cardobj.description_en = arrayItem.productinfo.description_en;
|
|
195
|
-
cardobj.description_ar = arrayItem.productinfo.description_ar;
|
|
196
|
-
// cardobj.defaultprice = arrayItem.productinfo.defaultprice;
|
|
197
|
-
// cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
|
|
198
|
-
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
199
|
-
cardobj.defaultprice = parseFloat(Number(arrayItem.productinfo.defaultprice).toFixed(2));
|
|
200
|
-
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
201
|
-
cardobj.defaultprice = Math.floor(arrayItem.productinfo.defaultprice).toLocaleString();
|
|
202
|
-
} else {
|
|
203
|
-
cardobj.defaultprice = arrayItem.productinfo.defaultprice;
|
|
204
|
-
}
|
|
205
|
-
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
206
|
-
cardobj.defaultsaleprice = parseFloat(Number(arrayItem.productinfo.defaultsaleprice).toFixed(2));
|
|
207
|
-
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
208
|
-
cardobj.defaultsaleprice = Math.floor(arrayItem.productinfo.defaultsaleprice).toLocaleString();
|
|
209
|
-
} else {
|
|
210
|
-
cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
|
|
211
|
-
}
|
|
212
|
-
cardobj.productimages = arrayItem.productinfo.productimages;
|
|
213
|
-
cardobj.quantity = itemquantity;
|
|
214
|
-
// cardobj.currentquantity = currentquantity;
|
|
215
|
-
cardobj.timestamp = arrayItem.productinfo.timestamp;
|
|
216
|
-
cardobj.productquantity = arrayItem.productinfo.productquantity;
|
|
217
|
-
cardobj.currentquantity = arrayItem.productinfo.currentquantity;
|
|
218
|
-
cardobj.quantavailtype = arrayItem.productinfo.quantavailtype;
|
|
219
|
-
cardobj.isproducttobesold = arrayItem.productinfo.isproducttobesold;
|
|
220
|
-
cardobj.measurmentunit = arrayItem.productinfo.measurmentunit;
|
|
221
|
-
cardobj.prodaffpercentprofit = arrayItem.productinfo.prodaffpercentprofit;
|
|
222
|
-
cardobj.productcashbackvalue = arrayItem.productinfo.productcashbackvalue;
|
|
223
|
-
cardobj.product_phonenumber = arrayItem.productinfo.product_phonenumber;
|
|
224
|
-
cardobj.productcanrate = arrayItem.productinfo.productcanrate;
|
|
225
|
-
cardobj.sku = arrayItem.productinfo.sku;
|
|
226
|
-
|
|
227
|
-
if (langdetect == 'en') {
|
|
228
|
-
cardobj.currencyname = fetchAuthorizationQueryContext?.data?.data?.currencyname_en;
|
|
229
|
-
} else {
|
|
230
|
-
cardobj.currencyname = fetchAuthorizationQueryContext?.data?.data?.currencyname_ar;
|
|
231
|
-
}
|
|
232
|
-
if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
|
|
233
|
-
favoriteprojectscountContext.forEach(function (favitem, favindex) {
|
|
234
|
-
if (arrayItem.productinfo.productid == favitem) {
|
|
235
|
-
cardobj.IsFavExists = true;
|
|
236
|
-
}
|
|
237
|
-
});
|
|
238
|
-
}
|
|
239
|
-
} else if (fetchingtype == 'collections' || fetchingtype == 'innerparentcollections') {
|
|
240
|
-
cardobj.collectionid = arrayItem.collectionid;
|
|
241
|
-
cardobj.skiplayeronclick = arrayItem?.skiplayeronclick;
|
|
242
|
-
if (langdetect == 'en') {
|
|
243
|
-
cardobj.name = arrayItem.title_en;
|
|
244
|
-
cardobj.description = arrayItem.description_en;
|
|
245
|
-
} else if (langdetect == 'ar') {
|
|
246
|
-
cardobj.name = arrayItem.title_ar;
|
|
247
|
-
cardobj.description = arrayItem.description_ar;
|
|
248
|
-
}
|
|
249
|
-
cardobj.image = arrayItem.collectionlogo;
|
|
250
|
-
cardobj.producttags = [];
|
|
251
|
-
cardobj.productfeatures = [];
|
|
252
|
-
} else if (fetchingtype == 'categories') {
|
|
253
|
-
cardobj.collectionid = arrayItem.categoryid;
|
|
254
|
-
cardobj.skiplayeronclick = arrayItem?.skiplayeronclick;
|
|
255
|
-
if (langdetect == 'en') {
|
|
256
|
-
cardobj.name = arrayItem.title_en;
|
|
257
|
-
cardobj.description = arrayItem.description_en;
|
|
258
|
-
} else if (langdetect == 'ar') {
|
|
259
|
-
cardobj.name = arrayItem.title_ar;
|
|
260
|
-
cardobj.description = arrayItem.description_ar;
|
|
261
|
-
}
|
|
262
|
-
cardobj.image = arrayItem.categorylogo;
|
|
263
|
-
cardobj.producttags = [];
|
|
264
|
-
cardobj.productfeatures = [];
|
|
265
|
-
} else if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
|
|
266
|
-
cardobj.collectionid = arrayItem.parentcollectionid;
|
|
267
|
-
cardobj.skiplayeronclick = arrayItem?.skiplayeronclick;
|
|
268
|
-
if (langdetect == 'en') {
|
|
269
|
-
cardobj.name = arrayItem.title_en;
|
|
270
|
-
cardobj.description = arrayItem.description_en;
|
|
271
|
-
} else if (langdetect == 'ar') {
|
|
272
|
-
cardobj.name = arrayItem.title_ar;
|
|
273
|
-
cardobj.description = arrayItem.description_ar;
|
|
274
|
-
}
|
|
275
|
-
cardobj.image = arrayItem.parentcollectionlogo;
|
|
276
|
-
cardobj.producttags = [];
|
|
277
|
-
cardobj.productfeatures = [];
|
|
278
|
-
} else if (fetchingtype == 'custom') {
|
|
279
|
-
cardobj.producttags = [];
|
|
280
|
-
cardobj.productfeatures = [];
|
|
281
|
-
} else if (fetchingtype == 'vendors') {
|
|
282
|
-
cardobj.name = arrayItem.vendorname;
|
|
283
|
-
cardobj.collectionid = arrayItem.vendorid;
|
|
284
|
-
cardobj.image = arrayItem.vendorlogourl;
|
|
285
|
-
cardobj.producttags = [];
|
|
286
|
-
cardobj.productfeatures = [];
|
|
287
|
-
}
|
|
288
|
-
temparray.push(cardobj);
|
|
289
|
-
});
|
|
290
|
-
|
|
291
|
-
setcardsarray([...temparray]);
|
|
292
|
-
};
|
|
293
|
-
const [bgimagearrayofobjs, setbgimagearrayofobjs] = useState([]);
|
|
294
|
-
useEffect(() => {
|
|
295
|
-
if (sectionproperties.length != 0) {
|
|
296
|
-
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
297
|
-
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
298
|
-
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
299
|
-
setbgimagearrayofobjs([...arrayofobjectimagesonlyparsed]);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
}, [sectionproperties]);
|
|
304
|
-
const section_cssstyles = {
|
|
305
|
-
sectiontitlespan: css({
|
|
306
|
-
':after': {
|
|
307
|
-
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
308
|
-
backgroundColor: sectionproperties.linebgcolor,
|
|
309
|
-
},
|
|
310
|
-
}),
|
|
311
|
-
cardcontainer: css({
|
|
312
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
313
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
314
|
-
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
315
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
316
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
317
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
318
|
-
background: sectionproperties.backgroundColor,
|
|
319
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
320
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
321
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
322
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
323
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
324
|
-
}),
|
|
325
|
-
sectiontitlespan: css({
|
|
326
|
-
':after': {
|
|
327
|
-
height: '5px',
|
|
328
|
-
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
329
|
-
backgroundColor: sectionproperties.linebgcolor,
|
|
330
|
-
},
|
|
331
|
-
}),
|
|
332
|
-
line_left: css({
|
|
333
|
-
height: '1px',
|
|
334
|
-
position: 'relative',
|
|
335
|
-
flex: '1 1 auto',
|
|
336
|
-
minWidth: '10%',
|
|
337
|
-
background: sectionproperties.linebgcolor,
|
|
338
|
-
}),
|
|
339
|
-
line_right: css({
|
|
340
|
-
height: '1px',
|
|
341
|
-
position: 'relative',
|
|
342
|
-
flex: '1 1 auto',
|
|
343
|
-
minWidth: '10%',
|
|
344
|
-
background: sectionproperties.linebgcolor,
|
|
345
|
-
}),
|
|
346
|
-
filterbtn: css({
|
|
347
|
-
width: sectionproperties.filterbtn_Width + 'px',
|
|
348
|
-
height: sectionproperties.filterbtn_Height + 'px',
|
|
349
|
-
background: sectionproperties.filterbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.filterbtn_bgColor,
|
|
350
|
-
borderBottomLeftRadius: sectionproperties.filterbtn_borderBottomLeftRadius + 'px',
|
|
351
|
-
borderBottomRightRadius: sectionproperties.filterbtn_borderBottomRightRadius + 'px',
|
|
352
|
-
borderTopLeftRadius: sectionproperties.filterbtn_borderTopLeftRadius + 'px',
|
|
353
|
-
borderTopRightRadius: sectionproperties.filterbtn_borderTopRightRadius + 'px',
|
|
354
|
-
color: sectionproperties.filterbtn_Textcolor,
|
|
355
|
-
boxShadow: sectionproperties.filterbtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.filterbtn_shadowcolor : '',
|
|
356
|
-
marginTop: sectionproperties.filterbtn_marginTop + 'px',
|
|
357
|
-
marginBottom: sectionproperties.filterbtn_marginBottom + 'px',
|
|
358
|
-
marginLeft: sectionproperties.filterbtn_marginLeft + 'px',
|
|
359
|
-
marginRight: sectionproperties.filterbtn_marginRight + 'px',
|
|
360
|
-
transition: '.3s',
|
|
361
|
-
':hover': {
|
|
362
|
-
background: sectionproperties.filterbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.filterbtn_bgColoronhover,
|
|
363
|
-
color: sectionproperties.filterbtn_Textcoloronhover,
|
|
364
|
-
},
|
|
365
|
-
}),
|
|
366
|
-
viewmorebtn: css({
|
|
367
|
-
width: sectionproperties.viewmorebtn_Width + 'px',
|
|
368
|
-
height: sectionproperties.viewmorebtn_Height + 'px',
|
|
369
|
-
background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
|
|
370
|
-
borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
|
|
371
|
-
color: sectionproperties.viewmorebtn_Textcolor,
|
|
372
|
-
fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
|
|
373
|
-
fontWeight: sectionproperties.viewmorebtn_fontWeight,
|
|
374
|
-
textDecoration: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'underline' : 'none',
|
|
375
|
-
transition: '.3s',
|
|
376
|
-
':hover': {
|
|
377
|
-
background: sectionproperties.viewmorebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColoronhover,
|
|
378
|
-
color: sectionproperties.viewmorebtn_Textcoloronhover,
|
|
379
|
-
},
|
|
380
|
-
}),
|
|
381
|
-
};
|
|
382
|
-
const ImageSection = () => {
|
|
383
|
-
return (
|
|
384
|
-
<div
|
|
385
|
-
class="mt-sm-3 mb-sm-3"
|
|
386
|
-
style={{
|
|
387
|
-
width: '100%',
|
|
388
|
-
height: '100%',
|
|
389
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
390
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
391
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
392
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
393
|
-
}}
|
|
394
|
-
>
|
|
395
|
-
<Imagekitimagecomp
|
|
396
|
-
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
397
|
-
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
398
|
-
class="h-sm-auto d-flex d-md-none"
|
|
399
|
-
path={bgimagearrayofobjs.length != 0 ? (langdetect == 'en' ? bgimagearrayofobjs[0]?.bgsection_image : bgimagearrayofobjs[0]?.bgsection_image_ar) : ''}
|
|
400
|
-
style={{
|
|
401
|
-
width: '100%',
|
|
402
|
-
height: '100%',
|
|
403
|
-
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
404
|
-
margin: 0,
|
|
405
|
-
padding: 0,
|
|
406
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
407
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
408
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
409
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
410
|
-
}}
|
|
411
|
-
/>
|
|
412
|
-
<Imagekitimagecomp
|
|
413
|
-
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
414
|
-
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
415
|
-
class="h-sm-auto d-none d-md-flex"
|
|
416
|
-
path={bgimagearrayofobjs.length != 0 ? (langdetect == 'en' ? bgimagearrayofobjs[0]?.bgsection_imageresponsive : bgimagearrayofobjs[0]?.bgsection_imageresponsive_ar) : ''}
|
|
417
|
-
style={{
|
|
418
|
-
width: '100%',
|
|
419
|
-
height: '100%',
|
|
420
|
-
objectFit: sectionproperties.bgcovercontainresponsive == 'Cover' ? 'cover' : 'contain',
|
|
421
|
-
margin: 0,
|
|
422
|
-
padding: 0,
|
|
423
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
424
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
425
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
426
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
427
|
-
}}
|
|
428
|
-
/>
|
|
429
|
-
</div>
|
|
430
|
-
);
|
|
431
|
-
};
|
|
432
|
-
const CardsSection = () => {
|
|
433
|
-
return (
|
|
434
|
-
<div class="row m-0 w-100">
|
|
435
|
-
<div class="col-lg-12 p-0">
|
|
436
|
-
<div
|
|
437
|
-
class="row ml-0 mr-0 w-100 pl-md-1 pr-md-1 pl-sm-2 pr-sm-2"
|
|
438
|
-
style={{
|
|
439
|
-
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
440
|
-
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
441
|
-
paddingLeft: sectionproperties.sectionTitleMarginLeft + 'px',
|
|
442
|
-
paddingRight: sectionproperties.sectionTitleMarginRight + 'px',
|
|
443
|
-
}}
|
|
444
|
-
>
|
|
445
|
-
{sectionproperties.sectiontitleshow == 'Show' && (
|
|
446
|
-
<div
|
|
447
|
-
class={
|
|
448
|
-
sectionproperties.viewmorebtnshow == 'Show'
|
|
449
|
-
? ' col-lg-6 col-md-6 col-sm-6 d-flex align-items-center p-0 '
|
|
450
|
-
: ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '
|
|
451
|
-
}
|
|
452
|
-
>
|
|
453
|
-
<div
|
|
454
|
-
class={`${generalstyles.sectiontitlecont}` + ' col-lg-12 p-0 d-flex align-items-center mb-auto mt-sm-auto mb-sm-auto '}
|
|
455
|
-
style={{
|
|
456
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
457
|
-
}}
|
|
458
|
-
>
|
|
459
|
-
<div
|
|
460
|
-
class="d-flex align-items-center flex-row"
|
|
461
|
-
style={{
|
|
462
|
-
position: 'relative',
|
|
463
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
464
|
-
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
465
|
-
}}
|
|
466
|
-
>
|
|
467
|
-
{sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_left + ' d-sm-none '}></span>}
|
|
468
|
-
<p
|
|
469
|
-
class={`${section_cssstyles.sectiontitlespan}` + ' mb-auto mb-0 pb-0 font-sm-18 font-md-20 wordbreak d-flex align-items-center justify-content-start '}
|
|
470
|
-
style={{
|
|
471
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
472
|
-
color: sectionproperties.sectionTitleColor,
|
|
473
|
-
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
474
|
-
paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
|
|
475
|
-
paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
|
|
476
|
-
}}
|
|
477
|
-
>
|
|
478
|
-
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
479
|
-
</p>
|
|
480
|
-
{sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_right + ' d-sm-none '}></span>}
|
|
481
|
-
</div>
|
|
482
|
-
</div>
|
|
483
|
-
</div>
|
|
484
|
-
)}
|
|
485
|
-
<div class="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end justify-content-sm-center p-0">
|
|
486
|
-
<div class="row m-0 w-100 d-flex align-item-center justify-content-end ">
|
|
487
|
-
{sectionproperties.viewmorebtnshow == 'Show' && (
|
|
488
|
-
<div class={'pl-0 pr-0 d-flex justify-content-end justify-content-sm-center pl-1 pr-0'}>
|
|
489
|
-
<button
|
|
490
|
-
class={`${section_cssstyles.viewmorebtn}` + ' w-sm-auto btn-circle-resp m-sm-0 '}
|
|
491
|
-
onClick={() => {
|
|
492
|
-
if (fetchingtype == 'products') {
|
|
493
|
-
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
494
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
|
|
495
|
-
} else {
|
|
496
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
497
|
-
}
|
|
498
|
-
} else {
|
|
499
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
500
|
-
}
|
|
501
|
-
}}
|
|
502
|
-
>
|
|
503
|
-
<span class="d-md-none">{langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar}</span>
|
|
504
|
-
<span class="d-none d-md-flex align-items-center justify-content-center">
|
|
505
|
-
<i class="h-100 d-flex align-items-center justify-content-center">{langdetect == 'en' ? <FaArrowAltCircleRight /> : <FaArrowAltCircleLeft />}</i>
|
|
506
|
-
</span>
|
|
507
|
-
</button>
|
|
508
|
-
</div>
|
|
509
|
-
)}
|
|
510
|
-
</div>
|
|
511
|
-
</div>
|
|
512
|
-
{sectionproperties.showseparator == 'Show' && (
|
|
513
|
-
<div class="col-lg-12 p-0">
|
|
514
|
-
<hr class="mt-2 mb-2" style={{ borderColor: sectionproperties.upperseparatorbgcolor }} />
|
|
515
|
-
</div>
|
|
516
|
-
)}
|
|
517
|
-
</div>
|
|
518
|
-
{StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map((item, index) => {
|
|
519
|
-
if (item.tabexsectioninfo != null) {
|
|
520
|
-
if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
|
|
521
|
-
var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
|
|
522
|
-
return (
|
|
523
|
-
<div class={' row m-0 w-100 d-flex '}>
|
|
524
|
-
{cardsarray.map((cardinfoitem, cardinfoindex) => {
|
|
525
|
-
if (cardinfoindex <= 5) {
|
|
526
|
-
return (
|
|
527
|
-
<div class={'col-xl-4 col-lg-4 col-md-6 col-sm-6 p-0 '}>
|
|
528
|
-
<Sectioncomp
|
|
529
|
-
fetchingtypeprops={fetchingtype}
|
|
530
|
-
cardinfoindexprops={cardinfoindex}
|
|
531
|
-
cardinfoitemprops={cardinfoitem}
|
|
532
|
-
sectionindexprops={index}
|
|
533
|
-
sectionidprops={item.sectionid}
|
|
534
|
-
actions={actions}
|
|
535
|
-
sectiontypeprops2={'vertical'}
|
|
536
|
-
/>
|
|
537
|
-
</div>
|
|
538
|
-
);
|
|
539
|
-
}
|
|
540
|
-
})}
|
|
541
|
-
</div>
|
|
542
|
-
);
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
})}
|
|
546
|
-
</div>
|
|
547
|
-
</div>
|
|
548
|
-
);
|
|
549
|
-
};
|
|
550
|
-
const cardsrender = () => {
|
|
551
|
-
return (
|
|
552
|
-
<div class="col-lg-12 p-0">
|
|
553
|
-
<div class={section_cssstyles.cardcontainer + ' row ml-0 mr-0 w-100 align-items-center pl-md-2 pr-md-2 '}>
|
|
554
|
-
{sectionproperties.sectionstyle == 'Image on left' && (
|
|
555
|
-
<div class="col-lg-12 p-0 h-100">
|
|
556
|
-
<div class="row m-0 w-100 h-100 d-flex align-items-stretch">
|
|
557
|
-
<div class={'col-lg-' + sectionproperties.imagenumberofcols + ' col-md-12 col-sm-12 d-flex align-items-stretch h-sm-auto hmin-sm-auto '} style={{ minHeight: '25vh' }}>
|
|
558
|
-
{ImageSection()}
|
|
559
|
-
</div>
|
|
560
|
-
<div class={'col-lg-' + sectionproperties.sectionnumberofcols + ' col-md-12 col-sm-12 d-flex align-items-stretch mt-md-3 '}>{CardsSection()}</div>
|
|
561
|
-
</div>
|
|
562
|
-
</div>
|
|
563
|
-
)}
|
|
564
|
-
{sectionproperties.sectionstyle == 'Image on right' && (
|
|
565
|
-
<div class="col-lg-12 p-0 h-100">
|
|
566
|
-
<div class="row m-0 w-100 h-100 d-flex align-items-stretch">
|
|
567
|
-
<div class={'col-lg-' + sectionproperties.imagenumberofcols + ' col-md-12 col-sm-12 d-none d-sm-flex align-items-stretch h-sm-auto '}>{ImageSection()}</div>
|
|
568
|
-
<div class={'col-lg-' + sectionproperties.sectionnumberofcols + ' col-md-12 col-sm-12 d-flex align-items-stretch '}>{CardsSection()}</div>
|
|
569
|
-
<div class={'col-lg-' + sectionproperties.imagenumberofcols + ' col-md-12 col-sm-12 d-flex d-sm-none align-items-stretch '} style={{ minHeight: '25vh' }}>
|
|
570
|
-
{ImageSection()}
|
|
571
|
-
</div>
|
|
572
|
-
</div>
|
|
573
|
-
</div>
|
|
574
|
-
)}
|
|
575
|
-
</div>
|
|
576
|
-
</div>
|
|
577
|
-
);
|
|
578
|
-
};
|
|
579
|
-
return (
|
|
580
|
-
<div class="row m-0 d-flex w-100 justify-content-center" style={{ zIndex: 2 }}>
|
|
581
|
-
<div class="col-lg-12 p-0 ">
|
|
582
|
-
{sectionproperties.length != 0 && (
|
|
583
|
-
<div
|
|
584
|
-
class={
|
|
585
|
-
langdetect == 'en' ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 pr-md-0 ' : ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 pl-md-0 '
|
|
586
|
-
}
|
|
587
|
-
>
|
|
588
|
-
{fetchingtype == 'custom' && <>{cardsrender()}</>}
|
|
589
|
-
{fetchingtype != 'custom' && cardsrender()}
|
|
590
|
-
</div>
|
|
591
|
-
)}
|
|
592
|
-
</div>
|
|
593
|
-
</div>
|
|
594
|
-
);
|
|
595
|
-
};
|
|
596
|
-
export default Sixverticalcardssection;
|