tabexseriescomponents 0.0.71 → 0.0.74

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.
Files changed (184) hide show
  1. package/dist/index.cjs.js +689 -375
  2. package/dist/index.esm.js +696 -382
  3. package/dist/index.umd.js +692 -379
  4. package/package.json +1 -1
  5. package/{src1-10 → srcOLD}/Contexts/LanguageContext.jsx +0 -0
  6. package/{src1-10 → srcOLD}/Contexts/ProductsCardsSectionContext.jsx +0 -0
  7. package/{src1-10 → srcOLD}/StylesJS/Customstyles.js +0 -0
  8. package/{src1-10 → srcOLD}/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +9 -0
  9. package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +19 -0
  10. package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +8 -0
  11. package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +7 -0
  12. package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +72 -45
  13. package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -0
  14. package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +9 -0
  15. package/{src1-10 → srcOLD}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +9 -0
  16. package/{src1-10 → srcOLD}/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +15 -0
  17. package/{src1-10 → srcOLD}/TabexComponents/Cards/MenuCard/MenuCard.jsx +12 -0
  18. package/{src1-10 → srcOLD}/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +12 -0
  19. package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard6/Productcard6.jsx +10 -0
  20. package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard7/Productcard7.jsx +10 -0
  21. package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +14 -0
  22. package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +17 -0
  23. package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +14 -1
  24. package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +11 -0
  25. package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +10 -0
  26. package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +10 -0
  27. package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +10 -0
  28. package/{src1-10 → srcOLD}/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +12 -0
  29. package/{src1-10 → srcOLD}/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +12 -0
  30. package/{src1-10 → srcOLD}/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +9 -0
  31. package/{src1-10 → srcOLD}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +15 -3
  32. package/{src1-10 → srcOLD}/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +11 -1
  33. package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer1/Footer1.jsx +26 -26
  34. package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer2/Footer2.jsx +25 -24
  35. package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer3/Footer3.jsx +6 -14
  36. package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer4/Footer4.jsx +12 -11
  37. package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer5/Footer5.jsx +88 -81
  38. package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer6/Footer6.jsx +48 -39
  39. package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer7/Footer7.jsx +61 -58
  40. package/{src1-10 → srcOLD}/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +34 -27
  41. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  42. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/noimage.png +0 -0
  43. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  44. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  45. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  46. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  47. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  48. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  49. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  50. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  51. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  52. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/usflag.png +0 -0
  53. package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  54. package/{src1-10 → srcOLD}/TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx +99 -97
  55. package/{src1-10 → srcOLD}/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +80 -74
  56. package/{src1-10 → srcOLD}/TabexComponents/Headers/Header4/Header4.jsx +95 -77
  57. package/{src1-10 → srcOLD}/TabexComponents/Headers/Header6/Header6.jsx +76 -73
  58. package/srcOLD/TabexComponents/Headers/Header8/Header8.jsx +882 -0
  59. package/{src1-10 → srcOLD}/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +137 -93
  60. package/{src1-10 → srcOLD}/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +114 -85
  61. package/{src1-10 → srcOLD}/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +23 -3
  62. package/{src1-10 → srcOLD}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +114 -116
  63. package/{src1-10 → srcOLD}/TabexComponents/Headers/Modernheader/Modernheader.jsx +92 -100
  64. package/{src1-10 → srcOLD}/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +98 -110
  65. package/srcOLD/TabexComponents/Headers/Subheader/Subheader copy.jsx +228 -0
  66. package/{src1-10 → srcOLD}/TabexComponents/Headers/Subheader/Subheader.jsx +22 -10
  67. package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -0
  68. package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -0
  69. package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +9 -0
  70. package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +7 -0
  71. package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -0
  72. package/srcOLD/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +784 -0
  73. package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +75 -7
  74. package/{src1-10/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx → srcOLD/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.js} +92 -82
  75. package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.js +0 -0
  76. package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +0 -0
  77. package/{src1-10/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx → srcOLD/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.js} +74 -34
  78. package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -0
  79. package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -0
  80. package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -0
  81. package/srcOLD/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +284 -0
  82. package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -0
  83. package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -0
  84. package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -0
  85. package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -0
  86. package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -0
  87. package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -0
  88. package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +8 -0
  89. package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +414 -0
  90. package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +53 -92
  91. package/srcOLD/TabexComponents/StaticPages/Aboutus/Aboutus.js +175 -0
  92. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +15 -0
  93. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -0
  94. package/{src1-10/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx → srcOLD/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.js} +40 -110
  95. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -0
  96. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Filter/Filter.jsx +0 -0
  97. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -0
  98. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -0
  99. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Login/Login.jsx +0 -0
  100. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +0 -0
  101. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +14 -0
  102. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Policies/Policies.jsx +5 -0
  103. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +50 -0
  104. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +16 -0
  105. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +12 -0
  106. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Signup/Signup.jsx +0 -0
  107. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +10 -0
  108. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Viewcart/Viewcart.js +0 -0
  109. package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +23 -0
  110. package/{src1-10 → srcOLD}/assets/images/cod.png +0 -0
  111. package/{src1-10 → srcOLD}/assets/images/egyptflag.png +0 -0
  112. package/{src1-10 → srcOLD}/assets/images/fawry.png +0 -0
  113. package/{src1-10 → srcOLD}/assets/images/payment.png +0 -0
  114. package/{src1-10 → srcOLD}/assets/images/paymob.png +0 -0
  115. package/{src1-10 → srcOLD}/assets/images/paypal.png +0 -0
  116. package/{src1-10 → srcOLD}/assets/images/shoppingcart.png +0 -0
  117. package/{src1-10 → srcOLD}/assets/images/usflag.png +0 -0
  118. package/{src1-10 → srcOLD}/assets/images/visa.png +0 -0
  119. package/{src1-10 → srcOLD}/assets/images/whatsapp.png +0 -0
  120. package/{src1-10 → srcOLD}/button.jsx +0 -0
  121. package/{src1-10 → srcOLD}/index.jsx +2 -6
  122. package/{src1-10 → srcOLD}/styles/Home.module.css +0 -0
  123. package/{src1-10 → srcOLD}/styles/cards/Categorcycard_fullimage.module.css +0 -0
  124. package/{src1-10 → srcOLD}/styles/cards/Categorycard_slidebgscaled.module.css +0 -0
  125. package/{src1-10 → srcOLD}/styles/cards/Categorycard_withshapes.module.css +0 -0
  126. package/{src1-10 → srcOLD}/styles/cards/Productcard6.module.css +0 -0
  127. package/{src1-10 → srcOLD}/styles/cards/Productcard_with_circularbg.module.css +0 -0
  128. package/{src1-10 → srcOLD}/styles/cards/Productccard_with_zoominonhover.module.css +0 -0
  129. package/{src1-10 → srcOLD}/styles/cards/Prouductcard_with_zoomhover.module.css +0 -0
  130. package/{src1-10 → srcOLD}/styles/cards/categorycard.module.css +0 -0
  131. package/{src1-10 → srcOLD}/styles/cards/categorycard3.module.css +0 -0
  132. package/{src1-10 → srcOLD}/styles/cards/categorycardwithtext.module.css +0 -0
  133. package/{src1-10 → srcOLD}/styles/cards/productcard_animatedbuttons.module.css +0 -0
  134. package/{src1-10 → srcOLD}/styles/cards/productcard_with_textonhover.module.css +0 -0
  135. package/{src1-10 → srcOLD}/styles/cards/productccard_with_imageontopleft.module.css +0 -0
  136. package/{src1-10 → srcOLD}/styles/general/bootstrap.css +73 -68
  137. package/{src1-10 → srcOLD}/styles/general/dropdown.css +0 -0
  138. package/{src1-10 → srcOLD}/styles/general/editorbardropdown.module.css +0 -0
  139. package/{src1-10 → srcOLD}/styles/general/filter.module.css +0 -0
  140. package/{src1-10 → srcOLD}/styles/general/form.module.css +0 -0
  141. package/{src1-10 → srcOLD}/styles/general/general.module.css +0 -152
  142. package/{src1-10 → srcOLD}/styles/general/image-gallery.css +0 -0
  143. package/{src1-10 → srcOLD}/styles/general/react-accessible-accordion.module.css +0 -0
  144. package/{src1-10 → srcOLD}/styles/general/react-phone-input-2.module.css +0 -0
  145. package/{src1-10 → srcOLD}/styles/general/scrollbtn.module.css +0 -0
  146. package/{src1-10 → srcOLD}/styles/general/slick.module.css +0 -0
  147. package/{src1-10 → srcOLD}/styles/general/tabs.module.css +0 -0
  148. package/{src1-10 → srcOLD}/styles/general/workplaceeditor.module.css +0 -0
  149. package/{src1-10 → srcOLD}/styles/globals.css +0 -0
  150. package/{src1-10 → srcOLD}/styles/headers/Allinoneheader.module.css +0 -0
  151. package/{src1-10 → srcOLD}/styles/headers/Header7.module.css +0 -0
  152. package/{src1-10 → srcOLD}/styles/headers/Header_threesectionslogocentered.module.css +0 -0
  153. package/{src1-10 → srcOLD}/styles/headers/Sideheader.module.css +0 -0
  154. package/{src1-10 → srcOLD}/styles/headers/classicheaderstyles.module.css +0 -0
  155. package/{src1-10 → srcOLD}/styles/headers/dropdown.css +0 -0
  156. package/{src1-10 → srcOLD}/styles/headers/header4.module.css +0 -0
  157. package/{src1-10 → srcOLD}/styles/headers/header5.module.css +0 -0
  158. package/{src1-10 → srcOLD}/styles/headers/header6.module.css +0 -0
  159. package/{src1-10 → srcOLD}/styles/headers/header_contactinfo.module.css +0 -0
  160. package/{src1-10 → srcOLD}/styles/headers/headerresturant.module.css +0 -0
  161. package/{src1-10 → srcOLD}/styles/headers/headerstyles.module.css +0 -0
  162. package/{src1-10 → srcOLD}/styles/headers/modernheader.module.css +0 -0
  163. package/{src1-10 → srcOLD}/styles/headers/subheader.module.css +0 -0
  164. package/{src1-10 → srcOLD}/styles/sections/Backgroundimage1.module.css +0 -0
  165. package/{src1-10 → srcOLD}/styles/sections/Backgroundimage_with_topcircle.module.css +0 -0
  166. package/{src1-10 → srcOLD}/styles/sections/Section_with_rightbgcont.module.css +0 -0
  167. package/{src1-10 → srcOLD}/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -0
  168. package/{src1-10 → srcOLD}/styles/sections/Slideshow_with_squarebg.module.css +0 -0
  169. package/{src1-10 → srcOLD}/styles/staticpages/accordion.module.css +0 -0
  170. package/{src1-10 → srcOLD}/styles/staticpages/cart.module.css +0 -0
  171. package/{src1-10 → srcOLD}/styles/staticpages/dropdown.css +0 -0
  172. package/{src1-10 → srcOLD}/styles/staticpages/filter.module.css +0 -0
  173. package/{src1-10 → srcOLD}/styles/staticpages/login.module.css +0 -0
  174. package/{src1-10 → srcOLD}/styles/staticpages/productinfo.module.css +0 -0
  175. package/{src1-10 → srcOLD}/styles/staticpages/shop.module.css +0 -0
  176. package/{src1-10 → srcOLD}/styles/staticpages/signup.module.css +0 -0
  177. package/{src1-10 → srcOLD}/styles/staticpages/staticroutersidenav.module.css +0 -0
  178. package/{src1-10 → srcOLD}/styles/staticpages/viewcart.module.css +0 -0
  179. package/{src1-10 → srcOLD}/styles/staticpages/wishlist.module.css +0 -0
  180. package/src1-10/TabexComponents/Headers/Header8/Header8.jsx +0 -888
  181. package/src1-10/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -409
  182. package/src1-10/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -139
  183. package/src1-10/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -197
  184. package/src1-10/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +0 -91
