tabexseriescomponents 0.0.65 → 0.0.67
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 +22892 -14865
- package/dist/index.esm.js +22897 -14871
- package/dist/index.umd.js +21722 -13696
- package/package.json +1 -1
- package/{srcOLD → src1-10}/Contexts/LanguageContext.jsx +0 -0
- package/{srcOLD → src1-10}/Contexts/ProductsCardsSectionContext.jsx +0 -0
- package/{srcOLD → src1-10}/StylesJS/Customstyles.js +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -9
- package/{srcOLD → src1-10}/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -19
- package/{srcOLD → src1-10}/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -8
- package/{srcOLD → src1-10}/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -7
- package/{srcOLD → src1-10}/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +45 -72
- package/{srcOLD → src1-10}/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -9
- package/{srcOLD → src1-10}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -9
- package/{srcOLD → src1-10}/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -15
- package/{srcOLD → src1-10}/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -12
- package/{srcOLD → src1-10}/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -12
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -10
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -10
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -14
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -17
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +1 -14
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -11
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -10
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -10
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -10
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -12
- package/{srcOLD → src1-10}/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -12
- package/{srcOLD → src1-10}/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -9
- package/{srcOLD → src1-10}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +3 -15
- package/{srcOLD → src1-10}/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +1 -11
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer1/Footer1.jsx +26 -26
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer2/Footer2.jsx +24 -25
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer3/Footer3.jsx +14 -6
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer4/Footer4.jsx +11 -12
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer5/Footer5.jsx +81 -88
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer6/Footer6.jsx +39 -48
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer7/Footer7.jsx +58 -61
- package/{srcOLD → src1-10}/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +27 -34
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx +97 -99
- package/{srcOLD → src1-10}/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +74 -80
- package/{srcOLD → src1-10}/TabexComponents/Headers/Header4/Header4.jsx +77 -95
- package/{srcOLD → src1-10}/TabexComponents/Headers/Header6/Header6.jsx +73 -76
- package/src1-10/TabexComponents/Headers/Header8/Header8.jsx +888 -0
- package/{srcOLD → src1-10}/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +93 -137
- package/{srcOLD → src1-10}/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +85 -114
- package/{srcOLD → src1-10}/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +3 -23
- package/{srcOLD → src1-10}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +116 -114
- package/{srcOLD → src1-10}/TabexComponents/Headers/Modernheader/Modernheader.jsx +100 -92
- package/{srcOLD → src1-10}/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +110 -98
- package/{srcOLD → src1-10}/TabexComponents/Headers/Subheader/Subheader.jsx +10 -22
- package/{srcOLD → src1-10}/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -9
- package/{srcOLD → src1-10}/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -7
- package/{srcOLD → src1-10}/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -0
- package/src1-10/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +409 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +7 -75
- package/{srcOLD/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.js → src1-10/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx} +82 -92
- package/{srcOLD → src1-10}/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.js +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +0 -0
- package/{srcOLD/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.js → src1-10/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx} +34 -74
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +139 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -8
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +197 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +91 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +92 -53
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -15
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -0
- package/{srcOLD/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.js → src1-10/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx} +110 -40
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Filter/Filter.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Login/Login.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -14
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Policies/Policies.jsx +0 -5
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -50
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -16
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -12
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Signup/Signup.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -10
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Viewcart/Viewcart.js +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -23
- package/{srcOLD → src1-10}/assets/images/cod.png +0 -0
- package/{srcOLD → src1-10}/assets/images/egyptflag.png +0 -0
- package/{srcOLD → src1-10}/assets/images/fawry.png +0 -0
- package/{srcOLD → src1-10}/assets/images/payment.png +0 -0
- package/{srcOLD → src1-10}/assets/images/paymob.png +0 -0
- package/{srcOLD → src1-10}/assets/images/paypal.png +0 -0
- package/{srcOLD → src1-10}/assets/images/shoppingcart.png +0 -0
- package/{srcOLD → src1-10}/assets/images/usflag.png +0 -0
- package/{srcOLD → src1-10}/assets/images/visa.png +0 -0
- package/{srcOLD → src1-10}/assets/images/whatsapp.png +0 -0
- package/{srcOLD → src1-10}/button.jsx +0 -0
- package/{srcOLD → src1-10}/index.jsx +6 -2
- package/{srcOLD → src1-10}/styles/Home.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Categorcycard_fullimage.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Categorycard_slidebgscaled.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Categorycard_withshapes.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Productcard6.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Productcard_with_circularbg.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Productccard_with_zoominonhover.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Prouductcard_with_zoomhover.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/categorycard.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/categorycard3.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/categorycardwithtext.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/productcard_animatedbuttons.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/productcard_with_textonhover.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/productccard_with_imageontopleft.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/bootstrap.css +68 -73
- package/{srcOLD → src1-10}/styles/general/dropdown.css +0 -0
- package/{srcOLD → src1-10}/styles/general/editorbardropdown.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/filter.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/form.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/general.module.css +152 -0
- package/{srcOLD → src1-10}/styles/general/image-gallery.css +0 -0
- package/{srcOLD → src1-10}/styles/general/react-accessible-accordion.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/react-phone-input-2.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/scrollbtn.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/slick.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/tabs.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/workplaceeditor.module.css +0 -0
- package/{srcOLD → src1-10}/styles/globals.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/Allinoneheader.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/Header7.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/Header_threesectionslogocentered.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/Sideheader.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/classicheaderstyles.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/dropdown.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/header4.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/header5.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/header6.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/header_contactinfo.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/headerresturant.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/headerstyles.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/modernheader.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/subheader.module.css +0 -0
- package/{srcOLD → src1-10}/styles/sections/Backgroundimage1.module.css +0 -0
- package/{srcOLD → src1-10}/styles/sections/Backgroundimage_with_topcircle.module.css +0 -0
- package/{srcOLD → src1-10}/styles/sections/Section_with_rightbgcont.module.css +0 -0
- package/{srcOLD → src1-10}/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -0
- package/{srcOLD → src1-10}/styles/sections/Slideshow_with_squarebg.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/accordion.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/cart.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/dropdown.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/filter.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/login.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/productinfo.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/shop.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/signup.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/staticroutersidenav.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/viewcart.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/wishlist.module.css +0 -0
- package/srcOLD/TabexComponents/Headers/Header8/Header8.jsx +0 -882
- package/srcOLD/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -228
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -784
- package/srcOLD/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -284
- package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -414
- package/srcOLD/TabexComponents/StaticPages/Aboutus/Aboutus.js +0 -175
package/{srcOLD → src1-10}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx
RENAMED
|
@@ -2,10 +2,7 @@ import React, { useEffect, useState, useContext } from 'react';
|
|
|
2
2
|
import generalstyles from '../../../styles/general/general.module.css';
|
|
3
3
|
import CustomerInformationForm from '../Signup/CustomerInformationForm.jsx';
|
|
4
4
|
import { css } from 'glamor';
|
|
5
|
-
|
|
6
5
|
import Staticpagesrouter from '../Staticpagesrouter/Staticpagesrouter.jsx';
|
|
7
|
-
|
|
8
|
-
// import { ProductsCardsSectionContext_Provider } from '../../../../../../../Contexts/ProductsCardsSectionContext';
|
|
9
6
|
import { IKImage } from 'imagekitio-react';
|
|
10
7
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
11
8
|
const AccountInformation = (props) => {
|
|
@@ -16,17 +13,13 @@ const AccountInformation = (props) => {
|
|
|
16
13
|
const navigationstyle = props.actions.navigationstyle;
|
|
17
14
|
const actions = props.actions;
|
|
18
15
|
useEffect(() => {
|
|
19
|
-
// if (Object.keys(props?.actions?.StatePagePropertiesContext).length != 0) {
|
|
20
16
|
var secpropobj = {};
|
|
21
17
|
props?.actions?.StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
|
|
22
18
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
23
19
|
});
|
|
24
|
-
|
|
25
20
|
setsectionproperties({ ...secpropobj });
|
|
26
|
-
// }
|
|
27
21
|
}, [props.actions.StatePagePropertiesContext]);
|
|
28
22
|
const [CurrentPageId, setCurrentPageId] = useState('');
|
|
29
|
-
|
|
30
23
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
31
24
|
useEffect(() => {
|
|
32
25
|
var cartindex = templatepropcontext.pagesnprop.findIndex((x) => x.staticpageid == '6218bccb83d53');
|
|
@@ -34,14 +27,6 @@ const AccountInformation = (props) => {
|
|
|
34
27
|
setCurrentPageId(cartindex);
|
|
35
28
|
}
|
|
36
29
|
}, []);
|
|
37
|
-
// useEffect(() => {
|
|
38
|
-
// var secpropobj = {};
|
|
39
|
-
// templatepropcontext?.pagesnprop[CurrentPageId]?.pageproperties?.forEach(function (arrayItem, arrayindex) {
|
|
40
|
-
// secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
41
|
-
// });
|
|
42
|
-
// setsectionproperties({ ...secpropobj });
|
|
43
|
-
// }, [CurrentPageId, templatepropcontext]);
|
|
44
|
-
|
|
45
30
|
const accountinfo_cssstyles = {
|
|
46
31
|
sectiontitlespan: css({
|
|
47
32
|
':after': {
|
|
File without changes
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
import React, { useEffect, useState
|
|
2
|
-
import
|
|
3
|
-
import { FetchingContext } from '../../../../../../../Contexts/FetchingContext';
|
|
4
|
-
import { WebsiteDesignWorkPlaceContext } from '../../../../../../../Contexts/WebsiteDesignWorkPlaceContext';
|
|
5
|
-
import { TemplateRoutingContext } from '../../../../../../../Contexts/TemplateRoutingContext';
|
|
6
|
-
import { BrowserRouter as Router, useHistory } from 'react-router-dom';
|
|
7
|
-
import generalstyles from '../../../../../../../styles/general/general.module.css';
|
|
1
|
+
import React, { useEffect, useState } from 'react';
|
|
2
|
+
import generalstyles from '../../../styles/general/general.module.css';
|
|
8
3
|
import { BsChevronLeft, BsChevronRight } from 'react-icons/bs';
|
|
9
4
|
import { css } from 'glamor';
|
|
10
5
|
import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemPanel, AccordionItemState } from 'react-accessible-accordion';
|
|
11
|
-
import '
|
|
6
|
+
import '../../../styles/staticpages/accordion.module.css';
|
|
12
7
|
import { MdOutlineKeyboardArrowDown, MdOutlineKeyboardArrowUp } from 'react-icons/md';
|
|
13
8
|
const Categoriesdropdown = (props) => {
|
|
14
|
-
let history = useHistory();
|
|
15
|
-
const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
16
|
-
const { lang, langdetect } = useContext(LanguageContext);
|
|
17
|
-
const { fetchAuthorizationQueryContext } = useContext(FetchingContext);
|
|
18
9
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
10
|
+
const lang = props.actions.lang;
|
|
11
|
+
const langdetect = props.actions.langdetect;
|
|
12
|
+
const authdetailsContext = props.actions.authdetailsContext;
|
|
13
|
+
const routingcountext = props.actions.routingcountext;
|
|
14
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
15
|
+
const actions = props.actions;
|
|
16
|
+
const history = props.actions.history;
|
|
19
17
|
useEffect(() => {
|
|
20
18
|
setsectionproperties(props.sectionpropertiesprops);
|
|
21
19
|
}, [props.sectionpropertiesprops]);
|
|
22
|
-
|
|
23
20
|
const sectionstyles = {
|
|
24
21
|
collectionbtn: css({
|
|
25
22
|
color: sectionproperties.collectionsectiontextcolor,
|
|
@@ -32,13 +29,66 @@ const Categoriesdropdown = (props) => {
|
|
|
32
29
|
},
|
|
33
30
|
}),
|
|
34
31
|
};
|
|
35
|
-
const Dropdowncontainer = () => {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
32
|
+
// const Dropdowncontainer = () => {
|
|
33
|
+
// return (
|
|
34
|
+
// <div className="col-lg-12 p-0">
|
|
35
|
+
// <div className={generalstyles.sub_scrollbar + ' row m-0 w-100 '} style={{ height: sectionproperties.image_height - 9 + 'vh', overflowY: 'scroll' }}>
|
|
36
|
+
// <div className="col-lg-12 p-0">
|
|
37
|
+
// {authdetailsContext.instinfo.instcollections.map((item, index) => (
|
|
38
|
+
// <div className="row m-0 w-100">
|
|
39
|
+
// <div
|
|
40
|
+
// className="col-lg-12 cursor-pointer"
|
|
41
|
+
// onClick={() => {
|
|
42
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
43
|
+
// }}
|
|
44
|
+
// >
|
|
45
|
+
// <div className={sectionstyles.collectionbtn + ' row m-0 w-100 '}>
|
|
46
|
+
// <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center '}>
|
|
47
|
+
// <p className={' dropdownitem text-overflow m-0 p-0 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
|
|
48
|
+
// </div>
|
|
49
|
+
// <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
|
|
50
|
+
// <i className={' p-0 h-100 allcentered '}>
|
|
51
|
+
// {langdetect == 'en' ? (
|
|
52
|
+
// <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
|
|
53
|
+
// ) : (
|
|
54
|
+
// <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
|
|
55
|
+
// )}
|
|
56
|
+
// </i>
|
|
57
|
+
// </div>
|
|
58
|
+
// </div>
|
|
59
|
+
// </div>
|
|
60
|
+
// {index != authdetailsContext?.instinfo?.instcollections?.length - 1 && (
|
|
61
|
+
// <div className="col-lg-12">
|
|
62
|
+
// <hr />
|
|
63
|
+
// </div>
|
|
64
|
+
// )}
|
|
65
|
+
// </div>
|
|
66
|
+
// ))}
|
|
67
|
+
// </div>
|
|
68
|
+
// </div>
|
|
69
|
+
// </div>
|
|
70
|
+
// );
|
|
71
|
+
// };
|
|
72
|
+
return (
|
|
73
|
+
<div className={' row m-0 w-100 '} style={{ background: sectionproperties.collectionssectionbgcolor, boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor }}>
|
|
74
|
+
<div className="col-lg-12 p-3 mb-3 d-flex d-md-none" style={{ backgroundColor: sectionproperties.collectionssectiontitlebgcolor }}>
|
|
75
|
+
<p
|
|
76
|
+
className="m-0 p-0 text-center"
|
|
77
|
+
style={{
|
|
78
|
+
color: sectionproperties.collectionssectiontitlecolor,
|
|
79
|
+
fontSize: sectionproperties.collectionssectiontitlefontsize + 'px',
|
|
80
|
+
fontWeight: sectionproperties.collectionssectiontitlefonteweight,
|
|
81
|
+
textTransform: sectionproperties.collectionssectiontitletexttransfrom,
|
|
82
|
+
}}
|
|
83
|
+
>
|
|
84
|
+
{langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear}
|
|
85
|
+
</p>
|
|
86
|
+
</div>
|
|
87
|
+
<div className="row m-0 w-100 d-flex d-md-none">
|
|
88
|
+
<div className="col-lg-12 p-0">
|
|
89
|
+
<div className={generalstyles.sub_scrollbar + ' row m-0 w-100 '} style={{ height: sectionproperties.image_height - 9 + 'vh', overflowY: 'scroll' }}>
|
|
90
|
+
<div className="col-lg-12 p-0">
|
|
91
|
+
{authdetailsContext?.instinfo?.instcollections.map((item, index) => (
|
|
42
92
|
<div className="row m-0 w-100">
|
|
43
93
|
<div
|
|
44
94
|
className="col-lg-12 cursor-pointer"
|
|
@@ -61,34 +111,17 @@ const Categoriesdropdown = (props) => {
|
|
|
61
111
|
</div>
|
|
62
112
|
</div>
|
|
63
113
|
</div>
|
|
64
|
-
{index !=
|
|
114
|
+
{index != authdetailsContext?.instinfo?.instcollections?.length - 1 && (
|
|
65
115
|
<div className="col-lg-12">
|
|
66
116
|
<hr />
|
|
67
117
|
</div>
|
|
68
118
|
)}
|
|
69
119
|
</div>
|
|
70
120
|
))}
|
|
121
|
+
</div>
|
|
71
122
|
</div>
|
|
72
123
|
</div>
|
|
73
124
|
</div>
|
|
74
|
-
);
|
|
75
|
-
};
|
|
76
|
-
return (
|
|
77
|
-
<div className={' row m-0 w-100 '} style={{ background: sectionproperties.collectionssectionbgcolor, boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor }}>
|
|
78
|
-
<div className="col-lg-12 p-3 mb-3 d-flex d-md-none" style={{ backgroundColor: sectionproperties.collectionssectiontitlebgcolor }}>
|
|
79
|
-
<p
|
|
80
|
-
className="m-0 p-0 text-center"
|
|
81
|
-
style={{
|
|
82
|
-
color: sectionproperties.collectionssectiontitlecolor,
|
|
83
|
-
fontSize: sectionproperties.collectionssectiontitlefontsize + 'px',
|
|
84
|
-
fontWeight: sectionproperties.collectionssectiontitlefonteweight,
|
|
85
|
-
textTransform: sectionproperties.collectionssectiontitletexttransfrom,
|
|
86
|
-
}}
|
|
87
|
-
>
|
|
88
|
-
{langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear}
|
|
89
|
-
</p>
|
|
90
|
-
</div>
|
|
91
|
-
<div className="row m-0 w-100 d-flex d-md-none">{Dropdowncontainer()}</div>
|
|
92
125
|
<div className="row m-0 w-100 d-none d-md-flex">
|
|
93
126
|
<Accordion allowMultipleExpanded={true} allowZeroExpanded={true} className="w-100" preExpanded={[1]}>
|
|
94
127
|
<AccordionItem uuid={1}>
|
|
@@ -135,7 +168,44 @@ const Categoriesdropdown = (props) => {
|
|
|
135
168
|
</AccordionItemButton>
|
|
136
169
|
</AccordionItemHeading>
|
|
137
170
|
<AccordionItemPanel>
|
|
138
|
-
<div className="row m-0 pt-3 w-100 d-none d-md-flex">
|
|
171
|
+
<div className="row m-0 pt-3 w-100 d-none d-md-flex">
|
|
172
|
+
<div className="col-lg-12 p-0">
|
|
173
|
+
<div className={generalstyles.sub_scrollbar + ' row m-0 w-100 '} style={{ height: sectionproperties.image_height - 9 + 'vh', overflowY: 'scroll' }}>
|
|
174
|
+
<div className="col-lg-12 p-0">
|
|
175
|
+
{authdetailsContext?.instinfo?.instcollections.map((item, index) => (
|
|
176
|
+
<div className="row m-0 w-100">
|
|
177
|
+
<div
|
|
178
|
+
className="col-lg-12 cursor-pointer"
|
|
179
|
+
onClick={() => {
|
|
180
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
181
|
+
}}
|
|
182
|
+
>
|
|
183
|
+
<div className={sectionstyles.collectionbtn + ' row m-0 w-100 '}>
|
|
184
|
+
<div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center '}>
|
|
185
|
+
<p className={' dropdownitem text-overflow m-0 p-0 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
|
|
186
|
+
</div>
|
|
187
|
+
<div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
|
|
188
|
+
<i className={' p-0 h-100 allcentered '}>
|
|
189
|
+
{langdetect == 'en' ? (
|
|
190
|
+
<BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
|
|
191
|
+
) : (
|
|
192
|
+
<BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
|
|
193
|
+
)}
|
|
194
|
+
</i>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
{index != authdetailsContext?.instinfo?.instcollections?.length - 1 && (
|
|
199
|
+
<div className="col-lg-12">
|
|
200
|
+
<hr />
|
|
201
|
+
</div>
|
|
202
|
+
)}
|
|
203
|
+
</div>
|
|
204
|
+
))}
|
|
205
|
+
</div>
|
|
206
|
+
</div>
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
139
209
|
</AccordionItemPanel>
|
|
140
210
|
</AccordionItem>
|
|
141
211
|
</Accordion>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
2
|
import generalstyles from '../../../styles/general/general.module.css';
|
|
3
|
-
// import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
|
|
4
|
-
// import { FetchingContext } from '../../../../../../../Contexts/FetchingContext';
|
|
5
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../../../../Contexts/WebsiteDesignWorkPlaceContext';
|
|
6
|
-
// import { TemplateRoutingContext } from '../../../../../../../Contexts/TemplateRoutingContext';
|
|
7
3
|
import { Modal } from 'react-bootstrap';
|
|
8
|
-
// import Pagepreloader from '../Pagepreloader/Pagepreloader';
|
|
9
4
|
import { css } from 'glamor';
|
|
10
5
|
import { IoLocationSharp } from 'react-icons/io5';
|
|
11
6
|
import shoppingcart from '../../../assets/images/shoppingcart.png';
|
|
@@ -18,15 +13,6 @@ import cod from '../../../assets/images/cod.png';
|
|
|
18
13
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
19
14
|
import Staticpagesrouter from '../Staticpagesrouter/Staticpagesrouter.jsx';
|
|
20
15
|
const Ordershistory = (props) => {
|
|
21
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
22
|
-
// const { routingcountext } = useContext(TemplateRoutingContext);
|
|
23
|
-
// const { FetchQueriesEngineContext, setFetchQueriesEngineContext, fetchorderhistoryQueryContext, fetchAuthorizationQueryContext, navigationstyle } = useContext(FetchingContext);
|
|
24
|
-
// const {
|
|
25
|
-
// fetch_inst_tabex_websitetemplatesQueryContext,
|
|
26
|
-
// pageindexcontext,
|
|
27
|
-
// StatePagePropertiesContext,
|
|
28
|
-
// TabexSectionsComponentsContext,
|
|
29
|
-
// } = useContext(WebsiteDesignWorkPlaceContext)
|
|
30
16
|
const lang = props.actions.lang;
|
|
31
17
|
const langdetect = props.actions.langdetect;
|
|
32
18
|
const routingcountext = props.actions.routingcountext;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
2
|
import generalstyles from '../../../styles/general/general.module.css';
|
|
3
|
-
// import Pagepreloader from '../Pagepreloader/Pagepreloader';
|
|
4
|
-
|
|
5
3
|
import tabstyles from '../../../styles/general/tabs.module.css';
|
|
6
|
-
|
|
7
4
|
import { css } from 'glamor';
|
|
8
|
-
|
|
9
|
-
// import { ProductsCardsSectionContext_Provider } from '../../../../../../../Contexts/ProductsCardsSectionContext';
|
|
10
5
|
import Staticpagesrouter from '../Staticpagesrouter/Staticpagesrouter.jsx';
|
|
11
6
|
import { IKImage } from 'imagekitio-react';
|
|
12
7
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
@@ -1,31 +1,13 @@
|
|
|
1
1
|
//productidprops
|
|
2
2
|
import React, { useEffect, useState, useContext } from 'react';
|
|
3
|
-
// import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
|
|
4
|
-
// import { FetchingContext } from '../../../../../../../Contexts/FetchingContext';
|
|
5
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../../../../Contexts/WebsiteDesignWorkPlaceContext';
|
|
6
|
-
// import { TemplateRoutingContext } from '../../../../../../../Contexts/TemplateRoutingContext';
|
|
7
|
-
|
|
8
3
|
import generalstyles from '../../../styles/general/general.module.css';
|
|
9
4
|
import productinfostyles from '../../../styles/staticpages/productinfo.module.css';
|
|
10
|
-
|
|
11
|
-
// import { serverbaselink, instapikey } from '../../../../../../../Env_Variables';
|
|
12
|
-
// import { Contexthandlerscontext } from '../../../../../../../Contexts/Contexthandlerscontext';
|
|
13
|
-
// import { ProductsCardsSectionContext_Provider } from '../../../../../../../Contexts/ProductsCardsSectionContext';
|
|
14
|
-
// import { Page_Template_Fetch_API } from '../../../../../../../components/API/WebsiteDesign_API';
|
|
15
|
-
// import Pagepreloader from '../Pagepreloader/Pagepreloader';
|
|
16
|
-
// import { LeftArrow, RightArrow, onWheel } from '../../Sections/Cards/CardsSection/Arrows';
|
|
17
|
-
// import { FetchRelatedProducts_API } from '../../../../../../../components/API/API';
|
|
18
|
-
// import { useMutation, useQuery, useQueryClient } from 'react-query';
|
|
19
|
-
// import { NotificationManager } from 'react-notifications';
|
|
20
5
|
import ImageGallery from 'react-image-gallery';
|
|
21
|
-
|
|
22
6
|
import { MdOutlineShoppingCart } from 'react-icons/md';
|
|
23
7
|
import { CircularProgress } from 'react-cssfx-loading';
|
|
24
8
|
import { css } from 'glamor';
|
|
25
9
|
import ShowMoreText from 'react-show-more-text';
|
|
26
|
-
|
|
27
10
|
import { useParams } from 'react-router';
|
|
28
|
-
|
|
29
11
|
import { IKImage } from 'imagekitio-react';
|
|
30
12
|
import { FaShippingFast } from 'react-icons/fa';
|
|
31
13
|
import { FiMapPin } from 'react-icons/fi';
|
|
@@ -39,39 +21,7 @@ import { CgShoppingBag } from 'react-icons/cg';
|
|
|
39
21
|
import { BsBag } from 'react-icons/bs';
|
|
40
22
|
import { IoBagHandleOutline } from 'react-icons/io5';
|
|
41
23
|
|
|
42
|
-
// import "react-image-gallery/styles/css/image-gallery.css";
|
|
43
|
-
|
|
44
24
|
const Productinfo = (props) => {
|
|
45
|
-
// const queryClient = useQueryClient();
|
|
46
|
-
|
|
47
|
-
// const { templatepropcontext } = useContext(Contexthandlerscontext);
|
|
48
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
49
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
50
|
-
// const {
|
|
51
|
-
// fetch_inst_tabex_websitetemplatesQueryContext,
|
|
52
|
-
// setpageindexcontext,
|
|
53
|
-
// ProjectOpenrcTypeContext,
|
|
54
|
-
// TemplateIdContext,
|
|
55
|
-
// INSTAPIKEYCONTEXT,
|
|
56
|
-
// // PageTemplateFetcherQueryContext,
|
|
57
|
-
// // CurrentPageIdContext,
|
|
58
|
-
// setCurrentPageIdContext,
|
|
59
|
-
// pageindexcontext,
|
|
60
|
-
// StatePagePropertiesContext,
|
|
61
|
-
// TabexSectionsComponentsContext,
|
|
62
|
-
// } = useContext(WebsiteDesignWorkPlaceContext);
|
|
63
|
-
// const {
|
|
64
|
-
// FetchQueriesEngineContext,
|
|
65
|
-
// setFetchQueriesEngineContext,
|
|
66
|
-
// fetchProductInfoQueryContext,
|
|
67
|
-
// fetchproductinfoObjContext,
|
|
68
|
-
// setfetchproductinfoObjContext,
|
|
69
|
-
// AddtoCartMutationContext,
|
|
70
|
-
// ProductIdProdutInfoModalContext,
|
|
71
|
-
// AddtoCartContext,
|
|
72
|
-
// fetchAuthorizationQueryContext,
|
|
73
|
-
// addtofavoritescontext,
|
|
74
|
-
// } = useContext(FetchingContext);
|
|
75
25
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
76
26
|
const lang = props.actions.lang;
|
|
77
27
|
const langdetect = props.actions.langdetect;
|
|
@@ -1,25 +1,9 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
|
|
3
|
-
// import { BrowserRouter as Router, useHistory } from 'react-router-dom';
|
|
4
|
-
// import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
|
|
5
|
-
// import { FetchingContext } from '../../../../../../../Contexts/FetchingContext';
|
|
6
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../../../../Contexts/WebsiteDesignWorkPlaceContext';
|
|
7
|
-
// import { TemplateRoutingContext } from '../../../../../../../Contexts/TemplateRoutingContext';
|
|
8
2
|
import { css } from 'glamor';
|
|
9
|
-
// import { useMutation, useQuery, useQueryClient } from 'react-query';
|
|
10
|
-
|
|
11
|
-
// import Loader from 'react-loader-spinner';
|
|
12
3
|
import { MdOutlineLayersClear } from 'react-icons/md';
|
|
13
4
|
import { IKImage } from 'imagekitio-react';
|
|
14
5
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
15
6
|
const Searchlist = (props) => {
|
|
16
|
-
// // let history = useHistory();
|
|
17
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
18
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
19
|
-
// const {
|
|
20
|
-
// SearchHeaderInputContext,
|
|
21
|
-
// SearchHeaderMutationContext,
|
|
22
|
-
// } = useContext(FetchingContext);
|
|
23
7
|
const lang = props.actions.lang;
|
|
24
8
|
const langdetect = props.actions.langdetect;
|
|
25
9
|
const routingcountext = props.actions.routingcountext;
|
|
@@ -1,21 +1,9 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
2
|
import loginstyles from '../../../styles/staticpages/signup.module.css';
|
|
3
|
-
// import Pagepreloader from '../Pagepreloader/Pagepreloader';
|
|
4
|
-
// import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
|
|
5
|
-
// import { FetchingContext } from '../../../../../../../Contexts/FetchingContext';
|
|
6
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../../../../Contexts/WebsiteDesignWorkPlaceContext';
|
|
7
|
-
// import { TemplateRoutingContext } from '../../../../../../../Contexts/TemplateRoutingContext';
|
|
8
|
-
|
|
9
|
-
// import { instapikey } from '../../../../../../../Env_Variables';
|
|
10
|
-
// import { useMutation, useQueryClient } from 'react-query';
|
|
11
|
-
// import { CustomerSignUp_API } from '../../../../../../../components/API/API.js';
|
|
12
3
|
import { CircularProgress } from 'react-cssfx-loading';
|
|
13
|
-
// import { NotificationManager } from 'react-notifications';
|
|
14
4
|
import TextareaAutosize from 'react-textarea-autosize';
|
|
15
5
|
import { css } from 'glamor';
|
|
16
|
-
|
|
17
6
|
import { defaultstyles, defaultstylestranslated } from '../../../StylesJS/Customstyles';
|
|
18
|
-
|
|
19
7
|
import GoogleLogin from '../Login/GoogleLoginButton.jsx';
|
|
20
8
|
import FacebookLoginButton from '../Login/FacebookLoginButton.jsx';
|
|
21
9
|
const Select = React.lazy(() => import('react-select'));
|
|
File without changes
|
package/{srcOLD → src1-10}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx
RENAMED
|
@@ -6,19 +6,9 @@ import { FiShoppingCart } from 'react-icons/fi';
|
|
|
6
6
|
import { FaStar } from 'react-icons/fa';
|
|
7
7
|
import { MdOutlinePolicy } from 'react-icons/md';
|
|
8
8
|
import { css } from 'glamor';
|
|
9
|
-
// import { Page_Template_Fetch_API } from '../../../../../../../components/API/WebsiteDesign_API';
|
|
10
|
-
// import { useMutation, useQuery, useQueryClient } from 'react-query';
|
|
11
|
-
// import { useHistory, Link } from 'react-router-dom';
|
|
12
|
-
// import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
|
|
13
|
-
// import { FetchingContext } from '../../../../../../../Contexts/FetchingContext';
|
|
14
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../../../../Contexts/WebsiteDesignWorkPlaceContext';
|
|
15
|
-
// import { TemplateRoutingContext } from '../../../../../../../Contexts/TemplateRoutingContext';
|
|
16
|
-
// import CircularProgress from 'react-cssfx-loading/lib/CircularProgress';
|
|
17
9
|
|
|
18
10
|
const Staticpagesrouter = (props) => {
|
|
19
|
-
// const { fetchAuthorizationQueryContext, navigationstyle, setnavigationstyle, fetchFavoriteProductsQueryContext } = useContext(FetchingContext);
|
|
20
11
|
const [currentchecked, setcurrentchecked] = useState(props.currentpageprops);
|
|
21
|
-
|
|
22
12
|
const [CurrentPageId, setCurrentPageId] = useState('');
|
|
23
13
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
24
14
|
const templatepropcontext = props.actions.templatepropcontext;
|
|
File without changes
|
|
@@ -1,21 +1,10 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
|
|
3
|
-
// import { FetchingContext } from '../../../../../../../Contexts/FetchingContext';
|
|
4
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../../../../Contexts/WebsiteDesignWorkPlaceContext';
|
|
5
|
-
// import { TemplateRoutingContext } from '../../../../../../../Contexts/TemplateRoutingContext';
|
|
6
2
|
import generalstyles from '../../../styles/general/general.module.css';
|
|
7
|
-
|
|
8
3
|
import wishliststyles from '../../../styles/staticpages/wishlist.module.css';
|
|
9
|
-
// import { BrowserRouter as Router, useHistory } from 'react-router-dom';
|
|
10
|
-
// import Pagepreloader from '../Pagepreloader/Pagepreloader';
|
|
11
|
-
|
|
12
4
|
import { HiOutlineTrash } from 'react-icons/hi';
|
|
13
5
|
import { Modal } from 'react-bootstrap';
|
|
14
6
|
import { IoMdClose } from 'react-icons/io';
|
|
15
|
-
// import Productinfo from '../Productinfo/Productinfo';
|
|
16
7
|
import { css } from 'glamor';
|
|
17
|
-
// import { useParams } from 'react-router';
|
|
18
|
-
// import { ProductsCardsSectionContext_Provider } from '../../../../../../../Contexts/ProductsCardsSectionContext';
|
|
19
8
|
import Staticpagesrouter from '../Staticpagesrouter/Staticpagesrouter.jsx';
|
|
20
9
|
import shoppingcart from '../../../assets/images/shoppingcart.png';
|
|
21
10
|
import { IKImage } from 'imagekitio-react';
|
|
@@ -27,18 +16,6 @@ import { IoBagHandleOutline } from 'react-icons/io5';
|
|
|
27
16
|
import { MdOutlineShoppingCart } from 'react-icons/md';
|
|
28
17
|
import { IKpublicKey, IKurlEndpoint, serverbaselink } from '../../../../Env';
|
|
29
18
|
const Wishlist = (props) => {
|
|
30
|
-
// let history = useHistory();
|
|
31
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
32
|
-
// const {
|
|
33
|
-
// fetchFavoriteProductsQueryContext,
|
|
34
|
-
// FetchQueriesEngineContext,
|
|
35
|
-
// setFetchQueriesEngineContext,
|
|
36
|
-
// addtofavoritescontext,
|
|
37
|
-
// setShowProductInfoModalContext,
|
|
38
|
-
// setProductIdProdutInfoModalContext,
|
|
39
|
-
// navigationstyle,
|
|
40
|
-
// } = useContext(FetchingContext);
|
|
41
|
-
// const { fetch_inst_tabex_websitetemplatesQueryContext, pageindexcontext, TabexSectionsComponentsContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
42
19
|
const lang = props.actions.lang;
|
|
43
20
|
const langdetect = props.actions.langdetect;
|
|
44
21
|
const fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -14,8 +14,11 @@ import Signup from './TabexComponents/StaticPages/Signup/Signup.jsx';
|
|
|
14
14
|
import AccountInformation from './TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx';
|
|
15
15
|
import Policies from './TabexComponents/StaticPages/Policies/Policies.jsx';
|
|
16
16
|
import CartSlider from './TabexComponents/StaticPages/CartSlider/CartSlider.jsx';
|
|
17
|
+
import Categoriesdropdown from './TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx';
|
|
17
18
|
// //Sections
|
|
18
19
|
import CardsSection from './TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx';
|
|
20
|
+
import CardsSection2 from './TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx';
|
|
21
|
+
import Sixverticalcardssection from './TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx';
|
|
19
22
|
|
|
20
23
|
import Backgroundimage_with_toppill from './TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx';
|
|
21
24
|
import BackgroundimageandTextsection from './TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx';
|
|
@@ -41,7 +44,6 @@ import Slideshowzoom from './TabexComponents/Sections/Slideshow/Slideshowzoom/Sl
|
|
|
41
44
|
import Header8 from './TabexComponents/Headers/Header8/Header8.jsx';
|
|
42
45
|
import AllinoneHeader from './TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx';
|
|
43
46
|
import Header_threesectionslogocentered from './TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx';
|
|
44
|
-
import Header4 from './TabexComponents/Headers/Header4/Header4.jsx';
|
|
45
47
|
import Header6 from './TabexComponents/Headers/Header6/Header6.jsx';
|
|
46
48
|
import HeaderRestaurant from './TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx';
|
|
47
49
|
import HeaderwithContactinfo from './TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx';
|
|
@@ -102,11 +104,11 @@ const returnLibrary = () => {
|
|
|
102
104
|
AccountInformation: AccountInformation,
|
|
103
105
|
Policies: Policies,
|
|
104
106
|
CartSlider: CartSlider,
|
|
107
|
+
Categoriesdropdown: Categoriesdropdown,
|
|
105
108
|
|
|
106
109
|
Header8: Header8,
|
|
107
110
|
AllinoneHeader: AllinoneHeader,
|
|
108
111
|
Header_threesectionslogocentered: Header_threesectionslogocentered,
|
|
109
|
-
Header4: Header4,
|
|
110
112
|
Header6: Header6,
|
|
111
113
|
HeaderRestaurant: HeaderRestaurant,
|
|
112
114
|
HeaderwithContactinfo: HeaderwithContactinfo,
|
|
@@ -169,6 +171,8 @@ const returnLibrary = () => {
|
|
|
169
171
|
Slideshowslide: Slideshowslide,
|
|
170
172
|
Slideshowzoom: Slideshowzoom,
|
|
171
173
|
CardsSection: CardsSection,
|
|
174
|
+
CardsSection2: CardsSection2,
|
|
175
|
+
Sixverticalcardssection: Sixverticalcardssection,
|
|
172
176
|
Backgroundimage1: Backgroundimage1,
|
|
173
177
|
};
|
|
174
178
|
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|