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,1562 @@
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 MarqueeHeader from '../MarqueeHeader/MarqueeHeader.jsx';
8
+ import { Offcanvas } from 'react-bootstrap';
9
+ import Subheader from '../Subheader/Subheader.jsx';
10
+ import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
11
+ import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
12
+ import { BiGlobe } from '@react-icons/all-files/bi/BiGlobe';
13
+ import { HiOutlinePlus } from '@react-icons/all-files/hi/HiOutlinePlus';
14
+ import { AiOutlineMinus } from '@react-icons/all-files/ai/AiOutlineMinus';
15
+ import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
16
+ import { FaMoneyBillWave } from '@react-icons/all-files/fa/FaMoneyBillWave';
17
+ import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
18
+ import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
19
+ import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
20
+ import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
21
+ import { BiChevronDown } from '@react-icons/all-files/bi/BiChevronDown';
22
+ import { BiUser } from '@react-icons/all-files/bi/BiUser';
23
+ import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
24
+ import { AiOutlineLogin } from '@react-icons/all-files/ai/AiOutlineLogin';
25
+ import { AiOutlineUserAdd } from '@react-icons/all-files/ai/AiOutlineUserAdd';
26
+ import { RiSearchLine } from '@react-icons/all-files/ri/RiSearchLine';
27
+ import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
28
+ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
29
+ import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
30
+ import { CgMenuLeft } from '@react-icons/all-files/cg/CgMenuLeft';
31
+ import { CgMenuRight } from '@react-icons/all-files/cg/CgMenuRight';
32
+ import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
33
+ import { BsBag } from '@react-icons/all-files/bs/BsBag';
34
+ import { HiOutlineShoppingBag } from '@react-icons/all-files/hi/HiOutlineShoppingBag';
35
+ import { RiHandbagLine } from '@react-icons/all-files/ri/RiHandbagLine';
36
+ import tabstyles from '../../../styles/general/tabs.module.css';
37
+ import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
38
+ import { FiChevronDown } from '@react-icons/all-files/fi/FiChevronDown';
39
+ import { FiChevronUp } from '@react-icons/all-files/fi/FiChevronUp';
40
+ const Headerresponsive = (props) => {
41
+ const actions = props.actions;
42
+ const LogoutMutationContext = props.actions.LogoutMutationContext;
43
+ const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
44
+ const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
45
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
46
+ const lang = props.actions.lang;
47
+ const langdetect = props.actions.langdetect;
48
+ const setlang = props.actions.setlang;
49
+ const templatepropcontext = props.actions.templatepropcontext;
50
+ const authdetailsContext = props.actions.authdetailsContext;
51
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
52
+ const templateproperties_context = props.actions.templateproperties_context;
53
+ const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
54
+ const routingcountext = props.actions.routingcountext;
55
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
56
+ const setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
57
+ const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
58
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
59
+ const [sectionproperties, setsectionproperties] = useState('');
60
+ const [Choosenindex, setChoosenindex] = useState('');
61
+ const [pcollarray, setpcollarray] = useState([]);
62
+ useEffect(() => {
63
+ if (props.sectionpropertiesprops != undefined) {
64
+ setsectionproperties({ ...props.sectionpropertiesprops });
65
+ }
66
+ }, [props.sectionpropertiesprops]);
67
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
68
+ const [openCnvas, setopenCnvas] = useState(false);
69
+ const [activeTab, setactiveTab] = useState('');
70
+ useEffect(() => {
71
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
72
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
73
+ if (Array.isArray(logoarrayofobjectsparsed)) {
74
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
75
+ }
76
+ }
77
+ }, [templateproperties_context]);
78
+ useEffect(() => {
79
+ if (fetchCategoriesQueryContext.isSuccess == true && fetchCategoriesQueryContext.data.data.status == true) {
80
+ var temppcollarray = [...pcollarray];
81
+ fetchCategoriesQueryContext?.data?.data?.categories.forEach(function (arrayItem) {
82
+ arrayItem?.parentcolletions.forEach(function (item) {
83
+ if (arrayItem.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
84
+ temppcollarray.push(item);
85
+ }
86
+ });
87
+ });
88
+ setpcollarray([...temppcollarray]);
89
+ }
90
+ }, [fetchCategoriesQueryContext.isSuccess]);
91
+ useEffect(() => {
92
+ if (sectionproperties.headerresptabtype == 'Collections Only') {
93
+ setactiveTab('categories');
94
+ }
95
+ }, []);
96
+
97
+ const header_cssstyles = {
98
+ header_logo: css({
99
+ width: sectionproperties.logo_width + 'px',
100
+ height: sectionproperties.logo_height + 'px',
101
+ }),
102
+ navbar_item_text_responsive: css({
103
+ fontSize: sectionproperties.header_fontSizeresponsive + 'px',
104
+ color: sectionproperties.header_fontColorresponsive,
105
+ textTransform: sectionproperties.header_textTransformresponsive,
106
+ fontWeight: sectionproperties.header_textfontweight_responsive,
107
+ transition: '.3s',
108
+ ':hover': {
109
+ color: sectionproperties.header_fontColorresponsive_onhover,
110
+ },
111
+ }),
112
+ badge_counter_header_notifications: css({
113
+ display: 'flex',
114
+ justifyContent: 'center',
115
+ alignItems: 'center',
116
+ position: 'absolute',
117
+ background: sectionproperties.badge_bgcolor,
118
+ width: '45px',
119
+ height: '45px',
120
+ color: sectionproperties.badge_color,
121
+ borderRadius: sectionproperties.badge_borderradius + 'px',
122
+ fontSize: sectionproperties.badgefontsizeresp + 'px',
123
+ transform: 'scale(0.3)',
124
+ transformOrigin: 'top right',
125
+ // marginRight: langdetect == 'en' ? 0 : '-5px',
126
+ fontWeight: sectionproperties.badgefontweight,
127
+ }),
128
+ wishlistbtn: css({
129
+ width: sectionproperties.wishlistbtnresp_width + 'px',
130
+ height: sectionproperties.wishlistbtnresp_height + 'px',
131
+ borderRadius: sectionproperties.wishlistbtnresp_borderRadius + 'px',
132
+ border: sectionproperties.wishlistbtnresp_borderWidth + 'px solid ' + sectionproperties.wishlistbtnresp_borderColor,
133
+ background: sectionproperties.wishlistbtnresp_bgColor,
134
+ fontSize: sectionproperties.wishlistresponsivefontsize + 'px',
135
+ color: sectionproperties.wishlistresponsivecolor,
136
+ position: 'relative',
137
+ }),
138
+ addtocartbtn_resp: css({
139
+ position: 'relative',
140
+ cursor: 'pointer',
141
+ display: 'flex',
142
+ alignItems: 'center',
143
+ color: sectionproperties.cart_BtnTextcolor_resp,
144
+ background: sectionproperties.cart_BtnbgColor_resp,
145
+ width: sectionproperties.cart_BtnWidth_resp + 'px',
146
+ height: sectionproperties.cart_BtnHeight_resp + 'px',
147
+ borderRadius: sectionproperties.cart_BtnborderRadius_resp + 'px',
148
+ border: sectionproperties.cartBtnresp_borderWidth + 'px solid ' + sectionproperties.cartBtnresp_borderColor,
149
+ transition: '.3s',
150
+ }),
151
+ searchbarcont: css({
152
+ position: 'relative',
153
+ transition: '.3s',
154
+ }),
155
+ searchbar_icon_cont: css({
156
+ display: 'flex',
157
+ justifyContent: 'center',
158
+ alignItems: 'center',
159
+ textAlign: 'center',
160
+ color: sectionproperties.searchbaricon_color_resp,
161
+ transition: '0.3s ease',
162
+ position: 'absolute',
163
+ left: langdetect == 'en' ? 5 : '',
164
+ right: langdetect == 'en' ? '' : 5,
165
+ bottom: 0,
166
+ top: 0,
167
+ margin: 'auto',
168
+ }),
169
+ searchbarcont_input: css({
170
+ height: '100%',
171
+ width: '100%',
172
+ outline: 'none',
173
+ border: 'none',
174
+ background: 'transparent',
175
+ color: sectionproperties.searchbarcontinput_colorresp,
176
+ // color: '#000',
177
+ fontWeight: sectionproperties.searchbarcont_inputfontweight,
178
+ // fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
179
+ fontSize: '15px',
180
+ paddingRight: langdetect == 'en' ? 0 : '20px',
181
+ paddingLeft: langdetect == 'en' ? '20px' : 0,
182
+ transition: '0.3s',
183
+ }),
184
+ languagecontainer: css({
185
+ color: sectionproperties.language_container_color_resp,
186
+ cursor: 'pointer',
187
+ transition: '.3s',
188
+ ':hover': {
189
+ color: sectionproperties.language_container_coloronhover,
190
+ },
191
+ }),
192
+ dropdownitemcontainer: css({
193
+ fontSize: '13px',
194
+ color: sectionproperties.dropdown_color,
195
+ fontWeight: sectionproperties.dropdown_fontweight,
196
+ textTransform: sectionproperties.dropdown_texttransform,
197
+ padding: '0.3rem 0.8rem',
198
+ display: 'flex',
199
+ alignItems: 'center',
200
+ transition: '.3s',
201
+ ':hover': {
202
+ color: sectionproperties.dropdown_hovercolor,
203
+ },
204
+ }),
205
+ userbtnLoggedin_icon: css({
206
+ fontSize: sectionproperties.userBtniconresp_size,
207
+ color: sectionproperties.userBtnTextresp_color,
208
+ }),
209
+ userbtn_respContainer: css({
210
+ position: 'relative',
211
+ cursor: 'pointer',
212
+ display: 'flex',
213
+ alignItems: 'center',
214
+ color: sectionproperties.userBtnTextresp_color,
215
+ fontSize: sectionproperties.userBtntextfontresp_size + 'px',
216
+ fontWeight: sectionproperties.userBtnTextfontweight,
217
+ transition: '.3s',
218
+ ':hover .userbtn_resp': {
219
+ color: sectionproperties.userbtnresp_Coloronhover,
220
+ },
221
+ }),
222
+ userbtnloggedin: css({
223
+ width: sectionproperties.userBtnWidth_resp + 'px',
224
+ height: sectionproperties.userBtnHeight_resp + 'px',
225
+ backgroundColor: sectionproperties.userBtnbgColor_resp,
226
+ color: sectionproperties.userBtnTextcolor_resp, //aywa da icon color
227
+ fontSize: sectionproperties.userBtniconresp_size + 'px',
228
+ borderRadius: sectionproperties.userBtnResp_BorderRadius + 'px',
229
+ border: sectionproperties.userBtnResp_BorderWidth + 'px solid ' + sectionproperties.userBtnResp_BorderColor,
230
+ transition: '.3s',
231
+ ':hover': {
232
+ color: sectionproperties.userbtnresp_IconColoronhover,
233
+ },
234
+ }),
235
+ loggedintext: css({
236
+ color: sectionproperties.userbtnresp_loggedincolor,
237
+ fontSize: sectionproperties.userBtntextfontresp_size + 'px',
238
+ fontWeight: sectionproperties.userBtnTextfontweight,
239
+ maxWidth: '50px',
240
+ transition: '.3s',
241
+ }),
242
+ userbtnloggedincontainer: css({
243
+ ':hover .loggedintext': {
244
+ color: sectionproperties.userbtnresp_loggedincoloronhover,
245
+ },
246
+ ':hover .userbtnloggedin': {
247
+ color: sectionproperties.userbtnresp_IconColoronhover,
248
+ borderColor: sectionproperties.userbtnresp_IconColoronhover,
249
+ backgroundColor: sectionproperties.userbtnresp_bgColoronhover,
250
+ },
251
+ }),
252
+ storeimage: css({
253
+ '@media (max-width: 800px)': {
254
+ maxWidth: '120px',
255
+ maxHeight: '110px',
256
+ objectFit: 'contain',
257
+ },
258
+ }),
259
+ };
260
+
261
+ const CartButton = () => {
262
+ return (
263
+ <div
264
+ class="d-flex align-items-center"
265
+ style={{
266
+ position: 'relative',
267
+ }}
268
+ >
269
+ <button
270
+ className={`${header_cssstyles.addtocartbtn_resp}` + ' d-flex align-items-center justify-content-center ml-1 p-0 '}
271
+ onClick={() => {
272
+ if (fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length > 7) {
273
+ routingcountext(StaticPagesLinksContext.viewcart);
274
+ } else {
275
+ setsidecartnavshowcontext(true);
276
+ }
277
+ }}
278
+ >
279
+ <i className={' h-100 d-flex align-items-center justify-content-center '}>
280
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtniconresp_size} />}
281
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtniconresp_size} />}
282
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtniconresp_size} />}
283
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtniconresp_size} />}
284
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtniconresp_size} />}
285
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtniconresp_size} />}
286
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtniconresp_size} />}
287
+ </i>
288
+ </button>
289
+ <div
290
+ className={`${header_cssstyles.badge_counter_header_notifications}`}
291
+ style={{
292
+ top: sectionproperties.cartbadgefromtop + 'px',
293
+ right: sectionproperties.cartbadgefromright + 'px',
294
+ }}
295
+ >
296
+ {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
297
+ </div>
298
+ </div>
299
+ );
300
+ };
301
+ const FavButton = () => {
302
+ return (
303
+ <div style={{ position: 'relative', marginLeft: langdetect == 'en' ? '12px' : '16px', marginRight: langdetect == 'en' ? '16px' : '16px' }}>
304
+ <button
305
+ className={header_cssstyles.wishlistbtn + ' d-flex align-items-center justify-content-center ml-1 p-0 '}
306
+ onClick={() => {
307
+ routingcountext(StaticPagesLinksContext.Wishlist);
308
+ }}
309
+ >
310
+ <i className={' h-100 d-flex align-items-center justify-content-center '}>
311
+ {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
312
+ {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
313
+ </i>
314
+ </button>
315
+ <div
316
+ className={`${header_cssstyles.badge_counter_header_notifications}`}
317
+ style={{
318
+ top: sectionproperties.wishlistresponsivebadgefromtop + 'px',
319
+ right: sectionproperties.wishlistresponsivebadgefromright + 'px',
320
+ }}
321
+ >
322
+ {favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}
323
+ </div>
324
+ </div>
325
+ );
326
+ };
327
+ return (
328
+ <div className="row m-0 w-100">
329
+ <div
330
+ className="col-lg-12 p-0"
331
+ style={{
332
+ position: sectionproperties.headerresponsive == 'Absolute' ? 'absolute' : sectionproperties.headerresponsive == 'Fixed' ? 'fixed' : 'relative',
333
+ }}
334
+ >
335
+ {sectionproperties.length != 0 && (
336
+ <div className={' row m-0 w-100 d-none d-md-flex p-0 '}>
337
+ {sectionproperties.showtextslider == 'Show' && <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />}
338
+ <div
339
+ className="col-lg-12 p-0"
340
+ style={{
341
+ background: sectionproperties.resposive_bgcolor,
342
+ }}
343
+ >
344
+ <div className="row m-0 w-100 p-0 pl-2 pr-2 ">
345
+ <div className="col-md-6 col-sm-5 d-flex filter align-items-center p-0">
346
+ <div
347
+ className={langdetect == 'en' ? 'mr-1' : 'ml-1'}
348
+ onClick={() => {
349
+ if (sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas') {
350
+ setopenCnvas(true);
351
+ if (sectionproperties.headerresptabtype == 'Collections Only') {
352
+ setactiveTab('categories');
353
+ } else {
354
+ setactiveTab('menu');
355
+ }
356
+ } else {
357
+ var element2 = document.getElementById('filter');
358
+ element2.classList.toggle('d-flex');
359
+ if (sectionproperties.showhidesubheader == 'Show') {
360
+ var element3 = document.getElementById('subheader');
361
+ element3.classList.toggle('d-none');
362
+ }
363
+ }
364
+ }}
365
+ >
366
+ <i class="h-100 allcentered">
367
+ {langdetect == 'en' ? (
368
+ <CgMenuLeft size={sectionproperties.resp_sidenav_size + 'px'} style={{ color: sectionproperties.resp_sidenav_color }} />
369
+ ) : (
370
+ <CgMenuRight size={sectionproperties.resp_sidenav_size + 'px'} style={{ color: sectionproperties.resp_sidenav_color }} />
371
+ )}
372
+ </i>
373
+ </div>
374
+ <div
375
+ className={header_cssstyles.header_logo + ' d-flex align-items-center justify-content-start '}
376
+ style={{ cursor: 'pointer' }}
377
+ onClick={() => {
378
+ routingcountext('home');
379
+ }}
380
+ >
381
+ <Imagekitimagecomp
382
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
383
+ publicKey={ikimagecredcontext?.ikimagepublickey}
384
+ path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
385
+ style={{
386
+ maxWidth: '100%',
387
+ maxHeight: '100%',
388
+ }}
389
+ />
390
+ </div>
391
+ </div>
392
+ <div className="col-md-6 col-sm-7 d-flex align-items-center justify-content-end p-0">
393
+ {sectionproperties.ShowUserBtn == 'Show' && (
394
+ <Dropdown>
395
+ <Dropdown.Toggle>
396
+ {!authdetailsContext.loggedin && (
397
+ <button class={`${header_cssstyles.userbtn_respContainer}` + ' d-flex align-items-center justify-content-center p-0 m-0 font-weight-600 mt-1 '}>
398
+ <p class={`${header_cssstyles.userbtnLoggedin_icon}` + ' userbtn_resp m-0 p-0 p-0 align-items-center allcentered '}>
399
+ <BiUser />
400
+ </p>
401
+ <span
402
+ class="userbtn_resp"
403
+ style={{
404
+ marginLeft: langdetect == 'en' ? '3px' : 0,
405
+ marginRight: langdetect == 'en' ? 0 : '3px',
406
+ }}
407
+ >
408
+ {lang.login}
409
+ </span>
410
+ </button>
411
+ )}
412
+ {authdetailsContext.loggedin && (
413
+ <div class={header_cssstyles.userbtnloggedincontainer + ' d-flex align-items-center justify-content-center mb-1 '} sytle={{ position: 'relative' }}>
414
+ <p
415
+ className={`${header_cssstyles.userbtnloggedin}` + ' m-0 p-0 p-0 align-items-center allcentered userbtnloggedin '}
416
+ style={{ textTransform: 'uppercase' }}
417
+ >
418
+ <i className="allcentered">
419
+ <BiUser />
420
+ </i>
421
+ </p>
422
+ <p
423
+ className="mb-0 p-0 text-capitalize"
424
+ style={{
425
+ lineHeight: '16px',
426
+ textAlign: langdetect == 'en' ? 'left' : 'right',
427
+ marginLeft: langdetect == 'en' ? '5px' : 0,
428
+ marginRight: langdetect == 'en' ? 0 : '5px',
429
+ }}
430
+ >
431
+ <span
432
+ style={{
433
+ color: sectionproperties.usergreetingresp_color,
434
+ fontSize: sectionproperties.usergreetingresp_size + 'px',
435
+ fontWeight: 300,
436
+ }}
437
+ >
438
+ {lang.hello}
439
+ {langdetect == 'en' ? ',' : '،'}
440
+ </span>
441
+ <br />
442
+ <span className={header_cssstyles.loggedintext + ' text-overflow d-block loggedintext '}>{authdetailsContext.customerinfo.name}</span>
443
+ </p>
444
+ </div>
445
+ )}
446
+ </Dropdown.Toggle>
447
+ {!authdetailsContext.loggedin && (
448
+ <Dropdown.Menu>
449
+ <Dropdown.Item
450
+ onClick={() => {
451
+ routingcountext(StaticPagesLinksContext.Login);
452
+ }}
453
+ >
454
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
455
+ <p className={' d-flex align-items-center m-0 p-0 '}>
456
+ <AiOutlineLogin className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
457
+ <span>{lang.login}</span>
458
+ </p>
459
+ </div>
460
+ </Dropdown.Item>
461
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
462
+ <Dropdown.Item
463
+ onClick={() => {
464
+ routingcountext(StaticPagesLinksContext.Signup);
465
+ }}
466
+ >
467
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
468
+ <p className={' d-flex align-items-center m-0 p-0 '}>
469
+ <AiOutlineUserAdd className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
470
+ <span className="text-transform-none">{lang.signup}</span>
471
+ </p>
472
+ </div>
473
+ </Dropdown.Item>
474
+ {/* {sectionproperties.cartBtnShow == 'Show' && <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>}
475
+ {sectionproperties.cartBtnShow == 'Show' && (
476
+ <Dropdown.Item
477
+ onClick={() => {
478
+ routingcountext(StaticPagesLinksContext.viewcart);
479
+ }}
480
+ >
481
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
482
+ <p className={' d-flex align-items-center m-0 p-0 '}>
483
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
484
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
485
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
486
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag />}
487
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
488
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
489
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar />}
490
+ <span className="ml-2 mr-2">{lang.viewcart}</span>
491
+ </p>
492
+ </div>
493
+ </Dropdown.Item>
494
+ )} */}
495
+ </Dropdown.Menu>
496
+ )}
497
+ {authdetailsContext.loggedin && (
498
+ <Dropdown.Menu style={{ minWidth: '200px' }}>
499
+ <Dropdown.Item className={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center justify-content-center '}>
500
+ <div class="row m-0 w-100">
501
+ <div class={'flex-row w-100 d-flex justify-content-start'}>
502
+ <span
503
+ style={{
504
+ color: '#8fa0bd',
505
+ fontSize: sectionproperties.dropdownusernamefontsize + 'px',
506
+ }}
507
+ >
508
+ {lang.hello}
509
+ {langdetect == 'en' ? ',' : '،'}
510
+ </span>
511
+ <span
512
+ className="font-weight-600 ml-1 mr-1 text-overflow text-capitalize"
513
+ onClick={() => {
514
+ routingcountext(StaticPagesLinksContext.accountinfo);
515
+ }}
516
+ style={{
517
+ color: sectionproperties.dropdownusernamecolor,
518
+ fontSize: sectionproperties.dropdownusernamefontsize + 'px',
519
+ }}
520
+ >
521
+ {authdetailsContext.customerinfo.name}
522
+ </span>
523
+ </div>
524
+ {authdetailsContext?.customerinfo?.cancustomerviewwallet == 1 && templateproperties_context.showwallet == 'Show' && (
525
+ <div class={' row w-100 m-0 p-0 flex-row mt-1 w-100 justify-content-start'}>
526
+ <p
527
+ class="m-0 p-0"
528
+ style={{
529
+ color: templateproperties_context.walletcontainercolorresponsive,
530
+ fontSize: templateproperties_context.walletfontize + 'px',
531
+ fontWeight: 500,
532
+ }}
533
+ >
534
+ {langdetect == 'en' ? templateproperties_context.walletcontent_en : templateproperties_context.walletcontent_ar}
535
+ </p>
536
+ <p
537
+ class="m-0 p-0 mx-1"
538
+ style={{
539
+ color: templateproperties_context.walletcontainersecondarycolorresponsive,
540
+ fontSize: '15px',
541
+ fontWeight: 600,
542
+ }}
543
+ >
544
+ {authdetailsContext?.customerinfo?.walletpoints}{' '}
545
+ </p>
546
+ </div>
547
+ )}
548
+ </div>
549
+ </Dropdown.Item>
550
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
551
+ {templateproperties_context.showprevorder == 'Show' && (
552
+ <Dropdown.Item
553
+ onClick={() => {
554
+ routingcountext(StaticPagesLinksContext.Ordershistory);
555
+ }}
556
+ >
557
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
558
+ <p className={' d-flex align-items-center m-0 p-0 '}>
559
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
560
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
561
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
562
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine />}
563
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
564
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
565
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar />}
566
+ <span className={langdetect == 'en' ? 'ml-2' : 'mr-2'}>{lang.orderhistory}</span>
567
+ </p>
568
+ </div>
569
+ </Dropdown.Item>
570
+ )}
571
+ {templateproperties_context.showprevorder == 'Show' && <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>}
572
+ <Dropdown.Item
573
+ onClick={() => {
574
+ routingcountext(StaticPagesLinksContext.Wishlist);
575
+ }}
576
+ >
577
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
578
+ <p className={' d-flex align-items-center m-0 p-0 '}>
579
+ {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
580
+ {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
581
+ <span className={langdetect == 'en' ? 'ml-2' : 'mr-2'}>{lang.wishlist}</span>
582
+ </p>
583
+ </div>
584
+ </Dropdown.Item>
585
+
586
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
587
+ <Dropdown.Item
588
+ onClick={() => {
589
+ routingcountext(StaticPagesLinksContext.Policies);
590
+ }}
591
+ >
592
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
593
+ <p className={' d-flex align-items-center m-0 p-0 '}>
594
+ <AiOutlineSecurityScan />
595
+ <span className={langdetect == 'en' ? 'ml-2' : 'mr-2'}>
596
+ {langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar}
597
+
598
+ {/* {lang.policies} */}
599
+ </span>
600
+ </p>
601
+ </div>
602
+ </Dropdown.Item>
603
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
604
+ <Dropdown.Item
605
+ onClick={() => {
606
+ LogoutMutationContext.mutate();
607
+ }}
608
+ >
609
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
610
+ <p className={' d-flex align-items-center m-0 p-0 '}>
611
+ <BiLogOutCircle />
612
+ <span className={langdetect == 'en' ? 'ml-2' : 'mr-2'}>{lang.logout}</span>
613
+ </p>
614
+ </div>
615
+ </Dropdown.Item>
616
+ </Dropdown.Menu>
617
+ )}
618
+ </Dropdown>
619
+ )}
620
+ {sectionproperties.faviconshape != null && sectionproperties.searchbar_show == 'Show' && sectionproperties.favBtnShow == 'Show' && FavButton()}
621
+ {sectionproperties.cartBtnShow == 'Show' && sectionproperties.searchbar_show == 'Show' && CartButton()}
622
+ {sectionproperties.searchbar_show == 'Hide' &&
623
+ sectionproperties.favBtnShow == 'Hide' &&
624
+ sectionproperties.cartBtnShow == 'Hide' &&
625
+ authdetailsContext?.instinfo?.instcurrencies?.length == 1 && (
626
+ <div
627
+ className={'allcentered resposiveheader_languagedropdown'}
628
+ style={{
629
+ marginLeft: langdetect == 'en' ? '0.25rem' : 0,
630
+ marginRight: langdetect == 'ar' ? '0.25rem' : 0,
631
+ // flex: sectionproperties.searchbar_show == 'Show' ? '' : 1,
632
+ }}
633
+ >
634
+ {langdetect == 'en' && (
635
+ <div
636
+ className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '}
637
+ style={{ direction: 'rtl' }}
638
+ onClick={() => {
639
+ setlang('ar');
640
+ }}
641
+ >
642
+ <p class="m-0 p-0 font-weight-500">ع</p>
643
+ <i className={langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'}>
644
+ <BiChevronDown size={20} />
645
+ </i>
646
+ </div>
647
+ )}
648
+ {langdetect == 'ar' && (
649
+ <div
650
+ className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '}
651
+ style={{ direction: 'ltr' }}
652
+ onClick={() => {
653
+ setlang('en');
654
+ }}
655
+ >
656
+ <p class="m-0 p-0 font-weight-500 mr-1">En</p>
657
+ <i className="h-100 allcentered">
658
+ <BiChevronDown size={20} />
659
+ </i>
660
+ </div>
661
+ )}
662
+ {/* <Dropdown>
663
+ <Dropdown.Toggle>
664
+ <div className={'allcentered m-0 cursor-pointer'}>
665
+ {langdetect == 'ar' && (
666
+ <div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '} style={{ direction: 'rtl' }}>
667
+ <p class="m-0 p-0 font-weight-500">ع</p>
668
+ <i className={langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'}>
669
+ <BiChevronDown size={20} />
670
+ </i>
671
+ </div>
672
+ )}
673
+ {langdetect == 'en' && (
674
+ <div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '} style={{ direction: 'ltr' }}>
675
+ <p class="m-0 p-0 font-weight-500 mr-1">En</p>
676
+ <i className="h-100 allcentered">
677
+ <BiChevronDown size={20} />
678
+ </i>
679
+ </div>
680
+ )}
681
+ </div>
682
+ </Dropdown.Toggle>
683
+ <Dropdown.Menu>
684
+ <Dropdown.Item
685
+ className={`${header_cssstyles.dropdownitem}`}
686
+ onClick={() => {
687
+ setlang('ar');
688
+ }}
689
+ >
690
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
691
+ <p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
692
+ {sectionproperties.flagiconhederresp == 'Flag' && (
693
+ <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
694
+ )}
695
+ {sectionproperties.flagiconhederresp != 'Flag' && <BiGlobe size={15} />}
696
+
697
+ <span className="ml-2 mr-2">{lang.arabic}</span>
698
+ </p>
699
+ </div>
700
+ </Dropdown.Item>
701
+ <Dropdown.Divider></Dropdown.Divider>
702
+ <Dropdown.Item
703
+ className={`${header_cssstyles.dropdownitem}`}
704
+ onClick={() => {
705
+ setlang('en');
706
+ }}
707
+ >
708
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
709
+ <p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
710
+ {sectionproperties.flagiconhederresp == 'Flag' && (
711
+ <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
712
+ )}
713
+ {sectionproperties.flagiconhederresp != 'Flag' && <BiGlobe size={15} />}
714
+ <span className="ml-2 mr-2">{lang.english}</span>
715
+ </p>
716
+ </div>
717
+ </Dropdown.Item>
718
+ </Dropdown.Menu>
719
+ </Dropdown> */}
720
+ </div>
721
+ )}
722
+ </div>
723
+ </div>
724
+ <div
725
+ className="row m-0 w-100 p-0"
726
+ style={{
727
+ borderTop: '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
728
+ borderBottom: '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
729
+ display:
730
+ sectionproperties.searchbar_show == 'Hide' &&
731
+ sectionproperties.favBtnShow == 'Hide' &&
732
+ sectionproperties.cartBtnShow == 'Hide' &&
733
+ authdetailsContext?.instinfo?.instcurrencies?.length == 1
734
+ ? 'none'
735
+ : 'flex',
736
+ }}
737
+ >
738
+ {sectionproperties.searchbar_show == 'Show' && (
739
+ <div
740
+ className={
741
+ authdetailsContext != undefined && authdetailsContext?.instinfo?.instcurrencies?.length > 1
742
+ ? 'col-md-8 p-0'
743
+ : sectionproperties.showlanuagecontainer == 'Show'
744
+ ? 'col-md-10 p-0'
745
+ : 'col-md-12 p-0'
746
+ }
747
+ style={{
748
+ borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
749
+ borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
750
+ }}
751
+ >
752
+ <div className={header_cssstyles.searchbarcont + ' p-2 m-auto '}>
753
+ <span className={header_cssstyles.searchbar_icon_cont + ' h-100 d-flex align-items-center justify-content-center m-0 pr-0 cursor-pointer '}>
754
+ <i className="h-100 d-flex align-items-center justify-content-center">
755
+ <RiSearchLine size={15} />
756
+ </i>
757
+ </span>
758
+ <input
759
+ type="text"
760
+ placeholder={langdetect == 'en' ? 'What are you looking for?' : 'بحث...'}
761
+ className={`${header_cssstyles.searchbarcont_input}`}
762
+ onChange={(event) => {
763
+ setSearchHeaderInputContext(event.target.value);
764
+ }}
765
+ />
766
+
767
+ <Searchlist sectionpropertiesprops={sectionproperties} actions={actions} srcfromprops={'respheader'} />
768
+ </div>
769
+ </div>
770
+ )}
771
+ {sectionproperties.faviconshape != null && sectionproperties.searchbar_show == 'Hide' && sectionproperties.favBtnShow == 'Show' && (
772
+ <div
773
+ class="allcentered pt-2 pb-2"
774
+ style={{
775
+ flex: 1,
776
+ borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
777
+ borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
778
+ }}
779
+ >
780
+ {FavButton()}
781
+ </div>
782
+ )}
783
+ {sectionproperties.faviconshape != null && sectionproperties.searchbar_show == 'Hide' && sectionproperties.cartBtnShow == 'Show' && (
784
+ <div
785
+ class="allcentered pt-2 pb-2"
786
+ style={{
787
+ flex: 1,
788
+ borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
789
+ borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
790
+ }}
791
+ >
792
+ {CartButton()}
793
+ </div>
794
+ )}
795
+ {authdetailsContext != undefined && authdetailsContext?.instinfo?.instcurrencies?.length > 1 && (
796
+ <div
797
+ class={'col-md-2 d-flex align-items-center justify-content-center pl-1 pr-1 pt-1'}
798
+ style={{
799
+ borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
800
+ borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
801
+ }}
802
+ >
803
+ <Dropdown>
804
+ <Dropdown.Toggle>
805
+ <li class={' d-flex align-items-center justify-content-center '}>
806
+ {langdetect == 'en' && (
807
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
808
+ <p class="m-0 p-0 mr-1 ml-1">{authdetailsContext?.currencyname_en}</p>
809
+ <MdKeyboardArrowDown />
810
+ </div>
811
+ )}
812
+ {langdetect == 'ar' && (
813
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
814
+ <p class="m-0 p-0 ml-1 mr-1">{authdetailsContext?.currencyname_ar}</p>
815
+ <MdKeyboardArrowDown />
816
+ </div>
817
+ )}
818
+ </li>
819
+ </Dropdown.Toggle>
820
+ <Dropdown.Menu>
821
+ {authdetailsContext?.instinfo?.instcurrencies?.map(function (item, index) {
822
+ return (
823
+ <Dropdown.Item
824
+ class="m-0 p-0"
825
+ onClick={() => {
826
+ setcurrencyfunccontext(item);
827
+ }}
828
+ >
829
+ <div class="row m-0 w-100">
830
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
831
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
832
+ <p
833
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
834
+ style={{
835
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
836
+ fontWeight: sectionproperties.dropdown_fontweight,
837
+ textTransform: sectionproperties.dropdown_texttransform,
838
+ }}
839
+ >
840
+ <FaMoneyBillWave />
841
+ <span class={'ml-2 mr-2'}>{langdetect == 'en' ? item.currencyname_en : item.currencyname_ar}</span>
842
+ </p>
843
+ </div>
844
+ </div>
845
+ {index != authdetailsContext?.instinfo?.instcurrencies?.length - 1 && (
846
+ <div class="col-lg-12 p-0">
847
+ <hr class="m-0" />
848
+ </div>
849
+ )}
850
+ </div>
851
+ </Dropdown.Item>
852
+ );
853
+ })}
854
+ </Dropdown.Menu>
855
+ </Dropdown>
856
+ </div>
857
+ )}
858
+ {sectionproperties.showlanuagecontainer == 'Show' && (
859
+ <div
860
+ className={
861
+ sectionproperties.searchbar_show == 'Show'
862
+ ? langdetect == 'en'
863
+ ? 'col-md-2 allcentered pl-1 pr-1 pt-1 resposiveheader_languagedropdown'
864
+ : 'col-md-2 allcentered pl-1 pr-1 pt-1'
865
+ : 'allcentered pl-1 pr-1 pt-2 pb-2 resposiveheader_languagedropdown'
866
+ }
867
+ style={{
868
+ flex: sectionproperties.searchbar_show == 'Show' ? '' : 1,
869
+ }}
870
+ >
871
+ {langdetect == 'en' && (
872
+ <div
873
+ className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '}
874
+ style={{ direction: 'rtl' }}
875
+ onClick={() => {
876
+ setlang('ar');
877
+ }}
878
+ >
879
+ <p class="m-0 p-0 font-weight-500">ع</p>
880
+ <i className={langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'}>
881
+ <BiChevronDown size={20} />
882
+ </i>
883
+ </div>
884
+ )}
885
+ {langdetect == 'ar' && (
886
+ <div
887
+ className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '}
888
+ style={{ direction: 'ltr' }}
889
+ onClick={() => {
890
+ setlang('en');
891
+ }}
892
+ >
893
+ <p class="m-0 p-0 font-weight-500 mr-1">En</p>
894
+ <i className="h-100 allcentered">
895
+ <BiChevronDown size={20} />
896
+ </i>
897
+ </div>
898
+ )}
899
+ {/* <Dropdown>
900
+ <Dropdown.Toggle>
901
+ <div className={'allcentered m-0 cursor-pointer'}>
902
+ {langdetect == 'ar' && (
903
+ <div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '} style={{ direction: 'rtl' }}>
904
+ <p class="m-0 p-0 font-weight-500">ع</p>
905
+ <i className={langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'}>
906
+ <BiChevronDown size={20} />
907
+ </i>
908
+ </div>
909
+ )}
910
+ {langdetect == 'en' && (
911
+ <div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '} style={{ direction: 'ltr' }}>
912
+ <p class="m-0 p-0 font-weight-500 mr-1">En</p>
913
+ <i className="h-100 allcentered">
914
+ <BiChevronDown size={20} />
915
+ </i>
916
+ </div>
917
+ )}
918
+ </div>
919
+ </Dropdown.Toggle>
920
+ <Dropdown.Menu>
921
+ <Dropdown.Item
922
+ className={`${header_cssstyles.dropdownitem}`}
923
+ onClick={() => {
924
+ setlang('ar');
925
+ }}
926
+ >
927
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
928
+ <p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
929
+ {sectionproperties.flagiconhederresp == 'Flag' && (
930
+ <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
931
+ )}
932
+ {sectionproperties.flagiconhederresp != 'Flag' && <BiGlobe size={15} />}
933
+
934
+ <span className="ml-2 mr-2">{lang.arabic}</span>
935
+ </p>
936
+ </div>
937
+ </Dropdown.Item>
938
+ <Dropdown.Divider></Dropdown.Divider>
939
+ <Dropdown.Item
940
+ className={`${header_cssstyles.dropdownitem}`}
941
+ onClick={() => {
942
+ setlang('en');
943
+ }}
944
+ >
945
+ <div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
946
+ <p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
947
+ {sectionproperties.flagiconhederresp == 'Flag' && (
948
+ <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
949
+ )}
950
+ {sectionproperties.flagiconhederresp != 'Flag' && <BiGlobe size={15} />}
951
+ <span className="ml-2 mr-2">{lang.english}</span>
952
+ </p>
953
+ </div>
954
+ </Dropdown.Item>
955
+ </Dropdown.Menu>
956
+ </Dropdown> */}
957
+ </div>
958
+ )}
959
+ </div>
960
+ <div className="row m-0 w-100 pt-2 filter d-none" id="filter">
961
+ <div className="col-lg-12 p-0">
962
+ <ul className={' d-flex justify-content-center flex-column p-0 '}>
963
+ {templatepropcontext.pagesnprop.map((item, index) => {
964
+ if (item.isnavigation == 1 && item.isactive == 1) {
965
+ return (
966
+ <div className="row m-0 w-100">
967
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3" style={{ paddingTop: index == 0 ? 5 : 0 }}>
968
+ <div
969
+ onClick={() => {
970
+ routingcountext(item.navigationroute, false, '');
971
+ }}
972
+ >
973
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
974
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
975
+ </p>
976
+ </div>
977
+ </div>
978
+ <div className="col-lg-12">
979
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
980
+ </div>
981
+ </div>
982
+ );
983
+ }
984
+ })}
985
+ {authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && templateproperties_context.showprevorder == 'Show' && (
986
+ <div className="row m-0 w-100">
987
+ <div
988
+ className="col-lg-12 d-flex justify-content-start"
989
+ onClick={() => {
990
+ routingcountext(StaticPagesLinksContext.Ordershistory);
991
+ }}
992
+ >
993
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>
994
+ {langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear}
995
+ </p>
996
+ </div>
997
+ <div className="col-lg-12">
998
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
999
+ </div>
1000
+ </div>
1001
+ )}
1002
+ {templateproperties_context.showfavorites == 'Show' && (
1003
+ <div className="row m-0 w-100">
1004
+ <div
1005
+ className="col-lg-12 d-flex justify-content-start"
1006
+ onClick={() => {
1007
+ routingcountext(StaticPagesLinksContext.Wishlist);
1008
+ }}
1009
+ >
1010
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.wishlist}</p>
1011
+ </div>
1012
+ <div className="col-lg-12">
1013
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1014
+ </div>
1015
+ </div>
1016
+ )}
1017
+ {templateproperties_context.showpolicies == 'Show' && (
1018
+ <div className="row m-0 w-100">
1019
+ <div
1020
+ className="col-lg-12 d-flex justify-content-start"
1021
+ onClick={() => {
1022
+ routingcountext(StaticPagesLinksContext.Policies);
1023
+ }}
1024
+ >
1025
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1026
+ {langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar}
1027
+ </p>
1028
+ </div>
1029
+ <div className="col-lg-12 p-0">
1030
+ <hr className="mt-3 mb-0" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1031
+ </div>
1032
+ </div>
1033
+ )}
1034
+
1035
+ {sectionproperties.showdownloadsection == 'Show' && (
1036
+ <div className="row m-0 w-100">
1037
+ <div className="col-lg-12 allcentered mt-3">
1038
+ <img
1039
+ src={'https://tabex-co.com/storage/StaticImages/appstore.png'}
1040
+ class={header_cssstyles.storeimage + ' cursor-pointer mx-3 mx-sm-2 '}
1041
+ onClick={() => {
1042
+ window.open(authdetailsContext?.instinfo?.mobileapplink_appstore, '_blank');
1043
+ }}
1044
+ />
1045
+ <img
1046
+ class={header_cssstyles.storeimage + ' cursor-pointer mx-3 mx-sm-0 '}
1047
+ src={'https://tabex-co.com/storage/StaticImages/googleplay.png'}
1048
+ onClick={() => {
1049
+ window.open(authdetailsContext?.instinfo?.mobileapplink_playstore, '_blank');
1050
+ }}
1051
+ />
1052
+ </div>
1053
+
1054
+ <div className="col-lg-12 p-0">
1055
+ <hr className="mt-3 mb-0" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1056
+ </div>
1057
+ </div>
1058
+ )}
1059
+ </ul>
1060
+ </div>
1061
+ </div>
1062
+ </div>
1063
+ {sectionproperties.showhidesubheader == 'Show' && sectionproperties.showresponsivesubheader != 'Hide' && (
1064
+ <div className="col-lg-12 p-0 h-100" id="subheader">
1065
+ <div className="row m-0 w-100 h-100">
1066
+ <div className="col-lg-12 p-0 h-100">
1067
+ <Subheader sectionpropertiesprops={sectionproperties} actions={actions} />
1068
+ </div>
1069
+ </div>
1070
+ </div>
1071
+ )}
1072
+ </div>
1073
+ )}
1074
+ {sectionproperties.length != 0 && sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && (
1075
+ <Offcanvas
1076
+ show={openCnvas}
1077
+ onHide={() => {
1078
+ setopenCnvas(false);
1079
+ }}
1080
+ placement={langdetect == 'en' ? 'start' : 'end'}
1081
+ scroll={true}
1082
+ style={{
1083
+ width: '90%',
1084
+ backgroundColor: 'white',
1085
+ }}
1086
+ backdrop={true}
1087
+ >
1088
+ <Offcanvas.Header>
1089
+ <Offcanvas.Title>
1090
+ {langdetect == 'en' && (
1091
+ <div
1092
+ class="allcentered"
1093
+ style={{
1094
+ position: 'absolute',
1095
+ right: -34,
1096
+ top: 5,
1097
+ width: 30,
1098
+ height: 30,
1099
+ background: '#000',
1100
+ }}
1101
+ onClick={() => {
1102
+ setopenCnvas(false);
1103
+ }}
1104
+ >
1105
+ <IoMdClose color={'#fff'} size={16} />
1106
+ </div>
1107
+ )}
1108
+ {langdetect == 'ar' && (
1109
+ <div
1110
+ class="allcentered"
1111
+ style={{
1112
+ position: 'absolute',
1113
+ left: -34,
1114
+ top: 5,
1115
+ width: 30,
1116
+ height: 30,
1117
+ background: '#000',
1118
+ }}
1119
+ onClick={() => {
1120
+ setopenCnvas(false);
1121
+ }}
1122
+ >
1123
+ <IoMdClose color={'#fff'} size={16} />
1124
+ </div>
1125
+ )}
1126
+ <div className="row m-0 w-100 mb-5" style={{ borderBottom: '1px solid #eee' }}>
1127
+ {sectionproperties.headerresptabtype != 'Collections Only' && (
1128
+ <div
1129
+ className={'col-6 allcentered py-3'}
1130
+ onClick={() => {
1131
+ setactiveTab('menu');
1132
+ }}
1133
+ style={{
1134
+ background: activeTab == 'menu' ? 'white' : '#eee',
1135
+ }}
1136
+ >
1137
+ <p
1138
+ className="m-0 p-0"
1139
+ style={{
1140
+ textTransform: 'uppercase',
1141
+ fontWeight: 500,
1142
+ fontSize: '15px',
1143
+ transition: '.3s',
1144
+ color: '#000',
1145
+ }}
1146
+ >
1147
+ {langdetect == 'en' ? 'MENU' : 'القائمة'}
1148
+ </p>
1149
+ </div>
1150
+ )}
1151
+ <div
1152
+ className={sectionproperties.headerresptabtype == 'Collections Only' ? 'col-12 allcentered py-3' : 'col-6 allcentered py-3'}
1153
+ onClick={() => {
1154
+ setactiveTab('categories');
1155
+ }}
1156
+ style={{
1157
+ background: activeTab == 'categories' ? 'white' : '#eee',
1158
+ }}
1159
+ >
1160
+ <p
1161
+ className="m-0 p-0"
1162
+ style={{
1163
+ textTransform: 'uppercase',
1164
+ fontWeight: 500,
1165
+ fontSize: '15px',
1166
+ transition: '.3s',
1167
+ color: '#000',
1168
+ }}
1169
+ >
1170
+ {langdetect == 'en' ? sectionproperties.titlerespen : sectionproperties.titlerespar}
1171
+ </p>
1172
+ </div>
1173
+ </div>
1174
+ </Offcanvas.Title>
1175
+ </Offcanvas.Header>
1176
+ <Offcanvas.Body>
1177
+ {activeTab == 'menu' && (
1178
+ <div className={' row m-0 w-100 anim '}>
1179
+ <div className="col-lg-12 p-0">
1180
+ <ul className={' d-flex justify-content-center flex-column p-0 '}>
1181
+ {templatepropcontext.pagesnprop.map((item, index) => {
1182
+ if (item.isnavigation == 1 && item.isactive == 1) {
1183
+ return (
1184
+ <div className="row m-0 w-100">
1185
+ <div className="col-lg-12 d-flex justify-content-start pl-3 pr-3" style={{ paddingTop: index == 0 ? 5 : 0 }}>
1186
+ <div
1187
+ onClick={() => {
1188
+ routingcountext(item.navigationroute, false, '');
1189
+ setopenCnvas(false);
1190
+ }}
1191
+ >
1192
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1193
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
1194
+ </p>
1195
+ </div>
1196
+ </div>
1197
+ <div className="col-lg-12 p-0">
1198
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1199
+ </div>
1200
+ </div>
1201
+ );
1202
+ }
1203
+ })}
1204
+ {authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && (
1205
+ <div className="row m-0 w-100">
1206
+ <div
1207
+ className="col-lg-12 d-flex justify-content-start"
1208
+ onClick={() => {
1209
+ routingcountext(StaticPagesLinksContext.Ordershistory);
1210
+ setopenCnvas(false);
1211
+ }}
1212
+ >
1213
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.orderhistory}</p>
1214
+ </div>
1215
+ <div className="col-lg-12 p-0">
1216
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1217
+ </div>
1218
+ </div>
1219
+ )}
1220
+ {templateproperties_context.showfavorites == 'Show' && (
1221
+ <div className="row m-0 w-100">
1222
+ <div
1223
+ className="col-lg-12 d-flex justify-content-start"
1224
+ onClick={() => {
1225
+ routingcountext(StaticPagesLinksContext.Wishlist);
1226
+ setopenCnvas(false);
1227
+ }}
1228
+ >
1229
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.wishlist}</p>
1230
+ </div>
1231
+ <div className="col-lg-12 p-0">
1232
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1233
+ </div>
1234
+ </div>
1235
+ )}
1236
+ {/* here */}
1237
+ {templateproperties_context.showpolicies == 'Show' && (
1238
+ <div className="row m-0 w-100">
1239
+ <div
1240
+ className="col-lg-12 d-flex justify-content-start"
1241
+ onClick={() => {
1242
+ routingcountext(StaticPagesLinksContext.Policies);
1243
+ setopenCnvas(false);
1244
+ }}
1245
+ >
1246
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{lang.policies}</p>
1247
+ </div>
1248
+ </div>
1249
+ )}
1250
+ </ul>
1251
+ </div>
1252
+ </div>
1253
+ )}
1254
+ {activeTab == 'categories' && (
1255
+ <div className={' row m-0 w-100 accordionContainer anim'}>
1256
+ {sectionproperties.subheaderParentType == 'Categories' && (
1257
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1258
+ {fetchCategoriesQueryContext?.data?.data?.categories.map((item, index) => {
1259
+ if (item.isshowntocustomers == 1) {
1260
+ return (
1261
+ <AccordionItem uuid={index}>
1262
+ <AccordionItemHeading
1263
+ onClick={() => {
1264
+ setChoosenindex(index);
1265
+ }}
1266
+ >
1267
+ <AccordionItemButton>
1268
+ <div className={' row m-0 p-0 mb-2 '}>
1269
+ <div className={' row m-0 w-100 px-3 '}>
1270
+ <div
1271
+ className="col-10 p-0 text-start"
1272
+ // onClick={() => {
1273
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
1274
+ // }}
1275
+ >
1276
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1277
+ {langdetect == 'en' ? item.title_en : item.title_ar}
1278
+ </p>
1279
+ </div>
1280
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1281
+ <AccordionItemState>
1282
+ {(state) => {
1283
+ if (state.expanded == true) {
1284
+ return (
1285
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1286
+ <FiChevronDown
1287
+ style={{
1288
+ color: '#000',
1289
+ fontSize: 15,
1290
+ }}
1291
+ />
1292
+ </i>
1293
+ );
1294
+ } else {
1295
+ return (
1296
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1297
+ <FiChevronUp
1298
+ style={{
1299
+ color: '#000',
1300
+ fontSize: 15,
1301
+ }}
1302
+ />
1303
+ </i>
1304
+ );
1305
+ }
1306
+ }}
1307
+ </AccordionItemState>
1308
+ </div>
1309
+ </div>
1310
+ <div className="col-lg-12 p-0">
1311
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1312
+ </div>
1313
+ </div>
1314
+ </AccordionItemButton>
1315
+ </AccordionItemHeading>
1316
+ <AccordionItemPanel className="p-0">
1317
+ <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1318
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1319
+ {Choosenindex.length != 0 &&
1320
+ fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions?.length != 0 &&
1321
+ fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions.map((pitem, pindex) => {
1322
+ if (pitem.isshowntocustomers == 1) {
1323
+ return (
1324
+ <AccordionItem uuid={pindex}>
1325
+ <AccordionItemHeading>
1326
+ <AccordionItemButton>
1327
+ <div className={' row m-0 p-0 mb-2 '}>
1328
+ <div className={' row m-0 w-100 px-4 '}>
1329
+ <div
1330
+ className="col-10 p-0 text-start"
1331
+ onClick={() => {
1332
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
1333
+ }}
1334
+ >
1335
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1336
+ {langdetect == 'en' ? pitem.title_en : pitem.title_ar}
1337
+ </p>
1338
+ </div>
1339
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1340
+ <AccordionItemState>
1341
+ {(state) => {
1342
+ if (state.expanded == true) {
1343
+ return (
1344
+ <i
1345
+ className={
1346
+ ' collapsetitle h-100 d-flex align-items-center justify-content-end '
1347
+ }
1348
+ >
1349
+ <FiChevronDown
1350
+ style={{
1351
+ color: '#000',
1352
+ fontSize: 15,
1353
+ }}
1354
+ />
1355
+ </i>
1356
+ );
1357
+ } else {
1358
+ return (
1359
+ <i
1360
+ className={
1361
+ ' collapsetitle h-100 d-flex align-items-center justify-content-end '
1362
+ }
1363
+ >
1364
+ <FiChevronUp
1365
+ style={{
1366
+ color: '#000',
1367
+ fontSize: 15,
1368
+ }}
1369
+ />
1370
+ </i>
1371
+ );
1372
+ }
1373
+ }}
1374
+ </AccordionItemState>
1375
+ </div>
1376
+ </div>
1377
+ <div className="col-lg-12 p-0">
1378
+ <hr
1379
+ className="mt-4 mb-4"
1380
+ style={{ borderColor: sectionproperties.resp_header_separatorbg }}
1381
+ />
1382
+ </div>
1383
+ </div>
1384
+ </AccordionItemButton>
1385
+ </AccordionItemHeading>
1386
+ <AccordionItemPanel className="p-0">
1387
+ {pitem.collections.length != 0 &&
1388
+ pitem.collections.map((collitem, collindex) => {
1389
+ if (collitem.isshowntocustomers == 1) {
1390
+ return (
1391
+ <div className={' row m-0 p-0 mb-2 '}>
1392
+ <div className={' row m-0 w-100 px-5 '}>
1393
+ <div
1394
+ className="col-10 p-0 text-start"
1395
+ onClick={() => {
1396
+ routingcountext(
1397
+ StaticPagesLinksContext.GeneralProductsComponent,
1398
+ true,
1399
+ 'collections/' + collitem.collectionid,
1400
+ );
1401
+ setopenCnvas(false);
1402
+ }}
1403
+ >
1404
+ <p
1405
+ className={
1406
+ `${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '
1407
+ }
1408
+ >
1409
+ {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1410
+ </p>
1411
+ </div>
1412
+ </div>
1413
+ <div className="col-lg-12 p-0">
1414
+ <hr
1415
+ className="mt-4 mb-4"
1416
+ style={{ borderColor: sectionproperties.resp_header_separatorbg }}
1417
+ />
1418
+ </div>
1419
+ </div>
1420
+ );
1421
+ }
1422
+ })}
1423
+ </AccordionItemPanel>
1424
+ </AccordionItem>
1425
+ );
1426
+ }
1427
+ })}
1428
+ </Accordion>
1429
+ </div>
1430
+ </AccordionItemPanel>
1431
+ </AccordionItem>
1432
+ );
1433
+ }
1434
+ })}
1435
+ </Accordion>
1436
+ )}
1437
+ {sectionproperties.subheaderParentType == 'Collections' &&
1438
+ authdetailsContext?.instinfo?.instcollections?.map((collitem, collindex) => {
1439
+ if (collitem.isshowntocustomers == 1) {
1440
+ return (
1441
+ <div className={' row m-0 p-0 mb-2 w-100 '}>
1442
+ <div
1443
+ className="col-12 p-0 text-start px-3"
1444
+ onClick={() => {
1445
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
1446
+ setopenCnvas(false);
1447
+ }}
1448
+ >
1449
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1450
+ {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1451
+ </p>
1452
+ </div>
1453
+
1454
+ <div className="col-lg-12 p-0">
1455
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1456
+ </div>
1457
+ </div>
1458
+ );
1459
+ }
1460
+ })}
1461
+ {sectionproperties.subheaderParentType == 'Parent Collections' && (
1462
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1463
+ {pcollarray.map((item, index) => {
1464
+ if (item.isshowntocustomers == 1) {
1465
+ return (
1466
+ <AccordionItem uuid={index}>
1467
+ <AccordionItemHeading
1468
+ onClick={() => {
1469
+ setChoosenindex(index);
1470
+ }}
1471
+ >
1472
+ <AccordionItemButton>
1473
+ <div className={' row m-0 p-0 mb-2 '}>
1474
+ <div className={' row m-0 w-100 px-3 '}>
1475
+ <div className="col-10 p-0 text-start">
1476
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1477
+ {langdetect == 'en' ? item.title_en : item.title_ar}
1478
+ </p>
1479
+ </div>
1480
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1481
+ <AccordionItemState>
1482
+ {(state) => {
1483
+ if (state.expanded == true) {
1484
+ return (
1485
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1486
+ <FiChevronDown
1487
+ style={{
1488
+ color: '#000',
1489
+ fontSize: 15,
1490
+ }}
1491
+ />
1492
+ </i>
1493
+ );
1494
+ } else {
1495
+ return (
1496
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1497
+ <FiChevronUp
1498
+ style={{
1499
+ color: '#000',
1500
+ fontSize: 15,
1501
+ }}
1502
+ />
1503
+ </i>
1504
+ );
1505
+ }
1506
+ }}
1507
+ </AccordionItemState>
1508
+ </div>
1509
+ </div>
1510
+ <div className="col-lg-12 p-0">
1511
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1512
+ </div>
1513
+ </div>
1514
+ </AccordionItemButton>
1515
+ </AccordionItemHeading>
1516
+ <AccordionItemPanel className="p-0">
1517
+ <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1518
+ {item.collections?.map((collitem, collindex) => {
1519
+ if (collitem.isshowntocustomers == 1) {
1520
+ return (
1521
+ <div className={' row m-0 p-0 mb-2 w-100 '}>
1522
+ <div
1523
+ className="col-12 text-start px-4"
1524
+ onClick={() => {
1525
+ routingcountext(
1526
+ StaticPagesLinksContext.GeneralProductsComponent,
1527
+ true,
1528
+ 'collections/' + collitem.collectionid,
1529
+ );
1530
+ }}
1531
+ >
1532
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1533
+ {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1534
+ </p>
1535
+ </div>
1536
+
1537
+ <div className="col-lg-12 p-0">
1538
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1539
+ </div>
1540
+ </div>
1541
+ );
1542
+ }
1543
+ })}
1544
+ </div>
1545
+ </AccordionItemPanel>
1546
+ </AccordionItem>
1547
+ );
1548
+ }
1549
+ })}
1550
+ </Accordion>
1551
+ )}
1552
+ </div>
1553
+ )}
1554
+ </Offcanvas.Body>
1555
+ </Offcanvas>
1556
+ )}
1557
+ </div>
1558
+ </div>
1559
+ );
1560
+ };
1561
+
1562
+ export default Headerresponsive;