tabexseriescomponents 0.2.1069 → 0.2.1071
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 +854 -484
- package/dist/index.esm.js +854 -484
- package/dist/index.umd.js +854 -484
- package/package.json +1 -1
- package/srcbefore27-11/Contexts/LanguageContext.jsx +408 -0
- package/srcbefore27-11/Contexts/ProductsCardsSectionContext.jsx +36 -0
- package/srcbefore27-11/Imagekitconfig copy.jsx +46 -0
- package/srcbefore27-11/Imagekitconfig.jsx +178 -0
- package/srcbefore27-11/StylesJS/Customstyles.js +456 -0
- package/srcbefore27-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +538 -0
- package/srcbefore27-11/TabexComponents/Cards/Card20/Card20.jsx +299 -0
- package/srcbefore27-11/TabexComponents/Cards/Card21/Card21.jsx +388 -0
- package/srcbefore27-11/TabexComponents/Cards/Card22/Card22.jsx +288 -0
- package/srcbefore27-11/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
- package/srcbefore27-11/TabexComponents/Cards/Card23/Card23.jsx +733 -0
- package/srcbefore27-11/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
- package/srcbefore27-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
- package/srcbefore27-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
- package/srcbefore27-11/TabexComponents/Cards/Cardwithdetailsshowonhover/Cardwithdetailsshowonhover.jsx +1074 -0
- package/srcbefore27-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
- package/srcbefore27-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +293 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover/Categorycard_details_onhover.jsx +512 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover copy/Categorycard_details_onhover.jsx +513 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +184 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +208 -0
- package/srcbefore27-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
- package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
- package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +145 -0
- package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
- package/srcbefore27-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
- package/srcbefore27-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +605 -0
- package/srcbefore27-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +817 -0
- package/srcbefore27-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
- package/srcbefore27-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
- package/srcbefore27-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
- package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
- package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
- package/srcbefore27-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +731 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
- package/srcbefore27-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
- package/srcbefore27-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +138 -0
- package/srcbefore27-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +611 -0
- package/srcbefore27-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +600 -0
- package/srcbefore27-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +2321 -0
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +1311 -0
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcardlastversion15-9.jsx +1292 -0
- package/srcbefore27-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
- package/srcbefore27-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
- package/srcbefore27-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
- package/srcbefore27-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
- package/srcbefore27-11/TabexComponents/Cards/Variants_J_Cards/Variants_J_Cards.jsx +660 -0
- package/srcbefore27-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +759 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer1/Footer1.jsx +551 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer2/Footer2.jsx +731 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer3/Footer3.jsx +414 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer5/Footer5.jsx +776 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer7/Footer7.jsx +430 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8 copy.jsx +1970 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8.jsx +2015 -0
- package/srcbefore27-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
- package/srcbefore27-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +582 -0
- package/srcbefore27-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +1165 -0
- package/srcbefore27-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +646 -0
- package/srcbefore27-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
- package/srcbefore27-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +332 -0
- 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 +1264 -0
- package/srcbefore27-11/TabexComponents/Headers/CategoriesComponent/CategoriesComponent.jsx +375 -0
- package/srcbefore27-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1056 -0
- package/srcbefore27-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1498 -0
- package/srcbefore27-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1289 -0
- package/srcbefore27-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
- package/srcbefore27-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +907 -0
- package/srcbefore27-11/TabexComponents/Headers/FloatingIcons/FloatingIcons.jsx +358 -0
- package/srcbefore27-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +875 -0
- package/srcbefore27-11/TabexComponents/Headers/Header4/Header4.jsx +622 -0
- package/srcbefore27-11/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
- package/srcbefore27-11/TabexComponents/Headers/Header8/Header8.jsx +3414 -0
- package/srcbefore27-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +777 -0
- package/srcbefore27-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +933 -0
- package/srcbefore27-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +710 -0
- package/srcbefore27-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
- package/srcbefore27-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +1347 -0
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1566 -0
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +7199 -0
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
- package/srcbefore27-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +941 -0
- package/srcbefore27-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +80 -0
- package/srcbefore27-11/TabexComponents/Headers/Minimalheader/Minimalheader.jsx +846 -0
- package/srcbefore27-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +1198 -0
- package/srcbefore27-11/TabexComponents/Headers/ParentCollectionsComponent/ParentCollectionsComponent.jsx +385 -0
- package/srcbefore27-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +784 -0
- package/srcbefore27-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1186 -0
- package/srcbefore27-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +3711 -0
- package/srcbefore27-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +266 -0
- package/srcbefore27-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +860 -0
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader copy.jsx +950 -0
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader.jsx +1052 -0
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
- package/srcbefore27-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
- package/srcbefore27-11/TabexComponents/Headers/SubheaderDropdown/SubheaderDropdown.jsx +610 -0
- package/srcbefore27-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1049 -0
- package/srcbefore27-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1095 -0
- package/srcbefore27-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +979 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +872 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContentrecent.jsx +895 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +421 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +822 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm19-8beforeattach.jsx +789 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm22-7.jsx +787 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +295 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/PopupCountryComponent/PopupCountryComponent.jsx +120 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +119 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +489 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +633 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +509 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +2323 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +1891 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSectionwithanomation12-1.jsx +2065 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +966 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +1577 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +596 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +394 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/CountDownSection/CountDownSection.jsx +174 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +651 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection20-2.jsx +1017 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +3027 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/MarqueeSection/MarqueeSection.jsx +103 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Preloaderone/Preloaderone.jsx +49 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +384 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards copy.jsx +1576 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +1989 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +474 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +665 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +741 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/TableSection/TableSection.jsx +423 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +636 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
- package/srcbefore27-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +234 -0
- package/srcbefore27-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +306 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +364 -0
- package/srcbefore27-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +1000 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +2506 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout12-12beforeextras.jsx +1999 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Compare/Compare.jsx +79 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter.jsx +3337 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
- package/srcbefore27-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Login/Login.jsx +616 -0
- package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +693 -0
- package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess2.jsx +173 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1831 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
- package/srcbefore27-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +268 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +190 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +224 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductFileUploader.jsx +136 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +347 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +262 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +5566 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeeuro.jsx +3101 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +3047 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo13-5.jsx +2103 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo_28_6.jsx +2189 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfotoday.jsx +2166 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.js +2714 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +2206 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtypetill28-4-2025.jsx +1158 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +1117 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs4-5.jsx +1043 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabstill28-4-2025.jsx +1040 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +905 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +928 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
- package/srcbefore27-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +346 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +367 -0
- package/srcbefore27-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +222 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1505 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm12-5beforeemailrequired.jsx +1476 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
- package/srcbefore27-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +219 -0
- package/srcbefore27-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
- package/srcbefore27-11/button.jsx +40 -0
- package/srcbefore27-11/index.jsx +353 -0
- package/srcbefore27-11/styles/Home.module.css +129 -0
- package/srcbefore27-11/styles/cards/Categorcycard_fullimage.module.css +14 -0
- package/srcbefore27-11/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
- package/srcbefore27-11/styles/cards/Categorycard_withshapes.module.css +189 -0
- package/srcbefore27-11/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
- package/srcbefore27-11/styles/cards/Productcard6.module.css +9 -0
- package/srcbefore27-11/styles/cards/Productccard_with_zoominonhover.module.css +94 -0
- package/srcbefore27-11/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
- package/srcbefore27-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
- package/srcbefore27-11/styles/cards/card23.module.css +60 -0
- package/srcbefore27-11/styles/cards/categorycard.module.css +84 -0
- package/srcbefore27-11/styles/cards/categorycard3.module.css +50 -0
- package/srcbefore27-11/styles/cards/categorycardwithtext.module.css +40 -0
- package/srcbefore27-11/styles/cards/generalCardsStyles.module.css +79 -0
- package/srcbefore27-11/styles/cards/productcard_animatedbuttons.module.css +139 -0
- package/srcbefore27-11/styles/cards/productcard_with_textonhover.module.css +18 -0
- package/srcbefore27-11/styles/cards/productcard_withtextonimage.module.css +0 -0
- package/srcbefore27-11/styles/cards/productccard_with_imageontopleft.module.css +85 -0
- package/srcbefore27-11/styles/general/bootstrap.css +4763 -0
- package/srcbefore27-11/styles/general/dropdown.css +206 -0
- package/srcbefore27-11/styles/general/editorbardropdown.module.css +94 -0
- package/srcbefore27-11/styles/general/filter.module.css +108 -0
- package/srcbefore27-11/styles/general/form.module.css +255 -0
- package/srcbefore27-11/styles/general/general.module.css +872 -0
- package/srcbefore27-11/styles/general/image-gallery.css +531 -0
- package/srcbefore27-11/styles/general/react-accessible-accordion.module.css +52 -0
- package/srcbefore27-11/styles/general/react-phone-input-2.module.css +927 -0
- package/srcbefore27-11/styles/general/scrollbtn.module.css +22 -0
- package/srcbefore27-11/styles/general/slick.module.css +166 -0
- package/srcbefore27-11/styles/general/tabs.module.css +119 -0
- package/srcbefore27-11/styles/general/workplaceeditor.module.css +328 -0
- package/srcbefore27-11/styles/globals.css +26 -0
- package/srcbefore27-11/styles/headers/CTAHeader.module.css +40 -0
- package/srcbefore27-11/styles/headers/CategoryFeaturingHeader.module.css +61 -0
- package/srcbefore27-11/styles/headers/Gotoheader.module.css +87 -0
- package/srcbefore27-11/styles/headers/Header7.module.css +50 -0
- package/srcbefore27-11/styles/headers/HeaderWithAdSlider.module.css +86 -0
- package/srcbefore27-11/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
- package/srcbefore27-11/styles/headers/HeaderWithUtilityBar.module.css +46 -0
- package/srcbefore27-11/styles/headers/Header_threesectionslogocentered.module.css +84 -0
- package/srcbefore27-11/styles/headers/NewHeader.module.css +101 -0
- package/srcbefore27-11/styles/headers/SearchFocusedHeader.module.css +62 -0
- package/srcbefore27-11/styles/headers/Sideheader.module.css +108 -0
- package/srcbefore27-11/styles/headers/Simpleheader.module.css +102 -0
- package/srcbefore27-11/styles/headers/classicheader.module.css +16 -0
- package/srcbefore27-11/styles/headers/classicheaderstyles.module.css +9 -0
- package/srcbefore27-11/styles/headers/dropdown.css +0 -0
- package/srcbefore27-11/styles/headers/header4.module.css +175 -0
- package/srcbefore27-11/styles/headers/header5.module.css +30 -0
- package/srcbefore27-11/styles/headers/header_contactinfo.module.css +53 -0
- package/srcbefore27-11/styles/headers/headerresturant.module.css +89 -0
- package/srcbefore27-11/styles/headers/modernheader.module.css +45 -0
- package/srcbefore27-11/styles/headers/stylishheader.module.css +24 -0
- package/srcbefore27-11/styles/headers/subheader.module.css +114 -0
- package/srcbefore27-11/styles/headers/threetieredheader.module.css +91 -0
- package/srcbefore27-11/styles/sections/BackgroundImageWithTopContent.css +4 -0
- package/srcbefore27-11/styles/sections/Backgroundimage1.module.css +17 -0
- package/srcbefore27-11/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
- package/srcbefore27-11/styles/sections/Freetext.module.css +18 -0
- package/srcbefore27-11/styles/sections/Section_with_rightbgcont.module.css +49 -0
- package/srcbefore27-11/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
- package/srcbefore27-11/styles/sections/Slideshow_with_squarebg.module.css +39 -0
- package/srcbefore27-11/styles/staticpages/accordion.module.css +9 -0
- package/srcbefore27-11/styles/staticpages/cart.module.css +108 -0
- package/srcbefore27-11/styles/staticpages/dropdown.css +196 -0
- package/srcbefore27-11/styles/staticpages/filter.module.css +139 -0
- package/srcbefore27-11/styles/staticpages/image-gallery.css +481 -0
- package/srcbefore27-11/styles/staticpages/login.module.css +155 -0
- package/srcbefore27-11/styles/staticpages/productinfo.module.css +54 -0
- package/srcbefore27-11/styles/staticpages/shop.module.css +191 -0
- package/srcbefore27-11/styles/staticpages/signup.module.css +250 -0
- package/srcbefore27-11/styles/staticpages/staticroutersidenav.module.css +129 -0
- package/srcbefore27-11/styles/staticpages/viewcart.module.css +129 -0
- package/srcbefore27-11/styles/staticpages/wishlist.module.css +29 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
import { IKImage } from 'imagekitio-react';
|
|
3
|
+
export const Imagekitimagecomp = (props) => {
|
|
4
|
+
const [isoutsidelink, setisoutsidelink] = useState(false);
|
|
5
|
+
const [outsidelinkpath, setoutsidelinkpath] = useState('');
|
|
6
|
+
const [cloudflarePath, setcloudflarePath] = useState('');
|
|
7
|
+
const [is_Cloudflare_image, setis_Cloudflare_image] = useState(false);
|
|
8
|
+
const [outsidelink, setoutsidelink] = useState(false);
|
|
9
|
+
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
if (props.path != undefined && props.path != null && props.path.length != 0) {
|
|
12
|
+
// if (props.path[0] == 'h') {
|
|
13
|
+
// setisoutsidelink(true);
|
|
14
|
+
// }
|
|
15
|
+
var imagepath = props.path;
|
|
16
|
+
|
|
17
|
+
if (imagepath.includes('https')) {
|
|
18
|
+
let position = imagepath.search('https');
|
|
19
|
+
let result = imagepath.slice(position);
|
|
20
|
+
// var myArray = imagepath.split('https');
|
|
21
|
+
// if (Array.isArray(myArray)) {
|
|
22
|
+
// if (myArray.length > 1) {
|
|
23
|
+
// }
|
|
24
|
+
// }
|
|
25
|
+
setoutsidelinkpath(result);
|
|
26
|
+
|
|
27
|
+
setoutsidelink(true);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}, [props.path]);
|
|
31
|
+
useEffect(() => {
|
|
32
|
+
// if (props.urlEndpoint != undefined && props.urlEndpoint != null && props.urlEndpoint.length != 0) {
|
|
33
|
+
// var image_urlEndpoint_loc = props.urlEndpoint;
|
|
34
|
+
// if (image_urlEndpoint_loc.includes('image.tabexseries.com')) {
|
|
35
|
+
// setis_Cloudflare_image(true);
|
|
36
|
+
// setoutsidelinkpath(props.path);
|
|
37
|
+
// if (props.path != undefined && props.path != null && props.path.length != 0) {
|
|
38
|
+
// var imagePath = props.path; // e.g. "tr:h-100,w-200/path/to/image.jpg"
|
|
39
|
+
// var urlEndpoint = props.urlEndpoint.replace(/\/+$/, ''); // e.g. "https://image.tabexseries.com"
|
|
40
|
+
|
|
41
|
+
// // Extract the tr: transformation part from the path (e.g. tr:h-100,w-200)
|
|
42
|
+
// var trMatch = imagePath.match(/tr:([^\/]+)/);
|
|
43
|
+
|
|
44
|
+
// var width = null;
|
|
45
|
+
// var height = null;
|
|
46
|
+
|
|
47
|
+
// if (trMatch) {
|
|
48
|
+
// var transformations = trMatch[1].split(',');
|
|
49
|
+
// transformations.forEach((transform) => {
|
|
50
|
+
// if (transform.startsWith('w-')) {
|
|
51
|
+
// width = transform.substring(2);
|
|
52
|
+
// } else if (transform.startsWith('h-')) {
|
|
53
|
+
// height = transform.substring(2);
|
|
54
|
+
// }
|
|
55
|
+
// });
|
|
56
|
+
// }
|
|
57
|
+
|
|
58
|
+
// // Remove the tr: part from the image path to get the clean image path
|
|
59
|
+
// var cleanPath = imagePath.replace(/(?:^|\/)tr:[^\/]+\/+/g, '');
|
|
60
|
+
// cleanPath = cleanPath.replace(/^\/+/, '');
|
|
61
|
+
|
|
62
|
+
// // Only add transforms if both width AND height are present
|
|
63
|
+
// var cfTransformStr = '';
|
|
64
|
+
// if (
|
|
65
|
+
// width != undefined &&
|
|
66
|
+
// width != null &&
|
|
67
|
+
// width != 'null' &&
|
|
68
|
+
// width != 0 &&
|
|
69
|
+
// width != '0' &&
|
|
70
|
+
// width.length != 0 &&
|
|
71
|
+
// height != undefined &&
|
|
72
|
+
// height != null &&
|
|
73
|
+
// height != 0 &&
|
|
74
|
+
// height != '0' &&
|
|
75
|
+
// height != 'null' &&
|
|
76
|
+
// height.length != 0
|
|
77
|
+
// ) {
|
|
78
|
+
// cfTransformStr = `cdn-cgi/image/width=${width},height=${height}/`;
|
|
79
|
+
// }
|
|
80
|
+
|
|
81
|
+
// // Construct the full Cloudflare URL
|
|
82
|
+
// var fullPath = urlEndpoint + '/' + cfTransformStr + cleanPath;
|
|
83
|
+
|
|
84
|
+
// setcloudflarePath(fullPath);
|
|
85
|
+
// }
|
|
86
|
+
// }
|
|
87
|
+
// }
|
|
88
|
+
var image_urlEndpoint_loc = props.urlEndpoint;
|
|
89
|
+
if (props.urlEndpoint != undefined && props.urlEndpoint != null && props?.urlEndpoint?.length != 0) {
|
|
90
|
+
var image_urlEndpoint_loc = props.urlEndpoint;
|
|
91
|
+
if (image_urlEndpoint_loc.includes('image.tabexseries.com')) {
|
|
92
|
+
setis_Cloudflare_image(true);
|
|
93
|
+
setoutsidelinkpath(props.path);
|
|
94
|
+
if (props.path != undefined && props.path != null && props.path.length != 0) {
|
|
95
|
+
var imagePath = props.path; // e.g. "tr:h-100,w-200/path/to/image.jpg"
|
|
96
|
+
var urlEndpoint = props?.urlEndpoint?.replace(/\/+$/, ''); // e.g. "https://image.tabexseries.com"
|
|
97
|
+
|
|
98
|
+
// Extract the tr: transformation part from the path (e.g. tr:h-100,w-200)
|
|
99
|
+
var trMatch = imagePath.match(/tr:([^\/]+)/);
|
|
100
|
+
|
|
101
|
+
var width = null;
|
|
102
|
+
var height = null;
|
|
103
|
+
|
|
104
|
+
if (trMatch) {
|
|
105
|
+
var transformations = trMatch[1].split(',');
|
|
106
|
+
transformations.forEach((transform) => {
|
|
107
|
+
if (transform.startsWith('w-')) {
|
|
108
|
+
width = transform.substring(2);
|
|
109
|
+
} else if (transform.startsWith('h-')) {
|
|
110
|
+
height = transform.substring(2);
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Remove the tr: part from the image path to get the clean image path
|
|
116
|
+
var cleanPath = imagePath.replace(/(?:^|\/)tr:[^\/]+\/+/g, '');
|
|
117
|
+
cleanPath = cleanPath.replace(/^\/+/, '');
|
|
118
|
+
|
|
119
|
+
// Only add transforms if both width AND height are present
|
|
120
|
+
var cfTransformStr = '';
|
|
121
|
+
if (
|
|
122
|
+
width != undefined &&
|
|
123
|
+
width != null &&
|
|
124
|
+
width != 'null' &&
|
|
125
|
+
width != 0 &&
|
|
126
|
+
width != '0' &&
|
|
127
|
+
width.length != 0 &&
|
|
128
|
+
height != undefined &&
|
|
129
|
+
height != null &&
|
|
130
|
+
height != 0 &&
|
|
131
|
+
height != '0' &&
|
|
132
|
+
height != 'null' &&
|
|
133
|
+
height.length != 0
|
|
134
|
+
) {
|
|
135
|
+
cfTransformStr = `cdn-cgi/image/width=${width},height=${height}/`;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// Construct the full Cloudflare URL
|
|
139
|
+
var fullPath = urlEndpoint + '/' + cfTransformStr + cleanPath;
|
|
140
|
+
|
|
141
|
+
setcloudflarePath(fullPath);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}, [props.urlEndpoint, props.path]);
|
|
146
|
+
return (
|
|
147
|
+
<>
|
|
148
|
+
{/* <h3>cloudflare here{cloudflarePath}</h3> */}
|
|
149
|
+
{/* <h3>cloudflare here{outsidelinkpath}</h3> */}
|
|
150
|
+
{is_Cloudflare_image && (
|
|
151
|
+
<>
|
|
152
|
+
{/* <h3>cloudflare here</h3> */}
|
|
153
|
+
{/* <h3>cloudflare - {cloudflarePath}</h3> */}
|
|
154
|
+
<img src={cloudflarePath} style={props.style} loading={props.loading} onClick={props.onClick} class={props.class} />
|
|
155
|
+
</>
|
|
156
|
+
)}
|
|
157
|
+
{!is_Cloudflare_image && (
|
|
158
|
+
<>
|
|
159
|
+
{outsidelink == false && props?.urlEndpoint != undefined && props?.urlEndpoint != '' && (
|
|
160
|
+
<IKImage
|
|
161
|
+
key={props.path}
|
|
162
|
+
urlEndpoint={props?.urlEndpoint}
|
|
163
|
+
// urlEndpoint={'https://ik.imagekit.io/ppcqtfrxp'}
|
|
164
|
+
publicKey={props?.publicKey}
|
|
165
|
+
// publicKey={'public_h8U+4K+MFoeq+MKLf34NST4axAo='}
|
|
166
|
+
path={props.path}
|
|
167
|
+
style={props.style}
|
|
168
|
+
loading={props.loading}
|
|
169
|
+
onClick={props.onClick}
|
|
170
|
+
class={props.class}
|
|
171
|
+
/>
|
|
172
|
+
)}
|
|
173
|
+
{outsidelink && <img src={outsidelinkpath} style={props.style} loading={props.loading} onClick={props.onClick} class={props.class} />}
|
|
174
|
+
</>
|
|
175
|
+
)}
|
|
176
|
+
</>
|
|
177
|
+
);
|
|
178
|
+
};
|
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
export const selectcustomStyles = {
|
|
2
|
+
option: (provided, state) => ({
|
|
3
|
+
...provided,
|
|
4
|
+
borderBottom: '1px solid #e6e6e6',
|
|
5
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
6
|
+
padding: 5,
|
|
7
|
+
textTransform: 'capitalize',
|
|
8
|
+
color: state.isSelected ? '#eac435' : '#022648',
|
|
9
|
+
transition: '.3s',
|
|
10
|
+
'&:hover': {
|
|
11
|
+
color: '#eac435',
|
|
12
|
+
cursor: 'pointer',
|
|
13
|
+
},
|
|
14
|
+
}),
|
|
15
|
+
control: () => ({
|
|
16
|
+
border: '1px solid #e6e6e6',
|
|
17
|
+
// boxShadow: '0 0 10px #e6e6e6',
|
|
18
|
+
borderRadius: '5px',
|
|
19
|
+
display: 'flex',
|
|
20
|
+
cursor: 'pointer',
|
|
21
|
+
transition: '.3s',
|
|
22
|
+
|
|
23
|
+
'&:hover': {
|
|
24
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
25
|
+
},
|
|
26
|
+
}),
|
|
27
|
+
};
|
|
28
|
+
export const selectcustomStylesTranslated = {
|
|
29
|
+
option: (provided, state) => ({
|
|
30
|
+
...provided,
|
|
31
|
+
borderBottom: '1px solid #e6e6e6',
|
|
32
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
33
|
+
padding: 5,
|
|
34
|
+
textTransform: 'capitalize',
|
|
35
|
+
color: state.isSelected ? '#eac435' : '#ffffff',
|
|
36
|
+
transition: '.3s',
|
|
37
|
+
textAlign: 'right',
|
|
38
|
+
'&:hover': {
|
|
39
|
+
color: '#eac435',
|
|
40
|
+
cursor: 'pointer',
|
|
41
|
+
},
|
|
42
|
+
}),
|
|
43
|
+
control: () => ({
|
|
44
|
+
border: '2px solid #e6e6e6',
|
|
45
|
+
// boxShadow: '0 0 10px #e6e6e6',
|
|
46
|
+
borderRadius: '10px',
|
|
47
|
+
display: 'flex',
|
|
48
|
+
cursor: 'pointer',
|
|
49
|
+
transition: '.3s',
|
|
50
|
+
textAlign: 'right',
|
|
51
|
+
'&:hover': {
|
|
52
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
53
|
+
},
|
|
54
|
+
}),
|
|
55
|
+
placeholder: (provided, state) => ({
|
|
56
|
+
...provided,
|
|
57
|
+
textAlign: 'right',
|
|
58
|
+
}),
|
|
59
|
+
};
|
|
60
|
+
export const tabexselect = {
|
|
61
|
+
option: (provided, state) => ({
|
|
62
|
+
...provided,
|
|
63
|
+
borderBottom: '1px solid #e6e6e6',
|
|
64
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
65
|
+
padding: 5,
|
|
66
|
+
textTransform: 'capitalize',
|
|
67
|
+
color: state.isSelected ? '#eac435' : '#022648',
|
|
68
|
+
transition: '.3s',
|
|
69
|
+
'&:hover': {
|
|
70
|
+
color: '#eac435',
|
|
71
|
+
cursor: 'pointer',
|
|
72
|
+
},
|
|
73
|
+
}),
|
|
74
|
+
control: () => ({
|
|
75
|
+
borderBottom: '2px solid #e6e6e6',
|
|
76
|
+
display: 'flex',
|
|
77
|
+
cursor: 'pointer',
|
|
78
|
+
padding: 0,
|
|
79
|
+
height: '30px',
|
|
80
|
+
transition: '.3s',
|
|
81
|
+
fontSize: '13px',
|
|
82
|
+
fontWeight: 600,
|
|
83
|
+
'&:hover': {
|
|
84
|
+
boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
85
|
+
borderRadius: '10px',
|
|
86
|
+
},
|
|
87
|
+
}),
|
|
88
|
+
dropdownIndicator: (provided) => ({
|
|
89
|
+
...provided,
|
|
90
|
+
'&:hover': {
|
|
91
|
+
color: '#eac435',
|
|
92
|
+
},
|
|
93
|
+
}),
|
|
94
|
+
};
|
|
95
|
+
export const selectcustomStylesfromSelect = {
|
|
96
|
+
option: (provided, state) => ({
|
|
97
|
+
...provided,
|
|
98
|
+
borderBottom: '1px solid #e6e6e6',
|
|
99
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
100
|
+
padding: 5,
|
|
101
|
+
textTransform: 'capitalize',
|
|
102
|
+
color: state.isSelected ? '#eac435' : '#022648',
|
|
103
|
+
transition: '.3s',
|
|
104
|
+
'&:hover': {
|
|
105
|
+
color: '#eac435',
|
|
106
|
+
cursor: 'pointer',
|
|
107
|
+
},
|
|
108
|
+
}),
|
|
109
|
+
control: () => ({
|
|
110
|
+
borderBottom: '2px solid #e6e6e6',
|
|
111
|
+
display: 'flex',
|
|
112
|
+
cursor: 'pointer',
|
|
113
|
+
padding: 0,
|
|
114
|
+
transition: '.3s',
|
|
115
|
+
'&:hover': {
|
|
116
|
+
boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
117
|
+
borderRadius: '10px',
|
|
118
|
+
},
|
|
119
|
+
}),
|
|
120
|
+
dropdownIndicator: (provided) => ({
|
|
121
|
+
...provided,
|
|
122
|
+
'&:hover': {
|
|
123
|
+
color: '#eac435',
|
|
124
|
+
},
|
|
125
|
+
}),
|
|
126
|
+
};
|
|
127
|
+
export const selectcustomStylesfromSelectTranslated = {
|
|
128
|
+
option: (provided, state) => ({
|
|
129
|
+
...provided,
|
|
130
|
+
borderBottom: '1px solid #e6e6e6',
|
|
131
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
132
|
+
padding: 5,
|
|
133
|
+
textTransform: 'capitalize',
|
|
134
|
+
color: state.isSelected ? '#eac435' : '#022648',
|
|
135
|
+
transition: '.3s',
|
|
136
|
+
textAlign: 'right',
|
|
137
|
+
'&:hover': {
|
|
138
|
+
color: '#eac435',
|
|
139
|
+
cursor: 'pointer',
|
|
140
|
+
},
|
|
141
|
+
}),
|
|
142
|
+
control: () => ({
|
|
143
|
+
borderBottom: '2px solid #e6e6e6',
|
|
144
|
+
display: 'flex',
|
|
145
|
+
cursor: 'pointer',
|
|
146
|
+
padding: 0,
|
|
147
|
+
transition: '.3s',
|
|
148
|
+
textAlign: 'right',
|
|
149
|
+
'&:hover': {
|
|
150
|
+
boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
151
|
+
},
|
|
152
|
+
}),
|
|
153
|
+
placeholder: (provided, state) => ({
|
|
154
|
+
...provided,
|
|
155
|
+
textAlign: 'right',
|
|
156
|
+
}),
|
|
157
|
+
dropdownIndicator: (provided) => ({
|
|
158
|
+
...provided,
|
|
159
|
+
'&:hover': {
|
|
160
|
+
color: '#eac435',
|
|
161
|
+
},
|
|
162
|
+
}),
|
|
163
|
+
};
|
|
164
|
+
export const defaultstyles = {
|
|
165
|
+
option: (provided, state) => ({
|
|
166
|
+
...provided,
|
|
167
|
+
borderBottom: '1px solid #e6e6e6',
|
|
168
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
169
|
+
padding: 5,
|
|
170
|
+
textTransform: 'capitalize',
|
|
171
|
+
color: state.isSelected ? '#eac435' : '#000000',
|
|
172
|
+
transition: '.3s',
|
|
173
|
+
'&:hover': {
|
|
174
|
+
// color: '#eac435',
|
|
175
|
+
cursor: 'pointer',
|
|
176
|
+
},
|
|
177
|
+
}),
|
|
178
|
+
control: () => ({
|
|
179
|
+
borderBottom: '1px solid #ccc',
|
|
180
|
+
backgroundColor: 'white',
|
|
181
|
+
display: 'flex',
|
|
182
|
+
cursor: 'pointer',
|
|
183
|
+
padding: 0,
|
|
184
|
+
transition: '.3s',
|
|
185
|
+
backgroundColor: 'transparent',
|
|
186
|
+
color: 'red',
|
|
187
|
+
'&:hover': {
|
|
188
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
189
|
+
// borderRadius: '10px',
|
|
190
|
+
},
|
|
191
|
+
}),
|
|
192
|
+
dropdownIndicator: (provided) => ({
|
|
193
|
+
...provided,
|
|
194
|
+
'&:hover': {
|
|
195
|
+
// color: '#eac435',
|
|
196
|
+
},
|
|
197
|
+
}),
|
|
198
|
+
placeholder: (provided, state) => ({
|
|
199
|
+
...provided,
|
|
200
|
+
color: '#000000',
|
|
201
|
+
}),
|
|
202
|
+
};
|
|
203
|
+
export const defaultstyleswhite = {
|
|
204
|
+
option: (provided, state) => ({
|
|
205
|
+
...provided,
|
|
206
|
+
borderBottom: '1px solid #e6e6e6',
|
|
207
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
208
|
+
padding: 5,
|
|
209
|
+
textTransform: 'capitalize',
|
|
210
|
+
color: state.isSelected ? '#eac435' : 'black',
|
|
211
|
+
transition: '.3s',
|
|
212
|
+
'&:hover': {
|
|
213
|
+
cursor: 'pointer',
|
|
214
|
+
},
|
|
215
|
+
}),
|
|
216
|
+
control: () => ({
|
|
217
|
+
borderBottom: '1px solid #ccc',
|
|
218
|
+
display: 'flex',
|
|
219
|
+
cursor: 'pointer',
|
|
220
|
+
padding: 0,
|
|
221
|
+
transition: '.3s',
|
|
222
|
+
backgroundColor: 'white',
|
|
223
|
+
}),
|
|
224
|
+
dropdownIndicator: (provided) => ({
|
|
225
|
+
...provided,
|
|
226
|
+
'&:hover': {
|
|
227
|
+
// color: '#eac435',
|
|
228
|
+
},
|
|
229
|
+
}),
|
|
230
|
+
};
|
|
231
|
+
export const defaultstylestranslatedwhite = {
|
|
232
|
+
option: (provided, state) => ({
|
|
233
|
+
...provided,
|
|
234
|
+
borderBottom: '1px solid #e6e6e6',
|
|
235
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
236
|
+
padding: 5,
|
|
237
|
+
textTransform: 'capitalize',
|
|
238
|
+
// color: state.isSelected ? '#eac435' : '#022648',
|
|
239
|
+
color: state.isSelected ? '#eac435' : '#ffffff',
|
|
240
|
+
transition: '.3s',
|
|
241
|
+
textAlign: 'right',
|
|
242
|
+
'&:hover': {
|
|
243
|
+
// color: '#eac435',
|
|
244
|
+
cursor: 'pointer',
|
|
245
|
+
},
|
|
246
|
+
}),
|
|
247
|
+
control: () => ({
|
|
248
|
+
borderBottom: '1px solid #ccc',
|
|
249
|
+
backgroundColor: 'white',
|
|
250
|
+
display: 'flex',
|
|
251
|
+
cursor: 'pointer',
|
|
252
|
+
padding: 0,
|
|
253
|
+
transition: '.3s',
|
|
254
|
+
textAlign: 'right',
|
|
255
|
+
'&:hover': {
|
|
256
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
257
|
+
// borderRadius: '10px',
|
|
258
|
+
},
|
|
259
|
+
}),
|
|
260
|
+
dropdownIndicator: (provided) => ({
|
|
261
|
+
...provided,
|
|
262
|
+
'&:hover': {
|
|
263
|
+
// color: '#eac435',
|
|
264
|
+
},
|
|
265
|
+
}),
|
|
266
|
+
placeholder: (provided, state) => ({
|
|
267
|
+
...provided,
|
|
268
|
+
textAlign: 'right',
|
|
269
|
+
}),
|
|
270
|
+
};
|
|
271
|
+
export const defaultstylestranslated = {
|
|
272
|
+
option: (provided, state) => ({
|
|
273
|
+
...provided,
|
|
274
|
+
borderBottom: '1px solid #e6e6e6',
|
|
275
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
276
|
+
padding: 5,
|
|
277
|
+
textTransform: 'capitalize',
|
|
278
|
+
// color: state.isSelected ? '#eac435' : '#022648',
|
|
279
|
+
color: state.isSelected ? '#eac435' : 'black',
|
|
280
|
+
transition: '.3s',
|
|
281
|
+
textAlign: 'right',
|
|
282
|
+
'&:hover': {
|
|
283
|
+
// color: '#eac435',
|
|
284
|
+
cursor: 'pointer',
|
|
285
|
+
},
|
|
286
|
+
}),
|
|
287
|
+
control: () => ({
|
|
288
|
+
borderBottom: '1px solid #ccc',
|
|
289
|
+
backgroundColor: 'white',
|
|
290
|
+
display: 'flex',
|
|
291
|
+
cursor: 'pointer',
|
|
292
|
+
padding: 0,
|
|
293
|
+
transition: '.3s',
|
|
294
|
+
textAlign: 'right',
|
|
295
|
+
'&:hover': {
|
|
296
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
297
|
+
// borderRadius: '10px',
|
|
298
|
+
},
|
|
299
|
+
}),
|
|
300
|
+
dropdownIndicator: (provided) => ({
|
|
301
|
+
...provided,
|
|
302
|
+
'&:hover': {
|
|
303
|
+
// color: '#eac435',
|
|
304
|
+
},
|
|
305
|
+
}),
|
|
306
|
+
placeholder: (provided, state) => ({
|
|
307
|
+
...provided,
|
|
308
|
+
textAlign: 'right',
|
|
309
|
+
color: '#000000',
|
|
310
|
+
}),
|
|
311
|
+
};
|
|
312
|
+
export const defaultstylestransparent = {
|
|
313
|
+
option: (provided, state) => ({
|
|
314
|
+
...provided,
|
|
315
|
+
borderBottom: '1px solid #e6e6e6',
|
|
316
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
317
|
+
padding: 5,
|
|
318
|
+
textTransform: 'capitalize',
|
|
319
|
+
color: state.isSelected ? '#eac435' : 'black',
|
|
320
|
+
transition: '.3s',
|
|
321
|
+
'&:hover': {
|
|
322
|
+
// color: '#eac435',
|
|
323
|
+
cursor: 'pointer',
|
|
324
|
+
},
|
|
325
|
+
}),
|
|
326
|
+
control: () => ({
|
|
327
|
+
borderBottom: '1px solid #ccc',
|
|
328
|
+
backgroundColor: 'transparent',
|
|
329
|
+
display: 'flex',
|
|
330
|
+
cursor: 'pointer',
|
|
331
|
+
padding: 0,
|
|
332
|
+
transition: '.3s',
|
|
333
|
+
'&:hover': {
|
|
334
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
335
|
+
// borderRadius: '10px',
|
|
336
|
+
},
|
|
337
|
+
}),
|
|
338
|
+
dropdownIndicator: (provided) => ({
|
|
339
|
+
...provided,
|
|
340
|
+
'&:hover': {
|
|
341
|
+
// color: '#eac435',
|
|
342
|
+
},
|
|
343
|
+
}),
|
|
344
|
+
};
|
|
345
|
+
export const defaultstylestranslatedtransparent = {
|
|
346
|
+
option: (provided, state) => ({
|
|
347
|
+
...provided,
|
|
348
|
+
borderBottom: '1px solid #e6e6e6',
|
|
349
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
350
|
+
padding: 5,
|
|
351
|
+
textTransform: 'capitalize',
|
|
352
|
+
// color: state.isSelected ? '#eac435' : '#022648',
|
|
353
|
+
color: state.isSelected ? '#eac435' : 'black',
|
|
354
|
+
transition: '.3s',
|
|
355
|
+
textAlign: 'right',
|
|
356
|
+
'&:hover': {
|
|
357
|
+
// color: '#eac435',
|
|
358
|
+
cursor: 'pointer',
|
|
359
|
+
},
|
|
360
|
+
}),
|
|
361
|
+
control: () => ({
|
|
362
|
+
borderBottom: '1px solid #ccc',
|
|
363
|
+
backgroundColor: 'transparent',
|
|
364
|
+
display: 'flex',
|
|
365
|
+
cursor: 'pointer',
|
|
366
|
+
padding: 0,
|
|
367
|
+
transition: '.3s',
|
|
368
|
+
textAlign: 'right',
|
|
369
|
+
'&:hover': {
|
|
370
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
371
|
+
// borderRadius: '10px',
|
|
372
|
+
},
|
|
373
|
+
}),
|
|
374
|
+
dropdownIndicator: (provided) => ({
|
|
375
|
+
...provided,
|
|
376
|
+
'&:hover': {
|
|
377
|
+
// color: '#eac435',
|
|
378
|
+
},
|
|
379
|
+
}),
|
|
380
|
+
placeholder: (provided, state) => ({
|
|
381
|
+
...provided,
|
|
382
|
+
textAlign: 'right',
|
|
383
|
+
}),
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
export const defaultstylesnone = {
|
|
387
|
+
option: (provided, state) => ({
|
|
388
|
+
...provided,
|
|
389
|
+
borderBottom: '1px solid #e6e6e6',
|
|
390
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
391
|
+
padding: 5,
|
|
392
|
+
textTransform: 'capitalize',
|
|
393
|
+
color: state.isSelected ? '#eac435' : 'black',
|
|
394
|
+
transition: '.3s',
|
|
395
|
+
'&:hover': {
|
|
396
|
+
// color: '#eac435',
|
|
397
|
+
cursor: 'pointer',
|
|
398
|
+
},
|
|
399
|
+
}),
|
|
400
|
+
control: () => ({
|
|
401
|
+
borderBottom: 'none',
|
|
402
|
+
backgroundColor: 'transparent',
|
|
403
|
+
display: 'flex',
|
|
404
|
+
cursor: 'pointer',
|
|
405
|
+
padding: 0,
|
|
406
|
+
transition: '.3s',
|
|
407
|
+
'&:hover': {
|
|
408
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
409
|
+
// borderRadius: '10px',
|
|
410
|
+
},
|
|
411
|
+
}),
|
|
412
|
+
dropdownIndicator: (provided) => ({
|
|
413
|
+
...provided,
|
|
414
|
+
'&:hover': {
|
|
415
|
+
// color: '#eac435',
|
|
416
|
+
},
|
|
417
|
+
}),
|
|
418
|
+
};
|
|
419
|
+
export const defaultstylesnonear = {
|
|
420
|
+
option: (provided, state) => ({
|
|
421
|
+
...provided,
|
|
422
|
+
borderBottom: '1px solid #e6e6e6',
|
|
423
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
424
|
+
padding: 5,
|
|
425
|
+
textTransform: 'capitalize',
|
|
426
|
+
color: state.isSelected ? '#eac435' : 'black',
|
|
427
|
+
transition: '.3s',
|
|
428
|
+
textAlign: 'right',
|
|
429
|
+
'&:hover': {
|
|
430
|
+
// color: '#eac435',
|
|
431
|
+
cursor: 'pointer',
|
|
432
|
+
},
|
|
433
|
+
}),
|
|
434
|
+
control: () => ({
|
|
435
|
+
borderBottom: 'none',
|
|
436
|
+
backgroundColor: 'transparent',
|
|
437
|
+
display: 'flex',
|
|
438
|
+
cursor: 'pointer',
|
|
439
|
+
padding: 0,
|
|
440
|
+
transition: '.3s',
|
|
441
|
+
textAlign: 'right',
|
|
442
|
+
|
|
443
|
+
'&:hover': {
|
|
444
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
445
|
+
// borderRadius: '10px',
|
|
446
|
+
},
|
|
447
|
+
}),
|
|
448
|
+
dropdownIndicator: (provided) => ({
|
|
449
|
+
...provided,
|
|
450
|
+
textAlign: 'right',
|
|
451
|
+
|
|
452
|
+
'&:hover': {
|
|
453
|
+
// color: '#eac435',
|
|
454
|
+
},
|
|
455
|
+
}),
|
|
456
|
+
};
|