tabexseriescomponents 0.0.705 → 0.0.707

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 (352) hide show
  1. package/dist/index.cjs.js +1070 -1797
  2. package/dist/index.esm.js +1070 -1797
  3. package/dist/index.umd.js +1070 -1798
  4. package/package.json +1 -1
  5. package/srcoriginal/Contexts/LanguageContext.jsx +408 -0
  6. package/srcoriginal/Contexts/ProductsCardsSectionContext.jsx +36 -0
  7. package/srcoriginal/Imagekitconfig.jsx +46 -0
  8. package/srcoriginal/StylesJS/Customstyles.js +345 -0
  9. package/srcoriginal/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
  10. package/srcoriginal/TabexComponents/Cards/Card20/Card20.jsx +298 -0
  11. package/srcoriginal/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  12. package/srcoriginal/TabexComponents/Cards/Card22/Card22.jsx +288 -0
  13. package/srcoriginal/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
  14. package/srcoriginal/TabexComponents/Cards/Card23/Card23.jsx +733 -0
  15. package/srcoriginal/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
  16. package/srcoriginal/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
  17. package/srcoriginal/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  18. package/srcoriginal/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  19. package/srcoriginal/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +255 -0
  20. package/srcoriginal/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
  21. package/srcoriginal/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
  22. package/srcoriginal/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
  23. package/srcoriginal/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
  24. package/srcoriginal/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  25. package/srcoriginal/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
  26. package/srcoriginal/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
  27. package/srcoriginal/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
  28. package/srcoriginal/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +147 -0
  29. package/srcoriginal/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
  30. package/srcoriginal/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
  31. package/srcoriginal/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +409 -0
  32. package/srcoriginal/TabexComponents/Cards/MenuCard/MenuCard.jsx +744 -0
  33. package/srcoriginal/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
  34. package/srcoriginal/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
  35. package/srcoriginal/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
  36. package/srcoriginal/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
  37. package/srcoriginal/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
  38. package/srcoriginal/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  39. package/srcoriginal/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
  40. package/srcoriginal/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
  41. package/srcoriginal/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
  42. package/srcoriginal/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
  43. package/srcoriginal/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  44. package/srcoriginal/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
  45. package/srcoriginal/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
  46. package/srcoriginal/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
  47. package/srcoriginal/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +600 -0
  48. package/srcoriginal/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  49. package/srcoriginal/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  50. package/srcoriginal/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
  51. package/srcoriginal/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +611 -0
  52. package/srcoriginal/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +413 -0
  53. package/srcoriginal/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
  54. package/srcoriginal/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
  55. package/srcoriginal/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
  56. package/srcoriginal/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +905 -0
  57. package/srcoriginal/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
  58. package/srcoriginal/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
  59. package/srcoriginal/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
  60. package/srcoriginal/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
  61. package/srcoriginal/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
  62. package/srcoriginal/TabexComponents/Footer/Footer1/Footer1.jsx +551 -0
  63. package/srcoriginal/TabexComponents/Footer/Footer2/Footer2.jsx +527 -0
  64. package/srcoriginal/TabexComponents/Footer/Footer3/Footer3.jsx +411 -0
  65. package/srcoriginal/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
  66. package/srcoriginal/TabexComponents/Footer/Footer5/Footer5.jsx +751 -0
  67. package/srcoriginal/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
  68. package/srcoriginal/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
  69. package/srcoriginal/TabexComponents/Footer/Footer8/Footer8.jsx +533 -0
  70. package/srcoriginal/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
  71. package/srcoriginal/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +581 -0
  72. package/srcoriginal/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +884 -0
  73. package/srcoriginal/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +647 -0
  74. package/srcoriginal/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
  75. package/srcoriginal/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
  76. package/srcoriginal/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  77. package/srcoriginal/TabexComponents/Generalfiles/images/noimage.png +0 -0
  78. package/srcoriginal/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  79. package/srcoriginal/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  80. package/srcoriginal/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  81. package/srcoriginal/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  82. package/srcoriginal/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  83. package/srcoriginal/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  84. package/srcoriginal/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  85. package/srcoriginal/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  86. package/srcoriginal/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  87. package/srcoriginal/TabexComponents/Generalfiles/images/usflag.png +0 -0
  88. package/srcoriginal/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  89. package/srcoriginal/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1259 -0
  90. package/srcoriginal/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1049 -0
  91. package/srcoriginal/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1040 -0
  92. package/srcoriginal/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1268 -0
  93. package/srcoriginal/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
  94. package/srcoriginal/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +894 -0
  95. package/srcoriginal/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +831 -0
  96. package/srcoriginal/TabexComponents/Headers/Header4/Header4.jsx +622 -0
  97. package/srcoriginal/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
  98. package/srcoriginal/TabexComponents/Headers/Header8/Header8.jsx +2016 -0
  99. package/srcoriginal/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +776 -0
  100. package/srcoriginal/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +927 -0
  101. package/srcoriginal/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +704 -0
  102. package/srcoriginal/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
  103. package/srcoriginal/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +1228 -0
  104. package/srcoriginal/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1562 -0
  105. package/srcoriginal/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
  106. package/srcoriginal/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
  107. package/srcoriginal/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
  108. package/srcoriginal/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +1846 -0
  109. package/srcoriginal/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
  110. package/srcoriginal/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +934 -0
  111. package/srcoriginal/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +78 -0
  112. package/srcoriginal/TabexComponents/Headers/Modernheader/Modernheader.jsx +977 -0
  113. package/srcoriginal/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
  114. package/srcoriginal/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1159 -0
  115. package/srcoriginal/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +1110 -0
  116. package/srcoriginal/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +151 -0
  117. package/srcoriginal/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
  118. package/srcoriginal/TabexComponents/Headers/Subheader/Subheader.jsx +863 -0
  119. package/srcoriginal/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
  120. package/srcoriginal/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
  121. package/srcoriginal/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
  122. package/srcoriginal/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1042 -0
  123. package/srcoriginal/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1093 -0
  124. package/srcoriginal/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +938 -0
  125. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
  126. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
  127. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +870 -0
  128. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
  129. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
  130. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
  131. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
  132. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
  133. package/srcoriginal/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +393 -0
  134. package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
  135. package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
  136. package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +677 -0
  137. package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
  138. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
  139. package/srcoriginal/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
  140. package/srcoriginal/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +288 -0
  141. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +117 -0
  142. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
  143. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
  144. package/srcoriginal/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +462 -0
  145. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
  146. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
  147. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +616 -0
  148. package/srcoriginal/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +408 -0
  149. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
  150. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
  151. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
  152. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1938 -0
  153. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
  154. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
  155. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +1891 -0
  156. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
  157. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
  158. package/srcoriginal/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
  159. package/srcoriginal/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  160. package/srcoriginal/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +929 -0
  161. package/srcoriginal/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
  162. package/srcoriginal/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +1238 -0
  163. package/srcoriginal/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +582 -0
  164. package/srcoriginal/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  165. package/srcoriginal/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
  166. package/srcoriginal/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
  167. package/srcoriginal/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
  168. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
  169. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +760 -0
  170. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
  171. package/srcoriginal/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
  172. package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1679 -0
  173. package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
  174. package/srcoriginal/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
  175. package/srcoriginal/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +385 -0
  176. package/srcoriginal/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +512 -0
  177. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
  178. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
  179. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
  180. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  181. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +520 -0
  182. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
  183. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +643 -0
  184. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
  185. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
  186. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
  187. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
  188. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
  189. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +619 -0
  190. package/srcoriginal/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
  191. package/srcoriginal/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +614 -0
  192. package/srcoriginal/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
  193. package/srcoriginal/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
  194. package/srcoriginal/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
  195. package/srcoriginal/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
  196. package/srcoriginal/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +797 -0
  197. package/srcoriginal/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
  198. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
  199. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout.jsx +1911 -0
  200. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
  201. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
  202. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
  203. package/srcoriginal/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
  204. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
  205. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
  206. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter.jsx +2979 -0
  207. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
  208. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
  209. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
  210. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
  211. package/srcoriginal/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
  212. package/srcoriginal/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
  213. package/srcoriginal/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  214. package/srcoriginal/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  215. package/srcoriginal/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
  216. package/srcoriginal/TabexComponents/StaticPages/Login/Login.jsx +610 -0
  217. package/srcoriginal/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +172 -0
  218. package/srcoriginal/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1584 -0
  219. package/srcoriginal/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
  220. package/srcoriginal/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
  221. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
  222. package/srcoriginal/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
  223. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +255 -0
  224. package/srcoriginal/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +176 -0
  225. package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
  226. package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +92 -0
  227. package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +312 -0
  228. package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
  229. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +2118 -0
  230. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
  231. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
  232. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
  233. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
  234. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1947 -0
  235. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +1037 -0
  236. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +966 -0
  237. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +632 -0
  238. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
  239. package/srcoriginal/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  240. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
  241. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
  242. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
  243. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
  244. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
  245. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
  246. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
  247. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
  248. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
  249. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
  250. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
  251. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
  252. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +919 -0
  253. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
  254. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
  255. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
  256. package/srcoriginal/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
  257. package/srcoriginal/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
  258. package/srcoriginal/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +359 -0
  259. package/srcoriginal/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
  260. package/srcoriginal/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
  261. package/srcoriginal/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
  262. package/srcoriginal/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1364 -0
  263. package/srcoriginal/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
  264. package/srcoriginal/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
  265. package/srcoriginal/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
  266. package/srcoriginal/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
  267. package/srcoriginal/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
  268. package/srcoriginal/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
  269. package/srcoriginal/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
  270. package/srcoriginal/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
  271. package/srcoriginal/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
  272. package/srcoriginal/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
  273. package/srcoriginal/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
  274. package/srcoriginal/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
  275. package/srcoriginal/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
  276. package/srcoriginal/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
  277. package/srcoriginal/button.jsx +40 -0
  278. package/srcoriginal/index.jsx +334 -0
  279. package/srcoriginal/styles/Home.module.css +129 -0
  280. package/srcoriginal/styles/cards/Categorcycard_fullimage.module.css +14 -0
  281. package/srcoriginal/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  282. package/srcoriginal/styles/cards/Categorycard_withshapes.module.css +189 -0
  283. package/srcoriginal/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  284. package/srcoriginal/styles/cards/Productcard6.module.css +9 -0
  285. package/srcoriginal/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  286. package/srcoriginal/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  287. package/srcoriginal/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  288. package/srcoriginal/styles/cards/card23.module.css +60 -0
  289. package/srcoriginal/styles/cards/categorycard.module.css +84 -0
  290. package/srcoriginal/styles/cards/categorycard3.module.css +50 -0
  291. package/srcoriginal/styles/cards/categorycardwithtext.module.css +40 -0
  292. package/srcoriginal/styles/cards/generalCardsStyles.module.css +79 -0
  293. package/srcoriginal/styles/cards/productcard_animatedbuttons.module.css +139 -0
  294. package/srcoriginal/styles/cards/productcard_with_textonhover.module.css +18 -0
  295. package/srcoriginal/styles/cards/productcard_withtextonimage.module.css +0 -0
  296. package/srcoriginal/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  297. package/srcoriginal/styles/general/bootstrap.css +4763 -0
  298. package/srcoriginal/styles/general/dropdown.css +206 -0
  299. package/srcoriginal/styles/general/editorbardropdown.module.css +94 -0
  300. package/srcoriginal/styles/general/filter.module.css +108 -0
  301. package/srcoriginal/styles/general/form.module.css +255 -0
  302. package/srcoriginal/styles/general/general.module.css +872 -0
  303. package/srcoriginal/styles/general/image-gallery.css +531 -0
  304. package/srcoriginal/styles/general/react-accessible-accordion.module.css +52 -0
  305. package/srcoriginal/styles/general/react-phone-input-2.module.css +927 -0
  306. package/srcoriginal/styles/general/scrollbtn.module.css +22 -0
  307. package/srcoriginal/styles/general/slick.module.css +166 -0
  308. package/srcoriginal/styles/general/tabs.module.css +119 -0
  309. package/srcoriginal/styles/general/workplaceeditor.module.css +328 -0
  310. package/srcoriginal/styles/globals.css +26 -0
  311. package/srcoriginal/styles/headers/CTAHeader.module.css +40 -0
  312. package/srcoriginal/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  313. package/srcoriginal/styles/headers/Gotoheader.module.css +87 -0
  314. package/srcoriginal/styles/headers/Header7.module.css +50 -0
  315. package/srcoriginal/styles/headers/HeaderWithAdSlider.module.css +86 -0
  316. package/srcoriginal/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  317. package/srcoriginal/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  318. package/srcoriginal/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  319. package/srcoriginal/styles/headers/NewHeader.module.css +101 -0
  320. package/srcoriginal/styles/headers/SearchFocusedHeader.module.css +62 -0
  321. package/srcoriginal/styles/headers/Sideheader.module.css +108 -0
  322. package/srcoriginal/styles/headers/Simpleheader.module.css +102 -0
  323. package/srcoriginal/styles/headers/classicheader.module.css +16 -0
  324. package/srcoriginal/styles/headers/classicheaderstyles.module.css +9 -0
  325. package/srcoriginal/styles/headers/dropdown.css +0 -0
  326. package/srcoriginal/styles/headers/header4.module.css +175 -0
  327. package/srcoriginal/styles/headers/header5.module.css +30 -0
  328. package/srcoriginal/styles/headers/header_contactinfo.module.css +53 -0
  329. package/srcoriginal/styles/headers/headerresturant.module.css +89 -0
  330. package/srcoriginal/styles/headers/modernheader.module.css +45 -0
  331. package/srcoriginal/styles/headers/stylishheader.module.css +24 -0
  332. package/srcoriginal/styles/headers/subheader.module.css +114 -0
  333. package/srcoriginal/styles/headers/threetieredheader.module.css +91 -0
  334. package/srcoriginal/styles/sections/BackgroundImageWithTopContent.css +4 -0
  335. package/srcoriginal/styles/sections/Backgroundimage1.module.css +17 -0
  336. package/srcoriginal/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  337. package/srcoriginal/styles/sections/Freetext.module.css +18 -0
  338. package/srcoriginal/styles/sections/Section_with_rightbgcont.module.css +49 -0
  339. package/srcoriginal/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  340. package/srcoriginal/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  341. package/srcoriginal/styles/staticpages/accordion.module.css +9 -0
  342. package/srcoriginal/styles/staticpages/cart.module.css +108 -0
  343. package/srcoriginal/styles/staticpages/dropdown.css +196 -0
  344. package/srcoriginal/styles/staticpages/filter.module.css +139 -0
  345. package/srcoriginal/styles/staticpages/image-gallery.css +481 -0
  346. package/srcoriginal/styles/staticpages/login.module.css +155 -0
  347. package/srcoriginal/styles/staticpages/productinfo.module.css +54 -0
  348. package/srcoriginal/styles/staticpages/shop.module.css +191 -0
  349. package/srcoriginal/styles/staticpages/signup.module.css +250 -0
  350. package/srcoriginal/styles/staticpages/staticroutersidenav.module.css +129 -0
  351. package/srcoriginal/styles/staticpages/viewcart.module.css +129 -0
  352. package/srcoriginal/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,1228 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import headerstyles from '../../../styles/headers/Header_threesectionslogocentered.module.css';
