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.esm.js
CHANGED
|
@@ -2225,11 +2225,12 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2225
2225
|
var sectionproperties = props.actions.sectionproperties;
|
|
2226
2226
|
props.actions.addtocardpayloadobj;
|
|
2227
2227
|
props.actions.setaddtocardpayloadobj;
|
|
2228
|
+
var addtocartfunc_extras = props.actions.addtocartfunc_extras;
|
|
2228
2229
|
props.actions;
|
|
2229
2230
|
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;
|
|
2230
2231
|
// const templatepropcontext = props.actions.templatepropcontext;
|
|
2231
2232
|
|
|
2232
|
-
|
|
2233
|
+
// const addtocartfunc = props.addtocartfunc;
|
|
2233
2234
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
2234
2235
|
props.actions.productinfo_cssstyles;
|
|
2235
2236
|
var _useState = useState([]),
|
|
@@ -2340,7 +2341,7 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2340
2341
|
var _item$productinfo5;
|
|
2341
2342
|
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
2342
2343
|
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
2343
|
-
|
|
2344
|
+
addtocartfunc_extras(false, {
|
|
2344
2345
|
functype: 'add',
|
|
2345
2346
|
item_type: 'Extras',
|
|
2346
2347
|
productid: item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.productid,
|
|
@@ -2382,7 +2383,7 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2382
2383
|
}
|
|
2383
2384
|
quantity = quantity + 1;
|
|
2384
2385
|
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
2385
|
-
|
|
2386
|
+
addtocartfunc_extras(false, {
|
|
2386
2387
|
functype: 'add',
|
|
2387
2388
|
item_type: 'Extras',
|
|
2388
2389
|
productid: item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.productid,
|
|
@@ -3545,7 +3546,7 @@ var ProductFileUploader = function ProductFileUploader(props) {
|
|
|
3545
3546
|
};
|
|
3546
3547
|
|
|
3547
3548
|
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(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
|
|
3548
|
-
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;
|
|
3549
|
+
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;
|
|
3549
3550
|
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;
|
|
3550
3551
|
// const opensizeguidemodal = props.actions.opensizeguidemodal;
|
|
3551
3552
|
var _useState=useState(false),_useState2=_slicedToArray(_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=useState(currentshowingimageindex_pro),_useState4=_slicedToArray(_useState3,2),currentshowingimageindex=_useState4[0],setcurrentshowingimageindex=_useState4[1];// const DescriptionContent = props.actions.DescriptionContent;
|
|
@@ -4413,7 +4414,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4413
4414
|
})), 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.createElement("div", {
|
|
4414
4415
|
className: ' d-flex align-items-center justify-content-center '
|
|
4415
4416
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
4416
|
-
color:
|
|
4417
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
4417
4418
|
width: "20px",
|
|
4418
4419
|
height: "20px",
|
|
4419
4420
|
duration: "1s"
|
|
@@ -4496,7 +4497,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4496
4497
|
})), 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.createElement("div", {
|
|
4497
4498
|
className: ' d-flex align-items-center justify-content-center '
|
|
4498
4499
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
4499
|
-
color:
|
|
4500
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
4500
4501
|
width: "20px",
|
|
4501
4502
|
height: "20px",
|
|
4502
4503
|
duration: "1s"
|
|
@@ -4557,7 +4558,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4557
4558
|
};
|
|
4558
4559
|
|
|
4559
4560
|
var Service_itemtype = function Service_itemtype(props) {
|
|
4560
|
-
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$
|
|
4561
|
+
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$;
|
|
4561
4562
|
var lang = props.actions.lang;
|
|
4562
4563
|
var langdetect = props.actions.langdetect;
|
|
4563
4564
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -4599,6 +4600,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4599
4600
|
var sizeguideimage = props.actions.sizeguideimage;
|
|
4600
4601
|
props.actions.selectproductoptionvalue;
|
|
4601
4602
|
props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
4603
|
+
props.actions.addtocartfunc_extras;
|
|
4604
|
+
var variantindexcompleted = props.actions.variantindexcompleted;
|
|
4602
4605
|
useEffect(function () {
|
|
4603
4606
|
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
4604
4607
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
@@ -4678,7 +4681,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4678
4681
|
};
|
|
4679
4682
|
return /*#__PURE__*/React.createElement("div", {
|
|
4680
4683
|
"class": ' col-lg-12 p-0 '
|
|
4681
|
-
}, (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.createElement("div", {
|
|
4684
|
+
}, (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.createElement("div", {
|
|
4682
4685
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
4683
4686
|
style: {
|
|
4684
4687
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -5397,7 +5400,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5397
5400
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
5398
5401
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
5399
5402
|
}
|
|
5400
|
-
}, StoreInfoprops()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5403
|
+
}, StoreInfoprops()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '68d9461ed6822' && /*#__PURE__*/React.createElement("div", {
|
|
5401
5404
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5402
5405
|
style: {
|
|
5403
5406
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5539,7 +5542,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5539
5542
|
addtofavoritescontext: addtofavoritescontext,
|
|
5540
5543
|
srcfrom: 'col-3'
|
|
5541
5544
|
}
|
|
5542
|
-
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5545
|
+
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '68b59be871aaf' && /*#__PURE__*/React.createElement("div", {
|
|
5543
5546
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5544
5547
|
style: {
|
|
5545
5548
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5634,7 +5637,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5634
5637
|
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
5635
5638
|
addtofavoritescontext: addtofavoritescontext
|
|
5636
5639
|
}
|
|
5637
|
-
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5640
|
+
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '68bd43a570fa6' && /*#__PURE__*/React.createElement("div", {
|
|
5638
5641
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5639
5642
|
style: {
|
|
5640
5643
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5691,6 +5694,15 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5691
5694
|
actions: props.actions,
|
|
5692
5695
|
srcfromprops: 'servicestyle2'
|
|
5693
5696
|
})), /*#__PURE__*/React.createElement("div", {
|
|
5697
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
5698
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
5699
|
+
"class": "m-0 p-0",
|
|
5700
|
+
style: {
|
|
5701
|
+
color: '#000',
|
|
5702
|
+
fontSize: 20,
|
|
5703
|
+
fontWeight: 600
|
|
5704
|
+
}
|
|
5705
|
+
}, "What's Included:")), /*#__PURE__*/React.createElement("div", {
|
|
5694
5706
|
"class": "col-lg-12 text-start p-md-0"
|
|
5695
5707
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5696
5708
|
className: "row m-0 w-100"
|
|
@@ -5741,6 +5753,186 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5741
5753
|
borderRadius: 10,
|
|
5742
5754
|
boxShadow: '0 0 10px #ccc'
|
|
5743
5755
|
}
|
|
5756
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5757
|
+
className: "row m-0 w-100 d-flex flex-row"
|
|
5758
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
5759
|
+
className: "m-0 p-0",
|
|
5760
|
+
style: {
|
|
5761
|
+
color: sectionproperties.total_color,
|
|
5762
|
+
fontSize: sectionproperties.total_fontsize + 'px',
|
|
5763
|
+
fontWeight: sectionproperties.total_fontweight,
|
|
5764
|
+
textTransform: sectionproperties.total_texttransform
|
|
5765
|
+
}
|
|
5766
|
+
}, lang.total, ":"), /*#__PURE__*/React.createElement("div", {
|
|
5767
|
+
className: "col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"
|
|
5768
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
5769
|
+
className: 'm-0 p-0 wordbreak d-flex align-items-center justify-content-end',
|
|
5770
|
+
style: {
|
|
5771
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
5772
|
+
fontWeight: sectionproperties.prodPriceFontWeight,
|
|
5773
|
+
color: sectionproperties.prodPriceColor
|
|
5774
|
+
}
|
|
5775
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
5776
|
+
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 '
|
|
5777
|
+
}, 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.createElement("p", {
|
|
5778
|
+
className: 'm-0 p-0 linethrough wordbreak',
|
|
5779
|
+
style: {
|
|
5780
|
+
color: sectionproperties.prodsalePriceColor,
|
|
5781
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
5782
|
+
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
5783
|
+
}
|
|
5784
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && variantindexcompleted != undefined && variantindexcompleted.length == 0 && /*#__PURE__*/React.createElement("span", {
|
|
5785
|
+
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 '
|
|
5786
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
5787
|
+
className: "ml-2 mr-2",
|
|
5788
|
+
style: {
|
|
5789
|
+
textDecoration: 'none'
|
|
5790
|
+
}
|
|
5791
|
+
}, "-"), 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.createElement("span", {
|
|
5792
|
+
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 '
|
|
5793
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
5794
|
+
className: "ml-2 mr-2",
|
|
5795
|
+
style: {
|
|
5796
|
+
textDecoration: 'none'
|
|
5797
|
+
}
|
|
5798
|
+
}, "-"), 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.createElement(ProductHeaderPricing, {
|
|
5799
|
+
actions: props.actions,
|
|
5800
|
+
srcfromprops: 'servicestyle2'
|
|
5801
|
+
}), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
5802
|
+
"class": "col-12 p-0"
|
|
5803
|
+
}, /*#__PURE__*/React.createElement("hr", null)), /*#__PURE__*/React.createElement(Variantoptions, {
|
|
5804
|
+
actions: props.actions
|
|
5805
|
+
}), /*#__PURE__*/React.createElement(Serviceinfotabs, {
|
|
5806
|
+
actions: {
|
|
5807
|
+
srcfrom: 'col-3',
|
|
5808
|
+
fetchProductInfoQueryContext: fetchProductInfoQueryContext,
|
|
5809
|
+
sectionproperties: sectionproperties,
|
|
5810
|
+
lang: lang,
|
|
5811
|
+
langdetect: langdetect,
|
|
5812
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
5813
|
+
AddtoCartMutationContext: AddtoCartMutationContext,
|
|
5814
|
+
GeneralAPIMutationContext: GeneralAPIMutationContext,
|
|
5815
|
+
addtocardpayloadobj: addtocardpayloadobj,
|
|
5816
|
+
setaddtocardpayloadobj: setaddtocardpayloadobj,
|
|
5817
|
+
NotificationManager: NotificationManager,
|
|
5818
|
+
addtocartfunc: addtocartfunc,
|
|
5819
|
+
getprice_discountpriceprops: getprice_discountpriceprops,
|
|
5820
|
+
authdetailsContext: authdetailsContext,
|
|
5821
|
+
routingcountext: routingcountext,
|
|
5822
|
+
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
5823
|
+
addtofavoritescontext: addtofavoritescontext
|
|
5824
|
+
}
|
|
5825
|
+
}), /*#__PURE__*/React.createElement(ProductExtras, {
|
|
5826
|
+
actions: props.actions,
|
|
5827
|
+
srcfromprops: 'servicestyle2',
|
|
5828
|
+
addtocartfunc: addtocartfunc
|
|
5829
|
+
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) == '68c160414c162' && /*#__PURE__*/React.createElement("div", {
|
|
5830
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5831
|
+
style: {
|
|
5832
|
+
minHeight: sectionproperties.height + 'vh',
|
|
5833
|
+
paddingLeft: '60px',
|
|
5834
|
+
paddingRight: '60px',
|
|
5835
|
+
paddingTop: '60px'
|
|
5836
|
+
}
|
|
5837
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5838
|
+
"class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5'
|
|
5839
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5840
|
+
"class": 'row m-0 w-100'
|
|
5841
|
+
}, (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) {
|
|
5842
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
5843
|
+
"class": "col-lg-3 col-md-4 col-md-6 mb-md-2"
|
|
5844
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5845
|
+
"class": ' w-100 h-100',
|
|
5846
|
+
style: {}
|
|
5847
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
5848
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5849
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5850
|
+
path: '/tr:w-500,h-500/' + item.path,
|
|
5851
|
+
style: {
|
|
5852
|
+
width: '100%',
|
|
5853
|
+
height: '100%',
|
|
5854
|
+
objectFit: 'contain',
|
|
5855
|
+
borderRadius: 20
|
|
5856
|
+
},
|
|
5857
|
+
loading: "lazy"
|
|
5858
|
+
})));
|
|
5859
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
5860
|
+
"class": "col-lg-8"
|
|
5861
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5862
|
+
"class": "row m-0 w-100",
|
|
5863
|
+
style: {
|
|
5864
|
+
paddingRight: langdetect == 'en' ? 70 : 0,
|
|
5865
|
+
paddingLeft: langdetect == 'ar' ? 70 : 0
|
|
5866
|
+
}
|
|
5867
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5868
|
+
"class": "col-lg-12 p-0 text-start mb-2"
|
|
5869
|
+
}, ProductName()), /*#__PURE__*/React.createElement("div", {
|
|
5870
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
5871
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
5872
|
+
className: 'm-0 p-0 wordbreak',
|
|
5873
|
+
style: {
|
|
5874
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
5875
|
+
color: sectionproperties.prodCatColor
|
|
5876
|
+
},
|
|
5877
|
+
dangerouslySetInnerHTML: {
|
|
5878
|
+
__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
|
|
5879
|
+
}
|
|
5880
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
5881
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
5882
|
+
}, /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
5883
|
+
actions: props.actions,
|
|
5884
|
+
srcfromprops: 'servicestyle2'
|
|
5885
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
5886
|
+
"class": "col-lg-12 text-start p-md-0"
|
|
5887
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5888
|
+
className: "row m-0 w-100"
|
|
5889
|
+
}, 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) {
|
|
5890
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
5891
|
+
"class": "col-lg-12 col-md-12 p-0 mb-3 mt-2"
|
|
5892
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5893
|
+
"class": "row m-0 w-100 text-start"
|
|
5894
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5895
|
+
"class": "col-lg-12 text-start mb-3 text-uppercase p-0"
|
|
5896
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5897
|
+
style: {
|
|
5898
|
+
width: '30px'
|
|
5899
|
+
},
|
|
5900
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
5901
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
5902
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5903
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5904
|
+
path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
|
|
5905
|
+
loading: "lazy",
|
|
5906
|
+
style: {
|
|
5907
|
+
maxWidth: '100%',
|
|
5908
|
+
maxHeight: '100%'
|
|
5909
|
+
}
|
|
5910
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
5911
|
+
"class": "m-0 p-0",
|
|
5912
|
+
style: {
|
|
5913
|
+
color: sectionproperties.featurecolor,
|
|
5914
|
+
fontWeight: sectionproperties.featurefontweight,
|
|
5915
|
+
fontSize: sectionproperties.featurefontsize
|
|
5916
|
+
}
|
|
5917
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), /*#__PURE__*/React.createElement("div", {
|
|
5918
|
+
"class": "col-lg-12 text-start text-capitalize"
|
|
5919
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
5920
|
+
"class": "m-0 p-0",
|
|
5921
|
+
style: {
|
|
5922
|
+
color: sectionproperties.featurevaluecolor,
|
|
5923
|
+
fontWeight: sectionproperties.featurevaluefontweight,
|
|
5924
|
+
fontSize: sectionproperties.featurevaluefontsize
|
|
5925
|
+
}
|
|
5926
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
5927
|
+
}))))), /*#__PURE__*/React.createElement("div", {
|
|
5928
|
+
"class": "col-lg-4"
|
|
5929
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5930
|
+
"class": "row m-0 w-100 p-3",
|
|
5931
|
+
style: {
|
|
5932
|
+
background: 'white',
|
|
5933
|
+
borderRadius: 10,
|
|
5934
|
+
boxShadow: '0 0 10px #ccc'
|
|
5935
|
+
}
|
|
5744
5936
|
}, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React.createElement(ProductHeaderPricing, {
|
|
5745
5937
|
actions: props.actions,
|
|
5746
5938
|
srcfromprops: 'servicestyle2'
|
|
@@ -5771,7 +5963,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5771
5963
|
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
5772
5964
|
addtofavoritescontext: addtofavoritescontext
|
|
5773
5965
|
}
|
|
5774
|
-
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5966
|
+
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '690a1090c2e9c' && /*#__PURE__*/React.createElement("div", {
|
|
5775
5967
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5776
5968
|
style: {
|
|
5777
5969
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5783,7 +5975,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5783
5975
|
"class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5'
|
|
5784
5976
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5785
5977
|
"class": 'row m-0 w-100'
|
|
5786
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5978
|
+
}, (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) {
|
|
5787
5979
|
return /*#__PURE__*/React.createElement("div", {
|
|
5788
5980
|
"class": "col-lg-3 col-md-4 col-md-6 mb-md-2"
|
|
5789
5981
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -5820,7 +6012,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5820
6012
|
color: sectionproperties.prodCatColor
|
|
5821
6013
|
},
|
|
5822
6014
|
dangerouslySetInnerHTML: {
|
|
5823
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6015
|
+
__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
|
|
5824
6016
|
}
|
|
5825
6017
|
})), /*#__PURE__*/React.createElement("div", {
|
|
5826
6018
|
"class": "col-lg-12 p-0 mb-3"
|
|
@@ -5831,7 +6023,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5831
6023
|
"class": "col-lg-12 text-start p-md-0"
|
|
5832
6024
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5833
6025
|
className: "row m-0 w-100"
|
|
5834
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6026
|
+
}, 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) {
|
|
5835
6027
|
return /*#__PURE__*/React.createElement("div", {
|
|
5836
6028
|
"class": "col-lg-12 col-md-12 p-0 mb-3 mt-2"
|
|
5837
6029
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -6132,7 +6324,7 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
6132
6324
|
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; }
|
|
6133
6325
|
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(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; }
|
|
6134
6326
|
var Productinfo = function Productinfo(props) {
|
|
6135
|
-
var _css,
|
|
6327
|
+
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;
|
|
6136
6328
|
var _useState = useState({}),
|
|
6137
6329
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6138
6330
|
ProductInfoObj = _useState2[0],
|
|
@@ -6146,6 +6338,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6146
6338
|
var routingcountext = props.actions.routingcountext;
|
|
6147
6339
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
6148
6340
|
props.actions.TabexSectionsComponentsContext;
|
|
6341
|
+
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
6149
6342
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
6150
6343
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
6151
6344
|
props.actions.serverbaselink;
|
|
@@ -7416,6 +7609,57 @@ var Productinfo = function Productinfo(props) {
|
|
|
7416
7609
|
}))))));
|
|
7417
7610
|
}
|
|
7418
7611
|
};
|
|
7612
|
+
var addtocartfunc_extras = function addtocartfunc_extras(forcetocheckout, addtocartobjparam) {
|
|
7613
|
+
var runfunc = false;
|
|
7614
|
+
var forcetocheckoutvalue = forcetocheckout;
|
|
7615
|
+
// alert(addtocardpayloadobj.quantity + 'sad');
|
|
7616
|
+
if (addtocartobjparam.productid.length != 0 && addtocartobjparam.quantity > 0) {
|
|
7617
|
+
var _fetchProductInfoQuer50;
|
|
7618
|
+
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) {
|
|
7619
|
+
if (addtocartobjparam.variantid.length != 0) {
|
|
7620
|
+
runfunc = true;
|
|
7621
|
+
} else {
|
|
7622
|
+
var _authdetailsContext$i8;
|
|
7623
|
+
// here
|
|
7624
|
+
setvariantnotchosendisclaimer('This field is required');
|
|
7625
|
+
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');
|
|
7626
|
+
}
|
|
7627
|
+
} else {
|
|
7628
|
+
runfunc = true;
|
|
7629
|
+
}
|
|
7630
|
+
} else {
|
|
7631
|
+
NotificationManager.warning('', 'Please Choose Quantity');
|
|
7632
|
+
}
|
|
7633
|
+
if (runfunc == true) {
|
|
7634
|
+
var _fetchProductInfoQuer51, _fetchProductInfoQuer52;
|
|
7635
|
+
// var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
|
|
7636
|
+
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;
|
|
7637
|
+
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;
|
|
7638
|
+
if (forcetocheckoutvalue != undefined) {
|
|
7639
|
+
addtocartobjparam.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
7640
|
+
}
|
|
7641
|
+
var Extrafieldvalidationresponse = validateextrafields();
|
|
7642
|
+
if (Extrafieldvalidationresponse.status) {
|
|
7643
|
+
var _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58;
|
|
7644
|
+
var finalprice = 0;
|
|
7645
|
+
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) {
|
|
7646
|
+
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
7647
|
+
} else {
|
|
7648
|
+
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
7649
|
+
}
|
|
7650
|
+
Pixel_EventsContext('AddToCart', {
|
|
7651
|
+
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],
|
|
7652
|
+
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),
|
|
7653
|
+
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,
|
|
7654
|
+
content_type: 'product',
|
|
7655
|
+
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,
|
|
7656
|
+
value: finalprice,
|
|
7657
|
+
quantity: addtocardpayloadobj.quantity
|
|
7658
|
+
});
|
|
7659
|
+
AddtoCartContext(addtocartobjparam);
|
|
7660
|
+
}
|
|
7661
|
+
}
|
|
7662
|
+
};
|
|
7419
7663
|
// const DescriptionContent = () => {
|
|
7420
7664
|
// return (
|
|
7421
7665
|
// <div class="col-lg-12 pl-5 pr-5 p-md-0 w-100">
|
|
@@ -7934,38 +8178,87 @@ var Productinfo = function Productinfo(props) {
|
|
|
7934
8178
|
marginTop: sectionproperties.storeinfomarginverticalresp + 'px'
|
|
7935
8179
|
}
|
|
7936
8180
|
}));
|
|
8181
|
+
var getprice_discountpriceprops_for_extras = function getprice_discountpriceprops_for_extras(productobj, quantity) {
|
|
8182
|
+
var price = 0;
|
|
8183
|
+
price = productobj === null || productobj === void 0 ? void 0 : productobj.defaultprice;
|
|
8184
|
+
// if (type == 'defaultprice') {
|
|
8185
|
+
// price = productobj?.defaultprice;
|
|
8186
|
+
|
|
8187
|
+
// } else if (type == 'defaultsaleprice') {
|
|
8188
|
+
// price = productobj?.defaultsaleprice;
|
|
8189
|
+
|
|
8190
|
+
// }
|
|
8191
|
+
{
|
|
8192
|
+
if (price != undefined) {
|
|
8193
|
+
price = price * quantity;
|
|
8194
|
+
}
|
|
8195
|
+
}
|
|
8196
|
+
if (price != undefined) {
|
|
8197
|
+
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
8198
|
+
return parseFloat(Number(price).toFixed(2));
|
|
8199
|
+
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
8200
|
+
return Math.floor(price).toLocaleString();
|
|
8201
|
+
} else {
|
|
8202
|
+
return price;
|
|
8203
|
+
}
|
|
8204
|
+
} else {
|
|
8205
|
+
return 0;
|
|
8206
|
+
}
|
|
8207
|
+
};
|
|
8208
|
+
var get_product_extras_price = function get_product_extras_price() {
|
|
8209
|
+
var _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
8210
|
+
var totalprice_extras_price = 0;
|
|
8211
|
+
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) {
|
|
8212
|
+
var _fetchcustomercartQue4;
|
|
8213
|
+
var extras_for_product = [];
|
|
8214
|
+
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;
|
|
8215
|
+
cartitems === null || cartitems === void 0 || cartitems.forEach(function (cartitem_in, cartindex_in) {
|
|
8216
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
8217
|
+
var _fetchProductInfoQuer61;
|
|
8218
|
+
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)) {
|
|
8219
|
+
extras_for_product.push(cartitem_in);
|
|
8220
|
+
}
|
|
8221
|
+
}
|
|
8222
|
+
});
|
|
8223
|
+
extras_for_product === null || extras_for_product === void 0 || extras_for_product.forEach(function (cartitem_in, cartindex_in) {
|
|
8224
|
+
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;
|
|
8225
|
+
totalprice_extras_price = totalprice_extras_price + singleextraprice;
|
|
8226
|
+
});
|
|
8227
|
+
}
|
|
8228
|
+
return totalprice_extras_price;
|
|
8229
|
+
};
|
|
7937
8230
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
7938
|
-
var
|
|
8231
|
+
var _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65;
|
|
7939
8232
|
var price = 0;
|
|
7940
8233
|
var quantity = 0;
|
|
7941
8234
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
7942
8235
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
7943
8236
|
}
|
|
7944
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7945
|
-
var
|
|
7946
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8237
|
+
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) {
|
|
8238
|
+
var _fetchProductInfoQuer66;
|
|
8239
|
+
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;
|
|
7947
8240
|
}
|
|
7948
8241
|
if (type == 'defaultprice') {
|
|
7949
|
-
var
|
|
7950
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7951
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8242
|
+
var _fetchProductInfoQuer67, _fetchProductInfoQuer68;
|
|
8243
|
+
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;
|
|
8244
|
+
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) {
|
|
7952
8245
|
if (variantindexcompleted != undefined) {
|
|
7953
|
-
var
|
|
7954
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7955
|
-
var
|
|
7956
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8246
|
+
var _fetchProductInfoQuer69;
|
|
8247
|
+
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) {
|
|
8248
|
+
var _fetchProductInfoQuer70;
|
|
8249
|
+
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;
|
|
7957
8250
|
}
|
|
7958
8251
|
}
|
|
7959
8252
|
}
|
|
7960
8253
|
} else if (type == 'defaultsaleprice') {
|
|
7961
|
-
var
|
|
7962
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7963
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8254
|
+
var _fetchProductInfoQuer71, _fetchProductInfoQuer72;
|
|
8255
|
+
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;
|
|
8256
|
+
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) {
|
|
7964
8257
|
if (variantindexcompleted != undefined) {
|
|
7965
|
-
var
|
|
7966
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7967
|
-
var
|
|
7968
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8258
|
+
var _fetchProductInfoQuer73;
|
|
8259
|
+
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) {
|
|
8260
|
+
var _fetchProductInfoQuer74;
|
|
8261
|
+
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;
|
|
7969
8262
|
}
|
|
7970
8263
|
}
|
|
7971
8264
|
}
|
|
@@ -7990,6 +8283,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7990
8283
|
}
|
|
7991
8284
|
}
|
|
7992
8285
|
if (price != undefined) {
|
|
8286
|
+
price = price + get_product_extras_price();
|
|
7993
8287
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
7994
8288
|
return parseFloat(Number(price).toFixed(2));
|
|
7995
8289
|
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
@@ -8062,7 +8356,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8062
8356
|
// }
|
|
8063
8357
|
// };
|
|
8064
8358
|
var getQuantityCondition = function getQuantityCondition() {
|
|
8065
|
-
var
|
|
8359
|
+
var _fetchProductInfoQuer75;
|
|
8066
8360
|
return /*#__PURE__*/React.createElement("div", {
|
|
8067
8361
|
"class": "col-lg-12 p-0",
|
|
8068
8362
|
style: {
|
|
@@ -8092,12 +8386,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8092
8386
|
height: 1,
|
|
8093
8387
|
background: sectionproperties.pricelisttitlecolor
|
|
8094
8388
|
}
|
|
8095
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8096
|
-
var
|
|
8389
|
+
})), 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) {
|
|
8390
|
+
var _fetchProductInfoQuer76;
|
|
8097
8391
|
return /*#__PURE__*/React.createElement("div", {
|
|
8098
8392
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
8099
8393
|
style: {
|
|
8100
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8394
|
+
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
|
|
8101
8395
|
}
|
|
8102
8396
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8103
8397
|
"class": "d-flex align-items-center",
|
|
@@ -8131,7 +8425,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8131
8425
|
})));
|
|
8132
8426
|
};
|
|
8133
8427
|
var StoreInfo = function StoreInfo(position) {
|
|
8134
|
-
var
|
|
8428
|
+
var _fetchProductInfoQuer77, _authdetailsContext$i0, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i1, _authdetailsContext$i11;
|
|
8135
8429
|
return /*#__PURE__*/React.createElement("div", {
|
|
8136
8430
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
8137
8431
|
style: {
|
|
@@ -8182,7 +8476,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8182
8476
|
style: {
|
|
8183
8477
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8184
8478
|
}
|
|
8185
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8479
|
+
}, 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.createElement("div", {
|
|
8186
8480
|
"class": "col-lg-12 p-0 mb-4"
|
|
8187
8481
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
8188
8482
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -8210,8 +8504,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8210
8504
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
8211
8505
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
8212
8506
|
onClick: function onClick() {
|
|
8213
|
-
var _authdetailsContext$
|
|
8214
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8507
|
+
var _authdetailsContext$i9;
|
|
8508
|
+
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');
|
|
8215
8509
|
}
|
|
8216
8510
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8217
8511
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -8231,7 +8525,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8231
8525
|
style: {
|
|
8232
8526
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8233
8527
|
}
|
|
8234
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8528
|
+
}, 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.createElement("div", {
|
|
8235
8529
|
"class": "col-lg-12 my-2",
|
|
8236
8530
|
style: {
|
|
8237
8531
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -8283,25 +8577,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
8283
8577
|
}
|
|
8284
8578
|
}, /*#__PURE__*/React.createElement("p", {
|
|
8285
8579
|
"class": "m-0 p-0"
|
|
8286
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8580
|
+
}, 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.createElement("div", {
|
|
8287
8581
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8288
8582
|
}, /*#__PURE__*/React.createElement("button", {
|
|
8289
8583
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8290
8584
|
onClick: function onClick() {
|
|
8291
|
-
var _authdetailsContext$
|
|
8292
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8585
|
+
var _authdetailsContext$i10;
|
|
8586
|
+
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');
|
|
8293
8587
|
}
|
|
8294
8588
|
}, /*#__PURE__*/React.createElement("p", {
|
|
8295
8589
|
"class": "m-0 p-0"
|
|
8296
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8590
|
+
}, 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.createElement("div", {
|
|
8297
8591
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8298
8592
|
}, /*#__PURE__*/React.createElement("button", {
|
|
8299
8593
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8300
8594
|
onClick: function onClick() {
|
|
8301
|
-
var _authdetailsContext$
|
|
8302
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8303
|
-
var _authdetailsContext$
|
|
8304
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8595
|
+
var _authdetailsContext$i12;
|
|
8596
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.whatsappnumber) != null) {
|
|
8597
|
+
var _authdetailsContext$i13;
|
|
8598
|
+
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');
|
|
8305
8599
|
}
|
|
8306
8600
|
}
|
|
8307
8601
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -8375,7 +8669,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8375
8669
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
8376
8670
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
|
|
8377
8671
|
}
|
|
8378
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8672
|
+
}, (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.createElement(Product_itemtype, {
|
|
8379
8673
|
actions: (_ref = {
|
|
8380
8674
|
isOptionInStock: isOptionInStock,
|
|
8381
8675
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -8386,8 +8680,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8386
8680
|
langdetect: langdetect,
|
|
8387
8681
|
lang: lang,
|
|
8388
8682
|
srcfromprops: props.srcfromprops
|
|
8389
|
-
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal))
|
|
8390
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8683
|
+
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras))
|
|
8684
|
+
}), (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.createElement(Article_itemtype, {
|
|
8391
8685
|
actions: (_ref2 = {
|
|
8392
8686
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
8393
8687
|
setisoutofstock: setisoutofstock,
|
|
@@ -8397,7 +8691,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8397
8691
|
lang: lang,
|
|
8398
8692
|
srcfromprops: props.srcfromprops
|
|
8399
8693
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty(_ref2, "variantvalueidentifier", variantvalueidentifier))
|
|
8400
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8694
|
+
}), (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.createElement(Service_itemtype, {
|
|
8401
8695
|
actions: (_ref3 = {
|
|
8402
8696
|
// getprice_discountpricepropsnormalonly: getprice_discountpricepropsnormalonly,
|
|
8403
8697
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -8408,13 +8702,13 @@ var Productinfo = function Productinfo(props) {
|
|
|
8408
8702
|
langdetect: langdetect,
|
|
8409
8703
|
lang: lang,
|
|
8410
8704
|
srcfromprops: props.srcfromprops
|
|
8411
|
-
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty(_ref3, "isOptionInStock", isOptionInStock))
|
|
8412
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8705
|
+
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty(_defineProperty(_ref3, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras))
|
|
8706
|
+
}), 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.createElement("div", {
|
|
8413
8707
|
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 ',
|
|
8414
8708
|
style: {
|
|
8415
8709
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
8416
8710
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
8417
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8711
|
+
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'
|
|
8418
8712
|
}
|
|
8419
8713
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8420
8714
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -8476,12 +8770,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8476
8770
|
onClick: function onClick() {
|
|
8477
8771
|
settabname('refundpolicytab');
|
|
8478
8772
|
}
|
|
8479
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8773
|
+
}), (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.createElement(Tab, {
|
|
8480
8774
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
8481
8775
|
onClick: function onClick() {
|
|
8482
8776
|
settabname('videostab');
|
|
8483
8777
|
}
|
|
8484
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8778
|
+
}), (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.createElement(Tab, {
|
|
8485
8779
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
8486
8780
|
onClick: function onClick() {
|
|
8487
8781
|
settabname('reviewstab');
|
|
@@ -8535,12 +8829,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8535
8829
|
onClick: function onClick() {
|
|
8536
8830
|
settabname('refundpolicytab');
|
|
8537
8831
|
}
|
|
8538
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8832
|
+
}), (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.createElement(Tab, {
|
|
8539
8833
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
8540
8834
|
onClick: function onClick() {
|
|
8541
8835
|
settabname('videostab');
|
|
8542
8836
|
}
|
|
8543
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8837
|
+
}), (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.createElement(Tab, {
|
|
8544
8838
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
8545
8839
|
onClick: function onClick() {
|
|
8546
8840
|
settabname('reviewstab');
|
|
@@ -8600,7 +8894,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8600
8894
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
8601
8895
|
sectionproperties: sectionproperties
|
|
8602
8896
|
})
|
|
8603
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8897
|
+
}))))), 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.createElement("div", {
|
|
8604
8898
|
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 ',
|
|
8605
8899
|
style: {
|
|
8606
8900
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -8682,7 +8976,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8682
8976
|
color: '#000000'
|
|
8683
8977
|
},
|
|
8684
8978
|
dangerouslySetInnerHTML: {
|
|
8685
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8979
|
+
__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
|
|
8686
8980
|
}
|
|
8687
8981
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React.createElement("div", {
|
|
8688
8982
|
"class": "col-lg-12 p-0"
|
|
@@ -8693,7 +8987,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8693
8987
|
color: sectionproperties.prodCatColor
|
|
8694
8988
|
},
|
|
8695
8989
|
dangerouslySetInnerHTML: {
|
|
8696
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8990
|
+
__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
|
|
8697
8991
|
}
|
|
8698
8992
|
}))
|
|
8699
8993
|
// <DescriptionContent
|
|
@@ -11467,7 +11761,7 @@ styleInject(css_248z$G);
|
|
|
11467
11761
|
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; }
|
|
11468
11762
|
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(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; }
|
|
11469
11763
|
var Checkout = function Checkout(props) {
|
|
11470
|
-
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1,
|
|
11764
|
+
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;
|
|
11471
11765
|
var _useState = useState(null),
|
|
11472
11766
|
_useState2 = _slicedToArray(_useState, 2);
|
|
11473
11767
|
_useState2[0];
|
|
@@ -12024,7 +12318,7 @@ var Checkout = function Checkout(props) {
|
|
|
12024
12318
|
return isloading;
|
|
12025
12319
|
};
|
|
12026
12320
|
var Mycart = function Mycart() {
|
|
12027
|
-
var _fetchcustomercartQue34,
|
|
12321
|
+
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;
|
|
12028
12322
|
return /*#__PURE__*/React.createElement("div", {
|
|
12029
12323
|
className: "row m-0 w-100 mb-md-3"
|
|
12030
12324
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -12049,119 +12343,133 @@ var Checkout = function Checkout(props) {
|
|
|
12049
12343
|
className: "row m-0 w-100"
|
|
12050
12344
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12051
12345
|
className: "col-lg-12 p-0"
|
|
12052
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.
|
|
12346
|
+
}, 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) {
|
|
12347
|
+
var _fetchcustomercartQue35;
|
|
12053
12348
|
if (item.product_extrafields != null) {
|
|
12054
12349
|
var product_extrafields = JSON.parse(item.product_extrafields);
|
|
12055
12350
|
// var product_extrafields_parsed = JSON.stringify(product_extrafields);
|
|
12056
12351
|
// alert(product_extrafields_parsed);
|
|
12057
12352
|
}
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
}
|
|
12065
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
12066
|
-
className: "row m-0 w-100 d-flex"
|
|
12067
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
12068
|
-
className: "".concat(checkoutstyles.imagecont)
|
|
12069
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
12070
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
12071
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
12072
|
-
path: item.productinfo.hasvariants == 0 ? item.productinfo.productmainimage : item.productinfo.variantinfo.variantimageurl,
|
|
12073
|
-
style: {
|
|
12074
|
-
width: '100%',
|
|
12075
|
-
height: '100%',
|
|
12076
|
-
objectFit: 'contain'
|
|
12077
|
-
},
|
|
12078
|
-
loading: "lazy"
|
|
12079
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
12080
|
-
className: "col-lg-7 col-md-7 col-sm-7"
|
|
12081
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
12082
|
-
className: "row m-0 w-100"
|
|
12083
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
12084
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start"
|
|
12085
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
12086
|
-
className: "".concat(checkoutstyles.productNameStyles) + ' m-0 p-0 w-100 ',
|
|
12087
|
-
style: {
|
|
12088
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12089
|
-
}
|
|
12090
|
-
}, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), sectionproperties.producttype == 'Product' && sectionproperties.showquantity == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
12091
|
-
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
12092
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
12093
|
-
className: "m-0 p-0 font-weight-500 w-100",
|
|
12094
|
-
style: {
|
|
12095
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
12096
|
-
color: sectionproperties.prodNameColor
|
|
12353
|
+
var extras_for_product = [];
|
|
12354
|
+
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) {
|
|
12355
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
12356
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (item === null || item === void 0 ? void 0 : item.productid)) {
|
|
12357
|
+
extras_for_product.push(cartitem_in);
|
|
12358
|
+
}
|
|
12097
12359
|
}
|
|
12098
|
-
}
|
|
12099
|
-
|
|
12100
|
-
}, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
|
|
12360
|
+
});
|
|
12361
|
+
if (item.item_type != 'Extras') {
|
|
12101
12362
|
return /*#__PURE__*/React.createElement("div", {
|
|
12102
|
-
|
|
12363
|
+
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',
|
|
12364
|
+
style: {
|
|
12365
|
+
background: sectionproperties.summary_sectionbgcolor,
|
|
12366
|
+
borderRadius: sectionproperties.summary_sectionborderradius + 'px',
|
|
12367
|
+
border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor
|
|
12368
|
+
}
|
|
12369
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
12370
|
+
className: "row m-0 w-100 d-flex"
|
|
12103
12371
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12104
|
-
className: "
|
|
12372
|
+
className: "".concat(checkoutstyles.imagecont)
|
|
12373
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
12374
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
12375
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
12376
|
+
path: item.productinfo.hasvariants == 0 ? item.productinfo.productmainimage : item.productinfo.variantinfo.variantimageurl,
|
|
12105
12377
|
style: {
|
|
12106
|
-
|
|
12378
|
+
width: '100%',
|
|
12379
|
+
height: '100%',
|
|
12380
|
+
objectFit: 'contain'
|
|
12381
|
+
},
|
|
12382
|
+
loading: "lazy"
|
|
12383
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
12384
|
+
className: "col-lg-7 col-md-7 col-sm-7"
|
|
12385
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
12386
|
+
className: "row m-0 w-100"
|
|
12387
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
12388
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start"
|
|
12389
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
12390
|
+
className: "".concat(checkoutstyles.productNameStyles) + ' m-0 p-0 w-100 ',
|
|
12391
|
+
style: {
|
|
12392
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12107
12393
|
}
|
|
12394
|
+
}, 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) {
|
|
12395
|
+
var _extraitem$productinf;
|
|
12396
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.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));
|
|
12397
|
+
}), sectionproperties.producttype == 'Product' && sectionproperties.showquantity == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
12398
|
+
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
12108
12399
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12109
|
-
className:
|
|
12110
|
-
}, variantitem.optionname, ":"), /*#__PURE__*/React.createElement("p", {
|
|
12111
|
-
className: ' text-capitalize font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
|
|
12112
|
-
}, (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)));
|
|
12113
|
-
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
12114
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
12115
|
-
"class": "row m-0 w-100"
|
|
12116
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
12117
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
12400
|
+
className: "m-0 p-0 font-weight-500 w-100",
|
|
12118
12401
|
style: {
|
|
12402
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
12119
12403
|
color: sectionproperties.prodNameColor
|
|
12120
12404
|
}
|
|
12405
|
+
}, lang.qty, ": ", item.quantity)), /*#__PURE__*/React.createElement("div", {
|
|
12406
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2 flex-column p-0"
|
|
12407
|
+
}, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
|
|
12408
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
12409
|
+
"class": "row m-0 w-100"
|
|
12410
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
12411
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
12412
|
+
style: {
|
|
12413
|
+
color: sectionproperties.prodNameColor
|
|
12414
|
+
}
|
|
12415
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
12416
|
+
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
12417
|
+
}, variantitem.optionname, ":"), /*#__PURE__*/React.createElement("p", {
|
|
12418
|
+
className: ' text-capitalize font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
|
|
12419
|
+
}, (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)));
|
|
12420
|
+
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
12421
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
12422
|
+
"class": "row m-0 w-100"
|
|
12423
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
12424
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex",
|
|
12425
|
+
style: {
|
|
12426
|
+
color: sectionproperties.prodNameColor
|
|
12427
|
+
}
|
|
12428
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
12429
|
+
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
12430
|
+
}, langdetect == 'en' ? extrafielditem.title_en : extrafielditem.title_ar, ":"), /*#__PURE__*/React.createElement("p", {
|
|
12431
|
+
className: ' text-capitalize font-weight-500 font-13 m-0 p-0 ml-1 mr-1 '
|
|
12432
|
+
}, " ", extrafielditem.value)));
|
|
12433
|
+
})))), sectionproperties.prodPriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
12434
|
+
className: "col-lg-3 col-md-3 col-sm-2 p-0"
|
|
12435
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
12436
|
+
className: "row m-0 w-100 h-100"
|
|
12437
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
12438
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end mb-auto"
|
|
12439
|
+
}, item.productinfo.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
|
|
12440
|
+
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
12441
|
+
}, item.productinfo.hassale == 0 && /*#__PURE__*/React.createElement("div", {
|
|
12442
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12121
12443
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12122
|
-
className: '
|
|
12123
|
-
}, langdetect == 'en' ?
|
|
12124
|
-
className:
|
|
12125
|
-
}, "
|
|
12126
|
-
|
|
12127
|
-
|
|
12128
|
-
|
|
12129
|
-
|
|
12130
|
-
|
|
12131
|
-
|
|
12132
|
-
|
|
12133
|
-
|
|
12134
|
-
|
|
12135
|
-
|
|
12136
|
-
|
|
12137
|
-
|
|
12138
|
-
|
|
12139
|
-
|
|
12140
|
-
|
|
12141
|
-
|
|
12142
|
-
|
|
12143
|
-
|
|
12144
|
-
|
|
12145
|
-
|
|
12146
|
-
|
|
12147
|
-
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
}
|
|
12151
|
-
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12152
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
12153
|
-
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
12154
|
-
}, 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.createElement("div", {
|
|
12155
|
-
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
12156
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
12157
|
-
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12158
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
12159
|
-
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 '
|
|
12160
|
-
}, 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.createElement("div", {
|
|
12161
|
-
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12162
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
12163
|
-
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 '
|
|
12164
|
-
}, 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)))))))));
|
|
12444
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
12445
|
+
}, 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.createElement("div", {
|
|
12446
|
+
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
12447
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
12448
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12449
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
12450
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
12451
|
+
}, 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.createElement("div", {
|
|
12452
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12453
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
12454
|
+
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 '
|
|
12455
|
+
}, 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.createElement("div", {
|
|
12456
|
+
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
12457
|
+
}, item.productinfo.variantinfo.hassale == 0 && /*#__PURE__*/React.createElement("div", {
|
|
12458
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12459
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
12460
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
12461
|
+
}, 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.createElement("div", {
|
|
12462
|
+
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
12463
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
12464
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12465
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
12466
|
+
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 '
|
|
12467
|
+
}, 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.createElement("div", {
|
|
12468
|
+
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
12469
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
12470
|
+
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 '
|
|
12471
|
+
}, 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)))))))));
|
|
12472
|
+
}
|
|
12165
12473
|
}), /*#__PURE__*/React.createElement("div", {
|
|
12166
12474
|
"class": "".concat(checkoutstyles.innersection) + ' row m-0 w-100 p-3 '
|
|
12167
12475
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -12178,13 +12486,13 @@ var Checkout = function Checkout(props) {
|
|
|
12178
12486
|
type: "text",
|
|
12179
12487
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12180
12488
|
placeholder: lang.giftcarddicountcode,
|
|
12181
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12489
|
+
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,
|
|
12182
12490
|
onChange: function onChange(event) {
|
|
12183
12491
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
12184
12492
|
cartarr.data.customercart.couponname = event.target.value;
|
|
12185
12493
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
12186
12494
|
},
|
|
12187
|
-
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
12495
|
+
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,
|
|
12188
12496
|
style: {
|
|
12189
12497
|
boxShadow: 'none'
|
|
12190
12498
|
}
|
|
@@ -12193,14 +12501,14 @@ var Checkout = function Checkout(props) {
|
|
|
12193
12501
|
}, /*#__PURE__*/React.createElement("button", {
|
|
12194
12502
|
className: " ".concat(checkoutstyles.applybtnstyles),
|
|
12195
12503
|
onClick: function onClick() {
|
|
12196
|
-
var
|
|
12197
|
-
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
12198
|
-
var
|
|
12504
|
+
var _fetchcustomercartQue38;
|
|
12505
|
+
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue38 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue38 !== void 0 && (_fetchcustomercartQue38 = _fetchcustomercartQue38.data) !== null && _fetchcustomercartQue38 !== void 0 && _fetchcustomercartQue38.customercart.couponexists)) {
|
|
12506
|
+
var _fetchcustomercartQue39, _fetchcustomercartQue40;
|
|
12199
12507
|
var payloadobj = {
|
|
12200
|
-
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12508
|
+
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,
|
|
12201
12509
|
functype: 'add'
|
|
12202
12510
|
};
|
|
12203
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12511
|
+
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) {
|
|
12204
12512
|
ApplyPromoCodeMutationContext.mutate(payloadobj);
|
|
12205
12513
|
} else {
|
|
12206
12514
|
NotificationManager.warning('', langdetect == 'en' ? 'Please Write Your Promo Code' : 'من فضلك اكتب كود الخصم');
|
|
@@ -12215,14 +12523,14 @@ var Checkout = function Checkout(props) {
|
|
|
12215
12523
|
disabled: ApplyPromoCodeMutationContext.isLoading ? true : false
|
|
12216
12524
|
}, /*#__PURE__*/React.createElement("span", {
|
|
12217
12525
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeOutButton) : "".concat(generalstyles.fadeInButton)
|
|
12218
|
-
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
12526
|
+
}, 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.createElement("div", {
|
|
12219
12527
|
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 '
|
|
12220
12528
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
12221
12529
|
color: "#fff",
|
|
12222
12530
|
width: "20px",
|
|
12223
12531
|
height: "20px",
|
|
12224
12532
|
duration: "1s"
|
|
12225
|
-
})))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12533
|
+
})))))), (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.createElement("div", {
|
|
12226
12534
|
className: "row m-0 w-100"
|
|
12227
12535
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12228
12536
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -12232,7 +12540,7 @@ var Checkout = function Checkout(props) {
|
|
|
12232
12540
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
12233
12541
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12234
12542
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
12235
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12543
|
+
}, 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.createElement("div", {
|
|
12236
12544
|
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
12237
12545
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12238
12546
|
style: {
|
|
@@ -12242,7 +12550,7 @@ var Checkout = function Checkout(props) {
|
|
|
12242
12550
|
onClick: function onClick() {
|
|
12243
12551
|
usewalletpoints();
|
|
12244
12552
|
}
|
|
12245
|
-
}, langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12553
|
+
}, 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.createElement("div", {
|
|
12246
12554
|
className: "row m-0 w-100"
|
|
12247
12555
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12248
12556
|
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
@@ -12264,10 +12572,10 @@ var Checkout = function Checkout(props) {
|
|
|
12264
12572
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
12265
12573
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12266
12574
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
12267
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12575
|
+
}, 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.createElement("div", {
|
|
12268
12576
|
className: "row m-0 w-100"
|
|
12269
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12270
|
-
var
|
|
12577
|
+
}, 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) {
|
|
12578
|
+
var _fetchcustomercartQue51;
|
|
12271
12579
|
return /*#__PURE__*/React.createElement("div", {
|
|
12272
12580
|
"class": "col-lg-12 p-0"
|
|
12273
12581
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -12286,8 +12594,8 @@ var Checkout = function Checkout(props) {
|
|
|
12286
12594
|
style: {
|
|
12287
12595
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
12288
12596
|
}
|
|
12289
|
-
}, item.addsubtype == 'subtract' && /*#__PURE__*/React.createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React.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.createElement("span", null, item.value, "% (", langdetect == 'en' ? authdetailsContext.currencyname_en : '', ' ', (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12290
|
-
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12597
|
+
}, item.addsubtype == 'subtract' && /*#__PURE__*/React.createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React.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.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 : '', ")")))));
|
|
12598
|
+
}))), (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.createElement("div", {
|
|
12291
12599
|
className: "row m-0 w-100"
|
|
12292
12600
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12293
12601
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -12300,7 +12608,7 @@ var Checkout = function Checkout(props) {
|
|
|
12300
12608
|
style: {
|
|
12301
12609
|
color: 'red'
|
|
12302
12610
|
}
|
|
12303
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12611
|
+
}, 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.createElement("div", {
|
|
12304
12612
|
className: "col-lg-12 p-0 mb-1"
|
|
12305
12613
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12306
12614
|
className: "row m-0 w-100"
|
|
@@ -12312,7 +12620,7 @@ var Checkout = function Checkout(props) {
|
|
|
12312
12620
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
12313
12621
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12314
12622
|
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 '
|
|
12315
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12623
|
+
}, (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.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.createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
12316
12624
|
className: "col-lg-12 p-0"
|
|
12317
12625
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12318
12626
|
className: "row m-0 w-100"
|
|
@@ -12320,11 +12628,11 @@ var Checkout = function Checkout(props) {
|
|
|
12320
12628
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
12321
12629
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12322
12630
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
12323
|
-
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12631
|
+
}, 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.createElement("div", {
|
|
12324
12632
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
12325
12633
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12326
12634
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
12327
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12635
|
+
}, 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.createElement("div", {
|
|
12328
12636
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
12329
12637
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12330
12638
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -12363,7 +12671,7 @@ var Checkout = function Checkout(props) {
|
|
|
12363
12671
|
textTransform: sectionproperties.total_texttransform,
|
|
12364
12672
|
color: sectionproperties.total_color
|
|
12365
12673
|
}
|
|
12366
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12674
|
+
}, 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.createElement("div", {
|
|
12367
12675
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
12368
12676
|
style: {
|
|
12369
12677
|
background: '#eee',
|
|
@@ -12398,7 +12706,7 @@ var Checkout = function Checkout(props) {
|
|
|
12398
12706
|
width: "20px",
|
|
12399
12707
|
height: "20px",
|
|
12400
12708
|
duration: "1s"
|
|
12401
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12709
|
+
}), !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.createElement("button", {
|
|
12402
12710
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
12403
12711
|
onClick: function onClick() {
|
|
12404
12712
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -12412,7 +12720,7 @@ var Checkout = function Checkout(props) {
|
|
|
12412
12720
|
width: "20px",
|
|
12413
12721
|
height: "20px",
|
|
12414
12722
|
duration: "1s"
|
|
12415
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12723
|
+
}), !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.createElement("div", {
|
|
12416
12724
|
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
12417
12725
|
style: {
|
|
12418
12726
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
@@ -12584,7 +12892,7 @@ var Checkout = function Checkout(props) {
|
|
|
12584
12892
|
}, "*")), /*#__PURE__*/React.createElement("input", {
|
|
12585
12893
|
type: 'text',
|
|
12586
12894
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12587
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12895
|
+
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,
|
|
12588
12896
|
onChange: function onChange(event) {
|
|
12589
12897
|
cartinfoupdater('name', event.target.value);
|
|
12590
12898
|
},
|
|
@@ -12604,7 +12912,7 @@ var Checkout = function Checkout(props) {
|
|
|
12604
12912
|
}, "*")), /*#__PURE__*/React.createElement("input", {
|
|
12605
12913
|
type: 'text',
|
|
12606
12914
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12607
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12915
|
+
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,
|
|
12608
12916
|
onChange: function onChange(event) {
|
|
12609
12917
|
var onlyNumbers = event.target.value.replace(/\D/g, ''); // remove non-digits
|
|
12610
12918
|
cartinfoupdater('mobile', onlyNumbers);
|
|
@@ -12634,7 +12942,7 @@ var Checkout = function Checkout(props) {
|
|
|
12634
12942
|
}, langdetect == 'en' ? 'Optional' : 'اختياري'), ' '), /*#__PURE__*/React.createElement("input", {
|
|
12635
12943
|
type: 'text',
|
|
12636
12944
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12637
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12945
|
+
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,
|
|
12638
12946
|
onChange: function onChange(event) {
|
|
12639
12947
|
cartinfoupdater('email', event.target.value);
|
|
12640
12948
|
},
|
|
@@ -12687,8 +12995,8 @@ var Checkout = function Checkout(props) {
|
|
|
12687
12995
|
return option.id;
|
|
12688
12996
|
},
|
|
12689
12997
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
12690
|
-
var
|
|
12691
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12998
|
+
var _fetchcustomercartQue70;
|
|
12999
|
+
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);
|
|
12692
13000
|
}),
|
|
12693
13001
|
onChange: function onChange(option) {
|
|
12694
13002
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2v({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -12742,12 +13050,12 @@ var Checkout = function Checkout(props) {
|
|
|
12742
13050
|
return option.id;
|
|
12743
13051
|
},
|
|
12744
13052
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
12745
|
-
var
|
|
12746
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13053
|
+
var _fetchcustomercartQue71;
|
|
13054
|
+
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);
|
|
12747
13055
|
}),
|
|
12748
13056
|
onChange: function onChange(option) {
|
|
12749
|
-
var
|
|
12750
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13057
|
+
var _fetchcustomercartQue72;
|
|
13058
|
+
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) {
|
|
12751
13059
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2v({}, FetchTabexStatesPayloadobjContext);
|
|
12752
13060
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
12753
13061
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -12799,13 +13107,13 @@ var Checkout = function Checkout(props) {
|
|
|
12799
13107
|
return option.id;
|
|
12800
13108
|
},
|
|
12801
13109
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
12802
|
-
var
|
|
12803
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13110
|
+
var _fetchcustomercartQue73;
|
|
13111
|
+
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);
|
|
12804
13112
|
}),
|
|
12805
13113
|
onChange: function onChange(option) {
|
|
12806
|
-
var
|
|
13114
|
+
var _fetchcustomercartQue74;
|
|
12807
13115
|
cartinfoupdater('cityid', option.id);
|
|
12808
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13116
|
+
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) {
|
|
12809
13117
|
setshowpopup(true);
|
|
12810
13118
|
}
|
|
12811
13119
|
},
|
|
@@ -12824,7 +13132,7 @@ var Checkout = function Checkout(props) {
|
|
|
12824
13132
|
}, "*")), /*#__PURE__*/React.createElement(TextareaAutosize, {
|
|
12825
13133
|
type: 'text',
|
|
12826
13134
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12827
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13135
|
+
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,
|
|
12828
13136
|
onChange: function onChange(event) {
|
|
12829
13137
|
cartinfoupdater('address', event.target.value);
|
|
12830
13138
|
},
|
|
@@ -12839,7 +13147,7 @@ var Checkout = function Checkout(props) {
|
|
|
12839
13147
|
}, langdetect == 'en' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React.createElement(TextareaAutosize, {
|
|
12840
13148
|
type: 'text',
|
|
12841
13149
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12842
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13150
|
+
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,
|
|
12843
13151
|
onChange: function onChange(event) {
|
|
12844
13152
|
cartinfoupdater('notes', event.target.value);
|
|
12845
13153
|
},
|
|
@@ -12854,7 +13162,7 @@ var Checkout = function Checkout(props) {
|
|
|
12854
13162
|
}, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React.createElement("input", {
|
|
12855
13163
|
type: 'number',
|
|
12856
13164
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
12857
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13165
|
+
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,
|
|
12858
13166
|
onChange: function onChange(event) {
|
|
12859
13167
|
cartinfoupdater('aff_code', event.target.value);
|
|
12860
13168
|
},
|
|
@@ -12888,7 +13196,7 @@ var Checkout = function Checkout(props) {
|
|
|
12888
13196
|
onChange: function onChange(event) {
|
|
12889
13197
|
cartinfoupdater('shippingmethod_id', event.target.value);
|
|
12890
13198
|
},
|
|
12891
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13199
|
+
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
|
|
12892
13200
|
}, /*#__PURE__*/React.createElement("option", {
|
|
12893
13201
|
value: null
|
|
12894
13202
|
}, langdetect == 'en' ? 'Choose Shipping Method' : 'الشحن اخنر طريقة'), shippingmethods === null || shippingmethods === void 0 ? void 0 : shippingmethods.map(function (item, index) {
|
|
@@ -12985,10 +13293,10 @@ var Checkout = function Checkout(props) {
|
|
|
12985
13293
|
id: 'codcheckbox',
|
|
12986
13294
|
type: "checkbox",
|
|
12987
13295
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12988
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13296
|
+
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,
|
|
12989
13297
|
onChange: function onChange() {
|
|
12990
|
-
var
|
|
12991
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13298
|
+
var _fetchcustomercartQue80;
|
|
13299
|
+
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') {
|
|
12992
13300
|
cartinfoupdater('paymentmethod', 'cod');
|
|
12993
13301
|
setinstapaychosen(false);
|
|
12994
13302
|
}
|
|
@@ -13012,10 +13320,10 @@ var Checkout = function Checkout(props) {
|
|
|
13012
13320
|
id: 'codcheckbox',
|
|
13013
13321
|
type: "checkbox",
|
|
13014
13322
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13015
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13323
|
+
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,
|
|
13016
13324
|
onChange: function onChange() {
|
|
13017
|
-
var
|
|
13018
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13325
|
+
var _fetchcustomercartQue82;
|
|
13326
|
+
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') {
|
|
13019
13327
|
cartinfoupdater('paymentmethod', 'instapay');
|
|
13020
13328
|
setinstapaychosen(true);
|
|
13021
13329
|
// alert('1');
|
|
@@ -13038,10 +13346,10 @@ var Checkout = function Checkout(props) {
|
|
|
13038
13346
|
}, /*#__PURE__*/React.createElement("input", {
|
|
13039
13347
|
type: "checkbox",
|
|
13040
13348
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13041
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13349
|
+
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,
|
|
13042
13350
|
onChange: function onChange() {
|
|
13043
|
-
var
|
|
13044
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13351
|
+
var _fetchcustomercartQue84;
|
|
13352
|
+
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') {
|
|
13045
13353
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
13046
13354
|
setinstapaychosen(false);
|
|
13047
13355
|
}
|
|
@@ -13060,10 +13368,10 @@ var Checkout = function Checkout(props) {
|
|
|
13060
13368
|
}, /*#__PURE__*/React.createElement("input", {
|
|
13061
13369
|
type: "checkbox",
|
|
13062
13370
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13063
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13371
|
+
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,
|
|
13064
13372
|
onChange: function onChange() {
|
|
13065
|
-
var
|
|
13066
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13373
|
+
var _fetchcustomercartQue86;
|
|
13374
|
+
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') {
|
|
13067
13375
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
13068
13376
|
setinstapaychosen(false);
|
|
13069
13377
|
}
|
|
@@ -13082,10 +13390,10 @@ var Checkout = function Checkout(props) {
|
|
|
13082
13390
|
}, /*#__PURE__*/React.createElement("input", {
|
|
13083
13391
|
type: "checkbox",
|
|
13084
13392
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13085
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13393
|
+
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,
|
|
13086
13394
|
onChange: function onChange() {
|
|
13087
|
-
var
|
|
13088
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13395
|
+
var _fetchcustomercartQue88;
|
|
13396
|
+
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') {
|
|
13089
13397
|
cartinfoupdater('paymentmethod', 'valU');
|
|
13090
13398
|
setinstapaychosen(false);
|
|
13091
13399
|
}
|
|
@@ -13104,10 +13412,10 @@ var Checkout = function Checkout(props) {
|
|
|
13104
13412
|
}, /*#__PURE__*/React.createElement("input", {
|
|
13105
13413
|
type: "checkbox",
|
|
13106
13414
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13107
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13415
|
+
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,
|
|
13108
13416
|
onChange: function onChange() {
|
|
13109
|
-
var
|
|
13110
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13417
|
+
var _fetchcustomercartQue90;
|
|
13418
|
+
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') {
|
|
13111
13419
|
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
13112
13420
|
setinstapaychosen(false);
|
|
13113
13421
|
}
|
|
@@ -13126,10 +13434,10 @@ var Checkout = function Checkout(props) {
|
|
|
13126
13434
|
}, /*#__PURE__*/React.createElement("input", {
|
|
13127
13435
|
type: "checkbox",
|
|
13128
13436
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13129
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13437
|
+
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,
|
|
13130
13438
|
onChange: function onChange() {
|
|
13131
|
-
var
|
|
13132
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13439
|
+
var _fetchcustomercartQue92;
|
|
13440
|
+
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') {
|
|
13133
13441
|
cartinfoupdater('paymentmethod', 'forsa');
|
|
13134
13442
|
setinstapaychosen(false);
|
|
13135
13443
|
}
|
|
@@ -13148,10 +13456,10 @@ var Checkout = function Checkout(props) {
|
|
|
13148
13456
|
}, /*#__PURE__*/React.createElement("input", {
|
|
13149
13457
|
type: "checkbox",
|
|
13150
13458
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13151
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13459
|
+
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,
|
|
13152
13460
|
onChange: function onChange() {
|
|
13153
|
-
var
|
|
13154
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13461
|
+
var _fetchcustomercartQue94;
|
|
13462
|
+
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') {
|
|
13155
13463
|
cartinfoupdater('paymentmethod', 'Souhoola');
|
|
13156
13464
|
setinstapaychosen(false);
|
|
13157
13465
|
}
|
|
@@ -13170,10 +13478,10 @@ var Checkout = function Checkout(props) {
|
|
|
13170
13478
|
}, /*#__PURE__*/React.createElement("input", {
|
|
13171
13479
|
type: "checkbox",
|
|
13172
13480
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13173
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13481
|
+
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,
|
|
13174
13482
|
onChange: function onChange() {
|
|
13175
|
-
var
|
|
13176
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13483
|
+
var _fetchcustomercartQue96;
|
|
13484
|
+
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') {
|
|
13177
13485
|
cartinfoupdater('paymentmethod', 'paypal');
|
|
13178
13486
|
setinstapaychosen(false);
|
|
13179
13487
|
}
|
|
@@ -13192,10 +13500,10 @@ var Checkout = function Checkout(props) {
|
|
|
13192
13500
|
}, /*#__PURE__*/React.createElement("input", {
|
|
13193
13501
|
type: "checkbox",
|
|
13194
13502
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13195
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13503
|
+
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,
|
|
13196
13504
|
onChange: function onChange() {
|
|
13197
|
-
var
|
|
13198
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13505
|
+
var _fetchcustomercartQue98;
|
|
13506
|
+
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') {
|
|
13199
13507
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
13200
13508
|
setinstapaychosen(false);
|
|
13201
13509
|
}
|
|
@@ -13214,10 +13522,10 @@ var Checkout = function Checkout(props) {
|
|
|
13214
13522
|
}, /*#__PURE__*/React.createElement("input", {
|
|
13215
13523
|
type: "checkbox",
|
|
13216
13524
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
13217
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13525
|
+
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,
|
|
13218
13526
|
onChange: function onChange() {
|
|
13219
|
-
var
|
|
13220
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13527
|
+
var _fetchcustomercartQue100;
|
|
13528
|
+
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') {
|
|
13221
13529
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
13222
13530
|
setinstapaychosen(false);
|
|
13223
13531
|
}
|
|
@@ -13239,7 +13547,7 @@ var Checkout = function Checkout(props) {
|
|
|
13239
13547
|
dangerouslySetInnerHTML: {
|
|
13240
13548
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
13241
13549
|
}
|
|
13242
|
-
}))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13550
|
+
}))))), (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.createElement("div", {
|
|
13243
13551
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
13244
13552
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13245
13553
|
style: {
|
|
@@ -13379,7 +13687,7 @@ var Checkout = function Checkout(props) {
|
|
|
13379
13687
|
color: '#000',
|
|
13380
13688
|
textAlign: 'center'
|
|
13381
13689
|
}
|
|
13382
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13690
|
+
}, 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.createElement(Modal.Footer, null)));
|
|
13383
13691
|
};
|
|
13384
13692
|
|
|
13385
13693
|
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; }
|
|
@@ -15886,7 +16194,7 @@ styleInject(css_248z$E);
|
|
|
15886
16194
|
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; }
|
|
15887
16195
|
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(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; }
|
|
15888
16196
|
var CartSlider = function CartSlider(props) {
|
|
15889
|
-
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8,
|
|
16197
|
+
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue1, _fetchcustomercartQue10, _authdetailsContext$i2, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14;
|
|
15890
16198
|
var lang = props.actions.lang;
|
|
15891
16199
|
var langdetect = props.actions.langdetect;
|
|
15892
16200
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -16315,277 +16623,291 @@ var CartSlider = function CartSlider(props) {
|
|
|
16315
16623
|
animationDuration: '.7s'
|
|
16316
16624
|
}
|
|
16317
16625
|
}, 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) {
|
|
16318
|
-
var
|
|
16626
|
+
var _fetchcustomercartQue9;
|
|
16319
16627
|
if (item.product_extrafields != null) {
|
|
16320
16628
|
var product_extrafields = JSON.parse(item.product_extrafields);
|
|
16321
16629
|
// var product_extrafields_parsed = JSON.stringify(product_extrafields);
|
|
16322
16630
|
// alert(product_extrafields_parsed);
|
|
16323
16631
|
}
|
|
16324
|
-
|
|
16325
|
-
|
|
16326
|
-
|
|
16327
|
-
|
|
16328
|
-
|
|
16329
|
-
|
|
16330
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
16331
|
-
className: cart_cssstyles.imagecont + ' mb-auto '
|
|
16332
|
-
}, item.productinfo.hasvariants == 0 && item.productinfo.productmainimage != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
16333
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
16334
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
16335
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.productmainimage,
|
|
16336
|
-
loading: "lazy",
|
|
16337
|
-
style: {
|
|
16338
|
-
height: '90%',
|
|
16339
|
-
width: '90%',
|
|
16340
|
-
objectFit: 'contain',
|
|
16341
|
-
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
16342
|
-
}
|
|
16343
|
-
}), item.productinfo.hasvariants == 0 && item.productinfo.productmainimage == '' && /*#__PURE__*/React.createElement("div", {
|
|
16344
|
-
style: {
|
|
16345
|
-
width: '100%',
|
|
16346
|
-
height: '100%',
|
|
16347
|
-
background: '#eee',
|
|
16348
|
-
borderRadius: 10
|
|
16349
|
-
}
|
|
16350
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
16351
|
-
"class": "h-100 allcentered text-light"
|
|
16352
|
-
}, /*#__PURE__*/React.createElement(FiLayers, {
|
|
16353
|
-
size: 26
|
|
16354
|
-
}))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl == '' && /*#__PURE__*/React.createElement("div", {
|
|
16355
|
-
style: {
|
|
16356
|
-
width: '100%',
|
|
16357
|
-
height: '100%',
|
|
16358
|
-
background: '#eee',
|
|
16359
|
-
borderRadius: 10
|
|
16360
|
-
}
|
|
16361
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
16362
|
-
"class": "h-100 allcentered text-light"
|
|
16363
|
-
}, /*#__PURE__*/React.createElement(FiLayers, {
|
|
16364
|
-
size: 26
|
|
16365
|
-
}))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
16366
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
16367
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
16368
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.variantinfo.variantimageurl,
|
|
16369
|
-
loading: "lazy",
|
|
16370
|
-
style: {
|
|
16371
|
-
height: '90%',
|
|
16372
|
-
width: '90%',
|
|
16373
|
-
objectFit: 'contain',
|
|
16374
|
-
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
16375
|
-
}
|
|
16376
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
16377
|
-
className: "col-lg-8 col-md-8 col-sm-8 pl-2"
|
|
16378
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
16379
|
-
className: "row m-0 w-100"
|
|
16380
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
16381
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16382
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
16383
|
-
className: "".concat(cart_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex align-items-start ',
|
|
16384
|
-
style: {
|
|
16385
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16386
|
-
},
|
|
16387
|
-
onClick: function onClick() {
|
|
16388
|
-
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
16389
|
-
setOpenCloseCartSlider(false);
|
|
16390
|
-
setsidecartnavshowWorkplaceDesigncontext(false);
|
|
16391
|
-
setsidecartnavshowcontext(false);
|
|
16632
|
+
var extras_for_product = [];
|
|
16633
|
+
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) {
|
|
16634
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
16635
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (item === null || item === void 0 ? void 0 : item.productid)) {
|
|
16636
|
+
extras_for_product.push(cartitem_in);
|
|
16637
|
+
}
|
|
16392
16638
|
}
|
|
16393
|
-
}
|
|
16394
|
-
|
|
16395
|
-
|
|
16639
|
+
});
|
|
16640
|
+
if (item.item_type != 'Extras') {
|
|
16641
|
+
var _item$productinfo, _item$variantoptions, _fetchcustomercartQue0;
|
|
16396
16642
|
return /*#__PURE__*/React.createElement("div", {
|
|
16397
|
-
className: "col-lg-12
|
|
16643
|
+
className: "col-lg-12 mb-3 p-0"
|
|
16398
16644
|
}, /*#__PURE__*/React.createElement("div", {
|
|
16399
|
-
|
|
16400
|
-
style: {
|
|
16401
|
-
color: sectionproperties.prodNameColor
|
|
16402
|
-
}
|
|
16645
|
+
className: "row w-100 m-0"
|
|
16403
16646
|
}, /*#__PURE__*/React.createElement("div", {
|
|
16404
|
-
className:
|
|
16405
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
16406
|
-
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
16407
|
-
}, variantitem.optionname, ":"), /*#__PURE__*/React.createElement("p", {
|
|
16408
|
-
className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
|
|
16409
|
-
}, (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))));
|
|
16410
|
-
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
16411
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
16412
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16647
|
+
className: 'col-lg-4 col-md-4 col-sm-4 p-0'
|
|
16413
16648
|
}, /*#__PURE__*/React.createElement("div", {
|
|
16414
|
-
|
|
16649
|
+
className: cart_cssstyles.imagecont + ' mb-auto '
|
|
16650
|
+
}, item.productinfo.hasvariants == 0 && item.productinfo.productmainimage != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
16651
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
16652
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
16653
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.productmainimage,
|
|
16654
|
+
loading: "lazy",
|
|
16655
|
+
style: {
|
|
16656
|
+
height: '90%',
|
|
16657
|
+
width: '90%',
|
|
16658
|
+
objectFit: 'contain',
|
|
16659
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
16660
|
+
}
|
|
16661
|
+
}), item.productinfo.hasvariants == 0 && item.productinfo.productmainimage == '' && /*#__PURE__*/React.createElement("div", {
|
|
16662
|
+
style: {
|
|
16663
|
+
width: '100%',
|
|
16664
|
+
height: '100%',
|
|
16665
|
+
background: '#eee',
|
|
16666
|
+
borderRadius: 10
|
|
16667
|
+
}
|
|
16668
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
16669
|
+
"class": "h-100 allcentered text-light"
|
|
16670
|
+
}, /*#__PURE__*/React.createElement(FiLayers, {
|
|
16671
|
+
size: 26
|
|
16672
|
+
}))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl == '' && /*#__PURE__*/React.createElement("div", {
|
|
16673
|
+
style: {
|
|
16674
|
+
width: '100%',
|
|
16675
|
+
height: '100%',
|
|
16676
|
+
background: '#eee',
|
|
16677
|
+
borderRadius: 10
|
|
16678
|
+
}
|
|
16679
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
16680
|
+
"class": "h-100 allcentered text-light"
|
|
16681
|
+
}, /*#__PURE__*/React.createElement(FiLayers, {
|
|
16682
|
+
size: 26
|
|
16683
|
+
}))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
16684
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
16685
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
16686
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.variantinfo.variantimageurl,
|
|
16687
|
+
loading: "lazy",
|
|
16415
16688
|
style: {
|
|
16416
|
-
|
|
16689
|
+
height: '90%',
|
|
16690
|
+
width: '90%',
|
|
16691
|
+
objectFit: 'contain',
|
|
16692
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
16417
16693
|
}
|
|
16694
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
16695
|
+
className: "col-lg-8 col-md-8 col-sm-8 pl-2"
|
|
16696
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16697
|
+
className: "row m-0 w-100"
|
|
16418
16698
|
}, /*#__PURE__*/React.createElement("div", {
|
|
16419
16699
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16420
16700
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16421
|
-
className: '
|
|
16422
|
-
|
|
16423
|
-
|
|
16424
|
-
|
|
16425
|
-
|
|
16426
|
-
|
|
16427
|
-
|
|
16428
|
-
|
|
16429
|
-
|
|
16430
|
-
|
|
16431
|
-
|
|
16432
|
-
|
|
16433
|
-
|
|
16434
|
-
|
|
16435
|
-
|
|
16436
|
-
|
|
16437
|
-
|
|
16438
|
-
|
|
16439
|
-
|
|
16701
|
+
className: "".concat(cart_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex align-items-start ',
|
|
16702
|
+
style: {
|
|
16703
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16704
|
+
},
|
|
16705
|
+
onClick: function onClick() {
|
|
16706
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
16707
|
+
setOpenCloseCartSlider(false);
|
|
16708
|
+
setsidecartnavshowWorkplaceDesigncontext(false);
|
|
16709
|
+
setsidecartnavshowcontext(false);
|
|
16710
|
+
}
|
|
16711
|
+
}, 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) {
|
|
16712
|
+
var _extraitem$productinf;
|
|
16713
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.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));
|
|
16714
|
+
}), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
16715
|
+
className: "".concat(cart_cssstyles.productPricestyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex mt-1 '
|
|
16716
|
+
}, 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) {
|
|
16717
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
16718
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16719
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16720
|
+
"class": "row m-0 w-100",
|
|
16721
|
+
style: {
|
|
16722
|
+
color: sectionproperties.prodNameColor
|
|
16723
|
+
}
|
|
16724
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16725
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16726
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16727
|
+
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
16728
|
+
}, variantitem.optionname, ":"), /*#__PURE__*/React.createElement("p", {
|
|
16729
|
+
className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
|
|
16730
|
+
}, (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))));
|
|
16731
|
+
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
16732
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
16733
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16734
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16735
|
+
"class": "row m-0 w-100",
|
|
16736
|
+
style: {
|
|
16737
|
+
color: sectionproperties.prodNameColor
|
|
16738
|
+
}
|
|
16739
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16740
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16741
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16742
|
+
className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
16743
|
+
}, langdetect == 'en' ? extrafielditem.title_en : extrafielditem.title_ar, ":"), /*#__PURE__*/React.createElement("p", {
|
|
16744
|
+
className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
|
|
16745
|
+
}, extrafielditem.value))));
|
|
16746
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
16747
|
+
"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'
|
|
16748
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16749
|
+
"class": "row m-0 w-100"
|
|
16750
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16751
|
+
"class": "col-9 p-0 d-flex justify-content-start align-items-center"
|
|
16752
|
+
}, item.productinfo.item_type == 'product' && item.productinfo.isproducthasquantitychange == 1 && /*#__PURE__*/React.createElement("button", {
|
|
16753
|
+
className: " ".concat(cart_cssstyles.quantitybtn) + ' px-2 d-flex align-items-center justify-content-center '
|
|
16754
|
+
}, langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
|
|
16755
|
+
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
16756
|
+
onClick: function onClick() {
|
|
16757
|
+
var _item$productinfo2, _item$productinfo3, _item$productinfo4, _item$productinfo5;
|
|
16758
|
+
var quantitystepincrearse = 1;
|
|
16759
|
+
var quantity = parseFloat(item.quantity);
|
|
16760
|
+
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) != '') {
|
|
16761
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16762
|
+
var _item$productinfo6;
|
|
16763
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
|
|
16764
|
+
} else {
|
|
16765
|
+
var _item$productinfo7;
|
|
16766
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse);
|
|
16767
|
+
}
|
|
16768
|
+
}
|
|
16769
|
+
quantity = quantity - quantitystepincrearse;
|
|
16440
16770
|
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16441
|
-
|
|
16442
|
-
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
|
|
16771
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16443
16772
|
} else {
|
|
16444
|
-
|
|
16445
|
-
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse);
|
|
16773
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16446
16774
|
}
|
|
16447
16775
|
}
|
|
16448
|
-
|
|
16449
|
-
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
|
|
16453
|
-
|
|
16454
|
-
|
|
16455
|
-
|
|
16456
|
-
|
|
16457
|
-
|
|
16458
|
-
|
|
16459
|
-
|
|
16460
|
-
|
|
16461
|
-
|
|
16462
|
-
|
|
16463
|
-
|
|
16776
|
+
}, /*#__PURE__*/React.createElement(FiMinus, {
|
|
16777
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
16778
|
+
})), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
16779
|
+
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
16780
|
+
onClick: function onClick() {
|
|
16781
|
+
var _item$productinfo8, _item$productinfo9, _item$productinfo0, _item$productinfo1;
|
|
16782
|
+
var quantitystepincrearse = 1;
|
|
16783
|
+
var quantity = parseFloat(item.quantity);
|
|
16784
|
+
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) != '') {
|
|
16785
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16786
|
+
var _item$productinfo10;
|
|
16787
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse);
|
|
16788
|
+
} else {
|
|
16789
|
+
var _item$productinfo11;
|
|
16790
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
|
|
16791
|
+
}
|
|
16792
|
+
}
|
|
16793
|
+
quantity = quantity + quantitystepincrearse;
|
|
16464
16794
|
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16465
|
-
|
|
16466
|
-
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse);
|
|
16795
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16467
16796
|
} else {
|
|
16468
|
-
|
|
16469
|
-
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
|
|
16797
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16470
16798
|
}
|
|
16471
16799
|
}
|
|
16472
|
-
|
|
16473
|
-
|
|
16474
|
-
|
|
16475
|
-
|
|
16476
|
-
|
|
16800
|
+
}, /*#__PURE__*/React.createElement(FiPlus, {
|
|
16801
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
16802
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
16803
|
+
className: "".concat(cart_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
16804
|
+
style: {
|
|
16805
|
+
background: 'transparent'
|
|
16477
16806
|
}
|
|
16478
|
-
}
|
|
16479
|
-
|
|
16480
|
-
|
|
16481
|
-
|
|
16482
|
-
|
|
16483
|
-
|
|
16484
|
-
|
|
16485
|
-
|
|
16486
|
-
|
|
16487
|
-
|
|
16488
|
-
|
|
16489
|
-
|
|
16490
|
-
|
|
16491
|
-
|
|
16492
|
-
|
|
16807
|
+
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
|
|
16808
|
+
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
16809
|
+
onClick: function onClick() {
|
|
16810
|
+
var _item$productinfo12, _item$productinfo13, _item$productinfo14, _item$productinfo15;
|
|
16811
|
+
var quantitystepincrearse = 1;
|
|
16812
|
+
var quantity = parseFloat(item.quantity);
|
|
16813
|
+
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) != '') {
|
|
16814
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16815
|
+
var _item$productinfo16;
|
|
16816
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
|
|
16817
|
+
} else {
|
|
16818
|
+
var _item$productinfo17;
|
|
16819
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse);
|
|
16820
|
+
}
|
|
16821
|
+
}
|
|
16822
|
+
quantity = quantity + quantitystepincrearse;
|
|
16493
16823
|
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16494
|
-
|
|
16495
|
-
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
|
|
16824
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16496
16825
|
} else {
|
|
16497
|
-
|
|
16498
|
-
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse);
|
|
16826
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16499
16827
|
}
|
|
16500
16828
|
}
|
|
16501
|
-
|
|
16502
|
-
|
|
16503
|
-
|
|
16504
|
-
|
|
16505
|
-
|
|
16506
|
-
|
|
16507
|
-
|
|
16508
|
-
|
|
16509
|
-
|
|
16510
|
-
|
|
16511
|
-
|
|
16512
|
-
|
|
16513
|
-
|
|
16514
|
-
|
|
16515
|
-
|
|
16516
|
-
|
|
16829
|
+
}, /*#__PURE__*/React.createElement(FiPlus, {
|
|
16830
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
16831
|
+
})), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
16832
|
+
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
16833
|
+
onClick: function onClick() {
|
|
16834
|
+
var _item$productinfo18, _item$productinfo19, _item$productinfo20, _item$productinfo21;
|
|
16835
|
+
var quantitystepincrearse = 1;
|
|
16836
|
+
var quantity = parseFloat(item.quantity);
|
|
16837
|
+
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) != '') {
|
|
16838
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16839
|
+
var _item$productinfo22;
|
|
16840
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo22 = item.productinfo) === null || _item$productinfo22 === void 0 ? void 0 : _item$productinfo22.quantitystepincrearse);
|
|
16841
|
+
} else {
|
|
16842
|
+
var _item$productinfo23;
|
|
16843
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo23 = item.productinfo) === null || _item$productinfo23 === void 0 ? void 0 : _item$productinfo23.quantitystepincrearse);
|
|
16844
|
+
}
|
|
16845
|
+
}
|
|
16846
|
+
quantity = quantity - quantitystepincrearse;
|
|
16517
16847
|
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16518
|
-
|
|
16519
|
-
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo22 = item.productinfo) === null || _item$productinfo22 === void 0 ? void 0 : _item$productinfo22.quantitystepincrearse);
|
|
16848
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16520
16849
|
} else {
|
|
16521
|
-
|
|
16522
|
-
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo23 = item.productinfo) === null || _item$productinfo23 === void 0 ? void 0 : _item$productinfo23.quantitystepincrearse);
|
|
16850
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16523
16851
|
}
|
|
16524
16852
|
}
|
|
16525
|
-
|
|
16526
|
-
|
|
16527
|
-
|
|
16528
|
-
|
|
16529
|
-
|
|
16853
|
+
}, /*#__PURE__*/React.createElement(FiMinus, {
|
|
16854
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
16855
|
+
}))), item.productinfo.item_type == 'service' && item.reserv_fixeddate != null && /*#__PURE__*/React.createElement("div", {
|
|
16856
|
+
"class": "col-lg-12 p-0 text-start"
|
|
16857
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16858
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-start",
|
|
16859
|
+
style: {
|
|
16860
|
+
color: sectionproperties.quantitybtn_textcolor
|
|
16530
16861
|
}
|
|
16531
|
-
}
|
|
16532
|
-
|
|
16533
|
-
|
|
16534
|
-
|
|
16535
|
-
|
|
16536
|
-
|
|
16537
|
-
|
|
16538
|
-
|
|
16539
|
-
|
|
16540
|
-
}
|
|
16541
|
-
|
|
16542
|
-
|
|
16543
|
-
|
|
16544
|
-
|
|
16545
|
-
|
|
16546
|
-
|
|
16547
|
-
}
|
|
16548
|
-
|
|
16549
|
-
|
|
16550
|
-
|
|
16551
|
-
|
|
16552
|
-
|
|
16553
|
-
|
|
16554
|
-
}
|
|
16555
|
-
|
|
16556
|
-
|
|
16557
|
-
|
|
16558
|
-
|
|
16559
|
-
|
|
16560
|
-
|
|
16561
|
-
}
|
|
16562
|
-
|
|
16563
|
-
|
|
16564
|
-
|
|
16565
|
-
|
|
16566
|
-
|
|
16567
|
-
|
|
16568
|
-
}
|
|
16569
|
-
|
|
16570
|
-
|
|
16571
|
-
|
|
16572
|
-
|
|
16573
|
-
|
|
16574
|
-
|
|
16575
|
-
}
|
|
16576
|
-
|
|
16577
|
-
|
|
16578
|
-
}
|
|
16579
|
-
|
|
16580
|
-
onClick: function onClick() {
|
|
16581
|
-
deletecartitemContext(item);
|
|
16582
|
-
}
|
|
16583
|
-
}, 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.createElement("div", {
|
|
16584
|
-
className: "col-lg-12 mt-3 p-0"
|
|
16585
|
-
}, /*#__PURE__*/React.createElement("hr", {
|
|
16586
|
-
className: "m-0"
|
|
16587
|
-
})));
|
|
16588
|
-
}))))), !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.createElement("div", {
|
|
16862
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16863
|
+
"class": "col-lg-12 p-0 text-start flex-row"
|
|
16864
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16865
|
+
"class": "m-0 p-0",
|
|
16866
|
+
style: {
|
|
16867
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16868
|
+
}
|
|
16869
|
+
}, item.reserv_fixeddate)), /*#__PURE__*/React.createElement("div", {
|
|
16870
|
+
"class": "col-lg-12 p-0 text-start flex-row"
|
|
16871
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16872
|
+
"class": "m-0 p-0",
|
|
16873
|
+
style: {
|
|
16874
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16875
|
+
}
|
|
16876
|
+
}, item.reserv_time)))), item.productinfo.item_type == 'service' && item.reserv_fixeddate == null && /*#__PURE__*/React.createElement("div", {
|
|
16877
|
+
"class": "col-lg-12 p-0 text-start"
|
|
16878
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16879
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-start",
|
|
16880
|
+
style: {
|
|
16881
|
+
color: sectionproperties.quantitybtn_textcolor
|
|
16882
|
+
}
|
|
16883
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16884
|
+
"class": "col-lg-12 p-0 text-start flex-row"
|
|
16885
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16886
|
+
"class": "m-0 p-0",
|
|
16887
|
+
style: {
|
|
16888
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16889
|
+
}
|
|
16890
|
+
}, langdetect == 'en' ? 'From' : 'من', ": ", item.reserv_fromdate)), /*#__PURE__*/React.createElement("div", {
|
|
16891
|
+
"class": "col-lg-12 p-0 text-start flex-row"
|
|
16892
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16893
|
+
"class": "m-0 p-0",
|
|
16894
|
+
style: {
|
|
16895
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16896
|
+
}
|
|
16897
|
+
}, langdetect == 'en' ? 'To' : 'إلى', ": ", item.reserv_todate))))), /*#__PURE__*/React.createElement("div", {
|
|
16898
|
+
"class": "col-3 p-0 d-flex justify-content-end align-items-center"
|
|
16899
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16900
|
+
"class": "".concat(cart_cssstyles.trash_btn) + ' cursor-pointer m-0 p-0 ',
|
|
16901
|
+
onClick: function onClick() {
|
|
16902
|
+
deletecartitemContext(item);
|
|
16903
|
+
}
|
|
16904
|
+
}, 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.createElement("div", {
|
|
16905
|
+
className: "col-lg-12 mt-3 p-0"
|
|
16906
|
+
}, /*#__PURE__*/React.createElement("hr", {
|
|
16907
|
+
className: "m-0"
|
|
16908
|
+
})));
|
|
16909
|
+
}
|
|
16910
|
+
}))))), !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.createElement("div", {
|
|
16589
16911
|
className: "col-lg-12 mb-1 p-0 mt-auto anim mb-md-4",
|
|
16590
16912
|
style: {
|
|
16591
16913
|
animationDuration: '.8s'
|
|
@@ -16620,7 +16942,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
16620
16942
|
textTransform: sectionproperties.total_texttransform,
|
|
16621
16943
|
color: sectionproperties.total_color
|
|
16622
16944
|
}
|
|
16623
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16945
|
+
}, 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.createElement("div", {
|
|
16624
16946
|
"class": "col-lg-12 mt-1 d-flex align-items-center justify-content-start p-0"
|
|
16625
16947
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16626
16948
|
"class": "m-0 p-0",
|
|
@@ -16629,7 +16951,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
16629
16951
|
fontSize: '13px',
|
|
16630
16952
|
fontWeight: 500
|
|
16631
16953
|
}
|
|
16632
|
-
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
16954
|
+
}, 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.createElement("div", {
|
|
16633
16955
|
className: "col-lg-12 p-0 mt-4 d-flex flex-column align-items-center justify-content-center"
|
|
16634
16956
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
16635
16957
|
className: " ".concat(cart_cssstyles.cart_btn) + ' mb-2 d-flex align-items-center justify-content-center ',
|
|
@@ -19176,7 +19498,56 @@ var Filter$1 = function Filter(props) {
|
|
|
19176
19498
|
}
|
|
19177
19499
|
}, props.typeprops != 'vertical' && /*#__PURE__*/React.createElement("div", {
|
|
19178
19500
|
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'
|
|
19179
|
-
}, sectionproperties.filterdirection == '
|
|
19501
|
+
}, sectionproperties.filterdirection == 'Horizontal' && window.location.pathname != '/Portfolio' && /*#__PURE__*/React.createElement("div", {
|
|
19502
|
+
"class": "row m-0 w-100"
|
|
19503
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
19504
|
+
"class": "col-lg-12 p-0 mb-4"
|
|
19505
|
+
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
19506
|
+
transitionBehavior: 'auto',
|
|
19507
|
+
wrapperClassName: '',
|
|
19508
|
+
itemClassName: '',
|
|
19509
|
+
scrollContainerClassName: 'scrollmenuclasssubscrollbar2'
|
|
19510
|
+
}, collectionstobevisible.map(function (item, index) {
|
|
19511
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
19512
|
+
className: ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100 mb-2 '
|
|
19513
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
19514
|
+
className: "".concat(filter_cssstyles.timeline_text, " ").concat(filter_cssstyles.filtercard) + ' p-0 cursor-pointer ',
|
|
19515
|
+
onClick: function onClick() {
|
|
19516
|
+
setCollectionFilterFunc(item.collectionid);
|
|
19517
|
+
},
|
|
19518
|
+
style: {
|
|
19519
|
+
color: item.isfilterselected == true ? sectionproperties.activecat_color : ''
|
|
19520
|
+
}
|
|
19521
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
19522
|
+
"class": "col-lg-12 allcentered mb-2"
|
|
19523
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
19524
|
+
style: {
|
|
19525
|
+
width: sectionproperties.filterimagewidthheight + '%',
|
|
19526
|
+
height: sectionproperties.filterimagewidthheight + '%'
|
|
19527
|
+
}
|
|
19528
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
19529
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
19530
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
19531
|
+
path: '/tr:w-' + sectionproperties.filterimage_tr + ',h-' + sectionproperties.filterimage_h + '/' + item.collectionlogo,
|
|
19532
|
+
style: {
|
|
19533
|
+
width: '100%',
|
|
19534
|
+
height: '100%',
|
|
19535
|
+
objectFit: 'cover',
|
|
19536
|
+
borderRadius: sectionproperties.filterimageborderradius + 'px'
|
|
19537
|
+
},
|
|
19538
|
+
loading: "lazy"
|
|
19539
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
19540
|
+
"class": "row m-0 w-100"
|
|
19541
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
19542
|
+
"class": "col-10 text-start"
|
|
19543
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
19544
|
+
"class": ' m-0 p-0 '
|
|
19545
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React.createElement("div", {
|
|
19546
|
+
"class": "col-2 text-end"
|
|
19547
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
19548
|
+
"class": "h-100 allcentered"
|
|
19549
|
+
}, langdetect == 'en' ? /*#__PURE__*/React.createElement(BsChevronRight, null) : /*#__PURE__*/React.createElement(BsChevronRight, null))))));
|
|
19550
|
+
})))), sectionproperties.filterdirection == 'Collections Vertical' && /*#__PURE__*/React.createElement("div", {
|
|
19180
19551
|
"class": "row m-0 w-100 allcentered mt-md-3"
|
|
19181
19552
|
}, collectionstobevisible.map(function (item, index) {
|
|
19182
19553
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -90875,8 +91246,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
90875
91246
|
}, /*#__PURE__*/React.createElement("div", {
|
|
90876
91247
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 ',
|
|
90877
91248
|
style: {
|
|
90878
|
-
direction: 'ltr'
|
|
90879
|
-
width: '80%'
|
|
91249
|
+
direction: 'ltr'
|
|
90880
91250
|
}
|
|
90881
91251
|
}, /*#__PURE__*/React.createElement("button", {
|
|
90882
91252
|
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|