tabexseriescomponents 0.2.1069 → 0.2.1071
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +854 -484
- package/dist/index.esm.js +854 -484
- package/dist/index.umd.js +854 -484
- package/package.json +1 -1
- package/srcbefore27-11/Contexts/LanguageContext.jsx +408 -0
- package/srcbefore27-11/Contexts/ProductsCardsSectionContext.jsx +36 -0
- package/srcbefore27-11/Imagekitconfig copy.jsx +46 -0
- package/srcbefore27-11/Imagekitconfig.jsx +178 -0
- package/srcbefore27-11/StylesJS/Customstyles.js +456 -0
- package/srcbefore27-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +538 -0
- package/srcbefore27-11/TabexComponents/Cards/Card20/Card20.jsx +299 -0
- package/srcbefore27-11/TabexComponents/Cards/Card21/Card21.jsx +388 -0
- package/srcbefore27-11/TabexComponents/Cards/Card22/Card22.jsx +288 -0
- package/srcbefore27-11/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
- package/srcbefore27-11/TabexComponents/Cards/Card23/Card23.jsx +733 -0
- package/srcbefore27-11/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
- package/srcbefore27-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
- package/srcbefore27-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
- package/srcbefore27-11/TabexComponents/Cards/Cardwithdetailsshowonhover/Cardwithdetailsshowonhover.jsx +1074 -0
- package/srcbefore27-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
- package/srcbefore27-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +293 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover/Categorycard_details_onhover.jsx +512 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover copy/Categorycard_details_onhover.jsx +513 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +184 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +208 -0
- package/srcbefore27-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
- package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
- package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +145 -0
- package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
- package/srcbefore27-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
- package/srcbefore27-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +605 -0
- package/srcbefore27-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +817 -0
- package/srcbefore27-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
- package/srcbefore27-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
- package/srcbefore27-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
- package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
- package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
- package/srcbefore27-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +731 -0
- package/srcbefore27-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
- package/srcbefore27-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
- package/srcbefore27-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +138 -0
- package/srcbefore27-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +611 -0
- package/srcbefore27-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +600 -0
- package/srcbefore27-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +2321 -0
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +1311 -0
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcardlastversion15-9.jsx +1292 -0
- package/srcbefore27-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
- package/srcbefore27-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
- package/srcbefore27-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
- package/srcbefore27-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
- package/srcbefore27-11/TabexComponents/Cards/Variants_J_Cards/Variants_J_Cards.jsx +660 -0
- package/srcbefore27-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +759 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer1/Footer1.jsx +551 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer2/Footer2.jsx +731 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer3/Footer3.jsx +414 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer5/Footer5.jsx +776 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer7/Footer7.jsx +430 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8 copy.jsx +1970 -0
- package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8.jsx +2015 -0
- package/srcbefore27-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
- package/srcbefore27-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +582 -0
- package/srcbefore27-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +1165 -0
- package/srcbefore27-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +646 -0
- package/srcbefore27-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
- package/srcbefore27-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +332 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/srcbefore27-11/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1264 -0
- package/srcbefore27-11/TabexComponents/Headers/CategoriesComponent/CategoriesComponent.jsx +375 -0
- package/srcbefore27-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1056 -0
- package/srcbefore27-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1498 -0
- package/srcbefore27-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1289 -0
- package/srcbefore27-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
- package/srcbefore27-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +907 -0
- package/srcbefore27-11/TabexComponents/Headers/FloatingIcons/FloatingIcons.jsx +358 -0
- package/srcbefore27-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +875 -0
- package/srcbefore27-11/TabexComponents/Headers/Header4/Header4.jsx +622 -0
- package/srcbefore27-11/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
- package/srcbefore27-11/TabexComponents/Headers/Header8/Header8.jsx +3414 -0
- package/srcbefore27-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +777 -0
- package/srcbefore27-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +933 -0
- package/srcbefore27-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +710 -0
- package/srcbefore27-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
- package/srcbefore27-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +1347 -0
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1566 -0
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +7199 -0
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
- package/srcbefore27-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +941 -0
- package/srcbefore27-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +80 -0
- package/srcbefore27-11/TabexComponents/Headers/Minimalheader/Minimalheader.jsx +846 -0
- package/srcbefore27-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +1198 -0
- package/srcbefore27-11/TabexComponents/Headers/ParentCollectionsComponent/ParentCollectionsComponent.jsx +385 -0
- package/srcbefore27-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +784 -0
- package/srcbefore27-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1186 -0
- package/srcbefore27-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +3711 -0
- package/srcbefore27-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +266 -0
- package/srcbefore27-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +860 -0
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader copy.jsx +950 -0
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader.jsx +1052 -0
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
- package/srcbefore27-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
- package/srcbefore27-11/TabexComponents/Headers/SubheaderDropdown/SubheaderDropdown.jsx +610 -0
- package/srcbefore27-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1049 -0
- package/srcbefore27-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1095 -0
- package/srcbefore27-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +979 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +872 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContentrecent.jsx +895 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +421 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +822 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm19-8beforeattach.jsx +789 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm22-7.jsx +787 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +295 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/PopupCountryComponent/PopupCountryComponent.jsx +120 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +119 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +489 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +633 -0
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +509 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +2323 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +1891 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSectionwithanomation12-1.jsx +2065 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +966 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +1577 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +596 -0
- package/srcbefore27-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +394 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/CountDownSection/CountDownSection.jsx +174 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +651 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection20-2.jsx +1017 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +3027 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/MarqueeSection/MarqueeSection.jsx +103 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Preloaderone/Preloaderone.jsx +49 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +384 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards copy.jsx +1576 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +1989 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +474 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +665 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +741 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/TableSection/TableSection.jsx +423 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +636 -0
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
- package/srcbefore27-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +234 -0
- package/srcbefore27-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +306 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +364 -0
- package/srcbefore27-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +1000 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +2506 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout12-12beforeextras.jsx +1999 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Compare/Compare.jsx +79 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter.jsx +3337 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
- package/srcbefore27-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Login/Login.jsx +616 -0
- package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +693 -0
- package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess2.jsx +173 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1831 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
- package/srcbefore27-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +268 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +190 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +224 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductFileUploader.jsx +136 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +347 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +262 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +5566 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeeuro.jsx +3101 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +3047 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo13-5.jsx +2103 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo_28_6.jsx +2189 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfotoday.jsx +2166 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.js +2714 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +2206 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtypetill28-4-2025.jsx +1158 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +1117 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs4-5.jsx +1043 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabstill28-4-2025.jsx +1040 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +905 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +928 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
- package/srcbefore27-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +346 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +367 -0
- package/srcbefore27-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +222 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1505 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm12-5beforeemailrequired.jsx +1476 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
- package/srcbefore27-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +219 -0
- package/srcbefore27-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
- package/srcbefore27-11/button.jsx +40 -0
- package/srcbefore27-11/index.jsx +353 -0
- package/srcbefore27-11/styles/Home.module.css +129 -0
- package/srcbefore27-11/styles/cards/Categorcycard_fullimage.module.css +14 -0
- package/srcbefore27-11/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
- package/srcbefore27-11/styles/cards/Categorycard_withshapes.module.css +189 -0
- package/srcbefore27-11/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
- package/srcbefore27-11/styles/cards/Productcard6.module.css +9 -0
- package/srcbefore27-11/styles/cards/Productccard_with_zoominonhover.module.css +94 -0
- package/srcbefore27-11/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
- package/srcbefore27-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
- package/srcbefore27-11/styles/cards/card23.module.css +60 -0
- package/srcbefore27-11/styles/cards/categorycard.module.css +84 -0
- package/srcbefore27-11/styles/cards/categorycard3.module.css +50 -0
- package/srcbefore27-11/styles/cards/categorycardwithtext.module.css +40 -0
- package/srcbefore27-11/styles/cards/generalCardsStyles.module.css +79 -0
- package/srcbefore27-11/styles/cards/productcard_animatedbuttons.module.css +139 -0
- package/srcbefore27-11/styles/cards/productcard_with_textonhover.module.css +18 -0
- package/srcbefore27-11/styles/cards/productcard_withtextonimage.module.css +0 -0
- package/srcbefore27-11/styles/cards/productccard_with_imageontopleft.module.css +85 -0
- package/srcbefore27-11/styles/general/bootstrap.css +4763 -0
- package/srcbefore27-11/styles/general/dropdown.css +206 -0
- package/srcbefore27-11/styles/general/editorbardropdown.module.css +94 -0
- package/srcbefore27-11/styles/general/filter.module.css +108 -0
- package/srcbefore27-11/styles/general/form.module.css +255 -0
- package/srcbefore27-11/styles/general/general.module.css +872 -0
- package/srcbefore27-11/styles/general/image-gallery.css +531 -0
- package/srcbefore27-11/styles/general/react-accessible-accordion.module.css +52 -0
- package/srcbefore27-11/styles/general/react-phone-input-2.module.css +927 -0
- package/srcbefore27-11/styles/general/scrollbtn.module.css +22 -0
- package/srcbefore27-11/styles/general/slick.module.css +166 -0
- package/srcbefore27-11/styles/general/tabs.module.css +119 -0
- package/srcbefore27-11/styles/general/workplaceeditor.module.css +328 -0
- package/srcbefore27-11/styles/globals.css +26 -0
- package/srcbefore27-11/styles/headers/CTAHeader.module.css +40 -0
- package/srcbefore27-11/styles/headers/CategoryFeaturingHeader.module.css +61 -0
- package/srcbefore27-11/styles/headers/Gotoheader.module.css +87 -0
- package/srcbefore27-11/styles/headers/Header7.module.css +50 -0
- package/srcbefore27-11/styles/headers/HeaderWithAdSlider.module.css +86 -0
- package/srcbefore27-11/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
- package/srcbefore27-11/styles/headers/HeaderWithUtilityBar.module.css +46 -0
- package/srcbefore27-11/styles/headers/Header_threesectionslogocentered.module.css +84 -0
- package/srcbefore27-11/styles/headers/NewHeader.module.css +101 -0
- package/srcbefore27-11/styles/headers/SearchFocusedHeader.module.css +62 -0
- package/srcbefore27-11/styles/headers/Sideheader.module.css +108 -0
- package/srcbefore27-11/styles/headers/Simpleheader.module.css +102 -0
- package/srcbefore27-11/styles/headers/classicheader.module.css +16 -0
- package/srcbefore27-11/styles/headers/classicheaderstyles.module.css +9 -0
- package/srcbefore27-11/styles/headers/dropdown.css +0 -0
- package/srcbefore27-11/styles/headers/header4.module.css +175 -0
- package/srcbefore27-11/styles/headers/header5.module.css +30 -0
- package/srcbefore27-11/styles/headers/header_contactinfo.module.css +53 -0
- package/srcbefore27-11/styles/headers/headerresturant.module.css +89 -0
- package/srcbefore27-11/styles/headers/modernheader.module.css +45 -0
- package/srcbefore27-11/styles/headers/stylishheader.module.css +24 -0
- package/srcbefore27-11/styles/headers/subheader.module.css +114 -0
- package/srcbefore27-11/styles/headers/threetieredheader.module.css +91 -0
- package/srcbefore27-11/styles/sections/BackgroundImageWithTopContent.css +4 -0
- package/srcbefore27-11/styles/sections/Backgroundimage1.module.css +17 -0
- package/srcbefore27-11/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
- package/srcbefore27-11/styles/sections/Freetext.module.css +18 -0
- package/srcbefore27-11/styles/sections/Section_with_rightbgcont.module.css +49 -0
- package/srcbefore27-11/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
- package/srcbefore27-11/styles/sections/Slideshow_with_squarebg.module.css +39 -0
- package/srcbefore27-11/styles/staticpages/accordion.module.css +9 -0
- package/srcbefore27-11/styles/staticpages/cart.module.css +108 -0
- package/srcbefore27-11/styles/staticpages/dropdown.css +196 -0
- package/srcbefore27-11/styles/staticpages/filter.module.css +139 -0
- package/srcbefore27-11/styles/staticpages/image-gallery.css +481 -0
- package/srcbefore27-11/styles/staticpages/login.module.css +155 -0
- package/srcbefore27-11/styles/staticpages/productinfo.module.css +54 -0
- package/srcbefore27-11/styles/staticpages/shop.module.css +191 -0
- package/srcbefore27-11/styles/staticpages/signup.module.css +250 -0
- package/srcbefore27-11/styles/staticpages/staticroutersidenav.module.css +129 -0
- package/srcbefore27-11/styles/staticpages/viewcart.module.css +129 -0
- package/srcbefore27-11/styles/staticpages/wishlist.module.css +29 -0
package/dist/index.cjs.js
CHANGED
|
@@ -2276,11 +2276,12 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2276
2276
|
var sectionproperties = props.actions.sectionproperties;
|
|
2277
2277
|
props.actions.addtocardpayloadobj;
|
|
2278
2278
|
props.actions.setaddtocardpayloadobj;
|
|
2279
|
+
var addtocartfunc_extras = props.actions.addtocartfunc_extras;
|
|
2279
2280
|
props.actions;
|
|
2280
2281
|
var productid = 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.productid;
|
|
2281
2282
|
// const templatepropcontext = props.actions.templatepropcontext;
|
|
2282
2283
|
|
|
2283
|
-
|
|
2284
|
+
// const addtocartfunc = props.addtocartfunc;
|
|
2284
2285
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
2285
2286
|
props.actions.productinfo_cssstyles;
|
|
2286
2287
|
var _useState = React.useState([]),
|
|
@@ -2391,7 +2392,7 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2391
2392
|
var _item$productinfo5;
|
|
2392
2393
|
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
2393
2394
|
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
2394
|
-
|
|
2395
|
+
addtocartfunc_extras(false, {
|
|
2395
2396
|
functype: 'add',
|
|
2396
2397
|
item_type: 'Extras',
|
|
2397
2398
|
productid: item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.productid,
|
|
@@ -2433,7 +2434,7 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2433
2434
|
}
|
|
2434
2435
|
quantity = quantity + 1;
|
|
2435
2436
|
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
2436
|
-
|
|
2437
|
+
addtocartfunc_extras(false, {
|
|
2437
2438
|
functype: 'add',
|
|
2438
2439
|
item_type: 'Extras',
|
|
2439
2440
|
productid: item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.productid,
|
|
@@ -3596,7 +3597,7 @@ var ProductFileUploader = function ProductFileUploader(props) {
|
|
|
3596
3597
|
};
|
|
3597
3598
|
|
|
3598
3599
|
function ownKeys$2C(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;}function _objectSpread$2C(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys$2C(Object(t),!0).forEach(function(r){_defineProperty__default["default"](e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys$2C(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}//productidprops
|
|
3599
|
-
var Product_itemtype=function Product_itemtype(props){var _authdetailsContext$i,_authdetailsContext$i2,_authdetailsContext$i4,_authdetailsContext$i5,_authdetailsContext$i6,_fetchProductInfoQuer26,_fetchProductInfoQuer27,_fetchProductInfoQuer28,_fetchProductInfoQuer29,_fetchProductInfoQuer30,_fetchProductInfoQuer31,_fetchProductInfoQuer32,_fetchProductInfoQuer33,_fetchProductInfoQuer34,_fetchProductInfoQuer35,_fetchProductInfoQuer36,_fetchProductInfoQuer37,_fetchProductInfoQuer38,_fetchProductInfoQuer39,_fetchProductInfoQuer40,_fetchProductInfoQuer41,_fetchProductInfoQuer42,_fetchProductInfoQuer43,_authdetailsContext$i7,_authdetailsContext$i8,_authdetailsContext$i9,_authdetailsContext$i0,_fetchProductInfoQuer45,_fetchProductInfoQuer46,_fetchProductInfoQuer47,_fetchProductInfoQuer48,_fetchProductInfoQuer49,_fetchProductInfoQuer50,_fetchProductInfoQuer51,_fetchProductInfoQuer52,_authdetailsContext$i1,_fetchProductInfoQuer53,_fetchProductInfoQuer54,_fetchProductInfoQuer55,_fetchProductInfoQuer56,_fetchProductInfoQuer57,_fetchProductInfoQuer59,_fetchProductInfoQuer60,_fetchProductInfoQuer61,_fetchProductInfoQuer63,_fetchProductInfoQuer64,_fetchProductInfoQuer65,_fetchProductInfoQuer66,_fetchProductInfoQuer67,_fetchProductInfoQuer68,_fetchProductInfoQuer69,_fetchProductInfoQuer70,_fetchProductInfoQuer71,_authdetailsContext$i10,_returnpolicyobj,_returnpolicyobj2,_returnpolicyobj3,_returnpolicyobj4,_returnpolicyobj5,_returnpolicyobj6,_returnpolicyobj7,_returnpolicyobj8,_fetchProductInfoQuer72,_fetchProductInfoQuer73,_authdetailsContext$i11,_fetchProductInfoQuer74,_fetchProductInfoQuer75,_fetchProductInfoQuer76,_fetchProductInfoQuer77,_fetchProductInfoQuer78,_authdetailsContext$i12,_fetchProductInfoQuer79,_fetchProductInfoQuer80,_fetchProductInfoQuer81,_fetchProductInfoQuer82,_fetchProductInfoQuer83,_fetchProductInfoQuer84,_authdetailsContext$i13,_fetchProductInfoQuer85,_fetchProductInfoQuer86,_fetchProductInfoQuer87,_fetchProductInfoQuer88,_fetchProductInfoQuer89,_fetchProductInfoQuer90,_fetchProductInfoQuer91,_fetchProductInfoQuer92,_fetchProductInfoQuer93,_fetchProductInfoQuer94,_fetchProductInfoQuer95,_fetchProductInfoQuer96,_fetchProductInfoQuer97,_fetchProductInfoQuer98,_fetchProductInfoQuer100,_fetchProductInfoQuer101,_fetchProductInfoQuer102,_fetchProductInfoQuer103,_fetchProductInfoQuer104,_fetchProductInfoQuer105,_fetchProductInfoQuer106,_fetchProductInfoQuer107,_fetchProductInfoQuer108,_fetchProductInfoQuer109,_fetchProductInfoQuer110,_fetchProductInfoQuer111,_fetchProductInfoQuer112,_fetchProductInfoQuer114,_fetchProductInfoQuer115,_fetchProductInfoQuer116,_fetchProductInfoQuer118,_fetchProductInfoQuer119,_fetchProductInfoQuer120,_fetchProductInfoQuer121,_fetchProductInfoQuer122,_fetchProductInfoQuer123,_fetchProductInfoQuer124,_fetchProductInfoQuer125,_fetchProductInfoQuer126,_returnpolicyobj9,_returnpolicyobj0,_returnpolicyobj1,_returnpolicyobj10,_returnpolicyobj11,_returnpolicyobj12,_returnpolicyobj13,_returnpolicyobj14,_fetchProductInfoQuer127,_fetchProductInfoQuer128,_fetchProductInfoQuer129,_fetchProductInfoQuer130,_fetchProductInfoQuer131,_fetchProductInfoQuer132,_authdetailsContext$i14,_authdetailsContext$i15,_fetchProductInfoQuer133,_fetchProductInfoQuer134,_fetchProductInfoQuer135,_fetchProductInfoQuer136,_fetchProductInfoQuer137,_fetchProductInfoQuer138,_fetchProductInfoQuer139,_fetchProductInfoQuer140,_authdetailsContext$i16,_fetchProductInfoQuer141,_fetchProductInfoQuer142,_fetchProductInfoQuer143,_fetchProductInfoQuer144,_fetchProductInfoQuer145,_fetchProductInfoQuer148,_fetchProductInfoQuer149,_authdetailsContext$i17,_fetchProductInfoQuer150,_fetchProductInfoQuer151,_fetchProductInfoQuer152,_fetchProductInfoQuer153,_fetchProductInfoQuer154,_fetchProductInfoQuer155,_fetchProductInfoQuer156,_fetchProductInfoQuer159,_fetchProductInfoQuer160,_sizeguideimage$,_authdetailsContext$i18,_fetchProductInfoQuer162,_fetchProductInfoQuer163;var lang=props.actions.lang;var actions=props.actions;var langdetect=props.actions.langdetect;var srcfromprops=props.actions.srcfromprops;var returnpolicyobj=props.actions.returnpolicyobj;var productinfo_cssstyles=props.actions.productinfo_cssstyles;var addtocartfunc=props.actions.addtocartfunc;props.actions.selectproductoptionvalue;props.actions.clearchoosenvaluesbutkeepcurrentvalue;props.actions.fetchAuthorizationQueryContext;var productimagesarray=props.actions.productimagesarray;var fetchProductInfoQueryContext=props.actions.fetchProductInfoQueryContext;var sectionproperties=props.actions.sectionproperties;var addtocardpayloadobj=props.actions.addtocardpayloadobj;var setaddtocardpayloadobj=props.actions.setaddtocardpayloadobj;var routingcountext=props.actions.routingcountext;var AddtoCartMutationContext=props.actions.AddtoCartMutationContext;var authdetailsContext=props.actions.authdetailsContext;var variantsku=props.actions.variantsku;var addtofavoritescontext=props.actions.addtofavoritescontext;var variantindexcompleted=props.actions.variantindexcompleted;var productVideos=props.actions.productVideos;props.actions.ProductInfoObj;var NotificationManager=props.actions.NotificationManager;var StaticPagesLinksContext=props.actions.StaticPagesLinksContext;var getprice_discountpriceprops=props.actions.getprice_discountpriceprops;// const getprice_discountpricepropsnormalonly = props.actions.getprice_discountpricepropsnormalonly;
|
|
3600
|
+
var Product_itemtype=function Product_itemtype(props){var _authdetailsContext$i,_authdetailsContext$i2,_authdetailsContext$i4,_authdetailsContext$i5,_authdetailsContext$i6,_fetchProductInfoQuer26,_fetchProductInfoQuer27,_fetchProductInfoQuer28,_fetchProductInfoQuer29,_fetchProductInfoQuer30,_fetchProductInfoQuer31,_fetchProductInfoQuer32,_fetchProductInfoQuer33,_fetchProductInfoQuer34,_fetchProductInfoQuer35,_fetchProductInfoQuer36,_fetchProductInfoQuer37,_fetchProductInfoQuer38,_fetchProductInfoQuer39,_fetchProductInfoQuer40,_fetchProductInfoQuer41,_fetchProductInfoQuer42,_fetchProductInfoQuer43,_authdetailsContext$i7,_authdetailsContext$i8,_authdetailsContext$i9,_authdetailsContext$i0,_fetchProductInfoQuer45,_fetchProductInfoQuer46,_fetchProductInfoQuer47,_fetchProductInfoQuer48,_fetchProductInfoQuer49,_fetchProductInfoQuer50,_fetchProductInfoQuer51,_fetchProductInfoQuer52,_authdetailsContext$i1,_fetchProductInfoQuer53,_fetchProductInfoQuer54,_fetchProductInfoQuer55,_fetchProductInfoQuer56,_fetchProductInfoQuer57,_fetchProductInfoQuer59,_fetchProductInfoQuer60,_fetchProductInfoQuer61,_fetchProductInfoQuer63,_fetchProductInfoQuer64,_fetchProductInfoQuer65,_fetchProductInfoQuer66,_fetchProductInfoQuer67,_fetchProductInfoQuer68,_fetchProductInfoQuer69,_fetchProductInfoQuer70,_fetchProductInfoQuer71,_authdetailsContext$i10,_returnpolicyobj,_returnpolicyobj2,_returnpolicyobj3,_returnpolicyobj4,_returnpolicyobj5,_returnpolicyobj6,_returnpolicyobj7,_returnpolicyobj8,_fetchProductInfoQuer72,_fetchProductInfoQuer73,_authdetailsContext$i11,_fetchProductInfoQuer74,_fetchProductInfoQuer75,_fetchProductInfoQuer76,_fetchProductInfoQuer77,_fetchProductInfoQuer78,_authdetailsContext$i12,_fetchProductInfoQuer79,_fetchProductInfoQuer80,_fetchProductInfoQuer81,_fetchProductInfoQuer82,_fetchProductInfoQuer83,_fetchProductInfoQuer84,_authdetailsContext$i13,_fetchProductInfoQuer85,_fetchProductInfoQuer86,_fetchProductInfoQuer87,_fetchProductInfoQuer88,_fetchProductInfoQuer89,_fetchProductInfoQuer90,_fetchProductInfoQuer91,_fetchProductInfoQuer92,_fetchProductInfoQuer93,_fetchProductInfoQuer94,_fetchProductInfoQuer95,_fetchProductInfoQuer96,_fetchProductInfoQuer97,_fetchProductInfoQuer98,_fetchProductInfoQuer100,_fetchProductInfoQuer101,_fetchProductInfoQuer102,_fetchProductInfoQuer103,_fetchProductInfoQuer104,_fetchProductInfoQuer105,_fetchProductInfoQuer106,_fetchProductInfoQuer107,_fetchProductInfoQuer108,_fetchProductInfoQuer109,_fetchProductInfoQuer110,_fetchProductInfoQuer111,_fetchProductInfoQuer112,_fetchProductInfoQuer114,_fetchProductInfoQuer115,_fetchProductInfoQuer116,_fetchProductInfoQuer118,_fetchProductInfoQuer119,_fetchProductInfoQuer120,_fetchProductInfoQuer121,_fetchProductInfoQuer122,_fetchProductInfoQuer123,_fetchProductInfoQuer124,_fetchProductInfoQuer125,_fetchProductInfoQuer126,_returnpolicyobj9,_returnpolicyobj0,_returnpolicyobj1,_returnpolicyobj10,_returnpolicyobj11,_returnpolicyobj12,_returnpolicyobj13,_returnpolicyobj14,_fetchProductInfoQuer127,_fetchProductInfoQuer128,_fetchProductInfoQuer129,_fetchProductInfoQuer130,_fetchProductInfoQuer131,_fetchProductInfoQuer132,_authdetailsContext$i14,_authdetailsContext$i15,_fetchProductInfoQuer133,_fetchProductInfoQuer134,_fetchProductInfoQuer135,_fetchProductInfoQuer136,_fetchProductInfoQuer137,_fetchProductInfoQuer138,_fetchProductInfoQuer139,_fetchProductInfoQuer140,_authdetailsContext$i16,_fetchProductInfoQuer141,_fetchProductInfoQuer142,_fetchProductInfoQuer143,_fetchProductInfoQuer144,_fetchProductInfoQuer145,_fetchProductInfoQuer148,_fetchProductInfoQuer149,_authdetailsContext$i17,_fetchProductInfoQuer150,_fetchProductInfoQuer151,_fetchProductInfoQuer152,_fetchProductInfoQuer153,_fetchProductInfoQuer154,_fetchProductInfoQuer155,_fetchProductInfoQuer156,_fetchProductInfoQuer159,_fetchProductInfoQuer160,_sizeguideimage$,_authdetailsContext$i18,_fetchProductInfoQuer162,_fetchProductInfoQuer163;var lang=props.actions.lang;var actions=props.actions;var langdetect=props.actions.langdetect;var srcfromprops=props.actions.srcfromprops;var returnpolicyobj=props.actions.returnpolicyobj;var productinfo_cssstyles=props.actions.productinfo_cssstyles;var addtocartfunc=props.actions.addtocartfunc;props.actions.selectproductoptionvalue;props.actions.clearchoosenvaluesbutkeepcurrentvalue;props.actions.fetchAuthorizationQueryContext;var productimagesarray=props.actions.productimagesarray;var fetchProductInfoQueryContext=props.actions.fetchProductInfoQueryContext;var sectionproperties=props.actions.sectionproperties;var addtocardpayloadobj=props.actions.addtocardpayloadobj;var setaddtocardpayloadobj=props.actions.setaddtocardpayloadobj;var routingcountext=props.actions.routingcountext;var AddtoCartMutationContext=props.actions.AddtoCartMutationContext;var authdetailsContext=props.actions.authdetailsContext;var variantsku=props.actions.variantsku;var addtofavoritescontext=props.actions.addtofavoritescontext;var variantindexcompleted=props.actions.variantindexcompleted;var productVideos=props.actions.productVideos;props.actions.ProductInfoObj;var NotificationManager=props.actions.NotificationManager;var StaticPagesLinksContext=props.actions.StaticPagesLinksContext;var getprice_discountpriceprops=props.actions.getprice_discountpriceprops;props.actions.addtocartfunc_extras;// const getprice_discountpricepropsnormalonly = props.actions.getprice_discountpricepropsnormalonly;
|
|
3600
3601
|
var ikimagecredcontext=props.actions.ikimagecredcontext;var currentshowingimageindex_pro=props.actions.currentshowingimageindex;var StoreInfoprops=props.actions.StoreInfoprops;props.actions.productimagesarray;var sizeguideimage=props.actions.sizeguideimage;// const setopensizeguidemodal = props.actions.setopensizeguidemodal;
|
|
3601
3602
|
// const opensizeguidemodal = props.actions.opensizeguidemodal;
|
|
3602
3603
|
var _useState=React.useState(false),_useState2=_slicedToArray__default["default"](_useState,2),opensizeguidemodal=_useState2[0],setopensizeguidemodal=_useState2[1];var whatsappUrl="https://wa.me/".concat(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i=authdetailsContext.instinfo)===null||_authdetailsContext$i===void 0?void 0:_authdetailsContext$i.whatsappnumber,"?text=").concat(sectionproperties.directwabtnmessageen+' '+'https://'+authdetailsContext.instinfo.instcred.instexternaldomain+'/productinfo/'+fetchProductInfoQueryContext.data.data.productinfo.productid);var whatsappUrl_ar="https://wa.me/".concat(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i2=authdetailsContext.instinfo)===null||_authdetailsContext$i2===void 0?void 0:_authdetailsContext$i2.whatsappnumber,"?text=").concat(sectionproperties.directwabtnmessagear+' '+'https://'+authdetailsContext.instinfo.instcred.instexternaldomain+'/productinfo/'+fetchProductInfoQueryContext.data.data.productinfo.productid);var _useState3=React.useState(currentshowingimageindex_pro),_useState4=_slicedToArray__default["default"](_useState3,2),currentshowingimageindex=_useState4[0],setcurrentshowingimageindex=_useState4[1];// const DescriptionContent = props.actions.DescriptionContent;
|
|
@@ -4464,7 +4465,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4464
4465
|
})), sectionproperties.overwritecertbtntext == 'Yes' ? langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic : langdetect == 'en' ? 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.productactionbuttontext_en : 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.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4465
4466
|
className: ' d-flex align-items-center justify-content-center '
|
|
4466
4467
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4467
|
-
color:
|
|
4468
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
4468
4469
|
width: "20px",
|
|
4469
4470
|
height: "20px",
|
|
4470
4471
|
duration: "1s"
|
|
@@ -4547,7 +4548,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4547
4548
|
})), sectionproperties.overwritecertbtntext == 'Yes' ? langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic : langdetect == 'en' ? 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.productactionbuttontext_en : 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.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4548
4549
|
className: ' d-flex align-items-center justify-content-center '
|
|
4549
4550
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4550
|
-
color:
|
|
4551
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
4551
4552
|
width: "20px",
|
|
4552
4553
|
height: "20px",
|
|
4553
4554
|
duration: "1s"
|
|
@@ -4608,7 +4609,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4608
4609
|
};
|
|
4609
4610
|
|
|
4610
4611
|
var Service_itemtype = function Service_itemtype(props) {
|
|
4611
|
-
var _css, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$
|
|
4612
|
+
var _css, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i7, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _authdetailsContext$i8, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _authdetailsContext$i9, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _authdetailsContext$i0, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _authdetailsContext$i1, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _sizeguideimage$;
|
|
4612
4613
|
var lang = props.actions.lang;
|
|
4613
4614
|
var langdetect = props.actions.langdetect;
|
|
4614
4615
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -4650,6 +4651,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4650
4651
|
var sizeguideimage = props.actions.sizeguideimage;
|
|
4651
4652
|
props.actions.selectproductoptionvalue;
|
|
4652
4653
|
props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
4654
|
+
props.actions.addtocartfunc_extras;
|
|
4655
|
+
var variantindexcompleted = props.actions.variantindexcompleted;
|
|
4653
4656
|
React.useEffect(function () {
|
|
4654
4657
|
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
4655
4658
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
@@ -4729,7 +4732,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4729
4732
|
};
|
|
4730
4733
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4731
4734
|
"class": ' col-lg-12 p-0 '
|
|
4732
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) != '690a1090c2e9c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) != '68b59be871aaf' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) != '68d9461ed6822' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instid) != '68c160414c162' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4735
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) != '690a1090c2e9c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) != '68b59be871aaf' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) != '68d9461ed6822' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instid) != '68c160414c162' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) != '68c160414c162' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) != '68bd43a570fa6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4733
4736
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
4734
4737
|
style: {
|
|
4735
4738
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -5448,7 +5451,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5448
5451
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
5449
5452
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
5450
5453
|
}
|
|
5451
|
-
}, StoreInfoprops()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5454
|
+
}, StoreInfoprops()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '68d9461ed6822' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5452
5455
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5453
5456
|
style: {
|
|
5454
5457
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5590,7 +5593,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5590
5593
|
addtofavoritescontext: addtofavoritescontext,
|
|
5591
5594
|
srcfrom: 'col-3'
|
|
5592
5595
|
}
|
|
5593
|
-
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5596
|
+
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '68b59be871aaf' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5594
5597
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5595
5598
|
style: {
|
|
5596
5599
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5685,7 +5688,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5685
5688
|
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
5686
5689
|
addtofavoritescontext: addtofavoritescontext
|
|
5687
5690
|
}
|
|
5688
|
-
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5691
|
+
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '68bd43a570fa6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5689
5692
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5690
5693
|
style: {
|
|
5691
5694
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5742,6 +5745,15 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5742
5745
|
actions: props.actions,
|
|
5743
5746
|
srcfromprops: 'servicestyle2'
|
|
5744
5747
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5748
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
5749
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5750
|
+
"class": "m-0 p-0",
|
|
5751
|
+
style: {
|
|
5752
|
+
color: '#000',
|
|
5753
|
+
fontSize: 20,
|
|
5754
|
+
fontWeight: 600
|
|
5755
|
+
}
|
|
5756
|
+
}, "What's Included:")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5745
5757
|
"class": "col-lg-12 text-start p-md-0"
|
|
5746
5758
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5747
5759
|
className: "row m-0 w-100"
|
|
@@ -5792,6 +5804,186 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5792
5804
|
borderRadius: 10,
|
|
5793
5805
|
boxShadow: '0 0 10px #ccc'
|
|
5794
5806
|
}
|
|
5807
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5808
|
+
className: "row m-0 w-100 d-flex flex-row"
|
|
5809
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5810
|
+
className: "m-0 p-0",
|
|
5811
|
+
style: {
|
|
5812
|
+
color: sectionproperties.total_color,
|
|
5813
|
+
fontSize: sectionproperties.total_fontsize + 'px',
|
|
5814
|
+
fontWeight: sectionproperties.total_fontweight,
|
|
5815
|
+
textTransform: sectionproperties.total_texttransform
|
|
5816
|
+
}
|
|
5817
|
+
}, lang.total, ":"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5818
|
+
className: "col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"
|
|
5819
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5820
|
+
className: 'm-0 p-0 wordbreak d-flex align-items-center justify-content-end',
|
|
5821
|
+
style: {
|
|
5822
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
5823
|
+
fontWeight: sectionproperties.prodPriceFontWeight,
|
|
5824
|
+
color: sectionproperties.prodPriceColor
|
|
5825
|
+
}
|
|
5826
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5827
|
+
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 '
|
|
5828
|
+
}, 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 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.variants[variantindexcompleted]) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.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) == 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", {
|
|
5829
|
+
className: 'm-0 p-0 linethrough wordbreak',
|
|
5830
|
+
style: {
|
|
5831
|
+
color: sectionproperties.prodsalePriceColor,
|
|
5832
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
5833
|
+
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
5834
|
+
}
|
|
5835
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && variantindexcompleted != undefined && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5836
|
+
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 '
|
|
5837
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5838
|
+
className: "ml-2 mr-2",
|
|
5839
|
+
style: {
|
|
5840
|
+
textDecoration: 'none'
|
|
5841
|
+
}
|
|
5842
|
+
}, "-"), 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 || (_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) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5843
|
+
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 '
|
|
5844
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5845
|
+
className: "ml-2 mr-2",
|
|
5846
|
+
style: {
|
|
5847
|
+
textDecoration: 'none'
|
|
5848
|
+
}
|
|
5849
|
+
}, "-"), 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.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
5850
|
+
actions: props.actions,
|
|
5851
|
+
srcfromprops: 'servicestyle2'
|
|
5852
|
+
}), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5853
|
+
"class": "col-12 p-0"
|
|
5854
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
|
|
5855
|
+
actions: props.actions
|
|
5856
|
+
}), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
|
|
5857
|
+
actions: {
|
|
5858
|
+
srcfrom: 'col-3',
|
|
5859
|
+
fetchProductInfoQueryContext: fetchProductInfoQueryContext,
|
|
5860
|
+
sectionproperties: sectionproperties,
|
|
5861
|
+
lang: lang,
|
|
5862
|
+
langdetect: langdetect,
|
|
5863
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
5864
|
+
AddtoCartMutationContext: AddtoCartMutationContext,
|
|
5865
|
+
GeneralAPIMutationContext: GeneralAPIMutationContext,
|
|
5866
|
+
addtocardpayloadobj: addtocardpayloadobj,
|
|
5867
|
+
setaddtocardpayloadobj: setaddtocardpayloadobj,
|
|
5868
|
+
NotificationManager: NotificationManager,
|
|
5869
|
+
addtocartfunc: addtocartfunc,
|
|
5870
|
+
getprice_discountpriceprops: getprice_discountpriceprops,
|
|
5871
|
+
authdetailsContext: authdetailsContext,
|
|
5872
|
+
routingcountext: routingcountext,
|
|
5873
|
+
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
5874
|
+
addtofavoritescontext: addtofavoritescontext
|
|
5875
|
+
}
|
|
5876
|
+
}), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
|
|
5877
|
+
actions: props.actions,
|
|
5878
|
+
srcfromprops: 'servicestyle2',
|
|
5879
|
+
addtocartfunc: addtocartfunc
|
|
5880
|
+
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) == '68c160414c162' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5881
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5882
|
+
style: {
|
|
5883
|
+
minHeight: sectionproperties.height + 'vh',
|
|
5884
|
+
paddingLeft: '60px',
|
|
5885
|
+
paddingRight: '60px',
|
|
5886
|
+
paddingTop: '60px'
|
|
5887
|
+
}
|
|
5888
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5889
|
+
"class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5'
|
|
5890
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5891
|
+
"class": 'row m-0 w-100'
|
|
5892
|
+
}, (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.productimages) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.length) != 0 && (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.productimages.map(function (item, index) {
|
|
5893
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5894
|
+
"class": "col-lg-3 col-md-4 col-md-6 mb-md-2"
|
|
5895
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5896
|
+
"class": ' w-100 h-100',
|
|
5897
|
+
style: {}
|
|
5898
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
5899
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5900
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5901
|
+
path: '/tr:w-500,h-500/' + item.path,
|
|
5902
|
+
style: {
|
|
5903
|
+
width: '100%',
|
|
5904
|
+
height: '100%',
|
|
5905
|
+
objectFit: 'contain',
|
|
5906
|
+
borderRadius: 20
|
|
5907
|
+
},
|
|
5908
|
+
loading: "lazy"
|
|
5909
|
+
})));
|
|
5910
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5911
|
+
"class": "col-lg-8"
|
|
5912
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5913
|
+
"class": "row m-0 w-100",
|
|
5914
|
+
style: {
|
|
5915
|
+
paddingRight: langdetect == 'en' ? 70 : 0,
|
|
5916
|
+
paddingLeft: langdetect == 'ar' ? 70 : 0
|
|
5917
|
+
}
|
|
5918
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5919
|
+
"class": "col-lg-12 p-0 text-start mb-2"
|
|
5920
|
+
}, ProductName()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5921
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
5922
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5923
|
+
className: 'm-0 p-0 wordbreak',
|
|
5924
|
+
style: {
|
|
5925
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
5926
|
+
color: sectionproperties.prodCatColor
|
|
5927
|
+
},
|
|
5928
|
+
dangerouslySetInnerHTML: {
|
|
5929
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.short_description_ar
|
|
5930
|
+
}
|
|
5931
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5932
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
5933
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
5934
|
+
actions: props.actions,
|
|
5935
|
+
srcfromprops: 'servicestyle2'
|
|
5936
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5937
|
+
"class": "col-lg-12 text-start p-md-0"
|
|
5938
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5939
|
+
className: "row m-0 w-100"
|
|
5940
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productfeatures) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.map(function (fitem, findex) {
|
|
5941
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5942
|
+
"class": "col-lg-12 col-md-12 p-0 mb-3 mt-2"
|
|
5943
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5944
|
+
"class": "row m-0 w-100 text-start"
|
|
5945
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5946
|
+
"class": "col-lg-12 text-start mb-3 text-uppercase p-0"
|
|
5947
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5948
|
+
style: {
|
|
5949
|
+
width: '30px'
|
|
5950
|
+
},
|
|
5951
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
5952
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
5953
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5954
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5955
|
+
path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
|
|
5956
|
+
loading: "lazy",
|
|
5957
|
+
style: {
|
|
5958
|
+
maxWidth: '100%',
|
|
5959
|
+
maxHeight: '100%'
|
|
5960
|
+
}
|
|
5961
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5962
|
+
"class": "m-0 p-0",
|
|
5963
|
+
style: {
|
|
5964
|
+
color: sectionproperties.featurecolor,
|
|
5965
|
+
fontWeight: sectionproperties.featurefontweight,
|
|
5966
|
+
fontSize: sectionproperties.featurefontsize
|
|
5967
|
+
}
|
|
5968
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5969
|
+
"class": "col-lg-12 text-start text-capitalize"
|
|
5970
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5971
|
+
"class": "m-0 p-0",
|
|
5972
|
+
style: {
|
|
5973
|
+
color: sectionproperties.featurevaluecolor,
|
|
5974
|
+
fontWeight: sectionproperties.featurevaluefontweight,
|
|
5975
|
+
fontSize: sectionproperties.featurevaluefontsize
|
|
5976
|
+
}
|
|
5977
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
5978
|
+
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5979
|
+
"class": "col-lg-4"
|
|
5980
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5981
|
+
"class": "row m-0 w-100 p-3",
|
|
5982
|
+
style: {
|
|
5983
|
+
background: 'white',
|
|
5984
|
+
borderRadius: 10,
|
|
5985
|
+
boxShadow: '0 0 10px #ccc'
|
|
5986
|
+
}
|
|
5795
5987
|
}, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
5796
5988
|
actions: props.actions,
|
|
5797
5989
|
srcfromprops: 'servicestyle2'
|
|
@@ -5822,7 +6014,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5822
6014
|
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
5823
6015
|
addtofavoritescontext: addtofavoritescontext
|
|
5824
6016
|
}
|
|
5825
|
-
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6017
|
+
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '690a1090c2e9c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5826
6018
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5827
6019
|
style: {
|
|
5828
6020
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5834,7 +6026,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5834
6026
|
"class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5'
|
|
5835
6027
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5836
6028
|
"class": 'row m-0 w-100'
|
|
5837
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6029
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productimages) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.productimages.map(function (item, index) {
|
|
5838
6030
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5839
6031
|
"class": "col-lg-3 col-md-4 col-md-6 mb-md-2"
|
|
5840
6032
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5871,7 +6063,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5871
6063
|
color: sectionproperties.prodCatColor
|
|
5872
6064
|
},
|
|
5873
6065
|
dangerouslySetInnerHTML: {
|
|
5874
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6066
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.short_description_ar
|
|
5875
6067
|
}
|
|
5876
6068
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5877
6069
|
"class": "col-lg-12 p-0 mb-3"
|
|
@@ -5882,7 +6074,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5882
6074
|
"class": "col-lg-12 text-start p-md-0"
|
|
5883
6075
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5884
6076
|
className: "row m-0 w-100"
|
|
5885
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6077
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productfeatures) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.map(function (fitem, findex) {
|
|
5886
6078
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5887
6079
|
"class": "col-lg-12 col-md-12 p-0 mb-3 mt-2"
|
|
5888
6080
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -6183,7 +6375,7 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
6183
6375
|
function ownKeys$2A(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; }
|
|
6184
6376
|
function _objectSpread$2A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2A(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6185
6377
|
var Productinfo = function Productinfo(props) {
|
|
6186
|
-
var _css,
|
|
6378
|
+
var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _ref2, _fetchProductInfoQuer85, _ref3, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i17, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
|
|
6187
6379
|
var _useState = React.useState({}),
|
|
6188
6380
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
6189
6381
|
ProductInfoObj = _useState2[0],
|
|
@@ -6197,6 +6389,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6197
6389
|
var routingcountext = props.actions.routingcountext;
|
|
6198
6390
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
6199
6391
|
props.actions.TabexSectionsComponentsContext;
|
|
6392
|
+
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
6200
6393
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
6201
6394
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
6202
6395
|
props.actions.serverbaselink;
|
|
@@ -7467,6 +7660,57 @@ var Productinfo = function Productinfo(props) {
|
|
|
7467
7660
|
}))))));
|
|
7468
7661
|
}
|
|
7469
7662
|
};
|
|
7663
|
+
var addtocartfunc_extras = function addtocartfunc_extras(forcetocheckout, addtocartobjparam) {
|
|
7664
|
+
var runfunc = false;
|
|
7665
|
+
var forcetocheckoutvalue = forcetocheckout;
|
|
7666
|
+
// alert(addtocardpayloadobj.quantity + 'sad');
|
|
7667
|
+
if (addtocartobjparam.productid.length != 0 && addtocartobjparam.quantity > 0) {
|
|
7668
|
+
var _fetchProductInfoQuer50;
|
|
7669
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.hasvariants) == 1) {
|
|
7670
|
+
if (addtocartobjparam.variantid.length != 0) {
|
|
7671
|
+
runfunc = true;
|
|
7672
|
+
} else {
|
|
7673
|
+
var _authdetailsContext$i8;
|
|
7674
|
+
// here
|
|
7675
|
+
setvariantnotchosendisclaimer('This field is required');
|
|
7676
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
7677
|
+
}
|
|
7678
|
+
} else {
|
|
7679
|
+
runfunc = true;
|
|
7680
|
+
}
|
|
7681
|
+
} else {
|
|
7682
|
+
NotificationManager.warning('', 'Please Choose Quantity');
|
|
7683
|
+
}
|
|
7684
|
+
if (runfunc == true) {
|
|
7685
|
+
var _fetchProductInfoQuer51, _fetchProductInfoQuer52;
|
|
7686
|
+
// var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
|
|
7687
|
+
addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.isproductforcedtocheckout;
|
|
7688
|
+
addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productinfo) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.vendorproviderid;
|
|
7689
|
+
if (forcetocheckoutvalue != undefined) {
|
|
7690
|
+
addtocartobjparam.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
7691
|
+
}
|
|
7692
|
+
var Extrafieldvalidationresponse = validateextrafields();
|
|
7693
|
+
if (Extrafieldvalidationresponse.status) {
|
|
7694
|
+
var _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58;
|
|
7695
|
+
var finalprice = 0;
|
|
7696
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.hassale) == 1) {
|
|
7697
|
+
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
7698
|
+
} else {
|
|
7699
|
+
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
7700
|
+
}
|
|
7701
|
+
Pixel_EventsContext('AddToCart', {
|
|
7702
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.productinfo) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.productid],
|
|
7703
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.name_ar),
|
|
7704
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.sku,
|
|
7705
|
+
content_type: 'product',
|
|
7706
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.currencyname_en,
|
|
7707
|
+
value: finalprice,
|
|
7708
|
+
quantity: addtocardpayloadobj.quantity
|
|
7709
|
+
});
|
|
7710
|
+
AddtoCartContext(addtocartobjparam);
|
|
7711
|
+
}
|
|
7712
|
+
}
|
|
7713
|
+
};
|
|
7470
7714
|
// const DescriptionContent = () => {
|
|
7471
7715
|
// return (
|
|
7472
7716
|
// <div class="col-lg-12 pl-5 pr-5 p-md-0 w-100">
|
|
@@ -7985,38 +8229,87 @@ var Productinfo = function Productinfo(props) {
|
|
|
7985
8229
|
marginTop: sectionproperties.storeinfomarginverticalresp + 'px'
|
|
7986
8230
|
}
|
|
7987
8231
|
}));
|
|
8232
|
+
var getprice_discountpriceprops_for_extras = function getprice_discountpriceprops_for_extras(productobj, quantity) {
|
|
8233
|
+
var price = 0;
|
|
8234
|
+
price = productobj === null || productobj === void 0 ? void 0 : productobj.defaultprice;
|
|
8235
|
+
// if (type == 'defaultprice') {
|
|
8236
|
+
// price = productobj?.defaultprice;
|
|
8237
|
+
|
|
8238
|
+
// } else if (type == 'defaultsaleprice') {
|
|
8239
|
+
// price = productobj?.defaultsaleprice;
|
|
8240
|
+
|
|
8241
|
+
// }
|
|
8242
|
+
{
|
|
8243
|
+
if (price != undefined) {
|
|
8244
|
+
price = price * quantity;
|
|
8245
|
+
}
|
|
8246
|
+
}
|
|
8247
|
+
if (price != undefined) {
|
|
8248
|
+
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
8249
|
+
return parseFloat(Number(price).toFixed(2));
|
|
8250
|
+
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
8251
|
+
return Math.floor(price).toLocaleString();
|
|
8252
|
+
} else {
|
|
8253
|
+
return price;
|
|
8254
|
+
}
|
|
8255
|
+
} else {
|
|
8256
|
+
return 0;
|
|
8257
|
+
}
|
|
8258
|
+
};
|
|
8259
|
+
var get_product_extras_price = function get_product_extras_price() {
|
|
8260
|
+
var _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
8261
|
+
var totalprice_extras_price = 0;
|
|
8262
|
+
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.productinfo) != undefined && fetchcustomercartQueryContext != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : fetchcustomercartQueryContext.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.cartitems) != undefined) {
|
|
8263
|
+
var _fetchcustomercartQue4;
|
|
8264
|
+
var extras_for_product = [];
|
|
8265
|
+
var cartitems = fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.cartitems;
|
|
8266
|
+
cartitems === null || cartitems === void 0 || cartitems.forEach(function (cartitem_in, cartindex_in) {
|
|
8267
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
8268
|
+
var _fetchProductInfoQuer61;
|
|
8269
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.productid)) {
|
|
8270
|
+
extras_for_product.push(cartitem_in);
|
|
8271
|
+
}
|
|
8272
|
+
}
|
|
8273
|
+
});
|
|
8274
|
+
extras_for_product === null || extras_for_product === void 0 || extras_for_product.forEach(function (cartitem_in, cartindex_in) {
|
|
8275
|
+
var singleextraprice = getprice_discountpriceprops_for_extras(cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.productinfo, cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.quantity) * addtocardpayloadobj.quantity;
|
|
8276
|
+
totalprice_extras_price = totalprice_extras_price + singleextraprice;
|
|
8277
|
+
});
|
|
8278
|
+
}
|
|
8279
|
+
return totalprice_extras_price;
|
|
8280
|
+
};
|
|
7988
8281
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
7989
|
-
var
|
|
8282
|
+
var _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65;
|
|
7990
8283
|
var price = 0;
|
|
7991
8284
|
var quantity = 0;
|
|
7992
8285
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
7993
8286
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
7994
8287
|
}
|
|
7995
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7996
|
-
var
|
|
7997
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8288
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productquantityoptions) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.length) != 0) {
|
|
8289
|
+
var _fetchProductInfoQuer66;
|
|
8290
|
+
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.productquantityoptions;
|
|
7998
8291
|
}
|
|
7999
8292
|
if (type == 'defaultprice') {
|
|
8000
|
-
var
|
|
8001
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8002
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8293
|
+
var _fetchProductInfoQuer67, _fetchProductInfoQuer68;
|
|
8294
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productinfo) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.defaultprice;
|
|
8295
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.hasvariants) == 1) {
|
|
8003
8296
|
if (variantindexcompleted != undefined) {
|
|
8004
|
-
var
|
|
8005
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8006
|
-
var
|
|
8007
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8297
|
+
var _fetchProductInfoQuer69;
|
|
8298
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.variants[variantindexcompleted]) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.variantprice) != undefined) {
|
|
8299
|
+
var _fetchProductInfoQuer70;
|
|
8300
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.variants[variantindexcompleted]) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.variantprice;
|
|
8008
8301
|
}
|
|
8009
8302
|
}
|
|
8010
8303
|
}
|
|
8011
8304
|
} else if (type == 'defaultsaleprice') {
|
|
8012
|
-
var
|
|
8013
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8014
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8305
|
+
var _fetchProductInfoQuer71, _fetchProductInfoQuer72;
|
|
8306
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.defaultsaleprice;
|
|
8307
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.hasvariants) == 1) {
|
|
8015
8308
|
if (variantindexcompleted != undefined) {
|
|
8016
|
-
var
|
|
8017
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8018
|
-
var
|
|
8019
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8309
|
+
var _fetchProductInfoQuer73;
|
|
8310
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.variants[variantindexcompleted]) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.variantsaleprice) != undefined) {
|
|
8311
|
+
var _fetchProductInfoQuer74;
|
|
8312
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.variants[variantindexcompleted]) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.variantsaleprice;
|
|
8020
8313
|
}
|
|
8021
8314
|
}
|
|
8022
8315
|
}
|
|
@@ -8041,6 +8334,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8041
8334
|
}
|
|
8042
8335
|
}
|
|
8043
8336
|
if (price != undefined) {
|
|
8337
|
+
price = price + get_product_extras_price();
|
|
8044
8338
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
8045
8339
|
return parseFloat(Number(price).toFixed(2));
|
|
8046
8340
|
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
@@ -8113,7 +8407,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8113
8407
|
// }
|
|
8114
8408
|
// };
|
|
8115
8409
|
var getQuantityCondition = function getQuantityCondition() {
|
|
8116
|
-
var
|
|
8410
|
+
var _fetchProductInfoQuer75;
|
|
8117
8411
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8118
8412
|
"class": "col-lg-12 p-0",
|
|
8119
8413
|
style: {
|
|
@@ -8143,12 +8437,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8143
8437
|
height: 1,
|
|
8144
8438
|
background: sectionproperties.pricelisttitlecolor
|
|
8145
8439
|
}
|
|
8146
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8147
|
-
var
|
|
8440
|
+
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productquantityoptions) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.map(function (item, index) {
|
|
8441
|
+
var _fetchProductInfoQuer76;
|
|
8148
8442
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8149
8443
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
8150
8444
|
style: {
|
|
8151
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8445
|
+
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productquantityoptions) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.length) - 1 != index ? '1rem' : 0
|
|
8152
8446
|
}
|
|
8153
8447
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8154
8448
|
"class": "d-flex align-items-center",
|
|
@@ -8182,7 +8476,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8182
8476
|
})));
|
|
8183
8477
|
};
|
|
8184
8478
|
var StoreInfo = function StoreInfo(position) {
|
|
8185
|
-
var
|
|
8479
|
+
var _fetchProductInfoQuer77, _authdetailsContext$i0, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i1, _authdetailsContext$i11;
|
|
8186
8480
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8187
8481
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
8188
8482
|
style: {
|
|
@@ -8233,7 +8527,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8233
8527
|
style: {
|
|
8234
8528
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8235
8529
|
}
|
|
8236
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8530
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productquantityoptions) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8237
8531
|
"class": "col-lg-12 p-0 mb-4"
|
|
8238
8532
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8239
8533
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -8261,8 +8555,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8261
8555
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8262
8556
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
8263
8557
|
onClick: function onClick() {
|
|
8264
|
-
var _authdetailsContext$
|
|
8265
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8558
|
+
var _authdetailsContext$i9;
|
|
8559
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.contactinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.email), '_self');
|
|
8266
8560
|
}
|
|
8267
8561
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8268
8562
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -8282,7 +8576,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8282
8576
|
style: {
|
|
8283
8577
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8284
8578
|
}
|
|
8285
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8579
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 || (_authdetailsContext$i0 = _authdetailsContext$i0.contactinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8286
8580
|
"class": "col-lg-12 my-2",
|
|
8287
8581
|
style: {
|
|
8288
8582
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -8334,25 +8628,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
8334
8628
|
}
|
|
8335
8629
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8336
8630
|
"class": "m-0 p-0"
|
|
8337
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8631
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 || (_authdetailsContext$i1 = _authdetailsContext$i1.contactinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8338
8632
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8339
8633
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8340
8634
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8341
8635
|
onClick: function onClick() {
|
|
8342
|
-
var _authdetailsContext$
|
|
8343
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8636
|
+
var _authdetailsContext$i10;
|
|
8637
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.contactinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.email), '_self');
|
|
8344
8638
|
}
|
|
8345
8639
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8346
8640
|
"class": "m-0 p-0"
|
|
8347
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8641
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8348
8642
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8349
8643
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8350
8644
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8351
8645
|
onClick: function onClick() {
|
|
8352
|
-
var _authdetailsContext$
|
|
8353
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8354
|
-
var _authdetailsContext$
|
|
8355
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8646
|
+
var _authdetailsContext$i12;
|
|
8647
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.whatsappnumber) != null) {
|
|
8648
|
+
var _authdetailsContext$i13;
|
|
8649
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.whatsappnumber), '_blank');
|
|
8356
8650
|
}
|
|
8357
8651
|
}
|
|
8358
8652
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -8426,7 +8720,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8426
8720
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
8427
8721
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
|
|
8428
8722
|
}
|
|
8429
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8723
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.item_type) == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
|
|
8430
8724
|
actions: (_ref = {
|
|
8431
8725
|
isOptionInStock: isOptionInStock,
|
|
8432
8726
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -8437,8 +8731,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8437
8731
|
langdetect: langdetect,
|
|
8438
8732
|
lang: lang,
|
|
8439
8733
|
srcfromprops: props.srcfromprops
|
|
8440
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal))
|
|
8441
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8734
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras))
|
|
8735
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.item_type) == 'Article' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
8442
8736
|
actions: (_ref2 = {
|
|
8443
8737
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
8444
8738
|
setisoutofstock: setisoutofstock,
|
|
@@ -8448,7 +8742,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8448
8742
|
lang: lang,
|
|
8449
8743
|
srcfromprops: props.srcfromprops
|
|
8450
8744
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier))
|
|
8451
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8745
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
8452
8746
|
actions: (_ref3 = {
|
|
8453
8747
|
// getprice_discountpricepropsnormalonly: getprice_discountpricepropsnormalonly,
|
|
8454
8748
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -8459,13 +8753,13 @@ var Productinfo = function Productinfo(props) {
|
|
|
8459
8753
|
langdetect: langdetect,
|
|
8460
8754
|
lang: lang,
|
|
8461
8755
|
srcfromprops: props.srcfromprops
|
|
8462
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_ref3, "isOptionInStock", isOptionInStock))
|
|
8463
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8756
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_ref3, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras))
|
|
8757
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) != '68c27b4570751' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8464
8758
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
8465
8759
|
style: {
|
|
8466
8760
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
8467
8761
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
8468
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8762
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.product_videos) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.productinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.product_videos) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.length) == 0 ? 'none' : 'flex'
|
|
8469
8763
|
}
|
|
8470
8764
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8471
8765
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -8527,12 +8821,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8527
8821
|
onClick: function onClick() {
|
|
8528
8822
|
settabname('refundpolicytab');
|
|
8529
8823
|
}
|
|
8530
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8824
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.product_videos) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8531
8825
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
8532
8826
|
onClick: function onClick() {
|
|
8533
8827
|
settabname('videostab');
|
|
8534
8828
|
}
|
|
8535
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8829
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8536
8830
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
8537
8831
|
onClick: function onClick() {
|
|
8538
8832
|
settabname('reviewstab');
|
|
@@ -8586,12 +8880,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8586
8880
|
onClick: function onClick() {
|
|
8587
8881
|
settabname('refundpolicytab');
|
|
8588
8882
|
}
|
|
8589
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8883
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.product_videos) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8590
8884
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
8591
8885
|
onClick: function onClick() {
|
|
8592
8886
|
settabname('videostab');
|
|
8593
8887
|
}
|
|
8594
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8888
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8595
8889
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
8596
8890
|
onClick: function onClick() {
|
|
8597
8891
|
settabname('reviewstab');
|
|
@@ -8651,7 +8945,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8651
8945
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
8652
8946
|
sectionproperties: sectionproperties
|
|
8653
8947
|
})
|
|
8654
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8948
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8655
8949
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
8656
8950
|
style: {
|
|
8657
8951
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -8733,7 +9027,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8733
9027
|
color: '#000000'
|
|
8734
9028
|
},
|
|
8735
9029
|
dangerouslySetInnerHTML: {
|
|
8736
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9030
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.description_ar
|
|
8737
9031
|
}
|
|
8738
9032
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8739
9033
|
"class": "col-lg-12 p-0"
|
|
@@ -8744,7 +9038,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8744
9038
|
color: sectionproperties.prodCatColor
|
|
8745
9039
|
},
|
|
8746
9040
|
dangerouslySetInnerHTML: {
|
|
8747
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9041
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.short_description_ar
|
|
8748
9042
|
}
|
|
8749
9043
|
}))
|
|
8750
9044
|
// <DescriptionContent
|
|
@@ -11518,7 +11812,7 @@ styleInject(css_248z$G);
|
|
|
11518
11812
|
function ownKeys$2v(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; }
|
|
11519
11813
|
function _objectSpread$2v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11520
11814
|
var Checkout = function Checkout(props) {
|
|
11521
|
-
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1,
|
|
11815
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue67, _authdetailsContext$i10, _fetchcustomercartQue68, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue69, _authdetailsContext$i16, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue79, _fetchcustomercartQue81, _fetchcustomercartQue83, _fetchcustomercartQue85, _fetchcustomercartQue87, _fetchcustomercartQue89, _authdetailsContext$i18, _fetchcustomercartQue91, _authdetailsContext$i19, _fetchcustomercartQue93, _authdetailsContext$i20, _fetchcustomercartQue95, _authdetailsContext$i21, _fetchcustomercartQue97, _authdetailsContext$i22, _fetchcustomercartQue99, _fetchcustomercartQue101, _fetchcustomercartQue102;
|
|
11522
11816
|
var _useState = React.useState(null),
|
|
11523
11817
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
11524
11818
|
_useState2[0];
|
|
@@ -12075,7 +12369,7 @@ var Checkout = function Checkout(props) {
|
|
|
12075
12369
|
return isloading;
|
|
12076
12370
|
};
|
|
12077
12371
|
var Mycart = function Mycart() {
|
|
12078
|
-
var _fetchcustomercartQue34,
|
|
12372
|
+
var _fetchcustomercartQue34, _fetchcustomercartQue36, _fetchcustomercartQue37, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _authdetailsContext$i6, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _authdetailsContext$i7, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _authdetailsContext$i8, _fetchcustomercartQue65, _authdetailsContext$i9, _fetchcustomercartQue66;
|
|
12079
12373
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12080
12374
|
className: "row m-0 w-100 mb-md-3"
|
|
12081
12375
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -12100,119 +12394,133 @@ var Checkout = function Checkout(props) {
|
|
|
12100
12394
|
className: "row m-0 w-100"
|
|
12101
12395
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12102
12396
|
className: "col-lg-12 p-0"
|
|
12103
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.
|
|
12397
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.customercart) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.cartitems) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.map(function (item, index) {
|
|
12398
|
+
var _fetchcustomercartQue35;
|
|
12104
12399
|
if (item.product_extrafields != null) {
|
|
12105
12400
|
var product_extrafields = JSON.parse(item.product_extrafields);
|
|
12106
12401
|
// var product_extrafields_parsed = JSON.stringify(product_extrafields);
|
|
12107
12402
|
// alert(product_extrafields_parsed);
|
|
12108
12403
|
}
|
|
12109
|
-
|
|
12110
|
-
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12114
|
-
|
|
12115
|
-
}
|
|
12116
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12117
|
-
className: "row m-0 w-100 d-flex"
|
|
12118
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12119
|
-
className: "".concat(checkoutstyles.imagecont)
|
|
12120
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
12121
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
12122
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
12123
|
-
path: item.productinfo.hasvariants == 0 ? item.productinfo.productmainimage : item.productinfo.variantinfo.variantimageurl,
|
|
12124
|
-
style: {
|
|
12125
|
-
width: '100%',
|
|
12126
|
-
height: '100%',
|
|
12127
|
-
objectFit: 'contain'
|
|
12128
|
-
},
|
|
12129
|
-
loading: "lazy"
|
|
12130
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12131
|
-
className: "col-lg-7 col-md-7 col-sm-7"
|
|
12132
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12133
|
-
className: "row m-0 w-100"
|
|
12134
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12135
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start"
|
|
12136
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12137
|
-
className: "".concat(checkoutstyles.productNameStyles) + ' m-0 p-0 w-100 ',
|
|
12138
|
-
style: {
|
|
12139
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12140
|
-
}
|
|
12141
|
-
}, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), sectionproperties.producttype == 'Product' && sectionproperties.showquantity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12142
|
-
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
12143
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12144
|
-
className: "m-0 p-0 font-weight-500 w-100",
|
|
12145
|
-
style: {
|
|
12146
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
12147
|
-
color: sectionproperties.prodNameColor
|
|
12404
|
+
var extras_for_product = [];
|
|
12405
|
+
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue35 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue35 === void 0 || (_fetchcustomercartQue35 = _fetchcustomercartQue35.data) === null || _fetchcustomercartQue35 === void 0 || (_fetchcustomercartQue35 = _fetchcustomercartQue35.customercart) === null || _fetchcustomercartQue35 === void 0 || (_fetchcustomercartQue35 = _fetchcustomercartQue35.cartitems) === null || _fetchcustomercartQue35 === void 0 || _fetchcustomercartQue35.forEach(function (cartitem_in, cartindex_in) {
|
|
12406
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
12407
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (item === null || item === void 0 ? void 0 : item.productid)) {
|
|
12408
|
+
extras_for_product.push(cartitem_in);
|
|
12409
|
+
}
|
|
12148
12410
|
}
|
|
12149
|
-
}
|
|
12150
|
-
|
|
12151
|
-
}, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
|
|
12411
|
+
});
|
|
12412
|
+
if (item.item_type != 'Extras') {
|
|
12152
12413
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12153
|
-
|
|
12414
|
+
className: langdetect == 'en' ? 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pl-2 pr-0 mb-3' : 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pr-2 pl-0 mb-3',
|
|
12415
|
+
style: {
|
|
12416
|
+
background: sectionproperties.summary_sectionbgcolor,
|
|
12417
|
+
borderRadius: sectionproperties.summary_sectionborderradius + 'px',
|
|
12418
|
+
border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor
|
|
12419
|
+
}
|
|
12420
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12421
|
+
className: "row m-0 w-100 d-flex"
|
|
12154
12422
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12155
|
-
className: "
|
|
12423
|
+
className: "".concat(checkoutstyles.imagecont)
|
|
12424
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
12425
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
12426
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
12427
|
+
path: item.productinfo.hasvariants == 0 ? item.productinfo.productmainimage : item.productinfo.variantinfo.variantimageurl,
|
|
12156
12428
|
style: {
|
|
12157
|
-
|
|
12429
|
+
width: '100%',
|
|
12430
|
+
height: '100%',
|
|
12431
|
+
objectFit: 'contain'
|
|
12432
|
+
},
|
|
12433
|
+
loading: "lazy"
|
|
12434
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12435
|
+
className: "col-lg-7 col-md-7 col-sm-7"
|
|
12436
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12437
|
+
className: "row m-0 w-100"
|
|
12438
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12439
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start"
|
|
12440
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12441
|
+
className: "".concat(checkoutstyles.productNameStyles) + ' m-0 p-0 w-100 ',
|
|
12442
|
+
style: {
|
|
12443
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12158
12444
|
}
|
|
12445
|
+
}, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), extras_for_product === null || extras_for_product === void 0 ? void 0 : extras_for_product.map(function (extraitem, extraindex) {
|
|
12446
|
+
var _extraitem$productinf;
|
|
12447
|
+
return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("p", null, "name:", extraitem === null || extraitem === void 0 || (_extraitem$productinf = extraitem.productinfo) === null || _extraitem$productinf === void 0 ? void 0 : _extraitem$productinf.name_en, ",quantity:", extraitem === null || extraitem === void 0 ? void 0 : extraitem.quantity));
|
|
12448
|
+
}), sectionproperties.producttype == 'Product' && sectionproperties.showquantity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12449
|
+
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
12159
12450
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12160
|
-
className:
|
|
12161
|
-
}, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12162
|
-
className: ' text-capitalize font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
|
|
12163
|
-
}, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue)));
|
|
12164
|
-
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
12165
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12166
|
-
"class": "row m-0 w-100"
|
|
12167
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12168
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
12451
|
+
className: "m-0 p-0 font-weight-500 w-100",
|
|
12169
12452
|
style: {
|
|
12453
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
12170
12454
|
color: sectionproperties.prodNameColor
|
|
12171
12455
|
}
|
|
12456
|
+
}, lang.qty, ": ", item.quantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12457
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2 flex-column p-0"
|
|
12458
|
+
}, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
|
|
12459
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12460
|
+
"class": "row m-0 w-100"
|
|
12461
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12462
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
12463
|
+
style: {
|
|
12464
|
+
color: sectionproperties.prodNameColor
|
|
12465
|
+
}
|
|
12466
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12467
|
+
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
12468
|
+
}, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12469
|
+
className: ' text-capitalize font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
|
|
12470
|
+
}, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue)));
|
|
12471
|
+
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
12472
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12473
|
+
"class": "row m-0 w-100"
|
|
12474
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12475
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
12476
|
+
style: {
|
|
12477
|
+
color: sectionproperties.prodNameColor
|
|
12478
|
+
}
|
|
12479
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12480
|
+
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
12481
|
+
}, langdetect == 'en' ? extrafielditem.title_en : extrafielditem.title_ar, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12482
|
+
className: ' text-capitalize font-weight-500 font-13 m-0 p-0 ml-1 mr-1 '
|
|
12483
|
+
}, " ", extrafielditem.value)));
|
|
12484
|
+
})))), sectionproperties.prodPriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12485
|
+
className: "col-lg-3 col-md-3 col-sm-2 p-0"
|
|
12486
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12487
|
+
className: "row m-0 w-100 h-100"
|
|
12488
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12489
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end mb-auto"
|
|
12490
|
+
}, item.productinfo.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12491
|
+
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
12492
|
+
}, item.productinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12493
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12172
12494
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12173
|
-
className: '
|
|
12174
|
-
}, langdetect == 'en' ?
|
|
12175
|
-
className:
|
|
12176
|
-
}, "
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
|
|
12180
|
-
|
|
12181
|
-
|
|
12182
|
-
|
|
12183
|
-
|
|
12184
|
-
|
|
12185
|
-
|
|
12186
|
-
|
|
12187
|
-
|
|
12188
|
-
|
|
12189
|
-
|
|
12190
|
-
|
|
12191
|
-
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
|
|
12195
|
-
|
|
12196
|
-
|
|
12197
|
-
|
|
12198
|
-
|
|
12199
|
-
|
|
12200
|
-
|
|
12201
|
-
}
|
|
12202
|
-
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12203
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12204
|
-
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
12205
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2))), item.productinfo.variantinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12206
|
-
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
12207
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12208
|
-
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12209
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12210
|
-
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
12211
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantsaleprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantsaleprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantsaleprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12212
|
-
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12213
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12214
|
-
className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
12215
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))))));
|
|
12495
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
12496
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), item.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12497
|
+
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
12498
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12499
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12500
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12501
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
12502
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12503
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12504
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12505
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-left '
|
|
12506
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.defaultprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.defaultprice).toLocaleString() : parseFloat(item.productinfo.defaultprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))), item.productinfo.hasvariants == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12507
|
+
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
12508
|
+
}, item.productinfo.variantinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12509
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12510
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12511
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
12512
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2))), item.productinfo.variantinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12513
|
+
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
12514
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12515
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12516
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12517
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
12518
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantsaleprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantsaleprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantsaleprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12519
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12520
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12521
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
12522
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))))));
|
|
12523
|
+
}
|
|
12216
12524
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12217
12525
|
"class": "".concat(checkoutstyles.innersection) + ' row m-0 w-100 p-3 '
|
|
12218
12526
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -12229,13 +12537,13 @@ var Checkout = function Checkout(props) {
|
|
|
12229
12537
|
type: "text",
|
|
12230
12538
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12231
12539
|
placeholder: lang.giftcarddicountcode,
|
|
12232
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12540
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue36 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue36 === void 0 || (_fetchcustomercartQue36 = _fetchcustomercartQue36.data) === null || _fetchcustomercartQue36 === void 0 ? void 0 : _fetchcustomercartQue36.customercart.couponname,
|
|
12233
12541
|
onChange: function onChange(event) {
|
|
12234
12542
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
12235
12543
|
cartarr.data.customercart.couponname = event.target.value;
|
|
12236
12544
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
12237
12545
|
},
|
|
12238
|
-
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
12546
|
+
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue37 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue37 !== void 0 && (_fetchcustomercartQue37 = _fetchcustomercartQue37.data) !== null && _fetchcustomercartQue37 !== void 0 && _fetchcustomercartQue37.customercart.couponexists ? true : false,
|
|
12239
12547
|
style: {
|
|
12240
12548
|
boxShadow: 'none'
|
|
12241
12549
|
}
|
|
@@ -12244,14 +12552,14 @@ var Checkout = function Checkout(props) {
|
|
|
12244
12552
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
12245
12553
|
className: " ".concat(checkoutstyles.applybtnstyles),
|
|
12246
12554
|
onClick: function onClick() {
|
|
12247
|
-
var
|
|
12248
|
-
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
12249
|
-
var
|
|
12555
|
+
var _fetchcustomercartQue38;
|
|
12556
|
+
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue38 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue38 !== void 0 && (_fetchcustomercartQue38 = _fetchcustomercartQue38.data) !== null && _fetchcustomercartQue38 !== void 0 && _fetchcustomercartQue38.customercart.couponexists)) {
|
|
12557
|
+
var _fetchcustomercartQue39, _fetchcustomercartQue40;
|
|
12250
12558
|
var payloadobj = {
|
|
12251
|
-
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12559
|
+
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue39 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue39 === void 0 || (_fetchcustomercartQue39 = _fetchcustomercartQue39.data) === null || _fetchcustomercartQue39 === void 0 ? void 0 : _fetchcustomercartQue39.customercart.couponname,
|
|
12252
12560
|
functype: 'add'
|
|
12253
12561
|
};
|
|
12254
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12562
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue40 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue40 === void 0 || (_fetchcustomercartQue40 = _fetchcustomercartQue40.data) === null || _fetchcustomercartQue40 === void 0 ? void 0 : _fetchcustomercartQue40.customercart.couponname.length) != 0) {
|
|
12255
12563
|
ApplyPromoCodeMutationContext.mutate(payloadobj);
|
|
12256
12564
|
} else {
|
|
12257
12565
|
NotificationManager.warning('', langdetect == 'en' ? 'Please Write Your Promo Code' : 'من فضلك اكتب كود الخصم');
|
|
@@ -12266,14 +12574,14 @@ var Checkout = function Checkout(props) {
|
|
|
12266
12574
|
disabled: ApplyPromoCodeMutationContext.isLoading ? true : false
|
|
12267
12575
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12268
12576
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeOutButton) : "".concat(generalstyles.fadeInButton)
|
|
12269
|
-
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
12577
|
+
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue41 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue41 !== void 0 && (_fetchcustomercartQue41 = _fetchcustomercartQue41.data) !== null && _fetchcustomercartQue41 !== void 0 && _fetchcustomercartQue41.customercart.couponexists ? langdetect == 'en' ? 'Remove' : 'حذف' : langdetect == 'en' ? 'Apply' : 'تطبيق'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12270
12578
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeInButton, " ").concat(generalstyles.btn_preloader) + ' d-flex align-items-center justify-content-center ' : "".concat(generalstyles.fadeOutButton) + ' align-items-center justify-content-center '
|
|
12271
12579
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
12272
12580
|
color: "#fff",
|
|
12273
12581
|
width: "20px",
|
|
12274
12582
|
height: "20px",
|
|
12275
12583
|
duration: "1s"
|
|
12276
|
-
})))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12584
|
+
})))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue42 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue42 === void 0 || (_fetchcustomercartQue42 = _fetchcustomercartQue42.data) === null || _fetchcustomercartQue42 === void 0 || (_fetchcustomercartQue42 = _fetchcustomercartQue42.customercart) === null || _fetchcustomercartQue42 === void 0 ? void 0 : _fetchcustomercartQue42.availablewalletbalance) > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12277
12585
|
className: "row m-0 w-100"
|
|
12278
12586
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12279
12587
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -12283,7 +12591,7 @@ var Checkout = function Checkout(props) {
|
|
|
12283
12591
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
12284
12592
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12285
12593
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
12286
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12594
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue43 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.data) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.customercart) === null || _fetchcustomercartQue43 === void 0 ? void 0 : _fetchcustomercartQue43.availablewalletbalance, langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue44 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.customercart) === null || _fetchcustomercartQue44 === void 0 ? void 0 : _fetchcustomercartQue44.usewalletpoints) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12287
12595
|
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
12288
12596
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12289
12597
|
style: {
|
|
@@ -12293,7 +12601,7 @@ var Checkout = function Checkout(props) {
|
|
|
12293
12601
|
onClick: function onClick() {
|
|
12294
12602
|
usewalletpoints();
|
|
12295
12603
|
}
|
|
12296
|
-
}, langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12604
|
+
}, langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue45 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.customercart) === null || _fetchcustomercartQue45 === void 0 ? void 0 : _fetchcustomercartQue45.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12297
12605
|
className: "row m-0 w-100"
|
|
12298
12606
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12299
12607
|
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
@@ -12315,10 +12623,10 @@ var Checkout = function Checkout(props) {
|
|
|
12315
12623
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
12316
12624
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12317
12625
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
12318
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12626
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue46 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue46 === void 0 || (_fetchcustomercartQue46 = _fetchcustomercartQue46.data) === null || _fetchcustomercartQue46 === void 0 ? void 0 : _fetchcustomercartQue46.customercart.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue47 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.data) === null || _fetchcustomercartQue47 === void 0 ? void 0 : _fetchcustomercartQue47.customercart.totalprice).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue48 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue48 === void 0 || (_fetchcustomercartQue48 = _fetchcustomercartQue48.data) === null || _fetchcustomercartQue48 === void 0 ? void 0 : _fetchcustomercartQue48.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue49 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue49 === void 0 || (_fetchcustomercartQue49 = _fetchcustomercartQue49.data) === null || _fetchcustomercartQue49 === void 0 || (_fetchcustomercartQue49 = _fetchcustomercartQue49.customercart) === null || _fetchcustomercartQue49 === void 0 || (_fetchcustomercartQue49 = _fetchcustomercartQue49.genpayments) === null || _fetchcustomercartQue49 === void 0 ? void 0 : _fetchcustomercartQue49.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12319
12627
|
className: "row m-0 w-100"
|
|
12320
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12321
|
-
var
|
|
12628
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue50 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue50 === void 0 || (_fetchcustomercartQue50 = _fetchcustomercartQue50.data) === null || _fetchcustomercartQue50 === void 0 || (_fetchcustomercartQue50 = _fetchcustomercartQue50.customercart) === null || _fetchcustomercartQue50 === void 0 || (_fetchcustomercartQue50 = _fetchcustomercartQue50.genpayments) === null || _fetchcustomercartQue50 === void 0 ? void 0 : _fetchcustomercartQue50.map(function (item, index) {
|
|
12629
|
+
var _fetchcustomercartQue51;
|
|
12322
12630
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12323
12631
|
"class": "col-lg-12 p-0"
|
|
12324
12632
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -12337,8 +12645,8 @@ var Checkout = function Checkout(props) {
|
|
|
12337
12645
|
style: {
|
|
12338
12646
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
12339
12647
|
}
|
|
12340
|
-
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.value, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect == 'en' ? authdetailsContext.currencyname_en : '', ' ', (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12341
|
-
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12648
|
+
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.value, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect == 'en' ? authdetailsContext.currencyname_en : '', ' ', (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.customercart) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.totalprice) * (item.value / 100), ' ', langdetect == 'ar' ? authdetailsContext.currencyname_ar : '', ")")))));
|
|
12649
|
+
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.customercart) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12342
12650
|
className: "row m-0 w-100"
|
|
12343
12651
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12344
12652
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -12351,7 +12659,7 @@ var Checkout = function Checkout(props) {
|
|
|
12351
12659
|
style: {
|
|
12352
12660
|
color: 'red'
|
|
12353
12661
|
}
|
|
12354
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12662
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.customercart) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.data) === null || _fetchcustomercartQue55 === void 0 ? void 0 : _fetchcustomercartQue55.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12355
12663
|
className: "col-lg-12 p-0 mb-1"
|
|
12356
12664
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12357
12665
|
className: "row m-0 w-100"
|
|
@@ -12363,7 +12671,7 @@ var Checkout = function Checkout(props) {
|
|
|
12363
12671
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
12364
12672
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12365
12673
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-left '
|
|
12366
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12674
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue57 === void 0 ? void 0 : _fetchcustomercartQue57.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12367
12675
|
className: "col-lg-12 p-0"
|
|
12368
12676
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12369
12677
|
className: "row m-0 w-100"
|
|
@@ -12371,11 +12679,11 @@ var Checkout = function Checkout(props) {
|
|
|
12371
12679
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
12372
12680
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12373
12681
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
12374
|
-
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12682
|
+
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue59 === void 0 ? void 0 : _fetchcustomercartQue59.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12375
12683
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
12376
12684
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12377
12685
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
12378
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12686
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue61 !== void 0 && (_fetchcustomercartQue61 = _fetchcustomercartQue61.data) !== null && _fetchcustomercartQue61 !== void 0 && _fetchcustomercartQue61.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12379
12687
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
12380
12688
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12381
12689
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -12414,7 +12722,7 @@ var Checkout = function Checkout(props) {
|
|
|
12414
12722
|
textTransform: sectionproperties.total_texttransform,
|
|
12415
12723
|
color: sectionproperties.total_color
|
|
12416
12724
|
}
|
|
12417
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12725
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue62 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue62 === void 0 || (_fetchcustomercartQue62 = _fetchcustomercartQue62.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.totalpriceafterdiscount).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 || (_fetchcustomercartQue63 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : _fetchcustomercartQue63.customercart.totalpriceafterdiscount).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12418
12726
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
12419
12727
|
style: {
|
|
12420
12728
|
background: '#eee',
|
|
@@ -12449,7 +12757,7 @@ var Checkout = function Checkout(props) {
|
|
|
12449
12757
|
width: "20px",
|
|
12450
12758
|
height: "20px",
|
|
12451
12759
|
duration: "1s"
|
|
12452
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12760
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
12453
12761
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
12454
12762
|
onClick: function onClick() {
|
|
12455
12763
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -12463,7 +12771,7 @@ var Checkout = function Checkout(props) {
|
|
|
12463
12771
|
width: "20px",
|
|
12464
12772
|
height: "20px",
|
|
12465
12773
|
duration: "1s"
|
|
12466
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12774
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12467
12775
|
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
12468
12776
|
style: {
|
|
12469
12777
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
@@ -12635,7 +12943,7 @@ var Checkout = function Checkout(props) {
|
|
|
12635
12943
|
}, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12636
12944
|
type: 'text',
|
|
12637
12945
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12638
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12946
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : _fetchcustomercartQue67.customercart.name,
|
|
12639
12947
|
onChange: function onChange(event) {
|
|
12640
12948
|
cartinfoupdater('name', event.target.value);
|
|
12641
12949
|
},
|
|
@@ -12655,7 +12963,7 @@ var Checkout = function Checkout(props) {
|
|
|
12655
12963
|
}, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12656
12964
|
type: 'text',
|
|
12657
12965
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12658
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12966
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.mobile,
|
|
12659
12967
|
onChange: function onChange(event) {
|
|
12660
12968
|
var onlyNumbers = event.target.value.replace(/\D/g, ''); // remove non-digits
|
|
12661
12969
|
cartinfoupdater('mobile', onlyNumbers);
|
|
@@ -12685,7 +12993,7 @@ var Checkout = function Checkout(props) {
|
|
|
12685
12993
|
}, langdetect == 'en' ? 'Optional' : 'اختياري'), ' '), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12686
12994
|
type: 'text',
|
|
12687
12995
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12688
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12996
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.email,
|
|
12689
12997
|
onChange: function onChange(event) {
|
|
12690
12998
|
cartinfoupdater('email', event.target.value);
|
|
12691
12999
|
},
|
|
@@ -12738,8 +13046,8 @@ var Checkout = function Checkout(props) {
|
|
|
12738
13046
|
return option.id;
|
|
12739
13047
|
},
|
|
12740
13048
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
12741
|
-
var
|
|
12742
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13049
|
+
var _fetchcustomercartQue70;
|
|
13050
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.countryid);
|
|
12743
13051
|
}),
|
|
12744
13052
|
onChange: function onChange(option) {
|
|
12745
13053
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2v({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -12793,12 +13101,12 @@ var Checkout = function Checkout(props) {
|
|
|
12793
13101
|
return option.id;
|
|
12794
13102
|
},
|
|
12795
13103
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
12796
|
-
var
|
|
12797
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13104
|
+
var _fetchcustomercartQue71;
|
|
13105
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.stateid);
|
|
12798
13106
|
}),
|
|
12799
13107
|
onChange: function onChange(option) {
|
|
12800
|
-
var
|
|
12801
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13108
|
+
var _fetchcustomercartQue72;
|
|
13109
|
+
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.countryid.length) != 0) {
|
|
12802
13110
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2v({}, FetchTabexStatesPayloadobjContext);
|
|
12803
13111
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
12804
13112
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -12850,13 +13158,13 @@ var Checkout = function Checkout(props) {
|
|
|
12850
13158
|
return option.id;
|
|
12851
13159
|
},
|
|
12852
13160
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
12853
|
-
var
|
|
12854
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13161
|
+
var _fetchcustomercartQue73;
|
|
13162
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.customercart.cityid);
|
|
12855
13163
|
}),
|
|
12856
13164
|
onChange: function onChange(option) {
|
|
12857
|
-
var
|
|
13165
|
+
var _fetchcustomercartQue74;
|
|
12858
13166
|
cartinfoupdater('cityid', option.id);
|
|
12859
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13167
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.customercart) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.zonenotes) != null) {
|
|
12860
13168
|
setshowpopup(true);
|
|
12861
13169
|
}
|
|
12862
13170
|
},
|
|
@@ -12875,7 +13183,7 @@ var Checkout = function Checkout(props) {
|
|
|
12875
13183
|
}, "*")), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
12876
13184
|
type: 'text',
|
|
12877
13185
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12878
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13186
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.address,
|
|
12879
13187
|
onChange: function onChange(event) {
|
|
12880
13188
|
cartinfoupdater('address', event.target.value);
|
|
12881
13189
|
},
|
|
@@ -12890,7 +13198,7 @@ var Checkout = function Checkout(props) {
|
|
|
12890
13198
|
}, langdetect == 'en' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
12891
13199
|
type: 'text',
|
|
12892
13200
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12893
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13201
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.notes,
|
|
12894
13202
|
onChange: function onChange(event) {
|
|
12895
13203
|
cartinfoupdater('notes', event.target.value);
|
|
12896
13204
|
},
|
|
@@ -12905,7 +13213,7 @@ var Checkout = function Checkout(props) {
|
|
|
12905
13213
|
}, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12906
13214
|
type: 'number',
|
|
12907
13215
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12908
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13216
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.customercart) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.aff_code,
|
|
12909
13217
|
onChange: function onChange(event) {
|
|
12910
13218
|
cartinfoupdater('aff_code', event.target.value);
|
|
12911
13219
|
},
|
|
@@ -12939,7 +13247,7 @@ var Checkout = function Checkout(props) {
|
|
|
12939
13247
|
onChange: function onChange(event) {
|
|
12940
13248
|
cartinfoupdater('shippingmethod_id', event.target.value);
|
|
12941
13249
|
},
|
|
12942
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13250
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.customercart) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.shippingmethod_id
|
|
12943
13251
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
12944
13252
|
value: null
|
|
12945
13253
|
}, langdetect == 'en' ? 'Choose Shipping Method' : 'الشحن اخنر طريقة'), shippingmethods === null || shippingmethods === void 0 ? void 0 : shippingmethods.map(function (item, index) {
|
|
@@ -13036,10 +13344,10 @@ var Checkout = function Checkout(props) {
|
|
|
13036
13344
|
id: 'codcheckbox',
|
|
13037
13345
|
type: "checkbox",
|
|
13038
13346
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13039
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13347
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) == 'cod' ? true : false,
|
|
13040
13348
|
onChange: function onChange() {
|
|
13041
|
-
var
|
|
13042
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13349
|
+
var _fetchcustomercartQue80;
|
|
13350
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.paymentmethod) != 'cod') {
|
|
13043
13351
|
cartinfoupdater('paymentmethod', 'cod');
|
|
13044
13352
|
setinstapaychosen(false);
|
|
13045
13353
|
}
|
|
@@ -13063,10 +13371,10 @@ var Checkout = function Checkout(props) {
|
|
|
13063
13371
|
id: 'codcheckbox',
|
|
13064
13372
|
type: "checkbox",
|
|
13065
13373
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13066
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13374
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) == 'instapay' ? true : false,
|
|
13067
13375
|
onChange: function onChange() {
|
|
13068
|
-
var
|
|
13069
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13376
|
+
var _fetchcustomercartQue82;
|
|
13377
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.paymentmethod) != 'instapay') {
|
|
13070
13378
|
cartinfoupdater('paymentmethod', 'instapay');
|
|
13071
13379
|
setinstapaychosen(true);
|
|
13072
13380
|
// alert('1');
|
|
@@ -13089,10 +13397,10 @@ var Checkout = function Checkout(props) {
|
|
|
13089
13397
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
13090
13398
|
type: "checkbox",
|
|
13091
13399
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13092
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13400
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) == 'cardondelivery' ? true : false,
|
|
13093
13401
|
onChange: function onChange() {
|
|
13094
|
-
var
|
|
13095
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13402
|
+
var _fetchcustomercartQue84;
|
|
13403
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.paymentmethod) != 'cardondelivery') {
|
|
13096
13404
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
13097
13405
|
setinstapaychosen(false);
|
|
13098
13406
|
}
|
|
@@ -13111,10 +13419,10 @@ var Checkout = function Checkout(props) {
|
|
|
13111
13419
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
13112
13420
|
type: "checkbox",
|
|
13113
13421
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13114
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13422
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.customercart.paymentmethod) == 'onlinepayment' ? true : false,
|
|
13115
13423
|
onChange: function onChange() {
|
|
13116
|
-
var
|
|
13117
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13424
|
+
var _fetchcustomercartQue86;
|
|
13425
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.customercart.paymentmethod) != 'onlinepayment') {
|
|
13118
13426
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
13119
13427
|
setinstapaychosen(false);
|
|
13120
13428
|
}
|
|
@@ -13133,10 +13441,10 @@ var Checkout = function Checkout(props) {
|
|
|
13133
13441
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
13134
13442
|
type: "checkbox",
|
|
13135
13443
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13136
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13444
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.customercart.paymentmethod) == 'valU' ? true : false,
|
|
13137
13445
|
onChange: function onChange() {
|
|
13138
|
-
var
|
|
13139
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13446
|
+
var _fetchcustomercartQue88;
|
|
13447
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.customercart.paymentmethod) != 'valU') {
|
|
13140
13448
|
cartinfoupdater('paymentmethod', 'valU');
|
|
13141
13449
|
setinstapaychosen(false);
|
|
13142
13450
|
}
|
|
@@ -13155,10 +13463,10 @@ var Checkout = function Checkout(props) {
|
|
|
13155
13463
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
13156
13464
|
type: "checkbox",
|
|
13157
13465
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13158
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13466
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.customercart.paymentmethod) == 'mobilewallet' ? true : false,
|
|
13159
13467
|
onChange: function onChange() {
|
|
13160
|
-
var
|
|
13161
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13468
|
+
var _fetchcustomercartQue90;
|
|
13469
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.customercart.paymentmethod) != 'mobilewallet') {
|
|
13162
13470
|
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
13163
13471
|
setinstapaychosen(false);
|
|
13164
13472
|
}
|
|
@@ -13177,10 +13485,10 @@ var Checkout = function Checkout(props) {
|
|
|
13177
13485
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
13178
13486
|
type: "checkbox",
|
|
13179
13487
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13180
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13488
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) == 'forsa' ? true : false,
|
|
13181
13489
|
onChange: function onChange() {
|
|
13182
|
-
var
|
|
13183
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13490
|
+
var _fetchcustomercartQue92;
|
|
13491
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) != 'forsa') {
|
|
13184
13492
|
cartinfoupdater('paymentmethod', 'forsa');
|
|
13185
13493
|
setinstapaychosen(false);
|
|
13186
13494
|
}
|
|
@@ -13199,10 +13507,10 @@ var Checkout = function Checkout(props) {
|
|
|
13199
13507
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
13200
13508
|
type: "checkbox",
|
|
13201
13509
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13202
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13510
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) == 'Souhoola' ? true : false,
|
|
13203
13511
|
onChange: function onChange() {
|
|
13204
|
-
var
|
|
13205
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13512
|
+
var _fetchcustomercartQue94;
|
|
13513
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.customercart) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.paymentmethod) != 'Souhoola') {
|
|
13206
13514
|
cartinfoupdater('paymentmethod', 'Souhoola');
|
|
13207
13515
|
setinstapaychosen(false);
|
|
13208
13516
|
}
|
|
@@ -13221,10 +13529,10 @@ var Checkout = function Checkout(props) {
|
|
|
13221
13529
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
13222
13530
|
type: "checkbox",
|
|
13223
13531
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13224
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13532
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.customercart) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.paymentmethod) == 'paypal' ? true : false,
|
|
13225
13533
|
onChange: function onChange() {
|
|
13226
|
-
var
|
|
13227
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13534
|
+
var _fetchcustomercartQue96;
|
|
13535
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.customercart) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.paymentmethod) != 'paypal') {
|
|
13228
13536
|
cartinfoupdater('paymentmethod', 'paypal');
|
|
13229
13537
|
setinstapaychosen(false);
|
|
13230
13538
|
}
|
|
@@ -13243,10 +13551,10 @@ var Checkout = function Checkout(props) {
|
|
|
13243
13551
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
13244
13552
|
type: "checkbox",
|
|
13245
13553
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13246
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13554
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.customercart) === null || _fetchcustomercartQue97 === void 0 ? void 0 : _fetchcustomercartQue97.paymentmethod) == 'bankinstallments' ? true : false,
|
|
13247
13555
|
onChange: function onChange() {
|
|
13248
|
-
var
|
|
13249
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13556
|
+
var _fetchcustomercartQue98;
|
|
13557
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue98 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue98 === void 0 || (_fetchcustomercartQue98 = _fetchcustomercartQue98.data) === null || _fetchcustomercartQue98 === void 0 || (_fetchcustomercartQue98 = _fetchcustomercartQue98.customercart) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.paymentmethod) != 'bankinstallments') {
|
|
13250
13558
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
13251
13559
|
setinstapaychosen(false);
|
|
13252
13560
|
}
|
|
@@ -13265,10 +13573,10 @@ var Checkout = function Checkout(props) {
|
|
|
13265
13573
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
13266
13574
|
type: "checkbox",
|
|
13267
13575
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13268
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13576
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue99 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue99 === void 0 || (_fetchcustomercartQue99 = _fetchcustomercartQue99.data) === null || _fetchcustomercartQue99 === void 0 || (_fetchcustomercartQue99 = _fetchcustomercartQue99.customercart) === null || _fetchcustomercartQue99 === void 0 ? void 0 : _fetchcustomercartQue99.paymentmethod) == 'Aman' ? true : false,
|
|
13269
13577
|
onChange: function onChange() {
|
|
13270
|
-
var
|
|
13271
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13578
|
+
var _fetchcustomercartQue100;
|
|
13579
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue100 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue100 === void 0 || (_fetchcustomercartQue100 = _fetchcustomercartQue100.data) === null || _fetchcustomercartQue100 === void 0 || (_fetchcustomercartQue100 = _fetchcustomercartQue100.customercart) === null || _fetchcustomercartQue100 === void 0 ? void 0 : _fetchcustomercartQue100.paymentmethod) != 'Aman') {
|
|
13272
13580
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
13273
13581
|
setinstapaychosen(false);
|
|
13274
13582
|
}
|
|
@@ -13290,7 +13598,7 @@ var Checkout = function Checkout(props) {
|
|
|
13290
13598
|
dangerouslySetInnerHTML: {
|
|
13291
13599
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
13292
13600
|
}
|
|
13293
|
-
}))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13601
|
+
}))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue101 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue101 === void 0 || (_fetchcustomercartQue101 = _fetchcustomercartQue101.data) === null || _fetchcustomercartQue101 === void 0 ? void 0 : _fetchcustomercartQue101.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13294
13602
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
13295
13603
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13296
13604
|
style: {
|
|
@@ -13430,7 +13738,7 @@ var Checkout = function Checkout(props) {
|
|
|
13430
13738
|
color: '#000',
|
|
13431
13739
|
textAlign: 'center'
|
|
13432
13740
|
}
|
|
13433
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13741
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue102 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue102 === void 0 || (_fetchcustomercartQue102 = _fetchcustomercartQue102.data) === null || _fetchcustomercartQue102 === void 0 || (_fetchcustomercartQue102 = _fetchcustomercartQue102.customercart) === null || _fetchcustomercartQue102 === void 0 ? void 0 : _fetchcustomercartQue102.zonenotes)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
13434
13742
|
};
|
|
13435
13743
|
|
|
13436
13744
|
function ownKeys$2u(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; }
|
|
@@ -15937,7 +16245,7 @@ styleInject(css_248z$E);
|
|
|
15937
16245
|
function ownKeys$2o(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; }
|
|
15938
16246
|
function _objectSpread$2o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2o(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15939
16247
|
var CartSlider = function CartSlider(props) {
|
|
15940
|
-
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8,
|
|
16248
|
+
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue1, _fetchcustomercartQue10, _authdetailsContext$i2, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14;
|
|
15941
16249
|
var lang = props.actions.lang;
|
|
15942
16250
|
var langdetect = props.actions.langdetect;
|
|
15943
16251
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -16366,277 +16674,291 @@ var CartSlider = function CartSlider(props) {
|
|
|
16366
16674
|
animationDuration: '.7s'
|
|
16367
16675
|
}
|
|
16368
16676
|
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.map(function (item, index) {
|
|
16369
|
-
var
|
|
16677
|
+
var _fetchcustomercartQue9;
|
|
16370
16678
|
if (item.product_extrafields != null) {
|
|
16371
16679
|
var product_extrafields = JSON.parse(item.product_extrafields);
|
|
16372
16680
|
// var product_extrafields_parsed = JSON.stringify(product_extrafields);
|
|
16373
16681
|
// alert(product_extrafields_parsed);
|
|
16374
16682
|
}
|
|
16375
|
-
|
|
16376
|
-
|
|
16377
|
-
|
|
16378
|
-
|
|
16379
|
-
|
|
16380
|
-
|
|
16381
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16382
|
-
className: cart_cssstyles.imagecont + ' mb-auto '
|
|
16383
|
-
}, item.productinfo.hasvariants == 0 && item.productinfo.productmainimage != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
16384
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
16385
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
16386
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.productmainimage,
|
|
16387
|
-
loading: "lazy",
|
|
16388
|
-
style: {
|
|
16389
|
-
height: '90%',
|
|
16390
|
-
width: '90%',
|
|
16391
|
-
objectFit: 'contain',
|
|
16392
|
-
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
16393
|
-
}
|
|
16394
|
-
}), item.productinfo.hasvariants == 0 && item.productinfo.productmainimage == '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16395
|
-
style: {
|
|
16396
|
-
width: '100%',
|
|
16397
|
-
height: '100%',
|
|
16398
|
-
background: '#eee',
|
|
16399
|
-
borderRadius: 10
|
|
16400
|
-
}
|
|
16401
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
16402
|
-
"class": "h-100 allcentered text-light"
|
|
16403
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
16404
|
-
size: 26
|
|
16405
|
-
}))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl == '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16406
|
-
style: {
|
|
16407
|
-
width: '100%',
|
|
16408
|
-
height: '100%',
|
|
16409
|
-
background: '#eee',
|
|
16410
|
-
borderRadius: 10
|
|
16411
|
-
}
|
|
16412
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
16413
|
-
"class": "h-100 allcentered text-light"
|
|
16414
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
16415
|
-
size: 26
|
|
16416
|
-
}))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
16417
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
16418
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
16419
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.variantinfo.variantimageurl,
|
|
16420
|
-
loading: "lazy",
|
|
16421
|
-
style: {
|
|
16422
|
-
height: '90%',
|
|
16423
|
-
width: '90%',
|
|
16424
|
-
objectFit: 'contain',
|
|
16425
|
-
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
16426
|
-
}
|
|
16427
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16428
|
-
className: "col-lg-8 col-md-8 col-sm-8 pl-2"
|
|
16429
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16430
|
-
className: "row m-0 w-100"
|
|
16431
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16432
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16433
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16434
|
-
className: "".concat(cart_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex align-items-start ',
|
|
16435
|
-
style: {
|
|
16436
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16437
|
-
},
|
|
16438
|
-
onClick: function onClick() {
|
|
16439
|
-
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
16440
|
-
setOpenCloseCartSlider(false);
|
|
16441
|
-
setsidecartnavshowWorkplaceDesigncontext(false);
|
|
16442
|
-
setsidecartnavshowcontext(false);
|
|
16683
|
+
var extras_for_product = [];
|
|
16684
|
+
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue9 === void 0 || _fetchcustomercartQue9.forEach(function (cartitem_in, cartindex_in) {
|
|
16685
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
16686
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (item === null || item === void 0 ? void 0 : item.productid)) {
|
|
16687
|
+
extras_for_product.push(cartitem_in);
|
|
16688
|
+
}
|
|
16443
16689
|
}
|
|
16444
|
-
}
|
|
16445
|
-
|
|
16446
|
-
|
|
16690
|
+
});
|
|
16691
|
+
if (item.item_type != 'Extras') {
|
|
16692
|
+
var _item$productinfo, _item$variantoptions, _fetchcustomercartQue0;
|
|
16447
16693
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16448
|
-
className: "col-lg-12
|
|
16694
|
+
className: "col-lg-12 mb-3 p-0"
|
|
16449
16695
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16450
|
-
|
|
16451
|
-
style: {
|
|
16452
|
-
color: sectionproperties.prodNameColor
|
|
16453
|
-
}
|
|
16696
|
+
className: "row w-100 m-0"
|
|
16454
16697
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16455
|
-
className:
|
|
16456
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16457
|
-
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
16458
|
-
}, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16459
|
-
className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
|
|
16460
|
-
}, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue))));
|
|
16461
|
-
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
16462
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16463
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16698
|
+
className: 'col-lg-4 col-md-4 col-sm-4 p-0'
|
|
16464
16699
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16465
|
-
|
|
16700
|
+
className: cart_cssstyles.imagecont + ' mb-auto '
|
|
16701
|
+
}, item.productinfo.hasvariants == 0 && item.productinfo.productmainimage != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
16702
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
16703
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
16704
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.productmainimage,
|
|
16705
|
+
loading: "lazy",
|
|
16706
|
+
style: {
|
|
16707
|
+
height: '90%',
|
|
16708
|
+
width: '90%',
|
|
16709
|
+
objectFit: 'contain',
|
|
16710
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
16711
|
+
}
|
|
16712
|
+
}), item.productinfo.hasvariants == 0 && item.productinfo.productmainimage == '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16713
|
+
style: {
|
|
16714
|
+
width: '100%',
|
|
16715
|
+
height: '100%',
|
|
16716
|
+
background: '#eee',
|
|
16717
|
+
borderRadius: 10
|
|
16718
|
+
}
|
|
16719
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
16720
|
+
"class": "h-100 allcentered text-light"
|
|
16721
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
16722
|
+
size: 26
|
|
16723
|
+
}))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl == '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16724
|
+
style: {
|
|
16725
|
+
width: '100%',
|
|
16726
|
+
height: '100%',
|
|
16727
|
+
background: '#eee',
|
|
16728
|
+
borderRadius: 10
|
|
16729
|
+
}
|
|
16730
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
16731
|
+
"class": "h-100 allcentered text-light"
|
|
16732
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
16733
|
+
size: 26
|
|
16734
|
+
}))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
16735
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
16736
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
16737
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.variantinfo.variantimageurl,
|
|
16738
|
+
loading: "lazy",
|
|
16466
16739
|
style: {
|
|
16467
|
-
|
|
16740
|
+
height: '90%',
|
|
16741
|
+
width: '90%',
|
|
16742
|
+
objectFit: 'contain',
|
|
16743
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
16468
16744
|
}
|
|
16745
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16746
|
+
className: "col-lg-8 col-md-8 col-sm-8 pl-2"
|
|
16747
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16748
|
+
className: "row m-0 w-100"
|
|
16469
16749
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16470
16750
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16471
16751
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16472
|
-
className: '
|
|
16473
|
-
|
|
16474
|
-
|
|
16475
|
-
|
|
16476
|
-
|
|
16477
|
-
|
|
16478
|
-
|
|
16479
|
-
|
|
16480
|
-
|
|
16481
|
-
|
|
16482
|
-
|
|
16483
|
-
|
|
16484
|
-
|
|
16485
|
-
|
|
16486
|
-
|
|
16487
|
-
|
|
16488
|
-
|
|
16489
|
-
|
|
16490
|
-
|
|
16752
|
+
className: "".concat(cart_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex align-items-start ',
|
|
16753
|
+
style: {
|
|
16754
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16755
|
+
},
|
|
16756
|
+
onClick: function onClick() {
|
|
16757
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
16758
|
+
setOpenCloseCartSlider(false);
|
|
16759
|
+
setsidecartnavshowWorkplaceDesigncontext(false);
|
|
16760
|
+
setsidecartnavshowcontext(false);
|
|
16761
|
+
}
|
|
16762
|
+
}, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), extras_for_product === null || extras_for_product === void 0 ? void 0 : extras_for_product.map(function (extraitem, extraindex) {
|
|
16763
|
+
var _extraitem$productinf;
|
|
16764
|
+
return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("p", null, "name:", extraitem === null || extraitem === void 0 || (_extraitem$productinf = extraitem.productinfo) === null || _extraitem$productinf === void 0 ? void 0 : _extraitem$productinf.name_en, ",quantity:", extraitem === null || extraitem === void 0 ? void 0 : extraitem.quantity));
|
|
16765
|
+
}), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16766
|
+
className: "".concat(cart_cssstyles.productPricestyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex mt-1 '
|
|
16767
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : parseFloat(item.finalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.productinfo.hasvariants == 1 && item.variantoptions.map(function (variantitem, variantindex) {
|
|
16768
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16769
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16770
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16771
|
+
"class": "row m-0 w-100",
|
|
16772
|
+
style: {
|
|
16773
|
+
color: sectionproperties.prodNameColor
|
|
16774
|
+
}
|
|
16775
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16776
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16777
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16778
|
+
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
16779
|
+
}, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16780
|
+
className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
|
|
16781
|
+
}, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue))));
|
|
16782
|
+
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
16783
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16784
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16785
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16786
|
+
"class": "row m-0 w-100",
|
|
16787
|
+
style: {
|
|
16788
|
+
color: sectionproperties.prodNameColor
|
|
16789
|
+
}
|
|
16790
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16791
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16792
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16793
|
+
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
16794
|
+
}, langdetect == 'en' ? extrafielditem.title_en : extrafielditem.title_ar, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16795
|
+
className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
|
|
16796
|
+
}, extrafielditem.value))));
|
|
16797
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16798
|
+
"class": (item === null || item === void 0 || (_item$productinfo = item.productinfo) === null || _item$productinfo === void 0 ? void 0 : _item$productinfo.hasvariants) == 1 && (item === null || item === void 0 || (_item$variantoptions = item.variantoptions) === null || _item$variantoptions === void 0 ? void 0 : _item$variantoptions.length) != 0 ? 'col-lg-12 p-0 mt-1' : 'col-lg-12 p-0 mt-4'
|
|
16799
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16800
|
+
"class": "row m-0 w-100"
|
|
16801
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16802
|
+
"class": "col-9 p-0 d-flex justify-content-start align-items-center"
|
|
16803
|
+
}, item.productinfo.item_type == 'product' && item.productinfo.isproducthasquantitychange == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
16804
|
+
className: " ".concat(cart_cssstyles.quantitybtn) + ' px-2 d-flex align-items-center justify-content-center '
|
|
16805
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16806
|
+
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
16807
|
+
onClick: function onClick() {
|
|
16808
|
+
var _item$productinfo2, _item$productinfo3, _item$productinfo4, _item$productinfo5;
|
|
16809
|
+
var quantitystepincrearse = 1;
|
|
16810
|
+
var quantity = parseFloat(item.quantity);
|
|
16811
|
+
if ((item === null || item === void 0 || (_item$productinfo2 = item.productinfo) === null || _item$productinfo2 === void 0 ? void 0 : _item$productinfo2.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo3 = item.productinfo) === null || _item$productinfo3 === void 0 ? void 0 : _item$productinfo3.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo4 = item.productinfo) === null || _item$productinfo4 === void 0 ? void 0 : _item$productinfo4.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.quantitystepincrearse) != '') {
|
|
16812
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16813
|
+
var _item$productinfo6;
|
|
16814
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
|
|
16815
|
+
} else {
|
|
16816
|
+
var _item$productinfo7;
|
|
16817
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse);
|
|
16818
|
+
}
|
|
16819
|
+
}
|
|
16820
|
+
quantity = quantity - quantitystepincrearse;
|
|
16491
16821
|
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16492
|
-
|
|
16493
|
-
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
|
|
16822
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16494
16823
|
} else {
|
|
16495
|
-
|
|
16496
|
-
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse);
|
|
16824
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16497
16825
|
}
|
|
16498
16826
|
}
|
|
16499
|
-
|
|
16500
|
-
|
|
16501
|
-
|
|
16502
|
-
|
|
16503
|
-
|
|
16504
|
-
|
|
16505
|
-
|
|
16506
|
-
|
|
16507
|
-
|
|
16508
|
-
|
|
16509
|
-
|
|
16510
|
-
|
|
16511
|
-
|
|
16512
|
-
|
|
16513
|
-
|
|
16514
|
-
|
|
16827
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
16828
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
16829
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16830
|
+
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
16831
|
+
onClick: function onClick() {
|
|
16832
|
+
var _item$productinfo8, _item$productinfo9, _item$productinfo0, _item$productinfo1;
|
|
16833
|
+
var quantitystepincrearse = 1;
|
|
16834
|
+
var quantity = parseFloat(item.quantity);
|
|
16835
|
+
if ((item === null || item === void 0 || (_item$productinfo8 = item.productinfo) === null || _item$productinfo8 === void 0 ? void 0 : _item$productinfo8.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo9 = item.productinfo) === null || _item$productinfo9 === void 0 ? void 0 : _item$productinfo9.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo0 = item.productinfo) === null || _item$productinfo0 === void 0 ? void 0 : _item$productinfo0.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo1 = item.productinfo) === null || _item$productinfo1 === void 0 ? void 0 : _item$productinfo1.quantitystepincrearse) != '') {
|
|
16836
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16837
|
+
var _item$productinfo10;
|
|
16838
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse);
|
|
16839
|
+
} else {
|
|
16840
|
+
var _item$productinfo11;
|
|
16841
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
|
|
16842
|
+
}
|
|
16843
|
+
}
|
|
16844
|
+
quantity = quantity + quantitystepincrearse;
|
|
16515
16845
|
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16516
|
-
|
|
16517
|
-
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse);
|
|
16846
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16518
16847
|
} else {
|
|
16519
|
-
|
|
16520
|
-
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
|
|
16848
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16521
16849
|
}
|
|
16522
16850
|
}
|
|
16523
|
-
|
|
16524
|
-
|
|
16525
|
-
|
|
16526
|
-
|
|
16527
|
-
|
|
16851
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
16852
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
16853
|
+
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16854
|
+
className: "".concat(cart_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
16855
|
+
style: {
|
|
16856
|
+
background: 'transparent'
|
|
16528
16857
|
}
|
|
16529
|
-
}
|
|
16530
|
-
|
|
16531
|
-
|
|
16532
|
-
|
|
16533
|
-
|
|
16534
|
-
|
|
16535
|
-
|
|
16536
|
-
|
|
16537
|
-
|
|
16538
|
-
|
|
16539
|
-
|
|
16540
|
-
|
|
16541
|
-
|
|
16542
|
-
|
|
16543
|
-
|
|
16858
|
+
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16859
|
+
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
16860
|
+
onClick: function onClick() {
|
|
16861
|
+
var _item$productinfo12, _item$productinfo13, _item$productinfo14, _item$productinfo15;
|
|
16862
|
+
var quantitystepincrearse = 1;
|
|
16863
|
+
var quantity = parseFloat(item.quantity);
|
|
16864
|
+
if ((item === null || item === void 0 || (_item$productinfo12 = item.productinfo) === null || _item$productinfo12 === void 0 ? void 0 : _item$productinfo12.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo13 = item.productinfo) === null || _item$productinfo13 === void 0 ? void 0 : _item$productinfo13.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo14 = item.productinfo) === null || _item$productinfo14 === void 0 ? void 0 : _item$productinfo14.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo15 = item.productinfo) === null || _item$productinfo15 === void 0 ? void 0 : _item$productinfo15.quantitystepincrearse) != '') {
|
|
16865
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16866
|
+
var _item$productinfo16;
|
|
16867
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
|
|
16868
|
+
} else {
|
|
16869
|
+
var _item$productinfo17;
|
|
16870
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse);
|
|
16871
|
+
}
|
|
16872
|
+
}
|
|
16873
|
+
quantity = quantity + quantitystepincrearse;
|
|
16544
16874
|
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16545
|
-
|
|
16546
|
-
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
|
|
16875
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16547
16876
|
} else {
|
|
16548
|
-
|
|
16549
|
-
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse);
|
|
16877
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16550
16878
|
}
|
|
16551
16879
|
}
|
|
16552
|
-
|
|
16553
|
-
|
|
16554
|
-
|
|
16555
|
-
|
|
16556
|
-
|
|
16557
|
-
|
|
16558
|
-
|
|
16559
|
-
|
|
16560
|
-
|
|
16561
|
-
|
|
16562
|
-
|
|
16563
|
-
|
|
16564
|
-
|
|
16565
|
-
|
|
16566
|
-
|
|
16567
|
-
|
|
16880
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
16881
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
16882
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16883
|
+
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
16884
|
+
onClick: function onClick() {
|
|
16885
|
+
var _item$productinfo18, _item$productinfo19, _item$productinfo20, _item$productinfo21;
|
|
16886
|
+
var quantitystepincrearse = 1;
|
|
16887
|
+
var quantity = parseFloat(item.quantity);
|
|
16888
|
+
if ((item === null || item === void 0 || (_item$productinfo18 = item.productinfo) === null || _item$productinfo18 === void 0 ? void 0 : _item$productinfo18.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo19 = item.productinfo) === null || _item$productinfo19 === void 0 ? void 0 : _item$productinfo19.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo20 = item.productinfo) === null || _item$productinfo20 === void 0 ? void 0 : _item$productinfo20.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo21 = item.productinfo) === null || _item$productinfo21 === void 0 ? void 0 : _item$productinfo21.quantitystepincrearse) != '') {
|
|
16889
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16890
|
+
var _item$productinfo22;
|
|
16891
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo22 = item.productinfo) === null || _item$productinfo22 === void 0 ? void 0 : _item$productinfo22.quantitystepincrearse);
|
|
16892
|
+
} else {
|
|
16893
|
+
var _item$productinfo23;
|
|
16894
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo23 = item.productinfo) === null || _item$productinfo23 === void 0 ? void 0 : _item$productinfo23.quantitystepincrearse);
|
|
16895
|
+
}
|
|
16896
|
+
}
|
|
16897
|
+
quantity = quantity - quantitystepincrearse;
|
|
16568
16898
|
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16569
|
-
|
|
16570
|
-
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo22 = item.productinfo) === null || _item$productinfo22 === void 0 ? void 0 : _item$productinfo22.quantitystepincrearse);
|
|
16899
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16571
16900
|
} else {
|
|
16572
|
-
|
|
16573
|
-
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo23 = item.productinfo) === null || _item$productinfo23 === void 0 ? void 0 : _item$productinfo23.quantitystepincrearse);
|
|
16901
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16574
16902
|
}
|
|
16575
16903
|
}
|
|
16576
|
-
|
|
16577
|
-
|
|
16578
|
-
|
|
16579
|
-
|
|
16580
|
-
|
|
16904
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
16905
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
16906
|
+
}))), item.productinfo.item_type == 'service' && item.reserv_fixeddate != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16907
|
+
"class": "col-lg-12 p-0 text-start"
|
|
16908
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16909
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-start",
|
|
16910
|
+
style: {
|
|
16911
|
+
color: sectionproperties.quantitybtn_textcolor
|
|
16581
16912
|
}
|
|
16582
|
-
}
|
|
16583
|
-
|
|
16584
|
-
|
|
16585
|
-
|
|
16586
|
-
|
|
16587
|
-
|
|
16588
|
-
|
|
16589
|
-
|
|
16590
|
-
|
|
16591
|
-
}
|
|
16592
|
-
|
|
16593
|
-
|
|
16594
|
-
|
|
16595
|
-
|
|
16596
|
-
|
|
16597
|
-
|
|
16598
|
-
}
|
|
16599
|
-
|
|
16600
|
-
|
|
16601
|
-
|
|
16602
|
-
|
|
16603
|
-
|
|
16604
|
-
|
|
16605
|
-
}
|
|
16606
|
-
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
|
|
16612
|
-
}
|
|
16613
|
-
|
|
16614
|
-
|
|
16615
|
-
|
|
16616
|
-
|
|
16617
|
-
|
|
16618
|
-
|
|
16619
|
-
}
|
|
16620
|
-
|
|
16621
|
-
|
|
16622
|
-
|
|
16623
|
-
|
|
16624
|
-
|
|
16625
|
-
|
|
16626
|
-
}
|
|
16627
|
-
|
|
16628
|
-
|
|
16629
|
-
}
|
|
16630
|
-
|
|
16631
|
-
onClick: function onClick() {
|
|
16632
|
-
deletecartitemContext(item);
|
|
16633
|
-
}
|
|
16634
|
-
}, lang.remove))))))), index != (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16635
|
-
className: "col-lg-12 mt-3 p-0"
|
|
16636
|
-
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
16637
|
-
className: "m-0"
|
|
16638
|
-
})));
|
|
16639
|
-
}))))), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue0 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue0 === void 0 || (_fetchcustomercartQue0 = _fetchcustomercartQue0.data) === null || _fetchcustomercartQue0 === void 0 ? void 0 : _fetchcustomercartQue0.customercart) != null && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue1 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue1 === void 0 || (_fetchcustomercartQue1 = _fetchcustomercartQue1.data) === null || _fetchcustomercartQue1 === void 0 || (_fetchcustomercartQue1 = _fetchcustomercartQue1.customercart) === null || _fetchcustomercartQue1 === void 0 || (_fetchcustomercartQue1 = _fetchcustomercartQue1.cartitems) === null || _fetchcustomercartQue1 === void 0 ? void 0 : _fetchcustomercartQue1.length) != 0 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16913
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16914
|
+
"class": "col-lg-12 p-0 text-start flex-row"
|
|
16915
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16916
|
+
"class": "m-0 p-0",
|
|
16917
|
+
style: {
|
|
16918
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16919
|
+
}
|
|
16920
|
+
}, item.reserv_fixeddate)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16921
|
+
"class": "col-lg-12 p-0 text-start flex-row"
|
|
16922
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16923
|
+
"class": "m-0 p-0",
|
|
16924
|
+
style: {
|
|
16925
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16926
|
+
}
|
|
16927
|
+
}, item.reserv_time)))), item.productinfo.item_type == 'service' && item.reserv_fixeddate == null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16928
|
+
"class": "col-lg-12 p-0 text-start"
|
|
16929
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16930
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-start",
|
|
16931
|
+
style: {
|
|
16932
|
+
color: sectionproperties.quantitybtn_textcolor
|
|
16933
|
+
}
|
|
16934
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16935
|
+
"class": "col-lg-12 p-0 text-start flex-row"
|
|
16936
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16937
|
+
"class": "m-0 p-0",
|
|
16938
|
+
style: {
|
|
16939
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16940
|
+
}
|
|
16941
|
+
}, langdetect == 'en' ? 'From' : 'من', ": ", item.reserv_fromdate)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16942
|
+
"class": "col-lg-12 p-0 text-start flex-row"
|
|
16943
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16944
|
+
"class": "m-0 p-0",
|
|
16945
|
+
style: {
|
|
16946
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16947
|
+
}
|
|
16948
|
+
}, langdetect == 'en' ? 'To' : 'إلى', ": ", item.reserv_todate))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16949
|
+
"class": "col-3 p-0 d-flex justify-content-end align-items-center"
|
|
16950
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16951
|
+
"class": "".concat(cart_cssstyles.trash_btn) + ' cursor-pointer m-0 p-0 ',
|
|
16952
|
+
onClick: function onClick() {
|
|
16953
|
+
deletecartitemContext(item);
|
|
16954
|
+
}
|
|
16955
|
+
}, lang.remove))))))), index != (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue0 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue0 === void 0 || (_fetchcustomercartQue0 = _fetchcustomercartQue0.data) === null || _fetchcustomercartQue0 === void 0 || (_fetchcustomercartQue0 = _fetchcustomercartQue0.customercart) === null || _fetchcustomercartQue0 === void 0 || (_fetchcustomercartQue0 = _fetchcustomercartQue0.cartitems) === null || _fetchcustomercartQue0 === void 0 ? void 0 : _fetchcustomercartQue0.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16956
|
+
className: "col-lg-12 mt-3 p-0"
|
|
16957
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
16958
|
+
className: "m-0"
|
|
16959
|
+
})));
|
|
16960
|
+
}
|
|
16961
|
+
}))))), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue1 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue1 === void 0 || (_fetchcustomercartQue1 = _fetchcustomercartQue1.data) === null || _fetchcustomercartQue1 === void 0 ? void 0 : _fetchcustomercartQue1.customercart) != null && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue10 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue10 === void 0 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue10 === void 0 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.customercart) === null || _fetchcustomercartQue10 === void 0 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length) != 0 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16640
16962
|
className: "col-lg-12 mb-1 p-0 mt-auto anim mb-md-4",
|
|
16641
16963
|
style: {
|
|
16642
16964
|
animationDuration: '.8s'
|
|
@@ -16671,7 +16993,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
16671
16993
|
textTransform: sectionproperties.total_texttransform,
|
|
16672
16994
|
color: sectionproperties.total_color
|
|
16673
16995
|
}
|
|
16674
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16996
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.totalprice).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue13 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.customercart) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16675
16997
|
"class": "col-lg-12 mt-1 d-flex align-items-center justify-content-start p-0"
|
|
16676
16998
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16677
16999
|
"class": "m-0 p-0",
|
|
@@ -16680,7 +17002,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
16680
17002
|
fontSize: '13px',
|
|
16681
17003
|
fontWeight: 500
|
|
16682
17004
|
}
|
|
16683
|
-
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17005
|
+
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue14 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.customercart) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.cartitems) === null || _fetchcustomercartQue14 === void 0 ? void 0 : _fetchcustomercartQue14.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16684
17006
|
className: "col-lg-12 p-0 mt-4 d-flex flex-column align-items-center justify-content-center"
|
|
16685
17007
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
16686
17008
|
className: " ".concat(cart_cssstyles.cart_btn) + ' mb-2 d-flex align-items-center justify-content-center ',
|
|
@@ -19227,7 +19549,56 @@ var Filter$1 = function Filter(props) {
|
|
|
19227
19549
|
}
|
|
19228
19550
|
}, props.typeprops != 'vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19229
19551
|
className: sectionproperties.filterdirection == 'Horizontal' || sectionproperties.filterdirection == 'Collections Vertical' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none'
|
|
19230
|
-
}, sectionproperties.filterdirection == '
|
|
19552
|
+
}, sectionproperties.filterdirection == 'Horizontal' && window.location.pathname != '/Portfolio' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19553
|
+
"class": "row m-0 w-100"
|
|
19554
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19555
|
+
"class": "col-lg-12 p-0 mb-4"
|
|
19556
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
19557
|
+
transitionBehavior: 'auto',
|
|
19558
|
+
wrapperClassName: '',
|
|
19559
|
+
itemClassName: '',
|
|
19560
|
+
scrollContainerClassName: 'scrollmenuclasssubscrollbar2'
|
|
19561
|
+
}, collectionstobevisible.map(function (item, index) {
|
|
19562
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19563
|
+
className: ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100 mb-2 '
|
|
19564
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19565
|
+
className: "".concat(filter_cssstyles.timeline_text, " ").concat(filter_cssstyles.filtercard) + ' p-0 cursor-pointer ',
|
|
19566
|
+
onClick: function onClick() {
|
|
19567
|
+
setCollectionFilterFunc(item.collectionid);
|
|
19568
|
+
},
|
|
19569
|
+
style: {
|
|
19570
|
+
color: item.isfilterselected == true ? sectionproperties.activecat_color : ''
|
|
19571
|
+
}
|
|
19572
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19573
|
+
"class": "col-lg-12 allcentered mb-2"
|
|
19574
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19575
|
+
style: {
|
|
19576
|
+
width: sectionproperties.filterimagewidthheight + '%',
|
|
19577
|
+
height: sectionproperties.filterimagewidthheight + '%'
|
|
19578
|
+
}
|
|
19579
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
19580
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
19581
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
19582
|
+
path: '/tr:w-' + sectionproperties.filterimage_tr + ',h-' + sectionproperties.filterimage_h + '/' + item.collectionlogo,
|
|
19583
|
+
style: {
|
|
19584
|
+
width: '100%',
|
|
19585
|
+
height: '100%',
|
|
19586
|
+
objectFit: 'cover',
|
|
19587
|
+
borderRadius: sectionproperties.filterimageborderradius + 'px'
|
|
19588
|
+
},
|
|
19589
|
+
loading: "lazy"
|
|
19590
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19591
|
+
"class": "row m-0 w-100"
|
|
19592
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19593
|
+
"class": "col-10 text-start"
|
|
19594
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19595
|
+
"class": ' m-0 p-0 '
|
|
19596
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19597
|
+
"class": "col-2 text-end"
|
|
19598
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
19599
|
+
"class": "h-100 allcentered"
|
|
19600
|
+
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, null) : /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, null))))));
|
|
19601
|
+
})))), sectionproperties.filterdirection == 'Collections Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19231
19602
|
"class": "row m-0 w-100 allcentered mt-md-3"
|
|
19232
19603
|
}, collectionstobevisible.map(function (item, index) {
|
|
19233
19604
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -90926,8 +91297,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
90926
91297
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
90927
91298
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 ',
|
|
90928
91299
|
style: {
|
|
90929
|
-
direction: 'ltr'
|
|
90930
|
-
width: '80%'
|
|
91300
|
+
direction: 'ltr'
|
|
90931
91301
|
}
|
|
90932
91302
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
90933
91303
|
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|