tabexseriescomponents 0.0.391 → 0.0.393
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 +211 -134
- package/dist/index.esm.js +211 -134
- package/dist/index.umd.js +211 -134
- package/package.json +1 -1
- package/src22-1/Contexts/LanguageContext.jsx +405 -0
- package/src22-1/Contexts/ProductsCardsSectionContext.jsx +36 -0
- package/src22-1/Imagekitconfig.jsx +46 -0
- package/src22-1/StylesJS/Customstyles.js +344 -0
- package/src22-1/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
- package/src22-1/TabexComponents/Cards/Card20/Card20.jsx +282 -0
- package/src22-1/TabexComponents/Cards/Card21/Card21.jsx +388 -0
- package/src22-1/TabexComponents/Cards/Card22/Card22.jsx +288 -0
- package/src22-1/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
- package/src22-1/TabexComponents/Cards/Card23/Card23.jsx +627 -0
- package/src22-1/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
- package/src22-1/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
- package/src22-1/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
- package/src22-1/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
- package/src22-1/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +246 -0
- package/src22-1/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
- package/src22-1/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
- package/src22-1/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
- package/src22-1/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
- package/src22-1/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
- package/src22-1/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +180 -0
- package/src22-1/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +546 -0
- package/src22-1/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +142 -0
- package/src22-1/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
- package/src22-1/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +379 -0
- package/src22-1/TabexComponents/Cards/MenuCard/MenuCard.jsx +543 -0
- package/src22-1/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
- package/src22-1/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
- package/src22-1/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
- package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
- package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +519 -0
- package/src22-1/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
- package/src22-1/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
- package/src22-1/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
- package/src22-1/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
- package/src22-1/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
- package/src22-1/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
- package/src22-1/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
- package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
- package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
- package/src22-1/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +558 -0
- package/src22-1/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
- package/src22-1/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
- package/src22-1/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
- package/src22-1/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +598 -0
- package/src22-1/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +390 -0
- package/src22-1/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
- package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
- package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
- package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +493 -0
- package/src22-1/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
- package/src22-1/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
- package/src22-1/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +596 -0
- package/src22-1/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
- package/src22-1/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
- package/src22-1/TabexComponents/Footer/Footer1/Footer1.jsx +551 -0
- package/src22-1/TabexComponents/Footer/Footer2/Footer2.jsx +415 -0
- package/src22-1/TabexComponents/Footer/Footer3/Footer3.jsx +400 -0
- package/src22-1/TabexComponents/Footer/Footer4/Footer4.jsx +457 -0
- package/src22-1/TabexComponents/Footer/Footer5/Footer5.jsx +563 -0
- package/src22-1/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
- package/src22-1/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
- package/src22-1/TabexComponents/Footer/Footer8/Footer8.jsx +473 -0
- package/src22-1/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
- package/src22-1/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +562 -0
- package/src22-1/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +584 -0
- package/src22-1/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
- package/src22-1/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
- package/src22-1/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/src22-1/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/src22-1/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/src22-1/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/src22-1/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/src22-1/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/src22-1/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/src22-1/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/src22-1/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/src22-1/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/src22-1/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/src22-1/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/src22-1/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/src22-1/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1244 -0
- package/src22-1/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1052 -0
- package/src22-1/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +895 -0
- package/src22-1/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1213 -0
- package/src22-1/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
- package/src22-1/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +780 -0
- package/src22-1/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +771 -0
- package/src22-1/TabexComponents/Headers/Header4/Header4.jsx +622 -0
- package/src22-1/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
- package/src22-1/TabexComponents/Headers/Header8/Header8.jsx +1923 -0
- package/src22-1/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +731 -0
- package/src22-1/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +918 -0
- package/src22-1/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +707 -0
- package/src22-1/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
- package/src22-1/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +850 -0
- package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1371 -0
- package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
- package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
- package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +779 -0
- package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
- package/src22-1/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +937 -0
- package/src22-1/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +64 -0
- package/src22-1/TabexComponents/Headers/Modernheader/Modernheader.jsx +732 -0
- package/src22-1/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
- package/src22-1/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1162 -0
- package/src22-1/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +835 -0
- package/src22-1/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +128 -0
- package/src22-1/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
- package/src22-1/TabexComponents/Headers/Subheader/Subheader.jsx +662 -0
- package/src22-1/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
- package/src22-1/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
- package/src22-1/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1045 -0
- package/src22-1/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1089 -0
- package/src22-1/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +936 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +802 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +274 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +392 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +291 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +266 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +414 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +421 -0
- package/src22-1/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +364 -0
- package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
- package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
- package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
- package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1532 -0
- package/src22-1/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +480 -0
- package/src22-1/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
- package/src22-1/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
- package/src22-1/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +682 -0
- package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +635 -0
- package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +920 -0
- package/src22-1/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +517 -0
- package/src22-1/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
- package/src22-1/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +325 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
- package/src22-1/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +757 -0
- package/src22-1/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +633 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
- package/src22-1/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +380 -0
- package/src22-1/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +400 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +331 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +603 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
- package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +547 -0
- package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
- package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +612 -0
- package/src22-1/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +396 -0
- package/src22-1/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
- package/src22-1/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
- package/src22-1/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
- package/src22-1/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +780 -0
- package/src22-1/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
- package/src22-1/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
- package/src22-1/TabexComponents/StaticPages/Checkout/Checkout.jsx +1673 -0
- package/src22-1/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
- package/src22-1/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
- package/src22-1/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
- package/src22-1/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +439 -0
- package/src22-1/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
- package/src22-1/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
- package/src22-1/TabexComponents/StaticPages/Filter/Filter.jsx +1845 -0
- package/src22-1/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
- package/src22-1/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
- package/src22-1/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
- package/src22-1/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
- package/src22-1/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
- package/src22-1/TabexComponents/StaticPages/Login/Login.jsx +610 -0
- package/src22-1/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +146 -0
- package/src22-1/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1568 -0
- package/src22-1/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
- package/src22-1/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +113 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +130 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +310 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1270 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1729 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +552 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +754 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +491 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
- package/src22-1/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
- package/src22-1/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +113 -0
- package/src22-1/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
- package/src22-1/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +358 -0
- package/src22-1/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
- package/src22-1/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
- package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
- package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1344 -0
- package/src22-1/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
- package/src22-1/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +290 -0
- package/src22-1/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
- package/src22-1/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
- package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
- package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
- package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
- package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
- package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
- package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +555 -0
- package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
- package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
- package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
- package/src22-1/button.jsx +40 -0
- package/src22-1/index.jsx +327 -0
- package/src22-1/styles/Home.module.css +129 -0
- package/src22-1/styles/cards/Categorcycard_fullimage.module.css +14 -0
- package/src22-1/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
- package/src22-1/styles/cards/Categorycard_withshapes.module.css +189 -0
- package/src22-1/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
- package/src22-1/styles/cards/Productcard6.module.css +9 -0
- package/src22-1/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
- package/src22-1/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
- package/src22-1/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
- package/src22-1/styles/cards/card23.module.css +60 -0
- package/src22-1/styles/cards/categorycard.module.css +84 -0
- package/src22-1/styles/cards/categorycard3.module.css +50 -0
- package/src22-1/styles/cards/categorycardwithtext.module.css +40 -0
- package/src22-1/styles/cards/generalCardsStyles.module.css +79 -0
- package/src22-1/styles/cards/productcard_animatedbuttons.module.css +139 -0
- package/src22-1/styles/cards/productcard_with_textonhover.module.css +18 -0
- package/src22-1/styles/cards/productcard_withtextonimage.module.css +0 -0
- package/src22-1/styles/cards/productccard_with_imageontopleft.module.css +85 -0
- package/src22-1/styles/general/bootstrap.css +4763 -0
- package/src22-1/styles/general/dropdown.css +206 -0
- package/src22-1/styles/general/editorbardropdown.module.css +94 -0
- package/src22-1/styles/general/filter.module.css +108 -0
- package/src22-1/styles/general/form.module.css +255 -0
- package/src22-1/styles/general/general.module.css +872 -0
- package/src22-1/styles/general/image-gallery.css +531 -0
- package/src22-1/styles/general/react-accessible-accordion.module.css +52 -0
- package/src22-1/styles/general/react-phone-input-2.module.css +927 -0
- package/src22-1/styles/general/scrollbtn.module.css +22 -0
- package/src22-1/styles/general/slick.module.css +166 -0
- package/src22-1/styles/general/tabs.module.css +119 -0
- package/src22-1/styles/general/workplaceeditor.module.css +328 -0
- package/src22-1/styles/globals.css +26 -0
- package/src22-1/styles/headers/CTAHeader.module.css +40 -0
- package/src22-1/styles/headers/CategoryFeaturingHeader.module.css +61 -0
- package/src22-1/styles/headers/Gotoheader.module.css +81 -0
- package/src22-1/styles/headers/Header7.module.css +50 -0
- package/src22-1/styles/headers/HeaderWithAdSlider.module.css +86 -0
- package/src22-1/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
- package/src22-1/styles/headers/HeaderWithUtilityBar.module.css +46 -0
- package/src22-1/styles/headers/Header_threesectionslogocentered.module.css +84 -0
- package/src22-1/styles/headers/NewHeader.module.css +101 -0
- package/src22-1/styles/headers/SearchFocusedHeader.module.css +62 -0
- package/src22-1/styles/headers/Sideheader.module.css +108 -0
- package/src22-1/styles/headers/Simpleheader.module.css +102 -0
- package/src22-1/styles/headers/classicheader.module.css +16 -0
- package/src22-1/styles/headers/classicheaderstyles.module.css +9 -0
- package/src22-1/styles/headers/dropdown.css +0 -0
- package/src22-1/styles/headers/header4.module.css +175 -0
- package/src22-1/styles/headers/header5.module.css +30 -0
- package/src22-1/styles/headers/header_contactinfo.module.css +53 -0
- package/src22-1/styles/headers/headerresturant.module.css +89 -0
- package/src22-1/styles/headers/modernheader.module.css +45 -0
- package/src22-1/styles/headers/stylishheader.module.css +24 -0
- package/src22-1/styles/headers/subheader.module.css +114 -0
- package/src22-1/styles/headers/threetieredheader.module.css +91 -0
- package/src22-1/styles/sections/BackgroundImageWithTopContent.css +4 -0
- package/src22-1/styles/sections/Backgroundimage1.module.css +17 -0
- package/src22-1/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
- package/src22-1/styles/sections/Freetext.module.css +18 -0
- package/src22-1/styles/sections/Section_with_rightbgcont.module.css +49 -0
- package/src22-1/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
- package/src22-1/styles/sections/Slideshow_with_squarebg.module.css +39 -0
- package/src22-1/styles/staticpages/accordion.module.css +9 -0
- package/src22-1/styles/staticpages/cart.module.css +108 -0
- package/src22-1/styles/staticpages/dropdown.css +196 -0
- package/src22-1/styles/staticpages/filter.module.css +139 -0
- package/src22-1/styles/staticpages/image-gallery.css +481 -0
- package/src22-1/styles/staticpages/login.module.css +155 -0
- package/src22-1/styles/staticpages/productinfo.module.css +54 -0
- package/src22-1/styles/staticpages/shop.module.css +191 -0
- package/src22-1/styles/staticpages/signup.module.css +250 -0
- package/src22-1/styles/staticpages/staticroutersidenav.module.css +129 -0
- package/src22-1/styles/staticpages/viewcart.module.css +129 -0
- package/src22-1/styles/staticpages/wishlist.module.css +29 -0
package/dist/index.cjs.js
CHANGED
|
@@ -1223,7 +1223,7 @@ var Login = function Login(props) {
|
|
|
1223
1223
|
}, forgetpasswordstage == 'verify' ? langdetect == 'en' ? 'Reset password' : 'إعادة تعيين كلمة المرور' : langdetect == 'en' ? 'Send verification code' : 'أرسل رمز التحقق'))))));
|
|
1224
1224
|
};
|
|
1225
1225
|
|
|
1226
|
-
var css_248z$L = ".productinfo-module_variant_container__-y4Uc {\n display: flex;\n align-items: center;\n justify-content: center;\n /* min-width: 10vh;\n height: 5vh; */\n border-radius: 10px;\n background-color: #000;\n color: white;\n padding: 0 6px;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_size_variant_container__vuTAO {\n /* min-width: 5vh !important;\n max-width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important; */\n /* padding: 0 2px !important; */\n}\n.productinfo-module_variant_container__-y4Uc:hover {\n transform: scale(1.05)
|
|
1226
|
+
var css_248z$L = ".productinfo-module_variant_container__-y4Uc {\n display: flex;\n align-items: center;\n justify-content: center;\n /* min-width: 10vh;\n height: 5vh; */\n border-radius: 10px;\n background-color: #000;\n color: white;\n padding: 0 6px;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_size_variant_container__vuTAO {\n /* min-width: 5vh !important;\n max-width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important; */\n /* padding: 0 2px !important; */\n}\n.productinfo-module_variant_container__-y4Uc:hover {\n /* transform: scale(1.05); */\n}\n.productinfo-module_variant_container_active__OAhmg {\n border: 2px solid green;\n background-color: green;\n}\n.productinfo-module_color_container__c42a9 {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 4vh;\n height: 4vh;\n border: 2px solid #ccc;\n border-radius: 50%;\n overflow: hidden;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_color_container_active__Br2PW {\n padding: 10px;\n border: 2px solid var(--green);\n}\n\n.productinfo-module_color_container_active__Br2PW:before {\n display: flex;\n align-items: center;\n justify-content: center;\n content: '✓';\n color: white;\n}\n.productinfo-module_color_container__c42a9:hover {\n transform: scale(1.1);\n}\n";
|
|
1227
1227
|
var productinfostyles = {"variant_container":"productinfo-module_variant_container__-y4Uc","size_variant_container":"productinfo-module_size_variant_container__vuTAO","variant_container_active":"productinfo-module_variant_container_active__OAhmg","color_container":"productinfo-module_color_container__c42a9","color_container_active":"productinfo-module_color_container_active__Br2PW"};
|
|
1228
1228
|
styleInject(css_248z$L);
|
|
1229
1229
|
|
|
@@ -1425,7 +1425,7 @@ var Select$4 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
1425
1425
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
1426
1426
|
});
|
|
1427
1427
|
var Variantoptions = function Variantoptions(props) {
|
|
1428
|
-
var _css, _fetchProductInfoQuer, _ProductInfoObj$
|
|
1428
|
+
var _css, _fetchProductInfoQuer, _ProductInfoObj$data4, _ProductInfoObj$data5, _ProductInfoObj$data6;
|
|
1429
1429
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
1430
1430
|
var lang = props.actions.lang;
|
|
1431
1431
|
var langdetect = props.actions.langdetect;
|
|
@@ -1456,9 +1456,35 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1456
1456
|
color: sectionproperties.inputfeildbordercoloronfocus
|
|
1457
1457
|
}), _css))
|
|
1458
1458
|
};
|
|
1459
|
+
var issingleoptionoutofstock = function issingleoptionoutofstock(valueitem) {
|
|
1460
|
+
var _ProductInfoObj$data;
|
|
1461
|
+
var current_quantity = 0;
|
|
1462
|
+
var isoutofstock = false;
|
|
1463
|
+
if ((ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productoptions) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.length) == 1) {
|
|
1464
|
+
var _ProductInfoObj$data2;
|
|
1465
|
+
ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 || (_ProductInfoObj$data2 = _ProductInfoObj$data2.productinfo) === null || _ProductInfoObj$data2 === void 0 || (_ProductInfoObj$data2 = _ProductInfoObj$data2.variants) === null || _ProductInfoObj$data2 === void 0 || _ProductInfoObj$data2.forEach(function (varitem) {
|
|
1466
|
+
var _varitem$variantoptio;
|
|
1467
|
+
varitem === null || varitem === void 0 || (_varitem$variantoptio = varitem.variantoptions) === null || _varitem$variantoptio === void 0 || _varitem$variantoptio.forEach(function (varoptionitem) {
|
|
1468
|
+
if (varoptionitem.valueid == valueitem.valueid) {
|
|
1469
|
+
current_quantity = varitem.current_quantity;
|
|
1470
|
+
if (varitem.current_quantity <= 0) {
|
|
1471
|
+
var _ProductInfoObj$data3;
|
|
1472
|
+
if ((ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 || (_ProductInfoObj$data3 = _ProductInfoObj$data3.productinfo) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.quantavailtype) == 'limit') {
|
|
1473
|
+
isoutofstock = true;
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
});
|
|
1478
|
+
});
|
|
1479
|
+
}
|
|
1480
|
+
return {
|
|
1481
|
+
isoutofstock: isoutofstock,
|
|
1482
|
+
current_quantity: current_quantity
|
|
1483
|
+
};
|
|
1484
|
+
};
|
|
1459
1485
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1460
1486
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1461
|
-
}, sectionproperties.variantstyle == 'Slider' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$
|
|
1487
|
+
}, sectionproperties.variantstyle == 'Slider' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 || (_ProductInfoObj$data4 = _ProductInfoObj$data4.productinfo) === null || _ProductInfoObj$data4 === void 0 || (_ProductInfoObj$data4 = _ProductInfoObj$data4.productoptions) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.map(function (item, index) {
|
|
1462
1488
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1463
1489
|
className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
|
|
1464
1490
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1492,7 +1518,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1492
1518
|
isoptionvaluedenabled = 0;
|
|
1493
1519
|
}
|
|
1494
1520
|
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
1495
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1521
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1496
1522
|
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''),
|
|
1497
1523
|
onClick: function onClick() {
|
|
1498
1524
|
if (optionvaluesitem.isenabled == 1) {
|
|
@@ -1506,25 +1532,27 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1506
1532
|
opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
|
|
1507
1533
|
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed'
|
|
1508
1534
|
}
|
|
1509
|
-
});
|
|
1535
|
+
}));
|
|
1510
1536
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1511
1537
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1512
|
-
className: "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1538
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered showcrossicon ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1513
1539
|
onClick: function onClick() {
|
|
1514
|
-
if (optionvaluesitem.
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1540
|
+
if (issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show') ; else {
|
|
1541
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
1542
|
+
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1543
|
+
} else {
|
|
1544
|
+
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1545
|
+
}
|
|
1518
1546
|
}
|
|
1519
1547
|
},
|
|
1520
1548
|
style: {
|
|
1521
|
-
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1522
|
-
backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1549
|
+
cursor: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? 'not-allowed' : isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1550
|
+
backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1523
1551
|
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
1524
1552
|
height: sectionproperties.variantcontainer_height + 'px',
|
|
1525
1553
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
1526
1554
|
position: 'relative',
|
|
1527
|
-
border: isoptionvalueselected == 1 ? '
|
|
1555
|
+
border: isoptionvalueselected == 1 ? '2px solid green' : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
1528
1556
|
}
|
|
1529
1557
|
}, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1530
1558
|
"class": "m-0 p-0 bg-danger bgdanger-hover",
|
|
@@ -1541,7 +1569,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1541
1569
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1542
1570
|
className: 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1543
1571
|
style: {
|
|
1544
|
-
color: sectionproperties.variantcontainer_color,
|
|
1572
|
+
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? 'green' : sectionproperties.variantcontainer_color,
|
|
1545
1573
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
1546
1574
|
fontWeight: 500
|
|
1547
1575
|
}
|
|
@@ -1584,7 +1612,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1584
1612
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1585
1613
|
}
|
|
1586
1614
|
}))));
|
|
1587
|
-
})), sectionproperties.variantstyle == 'Vertical' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$
|
|
1615
|
+
})), sectionproperties.variantstyle == 'Vertical' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productinfo) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productoptions) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.map(function (item, index) {
|
|
1588
1616
|
return /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
1589
1617
|
"class": "thwvsf-wrapper-ul"
|
|
1590
1618
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1720,7 +1748,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1720
1748
|
// );
|
|
1721
1749
|
// }
|
|
1722
1750
|
}));
|
|
1723
|
-
})), sectionproperties.variantstyle == 'Select Box' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$
|
|
1751
|
+
})), sectionproperties.variantstyle == 'Select Box' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 || (_ProductInfoObj$data6 = _ProductInfoObj$data6.productinfo) === null || _ProductInfoObj$data6 === void 0 || (_ProductInfoObj$data6 = _ProductInfoObj$data6.productoptions) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.map(function (item, index) {
|
|
1724
1752
|
var orgselectoptions = [];
|
|
1725
1753
|
var selecteditemid = null;
|
|
1726
1754
|
var placeholdervalue = '';
|
|
@@ -1731,6 +1759,13 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1731
1759
|
}
|
|
1732
1760
|
|
|
1733
1761
|
orgselectoptions.forEach(function (getselcitem, getselindex) {
|
|
1762
|
+
// if (getselcitem.isselected == 1 && issingleoptionoutofstock(getselcitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show') {
|
|
1763
|
+
// selecteditemid = getselcitem.valueid + langdetect == 'en' ? '(Unavailable)' : 'غير متاح';
|
|
1764
|
+
// } else if (getselcitem.isselected == 1 && sectionproperties.showoutofstockwithoutselection == 'Hide') {
|
|
1765
|
+
// selecteditemid = getselcitem.valueid;
|
|
1766
|
+
// } else {
|
|
1767
|
+
// selecteditemid = getselcitem.valueid;
|
|
1768
|
+
// }
|
|
1734
1769
|
if (getselcitem.isselected == 1) {
|
|
1735
1770
|
selecteditemid = getselcitem.valueid;
|
|
1736
1771
|
}
|
|
@@ -2166,7 +2201,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2166
2201
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2167
2202
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
2168
2203
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2169
|
-
className: 'text-black
|
|
2204
|
+
className: 'text-black m-0 p-0 wordbreak',
|
|
2170
2205
|
style: {
|
|
2171
2206
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2172
2207
|
},
|
|
@@ -2187,7 +2222,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2187
2222
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2188
2223
|
"class": "col-lg-12 p-0 d-flex justify-content-start flex-column"
|
|
2189
2224
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2190
|
-
className: 'text-black
|
|
2225
|
+
className: 'text-black m-0 p-0 wordbreak',
|
|
2191
2226
|
style: {
|
|
2192
2227
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2193
2228
|
},
|
|
@@ -2234,7 +2269,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2234
2269
|
function ownKeys$2q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2235
2270
|
function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2236
2271
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2237
|
-
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17,
|
|
2272
|
+
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35;
|
|
2238
2273
|
var lang = props.actions.lang;
|
|
2239
2274
|
var langdetect = props.actions.langdetect;
|
|
2240
2275
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2253,7 +2288,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2253
2288
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
2254
2289
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
2255
2290
|
var variantindexcompleted = props.actions.variantindexcompleted;
|
|
2256
|
-
|
|
2291
|
+
props.actions.ProductInfoObj;
|
|
2257
2292
|
var NotificationManager = props.actions.NotificationManager;
|
|
2258
2293
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
2259
2294
|
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
@@ -2430,7 +2465,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2430
2465
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2431
2466
|
className: 'row m-0 w-100'
|
|
2432
2467
|
}, sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2433
|
-
className: sectionproperties.evencols == 'Yes' ? productinfo_cssstyles.evencols + ' col-xl-6 col-lg-6 col-md-12 col-sm-12 mb-md-5 pb-md-5 pl-1 pr-1 evencols ' : 'col-xl-5 col-lg-
|
|
2468
|
+
className: sectionproperties.evencols == 'Yes' ? productinfo_cssstyles.evencols + ' col-xl-6 col-lg-6 col-md-12 col-sm-12 mb-md-5 pb-md-5 pl-1 pr-1 evencols ' : 'col-xl-5 col-lg-5 col-md-12 col-sm-12 mb-md-5 pb-md-4 pl-1 pr-1'
|
|
2434
2469
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2435
2470
|
className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
|
|
2436
2471
|
style: {
|
|
@@ -2472,7 +2507,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2472
2507
|
showFullscreenButton: true,
|
|
2473
2508
|
startIndex: currentshowingimageindex
|
|
2474
2509
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2475
|
-
className: sectionproperties.gallerystyle == 'Style 1' ? sectionproperties.evencols == 'Yes' ? langdetect == 'en' ? 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-4 pr-0 pl-md-0 pr-md-0 pt-md-5' : 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-0 pr-4 pl-md-0 pr-md-0 pt-md-5' : langdetect == 'en' ? 'col-xl-7 col-lg-
|
|
2510
|
+
className: sectionproperties.gallerystyle == 'Style 1' ? sectionproperties.evencols == 'Yes' ? langdetect == 'en' ? 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-4 pr-0 pl-md-0 pr-md-0 pt-md-5' : 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-0 pr-4 pl-md-0 pr-md-0 pt-md-5' : langdetect == 'en' ? 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
|
|
2476
2511
|
// className={
|
|
2477
2512
|
// sectionproperties.gallerystyle == 'Style 1'
|
|
2478
2513
|
// ? langdetect == 'en'
|
|
@@ -2485,9 +2520,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2485
2520
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2486
2521
|
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
2487
2522
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2488
|
-
className: props.srcfromprops
|
|
2523
|
+
className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
|
|
2489
2524
|
onClick: function onClick() {
|
|
2490
|
-
|
|
2525
|
+
if (props.srcfromprops != 'templatedraftrouter') {
|
|
2526
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
2527
|
+
}
|
|
2491
2528
|
},
|
|
2492
2529
|
style: {
|
|
2493
2530
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
@@ -2630,7 +2667,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2630
2667
|
actions: props.actions
|
|
2631
2668
|
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2632
2669
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
2633
|
-
},
|
|
2670
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productoptions) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.map(function (item, index) {
|
|
2634
2671
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2635
2672
|
className: "col-lg-12 p-0 d-flex justify-content-start",
|
|
2636
2673
|
style: {
|
|
@@ -2709,7 +2746,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2709
2746
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
2710
2747
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
2711
2748
|
}
|
|
2712
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2749
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2713
2750
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
2714
2751
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2715
2752
|
className: "m-0 p-0",
|
|
@@ -2726,7 +2763,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2726
2763
|
style: {
|
|
2727
2764
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
2728
2765
|
}
|
|
2729
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2766
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2730
2767
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2731
2768
|
style: {
|
|
2732
2769
|
height: sectionproperties.quantitybtn_height + 'px',
|
|
@@ -2791,12 +2828,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2791
2828
|
setaddtocardpayloadobj(_objectSpread$2q({}, tempaddtocardpayloadobj));
|
|
2792
2829
|
}
|
|
2793
2830
|
}
|
|
2794
|
-
})), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2831
|
+
})), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2795
2832
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2796
2833
|
onClick: function onClick() {
|
|
2797
2834
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2798
|
-
var
|
|
2799
|
-
window.open('tel:' + ((
|
|
2835
|
+
var _fetchProductInfoQuer24;
|
|
2836
|
+
window.open('tel:' + ((_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.product_phonenumber), '_blank');
|
|
2800
2837
|
} else {
|
|
2801
2838
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2802
2839
|
addtocartfunc();
|
|
@@ -2827,7 +2864,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2827
2864
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2828
2865
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
2829
2866
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2830
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2867
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2831
2868
|
className: ' d-flex align-items-center justify-content-center '
|
|
2832
2869
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2833
2870
|
color: "white",
|
|
@@ -2872,7 +2909,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2872
2909
|
style: {
|
|
2873
2910
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2874
2911
|
}
|
|
2875
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2912
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2876
2913
|
"class": "row m-0 w-100 mt-3",
|
|
2877
2914
|
style: {
|
|
2878
2915
|
overflow: 'hidden'
|
|
@@ -2884,8 +2921,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2884
2921
|
},
|
|
2885
2922
|
onClick: function onClick() {
|
|
2886
2923
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2887
|
-
var
|
|
2888
|
-
window.open('tel:' + ((
|
|
2924
|
+
var _fetchProductInfoQuer28;
|
|
2925
|
+
window.open('tel:' + ((_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.product_phonenumber), '_blank');
|
|
2889
2926
|
} else {
|
|
2890
2927
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2891
2928
|
addtocartfunc();
|
|
@@ -2916,7 +2953,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2916
2953
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2917
2954
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
2918
2955
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2919
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2956
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2920
2957
|
className: ' d-flex align-items-center justify-content-center '
|
|
2921
2958
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2922
2959
|
color: "white",
|
|
@@ -2951,7 +2988,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2951
2988
|
size: sectionproperties.favBtnIconfontsize
|
|
2952
2989
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
2953
2990
|
size: sectionproperties.favBtnIconfontsize
|
|
2954
|
-
})))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2991
|
+
})))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2955
2992
|
className: "col-lg-12 p-0 mb-3"
|
|
2956
2993
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2957
2994
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -2974,7 +3011,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2974
3011
|
}
|
|
2975
3012
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2976
3013
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
|
|
2977
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3014
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.variants[variantindexcompleted]) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.variants[variantindexcompleted]) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2978
3015
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
2979
3016
|
style: {
|
|
2980
3017
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -2988,14 +3025,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2988
3025
|
style: {
|
|
2989
3026
|
textDecoration: 'none'
|
|
2990
3027
|
}
|
|
2991
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3028
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.variants[variantindexcompleted]) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2992
3029
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2993
3030
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2994
3031
|
className: "ml-2 mr-2",
|
|
2995
3032
|
style: {
|
|
2996
3033
|
textDecoration: 'none'
|
|
2997
3034
|
}
|
|
2998
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3035
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2999
3036
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
3000
3037
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3001
3038
|
style: {
|
|
@@ -4635,7 +4672,11 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4635
4672
|
function ownKeys$2m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4636
4673
|
function _objectSpread$2m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4637
4674
|
var Productinfo = function Productinfo(props) {
|
|
4638
|
-
var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4,
|
|
4675
|
+
var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
4676
|
+
var _useState = React.useState({}),
|
|
4677
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
4678
|
+
ProductInfoObj = _useState2[0],
|
|
4679
|
+
setProductInfoObj = _useState2[1];
|
|
4639
4680
|
props.actions.srcfromprops;
|
|
4640
4681
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
4641
4682
|
var lang = props.actions.lang;
|
|
@@ -4651,55 +4692,66 @@ var Productinfo = function Productinfo(props) {
|
|
|
4651
4692
|
var ProductIdProdutInfoModalContext = props.actions.ProductIdProdutInfoModalContext;
|
|
4652
4693
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
4653
4694
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
4654
|
-
var
|
|
4695
|
+
var fetchProductInfoQueryContextProps = props.actions.fetchProductInfoQueryContext;
|
|
4696
|
+
var _useState3 = React.useState({}),
|
|
4697
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
4698
|
+
fetchProductInfoQueryContext = _useState4[0],
|
|
4699
|
+
setfetchProductInfoQueryContext = _useState4[1];
|
|
4700
|
+
React.useEffect(function () {
|
|
4701
|
+
if (fetchProductInfoQueryContextProps.isSuccess) {
|
|
4702
|
+
setProductInfoObj(_objectSpread$2m({}, fetchProductInfoQueryContextProps.data));
|
|
4703
|
+
setfetchProductInfoQueryContext(fetchProductInfoQueryContextProps);
|
|
4704
|
+
}
|
|
4705
|
+
}, [props.actions, props, fetchProductInfoQueryContextProps.data, fetchProductInfoQueryContextProps.isSuccess]);
|
|
4655
4706
|
var fetchproductinfoObjContext = props.actions.fetchproductinfoObjContext;
|
|
4656
4707
|
var setfetchproductinfoObjContext = props.actions.setfetchproductinfoObjContext;
|
|
4657
4708
|
var pageindexcontext = props.actions.pageindexcontext;
|
|
4658
4709
|
var setpageindexcontext = props.actions.setpageindexcontext;
|
|
4659
4710
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
4660
4711
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
4712
|
+
var Pixel_EventsContext = props.actions.Pixel_EventsContext;
|
|
4661
4713
|
var actions = props.actions;
|
|
4662
4714
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
4663
4715
|
var setCurrentPageIdContext = props.actions.setCurrentPageIdContext;
|
|
4664
4716
|
var NotificationManager = props.actions.NotificationManager;
|
|
4665
4717
|
var productidparam = props.productidparam;
|
|
4666
|
-
var
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
var
|
|
4671
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
4672
|
-
_useState4[0];
|
|
4673
|
-
var setCurrentPageId = _useState4[1];
|
|
4674
|
-
var _useState5 = React.useState(''),
|
|
4675
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
4676
|
-
_useState6[0];
|
|
4677
|
-
var setRelatedProductsTagid = _useState6[1];
|
|
4678
|
-
var _useState7 = React.useState({}),
|
|
4718
|
+
var _useState5 = React.useState(false),
|
|
4719
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
4720
|
+
isoutofstock = _useState6[0],
|
|
4721
|
+
setisoutofstock = _useState6[1];
|
|
4722
|
+
var _useState7 = React.useState(''),
|
|
4679
4723
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
var _useState9 = React.useState('
|
|
4724
|
+
sectionproperties = _useState8[0],
|
|
4725
|
+
setsectionproperties = _useState8[1];
|
|
4726
|
+
var _useState9 = React.useState(''),
|
|
4683
4727
|
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
4684
4728
|
_useState10[0];
|
|
4685
|
-
_useState10[1];
|
|
4686
|
-
var _useState11 = React.useState(
|
|
4729
|
+
var setCurrentPageId = _useState10[1];
|
|
4730
|
+
var _useState11 = React.useState(''),
|
|
4687
4731
|
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
4688
4732
|
_useState12[0];
|
|
4689
|
-
_useState12[1];
|
|
4690
|
-
var _useState13 = React.useState(
|
|
4691
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2)
|
|
4692
|
-
|
|
4693
|
-
|
|
4733
|
+
var setRelatedProductsTagid = _useState12[1];
|
|
4734
|
+
var _useState13 = React.useState('all'),
|
|
4735
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2);
|
|
4736
|
+
_useState14[0];
|
|
4737
|
+
_useState14[1];
|
|
4694
4738
|
var _useState15 = React.useState([]),
|
|
4695
|
-
_useState16 = _slicedToArray__default["default"](_useState15, 2)
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
var _useState17 = React.useState(
|
|
4739
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2);
|
|
4740
|
+
_useState16[0];
|
|
4741
|
+
_useState16[1];
|
|
4742
|
+
var _useState17 = React.useState([]),
|
|
4699
4743
|
_useState18 = _slicedToArray__default["default"](_useState17, 2),
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
var _useState19 = React.useState(
|
|
4744
|
+
Relatedproducts = _useState18[0],
|
|
4745
|
+
setRelatedproducts = _useState18[1];
|
|
4746
|
+
var _useState19 = React.useState([]),
|
|
4747
|
+
_useState20 = _slicedToArray__default["default"](_useState19, 2),
|
|
4748
|
+
productimagesarray = _useState20[0],
|
|
4749
|
+
setproductimagesarray = _useState20[1];
|
|
4750
|
+
var _useState21 = React.useState(null),
|
|
4751
|
+
_useState22 = _slicedToArray__default["default"](_useState21, 2),
|
|
4752
|
+
quantityconditionfoundobj = _useState22[0],
|
|
4753
|
+
setquantityconditionfoundobj = _useState22[1];
|
|
4754
|
+
var _useState23 = React.useState({
|
|
4703
4755
|
functype: 'add',
|
|
4704
4756
|
item_type: 'product',
|
|
4705
4757
|
productid: '',
|
|
@@ -4711,41 +4763,41 @@ var Productinfo = function Productinfo(props) {
|
|
|
4711
4763
|
to: '',
|
|
4712
4764
|
extrafields: []
|
|
4713
4765
|
}),
|
|
4714
|
-
_useState20 = _slicedToArray__default["default"](_useState19, 2),
|
|
4715
|
-
addtocardpayloadobj = _useState20[0],
|
|
4716
|
-
setaddtocardpayloadobj = _useState20[1];
|
|
4717
|
-
var _useState21 = React.useState(''),
|
|
4718
|
-
_useState22 = _slicedToArray__default["default"](_useState21, 2),
|
|
4719
|
-
variantindexcompleted = _useState22[0],
|
|
4720
|
-
setvariantindexcompleted = _useState22[1];
|
|
4721
|
-
var _useState23 = React.useState(''),
|
|
4722
4766
|
_useState24 = _slicedToArray__default["default"](_useState23, 2),
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
var _useState25 = React.useState(
|
|
4767
|
+
addtocardpayloadobj = _useState24[0],
|
|
4768
|
+
setaddtocardpayloadobj = _useState24[1];
|
|
4769
|
+
var _useState25 = React.useState(''),
|
|
4726
4770
|
_useState26 = _slicedToArray__default["default"](_useState25, 2),
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
var _useState27 = React.useState(
|
|
4730
|
-
_useState28 = _slicedToArray__default["default"](_useState27, 2)
|
|
4731
|
-
_useState28[0]
|
|
4732
|
-
_useState28[1];
|
|
4733
|
-
var _useState29 = React.useState(
|
|
4771
|
+
variantindexcompleted = _useState26[0],
|
|
4772
|
+
setvariantindexcompleted = _useState26[1];
|
|
4773
|
+
var _useState27 = React.useState(''),
|
|
4774
|
+
_useState28 = _slicedToArray__default["default"](_useState27, 2),
|
|
4775
|
+
variantindex = _useState28[0],
|
|
4776
|
+
setvariantindex = _useState28[1];
|
|
4777
|
+
var _useState29 = React.useState(false),
|
|
4734
4778
|
_useState30 = _slicedToArray__default["default"](_useState29, 2),
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
var _useState31 = React.useState(
|
|
4738
|
-
_useState32 = _slicedToArray__default["default"](_useState31, 2)
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
var _useState33 = React.useState(
|
|
4779
|
+
isloaded = _useState30[0],
|
|
4780
|
+
setisloaded = _useState30[1];
|
|
4781
|
+
var _useState31 = React.useState(false),
|
|
4782
|
+
_useState32 = _slicedToArray__default["default"](_useState31, 2);
|
|
4783
|
+
_useState32[0];
|
|
4784
|
+
_useState32[1];
|
|
4785
|
+
var _useState33 = React.useState(0),
|
|
4742
4786
|
_useState34 = _slicedToArray__default["default"](_useState33, 2),
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
var _useState35 = React.useState(
|
|
4787
|
+
currentshowingimageindex = _useState34[0],
|
|
4788
|
+
setcurrentshowingimageindex = _useState34[1];
|
|
4789
|
+
var _useState35 = React.useState(''),
|
|
4746
4790
|
_useState36 = _slicedToArray__default["default"](_useState35, 2),
|
|
4747
|
-
|
|
4748
|
-
|
|
4791
|
+
tabIndex = _useState36[0],
|
|
4792
|
+
setTabIndex = _useState36[1];
|
|
4793
|
+
var _useState37 = React.useState(''),
|
|
4794
|
+
_useState38 = _slicedToArray__default["default"](_useState37, 2),
|
|
4795
|
+
tabname = _useState38[0],
|
|
4796
|
+
settabname = _useState38[1];
|
|
4797
|
+
var _useState39 = React.useState([]),
|
|
4798
|
+
_useState40 = _slicedToArray__default["default"](_useState39, 2),
|
|
4799
|
+
productVideos = _useState40[0],
|
|
4800
|
+
setproductVideos = _useState40[1];
|
|
4749
4801
|
var handleTabChange = function handleTabChange(event, newTabIndex) {
|
|
4750
4802
|
setTabIndex(newTabIndex);
|
|
4751
4803
|
};
|
|
@@ -4804,11 +4856,11 @@ var Productinfo = function Productinfo(props) {
|
|
|
4804
4856
|
productidassigner(productidparam);
|
|
4805
4857
|
}
|
|
4806
4858
|
}, []);
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
}, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
|
|
4859
|
+
// useEffect(() => {
|
|
4860
|
+
// if (fetchProductInfoQueryContext.isSuccess) {
|
|
4861
|
+
// setProductInfoObj({ ...fetchProductInfoQueryContext.data });
|
|
4862
|
+
// }
|
|
4863
|
+
// }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data, props, props.actions]);
|
|
4812
4864
|
React.useEffect(function () {
|
|
4813
4865
|
if (Object.keys(ProductInfoObj).length != 0 && !isloaded) {
|
|
4814
4866
|
variantchecker();
|
|
@@ -5018,6 +5070,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5018
5070
|
var variantobj = fetchProductInfoQueryContext.data.data.productinfo.variants[ProductVariantIndex];
|
|
5019
5071
|
var variantid = '';
|
|
5020
5072
|
if (variantobj == undefined) {
|
|
5073
|
+
setisoutofstock(false);
|
|
5021
5074
|
NotificationManager.warning('', 'Variant Not Found');
|
|
5022
5075
|
} else {
|
|
5023
5076
|
variantid = variantobj.variantid;
|
|
@@ -5029,6 +5082,11 @@ var Productinfo = function Productinfo(props) {
|
|
|
5029
5082
|
variantimageindex = tempimageindex;
|
|
5030
5083
|
}
|
|
5031
5084
|
});
|
|
5085
|
+
if (variantobj.current_quantity <= 0) {
|
|
5086
|
+
setisoutofstock(true);
|
|
5087
|
+
} else {
|
|
5088
|
+
setisoutofstock(false);
|
|
5089
|
+
}
|
|
5032
5090
|
setcurrentshowingimageindex(variantimageindex);
|
|
5033
5091
|
setaddtocardpayloadobj(_objectSpread$2m({}, tempaddtocardpayloadobj));
|
|
5034
5092
|
setvariantindexcompleted(ProductVariantIndex);
|
|
@@ -5062,17 +5120,27 @@ var Productinfo = function Productinfo(props) {
|
|
|
5062
5120
|
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.vendorproviderid;
|
|
5063
5121
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
5064
5122
|
if (Extrafieldvalidationresponse.status) {
|
|
5123
|
+
var _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14;
|
|
5124
|
+
Pixel_EventsContext('AddToCart', {
|
|
5125
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productid],
|
|
5126
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.name_ar),
|
|
5127
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.sku,
|
|
5128
|
+
content_type: 'product',
|
|
5129
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.currencyname_en,
|
|
5130
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.defaultprice,
|
|
5131
|
+
quantity: addtocardpayloadobj.quantity
|
|
5132
|
+
});
|
|
5065
5133
|
AddtoCartContext(tempaddtocardpayloadobj);
|
|
5066
5134
|
}
|
|
5067
5135
|
}
|
|
5068
5136
|
};
|
|
5069
5137
|
var validateextrafields = function validateextrafields() {
|
|
5070
|
-
var
|
|
5138
|
+
var _fetchProductInfoQuer15;
|
|
5071
5139
|
var tempaddtocardpayloadobj = _objectSpread$2m({}, addtocardpayloadobj);
|
|
5072
5140
|
var status = false;
|
|
5073
5141
|
var reason = '';
|
|
5074
5142
|
var missingitemsfound = [];
|
|
5075
|
-
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5143
|
+
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.productextrafields;
|
|
5076
5144
|
if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
|
|
5077
5145
|
status = true;
|
|
5078
5146
|
} else {
|
|
@@ -5552,6 +5620,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5552
5620
|
productnamehover: glamor.css({
|
|
5553
5621
|
transition: '.3s',
|
|
5554
5622
|
':hover': {
|
|
5623
|
+
cursor: 'pointer',
|
|
5555
5624
|
color: sectionproperties.prodNameColorOnHover
|
|
5556
5625
|
}
|
|
5557
5626
|
}),
|
|
@@ -5667,24 +5736,24 @@ var Productinfo = function Productinfo(props) {
|
|
|
5667
5736
|
}
|
|
5668
5737
|
}));
|
|
5669
5738
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
5670
|
-
var
|
|
5739
|
+
var _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19;
|
|
5671
5740
|
var price = 0;
|
|
5672
5741
|
var quantityconditions = [];
|
|
5673
5742
|
var quantity = 0;
|
|
5674
5743
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
5675
5744
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
5676
5745
|
}
|
|
5677
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5746
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productquantityoptions) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.length) != 0) {
|
|
5678
5747
|
quantityconditions = fetchProductInfoQueryContext.data.data.productinfo.productquantityoptions;
|
|
5679
5748
|
}
|
|
5680
5749
|
if (type == 'defaultprice') {
|
|
5681
5750
|
price = fetchProductInfoQueryContext.data.data.productinfo.defaultprice;
|
|
5682
5751
|
if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
|
|
5683
5752
|
if (variantindexcompleted != undefined) {
|
|
5684
|
-
var
|
|
5685
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5686
|
-
var
|
|
5687
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5753
|
+
var _fetchProductInfoQuer20;
|
|
5754
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.variants[variantindexcompleted]) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.variantprice) != undefined) {
|
|
5755
|
+
var _fetchProductInfoQuer21;
|
|
5756
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.variants[variantindexcompleted]) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.variantprice;
|
|
5688
5757
|
}
|
|
5689
5758
|
}
|
|
5690
5759
|
}
|
|
@@ -5692,10 +5761,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
5692
5761
|
price = fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice;
|
|
5693
5762
|
if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
|
|
5694
5763
|
if (variantindexcompleted != undefined) {
|
|
5695
|
-
var
|
|
5696
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5697
|
-
var
|
|
5698
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5764
|
+
var _fetchProductInfoQuer22;
|
|
5765
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.variants[variantindexcompleted]) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.variantsaleprice) != undefined) {
|
|
5766
|
+
var _fetchProductInfoQuer23;
|
|
5767
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.variants[variantindexcompleted]) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.variantsaleprice;
|
|
5699
5768
|
}
|
|
5700
5769
|
}
|
|
5701
5770
|
}
|
|
@@ -5725,7 +5794,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5725
5794
|
}
|
|
5726
5795
|
};
|
|
5727
5796
|
var getQuantityCondition = function getQuantityCondition() {
|
|
5728
|
-
var
|
|
5797
|
+
var _fetchProductInfoQuer24;
|
|
5729
5798
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5730
5799
|
"class": "col-lg-12 p-0",
|
|
5731
5800
|
style: {
|
|
@@ -5755,12 +5824,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
5755
5824
|
height: 1,
|
|
5756
5825
|
background: sectionproperties.pricelisttitlecolor
|
|
5757
5826
|
}
|
|
5758
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5759
|
-
var
|
|
5827
|
+
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productquantityoptions) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.map(function (item, index) {
|
|
5828
|
+
var _fetchProductInfoQuer25;
|
|
5760
5829
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5761
5830
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
5762
5831
|
style: {
|
|
5763
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5832
|
+
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productquantityoptions) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.length) - 1 != index ? '1rem' : 0
|
|
5764
5833
|
}
|
|
5765
5834
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5766
5835
|
"class": "d-flex align-items-center",
|
|
@@ -5794,7 +5863,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5794
5863
|
})));
|
|
5795
5864
|
};
|
|
5796
5865
|
var StoreInfo = function StoreInfo() {
|
|
5797
|
-
var
|
|
5866
|
+
var _fetchProductInfoQuer26, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6;
|
|
5798
5867
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5799
5868
|
"class": "row m-0 w-100"
|
|
5800
5869
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5841,7 +5910,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5841
5910
|
style: {
|
|
5842
5911
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5843
5912
|
}
|
|
5844
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5913
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productquantityoptions) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5845
5914
|
"class": "col-lg-12 p-0 mb-4"
|
|
5846
5915
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5847
5916
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -5948,6 +6017,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
5948
6017
|
}
|
|
5949
6018
|
}, fetchProductInfoQueryContext.data.data.productinfo.item_type == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
|
|
5950
6019
|
actions: (_ref = {
|
|
6020
|
+
setisoutofstock: setisoutofstock,
|
|
6021
|
+
isoutofstock: isoutofstock,
|
|
5951
6022
|
returnpolicyobj: returnpolicyobj,
|
|
5952
6023
|
langdetect: langdetect,
|
|
5953
6024
|
lang: lang,
|
|
@@ -5955,6 +6026,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
5955
6026
|
}, _defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty__default["default"](_ref, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref, "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_ref, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref, "routingcountext", routingcountext), _defineProperty__default["default"](_ref, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_ref, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref, "StoreInfoprops", StoreInfo), _defineProperty__default["default"](_ref, "currentshowingimageindex", currentshowingimageindex), _defineProperty__default["default"](_ref, "setcurrentshowingimageindex", setcurrentshowingimageindex), _defineProperty__default["default"](_ref, "templatepropcontext", templatepropcontext), _defineProperty__default["default"](_ref, "ikimagecredcontext", ikimagecredcontext), _defineProperty__default["default"](_ref, "variantindex", variantindex), _defineProperty__default["default"](_ref, "setvariantindex", setvariantindex), _ref)
|
|
5956
6027
|
}), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
5957
6028
|
actions: (_ref2 = {
|
|
6029
|
+
setisoutofstock: setisoutofstock,
|
|
6030
|
+
isoutofstock: isoutofstock,
|
|
5958
6031
|
returnpolicyobj: returnpolicyobj,
|
|
5959
6032
|
langdetect: langdetect,
|
|
5960
6033
|
lang: lang,
|
|
@@ -6028,12 +6101,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
6028
6101
|
onClick: function onClick() {
|
|
6029
6102
|
settabname('refundpolicytab');
|
|
6030
6103
|
}
|
|
6031
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6104
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.product_videos) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
6032
6105
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
6033
6106
|
onClick: function onClick() {
|
|
6034
6107
|
settabname('videostab');
|
|
6035
6108
|
}
|
|
6036
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6109
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
6037
6110
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
6038
6111
|
onClick: function onClick() {
|
|
6039
6112
|
settabname('reviewstab');
|
|
@@ -6088,12 +6161,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
6088
6161
|
onClick: function onClick() {
|
|
6089
6162
|
settabname('refundpolicytab');
|
|
6090
6163
|
}
|
|
6091
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6164
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.product_videos) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
6092
6165
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
6093
6166
|
onClick: function onClick() {
|
|
6094
6167
|
settabname('videostab');
|
|
6095
6168
|
}
|
|
6096
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6169
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
6097
6170
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
6098
6171
|
onClick: function onClick() {
|
|
6099
6172
|
settabname('reviewstab');
|
|
@@ -8491,6 +8564,7 @@ var Checkout = function Checkout(props) {
|
|
|
8491
8564
|
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
8492
8565
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
8493
8566
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
8567
|
+
var Pixel_EventsContext = props.actions.Pixel_EventsContext;
|
|
8494
8568
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
8495
8569
|
var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
|
|
8496
8570
|
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
@@ -8575,6 +8649,7 @@ var Checkout = function Checkout(props) {
|
|
|
8575
8649
|
routingcountext(StaticPagesLinksContext.Login);
|
|
8576
8650
|
}
|
|
8577
8651
|
}
|
|
8652
|
+
Pixel_EventsContext('InitiateCheckout', {});
|
|
8578
8653
|
}, [authdetailsContext]);
|
|
8579
8654
|
var cartinfoupdater = function cartinfoupdater(key, value) {
|
|
8580
8655
|
var _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18;
|
|
@@ -57224,9 +57299,10 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
57224
57299
|
cursor: ((_arrayofobjectimageso = arrayofobjectimagesonly2[0]) === null || _arrayofobjectimageso === void 0 ? void 0 : _arrayofobjectimageso.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
|
|
57225
57300
|
},
|
|
57226
57301
|
onClick: function onClick() {
|
|
57227
|
-
if (arrayofobjectimagesonly2[0].
|
|
57228
|
-
if (arrayofobjectimagesonly2[0].
|
|
57229
|
-
routingcountext(arrayofobjectimagesonly2[0].
|
|
57302
|
+
if (arrayofobjectimagesonly2[0].IsClickableimg == 'Yes') {
|
|
57303
|
+
if (arrayofobjectimagesonly2[0].clickableimg_page_route != undefined && arrayofobjectimagesonly2[0].clickableimg_page_route.length != 0) {
|
|
57304
|
+
// routingcountext(arrayofobjectimagesonly2[0].clickableimg_page_route, false, '');
|
|
57305
|
+
window.open(arrayofobjectimagesonly2[0].clickableimg_page_route, '_blank');
|
|
57230
57306
|
} else {
|
|
57231
57307
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + arrayofobjectimagesonly2[0].Clickableimg_getcoection2);
|
|
57232
57308
|
}
|
|
@@ -57253,9 +57329,10 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
57253
57329
|
cursor: ((_arrayofobjectimageso4 = arrayofobjectimagesonly2[1]) === null || _arrayofobjectimageso4 === void 0 ? void 0 : _arrayofobjectimageso4.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
|
|
57254
57330
|
},
|
|
57255
57331
|
onClick: function onClick() {
|
|
57256
|
-
if (arrayofobjectimagesonly2[1].
|
|
57257
|
-
if (arrayofobjectimagesonly2[1].
|
|
57258
|
-
routingcountext(arrayofobjectimagesonly2[1].
|
|
57332
|
+
if (arrayofobjectimagesonly2[1].IsClickableimg == 'Yes') {
|
|
57333
|
+
if (arrayofobjectimagesonly2[1].clickableimg_page_route != undefined && arrayofobjectimagesonly2[1].clickableimg_page_route.length != 0) {
|
|
57334
|
+
// routingcountext(arrayofobjectimagesonly2[1].clickableimg_page_route, false, '');
|
|
57335
|
+
window.open(arrayofobjectimagesonly2[1].clickableimg_page_route, '_blank');
|
|
57259
57336
|
} else {
|
|
57260
57337
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + arrayofobjectimagesonly2[1].Clickableimg_getcoection2);
|
|
57261
57338
|
}
|