tabexseriescomponents 0.0.706 → 0.0.708
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/srcoman/Contexts/LanguageContext.jsx +408 -0
- package/srcoman/Contexts/ProductsCardsSectionContext.jsx +36 -0
- package/srcoman/Imagekitconfig.jsx +46 -0
- package/srcoman/StylesJS/Customstyles.js +345 -0
- package/srcoman/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
- package/srcoman/TabexComponents/Cards/Card20/Card20.jsx +298 -0
- package/srcoman/TabexComponents/Cards/Card21/Card21.jsx +388 -0
- package/srcoman/TabexComponents/Cards/Card22/Card22.jsx +288 -0
- package/srcoman/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
- package/srcoman/TabexComponents/Cards/Card23/Card23.jsx +742 -0
- package/srcoman/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
- package/srcoman/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
- package/srcoman/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
- package/srcoman/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
- package/srcoman/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +255 -0
- package/srcoman/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
- package/srcoman/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
- package/srcoman/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
- package/srcoman/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
- package/srcoman/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
- package/srcoman/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
- package/srcoman/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
- package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
- package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +146 -0
- package/srcoman/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
- package/srcoman/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
- package/srcoman/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +409 -0
- package/srcoman/TabexComponents/Cards/MenuCard/MenuCard.jsx +732 -0
- package/srcoman/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
- package/srcoman/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
- package/srcoman/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
- package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
- package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
- package/srcoman/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
- package/srcoman/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
- package/srcoman/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
- package/srcoman/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +558 -0
- package/srcoman/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
- package/srcoman/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
- package/srcoman/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
- package/srcoman/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +613 -0
- package/srcoman/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +413 -0
- package/srcoman/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
- package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
- package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
- package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +905 -0
- package/srcoman/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
- package/srcoman/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
- package/srcoman/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
- package/srcoman/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
- package/srcoman/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
- package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +780 -0
- package/srcoman/TabexComponents/Footer/Footer2/Footer2.jsx +527 -0
- package/srcoman/TabexComponents/Footer/Footer3/Footer3.jsx +411 -0
- package/srcoman/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
- package/srcoman/TabexComponents/Footer/Footer5/Footer5.jsx +714 -0
- package/srcoman/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
- package/srcoman/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
- package/srcoman/TabexComponents/Footer/Footer8/Footer8.jsx +533 -0
- package/srcoman/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
- package/srcoman/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +562 -0
- package/srcoman/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +865 -0
- package/srcoman/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +647 -0
- package/srcoman/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
- package/srcoman/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
- package/srcoman/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/srcoman/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1259 -0
- package/srcoman/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1049 -0
- package/srcoman/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1040 -0
- package/srcoman/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1263 -0
- package/srcoman/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
- package/srcoman/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +894 -0
- package/srcoman/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +831 -0
- package/srcoman/TabexComponents/Headers/Header4/Header4.jsx +622 -0
- package/srcoman/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
- package/srcoman/TabexComponents/Headers/Header8/Header8.jsx +1976 -0
- package/srcoman/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +776 -0
- package/srcoman/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +927 -0
- package/srcoman/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +704 -0
- package/srcoman/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
- package/srcoman/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +953 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1562 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +1610 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
- package/srcoman/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +934 -0
- package/srcoman/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +78 -0
- package/srcoman/TabexComponents/Headers/Modernheader/Modernheader.jsx +972 -0
- package/srcoman/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
- package/srcoman/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1159 -0
- package/srcoman/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +1073 -0
- package/srcoman/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +133 -0
- package/srcoman/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
- package/srcoman/TabexComponents/Headers/Subheader/Subheader.jsx +863 -0
- package/srcoman/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
- package/srcoman/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
- package/srcoman/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
- package/srcoman/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1042 -0
- package/srcoman/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1089 -0
- package/srcoman/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +936 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +870 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +393 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +627 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +288 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +117 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +462 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +617 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +408 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1898 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
- package/srcoman/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
- package/srcoman/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +929 -0
- package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
- package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +962 -0
- package/srcoman/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +582 -0
- package/srcoman/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
- package/srcoman/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +437 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
- package/srcoman/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1769 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +380 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +867 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +520 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +643 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +619 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +614 -0
- package/srcoman/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
- package/srcoman/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
- package/srcoman/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
- package/srcoman/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
- package/srcoman/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +797 -0
- package/srcoman/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout.jsx +1892 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
- package/srcoman/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter.jsx +2771 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
- package/srcoman/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
- package/srcoman/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
- package/srcoman/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
- package/srcoman/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
- package/srcoman/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
- package/srcoman/TabexComponents/StaticPages/Login/Login.jsx +610 -0
- package/srcoman/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +172 -0
- package/srcoman/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1584 -0
- package/srcoman/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
- package/srcoman/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +255 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +176 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +92 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +312 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1983 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1946 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +1037 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +966 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +632 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +919 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
- package/srcoman/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
- package/srcoman/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
- package/srcoman/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +359 -0
- package/srcoman/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
- package/srcoman/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
- package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
- package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1364 -0
- package/srcoman/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
- package/srcoman/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
- package/srcoman/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
- package/srcoman/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
- package/srcoman/button.jsx +40 -0
- package/srcoman/index.jsx +334 -0
- package/srcoman/styles/Home.module.css +129 -0
- package/srcoman/styles/cards/Categorcycard_fullimage.module.css +14 -0
- package/srcoman/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
- package/srcoman/styles/cards/Categorycard_withshapes.module.css +189 -0
- package/srcoman/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
- package/srcoman/styles/cards/Productcard6.module.css +9 -0
- package/srcoman/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
- package/srcoman/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
- package/srcoman/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
- package/srcoman/styles/cards/card23.module.css +60 -0
- package/srcoman/styles/cards/categorycard.module.css +84 -0
- package/srcoman/styles/cards/categorycard3.module.css +50 -0
- package/srcoman/styles/cards/categorycardwithtext.module.css +40 -0
- package/srcoman/styles/cards/generalCardsStyles.module.css +79 -0
- package/srcoman/styles/cards/productcard_animatedbuttons.module.css +139 -0
- package/srcoman/styles/cards/productcard_with_textonhover.module.css +18 -0
- package/srcoman/styles/cards/productcard_withtextonimage.module.css +0 -0
- package/srcoman/styles/cards/productccard_with_imageontopleft.module.css +85 -0
- package/srcoman/styles/general/bootstrap.css +4763 -0
- package/srcoman/styles/general/dropdown.css +206 -0
- package/srcoman/styles/general/editorbardropdown.module.css +94 -0
- package/srcoman/styles/general/filter.module.css +108 -0
- package/srcoman/styles/general/form.module.css +255 -0
- package/srcoman/styles/general/general.module.css +872 -0
- package/srcoman/styles/general/image-gallery.css +531 -0
- package/srcoman/styles/general/react-accessible-accordion.module.css +52 -0
- package/srcoman/styles/general/react-phone-input-2.module.css +927 -0
- package/srcoman/styles/general/scrollbtn.module.css +22 -0
- package/srcoman/styles/general/slick.module.css +166 -0
- package/srcoman/styles/general/tabs.module.css +119 -0
- package/srcoman/styles/general/workplaceeditor.module.css +328 -0
- package/srcoman/styles/globals.css +26 -0
- package/srcoman/styles/headers/CTAHeader.module.css +40 -0
- package/srcoman/styles/headers/CategoryFeaturingHeader.module.css +61 -0
- package/srcoman/styles/headers/Gotoheader.module.css +87 -0
- package/srcoman/styles/headers/Header7.module.css +50 -0
- package/srcoman/styles/headers/HeaderWithAdSlider.module.css +86 -0
- package/srcoman/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
- package/srcoman/styles/headers/HeaderWithUtilityBar.module.css +46 -0
- package/srcoman/styles/headers/Header_threesectionslogocentered.module.css +84 -0
- package/srcoman/styles/headers/NewHeader.module.css +101 -0
- package/srcoman/styles/headers/SearchFocusedHeader.module.css +62 -0
- package/srcoman/styles/headers/Sideheader.module.css +108 -0
- package/srcoman/styles/headers/Simpleheader.module.css +102 -0
- package/srcoman/styles/headers/classicheader.module.css +16 -0
- package/srcoman/styles/headers/classicheaderstyles.module.css +9 -0
- package/srcoman/styles/headers/dropdown.css +0 -0
- package/srcoman/styles/headers/header4.module.css +175 -0
- package/srcoman/styles/headers/header5.module.css +30 -0
- package/srcoman/styles/headers/header_contactinfo.module.css +53 -0
- package/srcoman/styles/headers/headerresturant.module.css +89 -0
- package/srcoman/styles/headers/modernheader.module.css +45 -0
- package/srcoman/styles/headers/stylishheader.module.css +24 -0
- package/srcoman/styles/headers/subheader.module.css +114 -0
- package/srcoman/styles/headers/threetieredheader.module.css +91 -0
- package/srcoman/styles/sections/BackgroundImageWithTopContent.css +4 -0
- package/srcoman/styles/sections/Backgroundimage1.module.css +17 -0
- package/srcoman/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
- package/srcoman/styles/sections/Freetext.module.css +18 -0
- package/srcoman/styles/sections/Section_with_rightbgcont.module.css +49 -0
- package/srcoman/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
- package/srcoman/styles/sections/Slideshow_with_squarebg.module.css +39 -0
- package/srcoman/styles/staticpages/accordion.module.css +9 -0
- package/srcoman/styles/staticpages/cart.module.css +108 -0
- package/srcoman/styles/staticpages/dropdown.css +196 -0
- package/srcoman/styles/staticpages/filter.module.css +139 -0
- package/srcoman/styles/staticpages/image-gallery.css +481 -0
- package/srcoman/styles/staticpages/login.module.css +155 -0
- package/srcoman/styles/staticpages/productinfo.module.css +54 -0
- package/srcoman/styles/staticpages/shop.module.css +191 -0
- package/srcoman/styles/staticpages/signup.module.css +250 -0
- package/srcoman/styles/staticpages/staticroutersidenav.module.css +129 -0
- package/srcoman/styles/staticpages/viewcart.module.css +129 -0
- package/srcoman/styles/staticpages/wishlist.module.css +29 -0
|
@@ -0,0 +1,632 @@
|
|
|
1
|
+
//productidprops
|
|
2
|
+
import React, { useEffect, useState } from 'react';
|
|
3
|
+
import productinfostyles from '../../../styles/staticpages/productinfo.module.css';
|
|
4
|
+
import '../../../styles/staticpages/image-gallery.css';
|
|
5
|
+
import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
|
|
6
|
+
import loginstyles from '../../../styles/staticpages/signup.module.css';
|
|
7
|
+
import { css } from 'glamor';
|
|
8
|
+
import { defaultstylesnone } from '../../../StylesJS/Customstyles';
|
|
9
|
+
|
|
10
|
+
const Select = React.lazy(() => import('react-select'));
|
|
11
|
+
|
|
12
|
+
const Variantoptions = (props) => {
|
|
13
|
+
const productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
14
|
+
const lang = props.actions.lang;
|
|
15
|
+
const langdetect = props.actions.langdetect;
|
|
16
|
+
const variantvalueidentifier = props.actions.variantvalueidentifier;
|
|
17
|
+
const selectproductoptionvalue = props.actions.selectproductoptionvalue;
|
|
18
|
+
const clearchoosenvaluesbutkeepcurrentvalue = props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
19
|
+
const fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
20
|
+
const sectionproperties = props.actions.sectionproperties;
|
|
21
|
+
const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
22
|
+
const ProductInfoObj = props.actions.ProductInfoObj;
|
|
23
|
+
const [variantidentifier, setvariantidentifier] = useState('');
|
|
24
|
+
const variantindexcompleted = props.actions.variantindexcompleted;
|
|
25
|
+
|
|
26
|
+
const formstyles = {
|
|
27
|
+
input_label_name: css({
|
|
28
|
+
color: sectionproperties.form_labelcolor,
|
|
29
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
30
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
31
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
32
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0,
|
|
33
|
+
}),
|
|
34
|
+
form_control: css({
|
|
35
|
+
background: 'transparent',
|
|
36
|
+
color: sectionproperties.inputfieldcolor,
|
|
37
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
38
|
+
position: 'relative',
|
|
39
|
+
display: 'flex',
|
|
40
|
+
alignItems: 'center',
|
|
41
|
+
display: 'block',
|
|
42
|
+
width: '100%',
|
|
43
|
+
// height: '35px',
|
|
44
|
+
padding: '0 10px',
|
|
45
|
+
transition: '.3s',
|
|
46
|
+
border: sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0,
|
|
47
|
+
borderBottom: sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor,
|
|
48
|
+
borderRadius: sectionproperties.inputfieldborderradius + 'px',
|
|
49
|
+
height: sectionproperties.inputfieldheight + 'px',
|
|
50
|
+
background: sectionproperties.input_bgcolor,
|
|
51
|
+
color: sectionproperties.inputfieldcolor,
|
|
52
|
+
':focus': {
|
|
53
|
+
borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
54
|
+
},
|
|
55
|
+
':focus .login_input_icon': {
|
|
56
|
+
color: sectionproperties.inputfeildbordercoloronfocus,
|
|
57
|
+
},
|
|
58
|
+
}),
|
|
59
|
+
};
|
|
60
|
+
const issingleoptionoutofstock = (valueitem) => {
|
|
61
|
+
var current_quantity = 0;
|
|
62
|
+
var isoutofstock = false;
|
|
63
|
+
|
|
64
|
+
if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1) {
|
|
65
|
+
ProductInfoObj?.data?.productinfo?.variants?.forEach(function (varitem) {
|
|
66
|
+
varitem?.variantoptions?.forEach(function (varoptionitem) {
|
|
67
|
+
if (varoptionitem.valueid == valueitem.valueid) {
|
|
68
|
+
current_quantity = varitem.current_quantity;
|
|
69
|
+
if (varitem.current_quantity <= 0) {
|
|
70
|
+
if (ProductInfoObj?.data?.productinfo?.quantavailtype == 'limit') {
|
|
71
|
+
isoutofstock = true;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
return { isoutofstock: isoutofstock, current_quantity: current_quantity };
|
|
80
|
+
};
|
|
81
|
+
const outofstock_div = () => {
|
|
82
|
+
return (
|
|
83
|
+
<div>
|
|
84
|
+
<p style={{ color: 'red' }}>Out of stock</p>
|
|
85
|
+
</div>
|
|
86
|
+
);
|
|
87
|
+
};
|
|
88
|
+
return (
|
|
89
|
+
<>
|
|
90
|
+
{fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 1 && sectionproperties.productInformationType == 'Product/Service Information' && (
|
|
91
|
+
<div className={props.srcprops == 'reservation' ? 'row mx-0 mt-3 w-100 d-flex align-items-start' : 'row m-0 w-100 d-flex align-items-start'}>
|
|
92
|
+
{/* <h1>Variants options</h1> */}
|
|
93
|
+
{sectionproperties.variantstyle == 'Slider' &&
|
|
94
|
+
ProductInfoObj?.data?.productinfo?.productoptions?.map((item, index) => {
|
|
95
|
+
return (
|
|
96
|
+
<div className="col-lg-12 p-0 mb-3 d-flex justify-content-start">
|
|
97
|
+
<div className="row m-0 w-100 d-flex align-items-start">
|
|
98
|
+
<div className="col-lg-12 col-md-12 p-0 d-flex">
|
|
99
|
+
<p
|
|
100
|
+
className={' m-0 p-0 wordbreak'}
|
|
101
|
+
style={{
|
|
102
|
+
color: sectionproperties.varianttitle_color,
|
|
103
|
+
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
104
|
+
textTransform: sectionproperties.varianttitle_texttransform,
|
|
105
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px',
|
|
106
|
+
}}
|
|
107
|
+
>
|
|
108
|
+
{sectionproperties.showselect == 'Show' && <span>{lang.select}</span>} {''} {langdetect == 'en' ? item.optionname : item.optionname_ar}:{' '}
|
|
109
|
+
{item.optionname == 'color' || (item.optionname == 'Color' && <span style={{ color: '#62554a' }}>{variantvalueidentifier}</span>)}
|
|
110
|
+
</p>
|
|
111
|
+
</div>
|
|
112
|
+
<div
|
|
113
|
+
className="col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1"
|
|
114
|
+
style={{
|
|
115
|
+
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0,
|
|
116
|
+
}}
|
|
117
|
+
>
|
|
118
|
+
{item.optionvalues.map((optionvaluesitem, optionvaluesindex) => {
|
|
119
|
+
var isoptionvalueselected = 0;
|
|
120
|
+
if (optionvaluesitem.isselected == 1) {
|
|
121
|
+
isoptionvalueselected = 1;
|
|
122
|
+
} else {
|
|
123
|
+
isoptionvalueselected = 0;
|
|
124
|
+
}
|
|
125
|
+
var isoptionvaluedenabled = 0;
|
|
126
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
127
|
+
isoptionvaluedenabled = 1;
|
|
128
|
+
} else {
|
|
129
|
+
isoptionvaluedenabled = 0;
|
|
130
|
+
}
|
|
131
|
+
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
132
|
+
return (
|
|
133
|
+
<>
|
|
134
|
+
<div
|
|
135
|
+
className={
|
|
136
|
+
productinfostyles.color_container + ' mr-2 variabttcontainer ' + `${productinfostyles.color_container_active}`
|
|
137
|
+
// `${isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''}`
|
|
138
|
+
}
|
|
139
|
+
onClick={() => {
|
|
140
|
+
// here
|
|
141
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
142
|
+
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
143
|
+
} else {
|
|
144
|
+
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
145
|
+
}
|
|
146
|
+
}}
|
|
147
|
+
style={{
|
|
148
|
+
background: optionvaluesitem.valuename,
|
|
149
|
+
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : '1px solid #ccc',
|
|
150
|
+
|
|
151
|
+
// borderWidth: isoptionvalueselected == 1 ? '2px' : 0,
|
|
152
|
+
// opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
|
|
153
|
+
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
154
|
+
}}
|
|
155
|
+
></div>
|
|
156
|
+
{/* <div style={{ width: '100%' }}>
|
|
157
|
+
{issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] ? outofstock_div() : ''}
|
|
158
|
+
<p>q: {issingleoptionoutofstock(optionvaluesitem)['current_quantity']} </p>
|
|
159
|
+
</div> */}
|
|
160
|
+
</>
|
|
161
|
+
);
|
|
162
|
+
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
163
|
+
return (
|
|
164
|
+
<div
|
|
165
|
+
className={
|
|
166
|
+
issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show'
|
|
167
|
+
? `${productinfostyles.variant_container} ${productinfostyles.size_variant_container}` +
|
|
168
|
+
' mr-2 variabttcontainer allcentered showcrossicon ' +
|
|
169
|
+
`${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
170
|
+
: `${productinfostyles.variant_container} ${productinfostyles.size_variant_container}` +
|
|
171
|
+
' mr-2 variabttcontainer allcentered ' +
|
|
172
|
+
`${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
173
|
+
}
|
|
174
|
+
onClick={() => {
|
|
175
|
+
if (issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show') {
|
|
176
|
+
} else {
|
|
177
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
178
|
+
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
179
|
+
} else {
|
|
180
|
+
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}}
|
|
184
|
+
style={{
|
|
185
|
+
// activeproductcolor
|
|
186
|
+
cursor:
|
|
187
|
+
issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show'
|
|
188
|
+
? 'not-allowed'
|
|
189
|
+
: isoptionvaluedenabled == 1
|
|
190
|
+
? 'pointer'
|
|
191
|
+
: 'not-allowed',
|
|
192
|
+
backgroundColor:
|
|
193
|
+
sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null
|
|
194
|
+
? sectionproperties.variantcontainer_bgcolor
|
|
195
|
+
: isoptionvalueselected == 1
|
|
196
|
+
? 'green'
|
|
197
|
+
: isoptionvaluedenabled == 1
|
|
198
|
+
? sectionproperties.variantcontainer_bgcolor
|
|
199
|
+
: 'grey',
|
|
200
|
+
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
201
|
+
height: sectionproperties.variantcontainer_height + 'px',
|
|
202
|
+
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
203
|
+
position: 'relative',
|
|
204
|
+
border:
|
|
205
|
+
isoptionvalueselected == 1
|
|
206
|
+
? '2px solid ' + sectionproperties.activeproductcolor
|
|
207
|
+
: isoptionvaluedenabled == 1
|
|
208
|
+
? '1px solid ' + sectionproperties.variantcontainerbordercolor
|
|
209
|
+
: '1px solid ' + ' grey ',
|
|
210
|
+
}}
|
|
211
|
+
>
|
|
212
|
+
{isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && (
|
|
213
|
+
<p
|
|
214
|
+
class="m-0 p-0 bg-danger bgdanger-hover"
|
|
215
|
+
style={{
|
|
216
|
+
position: 'absolute',
|
|
217
|
+
top: '-15px',
|
|
218
|
+
right: '-5px',
|
|
219
|
+
width: '3vh',
|
|
220
|
+
height: '3vh',
|
|
221
|
+
borderRadius: 100,
|
|
222
|
+
}}
|
|
223
|
+
>
|
|
224
|
+
<i class="h-100 allcentered">
|
|
225
|
+
<IoMdClose />
|
|
226
|
+
</i>
|
|
227
|
+
</p>
|
|
228
|
+
)}
|
|
229
|
+
<p
|
|
230
|
+
className={'wordbreak m-0 p-0 d-flex align-items-center justify-content-center'}
|
|
231
|
+
style={{
|
|
232
|
+
color:
|
|
233
|
+
sectionproperties.variantcontainerbordercolor != undefined &&
|
|
234
|
+
sectionproperties.variantcontainerbordercolor != null &&
|
|
235
|
+
isoptionvalueselected == 1
|
|
236
|
+
? sectionproperties.activeproductcolor
|
|
237
|
+
: sectionproperties.variantcontainer_color,
|
|
238
|
+
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
239
|
+
fontWeight: 500,
|
|
240
|
+
}}
|
|
241
|
+
>
|
|
242
|
+
{langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
|
|
243
|
+
</p>
|
|
244
|
+
{/* sectionproperties.showoutofstockwithoutselection */}
|
|
245
|
+
{/* <div style={{ width: '100%' }}>
|
|
246
|
+
{issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] ? outofstock_div() : ''}
|
|
247
|
+
<p>q: {issingleoptionoutofstock(optionvaluesitem)['current_quantity']} </p>
|
|
248
|
+
</div> */}
|
|
249
|
+
</div>
|
|
250
|
+
);
|
|
251
|
+
} else {
|
|
252
|
+
return (
|
|
253
|
+
<div
|
|
254
|
+
className={
|
|
255
|
+
productinfostyles.variant_container +
|
|
256
|
+
' mr-2 variabttcontainer allcentered pl-2 pr-2 ' +
|
|
257
|
+
`${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
258
|
+
}
|
|
259
|
+
onClick={() => {
|
|
260
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
261
|
+
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
262
|
+
} else {
|
|
263
|
+
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
264
|
+
}
|
|
265
|
+
}}
|
|
266
|
+
style={{
|
|
267
|
+
backgroundColor:
|
|
268
|
+
sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null
|
|
269
|
+
? sectionproperties.variantcontainer_bgcolor
|
|
270
|
+
: isoptionvalueselected == 1
|
|
271
|
+
? 'green'
|
|
272
|
+
: isoptionvaluedenabled == 1
|
|
273
|
+
? sectionproperties.variantcontainer_bgcolor
|
|
274
|
+
: 'grey',
|
|
275
|
+
width: 'auto',
|
|
276
|
+
height: sectionproperties.variantcontainer_height + 'px',
|
|
277
|
+
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
278
|
+
position: 'relative',
|
|
279
|
+
border:
|
|
280
|
+
isoptionvalueselected == 1
|
|
281
|
+
? '2px solid green'
|
|
282
|
+
: isoptionvaluedenabled == 1
|
|
283
|
+
? '1px solid ' + sectionproperties.variantcontainerbordercolor
|
|
284
|
+
: '1px solid ' + ' grey ',
|
|
285
|
+
}}
|
|
286
|
+
>
|
|
287
|
+
{isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && (
|
|
288
|
+
<p
|
|
289
|
+
class="m-0 p-0 bg-danger bgdanger-hover"
|
|
290
|
+
style={{
|
|
291
|
+
position: 'absolute',
|
|
292
|
+
top: '-15px',
|
|
293
|
+
right: '-5px',
|
|
294
|
+
width: '3vh',
|
|
295
|
+
height: '3vh',
|
|
296
|
+
borderRadius: 100,
|
|
297
|
+
}}
|
|
298
|
+
>
|
|
299
|
+
<i class="h-100 allcentered">
|
|
300
|
+
<IoMdClose />
|
|
301
|
+
</i>
|
|
302
|
+
</p>
|
|
303
|
+
)}
|
|
304
|
+
<p
|
|
305
|
+
className={'m-0 p-0 allcentered'}
|
|
306
|
+
style={{
|
|
307
|
+
fontWeight: 500,
|
|
308
|
+
// color: sectionproperties.variantcontainer_color,
|
|
309
|
+
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
310
|
+
color:
|
|
311
|
+
sectionproperties.variantcontainerbordercolor != undefined &&
|
|
312
|
+
sectionproperties.variantcontainerbordercolor != null &&
|
|
313
|
+
isoptionvalueselected == 1
|
|
314
|
+
? 'green'
|
|
315
|
+
: sectionproperties.variantcontainer_color,
|
|
316
|
+
}}
|
|
317
|
+
>
|
|
318
|
+
{langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
|
|
319
|
+
</p>
|
|
320
|
+
</div>
|
|
321
|
+
);
|
|
322
|
+
}
|
|
323
|
+
})}
|
|
324
|
+
</div>
|
|
325
|
+
</div>
|
|
326
|
+
</div>
|
|
327
|
+
);
|
|
328
|
+
})}
|
|
329
|
+
{langdetect == 'en' && fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantdescription_en && (
|
|
330
|
+
<div class="my-3 col-lg-12 p-0">
|
|
331
|
+
<p
|
|
332
|
+
className={'m-0 p-0 wordbreak'}
|
|
333
|
+
style={{
|
|
334
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
335
|
+
color: '#000000',
|
|
336
|
+
}}
|
|
337
|
+
dangerouslySetInnerHTML={{
|
|
338
|
+
__html:
|
|
339
|
+
langdetect == 'en'
|
|
340
|
+
? fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantdescription_en
|
|
341
|
+
: fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantdescription_ar,
|
|
342
|
+
}}
|
|
343
|
+
></p>
|
|
344
|
+
</div>
|
|
345
|
+
)}
|
|
346
|
+
{langdetect == 'ar' && fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantdescription_ar && (
|
|
347
|
+
<div class="my-3 col-lg-12 p-0">
|
|
348
|
+
<p
|
|
349
|
+
className={'m-0 p-0 wordbreak'}
|
|
350
|
+
style={{
|
|
351
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
352
|
+
color: '#000000',
|
|
353
|
+
}}
|
|
354
|
+
dangerouslySetInnerHTML={{
|
|
355
|
+
__html:
|
|
356
|
+
langdetect == 'en'
|
|
357
|
+
? fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantdescription_en
|
|
358
|
+
: fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantdescription_ar,
|
|
359
|
+
}}
|
|
360
|
+
></p>
|
|
361
|
+
</div>
|
|
362
|
+
)}
|
|
363
|
+
{sectionproperties.variantstyle == 'Vertical' &&
|
|
364
|
+
ProductInfoObj?.data?.productinfo?.productoptions?.map((item, index) => {
|
|
365
|
+
return (
|
|
366
|
+
<ul class="thwvsf-wrapper-ul">
|
|
367
|
+
<div className="row m-0 w-100 d-flex align-items-start mb-2">
|
|
368
|
+
<div className="col-lg-12 col-md-12 p-0 d-flex">
|
|
369
|
+
<p
|
|
370
|
+
className={' m-0 p-0 wordbreak'}
|
|
371
|
+
style={{
|
|
372
|
+
color: sectionproperties.varianttitle_color,
|
|
373
|
+
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
374
|
+
textTransform: sectionproperties.varianttitle_texttransform,
|
|
375
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px',
|
|
376
|
+
}}
|
|
377
|
+
>
|
|
378
|
+
{sectionproperties.showselect == 'Show' && <span>{lang.select}</span>} {''} {langdetect == 'en' ? item.optionname : item.optionname_ar}:
|
|
379
|
+
</p>
|
|
380
|
+
</div>
|
|
381
|
+
</div>
|
|
382
|
+
|
|
383
|
+
{item.optionvalues.map((optionvaluesitem, optionvaluesindex) => {
|
|
384
|
+
var isoptionvalueselected = 0;
|
|
385
|
+
if (optionvaluesitem.isselected == 1) {
|
|
386
|
+
isoptionvalueselected = 1;
|
|
387
|
+
} else {
|
|
388
|
+
isoptionvalueselected = 0;
|
|
389
|
+
}
|
|
390
|
+
var isoptionvaluedenabled = 0;
|
|
391
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
392
|
+
isoptionvaluedenabled = 1;
|
|
393
|
+
} else {
|
|
394
|
+
isoptionvaluedenabled = 0;
|
|
395
|
+
}
|
|
396
|
+
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
397
|
+
return (
|
|
398
|
+
<li
|
|
399
|
+
style={{
|
|
400
|
+
width: 'auto',
|
|
401
|
+
}}
|
|
402
|
+
>
|
|
403
|
+
<div
|
|
404
|
+
className={
|
|
405
|
+
productinfostyles.color_container +
|
|
406
|
+
' mx-1 mb-2 variabttcontainer ' +
|
|
407
|
+
`${isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''}`
|
|
408
|
+
}
|
|
409
|
+
onClick={() => {
|
|
410
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
411
|
+
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
412
|
+
} else {
|
|
413
|
+
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
414
|
+
}
|
|
415
|
+
}}
|
|
416
|
+
style={{
|
|
417
|
+
background: optionvaluesitem.valuename,
|
|
418
|
+
opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
|
|
419
|
+
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
420
|
+
}}
|
|
421
|
+
></div>
|
|
422
|
+
</li>
|
|
423
|
+
);
|
|
424
|
+
} else {
|
|
425
|
+
// else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
426
|
+
return (
|
|
427
|
+
<li
|
|
428
|
+
style={{
|
|
429
|
+
width: 'auto',
|
|
430
|
+
}}
|
|
431
|
+
>
|
|
432
|
+
<div
|
|
433
|
+
className={
|
|
434
|
+
`${productinfo_cssstyles.variant_container}` +
|
|
435
|
+
' mx-1 mb-2 variabttcontainer allcentered px-2 ' +
|
|
436
|
+
`${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
437
|
+
}
|
|
438
|
+
onClick={() => {
|
|
439
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
440
|
+
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
441
|
+
} else {
|
|
442
|
+
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
443
|
+
}
|
|
444
|
+
}}
|
|
445
|
+
style={{
|
|
446
|
+
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
447
|
+
backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
448
|
+
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
449
|
+
height: sectionproperties.variantcontainer_height + 'px',
|
|
450
|
+
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
451
|
+
position: 'relative',
|
|
452
|
+
border:
|
|
453
|
+
isoptionvalueselected == 1
|
|
454
|
+
? '1px solid green'
|
|
455
|
+
: isoptionvaluedenabled == 1
|
|
456
|
+
? '1px solid ' + sectionproperties.variantcontainerbordercolor
|
|
457
|
+
: '1px solid ' + ' grey ',
|
|
458
|
+
}}
|
|
459
|
+
>
|
|
460
|
+
<p className={'wordbreak m-0 p-0 d-flex align-items-center justify-content-center'} style={{}}>
|
|
461
|
+
{langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
|
|
462
|
+
</p>
|
|
463
|
+
</div>
|
|
464
|
+
</li>
|
|
465
|
+
);
|
|
466
|
+
}
|
|
467
|
+
// else {
|
|
468
|
+
// return (
|
|
469
|
+
// <li
|
|
470
|
+
// style={{
|
|
471
|
+
// width: 'auto',
|
|
472
|
+
// }}
|
|
473
|
+
// >
|
|
474
|
+
// <div
|
|
475
|
+
// className={
|
|
476
|
+
// productinfostyles.variant_container +
|
|
477
|
+
// ' mx-2 mb-2 variabttcontainer allcentered pl-2 pr-2 ' +
|
|
478
|
+
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
479
|
+
// }
|
|
480
|
+
// onClick={() => {
|
|
481
|
+
// if (optionvaluesitem.isenabled == 1) {
|
|
482
|
+
// selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
483
|
+
// } else {
|
|
484
|
+
// clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
485
|
+
// }
|
|
486
|
+
// }}
|
|
487
|
+
// style={{
|
|
488
|
+
// backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
489
|
+
// width: 'auto',
|
|
490
|
+
// height: sectionproperties.variantcontainer_height + 'px',
|
|
491
|
+
// borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
492
|
+
// position: 'relative',
|
|
493
|
+
// }}
|
|
494
|
+
// >
|
|
495
|
+
// {isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && (
|
|
496
|
+
// <p
|
|
497
|
+
// class="m-0 p-0 bg-danger bgdanger-hover"
|
|
498
|
+
// style={{
|
|
499
|
+
// position: 'absolute',
|
|
500
|
+
// top: '-15px',
|
|
501
|
+
// right: '-5px',
|
|
502
|
+
// width: '3vh',
|
|
503
|
+
// height: '3vh',
|
|
504
|
+
// borderRadius: 100,
|
|
505
|
+
// }}
|
|
506
|
+
// >
|
|
507
|
+
// <i class="h-100 allcentered">
|
|
508
|
+
// <IoMdClose />
|
|
509
|
+
// </i>
|
|
510
|
+
// </p>
|
|
511
|
+
// )}
|
|
512
|
+
// <p
|
|
513
|
+
// className={'m-0 p-0 allcentered'}
|
|
514
|
+
// style={{
|
|
515
|
+
// color: sectionproperties.variantcontainer_color,
|
|
516
|
+
// fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
517
|
+
// }}
|
|
518
|
+
// >
|
|
519
|
+
// {langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
|
|
520
|
+
// </p>
|
|
521
|
+
// </div>
|
|
522
|
+
// </li>
|
|
523
|
+
// );
|
|
524
|
+
// }
|
|
525
|
+
})}
|
|
526
|
+
</ul>
|
|
527
|
+
);
|
|
528
|
+
})}
|
|
529
|
+
{sectionproperties.variantstyle == 'Select Box' &&
|
|
530
|
+
ProductInfoObj?.data?.productinfo?.productoptions?.map((item, index) => {
|
|
531
|
+
var orgselectoptions = [];
|
|
532
|
+
var selecteditemid = null;
|
|
533
|
+
var placeholdervalue = '';
|
|
534
|
+
placeholdervalue = 'Choose' + ' ' + (langdetect == 'en' ? item.optionname : item.optionname_ar);
|
|
535
|
+
if (item.optionvalues != undefined && Array.isArray(item.optionvalues)) {
|
|
536
|
+
orgselectoptions = item.optionvalues;
|
|
537
|
+
// optionvaluesitem.isselected
|
|
538
|
+
}
|
|
539
|
+
orgselectoptions.forEach(function (getselcitem, getselindex) {
|
|
540
|
+
// if (getselcitem.isselected == 1 && issingleoptionoutofstock(getselcitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show') {
|
|
541
|
+
// selecteditemid = getselcitem.valueid + langdetect == 'en' ? '(Unavailable)' : 'غير متاح';
|
|
542
|
+
// } else if (getselcitem.isselected == 1 && sectionproperties.showoutofstockwithoutselection == 'Hide') {
|
|
543
|
+
// selecteditemid = getselcitem.valueid;
|
|
544
|
+
// } else {
|
|
545
|
+
// selecteditemid = getselcitem.valueid;
|
|
546
|
+
// }
|
|
547
|
+
if (getselcitem.isselected == 1) {
|
|
548
|
+
selecteditemid = getselcitem.valueid;
|
|
549
|
+
}
|
|
550
|
+
});
|
|
551
|
+
{
|
|
552
|
+
/* sectionproperties.showoutofstockwithoutselection */
|
|
553
|
+
}
|
|
554
|
+
{
|
|
555
|
+
/* <div style={{ width: '100%' }}>
|
|
556
|
+
{issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] ? outofstock_div() : ''}
|
|
557
|
+
<p>q: {issingleoptionoutofstock(optionvaluesitem)['current_quantity']} </p>
|
|
558
|
+
</div> */
|
|
559
|
+
}
|
|
560
|
+
return (
|
|
561
|
+
<div
|
|
562
|
+
class={
|
|
563
|
+
sectionproperties.numberofcolsperrow == '2'
|
|
564
|
+
? 'col-lg-2 col-md-3 col-sm-12 mb-3 p-sm-0'
|
|
565
|
+
: sectionproperties.numberofcolsperrow == '3'
|
|
566
|
+
? ' col-lg-3 col-md-3 col-sm-12 mb-3 p-sm-0'
|
|
567
|
+
: sectionproperties.numberofcolsperrow == '4'
|
|
568
|
+
? 'col-lg-4 col-md-4 col-sm-12 mb-3 p-sm-0'
|
|
569
|
+
: sectionproperties.numberofcolsperrow == '6'
|
|
570
|
+
? 'col-lg-6 col-md-6 col-sm-12 mb-3 p-sm-0'
|
|
571
|
+
: 'col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0'
|
|
572
|
+
}
|
|
573
|
+
>
|
|
574
|
+
<label
|
|
575
|
+
className={' d-flex align-items-start mb-2 '}
|
|
576
|
+
style={{
|
|
577
|
+
color: sectionproperties.varianttitle_color,
|
|
578
|
+
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
579
|
+
textTransform: sectionproperties.varianttitle_texttransform,
|
|
580
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px',
|
|
581
|
+
}}
|
|
582
|
+
>
|
|
583
|
+
{langdetect == 'en' ? item.optionname : item.optionname_ar}
|
|
584
|
+
</label>
|
|
585
|
+
<div
|
|
586
|
+
style={{
|
|
587
|
+
width: '100%',
|
|
588
|
+
}}
|
|
589
|
+
className={`${loginstyles.form_control} ${formstyles.form_control}` + ' variantselectbox '}
|
|
590
|
+
>
|
|
591
|
+
<Select
|
|
592
|
+
options={orgselectoptions}
|
|
593
|
+
getOptionLabel={(option) => {
|
|
594
|
+
var crname = '';
|
|
595
|
+
if (langdetect == 'en') {
|
|
596
|
+
crname = option.valuename;
|
|
597
|
+
} else if (langdetect == 'ar') {
|
|
598
|
+
crname = option.valuename_ar;
|
|
599
|
+
}
|
|
600
|
+
return crname;
|
|
601
|
+
}}
|
|
602
|
+
getOptionValue={(option) => option.valueid}
|
|
603
|
+
value={orgselectoptions.filter((option) => option.valueid == selecteditemid)}
|
|
604
|
+
onChange={(optionvaluesitem) => {
|
|
605
|
+
var optionvaluesindex = null;
|
|
606
|
+
orgselectoptions?.forEach(function (tempitm, tempind) {
|
|
607
|
+
if (tempitm.valueid == optionvaluesitem.valueid) {
|
|
608
|
+
optionvaluesindex = tempind;
|
|
609
|
+
}
|
|
610
|
+
});
|
|
611
|
+
if (optionvaluesindex != null) {
|
|
612
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
613
|
+
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
614
|
+
} else {
|
|
615
|
+
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
}}
|
|
619
|
+
styles={defaultstylesnone}
|
|
620
|
+
placeholder={placeholdervalue}
|
|
621
|
+
isSearchable={true}
|
|
622
|
+
/>
|
|
623
|
+
</div>
|
|
624
|
+
</div>
|
|
625
|
+
);
|
|
626
|
+
})}
|
|
627
|
+
</div>
|
|
628
|
+
)}
|
|
629
|
+
</>
|
|
630
|
+
);
|
|
631
|
+
};
|
|
632
|
+
export default Variantoptions;
|