tabexseriescomponents 0.0.706 → 0.0.708

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 (348) hide show
  1. package/package.json +1 -1
  2. package/srcoman/Contexts/LanguageContext.jsx +408 -0
  3. package/srcoman/Contexts/ProductsCardsSectionContext.jsx +36 -0
  4. package/srcoman/Imagekitconfig.jsx +46 -0
  5. package/srcoman/StylesJS/Customstyles.js +345 -0
  6. package/srcoman/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
  7. package/srcoman/TabexComponents/Cards/Card20/Card20.jsx +298 -0
  8. package/srcoman/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  9. package/srcoman/TabexComponents/Cards/Card22/Card22.jsx +288 -0
  10. package/srcoman/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
  11. package/srcoman/TabexComponents/Cards/Card23/Card23.jsx +742 -0
  12. package/srcoman/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
  13. package/srcoman/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
  14. package/srcoman/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  15. package/srcoman/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  16. package/srcoman/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +255 -0
  17. package/srcoman/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
  18. package/srcoman/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
  19. package/srcoman/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
  20. package/srcoman/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
  21. package/srcoman/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  22. package/srcoman/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
  23. package/srcoman/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
  24. package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
  25. package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +146 -0
  26. package/srcoman/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
  27. package/srcoman/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
  28. package/srcoman/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +409 -0
  29. package/srcoman/TabexComponents/Cards/MenuCard/MenuCard.jsx +732 -0
  30. package/srcoman/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
  31. package/srcoman/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
  32. package/srcoman/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
  33. package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
  34. package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
  35. package/srcoman/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  36. package/srcoman/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
  37. package/srcoman/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
  38. package/srcoman/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
  39. package/srcoman/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
  40. package/srcoman/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  41. package/srcoman/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
  42. package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
  43. package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
  44. package/srcoman/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +558 -0
  45. package/srcoman/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  46. package/srcoman/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  47. package/srcoman/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
  48. package/srcoman/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +613 -0
  49. package/srcoman/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +413 -0
  50. package/srcoman/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
  51. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
  52. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
  53. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +905 -0
  54. package/srcoman/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
  55. package/srcoman/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
  56. package/srcoman/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
  57. package/srcoman/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
  58. package/srcoman/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
  59. package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +780 -0
  60. package/srcoman/TabexComponents/Footer/Footer2/Footer2.jsx +527 -0
  61. package/srcoman/TabexComponents/Footer/Footer3/Footer3.jsx +411 -0
  62. package/srcoman/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
  63. package/srcoman/TabexComponents/Footer/Footer5/Footer5.jsx +714 -0
  64. package/srcoman/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
  65. package/srcoman/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
  66. package/srcoman/TabexComponents/Footer/Footer8/Footer8.jsx +533 -0
  67. package/srcoman/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
  68. package/srcoman/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +562 -0
  69. package/srcoman/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +865 -0
  70. package/srcoman/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +647 -0
  71. package/srcoman/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
  72. package/srcoman/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
  73. package/srcoman/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  74. package/srcoman/TabexComponents/Generalfiles/images/noimage.png +0 -0
  75. package/srcoman/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  76. package/srcoman/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  77. package/srcoman/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  78. package/srcoman/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  79. package/srcoman/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  80. package/srcoman/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  81. package/srcoman/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  82. package/srcoman/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  83. package/srcoman/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  84. package/srcoman/TabexComponents/Generalfiles/images/usflag.png +0 -0
  85. package/srcoman/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  86. package/srcoman/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1259 -0
  87. package/srcoman/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1049 -0
  88. package/srcoman/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1040 -0
  89. package/srcoman/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1263 -0
  90. package/srcoman/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
  91. package/srcoman/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +894 -0
  92. package/srcoman/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +831 -0
  93. package/srcoman/TabexComponents/Headers/Header4/Header4.jsx +622 -0
  94. package/srcoman/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
  95. package/srcoman/TabexComponents/Headers/Header8/Header8.jsx +1976 -0
  96. package/srcoman/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +776 -0
  97. package/srcoman/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +927 -0
  98. package/srcoman/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +704 -0
  99. package/srcoman/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
  100. package/srcoman/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +953 -0
  101. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1562 -0
  102. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
  103. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
  104. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
  105. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +1610 -0
  106. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
  107. package/srcoman/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +934 -0
  108. package/srcoman/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +78 -0
  109. package/srcoman/TabexComponents/Headers/Modernheader/Modernheader.jsx +972 -0
  110. package/srcoman/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
  111. package/srcoman/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1159 -0
  112. package/srcoman/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +1073 -0
  113. package/srcoman/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +133 -0
  114. package/srcoman/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
  115. package/srcoman/TabexComponents/Headers/Subheader/Subheader.jsx +863 -0
  116. package/srcoman/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
  117. package/srcoman/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
  118. package/srcoman/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
  119. package/srcoman/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1042 -0
  120. package/srcoman/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1089 -0
  121. package/srcoman/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +936 -0
  122. package/srcoman/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
  123. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
  124. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +870 -0
  125. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
  126. package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
  127. package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
  128. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
  129. package/srcoman/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
  130. package/srcoman/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +393 -0
  131. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
  132. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
  133. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +627 -0
  134. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
  135. package/srcoman/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
  136. package/srcoman/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
  137. package/srcoman/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +288 -0
  138. package/srcoman/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +117 -0
  139. package/srcoman/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
  140. package/srcoman/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
  141. package/srcoman/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +462 -0
  142. package/srcoman/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
  143. package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
  144. package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +617 -0
  145. package/srcoman/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +408 -0
  146. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
  147. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
  148. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
  149. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1898 -0
  150. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
  151. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
  152. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
  153. package/srcoman/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
  154. package/srcoman/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
  155. package/srcoman/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  156. package/srcoman/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +929 -0
  157. package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
  158. package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +962 -0
  159. package/srcoman/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +582 -0
  160. package/srcoman/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  161. package/srcoman/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
  162. package/srcoman/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
  163. package/srcoman/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
  164. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
  165. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +437 -0
  166. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
  167. package/srcoman/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
  168. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1769 -0
  169. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
  170. package/srcoman/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
  171. package/srcoman/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +380 -0
  172. package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +867 -0
  173. package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
  174. package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
  175. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
  176. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  177. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +520 -0
  178. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
  179. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +643 -0
  180. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
  181. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
  182. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
  183. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
  184. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
  185. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +619 -0
  186. package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
  187. package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +614 -0
  188. package/srcoman/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
  189. package/srcoman/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
  190. package/srcoman/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
  191. package/srcoman/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
  192. package/srcoman/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +797 -0
  193. package/srcoman/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
  194. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
  195. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout.jsx +1892 -0
  196. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
  197. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
  198. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
  199. package/srcoman/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
  200. package/srcoman/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
  201. package/srcoman/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
  202. package/srcoman/TabexComponents/StaticPages/Filter/Filter.jsx +2771 -0
  203. package/srcoman/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
  204. package/srcoman/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
  205. package/srcoman/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
  206. package/srcoman/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
  207. package/srcoman/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
  208. package/srcoman/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
  209. package/srcoman/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  210. package/srcoman/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  211. package/srcoman/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
  212. package/srcoman/TabexComponents/StaticPages/Login/Login.jsx +610 -0
  213. package/srcoman/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +172 -0
  214. package/srcoman/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1584 -0
  215. package/srcoman/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
  216. package/srcoman/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
  217. package/srcoman/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
  218. package/srcoman/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
  219. package/srcoman/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +255 -0
  220. package/srcoman/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +176 -0
  221. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
  222. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +92 -0
  223. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +312 -0
  224. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
  225. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1983 -0
  226. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
  227. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
  228. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
  229. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
  230. package/srcoman/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1946 -0
  231. package/srcoman/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +1037 -0
  232. package/srcoman/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +966 -0
  233. package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +632 -0
  234. package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
  235. package/srcoman/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  236. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
  237. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
  238. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
  239. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
  240. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
  241. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
  242. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
  243. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
  244. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
  245. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
  246. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
  247. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
  248. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +919 -0
  249. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
  250. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
  251. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
  252. package/srcoman/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
  253. package/srcoman/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
  254. package/srcoman/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +359 -0
  255. package/srcoman/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
  256. package/srcoman/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
  257. package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
  258. package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1364 -0
  259. package/srcoman/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
  260. package/srcoman/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
  261. package/srcoman/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
  262. package/srcoman/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
  263. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
  264. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
  265. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
  266. package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
  267. package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
  268. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
  269. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
  270. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
  271. package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
  272. package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
  273. package/srcoman/button.jsx +40 -0
  274. package/srcoman/index.jsx +334 -0
  275. package/srcoman/styles/Home.module.css +129 -0
  276. package/srcoman/styles/cards/Categorcycard_fullimage.module.css +14 -0
  277. package/srcoman/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  278. package/srcoman/styles/cards/Categorycard_withshapes.module.css +189 -0
  279. package/srcoman/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  280. package/srcoman/styles/cards/Productcard6.module.css +9 -0
  281. package/srcoman/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  282. package/srcoman/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  283. package/srcoman/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  284. package/srcoman/styles/cards/card23.module.css +60 -0
  285. package/srcoman/styles/cards/categorycard.module.css +84 -0
  286. package/srcoman/styles/cards/categorycard3.module.css +50 -0
  287. package/srcoman/styles/cards/categorycardwithtext.module.css +40 -0
  288. package/srcoman/styles/cards/generalCardsStyles.module.css +79 -0
  289. package/srcoman/styles/cards/productcard_animatedbuttons.module.css +139 -0
  290. package/srcoman/styles/cards/productcard_with_textonhover.module.css +18 -0
  291. package/srcoman/styles/cards/productcard_withtextonimage.module.css +0 -0
  292. package/srcoman/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  293. package/srcoman/styles/general/bootstrap.css +4763 -0
  294. package/srcoman/styles/general/dropdown.css +206 -0
  295. package/srcoman/styles/general/editorbardropdown.module.css +94 -0
  296. package/srcoman/styles/general/filter.module.css +108 -0
  297. package/srcoman/styles/general/form.module.css +255 -0
  298. package/srcoman/styles/general/general.module.css +872 -0
  299. package/srcoman/styles/general/image-gallery.css +531 -0
  300. package/srcoman/styles/general/react-accessible-accordion.module.css +52 -0
  301. package/srcoman/styles/general/react-phone-input-2.module.css +927 -0
  302. package/srcoman/styles/general/scrollbtn.module.css +22 -0
  303. package/srcoman/styles/general/slick.module.css +166 -0
  304. package/srcoman/styles/general/tabs.module.css +119 -0
  305. package/srcoman/styles/general/workplaceeditor.module.css +328 -0
  306. package/srcoman/styles/globals.css +26 -0
  307. package/srcoman/styles/headers/CTAHeader.module.css +40 -0
  308. package/srcoman/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  309. package/srcoman/styles/headers/Gotoheader.module.css +87 -0
  310. package/srcoman/styles/headers/Header7.module.css +50 -0
  311. package/srcoman/styles/headers/HeaderWithAdSlider.module.css +86 -0
  312. package/srcoman/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  313. package/srcoman/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  314. package/srcoman/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  315. package/srcoman/styles/headers/NewHeader.module.css +101 -0
  316. package/srcoman/styles/headers/SearchFocusedHeader.module.css +62 -0
  317. package/srcoman/styles/headers/Sideheader.module.css +108 -0
  318. package/srcoman/styles/headers/Simpleheader.module.css +102 -0
  319. package/srcoman/styles/headers/classicheader.module.css +16 -0
  320. package/srcoman/styles/headers/classicheaderstyles.module.css +9 -0
  321. package/srcoman/styles/headers/dropdown.css +0 -0
  322. package/srcoman/styles/headers/header4.module.css +175 -0
  323. package/srcoman/styles/headers/header5.module.css +30 -0
  324. package/srcoman/styles/headers/header_contactinfo.module.css +53 -0
  325. package/srcoman/styles/headers/headerresturant.module.css +89 -0
  326. package/srcoman/styles/headers/modernheader.module.css +45 -0
  327. package/srcoman/styles/headers/stylishheader.module.css +24 -0
  328. package/srcoman/styles/headers/subheader.module.css +114 -0
  329. package/srcoman/styles/headers/threetieredheader.module.css +91 -0
  330. package/srcoman/styles/sections/BackgroundImageWithTopContent.css +4 -0
  331. package/srcoman/styles/sections/Backgroundimage1.module.css +17 -0
  332. package/srcoman/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  333. package/srcoman/styles/sections/Freetext.module.css +18 -0
  334. package/srcoman/styles/sections/Section_with_rightbgcont.module.css +49 -0
  335. package/srcoman/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  336. package/srcoman/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  337. package/srcoman/styles/staticpages/accordion.module.css +9 -0
  338. package/srcoman/styles/staticpages/cart.module.css +108 -0
  339. package/srcoman/styles/staticpages/dropdown.css +196 -0
  340. package/srcoman/styles/staticpages/filter.module.css +139 -0
  341. package/srcoman/styles/staticpages/image-gallery.css +481 -0
  342. package/srcoman/styles/staticpages/login.module.css +155 -0
  343. package/srcoman/styles/staticpages/productinfo.module.css +54 -0
  344. package/srcoman/styles/staticpages/shop.module.css +191 -0
  345. package/srcoman/styles/staticpages/signup.module.css +250 -0
  346. package/srcoman/styles/staticpages/staticroutersidenav.module.css +129 -0
  347. package/srcoman/styles/staticpages/viewcart.module.css +129 -0
  348. package/srcoman/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,990 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { useHistory, Link } from 'react-router-dom';