@@ -0,0 +1,175 @@
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 generalstyles from '../../../../../../../styles/general/general.module.css';
6
+ import { BrowserRouter as Router, useHistory } from 'react-router-dom';
7
+ import { css } from 'glamor';
8
+ import { useParams } from 'react-router';
9
+ import { ProductsCardsSectionContext_Provider } from '../../../../../../../Contexts/ProductsCardsSectionContext';
10
+
11
+ const Aboutus = (props) => {
12
+ let history = useHistory();
13
+ const { lang, langdetect } = useContext(LanguageContext);
14
+ const { FetchQueriesEngineContext, setFetchQueriesEngineContext } = useContext(FetchingContext);
15
+ const { fetch_inst_tabex_websitetemplatesQueryContext, pageindexcontext, TabexSectionsComponentsContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
16
+ const { collectionidparams } = useParams();
17
+ useEffect(() => {
18
+ if (Object.keys(StatePagePropertiesContext).length != 0) {
19
+ var secpropobj = {};
20
+ StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
21
+ secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
22
+ });
23
+ setsectionproperties({ ...secpropobj });
24
+ }
25
+ }, [StatePagePropertiesContext]);
26
+ const [CurrentPageId, setCurrentPageId] = useState('');
27
+ const [sectionproperties, setsectionproperties] = useState('');
28
+ useEffect(() => {
29
+ var cartindex = fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.pages.findIndex((x) => x.staticpageid == '62adc7201f0b8');
30
+ if (cartindex >= 0) {
31
+ setCurrentPageId(fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.pages[cartindex].pageid);
32
+ }
33
+ }, [fetch_inst_tabex_websitetemplatesQueryContext.dataUpdatedAt]);
34
+ useEffect(() => {
35
+ if (Object.keys(StatePagePropertiesContext).length != 0) {
36
+ var secpropobj = {};
37
+ StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
38
+ secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
39
+ });
40
+ setsectionproperties({ ...secpropobj });
41
+ }
42
+ }, [StatePagePropertiesContext]);
43
+ const wishlist_cssstyles = {
44
+ sectiontitlespan: css({
45
+ ':after': {
46
+ width: sectionproperties.sectitle_lineafterwidth + '%',
47
+ backgroundColor: sectionproperties.linebgcolor,
48
+ },
49
+ }),
50
+ sectiontitlespan2: css({
51
+ ':after': {
52
+ width: sectionproperties.sectitle_lineafterwidth + 'px',
53
+ height: '100%',
54
+ backgroundColor: sectionproperties.linebgcolor,
55
+ },
56
+ }),
57
+ pill: css({
58
+ minWidth: sectionproperties.pillwidth + 'px',
59
+ height: sectionproperties.pillheight + 'px',
60
+ backgroundColor: sectionproperties.pillbgcolor,
61
+ color: sectionproperties.pillcolor,
62
+ textTransform: sectionproperties.pillcolor,
63
+ fontWeight: sectionproperties.pillfontWeight,
64
+ fontSize: sectionproperties.pillfontSize + 'px',
65
+ borderTopLeftRadius: sectionproperties.pillborderTopLeftRadius + 'px',
66
+ borderTopRightRadius: sectionproperties.pillborderTopRightRadius + 'px',
67
+ borderBottomLeftRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
68
+ borderBottomRightRadius: sectionproperties.pillborderBottomRightRadius + 'px',
69
+ }),
70
+ productNameStyles: css({
71
+ color: sectionproperties.prodNameColor,
72
+ fontSize: sectionproperties.prodNameFontSize + 'px',
73
+ textTransform: sectionproperties.prodNameTextTranform,
74
+ fontWeight: sectionproperties.prodNameFontWeight,
75
+ }),
76
+ productPricestyles: css({
77
+ color: sectionproperties.prodPriceColor,
78
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
79
+ fontWeight: sectionproperties.prodPriceFontWeight,
80
+ }),
81
+ productsalePricestyles: css({
82
+ color: sectionproperties.prodsalePriceColor,
83
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
84
+ fontWeight: sectionproperties.prodsalePriceFontWeight,
85
+ }),
86
+ cart_btn: css({
87
+ width: sectionproperties.cartBtnWidth + 'px',
88
+ height: sectionproperties.cartBtnHeight + 'px',
89
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
90
+ borderBottomLeftRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
91
+ borderBottomRightRadius: sectionproperties.cart_btn_borderBottomRightRadius + 'px',
92
+ borderTopLeftRadius: sectionproperties.cart_btn_borderTopLeftRadius + 'px',
93
+ borderTopRightRadius: sectionproperties.cart_btn_borderTopRightRadius + 'px',
94
+ color: sectionproperties.cartBtnTextcolor,
95
+ textTransform: sectionproperties.cartBtnTexttransform,
96
+ fontWeight: sectionproperties.cartBtnTextfontweight,
97
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
98
+ transition: '.3s',
99
+ opacity: sectionproperties.cartbtn_opacity,
100
+ ':hover': {
101
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
102
+ color: sectionproperties.cartBtnTextcoloronhover,
103
+ opacity: sectionproperties.cartbtn_opacityonhover,
104
+ },
105
+ }),
106
+ trash_btn: css({
107
+ width: sectionproperties.trashbtn_Width + 'px',
108
+ height: sectionproperties.trashbtn_Height + 'px',
109
+ background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
110
+ color: sectionproperties.trashbtn_Textcolor,
111
+ borderBottomLeftRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
112
+ borderBottomRightRadius: sectionproperties.trashbtn_borderBottomRightRadius + 'px',
113
+ borderTopLeftRadius: sectionproperties.trashbtn_borderTopLeftRadius + 'px',
114
+ borderTopRightRadius: sectionproperties.trashbtn_borderTopRightRadius + 'px',
115
+ boxShadow: sectionproperties.trashbtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.trashbtn_shadowcolor : '',
116
+ transition: '.3s',
117
+ opacity: sectionproperties.trashbtn_opacity,
118
+ border: sectionproperties.trashbtn_borderwidth + 'px solid ' + sectionproperties.trashbtn_bordercolor,
119
+ //
120
+ ':hover': {
121
+ background: sectionproperties.trashbtn_bgColoronhover,
122
+ color: sectionproperties.trashbtn_Textcoloronhover,
123
+ opacity: sectionproperties.trashbtn_opacityonhover,
124
+ },
125
+ }),
126
+ imagecont: css({
127
+ width: '70px',
128
+ height: '60px',
129
+ border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
130
+ backgroundColor: sectionproperties.prodimage_bgcolor,
131
+ borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
132
+ borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
133
+ borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
134
+ borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
135
+ display: 'flex',
136
+ alignItems: 'center',
137
+ justifyContent: 'center',
138
+ backgroundRepeat: 'no-repeat',
139
+ backgroundSize: 'cover',
140
+ backgroundPosition: 'center',
141
+ position: 'relative',
142
+ }),
143
+ };
144
+ return (
145
+ <div className={'row ml-0 mr-0 w-100'} style={{ backgroundColor: sectionproperties.backgroundColor }}>
146
+ <div className="col-lg-12 d-flex align-items-center justify-content-center p-0 ">
147
+ {pageindexcontext.length != 0 && Object.keys(StatePagePropertiesContext).length != 0 && (
148
+ <div className={generalstyles.app_container + ' w-100 '} style={{ position: 'relative' }}>
149
+ {StatePagePropertiesContext.pageobj.sections.map((item, index) => {
150
+ if (item.tabexsectioninfo != null && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined && item.componenttype == 'section') {
151
+ var sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
152
+ return (
153
+ <div className="row w-100 ml-0 mr-0 d-flex justify-content-center p-0">
154
+ {item.tabexsectioninfo.sectiontype == 'Cards' && (
155
+ <ProductsCardsSectionContext_Provider>
156
+ {React.createElement(sectioncomp, {
157
+ sectionidprops: item.sectionid,
158
+ sectionindexprops: index,
159
+ srcfromprops: 'GeneralProductsComponent',
160
+ collectionidprops: collectionidparams,
161
+ })}
162
+ </ProductsCardsSectionContext_Provider>
163
+ )}
164
+ {item.tabexsectioninfo.sectiontype != 'Cards' && React.createElement(sectioncomp, { sectionidprops: item.sectionid, sectionindexprops: index })}
165
+ </div>
166
+ );
167
+ }
168
+ })}
169
+ </div>
170
+ )}
171
+ </div>
172
+ </div>
173
+ );
174
+ };
175
+ export default Aboutus;
@@ -2,7 +2,10 @@ 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
+
5
6
  import Staticpagesrouter from '../Staticpagesrouter/Staticpagesrouter.jsx';
