tabexseriescomponents 0.0.225 → 0.0.227
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 +118 -90
- package/dist/index.esm.js +118 -90
- package/dist/index.umd.js +118 -90
- package/package.json +1 -1
- package/srcold/Contexts/LanguageContext.jsx +0 -390
- package/srcold/Contexts/ProductsCardsSectionContext.jsx +0 -34
- package/srcold/StylesJS/Customstyles.js +0 -236
- package/srcold/TabexComponents/Cards/Card20/Card20.jsx +0 -282
- package/srcold/TabexComponents/Cards/Card21/Card21.jsx +0 -388
- package/srcold/TabexComponents/Cards/Card22/Card22.jsx +0 -287
- package/srcold/TabexComponents/Cards/Card23/Card23.jsx +0 -403
- package/srcold/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -395
- package/srcold/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
- package/srcold/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
- package/srcold/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -220
- package/srcold/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -230
- package/srcold/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -198
- package/srcold/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -170
- package/srcold/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -181
- package/srcold/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
- package/srcold/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -180
- package/srcold/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -487
- package/srcold/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -123
- package/srcold/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -192
- package/srcold/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -270
- package/srcold/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -543
- package/srcold/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -467
- package/srcold/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -469
- package/srcold/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -445
- package/srcold/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
- package/srcold/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -256
- package/srcold/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -278
- package/srcold/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -443
- package/srcold/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -275
- package/srcold/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
- package/srcold/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -301
- package/srcold/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -419
- package/srcold/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -524
- package/srcold/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
- package/srcold/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
- package/srcold/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -136
- package/srcold/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -179
- package/srcold/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -291
- package/srcold/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -339
- package/srcold/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -338
- package/srcold/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -515
- package/srcold/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -184
- package/srcold/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -475
- package/srcold/TabexComponents/Footer/Footer1/Footer1.jsx +0 -448
- package/srcold/TabexComponents/Footer/Footer2/Footer2.jsx +0 -383
- package/srcold/TabexComponents/Footer/Footer3/Footer3.jsx +0 -394
- package/srcold/TabexComponents/Footer/Footer4/Footer4.jsx +0 -699
- package/srcold/TabexComponents/Footer/Footer5/Footer5.jsx +0 -523
- package/srcold/TabexComponents/Footer/Footer6/Footer6.jsx +0 -301
- package/srcold/TabexComponents/Footer/Footer7/Footer7.jsx +0 -415
- package/srcold/TabexComponents/Footer/Footer8/Footer8.jsx +0 -454
- package/srcold/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -329
- package/srcold/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -274
- package/srcold/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/srcold/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -880
- package/srcold/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -870
- package/srcold/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -688
- package/srcold/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -720
- package/srcold/TabexComponents/Headers/Header4/Header4.jsx +0 -621
- package/srcold/TabexComponents/Headers/Header8/Header8.jsx +0 -824
- package/srcold/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -730
- package/srcold/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -762
- package/srcold/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -706
- package/srcold/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -900
- package/srcold/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -841
- package/srcold/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -988
- package/srcold/TabexComponents/Headers/Headerresponsive/HeaderresponsiveNew.jsx +0 -1081
- package/srcold/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -988
- package/srcold/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -917
- package/srcold/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -693
- package/srcold/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -952
- package/srcold/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -636
- package/srcold/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -853
- package/srcold/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -373
- package/srcold/TabexComponents/Headers/Subheader/Subheader.jsx +0 -515
- package/srcold/TabexComponents/Headers/Subheader/SubheaderDropdown.jsx +0 -190
- package/srcold/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -483
- package/srcold/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1005
- package/srcold/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1020
- package/srcold/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader .jsx +0 -843
- package/srcold/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -448
- package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -346
- package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -304
- package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -301
- package/srcold/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -312
- package/srcold/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -271
- package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -174
- package/srcold/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -200
- package/srcold/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -263
- package/srcold/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -143
- package/srcold/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -248
- package/srcold/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -295
- package/srcold/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -394
- package/srcold/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -406
- package/srcold/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -246
- package/srcold/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1220
- package/srcold/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -480
- package/srcold/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -718
- package/srcold/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
- package/srcold/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -652
- package/srcold/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -635
- package/srcold/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -495
- package/srcold/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
- package/srcold/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -250
- package/srcold/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -160
- package/srcold/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -256
- package/srcold/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -329
- package/srcold/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -266
- package/srcold/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -371
- package/srcold/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -140
- package/srcold/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -374
- package/srcold/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -339
- package/srcold/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -303
- package/srcold/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -224
- package/srcold/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -147
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -139
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -324
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -525
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -569
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -475
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +0 -91
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -369
- package/srcold/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -392
- package/srcold/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -213
- package/srcold/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -467
- package/srcold/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -181
- package/srcold/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1280
- package/srcold/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1392
- package/srcold/TabexComponents/StaticPages/Filter/Filter.jsx +0 -1399
- package/srcold/TabexComponents/StaticPages/Filter/FilterOriginal.jsx +0 -1132
- package/srcold/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -60
- package/srcold/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
- package/srcold/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
- package/srcold/TabexComponents/StaticPages/Login/Login.jsx +0 -469
- package/srcold/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -143
- package/srcold/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1329
- package/srcold/TabexComponents/StaticPages/Policies/Policies.jsx +0 -306
- package/srcold/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -1334
- package/srcold/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -715
- package/srcold/TabexComponents/StaticPages/Productinfo/Service_itemtype copy.jsx +0 -361
- package/srcold/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -361
- package/srcold/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -501
- package/srcold/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
- package/srcold/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -227
- package/srcold/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -832
- package/srcold/TabexComponents/StaticPages/Signup/Signup.jsx +0 -154
- package/srcold/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -280
- package/srcold/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -671
- package/srcold/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -538
- package/srcold/assets/images/appstore.png +0 -0
- package/srcold/assets/images/cod.png +0 -0
- package/srcold/assets/images/egyptflag.png +0 -0
- package/srcold/assets/images/fawry.png +0 -0
- package/srcold/assets/images/googleplay.png +0 -0
- package/srcold/assets/images/ksa.png +0 -0
- package/srcold/assets/images/mastercard.png +0 -0
- package/srcold/assets/images/payment.png +0 -0
- package/srcold/assets/images/paymob.png +0 -0
- package/srcold/assets/images/paypal.png +0 -0
- package/srcold/assets/images/shoppingcart.png +0 -0
- package/srcold/assets/images/usflag.png +0 -0
- package/srcold/assets/images/visa.png +0 -0
- package/srcold/assets/images/whatsapp.png +0 -0
- package/srcold/button.jsx +0 -40
- package/srcold/index.jsx +0 -283
- package/srcold/styles/Home.module.css +0 -129
- package/srcold/styles/cards/Categorcycard_fullimage.module.css +0 -10
- package/srcold/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
- package/srcold/styles/cards/Categorycard_withshapes.module.css +0 -189
- package/srcold/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
- package/srcold/styles/cards/Productcard6.module.css +0 -9
- package/srcold/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
- package/srcold/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
- package/srcold/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
- package/srcold/styles/cards/categorycard.module.css +0 -85
- package/srcold/styles/cards/categorycard3.module.css +0 -50
- package/srcold/styles/cards/categorycardwithtext.module.css +0 -40
- package/srcold/styles/cards/productcard_animatedbuttons.module.css +0 -130
- package/srcold/styles/cards/productcard_with_textonhover.module.css +0 -18
- package/srcold/styles/cards/productcard_withtextonimage.module.css +0 -0
- package/srcold/styles/cards/productccard_with_imageontopleft.module.css +0 -85
- package/srcold/styles/general/bootstrap.css +0 -4727
- package/srcold/styles/general/dropdown.css +0 -206
- package/srcold/styles/general/editorbardropdown.module.css +0 -94
- package/srcold/styles/general/filter.module.css +0 -108
- package/srcold/styles/general/form.module.css +0 -273
- package/srcold/styles/general/general.module.css +0 -872
- package/srcold/styles/general/image-gallery.css +0 -531
- package/srcold/styles/general/react-accessible-accordion.module.css +0 -52
- package/srcold/styles/general/react-phone-input-2.module.css +0 -927
- package/srcold/styles/general/scrollbtn.module.css +0 -22
- package/srcold/styles/general/slick.module.css +0 -166
- package/srcold/styles/general/tabs.module.css +0 -119
- package/srcold/styles/general/workplaceeditor.module.css +0 -328
- package/srcold/styles/globals.css +0 -26
- package/srcold/styles/headers/CTAHeader.module.css +0 -40
- package/srcold/styles/headers/CategoryFeaturingHeader.module.css +0 -61
- package/srcold/styles/headers/Gotoheader.module.css +0 -81
- package/srcold/styles/headers/Header7.module.css +0 -50
- package/srcold/styles/headers/HeaderWithAdSlider.module.css +0 -86
- package/srcold/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
- package/srcold/styles/headers/HeaderWithUtilityBar.module.css +0 -46
- package/srcold/styles/headers/Header_threesectionslogocentered.module.css +0 -84
- package/srcold/styles/headers/NewHeader.module.css +0 -101
- package/srcold/styles/headers/SearchFocusedHeader.module.css +0 -62
- package/srcold/styles/headers/Sideheader.module.css +0 -108
- package/srcold/styles/headers/Simpleheader.module.css +0 -102
- package/srcold/styles/headers/classicheader.module.css +0 -16
- package/srcold/styles/headers/classicheaderstyles.module.css +0 -9
- package/srcold/styles/headers/dropdown.css +0 -0
- package/srcold/styles/headers/header4.module.css +0 -175
- package/srcold/styles/headers/header5.module.css +0 -30
- package/srcold/styles/headers/header_contactinfo.module.css +0 -53
- package/srcold/styles/headers/headerresturant.module.css +0 -89
- package/srcold/styles/headers/modernheader.module.css +0 -72
- package/srcold/styles/headers/stylishheader.module.css +0 -24
- package/srcold/styles/headers/subheader.module.css +0 -114
- package/srcold/styles/headers/threetieredheader.module.css +0 -91
- package/srcold/styles/sections/BackgroundImageWithTopContent.css +0 -4
- package/srcold/styles/sections/Backgroundimage1.module.css +0 -17
- package/srcold/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
- package/srcold/styles/sections/Section_with_rightbgcont.module.css +0 -49
- package/srcold/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
- package/srcold/styles/sections/Slideshow_with_squarebg.module.css +0 -39
- package/srcold/styles/staticpages/accordion.module.css +0 -9
- package/srcold/styles/staticpages/cart.module.css +0 -108
- package/srcold/styles/staticpages/dropdown.css +0 -196
- package/srcold/styles/staticpages/filter.module.css +0 -139
- package/srcold/styles/staticpages/image-gallery.css +0 -481
- package/srcold/styles/staticpages/login.module.css +0 -113
- package/srcold/styles/staticpages/productinfo.module.css +0 -54
- package/srcold/styles/staticpages/shop.module.css +0 -191
- package/srcold/styles/staticpages/signup.module.css +0 -206
- package/srcold/styles/staticpages/staticroutersidenav.module.css +0 -129
- package/srcold/styles/staticpages/viewcart.module.css +0 -129
- package/srcold/styles/staticpages/wishlist.module.css +0 -29
|
@@ -1,501 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
import { css } from 'glamor';
|
|
3
|
-
import { AiOutlineClockCircle } from '@react-icons/all-files/ai/AiOutlineClockCircle';
|
|
4
|
-
import staticroutersidenav from './staticroutersidenav.module.css';
|
|
5
|
-
import { AiOutlinePlus } from '@react-icons/all-files/ai/AiOutlinePlus';
|
|
6
|
-
import { AiOutlineCheck } from '@react-icons/all-files/ai/AiOutlineCheck';
|
|
7
|
-
import { CircularProgress, Messaging } from 'react-cssfx-loading';
|
|
8
|
-
import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
|
|
9
|
-
import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
|
|
10
|
-
import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
|
|
11
|
-
import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
|
|
12
|
-
import { BsBag } from '@react-icons/all-files/bs/BsBag';
|
|
13
|
-
import { IoBagHandleOutline } from '@react-icons/all-files/io5/IoBagHandleOutline';
|
|
14
|
-
|
|
15
|
-
const Serviceinfotabs = (props) => {
|
|
16
|
-
const langdetect = props.actions.langdetect;
|
|
17
|
-
const lang = props.actions.lang;
|
|
18
|
-
const sectionproperties = props.actions.sectionproperties;
|
|
19
|
-
const fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
20
|
-
const productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
21
|
-
const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
22
|
-
const GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
23
|
-
const addtocardpayloadobj = props.actions.addtocardpayloadobj;
|
|
24
|
-
const setaddtocardpayloadobj = props.actions.setaddtocardpayloadobj;
|
|
25
|
-
const addtocartfunc = props.actions.addtocartfunc;
|
|
26
|
-
const NotificationManager = props.actions.NotificationManager;
|
|
27
|
-
|
|
28
|
-
const [tabsarray, settabsarray] = useState([
|
|
29
|
-
{
|
|
30
|
-
tabname: 'Description',
|
|
31
|
-
tabname_ar: 'التفاصيل',
|
|
32
|
-
ischecked: true,
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
tabname: 'Reservation',
|
|
36
|
-
tabname_ar: 'الحجز',
|
|
37
|
-
ischecked: false,
|
|
38
|
-
},
|
|
39
|
-
]);
|
|
40
|
-
const [currentmutatestate, setcurrentmutatestate] = useState('');
|
|
41
|
-
const [slots, setslots] = useState([]);
|
|
42
|
-
|
|
43
|
-
const TabsStyles = {
|
|
44
|
-
sidebar_item: css({
|
|
45
|
-
background: sectionproperties.tabcontainerbgcolor,
|
|
46
|
-
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
47
|
-
fontSize: sectionproperties.tabtextfontsize + 'px',
|
|
48
|
-
fontWeight: sectionproperties.tabtextfontweight,
|
|
49
|
-
textTransform: sectionproperties.tabtexttexttransform,
|
|
50
|
-
color: sectionproperties.tabtextcolor,
|
|
51
|
-
':hover': {
|
|
52
|
-
color: sectionproperties.tabtextactivecolor,
|
|
53
|
-
background: sectionproperties.activetabbgcolor,
|
|
54
|
-
},
|
|
55
|
-
}),
|
|
56
|
-
sidenav_active: css({
|
|
57
|
-
color: sectionproperties.tabtextactivecolor,
|
|
58
|
-
background: sectionproperties.activetabbgcolor,
|
|
59
|
-
}),
|
|
60
|
-
sidenavtext_active: css({
|
|
61
|
-
fontSize: sectionproperties.tabtextfontsize + 'px',
|
|
62
|
-
color: sectionproperties.tabtextactivecolor,
|
|
63
|
-
background: sectionproperties.activetabbgcolor,
|
|
64
|
-
}),
|
|
65
|
-
booknow_btn: css({
|
|
66
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
67
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
68
|
-
background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
|
|
69
|
-
borderRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
70
|
-
color: sectionproperties.generalbtn_textColor,
|
|
71
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
72
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
73
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
74
|
-
transition: '.3s',
|
|
75
|
-
':hover': {
|
|
76
|
-
background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
77
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
78
|
-
// opacity: sectionproperties.favbtn_opacityonhover,
|
|
79
|
-
},
|
|
80
|
-
}),
|
|
81
|
-
booknow_btn_resp: css({
|
|
82
|
-
width: '30px',
|
|
83
|
-
height: '30px',
|
|
84
|
-
background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
|
|
85
|
-
borderRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
86
|
-
color: sectionproperties.generalbtn_textColor,
|
|
87
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
88
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
89
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
90
|
-
transition: '.3s',
|
|
91
|
-
':hover': {
|
|
92
|
-
background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
93
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
94
|
-
// opacity: sectionproperties.favbtn_opacityonhover,
|
|
95
|
-
},
|
|
96
|
-
}),
|
|
97
|
-
booknow_btn_disabled: css({
|
|
98
|
-
opacity: 0.3,
|
|
99
|
-
}),
|
|
100
|
-
timeLabel: css({
|
|
101
|
-
color: sectionproperties.time_laelColor,
|
|
102
|
-
fontWeight: sectionproperties.time_labelFonweight,
|
|
103
|
-
fontSize: sectionproperties.time_labelFontsize + 'px',
|
|
104
|
-
}),
|
|
105
|
-
time: css({
|
|
106
|
-
color: sectionproperties.time_timeColor,
|
|
107
|
-
fontWeight: sectionproperties.time_timeFontweight,
|
|
108
|
-
fontSize: sectionproperties.time_timeFontsize + 'px',
|
|
109
|
-
}),
|
|
110
|
-
inputfield_label: css({
|
|
111
|
-
color: sectionproperties.form_labelcolor,
|
|
112
|
-
fontWeight: sectionproperties.form_labelfontweight,
|
|
113
|
-
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
114
|
-
textTransform: sectionproperties.form_labeltexttransform,
|
|
115
|
-
}),
|
|
116
|
-
inputfield: css({
|
|
117
|
-
height: '40px',
|
|
118
|
-
borderRadius: sectionproperties.inputfieldborderradius + 'px',
|
|
119
|
-
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
120
|
-
color: sectionproperties.inputfieldcolor,
|
|
121
|
-
backgroundColor: sectionproperties.input_bgcolor,
|
|
122
|
-
border: sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor,
|
|
123
|
-
}),
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
useEffect(() => {
|
|
127
|
-
setaddtocardpayloadobj({ ...addtocardpayloadobj, item_type: 'service' });
|
|
128
|
-
}, [tabsarray]);
|
|
129
|
-
useEffect(() => {
|
|
130
|
-
const date1 = new Date(addtocardpayloadobj.from);
|
|
131
|
-
const date2 = new Date(addtocardpayloadobj.to);
|
|
132
|
-
const diffTime = Math.abs(date2 - date1);
|
|
133
|
-
const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
|
|
134
|
-
|
|
135
|
-
if (diffDays.toString() != 'NaN') {
|
|
136
|
-
if (date2 <= date1) {
|
|
137
|
-
NotificationManager.warning('', 'Please choose another date.');
|
|
138
|
-
setaddtocardpayloadobj({ ...addtocardpayloadobj, quantity: 0 });
|
|
139
|
-
} else {
|
|
140
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
141
|
-
setaddtocardpayloadobj({ ...addtocardpayloadobj, quantity: diffDays });
|
|
142
|
-
} else {
|
|
143
|
-
setaddtocardpayloadobj({ ...addtocardpayloadobj, quantity: 0 });
|
|
144
|
-
NotificationManager.warning(
|
|
145
|
-
'',
|
|
146
|
-
'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant,
|
|
147
|
-
);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
|
|
152
|
-
const showaddtocartbuttonbutton = () => {
|
|
153
|
-
var showbutton = false;
|
|
154
|
-
if (fetchProductInfoQueryContext?.data?.data?.productinfo?.serviceinfo?.scheduletype == 'days') {
|
|
155
|
-
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
156
|
-
showbutton = true;
|
|
157
|
-
}
|
|
158
|
-
} else if (fetchProductInfoQueryContext?.data?.data?.productinfo?.serviceinfo?.scheduletype == 'minutes') {
|
|
159
|
-
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
160
|
-
showbutton = true;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
return showbutton;
|
|
164
|
-
};
|
|
165
|
-
const [showMore, setShowMore] = useState(false);
|
|
166
|
-
|
|
167
|
-
return (
|
|
168
|
-
<div className="col-lg-12 p-0 mt-3">
|
|
169
|
-
<div class="row ml-0 mr-0 w-100">
|
|
170
|
-
<div class={staticroutersidenav.horizontal_nav_menu + ' col-lg-12 d-flex justify-content-start p-0 '}>
|
|
171
|
-
<div class={langdetect == 'en' ? ' row m-0 w-100 justify-content-start pr-3 pr-md-0 ml-4 ml-md-0 ' : ' row m-0 w-100 justify-content-start pl-3 pl-md-0 mr-4 mr-md-0 '}>
|
|
172
|
-
{tabsarray.map((item, index) => {
|
|
173
|
-
var activeclass = '';
|
|
174
|
-
if (item.ischecked) {
|
|
175
|
-
activeclass = TabsStyles.sidenav_active;
|
|
176
|
-
}
|
|
177
|
-
return (
|
|
178
|
-
<div
|
|
179
|
-
onClick={() => {
|
|
180
|
-
var temparray = [...tabsarray];
|
|
181
|
-
temparray[0].ischecked = false;
|
|
182
|
-
temparray[1].ischecked = false;
|
|
183
|
-
|
|
184
|
-
temparray[index].ischecked = true;
|
|
185
|
-
settabsarray([...temparray]);
|
|
186
|
-
}}
|
|
187
|
-
class={`${staticroutersidenav.sidebar_item} ${TabsStyles.sidebar_item} ${activeclass} ` + ' allcentered cursor-pointer '}
|
|
188
|
-
style={{ height: '45px' }}
|
|
189
|
-
>
|
|
190
|
-
<p class={' p-0 allcentered mt-auto mb-auto text-uppercase wordbreak-noellipsis '}>{langdetect == 'en' ? item.tabname : item.tabname_ar}</p>
|
|
191
|
-
</div>
|
|
192
|
-
);
|
|
193
|
-
})}
|
|
194
|
-
</div>
|
|
195
|
-
</div>
|
|
196
|
-
<div class="col-lg-12 p-0">
|
|
197
|
-
<hr class={langdetect == 'en' ? 'p-0 m-0 ml-4 ml-md-0' : 'p-0 m-0 mr-4 mr-md-0'} />
|
|
198
|
-
</div>
|
|
199
|
-
{tabsarray[0].ischecked && (
|
|
200
|
-
<div class="col-lg-12 p-4">
|
|
201
|
-
{langdetect == 'en' &&
|
|
202
|
-
fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en != '' &&
|
|
203
|
-
fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en != null && (
|
|
204
|
-
<div
|
|
205
|
-
class={langdetect === 'en' ? 'col-lg-12 p-0 pl-4 pl-md-0 mb-5 d-flex justify-content-center' : 'col-lg-12 p-0 pr-4 pr-0 mb-5 d-flex justify-content-center'}
|
|
206
|
-
style={{ minHeight: '15vh' }}
|
|
207
|
-
>
|
|
208
|
-
<div class="row m-0 w-100 d-flex flex-column">
|
|
209
|
-
<p
|
|
210
|
-
class={'text-black text-capitalize m-0 p-0 wordbreak'}
|
|
211
|
-
style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
|
|
212
|
-
dangerouslySetInnerHTML={{
|
|
213
|
-
__html:
|
|
214
|
-
showMore == true
|
|
215
|
-
? fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en
|
|
216
|
-
: fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en.slice(0, 1000),
|
|
217
|
-
}}
|
|
218
|
-
></p>
|
|
219
|
-
{fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en.length > 1000 && (
|
|
220
|
-
<p class="m-0 p-0 cursor-pointer text-grey font-weight-600 ml-2 mr-2" onClick={() => setShowMore(!showMore)}>
|
|
221
|
-
{showMore ? lang.showless : lang.showmore}
|
|
222
|
-
</p>
|
|
223
|
-
)}
|
|
224
|
-
</div>
|
|
225
|
-
</div>
|
|
226
|
-
)}
|
|
227
|
-
{langdetect == 'ar' &&
|
|
228
|
-
fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar != '' &&
|
|
229
|
-
fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar != null && (
|
|
230
|
-
<div class="col-lg-12 p-0 mb-5 d-flex justify-content-center" style={{ minHeight: '15vh' }}>
|
|
231
|
-
<div class="row m-0 w-100 d-flex flex-column">
|
|
232
|
-
<div class="col-lg-12 p-0 d-flex justify-content-start flex-column">
|
|
233
|
-
<p
|
|
234
|
-
class={'text-black text-capitalize m-0 p-0 wordbreak'}
|
|
235
|
-
style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
|
|
236
|
-
dangerouslySetInnerHTML={{
|
|
237
|
-
__html:
|
|
238
|
-
showMore == true
|
|
239
|
-
? fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar
|
|
240
|
-
: fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar.slice(0, 1000) + '...',
|
|
241
|
-
}}
|
|
242
|
-
></p>
|
|
243
|
-
{fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar.length > 1000 && (
|
|
244
|
-
<p class="m-0 p-0 cursor-pointer text-grey font-weight-600" onClick={() => setShowMore(!showMore)}>
|
|
245
|
-
{showMore ? lang.showless : lang.showmore}
|
|
246
|
-
</p>
|
|
247
|
-
)}
|
|
248
|
-
</div>
|
|
249
|
-
</div>
|
|
250
|
-
</div>
|
|
251
|
-
)}
|
|
252
|
-
</div>
|
|
253
|
-
)}
|
|
254
|
-
{tabsarray[1].ischecked && (
|
|
255
|
-
<div class="col-lg-12 pl-5 pr-5 pt-3 pb-0 pl-sm-3 pr-sm-3">
|
|
256
|
-
<div class="row m-0 allcentered w-100">
|
|
257
|
-
{/* <div class="col-lg-4 col-md-6 col-sm-12 mb-2 p-0">
|
|
258
|
-
<div class="row m-0 w-100">
|
|
259
|
-
<div class="col-lg-12 p-0">
|
|
260
|
-
<p class={TabsStyles.inputfield_label}>{lang.servicename}:</p>
|
|
261
|
-
</div>
|
|
262
|
-
<div class="col-lg-12">
|
|
263
|
-
<p class={TabsStyles.inputfield + ' w-100 allcentered m-0 p-0 '}>
|
|
264
|
-
{langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar}
|
|
265
|
-
</p>
|
|
266
|
-
</div>
|
|
267
|
-
</div>
|
|
268
|
-
</div> */}
|
|
269
|
-
{fetchProductInfoQueryContext?.data?.data?.productinfo?.serviceinfo?.scheduletype == 'days' && (
|
|
270
|
-
<>
|
|
271
|
-
<div class="col-lg-12 col-md-12 col-sm-12 mb-2 p-0">
|
|
272
|
-
<div class="row m-0 w-100">
|
|
273
|
-
<div class="col-lg-12 d-flex justify-content-start p-0">
|
|
274
|
-
<p class={TabsStyles.inputfield_label + ' m-0 pb-2 '}>{langdetect == 'en' ? 'From' : 'من'}:</p>
|
|
275
|
-
</div>
|
|
276
|
-
<div class="col-lg-12 p-0 mb-3">
|
|
277
|
-
<input
|
|
278
|
-
type="date"
|
|
279
|
-
class={TabsStyles.inputfield + ' w-100 allcentered pl-1 pr-1 '}
|
|
280
|
-
min={fetchProductInfoQueryContext?.data?.data?.productinfo?.serviceinfo?.reservationstarts}
|
|
281
|
-
max={fetchProductInfoQueryContext?.data?.data?.productinfo?.serviceinfo?.reservationends}
|
|
282
|
-
onChange={(event) => {
|
|
283
|
-
setaddtocardpayloadobj({ ...addtocardpayloadobj, from: event.target.value });
|
|
284
|
-
}}
|
|
285
|
-
/>
|
|
286
|
-
</div>
|
|
287
|
-
</div>
|
|
288
|
-
</div>
|
|
289
|
-
<div class="col-lg-12 col-md-12 col-sm-12 mb-2 p-0">
|
|
290
|
-
<div class="row m-0 w-100">
|
|
291
|
-
<div class="col-lg-12 d-flex justify-content-start p-0">
|
|
292
|
-
<p class={TabsStyles.inputfield_label + ' m-0 pb-2 '}>{langdetect == 'en' ? 'To' : 'إلى'}:</p>
|
|
293
|
-
</div>
|
|
294
|
-
<div class="col-lg-12 p-0 mb-3">
|
|
295
|
-
<input
|
|
296
|
-
type="date"
|
|
297
|
-
class={TabsStyles.inputfield + ' w-100 allcentered pl-1 pr-1 '}
|
|
298
|
-
min={fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts}
|
|
299
|
-
max={fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends}
|
|
300
|
-
onChange={(event) => {
|
|
301
|
-
setaddtocardpayloadobj({ ...addtocardpayloadobj, to: event.target.value });
|
|
302
|
-
}}
|
|
303
|
-
/>
|
|
304
|
-
</div>
|
|
305
|
-
</div>
|
|
306
|
-
</div>
|
|
307
|
-
</>
|
|
308
|
-
)}
|
|
309
|
-
{fetchProductInfoQueryContext?.data?.data?.productinfo?.serviceinfo?.scheduletype == 'minutes' && (
|
|
310
|
-
<>
|
|
311
|
-
<div class="col-lg-12 col-md-12 col-sm-12 mb-2 p-0">
|
|
312
|
-
<div class="row m-0 w-100">
|
|
313
|
-
<div class="col-lg-12 d-flex justify-content-start p-0">
|
|
314
|
-
<p class={TabsStyles.inputfield_label + ' m-0 pb-2 '}>{lang.reservationdate}:</p>
|
|
315
|
-
</div>
|
|
316
|
-
<div class="col-lg-12 p-0 mb-3">
|
|
317
|
-
<input
|
|
318
|
-
type="date"
|
|
319
|
-
class={TabsStyles.inputfield + ' w-100 allcentered pl-1 pr-1 '}
|
|
320
|
-
min={fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts}
|
|
321
|
-
max={fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends}
|
|
322
|
-
onChange={(event) => {
|
|
323
|
-
setaddtocardpayloadobj({ ...addtocardpayloadobj, date: event.target.value });
|
|
324
|
-
setcurrentmutatestate('/fetchserviceslots');
|
|
325
|
-
GeneralAPIMutationContext.mutate({
|
|
326
|
-
endpointurl: '/fetchserviceslots',
|
|
327
|
-
productid: fetchProductInfoQueryContext.data.data.productinfo.productid,
|
|
328
|
-
reqdate: event.target.value,
|
|
329
|
-
mutateSuccesscallback: (data, variables) => {
|
|
330
|
-
setslots(data.data.slots);
|
|
331
|
-
},
|
|
332
|
-
});
|
|
333
|
-
}}
|
|
334
|
-
/>
|
|
335
|
-
</div>
|
|
336
|
-
</div>
|
|
337
|
-
</div>
|
|
338
|
-
|
|
339
|
-
<div class="col-lg-12 p-0">
|
|
340
|
-
<p class={TabsStyles.timeLabel + ' p-0 d-flex justify-content-start m-0 '}>{lang.reservationtime}:</p>
|
|
341
|
-
|
|
342
|
-
{GeneralAPIMutationContext.isLoading && GeneralAPIMutationContext.variables.endpointurl == '/fetchserviceslots' && (
|
|
343
|
-
<>
|
|
344
|
-
<div className={'row ml-0 mr-0 w-100 allcentered'} style={{ height: 200 }}>
|
|
345
|
-
<Messaging color="#ccc" width="10px" height="10px" duration="1s" />
|
|
346
|
-
</div>
|
|
347
|
-
</>
|
|
348
|
-
)}
|
|
349
|
-
{slots.map(function (item, index) {
|
|
350
|
-
var ischoosed = false;
|
|
351
|
-
if (item.slot == addtocardpayloadobj.time) {
|
|
352
|
-
ischoosed = true;
|
|
353
|
-
}
|
|
354
|
-
return (
|
|
355
|
-
<>
|
|
356
|
-
<div class="row m-0 mb-2 d-flex align-items-center w-100">
|
|
357
|
-
<div class={TabsStyles.time + ' col-lg-6 col-md-6 col-sm-9 p-0 d-flex justify-content-start align-items-center '}>
|
|
358
|
-
<AiOutlineClockCircle class="ml-1 mr-1" />
|
|
359
|
-
<p class="p-0 m-0">{item.slot}</p>
|
|
360
|
-
</div>
|
|
361
|
-
{item.available && (
|
|
362
|
-
<>
|
|
363
|
-
<div class="col-lg-6 col-md-6 col-sm-12 p-0 d-flex d-sm-none justify-content-end justify-content-sm-center align-items-center">
|
|
364
|
-
<button
|
|
365
|
-
class={TabsStyles.booknow_btn + ' allcentered mt-sm-3 '}
|
|
366
|
-
style={{ backgroundColor: ischoosed ? 'green' : '' }}
|
|
367
|
-
onClick={() => {
|
|
368
|
-
setaddtocardpayloadobj({ ...addtocardpayloadobj, time: item.slot });
|
|
369
|
-
}}
|
|
370
|
-
>
|
|
371
|
-
<span>{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}</span>
|
|
372
|
-
</button>
|
|
373
|
-
</div>
|
|
374
|
-
|
|
375
|
-
<div class="col-sm-3 p-0 d-none d-sm-flex justify-content-end justify-content-sm-center align-items-sm-center">
|
|
376
|
-
<button
|
|
377
|
-
class={TabsStyles.booknow_btn_resp + ' allcentered '}
|
|
378
|
-
onClick={() => {
|
|
379
|
-
setaddtocardpayloadobj({ ...addtocardpayloadobj, time: item.slot });
|
|
380
|
-
}}
|
|
381
|
-
>
|
|
382
|
-
<span className="allcentered">
|
|
383
|
-
<AiOutlinePlus />
|
|
384
|
-
</span>
|
|
385
|
-
</button>
|
|
386
|
-
</div>
|
|
387
|
-
</>
|
|
388
|
-
)}
|
|
389
|
-
{!item.available && (
|
|
390
|
-
<>
|
|
391
|
-
<div class="col-lg-6 col-md-6 col-sm-9 p-0 d-flex d-sm-none justify-content-end justify-content-sm-center align-items-center">
|
|
392
|
-
<button
|
|
393
|
-
class={TabsStyles.booknow_btn + ' allcentered mt-sm-3 '}
|
|
394
|
-
style={{
|
|
395
|
-
opacity: 0.5,
|
|
396
|
-
cursor: 'not-allowed',
|
|
397
|
-
}}
|
|
398
|
-
>
|
|
399
|
-
<span>{langdetect == 'en' ? sectionproperties.generalbtn_bookedcontent : sectionproperties.generalbtn_bookedcontent_ar}</span>
|
|
400
|
-
</button>
|
|
401
|
-
</div>
|
|
402
|
-
<div class="col-sm-3 p-0 d-none d-sm-flex justify-content-end justify-content-sm-center align-items-center">
|
|
403
|
-
<button
|
|
404
|
-
class={TabsStyles.booknow_btn_resp + ' allcentered '}
|
|
405
|
-
style={{
|
|
406
|
-
opacity: 0.5,
|
|
407
|
-
cursor: 'not-allowed',
|
|
408
|
-
}}
|
|
409
|
-
>
|
|
410
|
-
<span class="allcentered">
|
|
411
|
-
<AiOutlineCheck />
|
|
412
|
-
</span>
|
|
413
|
-
</button>
|
|
414
|
-
</div>
|
|
415
|
-
</>
|
|
416
|
-
)}
|
|
417
|
-
</div>
|
|
418
|
-
<div class="col-lg-12 p-0">
|
|
419
|
-
<hr class="m-0 mb-3 mt-3" />
|
|
420
|
-
</div>
|
|
421
|
-
</>
|
|
422
|
-
);
|
|
423
|
-
})}
|
|
424
|
-
</div>
|
|
425
|
-
</>
|
|
426
|
-
)}
|
|
427
|
-
<div className="col-lg-12 p-0 mb-3">
|
|
428
|
-
<div className="row m-0 w-100">
|
|
429
|
-
{fetchProductInfoQueryContext?.data?.data?.productinfo?.serviceinfo?.scheduletype == 'days' && (
|
|
430
|
-
<div className="col-lg-12 p-0 mb-2 d-flex justofy-content-start">
|
|
431
|
-
<p
|
|
432
|
-
className="m-0 p-0"
|
|
433
|
-
style={{
|
|
434
|
-
color: sectionproperties.quantitytitlecolor,
|
|
435
|
-
fontSize: sectionproperties.quantitytitlefontSize + 'px',
|
|
436
|
-
fontWeight: sectionproperties.quantitytitlefontweight,
|
|
437
|
-
}}
|
|
438
|
-
>
|
|
439
|
-
{lang.quantity}:{' '}
|
|
440
|
-
<span
|
|
441
|
-
style={{
|
|
442
|
-
color: sectionproperties.quantitybtn_textcolor,
|
|
443
|
-
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
444
|
-
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
445
|
-
}}
|
|
446
|
-
>
|
|
447
|
-
{addtocardpayloadobj.quantity}
|
|
448
|
-
</span>
|
|
449
|
-
</p>
|
|
450
|
-
</div>
|
|
451
|
-
)}
|
|
452
|
-
{showaddtocartbuttonbutton() && (
|
|
453
|
-
<div class="col-lg-12 allcentered">
|
|
454
|
-
<button
|
|
455
|
-
className={`${productinfo_cssstyles.cart_btn} ` + ' ml-1 mr-1 d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 '}
|
|
456
|
-
onClick={() => {
|
|
457
|
-
addtocartfunc();
|
|
458
|
-
}}
|
|
459
|
-
disabled={AddtoCartMutationContext.isLoading == true ? true : false}
|
|
460
|
-
>
|
|
461
|
-
{!AddtoCartMutationContext.isLoading && (
|
|
462
|
-
<span className={' d-flex align-items-center justify-content-center '}>
|
|
463
|
-
{sectionproperties.cartBtn_iconFontSize != 0 && (
|
|
464
|
-
<i
|
|
465
|
-
className={
|
|
466
|
-
langdetect == 'en'
|
|
467
|
-
? 'h-100 d-flex align-items-center justify-content-center mr-2'
|
|
468
|
-
: 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
469
|
-
}
|
|
470
|
-
>
|
|
471
|
-
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
472
|
-
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
473
|
-
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag className="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
474
|
-
{sectionproperties.carticonstyle == 'Shopping bag 4' && (
|
|
475
|
-
<IoBagHandleOutline className="" size={sectionproperties.cartBtn_iconFontSize} />
|
|
476
|
-
)}
|
|
477
|
-
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart className="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
478
|
-
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
479
|
-
</i>
|
|
480
|
-
)}
|
|
481
|
-
{langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic}
|
|
482
|
-
</span>
|
|
483
|
-
)}
|
|
484
|
-
{AddtoCartMutationContext.isLoading && (
|
|
485
|
-
<div className={' d-flex align-items-center justify-content-center '}>
|
|
486
|
-
<CircularProgress color="white" width="20px" height="20px" duration="1s" />
|
|
487
|
-
</div>
|
|
488
|
-
)}
|
|
489
|
-
</button>
|
|
490
|
-
</div>
|
|
491
|
-
)}
|
|
492
|
-
</div>
|
|
493
|
-
</div>
|
|
494
|
-
</div>
|
|
495
|
-
</div>
|
|
496
|
-
)}
|
|
497
|
-
</div>
|
|
498
|
-
</div>
|
|
499
|
-
);
|
|
500
|
-
};
|
|
501
|
-
export default Serviceinfotabs;
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
/* Side Nav */
|
|
2
|
-
.vertical_nav_menu {
|
|
3
|
-
margin: 0;
|
|
4
|
-
padding: 0;
|
|
5
|
-
position: relative;
|
|
6
|
-
list-style: none;
|
|
7
|
-
transition: 0.3s ease-in-out;
|
|
8
|
-
border-radius: 20px;
|
|
9
|
-
}
|
|
10
|
-
.vertical_nav_menu li.sidebar_item {
|
|
11
|
-
transition: 0.3s !important;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
text-align: center;
|
|
16
|
-
flex-direction: row;
|
|
17
|
-
padding: 5px !important;
|
|
18
|
-
position: relative;
|
|
19
|
-
}
|
|
20
|
-
.vertical_nav_menu .sidebar_item::after {
|
|
21
|
-
content: '';
|
|
22
|
-
position: absolute;
|
|
23
|
-
bottom: -3px;
|
|
24
|
-
display: block;
|
|
25
|
-
border-radius: 100px 0 100px 0;
|
|
26
|
-
width: 0;
|
|
27
|
-
height: 0;
|
|
28
|
-
transition: 0.2s !important;
|
|
29
|
-
}
|
|
30
|
-
.vertical_nav_menu .sidenav_page_name {
|
|
31
|
-
transition: 0.3s;
|
|
32
|
-
}
|
|
33
|
-
.vertical_nav_menu li .sidenav_icon_cont {
|
|
34
|
-
display: flex;
|
|
35
|
-
justify-content: center;
|
|
36
|
-
align-items: center;
|
|
37
|
-
text-align: center;
|
|
38
|
-
transition: all 0.3s;
|
|
39
|
-
position: relative;
|
|
40
|
-
}
|
|
41
|
-
.vertical_nav_menu i.metismenu_icon {
|
|
42
|
-
display: flex;
|
|
43
|
-
align-items: center;
|
|
44
|
-
justify-content: center;
|
|
45
|
-
color: #022648;
|
|
46
|
-
transition: 0.3s;
|
|
47
|
-
opacity: 1;
|
|
48
|
-
font-size: 16px;
|
|
49
|
-
}
|
|
50
|
-
/* active */
|
|
51
|
-
.vertical_nav_menu .sidenav_active::after {
|
|
52
|
-
content: '';
|
|
53
|
-
position: absolute;
|
|
54
|
-
bottom: -3px;
|
|
55
|
-
/* right: -5%; */
|
|
56
|
-
display: block;
|
|
57
|
-
border-radius: 100px 0 100px 0;
|
|
58
|
-
width: 10px;
|
|
59
|
-
height: 100%;
|
|
60
|
-
/* background: red !important; */
|
|
61
|
-
}
|
|
62
|
-
.vertical_nav_menu .sidenav_active .sidenav_page_name {
|
|
63
|
-
font-weight: 600;
|
|
64
|
-
}
|
|
65
|
-
.vertical_nav_menu .sidenav_active .sidenav_icon_cont {
|
|
66
|
-
/* background-color: rgba(249, 128, 100) !important; */
|
|
67
|
-
box-shadow: none !important;
|
|
68
|
-
}
|
|
69
|
-
/* hover */
|
|
70
|
-
.vertical_nav_menu .sidebar_item:hover {
|
|
71
|
-
cursor: pointer;
|
|
72
|
-
transition: 0.3s;
|
|
73
|
-
}
|
|
74
|
-
.vertical_nav_menu .sidebar_item:hover::after {
|
|
75
|
-
width: 10px;
|
|
76
|
-
height: 100%;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.horizontal_nav_menu {
|
|
80
|
-
display: flex;
|
|
81
|
-
flex-direction: row;
|
|
82
|
-
justify-content: center;
|
|
83
|
-
}
|
|
84
|
-
.horizontal_nav_menu .sidebar_item {
|
|
85
|
-
transition: 0.3s !important;
|
|
86
|
-
display: flex;
|
|
87
|
-
align-items: center;
|
|
88
|
-
justify-content: center;
|
|
89
|
-
text-align: center;
|
|
90
|
-
position: relative;
|
|
91
|
-
width: 180px !important;
|
|
92
|
-
}
|
|
93
|
-
@media screen and (max-width: 800px) {
|
|
94
|
-
.horizontal_nav_menu {
|
|
95
|
-
width: 100%;
|
|
96
|
-
display: block !important;
|
|
97
|
-
white-space: nowrap;
|
|
98
|
-
position: relative;
|
|
99
|
-
overflow-x: scroll;
|
|
100
|
-
overflow-y: hidden;
|
|
101
|
-
-webkit-overflow-scrolling: touch;
|
|
102
|
-
}
|
|
103
|
-
.sidebar_item {
|
|
104
|
-
width: 30% !important;
|
|
105
|
-
float: none;
|
|
106
|
-
display: inline-block;
|
|
107
|
-
zoom: 1;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
@media screen and (max-width: 700px) {
|
|
111
|
-
.horizontal_nav_menu {
|
|
112
|
-
width: 100%;
|
|
113
|
-
display: block !important;
|
|
114
|
-
white-space: nowrap;
|
|
115
|
-
position: relative;
|
|
116
|
-
overflow-x: scroll;
|
|
117
|
-
overflow-y: hidden;
|
|
118
|
-
-webkit-overflow-scrolling: touch;
|
|
119
|
-
}
|
|
120
|
-
.sidebar_item {
|
|
121
|
-
min-width: 40% !important;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
@media screen and (max-width: 500px) {
|
|
125
|
-
.horizontal_nav_menu {
|
|
126
|
-
width: 100%;
|
|
127
|
-
display: block !important;
|
|
128
|
-
white-space: nowrap;
|
|
129
|
-
position: relative;
|
|
130
|
-
overflow-x: scroll;
|
|
131
|
-
overflow-y: hidden;
|
|
132
|
-
-webkit-overflow-scrolling: touch;
|
|
133
|
-
}
|
|
134
|
-
.sidebar_item {
|
|
135
|
-
max-width: 40% !important;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.sidebar_itemlastchild {
|
|
140
|
-
margin-right: 0 !important;
|
|
141
|
-
margin-left: 0 !important;
|
|
142
|
-
}
|
|
143
|
-
.ss{
|
|
144
|
-
|
|
145
|
-
}
|