3
+ import Dropdown from 'react-bootstrap/Dropdown';
4
+ import { css } from 'glamor';
5
+ import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
6
+ import DownloadApp from '../DownloadApp/DownloadApp.jsx';
7
+ import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
8
+ import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
9
+ import HeaderresponsiveStyle2 from '../Headerresponsive/HeaderresponsiveStyle2.jsx';
10
+ import { FiPhone } from '@react-icons/all-files/fi/FiPhone';
11
+ import Subheader from '../Subheader/Subheader.jsx';
12
+ import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
13
+ import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
14
+ import { AiOutlineInstagram } from '@react-icons/all-files/ai/AiOutlineInstagram';
15
+ import { AiOutlineHeart } from '@react-icons/all-files/ai/AiOutlineHeart';
16
+ import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
17
+ import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
18
+ import { AiOutlineUserAdd } from '@react-icons/all-files/ai/AiOutlineUserAdd';
19
+ import { AiOutlineLogin } from '@react-icons/all-files/ai/AiOutlineLogin';
20
+ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
21
+ import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
22
+ import { FiUser } from '@react-icons/all-files/fi/FiUser';
23
+ import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
24
+ import { BsBag } from '@react-icons/all-files/bs/BsBag';
25
+ import { HiOutlineShoppingBag } from '@react-icons/all-files/hi/HiOutlineShoppingBag';
26
+ import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
27
+ import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
28
+ import { BiSearch } from '@react-icons/all-files/bi/BiSearch';
29
+ import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
30
+ import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
31
+ import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
32
+ import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
33
+ import MarqueeHeader from '../MarqueeHeader/MarqueeHeader.jsx';
34
+ import { MdKeyboardArrowUp } from '@react-icons/all-files/md/MdKeyboardArrowUp';
35
+ import { BsChevronLeft } from '@react-icons/all-files/bs/BsChevronLeft';
36
+ import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
37
+
38
+ const Header_threesectionslogocentered = (props) => {
39
+ const [sectionproperties, setsectionproperties] = useState('');
40
+ const LogoutMutationContext = props.actions.LogoutMutationContext;
41
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
42
+ const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
43
+ const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
44
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
45
+ const lang = props.actions.lang;
46
+ const langdetect = props.actions.langdetect;
47
+ const setlang = props.actions.setlang;
48
+ const templatepropcontext = props.actions.templatepropcontext;
49
+ const authdetailsContext = props.actions.authdetailsContext;
50
+ const templateproperties_context = props.actions.templateproperties_context;
51
+ const routingcountext = props.actions.routingcountext;
52
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
53
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
54
+ const actions = props.actions;
55
+ const setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
56
+ const scrollYposittionprops = props.actions.scrollYposittionprops;
57
+ const [dropdownselect, setdropdownselect] = useState(false);
58
+
59
+ useEffect(() => {
60
+ var secpropobj = {};
61
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
62
+ if (sectionitem.sectionid == props.sectionidprops) {
63
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
64
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
65
+ });
66
+ }
67
+ });
68
+ if (Object.keys(secpropobj).length === 0) {
69
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
70
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
71
+ });
72
+ }
73
+ setsectionproperties({ ...secpropobj });
74
+ }, [StatePagePropertiesContext]);
75
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
76
+ const [pcollarray, setpcollarray] = useState([]);
77
+ const [Choosenindex, setChoosenindex] = useState('');
78
+
79
+ useEffect(() => {
80
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
81
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
82
+ if (Array.isArray(logoarrayofobjectsparsed)) {
83
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
84
+ }
85
+ }
86
+ }, [templateproperties_context]);
87
+ useEffect(() => {
88
+ var temppcollarray = [...pcollarray];
89
+ authdetailsContext?.instinfo?.instcategories?.forEach(function (arrayItem) {
90
+ arrayItem?.parentcolletions?.forEach(function (item) {
91
+ temppcollarray.push(item);
92
+ });
93
+ });
94
+ setpcollarray([...temppcollarray]);
95
+ }, [authdetailsContext]);
96
+ useEffect(() => {
97
+ var temppcollarray = [...pcollarray];
98
+ authdetailsContext?.instinfo?.instcategories?.forEach(function (arrayItem) {
99
+ arrayItem?.parentcolletions?.forEach(function (item) {
100
+ temppcollarray.push(item);
101
+ });
102
+ });
103
+ setpcollarray([...temppcollarray]);
104
+ }, [authdetailsContext]);
105
+ const header_cssstyles = {
106
+ header_outercontainer: css({
107
+ position: sectionproperties.headerstyles_position,
108
+ justifyContent: 'center',
109
+ marginTop: sectionproperties.header_marginTop + 'px',
110
+ marginBottom: sectionproperties.header_marginBottom + 'px',
111
+ width: sectionproperties.header_width + 'vw',
112
+ maxWidth: '100vw',
113
+ top: 0,
114
+ }),
115
+ header_innercontainer: css({
116
+ backgroundColor:
117
+ sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home'
118
+ ? scrollYposittionprops > 300
119
+ ? sectionproperties.header_backgroundColor
120
+ : 'transparent'
121
+ : sectionproperties.header_backgroundColor,
122
+ // backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
123
+ borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
124
+ paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
125
+ paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
126
+ paddingTop: sectionproperties.header_paddingTop + 'px',
127
+ paddingBottom: sectionproperties.header_paddingBottom + 'px',
128
+ }),
129
+ navbar_item_text: css({
130
+ color: sectionproperties.header_fontColor,
131
+ fontSize: sectionproperties.header_fontSize + 'px',
132
+ textTransform: sectionproperties.header_textTransform,
133
+ fontWeight: sectionproperties.header_textfontweight,
134
+ ':hover:after': {
135
+ background: sectionproperties.header_fontColoronhover,
136
+ },
137
+ ':hover': {
138
+ color: sectionproperties.header_fontColoronhover,
139
+ },
140
+ }),
141
+ dropdownitem: css({
142
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
143
+ color: sectionproperties.dropdown_color,
144
+ fontWeight: sectionproperties.dropdown_fontweight,
145
+ textTransform: sectionproperties.dropdown_texttransform,
146
+ padding: '0.3rem 0.8rem',
147
+ transition: '.3s',
148
+ ':hover': {
149
+ color: sectionproperties.dropdown_hovercolor,
150
+ },
151
+ }),
152
+ dropdownitemcontainer: css({
153
+ zIndex: 1000,
154
+ transition: '.3s',
155
+ ':hover .dropdownitem': { color: sectionproperties.dropdown_hovercolor },
156
+ }),
157
+ wishlist_btn: css({
158
+ width: sectionproperties.favBtnWidth + 'px',
159
+ height: sectionproperties.favBtnHeight + 'px',
160
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
161
+ borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
162
+ color: sectionproperties.favBtniconcolor,
163
+ border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
164
+ transition: '.3s',
165
+ ':hover': {
166
+ background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
167
+ color: sectionproperties.favBtnTextcoloronhover,
168
+ borderColor: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.favBtnTextcoloronhover : sectionproperties.favBtnbgColoronhover,
169
+ },
170
+ }),
171
+ cart_btn: css({
172
+ width: sectionproperties.cartBtnWidth + 'px',
173
+ height: sectionproperties.cartBtnHeight + 'px',
174
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
175
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
176
+ color: sectionproperties.cart_iconcolor,
177
+ textTransform: sectionproperties.cartBtnTexttransform,
178
+ fontWeight: sectionproperties.cartBtnTextfontweight,
179
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
180
+ transition: '.3s',
181
+ position: 'relative',
182
+ cursor: 'pointer',
183
+ ':hover': {
184
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
185
+ borderColor: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.cartBtnTextcoloronhover : sectionproperties.cartBtnbgColoronhover,
186
+ color: sectionproperties.cartBtnTextcoloronhover,
187
+ },
188
+ }),
189
+ user_btn: css({
190
+ background: sectionproperties.userbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColor,
191
+ width: sectionproperties.userBtnWidth + 'px',
192
+ height: sectionproperties.userBtnHeight + 'px',
193
+ borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
194
+ color: sectionproperties.userBtniconcolor,
195
+ fontSize: sectionproperties.userBtniconfontsize + 'px',
196
+ border: sectionproperties.userbtnborderwidth + 'px solid ' + sectionproperties.userbtnbordercolor,
197
+ cursor: 'pointer',
198
+ transition: '.3s',
199
+ ':hover': {
200
+ color: sectionproperties.userBtnTextcoloronhover,
201
+ background: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColoronhover,
202
+ borderColor: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.userBtnTextcoloronhover : sectionproperties.userBtnbgColoronhover,
203
+ },
204
+ }),
205
+ loggedinusername: css({
206
+ fontWeight: sectionproperties.userBtnTextfontweight,
207
+ textTransform: sectionproperties.userBtnTexttransform,
208
+ color: sectionproperties.userBtnTextcolor,
209
+ fontSize: sectionproperties.userBtntextfontsize + 'px',
210
+ lineHeight: sectionproperties.userBtntextfontsize + 'px',
211
+ transition: '.3s',
212
+ }),
213
+ loggedinuserbtn: css({
214
+ width: sectionproperties.loggedinuserbtn_width + 'px',
215
+ height: sectionproperties.loggedinuserbtn_height + 'px',
216
+ border: sectionproperties.userlogginbtnborderwidth + 'px solid ' + sectionproperties.userlogginbtnbordercolor,
217
+ borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
218
+ background: sectionproperties.userBtnbgColor_loggedin,
219
+ color: sectionproperties.userBtniconcolor_loggedin,
220
+ transition: '.3s',
221
+ ':hover': {
222
+ backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
223
+ },
224
+ }),
225
+ userBtnLoggedinContainer: css({
226
+ transition: '.3s',
227
+ ':hover .loggedinuserbtn': {
228
+ transition: '.3s',
229
+ color: sectionproperties.userBtnTextcoloronhover_loggedin,
230
+ borderColor: sectionproperties.userbtn_loggedin_iconcoloronhover,
231
+ },
232
+ ':hover .loggedinuserbtnbg': {
233
+ backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
234
+ color: sectionproperties.userbtn_loggedin_iconcoloronhover,
235
+ },
236
+ }),
237
+ header_logo: css({
238
+ width: templateproperties_context.logo_width + 'px',
239
+ height: templateproperties_context.logo_height + 'px',
240
+ }),
241
+ searchbarcont: css({
242
+ position: 'relative',
243
+ width: sectionproperties.searchbarcont_width + 'px',
244
+ height: sectionproperties.searchbarcont_height + 'px',
245
+ background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
246
+ borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
247
+ border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
248
+ color: sectionproperties.searchbarcont_color,
249
+ cursor: 'pointer',
250
+ transition: '.3s',
251
+ ':hover': {
252
+ background: sectionproperties.searchbarcont_transparentbghover == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bghover,
253
+ borderColor: sectionproperties.searchbarcontcoloronhover,
254
+ color: sectionproperties.searchbarcontcoloronhover,
255
+ },
256
+ }),
257
+ searchbar_icon_cont: css({
258
+ position: 'absolute',
259
+ right: langdetect == 'en' ? sectionproperties.searchbaricon_right + 'px' : '',
260
+ left: langdetect == 'en' ? '' : sectionproperties.searchbaricon_right + 'px',
261
+ bottom: sectionproperties.searchbaricon_bottom + 'px',
262
+ margin: 'auto',
263
+ display: 'flex',
264
+ justifyContent: 'center',
265
+ alignItems: 'center',
266
+ textAlign: 'center',
267
+ width: sectionproperties.searchbaricon_width + 'px',
268
+ height: sectionproperties.searchbaricon_height + 'px',
269
+ borderRadius: sectionproperties.searchbaricon_borderBottomLeftRadius + 'px',
270
+ color: sectionproperties.searchbaricon_color,
271
+ backgroundColor: sectionproperties.searchbaricon_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbaricon_bgcolor,
272
+ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
273
+ }),
274
+ searchbarcont_input: css({
275
+ height: '45px',
276
+ outline: 'none',
277
+ border: 'none',
278
+ transition: '0.3s',
279
+ color: sectionproperties.searchbarcontinput_color,
280
+ fontWeight: sectionproperties.searchbarcont_inputfontweight,
281
+ fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
282
+ paddingLeft: langdetect == 'en' ? '5px' : '60px',
283
+ paddingRight: langdetect == 'en' ? '60px' : '5px',
284
+ ':focus': {
285
+ borderBottom: sectionproperties.searchbarcontinput_borderBottom + 'px solid ' + sectionproperties.searchbarcontinput_bordercoloronfocus,
286
+ },
287
+ }),
288
+ badge_counter_header_notifications: css({
289
+ background: sectionproperties.badge_bgcolor,
290
+ width: sectionproperties.badge_width + 'px',
291
+ height: sectionproperties.badge_height + 'px',
292
+ color: sectionproperties.badge_color,
293
+ borderRadius: sectionproperties.badge_borderradius + 'px',
294
+ fontSize: sectionproperties.badge_fontsize + 'px',
295
+ top: sectionproperties.badge_top + 'px',
296
+ right: sectionproperties.badge_right + 'px',
297
+ }),
298
+ languagecontainer: css({
299
+ fontWeight: 600,
300
+ color: sectionproperties.language_container_color,
301
+ fontSize: sectionproperties.language_container_fontsize + 'px',
302
+ cursor: 'pointer',
303
+ transition: '.3s',
304
+ ':hover': {
305
+ color: sectionproperties.language_container_coloronhover,
306
+ },
307
+ }),
308
+ fbbtn: css({
309
+ color: sectionproperties.facebkbtnnTextcolor,
310
+ transition: '.3s',
311
+ ':hover': {
312
+ color: sectionproperties.facebkbtnnTextcoloronhover,
313
+ },
314
+ }),
315
+ instagrambtn: css({
316
+ color: sectionproperties.instgrambtnTextcolor,
317
+ transition: '.3s',
318
+ ':hover': {
319
+ color: sectionproperties.instgrambtnTextcoloronhover,
320
+ },
321
+ }),
322
+ whatsapp_btn: css({
323
+ color: sectionproperties.youtubebtnTextcolor,
324
+ transition: '.3s',
325
+ ':hover': {
326
+ color: sectionproperties.youtubebtnTextcoloronhover,
327
+ },
328
+ }),
329
+ upperheadertext: css({
330
+ fontSize: sectionproperties.uppersection_titlefontsize + 'px',
331
+ color: sectionproperties.uppersection_titlecolor,
332
+ fontWeight: sectionproperties.uppersection_titlefontweight,
333
+ textTransform: sectionproperties.uppersection_titletextransform,
334
+ transition: '.3s',
335
+ ':hover': {
336
+ color: sectionproperties.upperheadercoloronhover,
337
+ },
338
+ }),
339
+ categorybtn: css({
340
+ background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
341
+ width: sectionproperties.generalbtn_width + 'px',
342
+ maxWidth: '100%',
343
+ height: sectionproperties.generalbtn_height + 'px',
344
+ borderRadius: sectionproperties.generalbtnborderradius + 'px',
345
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
346
+ color: sectionproperties.generalbtn_textColor,
347
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
348
+ fontWeight: sectionproperties.generalbtn_fontweight,
349
+ // background: '#003b42',
350
+ // width: '100%',
351
+ // height: 40,
352
+ // borderRadius: 10,
353
+ // color: 'white',
354
+ // fontSize: 14,
355
+ transition: '.3s',
356
+ ':hover': {
357
+ color: sectionproperties.generalbtn_textColoronhover,
358
+ backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
359
+ // color: '#fff',
360
+ // backgroundColor: '#de5511',
361
+ },
362
+ }),
363
+ categoryname: css({
364
+ color: sectionproperties.subheader_categorytitle_fontColor,
365
+ fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
366
+ textTransform: sectionproperties.subheader_categorytitle_textTransform,
367
+ fontWeight: sectionproperties.subheader_categorytitle_textfontweight,
368
+ color: '#003B42',
369
+ fontSize: 14,
370
+ fontWeight: 500,
371
+ transition: '.3s',
372
+ ':hover': {
373
+ color: sectionproperties.subheader_categorytitle_coloronhover,
374
+ color: '#de5511',
375
+ },
376
+ }),
377
+ parentcollection: css({
378
+ color: sectionproperties.subheader_collectiontitle_fontColor,
379
+ fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
380
+ textTransform: sectionproperties.subheader_collectiontitle_textTransform,
381
+ fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
382
+ transition: '.3s',
383
+ color: '#003B42',
384
+ fontSize: 14,
385
+ fontWeight: 500,
386
+ ':hover': {
387
+ color: sectionproperties.subheader_collectiontitle_coloronhover,
388
+ color: '#de5511',
389
+ },
390
+ }),
391
+ collectionName: css({
392
+ color: sectionproperties.collectionsectiontextcolor,
393
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
394
+ textTransform: sectionproperties.collectionsectiontexttransform,
395
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
396
+ transition: '.3s',
397
+ // color: '#003B42',
398
+ // fontSize: 14,
399
+ // fontWeight: 400,
400
+ ':hover': {
401
+ color: sectionproperties.collectionsectiontextcoloronhover,
402
+ // color: '#de5511',
403
+ },
404
+ }),
405
+ };
406
+
407
+ const ButtonDropdown = (item, index, fetchedarray) => {
408
+ var parentclassname = '';
409
+ if (sectionproperties.fetchparenttype == 'Categories') {
410
+ parentclassname = header_cssstyles.categoryname;
411
+ } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
412
+ parentclassname = header_cssstyles.parentcollection;
413
+ } else {
414
+ parentclassname = header_cssstyles.collectionName;
415
+ }
416
+ return (
417
+ <li class="dropdown d-flex align-items-center w-100">
418
+ <div
419
+ class={parentclassname + ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '}
420
+ onMouseEnter={() => {
421
+ setChoosenindex(index);
422
+ }}
423
+ >
424
+ <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
425
+ <p
426
+ class={' m-0 p-0 wordbreak wordbreak1 '}
427
+ onClick={() => {
428
+ if (sectionproperties.fetchparenttype == 'Categories') {
429
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
430
+ } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
431
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
432
+ } else {
433
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
434
+ }
435
+ }}
436
+ >
437
+ {langdetect == 'en' ? item.title_en : item.title_ar}
438
+ </p>
439
+ </div>
440
+ {/* {sectionproperties.fetchparenttype == 'Categories' && fetchedarray[Choosenindex]?.parentcolletions.length != 0 && ( */}
441
+ {sectionproperties.fetchparenttype != 'Collections' && (
442
+ <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
443
+ <i className={' p-0 h-100 allcentered '}>
444
+ {langdetect == 'en' ? (
445
+ <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
446
+ ) : (
447
+ <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
448
+ )}
449
+ </i>
450
+ </div>
451
+ )}
452
+ {/* )} */}
453
+ </div>
454
+ {sectionproperties.fetchparenttype == 'Categories' && fetchedarray[Choosenindex]?.parentcolletions?.length != 0 && (
455
+ <ul>
456
+ {fetchedarray[Choosenindex]?.parentcolletions?.map((item, index) => (
457
+ <li class="dropdown d-flex align-items-center w-100">
458
+ <div
459
+ class={header_cssstyles.parentcollection + ' w-100 dropdownInnerContainer cursor-pointer '}
460
+ onClick={() => {
461
+ if (sectionproperties.fetchparenttype == 'Categories') {
462
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
463
+ } else {
464
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
465
+ }
466
+ }}
467
+ >
468
+ <div class="row m-0 w-100">
469
+ <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
470
+ <p class={' m-0 p-0 wordbreak wordbreak1 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
471
+ </div>
472
+ {item?.collections.length != 0 && (
473
+ <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
474
+ <i className={' p-0 h-100 allcentered '}>
475
+ {langdetect == 'en' ? (
476
+ <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
477
+ ) : (
478
+ <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
479
+ )}
480
+ </i>
481
+ </div>
482
+ )}
483
+ </div>
484
+ </div>
485
+ {item?.collections.length != 0 && (
486
+ <ul>
487
+ {item?.collections?.map((item, index) => {
488
+ return (
489
+ <li
490
+ class={header_cssstyles.collectionName + ' w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '}
491
+ onClick={() => {
492
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
493
+ }}
494
+ >
495
+ {langdetect == 'en' ? item.title_en : item.title_ar}
496
+ </li>
497
+ );
498
+ })}
499
+ </ul>
500
+ )}
501
+ </li>
502
+ ))}
503
+ </ul>
504
+ )}
505
+ {sectionproperties.fetchparenttype == 'Parent Collections' && pcollarray[Choosenindex]?.collections.length != 0 && (
506
+ <ul>
507
+ {pcollarray[Choosenindex]?.collections?.map((item, index) => (
508
+ <li class="dropdown d-flex align-items-center w-100">
509
+ <div
510
+ class={header_cssstyles.collectionName + ' w-100 dropdownInnerContainer cursor-pointer '}
511
+ onClick={() => {
512
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
513
+ }}
514
+ >
515
+ <div className={' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '}>
516
+ <p class={' m-0 p-0 wordbreak wordbreak1 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
517
+ </div>
518
+ </div>
519
+ </li>
520
+ ))}
521
+ </ul>
522
+ )}
523
+ </li>
524
+ );
525
+ };
526
+ return (
527
+ <div class={' row m-0 w-100 d-flex justify-content-center align-items-center '} style={{ position: 'relative', zIndex: 1000 }}>
528
+ {sectionproperties.showwhatsapp == 'Show' && (
529
+ <>
530
+ <a href={'tel:' + authdetailsContext?.CuContactphonenumber} target={'_self'} style={{ position: 'fixed', bottom: 60, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}>
531
+ <i class={langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'}>
532
+ <FiPhone size={30} color={sectionproperties.uppersection_iconcolor} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
533
+ </i>
534
+ </a>
535
+ <a
536
+ href={'https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber}
537
+ target={'_blank'}
538
+ style={{ position: 'fixed', bottom: 10, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}
539
+ >
540
+ <img src={'https://tabex-co.com/storage/StaticImages/whatsapp.png'} style={{ width: '40px', height: '40px', cursor: 'pointer' }} />
541
+ </a>
542
+ </>
543
+ )}
544
+ <div class="col-lg-12 p-0">
545
+ <div class={`${header_cssstyles.header_outercontainer}` + ' d-flex d-md-none row ml-0 mr-0 '}>
546
+ {sectionproperties.showdownloadapp == 'Show' && (
547
+ <div class="w-100 d-flex d-md-none">
548
+ <DownloadApp sectionpropertiesprops={sectionproperties} actions={actions} />
549
+ </div>
550
+ )}
551
+ {templateproperties_context.showtextslider == 'Show' && (
552
+ <div class="col-lg-12 p-0 d-flex d-md-none">
553
+ <MarqueeHeader sectionpropertiesprops={sectionproperties} templateproperties_contextprops={templateproperties_context} actions={actions} />
554
+ </div>
555
+ )}
556
+ {sectionproperties.showupperheadersection == 'Show' && (
557
+ <div
558
+ class="col-lg-12"
559
+ style={{
560
+ paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
561
+ paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
562
+ paddingTop: sectionproperties.uppersection_paddingtop + 'px',
563
+ paddingBottom: sectionproperties.uppersection_paddingbottom + 'px',
564
+ // background: sectionproperties.uppersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.uppersection_bgcolor,
565
+ backgroundColor:
566
+ sectionproperties.uppersection_bgcolortransparent == 'Transparent' && window.location.pathname == '/home'
567
+ ? scrollYposittionprops > 300
568
+ ? sectionproperties.uppersection_bgcolor
569
+ : 'transparent'
570
+ : sectionproperties.uppersection_bgcolor,
571
+ }}
572
+ >
573
+ <div class="row m-0 w-100">
574
+ <div class="col-lg-6 d-flex align-items-center">
575
+ {sectionproperties.fbbtn_show == 'Show' && (
576
+ <FaFacebookF
577
+ class={header_cssstyles.fbbtn + ' cursor-pointer ml-3 mr-3 '}
578
+ onClick={() => {
579
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
580
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
581
+ }
582
+ }}
583
+ size={sectionproperties.facebkbtnniconfontsize}
584
+ />
585
+ )}
586
+ {sectionproperties.instbtn_show == 'Show' && (
587
+ <AiOutlineInstagram
588
+ class={header_cssstyles.instagrambtn + ' cursor-pointer ml-3 mr-3 '}
589
+ onClick={() => {
590
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
591
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
592
+ }
593
+ }}
594
+ size={sectionproperties.instgrambtniconfontsize}
595
+ />
596
+ )}
597
+ {sectionproperties.youtbtn_show == 'Show' && (
598
+ <FaWhatsapp
599
+ class={header_cssstyles.whatsapp_btn + ' cursor-pointer ml-3 mr-3 '}
600
+ onClick={() => {
601
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
602
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
603
+ }
604
+ }}
605
+ size={sectionproperties.youtubebtniconfontsize}
606
+ />
607
+ )}
608
+ <p
609
+ class={header_cssstyles.upperheadertext + ' m-0 p-0 cursor-pointer ml-3 mr-3 '}
610
+ onClick={() => {
611
+ routingcountext(StaticPagesLinksContext.Wishlist);
612
+ }}
613
+ >
614
+ {lang.wishlist}
615
+ </p>
616
+ <p
617
+ class={header_cssstyles.upperheadertext + ' m-0 p-0 cursor-pointer ml-3 mr-3 '}
618
+ onClick={() => {
619
+ routingcountext(StaticPagesLinksContext.Policies);
620
+ }}
621
+ >
622
+ {lang.policies}
623
+ </p>
624
+ </div>
625
+ <div class="col-lg-6 d-flex align-items-center justify-content-end">
626
+ <div class={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
627
+ <Dropdown>
628
+ <Dropdown.Toggle>
629
+ <li class={' d-flex align-items-center justify-content-center '}>
630
+ {langdetect == 'en' && (
631
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
632
+ <p class="m-0 p-0 mr-2">English</p>
633
+ <MdKeyboardArrowDown />
634
+ </div>
635
+ )}
636
+ {langdetect == 'ar' && (
637
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
638
+ <p class="m-0 p-0 ml-2">لغة عربية</p>
639
+ <MdKeyboardArrowDown />
640
+ </div>
641
+ )}
642
+ </li>
643
+ </Dropdown.Toggle>
644
+ <Dropdown.Menu>
645
+ <Dropdown.Item
646
+ onClick={() => {
647
+ setlang('ar');
648
+ }}
649
+ >
650
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
651
+ <p
652
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
653
+ style={{
654
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
655
+ fontWeight: sectionproperties.dropdown_fontweight,
656
+ textTransform: sectionproperties.dropdown_texttransform,
657
+ }}
658
+ >
659
+ <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
660
+ <span class={'ml-2 mr-2'}>{lang.arabic}</span>
661
+ </p>
662
+ </div>
663
+ </Dropdown.Item>
664
+ <Dropdown.Divider></Dropdown.Divider>
665
+ <Dropdown.Item
666
+ onClick={() => {
667
+ setlang('en');
668
+ }}
669
+ >
670
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
671
+ <p
672
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
673
+ style={{
674
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
675
+ fontWeight: sectionproperties.dropdown_fontweight,
676
+ textTransform: sectionproperties.dropdown_texttransform,
677
+ }}
678
+ >
679
+ <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
680
+ <span class={'ml-2 mr-2'}>{lang.english}</span>
681
+ </p>
682
+ </div>
683
+ </Dropdown.Item>
684
+ </Dropdown.Menu>
685
+ </Dropdown>
686
+ </div>
687
+ </div>
688
+ </div>
689
+ </div>
690
+ )}
691
+ <div class={`${headerstyles.header_innercontainer} ${header_cssstyles.header_innercontainer}` + ' row m-0 w-100 d-flex align-items-center px-1024-1 '} style={{ zIndex: 2 }}>
692
+ <div class="col-lg-5 p-0 d-flex align-items-center justify-content-start h-100">
693
+ {/* {sectionproperties.showhidesubheader == 'Hide' || */}
694
+ {/* (sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && ( */}
695
+ <div class="row m-0 w-100">
696
+ {sectionproperties.generalbtn_show == 'Show' && (
697
+ <div
698
+ class={'col-lg-3 col-xl-4 d-flex align-items-center justify-content-start '}
699
+ onClick={() => {
700
+ setdropdownselect(!dropdownselect);
701
+ }}
702
+ >
703
+ <div
704
+ class={`${header_cssstyles.categorybtn}` + ' categoriesdropdown d-flex w-100 align-items-center pl-2 pr-2 '}
705
+ style={{
706
+ zIndex: 100000,
707
+ }}
708
+ >
709
+ <li class={langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'}>
710
+ <div class={' m-0 allcentered cursor-pointer px-2 p-lg-0 '}>
711
+ <div class={'col-lg-10 d-flex justify-content-start m-0 p-0'}>
712
+ {langdetect == 'en' ? 'Products' : 'المنتجات'}
713
+ {/* {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar} */}
714
+ </div>
715
+ <div class="col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end d-xl-flex d-lg-none">
716
+ <i class="h-100 d-flex align-items-center justify-content-end">
717
+ {dropdownselect ? <MdKeyboardArrowUp size={25} /> : <MdKeyboardArrowDown size={25} />}
718
+ </i>
719
+ </div>
720
+ </div>
721
+ <ul
722
+ class="mt-2"
723
+ sytle={{
724
+ width: '200px',
725
+ }}
726
+ >
727
+ {sectionproperties.fetchparenttype == 'Categories' &&
728
+ authdetailsContext?.instinfo?.instcategories?.map((item, index) => {
729
+ var fetchedarray = authdetailsContext?.instinfo?.instcategories;
730
+ if (item.isshowntocustomers == 1) {
731
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
732
+ }
733
+ })}
734
+ {/* sectionproperties.fetchparenttype == 'Parent Collections' */}
735
+ {sectionproperties.fetchparenttype == 'Parent Collections' &&
736
+ pcollarray?.map((item, index) => {
737
+ var fetchedarray = pcollarray;
738
+ if (item.isshowntocustomers == 1) {
739
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
740
+ }
741
+ })}
742
+ {sectionproperties.fetchparenttype == 'Collections' &&
743
+ authdetailsContext?.instinfo?.instcollections?.map((item, index) => {
744
+ var fetchedarray = authdetailsContext?.instinfo?.instcollections;
745
+ if (item.isshowntocustomers == 1) {
746
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
747
+ }
748
+ })}
749
+ </ul>
750
+ </li>
751
+ </div>
752
+ </div>
753
+ )}
754
+
755
+ <div class={sectionproperties.generalbtn_show == 'Show' ? 'col-xl-8 col-lg-9' : 'col-12'}>
756
+ <div
757
+ class={' scrollhorizontal w-100 align-items-center h-100 '}
758
+ style={{
759
+ display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
760
+ }}
761
+ >
762
+ {templatepropcontext.pagesnprop.map((item, index) => {
763
+ var activeclass = '';
764
+ var pagedisabled = '';
765
+ if (item.isselected) {
766
+ activeclass = headerstyles.navbar_item_active;
767
+ }
768
+ if (item.isnavigation == 1 && item.isactive == 1) {
769
+ return (
770
+ <div
771
+ class="scrollhorizontalcard"
772
+ style={{
773
+ marginLeft: langdetect == 'en' ? 0 : '20px',
774
+ marginRight: langdetect == 'en' ? '20px' : 0,
775
+ position: 'relative',
776
+ }}
777
+ onClick={() => {
778
+ routingcountext(item.navigationroute, false, '');
779
+ }}
780
+ >
781
+ <div class={`${headerstyles.navbar_item} ${activeclass}`}>
782
+ <span class={`${headerstyles.navbar_item_text} ${header_cssstyles.navbar_item_text}`}>
783
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
784
+ </span>
785
+ </div>
786
+ </div>
787
+ );
788
+ }
789
+ })}
790
+ </div>
791
+ </div>
792
+ </div>
793
+
794
+ {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
795
+ <div class="row m-0 w-100 p-0">
796
+ <Subheader
797
+ sectionpropertiesprops={sectionproperties}
798
+ subheaderpropertiesprops={{
799
+ subheaderpositionprops: 'in nav',
800
+ paddingLeftprops: '10px',
801
+ paddingRightprops: '10px',
802
+ subheadercontentpositionprops: langdetect == 'en' ? 'left' : 'right',
803
+ }}
804
+ actions={actions}
805
+ />
806
+ </div>
807
+ )}
808
+ </div>
809
+
810
+ <div class="col-lg-2 p-0 d-flex align-items-center justify-content-center">
811
+ <div
812
+ class={`${header_cssstyles.header_logo}` + ' d-flex align-items-center justify-content-center '}
813
+ style={{ cursor: 'pointer' }}
814
+ onClick={() => {
815
+ routingcountext('home');
816
+ }}
817
+ >
818
+ <Imagekitimagecomp
819
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
820
+ publicKey={ikimagecredcontext?.ikimagepublickey}
821
+ path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
822
+ style={{
823
+ maxWidth: '100%',
824
+ maxHeight: '100%',
825
+ }}
826
+ />
827
+ </div>
828
+ </div>
829
+
830
+ <div class="col-lg-5 d-flex align-items-center justify-content-end p-0">
831
+ {sectionproperties.searchbar_show == 'Show' && (
832
+ <div
833
+ class="col-lg-4 p-0 d-flex justify-content-end align-items-center"
834
+ onClick={() => {
835
+ setSearchHeaderInputContext('');
836
+ }}
837
+ style={{
838
+ marginRight: sectionproperties.ShowUserBtn == 'Hide' ? (langdetect == 'en' ? '1.5rem' : 0) : 0,
839
+ marginLeft: sectionproperties.ShowUserBtn == 'Hide' ? (langdetect == 'ar' ? '1.5rem' : 0) : 0,
840
+ }}
841
+ >
842
+ <div class="row m-0 w-100 d-flex justify-content-end align-items-center">
843
+ <div class="col-lg-12 p-0 d-flex justify-content-end align-items-center">
844
+ <input
845
+ class={`${headerstyles.searchbar} ${header_cssstyles.searchbarcont_input}`}
846
+ placeholder={langdetect == 'en' ? "What're we looking for?" : 'البحث...'}
847
+ onChange={(event) => {
848
+ setSearchHeaderInputContext(event.target.value);
849
+ }}
850
+ style={{
851
+ right: langdetect == 'en' ? 0 : '',
852
+ left: langdetect == 'en' ? '' : 0,
853
+ }}
854
+ />
855
+ <div class={`${header_cssstyles.searchbarcont}` + ' d-flex justify-content-center align-items-center '}>
856
+ <i class={headerstyles.searchbaractive + ' h-100 d-flex align-items-center'}>
857
+ <BiSearch
858
+ size={sectionproperties.searchbarcontfontsize}
859
+ style={{
860
+ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
861
+ }}
862
+ />
863
+ </i>
864
+ </div>
865
+ </div>
866
+ <div class="col-lg-12 p-0 d-flex justify-content-end align-items-center">
867
+ <Searchlist actions={actions} sectionpropertiesprops={sectionproperties} srcfromprops={'header-300'} headernameprops={'Header_threesectionslogocentered'} />
868
+ </div>
869
+ </div>
870
+ </div>
871
+ )}
872
+ {sectionproperties.ShowUserBtn == 'Show' && (
873
+ <div
874
+ style={{
875
+ marginRight: sectionproperties.favBtnShow == 'Show' ? (langdetect == 'en' ? '1.5rem' : '1.2rem') : 0,
876
+ marginLeft: sectionproperties.favBtnShow == 'Show' ? (langdetect == 'en' ? '1.2rem' : '1.5rem') : 0,
877
+ }}
878
+ >
879
+ <Dropdown>
880
+ <Dropdown.Toggle>
881
+ {!authdetailsContext.loggedin && (
882
+ <div class={' d-flex justify-content-center align-items-center '}>
883
+ <span class={` ${header_cssstyles.user_btn}` + ' d-flex justify-content-center align-items-center '}>
884
+ <FiUser size={sectionproperties.userBtniconfontsize} />
885
+ </span>
886
+ </div>
887
+ )}
888
+ {authdetailsContext.loggedin && (
889
+ <div class={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
890
+ <div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
891
+ <i class={' h-100 allcentered '}>
892
+ <FiUser size={sectionproperties.loggedinusericonfontsize} />
893
+ </i>
894
+ </div>
895
+ <div
896
+ class="m-0 p-0 loggedinuserbtn flex-column"
897
+ style={{
898
+ textAlign: langdetect == 'en' ? 'left' : 'right',
899
+ }}
900
+ >
901
+ <p
902
+ class="m-0 p-0"
903
+ style={{
904
+ color: sectionproperties.greetingtextcolor,
905
+ fontSize: sectionproperties.greetingtextfontsize + 'px',
906
+ lineHeight: sectionproperties.greetingtextfontsize + 'px',
907
+ fontWeight: 400,
908
+ }}
909
+ >
910
+ {lang.hello}
911
+ {langdetect == 'en' ? ',' : '،'}
912
+ </p>
913
+ <p class={header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow '} style={{ maxWidth: '60px' }}>
914
+ {authdetailsContext.customerinfo.name}
915
+ </p>
916
+ </div>
917
+ </div>
918
+ )}
919
+ </Dropdown.Toggle>
920
+ {!authdetailsContext.loggedin && (
921
+ <Dropdown.Menu>
922
+ <Dropdown.Item
923
+ onClick={() => {
924
+ routingcountext(StaticPagesLinksContext.Login);
925
+ }}
926
+ >
927
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
928
+ <p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
929
+ <AiOutlineLogin />
930
+ <span class="ml-2 mr-2">{lang.login}</span>
931
+ </p>
932
+ </div>
933
+ </Dropdown.Item>
934
+ <Dropdown.Divider></Dropdown.Divider>
935
+ <Dropdown.Item
936
+ onClick={() => {
937
+ routingcountext(StaticPagesLinksContext.Signup);
938
+ }}
939
+ >
940
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
941
+ <p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
942
+ <AiOutlineUserAdd />
943
+ <span class="ml-2 mr-2 text-transform-none">{lang.signup}</span>
944
+ </p>
945
+ </div>
946
+ </Dropdown.Item>
947
+ </Dropdown.Menu>
948
+ )}
949
+ {authdetailsContext.loggedin && (
950
+ <Dropdown.Menu style={{ minWidth: '200px' }}>
951
+ <Dropdown.Item>
952
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
953
+ <span
954
+ style={{
955
+ color: '#8fa0bd',
956
+ }}
957
+ >
958
+ {lang.hello},
959
+ </span>
960
+ <span
961
+ class={`${header_cssstyles.dropdownitem}` + ' dropdownitem font-weight-600 text-overflow text-capitalize p-0 ml-1 mr-1 '}
962
+ onClick={() => {
963
+ routingcountext(StaticPagesLinksContext.accountinfo);
964
+ }}
965
+ >
966
+ {authdetailsContext.customerinfo.name}
967
+ </span>
968
+ </div>
969
+ </Dropdown.Item>
970
+ <Dropdown.Divider></Dropdown.Divider>
971
+ {templateproperties_context.showprevorder == 'Show' && (
972
+ <Dropdown.Item
973
+ onClick={() => {
974
+ routingcountext(StaticPagesLinksContext.Ordershistory);
975
+ }}
976
+ >
977
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
978
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
979
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
980
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
981
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
982
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag />}
983
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
984
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
985
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar />}
986
+ <span class="ml-2 mr-2">{lang.orderhistory}</span>
987
+ </p>
988
+ </div>
989
+ </Dropdown.Item>
990
+ )}
991
+ {templateproperties_context.showprevorder == 'Show' && <Dropdown.Divider></Dropdown.Divider>}
992
+ <Dropdown.Item
993
+ onClick={() => {
994
+ routingcountext(StaticPagesLinksContext.Wishlist);
995
+ }}
996
+ >
997
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
998
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
999
+ {sectionproperties.faviconshape == 'Heart Shape' && <AiOutlineHeart />}
1000
+ {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
1001
+ <span class="ml-2 mr-2">{lang.wishlist}</span>
1002
+ </p>
1003
+ </div>
1004
+ </Dropdown.Item>
1005
+ <Dropdown.Divider></Dropdown.Divider>
1006
+ <Dropdown.Item
1007
+ onClick={() => {
1008
+ routingcountext(StaticPagesLinksContext.Policies);
1009
+ }}
1010
+ >
1011
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1012
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1013
+ <AiOutlineSecurityScan />
1014
+ <span class="ml-2 mr-2">{lang.policies}</span>
1015
+ </p>
1016
+ </div>
1017
+ </Dropdown.Item>
1018
+ <Dropdown.Divider></Dropdown.Divider>
1019
+ <Dropdown.Item
1020
+ onClick={() => {
1021
+ LogoutMutationContext.mutate();
1022
+ }}
1023
+ >
1024
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1025
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1026
+ <BiLogOutCircle />
1027
+ <span class="ml-2 mr-2">{lang.logout}</span>
1028
+ </p>
1029
+ </div>
1030
+ </Dropdown.Item>
1031
+ </Dropdown.Menu>
1032
+ )}
1033
+ </Dropdown>
1034
+ </div>
1035
+ )}
1036
+ {sectionproperties.favBtnShow == 'Show' && (
1037
+ <div
1038
+ class={`${header_cssstyles.wishlist_btn}` + ' d-flex justify-content-center align-items-center cursor-pointer '}
1039
+ onClick={() => {
1040
+ routingcountext(StaticPagesLinksContext.Wishlist);
1041
+ }}
1042
+ style={{
1043
+ marginRight: langdetect == 'en' ? '1.5rem' : 0,
1044
+ marginLeft: langdetect == 'ar' ? '1.5rem' : 0,
1045
+ }}
1046
+ >
1047
+ {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
1048
+ {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
1049
+ </div>
1050
+ )}
1051
+ {sectionproperties.cartBtnShow == 'Show' && (
1052
+ <div
1053
+ class={'d-flex align-items-center justify-content-end'}
1054
+ style={{
1055
+ marginRight: sectionproperties.showupperheadersection == 'Hide' ? (langdetect == 'en' ? '1.5rem' : 0) : 0,
1056
+ marginLeft: sectionproperties.showupperheadersection == 'Hide' ? (langdetect == 'ar' ? '1.5rem' : 0) : 0,
1057
+ }}
1058
+ >
1059
+ <div
1060
+ class={`${header_cssstyles.cart_btn}` + ' allcentered '}
1061
+ onClick={() => {
1062
+ setsidecartnavshowcontext(true);
1063
+ }}
1064
+ >
1065
+ <div
1066
+ className={
1067
+ `${headerstyles.badge_counter_header_notifications} ${header_cssstyles.badge_counter_header_notifications}` +
1068
+ ' d-flex justify-content-center align-items-center '
1069
+ }
1070
+ >
1071
+ {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
1072
+ </div>
1073
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1074
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1075
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
1076
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1077
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1078
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1079
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtn_iconFontSize} />}
1080
+ </div>
1081
+ </div>
1082
+ )}
1083
+ {sectionproperties.showupperheadersection == 'Hide' && (
1084
+ <div class={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
1085
+ <Dropdown>
1086
+ <Dropdown.Toggle>
1087
+ <li class={' d-flex align-items-center justify-content-center '}>
1088
+ {langdetect == 'en' && (
1089
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1090
+ <p class="m-0 p-0 mr-2">English</p>
1091
+ <MdKeyboardArrowDown />
1092
+ </div>
1093
+ )}
1094
+ {langdetect == 'ar' && (
1095
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1096
+ <p class="m-0 p-0 ml-2">ع</p>
1097
+ <MdKeyboardArrowDown />
1098
+ </div>
1099
+ )}
1100
+ </li>
1101
+ </Dropdown.Toggle>
1102
+ <Dropdown.Menu>
1103
+ <Dropdown.Item
1104
+ onClick={() => {
1105
+ setlang('ar');
1106
+ }}
1107
+ >
1108
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
1109
+ <p
1110
+ class={'dropdownitem d-flex align-items-center m-0 p-0'}
1111
+ style={{
1112
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
1113
+ fontWeight: sectionproperties.dropdown_fontweight,
1114
+ textTransform: sectionproperties.dropdown_texttransform,
1115
+ }}
1116
+ >
1117
+ <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
1118
+ <span class={'ml-2 mr-2'}>عربي</span>
1119
+ </p>
1120
+ </div>
1121
+ </Dropdown.Item>
1122
+ <Dropdown.Divider></Dropdown.Divider>
1123
+ <Dropdown.Item
1124
+ onClick={() => {
1125
+ setlang('en');
1126
+ }}
1127
+ >
1128
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
1129
+ <p
1130
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
1131
+ style={{
1132
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
1133
+ fontWeight: sectionproperties.dropdown_fontweight,
1134
+ textTransform: sectionproperties.dropdown_texttransform,
1135
+ }}
1136
+ >
1137
+ <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
1138
+ <span class={'ml-2 mr-2'}>English</span>
1139
+ </p>
1140
+ </div>
1141
+ </Dropdown.Item>
1142
+ </Dropdown.Menu>
1143
+ </Dropdown>
1144
+ </div>
1145
+ )}
1146
+ {/* here */}
1147
+ {authdetailsContext != undefined && authdetailsContext?.instinfo?.instcurrencies?.length > 1 && (
1148
+ <Dropdown>
1149
+ <Dropdown.Toggle>
1150
+ <li class={' d-flex align-items-center justify-content-center '}>
1151
+ {langdetect == 'en' && (
1152
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1153
+ <p class="m-0 p-0 mr-2 ml-2">{authdetailsContext?.currencyname_en}</p>
1154
+ <MdKeyboardArrowDown />
1155
+ </div>
1156
+ )}
1157
+ {langdetect == 'ar' && (
1158
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1159
+ <p class="m-0 p-0 ml-2 mr-2">{authdetailsContext?.currencyname_ar}</p>
1160
+ <MdKeyboardArrowDown />
1161
+ </div>
1162
+ )}
1163
+ </li>
1164
+ </Dropdown.Toggle>
1165
+ <Dropdown.Menu>
1166
+ {authdetailsContext?.instinfo?.instcurrencies?.map(function (item, index) {
1167
+ return (
1168
+ <Dropdown.Item
1169
+ onClick={() => {
1170
+ setcurrencyfunccontext(item);
1171
+ }}
1172
+ >
1173
+ <div class="row m-0 w-100">
1174
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
1175
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
1176
+ <p
1177
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
1178
+ style={{
1179
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
1180
+ fontWeight: sectionproperties.dropdown_fontweight,
1181
+ textTransform: sectionproperties.dropdown_texttransform,
1182
+ }}
1183
+ >
1184
+ {langdetect == 'en' ? item.currencyname_en : item.currencyname_ar}
1185
+ </p>
1186
+ </div>
1187
+ </div>
1188
+ {index != authdetailsContext?.instinfo?.instcurrencies?.length - 1 && (
1189
+ <div class="col-lg-12 p-0">
1190
+ <hr class="m-0" />
1191
+ </div>
1192
+ )}
1193
+ </div>
1194
+ </Dropdown.Item>
1195
+ );
1196
+ })}
1197
+ </Dropdown.Menu>
1198
+ </Dropdown>
1199
+ )}
1200
+ </div>
1201
+ </div>
1202
+ {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
1203
+ <div class="col-lg-12 p-0">
1204
+ <Subheader
1205
+ sectionpropertiesprops={sectionproperties}
1206
+ actions={actions}
1207
+ subheaderpropertiesprops={{
1208
+ subheaderpositionprops: 'Full Width',
1209
+ paddingLeftprops: '35px',
1210
+ paddingRightprops: '35px',
1211
+ subheadercontentpositionprops: 'center',
1212
+ }}
1213
+ />
1214
+ </div>
1215
+ )}
1216
+ </div>
1217
+ <div className="col-lg-12 p-0">
1218
+ {sectionproperties.responsiveheaderstyle == 'Style 1' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
1219
+ {sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
1220
+ {sectionproperties.responsiveheaderstyle == 'Style 2' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1221
+ {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}{' '}
1222
+ </div>
1223
+ </div>
1224
+ </div>
1225
+ );
1226
+ };
1227
+
1228
+ export default Header_threesectionslogocentered;