3
+ import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemPanel, AccordionItemState } from 'react-accessible-accordion';
4
+ import filterstyles from '../../../styles/staticpages/filter.module.css';
5
+ import Dropdown from 'react-bootstrap/Dropdown';
6
+ import { css } from 'glamor';
7
+ import { Offcanvas } from 'react-bootstrap';
8
+ import Subheader from '../Subheader/Subheader.jsx';
9
+ import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
10
+ import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
11
+ import { BiGlobe } from '@react-icons/all-files/bi/BiGlobe';
12
+ import { HiOutlinePlus } from '@react-icons/all-files/hi/HiOutlinePlus';
13
+ import { AiOutlineMinus } from '@react-icons/all-files/ai/AiOutlineMinus';
14
+ import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
15
+ import { FaMoneyBillWave } from '@react-icons/all-files/fa/FaMoneyBillWave';
16
+ import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
17
+ import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
18
+ import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
19
+ import { BiChevronDown } from '@react-icons/all-files/bi/BiChevronDown';
20
+ import { BiUser } from '@react-icons/all-files/bi/BiUser';
21
+ import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
22
+ import { AiOutlineLogin } from '@react-icons/all-files/ai/AiOutlineLogin';
23
+ import { AiOutlineUserAdd } from '@react-icons/all-files/ai/AiOutlineUserAdd';
24
+ import { RiSearchLine } from '@react-icons/all-files/ri/RiSearchLine';
25
+ import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
26
+ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
27
+ import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
28
+ import { CgMenuLeft } from '@react-icons/all-files/cg/CgMenuLeft';
29
+ import { CgMenuRight } from '@react-icons/all-files/cg/CgMenuRight';
30
+ import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
31
+ import { BsBag } from '@react-icons/all-files/bs/BsBag';
32
+ import { HiOutlineShoppingBag } from '@react-icons/all-files/hi/HiOutlineShoppingBag';
33
+ import { RiHandbagLine } from '@react-icons/all-files/ri/RiHandbagLine';
34
+ import tabstyles from '../../../styles/general/tabs.module.css';
35
+
36
+ const Headerresponsive = (props) => {
37
+ const actions = props.actions;
38
+ const LogoutMutationContext = props.actions.LogoutMutationContext;
39
+ const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
40
+ const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
41
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
42
+ const lang = props.actions.lang;
43
+ const langdetect = props.actions.langdetect;
44
+ const setlang = props.actions.setlang;
45
+ const templatepropcontext = props.actions.templatepropcontext;
46
+ const authdetailsContext = props.actions.authdetailsContext;
47
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
48
+ const templateproperties_context = props.actions.templateproperties_context;
49
+ const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
50
+ const routingcountext = props.actions.routingcountext;
51
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
52
+ const setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
53
+ const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
54
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
55
+ const [sectionproperties, setsectionproperties] = useState('');
56
+ const [Choosenindex, setChoosenindex] = useState('');
57
+
58
+ useEffect(() => {
59
+ if (props.sectionpropertiesprops != undefined) {
60
+ setsectionproperties({ ...props.sectionpropertiesprops });
61
+ }
62
+ }, [props.sectionpropertiesprops]);
63
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
64
+ const [openCnvas, setopenCnvas] = useState(false);
65
+ const [activeTab, setactiveTab] = useState('');
66
+ useEffect(() => {
67
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
68
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
69
+ if (Array.isArray(logoarrayofobjectsparsed)) {
70
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
71
+ }
72
+ }
73
+ }, [templateproperties_context]);
74
+ const header_cssstyles = {
75
+ header_logo: css({
76
+ width: sectionproperties.logo_width + 'px',
77
+ height: sectionproperties.logo_height + 'px',
78
+ }),
79
+ navbar_item_text_responsive: css({
80
+ fontSize: sectionproperties.header_fontSizeresponsive + 'px',
81
+ color: sectionproperties.header_fontColorresponsive,
82
+ textTransform: sectionproperties.header_textTransformresponsive,
83
+ fontWeight: sectionproperties.header_textfontweight_responsive,
84
+ transition: '.3s',
85
+ ':hover': {
86
+ color: sectionproperties.header_fontColorresponsive_onhover,
87
+ },
88
+ }),
89
+ badge_counter_header_notifications: css({
90
+ display: 'flex',
91
+ justifyContent: 'center',
92
+ alignItems: 'center',
93
+ position: 'absolute',
94
+ background: sectionproperties.badge_bgcolor,
95
+ width: '45px',
96
+ height: '45px',
97
+ color: sectionproperties.badge_color,
98
+ borderRadius: sectionproperties.badge_borderradius + 'px',
99
+ fontSize: '25px',
100
+ transform: 'scale(0.3)',
101
+ transformOrigin: 'top right',
102
+ // marginRight: langdetect == 'en' ? 0 : '-5px',
103
+ }),
104
+ wishlistbtn: css({
105
+ width: sectionproperties.wishlistbtnresp_width + 'px',
106
+ height: sectionproperties.wishlistbtnresp_height + 'px',
107
+ borderRadius: sectionproperties.wishlistbtnresp_borderRadius + 'px',
108
+ border: sectionproperties.wishlistbtnresp_borderWidth + 'px solid ' + sectionproperties.wishlistbtnresp_borderColor,
109
+ background: sectionproperties.wishlistbtnresp_bgColor,
110
+ fontSize: sectionproperties.wishlistresponsivefontsize + 'px',
111
+ color: sectionproperties.wishlistresponsivecolor,
112
+ position: 'relative',
113
+ }),
114
+ addtocartbtn_resp: css({
115
+ position: 'relative',
116
+ cursor: 'pointer',
117
+ display: 'flex',
118
+ alignItems: 'center',
119
+ color: sectionproperties.cart_BtnTextcolor_resp,
120
+ background: sectionproperties.cart_BtnbgColor_resp,
121
+ width: sectionproperties.cart_BtnWidth_resp + 'px',
122
+ height: sectionproperties.cart_BtnHeight_resp + 'px',
123
+ borderRadius: sectionproperties.cart_BtnborderRadius_resp + 'px',
124
+ border: sectionproperties.cartBtnresp_borderWidth + 'px solid ' + sectionproperties.cartBtnresp_borderColor,
125
+ transition: '.3s',
126
+ }),
127
+ searchbarcont: css({
128
+ position: 'relative',
129
+ transition: '.3s',
130
+ }),
131
+ searchbar_icon_cont: css({
132
+ display: 'flex',
133
+ justifyContent: 'center',
134
+ alignItems: 'center',
135
+ textAlign: 'center',
136
+ color: sectionproperties.searchbaricon_color_resp,
137
+ transition: '0.3s ease',
138
+ position: 'absolute',
139
+ left: langdetect == 'en' ? 5 : '',
140
+ right: langdetect == 'en' ? '' : 5,
141
+ bottom: 0,
142
+ top: 0,
143
+ margin: 'auto',
144
+ }),
145
+ searchbarcont_input: css({
146
+ height: '100%',
147
+ width: '100%',
148
+ outline: 'none',
149
+ border: 'none',
150
+ background: 'transparent',
151
+ color: sectionproperties.searchbarcontinput_colorresp,
152
+ // color: '#000',
153
+ fontWeight: sectionproperties.searchbarcont_inputfontweight,
154
+ // fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
155
+ fontSize: '15px',
156
+ paddingRight: langdetect == 'en' ? 0 : '20px',
157
+ paddingLeft: langdetect == 'en' ? '20px' : 0,
158
+ transition: '0.3s',
159
+ }),
160
+ languagecontainer: css({
161
+ color: sectionproperties.language_container_color_resp,
162
+ cursor: 'pointer',
163
+ transition: '.3s',
164
+ ':hover': {
165
+ color: sectionproperties.language_container_coloronhover,
166
+ },
167
+ }),
168
+ dropdownitemcontainer: css({
169
+ fontSize: '13px',
170
+ color: sectionproperties.dropdown_color,
171
+ fontWeight: sectionproperties.dropdown_fontweight,
172
+ textTransform: sectionproperties.dropdown_texttransform,
173
+ padding: '0.3rem 0.8rem',
174
+ display: 'flex',
175
+ alignItems: 'center',
176
+ transition: '.3s',
177
+ ':hover': {
178
+ color: sectionproperties.dropdown_hovercolor,
179
+ },
180
+ }),
181
+ userbtnLoggedin_icon: css({
182
+ fontSize: sectionproperties.userBtniconresp_size,
183
+ color: sectionproperties.userBtnTextresp_color,
184
+ }),
185
+ userbtn_respContainer: css({
186
+ position: 'relative',
187
+ cursor: 'pointer',
188
+ display: 'flex',
189
+ alignItems: 'center',
190
+ color: sectionproperties.userBtnTextresp_color,
191
+ fontSize: sectionproperties.userBtntextfontresp_size + 'px',
192
+ fontWeight: sectionproperties.userBtnTextfontweight,
193
+ transition: '.3s',
194
+ ':hover .userbtn_resp': {
195
+ color: sectionproperties.userbtnresp_Coloronhover,
196
+ },
197
+ }),
198
+ userbtnloggedin: css({
199
+ width: sectionproperties.userBtnWidth_resp + 'px',
200
+ height: sectionproperties.userBtnHeight_resp + 'px',
201
+ backgroundColor: sectionproperties.userBtnbgColor_resp,
202
+ color: sectionproperties.userBtnTextcolor_resp, //aywa da icon color
203
+ fontSize: sectionproperties.userBtniconresp_size + 'px',
204
+ borderRadius: sectionproperties.userBtnResp_BorderRadius + 'px',
205
+ border: sectionproperties.userBtnResp_BorderWidth + 'px solid ' + sectionproperties.userBtnResp_BorderColor,
206
+ transition: '.3s',
207
+ ':hover': {
208
+ color: sectionproperties.userbtnresp_IconColoronhover,
209
+ },
210
+ }),
211
+ loggedintext: css({
212
+ color: sectionproperties.userbtnresp_loggedincolor,
213
+ fontSize: sectionproperties.userBtntextfontresp_size + 'px',
214
+ fontWeight: sectionproperties.userBtnTextfontweight,
215
+ maxWidth: '50px',
216
+ transition: '.3s',
217
+ }),
218
+ userbtnloggedincontainer: css({
219
+ ':hover .loggedintext': {
220
+ color: sectionproperties.userbtnresp_loggedincoloronhover,
221
+ },
222
+ ':hover .userbtnloggedin': {
223
+ color: sectionproperties.userbtnresp_IconColoronhover,
224
+ borderColor: sectionproperties.userbtnresp_IconColoronhover,
225
+ backgroundColor: sectionproperties.userbtnresp_bgColoronhover,
226
+ },
227
+ }),
228
+ };
229
+ return (
230
+ <div className="row m-0 w-100">
231
+ <div className="col-lg-12 p-0">
232
+ {sectionproperties.length != 0 && (
233
+ <div className={' row m-0 w-100 d-none d-md-flex p-0 '}>
234
+ <div
235
+ className="col-lg-12 p-0"
236
+ style={{
237
+ background: sectionproperties.resposive_bgcolor,
238
+ }}
239
+ >
240
+ <div className="row m-0 w-100 p-0 pl-2 pr-2 ">
241
+ <div className="col-md-6 col-sm-5 d-flex filter align-items-center p-0">
242
+ <div
243
+ className={langdetect == 'en' ? 'mr-1' : 'ml-1'}
244
+ onClick={() => {
245
+ var element2 = document.getElementById('filter');
246
+ element2.classList.toggle('d-flex');
247
+ var element3 = document.getElementById('subheader');
248
+ element3.classList.toggle('d-none');
249
+ // setopenCnvas(true);
250
+ }}
251
+ >
252
+ <i class="h-100 allcentered">
253
+ {langdetect == 'en' ? (
254
+ <CgMenuLeft size={sectionproperties.resp_sidenav_size + 'px'} style={{ color: sectionproperties.resp_sidenav_color }} />
255
+ ) : (
256
+ <CgMenuRight size={sectionproperties.resp_sidenav_size + 'px'} style={{ color: sectionproperties.resp_sidenav_color }} />
257
+ )}
258
+ </i>
259
+ </div>
260
+ <div
261
+ className={header_cssstyles.header_logo + ' d-flex align-items-center justify-content-start '}
262
+ style={{ cursor: 'pointer' }}
263
+ onClick={() => {
264
+ routingcountext('home');
265
+ }}
266
+ >
267
+ <Imagekitimagecomp
268
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
269
+ publicKey={ikimagecredcontext?.ikimagepublickey}
270
+ path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
271
+ style={{
272
+ maxWidth: '100%',
273
+ maxHeight: '100%',
274
+ }}
275
+ />
276
+ </div>
277
+ </div>
278
+ <div className="col-md-6 col-sm-7 d-flex align-items-center justify-content-end p-0">
279
+ {sectionproperties.ShowUserBtn == 'Show' && (
280
+ <Dropdown>
281
+ <Dropdown.Toggle>
282
+ {!authdetailsContext.loggedin && (
283
+ <button class={`${header_cssstyles.userbtn_respContainer}` + ' d-flex align-items-center justify-content-center p-0 m-0 font-weight-600 mt-1 '}>
284
+ <p class={`${header_cssstyles.userbtnLoggedin_icon}` + ' userbtn_resp m-0 p-0 p-0 align-items-center allcentered '}>
285
+ <BiUser />
286
+ </p>
287
+ <span
288
+ class="userbtn_resp"
289
+ style={{
290
+ marginLeft: langdetect == 'en' ? '3px' : 0,
291
+ marginRight: langdetect == 'en' ? 0 : '3px',
292
+ }}
293
+ >
294
+ {lang.login}
295
+ </span>
296
+ </button>
297
+ )}
298
+ {authdetailsContext.loggedin && (
299
+ <div class={header_cssstyles.userbtnloggedincontainer + ' d-flex align-items-center justify-content-center mb-1 '} sytle={{ position: 'relative' }}>
300
+ <p
301
+ className={`${header_cssstyles.userbtnloggedin}` + ' m-0 p-0 p-0 align-items-center allcentered userbtnloggedin '}
302
+ style={{ textTransform: 'uppercase' }}
303
+ >
304
+ <i className="allcentered">
305
+ <BiUser />
306
+ </i>
307
+ </p>
308
+ <p
309
+ className="mb-0 p-0 text-capitalize"
310
+ style={{
311
+ lineHeight: '16px',
312
+ textAlign: langdetect == 'en' ? 'left' : 'right',
313
+ marginLeft: langdetect == 'en' ? '5px' : 0,
314
+ marginRight: langdetect == 'en' ? 0 : '5px',
315
+ }}
316
+ >
317
+ <span
318
+ style={{
319
+ color: sectionproperties.usergreetingresp_color,
320
+ fontSize: sectionproperties.usergreetingresp_size + 'px',
321
+ fontWeight: 300,
322
+ }}
323
+ >
324
+ {lang.hello}
325
+ {langdetect == 'en' ? ',' : '،'}
326
+ </span>
327
+ <br />
328
+ <span className={header_cssstyles.loggedintext + ' text-overflow d-block loggedintext '}>{authdetailsContext.customerinfo.name}</span>
329
+ </p>
330
+ </div>
331
+ )}
332
+ </Dropdown.Toggle>
333
+ {!authdetailsContext.loggedin && (
334
+ <Dropdown.Menu>
335
+ <Dropdown.Item
336
+ onClick={() => {
337
+ routingcountext(StaticPagesLinksContext.Login);
338
+ }}
339
+ >
340
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
341
+ <p className={' d-flex align-items-center m-0 p-0 '}>
342
+ <AiOutlineLogin className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
343
+ <span>{lang.login}</span>
344
+ </p>
345
+ </div>
346
+ </Dropdown.Item>
347
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
348
+ <Dropdown.Item
349
+ onClick={() => {
350
+ routingcountext(StaticPagesLinksContext.Signup);
351
+ }}
352
+ >
353
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
354
+ <p className={' d-flex align-items-center m-0 p-0 '}>
355
+ <AiOutlineUserAdd className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
356
+ <span className="text-transform-none">{lang.signup}</span>
357
+ </p>
358
+ </div>
359
+ </Dropdown.Item>
360
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
361
+ <Dropdown.Item
362
+ onClick={() => {
363
+ routingcountext(StaticPagesLinksContext.viewcart);
364
+ }}
365
+ >
366
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
367
+ <p className={' d-flex align-items-center m-0 p-0 '}>
368
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
369
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
370
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
371
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag />}
372
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
373
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
374
+ <span className="ml-2 mr-2">{lang.viewcart}</span>
375
+ </p>
376
+ </div>
377
+ </Dropdown.Item>
378
+ </Dropdown.Menu>
379
+ )}
380
+ {authdetailsContext.loggedin && (
381
+ <Dropdown.Menu style={{ minWidth: '200px' }}>
382
+ <Dropdown.Item className={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center justify-content-center '}>
383
+ <span
384
+ style={{
385
+ color: '#8fa0bd',
386
+ fontSize: sectionproperties.dropdownusernamefontsize + 'px',
387
+ }}
388
+ >
389
+ {lang.hello}
390
+ {langdetect == 'en' ? ',' : '،'}
391
+ </span>
392
+ <span
393
+ className="font-weight-600 ml-1 mr-1 text-overflow text-capitalize"
394
+ onClick={() => {
395
+ routingcountext(StaticPagesLinksContext.accountinfo);
396
+ }}
397
+ style={{
398
+ color: sectionproperties.dropdownusernamecolor,
399
+ fontSize: sectionproperties.dropdownusernamefontsize + 'px',
400
+ }}
401
+ >
402
+ {authdetailsContext.customerinfo.name}
403
+ </span>
404
+ </Dropdown.Item>
405
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
406
+ <Dropdown.Item
407
+ onClick={() => {
408
+ routingcountext(StaticPagesLinksContext.Ordershistory);
409
+ }}
410
+ >
411
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
412
+ <p className={' d-flex align-items-center m-0 p-0 '}>
413
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
414
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
415
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
416
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine />}
417
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
418
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
419
+ <span className={langdetect == 'en' ? 'ml-2' : 'mr-2'}>{lang.orderhistory}</span>
420
+ </p>
421
+ </div>
422
+ </Dropdown.Item>
423
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
424
+
425
+ <Dropdown.Item
426
+ onClick={() => {
427
+ routingcountext(StaticPagesLinksContext.Wishlist);
428
+ }}
429
+ >
430
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
431
+ <p className={' d-flex align-items-center m-0 p-0 '}>
432
+ {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
433
+ {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
434
+ <span className={langdetect == 'en' ? 'ml-2' : 'mr-2'}>{lang.wishlist}</span>
435
+ </p>
436
+ </div>
437
+ </Dropdown.Item>
438
+
439
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
440
+ <Dropdown.Item
441
+ onClick={() => {
442
+ routingcountext(StaticPagesLinksContext.Policies);
443
+ }}
444
+ >
445
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
446
+ <p className={' d-flex align-items-center m-0 p-0 '}>
447
+ <AiOutlineSecurityScan />
448
+ <span className={langdetect == 'en' ? 'ml-2' : 'mr-2'}>{lang.policies}</span>
449
+ </p>
450
+ </div>
451
+ </Dropdown.Item>
452
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
453
+ <Dropdown.Item
454
+ onClick={() => {
455
+ LogoutMutationContext.mutate();
456
+ }}
457
+ >
458
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
459
+ <p className={' d-flex align-items-center m-0 p-0 '}>
460
+ <BiLogOutCircle />
461
+ <span className={langdetect == 'en' ? 'ml-2' : 'mr-2'}>{lang.logout}</span>
462
+ </p>
463
+ </div>
464
+ </Dropdown.Item>
465
+ </Dropdown.Menu>
466
+ )}
467
+ </Dropdown>
468
+ )}
469
+ {sectionproperties.faviconshape != null && (
470
+ <div style={{ position: 'relative', marginLeft: langdetect == 'en' ? '12px' : '16px', marginRight: langdetect == 'en' ? '16px' : '16px' }}>
471
+ <button
472
+ className={header_cssstyles.wishlistbtn + ' d-flex align-items-center justify-content-center ml-1 p-0 '}
473
+ onClick={() => {
474
+ routingcountext(StaticPagesLinksContext.Wishlist);
475
+ }}
476
+ >
477
+ <i className={' h-100 d-flex align-items-center justify-content-center '}>
478
+ {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
479
+ {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
480
+ </i>
481
+ </button>
482
+ <div
483
+ className={`${header_cssstyles.badge_counter_header_notifications}`}
484
+ style={{
485
+ top: sectionproperties.wishlistresponsivebadgefromtop + 'px',
486
+ right: sectionproperties.wishlistresponsivebadgefromright + 'px',
487
+ }}
488
+ >
489
+ {favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}
490
+ </div>
491
+ </div>
492
+ )}
493
+ {sectionproperties.cartBtnShow == 'Show' && (
494
+ <div style={{ position: 'relative' }} class="d-flex align-items-center">
495
+ <button
496
+ className={`${header_cssstyles.addtocartbtn_resp}` + ' d-flex align-items-center justify-content-center ml-1 p-0 '}
497
+ onClick={() => {
498
+ if (fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length > 7) {
499
+ routingcountext(StaticPagesLinksContext.viewcart);
500
+ } else {
501
+ setsidecartnavshowcontext(true);
502
+ }
503
+ }}
504
+ >
505
+ <i className={' h-100 d-flex align-items-center justify-content-center '}>
506
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtniconresp_size} />}
507
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtniconresp_size} />}
508
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtniconresp_size} />}
509
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtniconresp_size} />}
510
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtniconresp_size} />}
511
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtniconresp_size} />}
512
+ </i>
513
+ </button>
514
+ <div
515
+ className={`${header_cssstyles.badge_counter_header_notifications}`}
516
+ style={{
517
+ top: sectionproperties.cartbadgefromtop + 'px',
518
+ right: sectionproperties.cartbadgefromright + 'px',
519
+ }}
520
+ >
521
+ {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
522
+ </div>
523
+ </div>
524
+ )}
525
+ </div>
526
+ </div>
527
+ <div
528
+ className="row m-0 w-100 p-0"
529
+ style={{
530
+ borderTop: '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
531
+ borderBottom: '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
532
+ }}
533
+ >
534
+ <div
535
+ className={authdetailsContext != undefined && authdetailsContext?.instinfo?.instcurrencies?.length > 1 ? 'col-md-8 p-0' : 'col-md-10 p-0'}
536
+ style={{
537
+ borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
538
+ borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
539
+ }}
540
+ >
541
+ <div className={header_cssstyles.searchbarcont + ' p-2 m-auto '}>
542
+ <span className={header_cssstyles.searchbar_icon_cont + ' h-100 d-flex align-items-center justify-content-center m-0 pr-0 cursor-pointer '}>
543
+ <i className="h-100 d-flex align-items-center justify-content-center">
544
+ <RiSearchLine size={15} />
545
+ </i>
546
+ </span>
547
+ <input
548
+ type="text"
549
+ placeholder={langdetect == 'en' ? 'What are you looking for?' : 'بحث...'}
550
+ className={`${header_cssstyles.searchbarcont_input}`}
551
+ onChange={(event) => {
552
+ setSearchHeaderInputContext(event.target.value);
553
+ }}
554
+ />
555
+
556
+ <Searchlist sectionpropertiesprops={sectionproperties} actions={actions} srcfromprops={'respheader'} />
557
+ </div>
558
+ </div>
559
+ {authdetailsContext != undefined && authdetailsContext?.instinfo?.instcurrencies?.length > 1 && (
560
+ <div
561
+ class={'col-md-2 d-flex align-items-center justify-content-center pl-1 pr-1 pt-1'}
562
+ style={{
563
+ borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
564
+ borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
565
+ }}
566
+ >
567
+ <Dropdown>
568
+ <Dropdown.Toggle>
569
+ <li class={' d-flex align-items-center justify-content-center '}>
570
+ {langdetect == 'en' && (
571
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
572
+ <p class="m-0 p-0 mr-1 ml-1">{authdetailsContext?.currencyname_en}</p>
573
+ <MdKeyboardArrowDown />
574
+ </div>
575
+ )}
576
+ {langdetect == 'ar' && (
577
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
578
+ <p class="m-0 p-0 ml-1 mr-1">{authdetailsContext?.currencyname_ar}</p>
579
+ <MdKeyboardArrowDown />
580
+ </div>
581
+ )}
582
+ </li>
583
+ </Dropdown.Toggle>
584
+ <Dropdown.Menu>
585
+ {authdetailsContext?.instinfo?.instcurrencies?.map(function (item, index) {
586
+ return (
587
+ <Dropdown.Item
588
+ class="m-0 p-0"
589
+ onClick={() => {
590
+ setcurrencyfunccontext(item);
591
+ }}
592
+ >
593
+ <div class="row m-0 w-100">
594
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
595
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
596
+ <p
597
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
598
+ style={{
599
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
600
+ fontWeight: sectionproperties.dropdown_fontweight,
601
+ textTransform: sectionproperties.dropdown_texttransform,
602
+ }}
603
+ >
604
+ <FaMoneyBillWave />
605
+ <span class={'ml-2 mr-2'}>{langdetect == 'en' ? item.currencyname_en : item.currencyname_ar}</span>
606
+ </p>
607
+ </div>
608
+ </div>
609
+ {index != authdetailsContext?.instinfo?.instcurrencies?.length - 1 && (
610
+ <div class="col-lg-12 p-0">
611
+ <hr class="m-0" />
612
+ </div>
613
+ )}
614
+ </div>
615
+ </Dropdown.Item>
616
+ );
617
+ })}
618
+ </Dropdown.Menu>
619
+ </Dropdown>
620
+ </div>
621
+ )}
622
+ <div className={langdetect == 'en' ? 'col-md-2 allcentered pl-1 pr-1 pt-1 resposiveheader_languagedropdown' : 'col-md-2 allcentered pl-1 pr-1 pt-1'}>
623
+ <Dropdown>
624
+ <Dropdown.Toggle>
625
+ <div className={'allcentered m-0 cursor-pointer'}>
626
+ {langdetect == 'ar' && (
627
+ <div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '} style={{ direction: 'rtl' }}>
628
+ <p class="m-0 p-0 font-weight-500">ع</p>
629
+ <i className={langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'}>
630
+ <BiChevronDown size={20} />
631
+ </i>
632
+ </div>
633
+ )}
634
+ {langdetect == 'en' && (
635
+ <div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '} style={{ direction: 'ltr' }}>
636
+ <p class="m-0 p-0 font-weight-500 mr-1">En</p>
637
+ <i className="h-100 allcentered">
638
+ <BiChevronDown size={20} />
639
+ </i>
640
+ </div>
641
+ )}
642
+ </div>
643
+ </Dropdown.Toggle>
644
+ <Dropdown.Menu>
645
+ <Dropdown.Item
646
+ className={`${header_cssstyles.dropdownitem}`}
647
+ onClick={() => {
648
+ setlang('ar');
649
+ }}
650
+ >
651
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
652
+ <p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
653
+ {sectionproperties.flagiconhederresp == 'Flag' && (
654
+ <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
655
+ )}
656
+ {sectionproperties.flagiconhederresp != 'Flag' && <BiGlobe size={15} />}
657
+
658
+ <span className="ml-2 mr-2">{lang.arabic}</span>
659
+ </p>
660
+ </div>
661
+ </Dropdown.Item>
662
+ <Dropdown.Divider></Dropdown.Divider>
663
+ <Dropdown.Item
664
+ className={`${header_cssstyles.dropdownitem}`}
665
+ onClick={() => {
666
+ setlang('en');
667
+ }}
668
+ >
669
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
670
+ <p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
671
+ {sectionproperties.flagiconhederresp == 'Flag' && (
672
+ <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
673
+ )}
674
+ {sectionproperties.flagiconhederresp != 'Flag' && <BiGlobe size={15} />}
675
+ <span className="ml-2 mr-2">{lang.english}</span>
676
+ </p>
677
+ </div>
678
+ </Dropdown.Item>
679
+ </Dropdown.Menu>
680
+ </Dropdown>
681
+ </div>
682
+ </div>
683
+ <div className="row m-0 w-100 pt-2 filter d-none" id="filter">
684
+ <div className="col-lg-12 p-0">
685
+ <ul className={' d-flex justify-content-center flex-column p-0 '}>
686
+ {templatepropcontext.pagesnprop.map((item, index) => {
687
+ if (item.isnavigation == 1 && item.isactive == 1) {
688
+ return (
689
+ <div className="row m-0 w-100">
690
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3" style={{ paddingTop: index == 0 ? 5 : 0 }}>
691
+ <div
692
+ onClick={() => {
693
+ routingcountext(item.navigationroute, false, '');
694
+ }}
695
+ >
696
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
697
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
698
+ </p>
699
+ </div>
700
+ </div>
701
+ <div className="col-lg-12">
702
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
703
+ </div>
704
+ </div>
705
+ );
706
+ }
707
+ })}
708
+ {authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && (
709
+ <div className="row m-0 w-100">
710
+ <div
711
+ className="col-lg-12 d-flex justify-content-start"
712
+ onClick={() => {
713
+ routingcountext(StaticPagesLinksContext.Ordershistory);
714
+ }}
715
+ >
716
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.orderhistory}</p>
717
+ </div>
718
+ <div className="col-lg-12">
719
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
720
+ </div>
721
+ </div>
722
+ )}
723
+ <div className="row m-0 w-100">
724
+ <div
725
+ className="col-lg-12 d-flex justify-content-start"
726
+ onClick={() => {
727
+ routingcountext(StaticPagesLinksContext.Wishlist);
728
+ }}
729
+ >
730
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.wishlist}</p>
731
+ </div>
732
+ <div className="col-lg-12">
733
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
734
+ </div>
735
+ </div>
736
+ <div className="row m-0 w-100">
737
+ <div
738
+ className="col-lg-12 d-flex justify-content-start"
739
+ onClick={() => {
740
+ routingcountext(StaticPagesLinksContext.Policies);
741
+ }}
742
+ >
743
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{lang.policies}</p>
744
+ </div>
745
+ <div className="col-lg-12 p-0">
746
+ <hr className="mt-3 mb-0" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
747
+ </div>
748
+ </div>
749
+ </ul>
750
+ </div>
751
+ </div>
752
+ </div>
753
+ <div className="col-lg-12 p-0 h-100" id="subheader">
754
+ <div className="row m-0 w-100 h-100">
755
+ {sectionproperties.showhidesubheader == 'Show' && (
756
+ <div className="col-lg-12 p-0 h-100">
757
+ <Subheader sectionpropertiesprops={sectionproperties} actions={actions} />
758
+ </div>
759
+ )}
760
+ </div>
761
+ </div>
762
+ </div>
763
+ )}
764
+ {/* {sectionproperties.length != 0 && sectionproperties.headerresposivestyles == 'Off Canvas' && ( */}
765
+ {/* <Offcanvas
766
+ show={openCnvas}
767
+ onHide={() => {
768
+ setopenCnvas(false);
769
+ }}
770
+ placement="end"
771
+ scroll={true}
772
+ style={{
773
+ width: '90%',
774
+ backgroundColor: 'white',
775
+ }}
776
+ backdrop={true}
777
+ >
778
+ <Offcanvas.Header>
779
+ <Offcanvas.Title>
780
+ <div className="row m-0 w-100 mt-2">
781
+ <div className="col-lg-12 p-0">
782
+ <div className={`${tabstyles.tabs} ${tabstyles.policiestabs}` + ' w-100 p-0 '}>
783
+ <ul
784
+ className={`${tabstyles.tabsul}` + ' m-0 p-0 '}
785
+ style={{ background: sectionproperties.tabcontainerbgcolor, borderRadius: sectionproperties.tabcontainerborderradius + 'px' }}
786
+ >
787
+ <li
788
+ className={
789
+ `${tabstyles.tabsli}`
790
+ // index == policychoosedindex
791
+ // ? `${tabstyles.tabsli} ${policies_cssstyles.tabsli} ${policies_cssstyles.tabsliactive}`
792
+ // : `${tabstyles.tabsli} ${policies_cssstyles.tabsli}`
793
+ }
794
+ onClick={() => {
795
+ setactiveTab('menu');
796
+ // setpolicychoosedindex(index);
797
+ }}
798
+ style={{ width: '50%' }}
799
+ >
800
+ <label role="button" className={' d-flex align-items-center m-0 w-md-100 '}>
801
+ <span
802
+ className="pt-2 pb-2"
803
+ style={{
804
+ textTransform: sectionproperties.tabtexttexttransform,
805
+ fontWeight: sectionproperties.tabtextfontweight,
806
+ fontSize: sectionproperties.tabtextfontsize + 'px',
807
+ // color: index == policychoosedindex ? sectionproperties.tabtextactivecolor : sectionproperties.tabtextcolor,
808
+ transition: '.3s',
809
+ }}
810
+ >
811
+ MENU
812
+ </span>
813
+ </label>
814
+ </li>
815
+ <li
816
+ style={{ width: '50%' }}
817
+ className={
818
+ `${tabstyles.tabsli}`
819
+ // index == policychoosedindex
820
+ // ? `${tabstyles.tabsli} ${policies_cssstyles.tabsli} ${policies_cssstyles.tabsliactive}`
821
+ // : `${tabstyles.tabsli} ${policies_cssstyles.tabsli}`
822
+ }
823
+ onClick={() => {
824
+ setactiveTab('categories');
825
+
826
+ // setpolicychoosedindex(index);
827
+ }}
828
+ >
829
+ <label role="button" className={' d-flex align-items-center m-0 w-md-100 '}>
830
+ <span
831
+ className="pt-2 pb-2"
832
+ style={{
833
+ textTransform: sectionproperties.tabtexttexttransform,
834
+ fontWeight: sectionproperties.tabtextfontweight,
835
+ fontSize: sectionproperties.tabtextfontsize + 'px',
836
+ // color: index == policychoosedindex ? sectionproperties.tabtextactivecolor : sectionproperties.tabtextcolor,
837
+ transition: '.3s',
838
+ }}
839
+ >
840
+ Our Categories
841
+ </span>
842
+ </label>
843
+ </li>
844
+ </ul>
845
+ </div>
846
+ </div>
847
+ </div>
848
+ </Offcanvas.Title>
849
+ </Offcanvas.Header>
850
+ <Offcanvas.Body>
851
+ {activeTab == 'menu' && (
852
+ <div className={' row m-0 w-100 '}>
853
+ <div className="col-lg-12 p-0">
854
+ <ul className={' d-flex justify-content-center flex-column p-0 '}>
855
+ {templatepropcontext.pagesnprop.map((item, index) => {
856
+ if (item.isnavigation == 1 && item.isactive == 1) {
857
+ return (
858
+ <div className="row m-0 w-100">
859
+ <div className="col-lg-12 d-flex justify-content-start pl-3 pr-3" style={{ paddingTop: index == 0 ? 5 : 0 }}>
860
+ <div
861
+ onClick={() => {
862
+ routingcountext(item.navigationroute, false, '');
863
+ }}
864
+ >
865
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
866
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
867
+ </p>
868
+ </div>
869
+ </div>
870
+ <div className="col-lg-12 p-0">
871
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
872
+ </div>
873
+ </div>
874
+ );
875
+ }
876
+ })}
877
+ {authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && (
878
+ <div className="row m-0 w-100">
879
+ <div
880
+ className="col-lg-12 d-flex justify-content-start"
881
+ onClick={() => {
882
+ routingcountext(StaticPagesLinksContext.Ordershistory);
883
+ }}
884
+ >
885
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.orderhistory}</p>
886
+ </div>
887
+ <div className="col-lg-12 p-0">
888
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
889
+ </div>
890
+ </div>
891
+ )}
892
+ <div className="row m-0 w-100">
893
+ <div
894
+ className="col-lg-12 d-flex justify-content-start"
895
+ onClick={() => {
896
+ routingcountext(StaticPagesLinksContext.Wishlist);
897
+ }}
898
+ >
899
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.wishlist}</p>
900
+ </div>
901
+ <div className="col-lg-12 p-0">
902
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
903
+ </div>
904
+ </div>
905
+ <div className="row m-0 w-100">
906
+ <div
907
+ className="col-lg-12 d-flex justify-content-start"
908
+ onClick={() => {
909
+ routingcountext(StaticPagesLinksContext.Policies);
910
+ }}
911
+ >
912
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{lang.policies}</p>
913
+ </div>
914
+ </div>
915
+ </ul>
916
+ </div>
917
+ </div>
918
+ )}
919
+ {activeTab == 'categories' && (
920
+ <div className={' row m-0 w-100 accordionContainer'}>
921
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
922
+ {fetchCategoriesQueryContext?.data?.data?.categories.map((item, index) => {
923
+ return (
924
+ <AccordionItem>
925
+ <AccordionItemHeading
926
+ onClick={() => {
927
+ setChoosenindex(index);
928
+ }}
929
+ >
930
+ <AccordionItemButton>
931
+ <div className={' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
932
+ <div
933
+ className="col-lg-12 col-md-12 col-sm-12 p-0"
934
+ onClick={() => {
935
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
936
+ }}
937
+ >
938
+ <p className={' m-0 p-0 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
939
+ </div>
940
+ </div>
941
+ </AccordionItemButton>
942
+ </AccordionItemHeading>
943
+ <AccordionItemPanel className="p-0">
944
+ <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
945
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
946
+ {Choosenindex.length != 0 && fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions?.length != 0 && (
947
+ <AccordionItem>
948
+ {fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions.map((item, index) => (
949
+ <AccordionItemHeading>
950
+ <AccordionItemButton>
951
+ <div className={' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
952
+ <div
953
+ className="col-lg-12 col-md-12 col-sm-12 p-0"
954
+ onClick={() => {
955
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
956
+ }}
957
+ >
958
+ <p className={' m-0 p-0 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
959
+ </div>
960
+ </div>
961
+ </AccordionItemButton>
962
+ </AccordionItemHeading>
963
+ ))}
964
+
965
+ <AccordionItemPanel className="p-0">
966
+ <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
967
+ <div className={'col-lg-12'}></div>
968
+ </div>
969
+ </AccordionItemPanel>
970
+ </AccordionItem>
971
+ )}
972
+ </Accordion>
973
+ </div>
974
+ </AccordionItemPanel>
975
+ </AccordionItem>
976
+ );
977
+ })}
978
+ </Accordion>
979
+ </div>
980
+ )}
981
+ </Offcanvas.Body>
982
+ </Offcanvas> */}
983
+
984
+ {/* )} */}
985
+ </div>
986
+ </div>
987
+ );
988
+ };
989
+
990
+ export default Headerresponsive;