7
+
8
+ // import { ProductsCardsSectionContext_Provider } from '../../../../../../../Contexts/ProductsCardsSectionContext';
6
9
  import { IKImage } from 'imagekitio-react';
7
10
  import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
8
11
  const AccountInformation = (props) => {
@@ -13,13 +16,17 @@ const AccountInformation = (props) => {
13
16
  const navigationstyle = props.actions.navigationstyle;
14
17
  const actions = props.actions;
15
18
  useEffect(() => {
19
+ // if (Object.keys(props?.actions?.StatePagePropertiesContext).length != 0) {
16
20
  var secpropobj = {};
17
21
  props?.actions?.StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
18
22
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
19
23
  });
24
+
20
25
  setsectionproperties({ ...secpropobj });
26
+ // }
21
27
  }, [props.actions.StatePagePropertiesContext]);
22
28
  const [CurrentPageId, setCurrentPageId] = useState('');
29
+
23
30
  const [sectionproperties, setsectionproperties] = useState('');
24
31
  useEffect(() => {
25
32
  var cartindex = templatepropcontext.pagesnprop.findIndex((x) => x.staticpageid == '6218bccb83d53');
@@ -27,6 +34,14 @@ const AccountInformation = (props) => {
27
34
  setCurrentPageId(cartindex);
28
35
  }
29
36
  }, []);
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
+
30
45
  const accountinfo_cssstyles = {
31
46
  sectiontitlespan: css({
32
47
  ':after': {
@@ -1,22 +1,25 @@
1
- import React, { useEffect, useState } from 'react';
2
- import generalstyles from '../../../styles/general/general.module.css';
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
+ import { BrowserRouter as Router, useHistory } from 'react-router-dom';
7
+ import generalstyles from '../../../../../../../styles/general/general.module.css';
3
8
  import { BsChevronLeft, BsChevronRight } from 'react-icons/bs';
4
9
  import { css } from 'glamor';
5
10
  import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemPanel, AccordionItemState } from 'react-accessible-accordion';
6
- import '../../../styles/staticpages/accordion.module.css';
11
+ import '../../../../../../../styles/staticpages/accordion.module.css';
7
12
  import { MdOutlineKeyboardArrowDown, MdOutlineKeyboardArrowUp } from 'react-icons/md';
8
13
  const Categoriesdropdown = (props) => {
14
+ let history = useHistory();
15
+ const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
16
+ const { lang, langdetect } = useContext(LanguageContext);
17
+ const { fetchAuthorizationQueryContext } = useContext(FetchingContext);
9
18
  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;
17
19
  useEffect(() => {
18
20
  setsectionproperties(props.sectionpropertiesprops);
19
21
  }, [props.sectionpropertiesprops]);
22
+
20
23
  const sectionstyles = {
21
24
  collectionbtn: css({
22
25
  color: sectionproperties.collectionsectiontextcolor,
@@ -29,66 +32,13 @@ const Categoriesdropdown = (props) => {
29
32
  },
30
33
  }),
31
34
  };
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) => (
35
+ const Dropdowncontainer = () => {
36
+ return (
37
+ <div className="col-lg-12 p-0">
38
+ <div className={generalstyles.sub_scrollbar + ' row m-0 w-100 '} style={{ height: sectionproperties.image_height - 9 + 'vh', overflowY: 'scroll' }}>
39
+ <div className="col-lg-12 p-0">
40
+ {fetchAuthorizationQueryContext.isSuccess &&
41
+ fetchAuthorizationQueryContext.data.data.instinfo.instcollections.map((item, index) => (
92
42
  <div className="row m-0 w-100">
93
43
  <div
94
44
  className="col-lg-12 cursor-pointer"
@@ -111,17 +61,34 @@ const Categoriesdropdown = (props) => {
111
61
  </div>
112
62
  </div>
113
63
  </div>
114
- {index != authdetailsContext?.instinfo?.instcollections?.length - 1 && (
64
+ {index != fetchAuthorizationQueryContext.data.data.instinfo.instcollections.length - 1 && (
115
65
  <div className="col-lg-12">
116
66
  <hr />
117
67
  </div>
118
68
  )}
119
69
  </div>
120
70
  ))}
121
- </div>
122
71
  </div>
123
72
  </div>
124
73
  </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>
125
92
  <div className="row m-0 w-100 d-none d-md-flex">
126
93
  <Accordion allowMultipleExpanded={true} allowZeroExpanded={true} className="w-100" preExpanded={[1]}>
127
94
  <AccordionItem uuid={1}>
@@ -168,44 +135,7 @@ const Categoriesdropdown = (props) => {
168
135
  </AccordionItemButton>
169
136
  </AccordionItemHeading>
170
137
  <AccordionItemPanel>
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>
138
+ <div className="row m-0 pt-3 w-100 d-none d-md-flex">{Dropdowncontainer()}</div>
209
139
  </AccordionItemPanel>
210
140
  </AccordionItem>
211
141
  </Accordion>
@@ -1,6 +1,11 @@
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';
3
7
  import { Modal } from 'react-bootstrap';
8
+ // import Pagepreloader from '../Pagepreloader/Pagepreloader';
4
9
  import { css } from 'glamor';
5
10
  import { IoLocationSharp } from 'react-icons/io5';
6
11
  import shoppingcart from '../../../assets/images/shoppingcart.png';
@@ -13,6 +18,15 @@ import cod from '../../../assets/images/cod.png';
13
18
  import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
14
19
  import Staticpagesrouter from '../Staticpagesrouter/Staticpagesrouter.jsx';
15
20
  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)
16
30
  const lang = props.actions.lang;
17
31
  const langdetect = props.actions.langdetect;
18
32
  const routingcountext = props.actions.routingcountext;
@@ -1,7 +1,12 @@
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
+
3
5
  import tabstyles from '../../../styles/general/tabs.module.css';
6
+
4
7
  import { css } from 'glamor';
8
+
9
+ // import { ProductsCardsSectionContext_Provider } from '../../../../../../../Contexts/ProductsCardsSectionContext';
5
10
  import Staticpagesrouter from '../Staticpagesrouter/Staticpagesrouter.jsx';
6
11
  import { IKImage } from 'imagekitio-react';
7
12
  import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
@@ -1,13 +1,31 @@
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
+
3
8
  import generalstyles from '../../../styles/general/general.module.css';
4
9
  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';
5
20
  import ImageGallery from 'react-image-gallery';
21
+
6
22
  import { MdOutlineShoppingCart } from 'react-icons/md';
7
23
  import { CircularProgress } from 'react-cssfx-loading';
8
24
  import { css } from 'glamor';
9
25
  import ShowMoreText from 'react-show-more-text';
26
+
10
27
  import { useParams } from 'react-router';
28
+
11
29
  import { IKImage } from 'imagekitio-react';
12
30
  import { FaShippingFast } from 'react-icons/fa';
13
31
  import { FiMapPin } from 'react-icons/fi';
@@ -21,7 +39,39 @@ import { CgShoppingBag } from 'react-icons/cg';
21
39
  import { BsBag } from 'react-icons/bs';
22
40
  import { IoBagHandleOutline } from 'react-icons/io5';
23
41
 
42
+ // import "react-image-gallery/styles/css/image-gallery.css";
43
+
24
44
  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);
25
75
  const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
26
76
  const lang = props.actions.lang;
27
77
  const langdetect = props.actions.langdetect;
@@ -1,9 +1,25 @@
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';
2
8
  import { css } from 'glamor';
9
+ // import { useMutation, useQuery, useQueryClient } from 'react-query';
10
+
11
+ // import Loader from 'react-loader-spinner';
3
12
  import { MdOutlineLayersClear } from 'react-icons/md';
4
13
  import { IKImage } from 'imagekitio-react';
5
14
  import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
6
15
  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);
7
23
  const lang = props.actions.lang;
8
24
  const langdetect = props.actions.langdetect;
9
25
  const routingcountext = props.actions.routingcountext;
@@ -1,9 +1,21 @@
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';
3
12
  import { CircularProgress } from 'react-cssfx-loading';
13
+ // import { NotificationManager } from 'react-notifications';
4
14
  import TextareaAutosize from 'react-textarea-autosize';
5
15
  import { css } from 'glamor';
16
+
6
17
  import { defaultstyles, defaultstylestranslated } from '../../../StylesJS/Customstyles';
18
+
7
19
  import GoogleLogin from '../Login/GoogleLoginButton.jsx';
8
20
  import FacebookLoginButton from '../Login/FacebookLoginButton.jsx';
9
21
  const Select = React.lazy(() => import('react-select'));
@@ -6,9 +6,19 @@ 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';
9
17
 
10
18
  const Staticpagesrouter = (props) => {
19
+ // const { fetchAuthorizationQueryContext, navigationstyle, setnavigationstyle, fetchFavoriteProductsQueryContext } = useContext(FetchingContext);
11
20
  const [currentchecked, setcurrentchecked] = useState(props.currentpageprops);
21
+
12
22
  const [CurrentPageId, setCurrentPageId] = useState('');
13
23
  const [sectionproperties, setsectionproperties] = useState('');
14
24
  const templatepropcontext = props.actions.templatepropcontext;