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,1159 @@
1
+ import React, { useEffect, useState } from 'react';
2
+ import { css } from 'glamor';
3
+ import Dropdown from 'react-bootstrap/Dropdown';
4
+ import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
5
+ import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
6
+ import headerstyles from '../../../styles/headers/SearchFocusedHeader.module.css';
7
+ import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
8
+ import { BsChevronLeft } from '@react-icons/all-files/bs/BsChevronLeft';
9
+ import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
10
+ import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
11
+ import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
12
+ import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
13
+ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
14
+ import { FiUser } from '@react-icons/all-files/fi/FiUser';
15
+ import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
16
+ import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
17
+ import { MdKeyboardArrowUp } from '@react-icons/all-files/md/MdKeyboardArrowUp';
18
+ import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
19
+ import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
20
+ import { BsSearch } from '@react-icons/all-files/bs/BsSearch';
21
+ import { HiOutlineShoppingBag } from '@react-icons/all-files/hi/HiOutlineShoppingBag';
22
+ import { BsBag } from '@react-icons/all-files/bs/BsBag';
23
+ import { AiOutlineUserAdd } from '@react-icons/all-files/ai/AiOutlineUserAdd';
24
+ import { AiOutlineLogin } from '@react-icons/all-files/ai/AiOutlineLogin';
25
+ import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
26
+ import { AiFillPhone } from '@react-icons/all-files/ai/AiFillPhone';
27
+ import { AiOutlineMail } from '@react-icons/all-files/ai/AiOutlineMail';
28
+ import { AiOutlineHeart } from '@react-icons/all-files/ai/AiOutlineHeart';
29
+ import { AiOutlineInstagram } from '@react-icons/all-files/ai/AiOutlineInstagram';
30
+ import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
31
+ import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
32
+ import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
33
+ import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
34
+
35
+ const SearchFocusedHeader = (props) => {
36
+ const lang = props.actions.lang;
37
+ const langdetect = props.actions.langdetect;
38
+ const setlang = props.actions.setlang;
39
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
40
+ const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
41
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
42
+ const templatepropcontext = props.actions.templatepropcontext;
43
+ const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
44
+ const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
45
+ const templateproperties_context = props.actions.templateproperties_context;
46
+ const LogoutMutationContext = props.actions.LogoutMutationContext;
47
+ const authdetailsContext = props.actions.authdetailsContext;
48
+ const routingcountext = props.actions.routingcountext;
49
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
50
+ const actions = props.actions;
51
+ const history = props.actions.history;
52
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
53
+ const [sectionproperties, setsectionproperties] = useState('');
54
+ const [dropdownselect, setdropdownselect] = useState(false);
55
+ const [Choosenindex, setChoosenindex] = useState('');
56
+ const [pcollarray, setpcollarray] = useState([]);
57
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
58
+
59
+ useEffect(() => {
60
+ var temppcollarray = [...pcollarray];
61
+ authdetailsContext?.instinfo?.instcategories?.forEach(function (arrayItem) {
62
+ arrayItem?.parentcolletions?.forEach(function (item) {
63
+ temppcollarray.push(item);
64
+ });
65
+ });
66
+ setpcollarray([...temppcollarray]);
67
+ }, [authdetailsContext]);
68
+ useEffect(() => {
69
+ var secpropobj = {};
70
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
71
+ if (sectionitem.sectionid == props.sectionidprops) {
72
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
73
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
74
+ });
75
+ }
76
+ });
77
+ if (Object.keys(secpropobj).length === 0) {
78
+ if (props.defaultproperties != undefined && props.defaultproperties.length != 0) {
79
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
80
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
81
+ });
82
+ }
83
+ }
84
+ setsectionproperties({ ...secpropobj });
85
+ }, [StatePagePropertiesContext]);
86
+
87
+ const ButtonDropdown = (item, index, fetchedarray) => {
88
+ var parentclassname = '';
89
+ if (sectionproperties.fetchparenttype == 'Categories') {
90
+ parentclassname = header_cssstyles.categoryname;
91
+ } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
92
+ parentclassname = header_cssstyles.parentcollection;
93
+ } else {
94
+ parentclassname = header_cssstyles.collectionName;
95
+ }
96
+ return (
97
+ <li class="dropdown d-flex align-items-center w-100">
98
+ <div
99
+ class={parentclassname + ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '}
100
+ onMouseEnter={() => {
101
+ setChoosenindex(index);
102
+ }}
103
+ >
104
+ <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
105
+ <p
106
+ class={' m-0 p-0 wordbreak wordbreak1 '}
107
+ onClick={() => {
108
+ if (sectionproperties.fetchparenttype == 'Categories') {
109
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
110
+ } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
111
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
112
+ } else {
113
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
114
+ }
115
+ }}
116
+ >
117
+ {langdetect == 'en' ? item.title_en : item.title_ar}
118
+ </p>
119
+ </div>
120
+ {sectionproperties.fetchparenttype != 'Collections' && (
121
+ <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
122
+ <i className={' p-0 h-100 allcentered '}>
123
+ {langdetect == 'en' ? (
124
+ <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
125
+ ) : (
126
+ <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
127
+ )}
128
+ </i>
129
+ </div>
130
+ )}
131
+ </div>
132
+ {sectionproperties.fetchparenttype == 'Categories' && fetchedarray[Choosenindex]?.parentcolletions?.length != 0 && (
133
+ <ul>
134
+ {fetchedarray[Choosenindex]?.parentcolletions?.map((item, index) => (
135
+ <li class="dropdown d-flex align-items-center w-100">
136
+ <div
137
+ class={header_cssstyles.parentcollection + ' w-100 dropdownInnerContainer cursor-pointer '}
138
+ onClick={() => {
139
+ if (sectionproperties.fetchparenttype == 'Categories') {
140
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
141
+ } else {
142
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
143
+ }
144
+ }}
145
+ >
146
+ <div class="row m-0 w-100">
147
+ <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
148
+ <p class={' m-0 p-0 wordbreak wordbreak1 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
149
+ </div>
150
+ {item?.collections.length != 0 && (
151
+ <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
152
+ <i className={' p-0 h-100 allcentered '}>
153
+ {langdetect == 'en' ? (
154
+ <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
155
+ ) : (
156
+ <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
157
+ )}
158
+ </i>
159
+ </div>
160
+ )}
161
+ </div>
162
+ </div>
163
+ {item?.collections.length != 0 && (
164
+ <ul>
165
+ {item?.collections?.map((item, index) => {
166
+ return (
167
+ <li
168
+ class={header_cssstyles.collectionName + ' w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '}
169
+ onClick={() => {
170
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
171
+ }}
172
+ >
173
+ {langdetect == 'en' ? item.title_en : item.title_ar}
174
+ </li>
175
+ );
176
+ })}
177
+ </ul>
178
+ )}
179
+ </li>
180
+ ))}
181
+ </ul>
182
+ )}
183
+ {sectionproperties.fetchparenttype == 'Parent Collections' && pcollarray[Choosenindex]?.collections.length != 0 && (
184
+ <ul>
185
+ {pcollarray[Choosenindex]?.collections?.map((item, index) => (
186
+ <li class="dropdown d-flex align-items-center w-100">
187
+ <div
188
+ class={header_cssstyles.collectionName + ' w-100 dropdownInnerContainer cursor-pointer '}
189
+ onClick={() => {
190
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
191
+ }}
192
+ >
193
+ <div className={' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '}>
194
+ <p
195
+ class={' m-0 p-0 wordbreak wordbreak1 '}
196
+ style={{
197
+ textTransform: sectionproperties.collectionsectiontexttransform,
198
+ }}
199
+ >
200
+ {langdetect == 'en' ? item.title_en : item.title_ar}
201
+ </p>
202
+ </div>
203
+ </div>
204
+ </li>
205
+ ))}
206
+ </ul>
207
+ )}
208
+ </li>
209
+ );
210
+ };
211
+ useEffect(() => {
212
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
213
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
214
+ if (Array.isArray(logoarrayofobjectsparsed)) {
215
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
216
+ }
217
+ }
218
+ }, [templateproperties_context]);
219
+
220
+ const header_cssstyles = {
221
+ upperheadersection: css({
222
+ background: sectionproperties.uppersection_bgcolortransparent == 'Transparent' ? 'Transparent' : sectionproperties.uppersection_bgcolor,
223
+ paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
224
+ paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
225
+ paddingTop: sectionproperties.uppersection_paddingtop + 'px',
226
+ paddingBottom: sectionproperties.uppersection_paddingbottom + 'px',
227
+ borderTopLeftRadius: sectionproperties.uppersection_btlradius + 'px',
228
+ borderTopRightRadius: sectionproperties.uppersection_btrradius + 'px',
229
+ borderBottomLeftRadius: sectionproperties.uppersection_bblradius + 'px',
230
+ borderBottomRightRadius: sectionproperties.uppersection_bbrradius + 'px',
231
+ }),
232
+ headerMiddleContainer: css({
233
+ backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
234
+ borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
235
+ paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
236
+ paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
237
+ paddingTop: sectionproperties.header_paddingTop + 'px',
238
+ paddingBottom: sectionproperties.header_paddingBottom + 'px',
239
+ }),
240
+ lowerheaderSection: css({
241
+ backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
242
+ paddingTop: sectionproperties.lowersection_paddingtop + 'px',
243
+ paddingBottom: sectionproperties.lowersection_paddingbottom + 'px',
244
+ paddingLeft: langdetect == 'en' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
245
+ paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
246
+ }),
247
+ upperheadertext: css({
248
+ fontSize: sectionproperties.footerinfotext_fontsize + 'px',
249
+ color: sectionproperties.footerinfotext_color,
250
+ fontWeight: sectionproperties.footerinfotext_fontweight,
251
+ transition: '.3s',
252
+ }),
253
+ header_logo: css({
254
+ width: templateproperties_context.logo_width + 'px',
255
+ height: templateproperties_context.logo_height + 'px',
256
+ }),
257
+ navbar_item: css({
258
+ color: sectionproperties.header_fontColor,
259
+ fontSize: sectionproperties.header_fontSize + 'px',
260
+ textTransform: sectionproperties.header_textTransform,
261
+ fontWeight: sectionproperties.header_textfontweight,
262
+ transition: '.3s',
263
+ ':hover': {
264
+ color: sectionproperties.header_fontColoronhover,
265
+ },
266
+ }),
267
+ dropdownitem: css({
268
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
269
+ color: sectionproperties.dropdown_color,
270
+ fontWeight: sectionproperties.dropdown_fontweight,
271
+ textTransform: sectionproperties.dropdown_texttransform,
272
+ padding: '0.3rem 0.8rem',
273
+ transition: '.3s',
274
+ ':hover': {
275
+ color: sectionproperties.dropdown_hovercolor,
276
+ },
277
+ }),
278
+ dropdownitemcontainer: css({
279
+ zIndex: 1000,
280
+ transition: '.3s',
281
+ ':hover .dropdownitem': { color: sectionproperties.dropdown_hovercolor },
282
+ }),
283
+ divider: css({
284
+ height: sectionproperties.vl_height + 'px',
285
+ width: sectionproperties.vl_width + '%',
286
+ backgroundColor: sectionproperties.vl_bg,
287
+ // zIndex: 100,
288
+ }),
289
+ searchbarcont: css({
290
+ position: 'relative',
291
+ transition: '.3s',
292
+ height: sectionproperties.searchbarcont_height + 'px',
293
+ background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
294
+ width: '100%',
295
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomLeftRadius + 'px' : sectionproperties.searchbarcont_borderBottomRightRadius + 'px',
296
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderBottomRightRadius + 'px' : sectionproperties.searchbarcont_borderBottomLeftRadius + 'px',
297
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopLeftRadius + 'px' : sectionproperties.searchbarcont_borderTopRightRadius + 'px',
298
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbarcont_borderTopRightRadius + 'px' : sectionproperties.searchbarcont_borderTopLeftRadius + 'px',
299
+ border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
300
+ }),
301
+ searchbar_icon_cont: css({
302
+ width: sectionproperties.searchbaricon_width + 'px',
303
+ height: sectionproperties.searchbaricon_height + 'px',
304
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.searchbaricon_borderBottomLeftRadius + 'px' : sectionproperties.searchbaricon_borderBottomRightRadius + 'px',
305
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.searchbaricon_borderBottomRightRadius + 'px' : sectionproperties.searchbaricon_borderBottomLeftRadius + 'px',
306
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.searchbaricon_borderTopLeftRadius + 'px' : sectionproperties.searchbaricon_borderTopRightRadius + 'px',
307
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.searchbaricon_borderTopRightRadius + 'px' : sectionproperties.searchbaricon_borderTopLeftRadius + 'px',
308
+ color: sectionproperties.searchbaricon_color,
309
+ backgroundColor: sectionproperties.searchbaricon_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbaricon_bgcolor,
310
+ transition: '0.3s ease',
311
+ position: 'absolute',
312
+ right: langdetect == 'en' ? 0 : '',
313
+ left: langdetect == 'en' ? '' : 0,
314
+
315
+ bottom: -1,
316
+ // top: 0,
317
+ margin: 'auto',
318
+ }),
319
+ searchbarcont_input: css({
320
+ height: '100%',
321
+ width: '100%',
322
+ outline: 'none',
323
+ background: 'transparent',
324
+ color: sectionproperties.searchbarcontinput_color,
325
+ fontWeight: sectionproperties.searchbarcont_inputfontweight,
326
+ fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
327
+ transition: '0.3s',
328
+ ':focus': {
329
+ borderColor: sectionproperties.searchbarcontinput_bordercoloronfocus,
330
+ },
331
+ }),
332
+ wishlist_btn: css({
333
+ width: sectionproperties.favBtnWidth + 'px',
334
+ height: sectionproperties.favBtnHeight + 'px',
335
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
336
+ borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
337
+ color: sectionproperties.favBtniconcolor,
338
+ border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
339
+ transition: '.3s',
340
+ ':hover': {
341
+ background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
342
+ color: sectionproperties.favBtnTextcoloronhover,
343
+ borderColor: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.favBtnTextcoloronhover : sectionproperties.favBtnbgColoronhover,
344
+ },
345
+ }),
346
+ wishlistbadge: css({
347
+ top: sectionproperties.wishlistbadgetop + 'px',
348
+ right: sectionproperties.wishlistbadgeright + 'px',
349
+ }),
350
+ user_btn: css({
351
+ background: sectionproperties.userbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColor,
352
+ width: sectionproperties.userBtnWidth + 'px',
353
+ height: sectionproperties.userBtnHeight + 'px',
354
+ borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
355
+ color: sectionproperties.userBtniconcolor,
356
+ fontSize: sectionproperties.userBtniconfontsize + 'px',
357
+ border: sectionproperties.userbtnborderwidth + 'px solid ' + sectionproperties.userbtnbordercolor,
358
+ cursor: 'pointer',
359
+ transition: '.3s',
360
+ ':hover': {
361
+ color: sectionproperties.userBtnTextcoloronhover,
362
+ background: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColoronhover,
363
+ borderColor: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.userBtnTextcoloronhover : sectionproperties.userBtnbgColoronhover,
364
+ },
365
+ }),
366
+ loggedinusername: css({
367
+ fontWeight: sectionproperties.userBtnTextfontweight,
368
+ textTransform: sectionproperties.userBtnTexttransform,
369
+ color: sectionproperties.userBtnTextcolor,
370
+ fontSize: sectionproperties.userBtntextfontsize + 'px',
371
+ lineHeight: sectionproperties.userBtntextfontsize + 'px',
372
+ transition: '.3s',
373
+ }),
374
+ user_btnContainer: css({
375
+ ':hover .user_btnbg': {
376
+ background: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColoronhover,
377
+ color: sectionproperties.userBtnTextcoloronhover,
378
+ },
379
+ ':hover .user_btn': {
380
+ color: sectionproperties.userBtnTextcoloronhover,
381
+ },
382
+ }),
383
+ loggedinuserbtn: css({
384
+ width: sectionproperties.loggedinuserbtn_width + 'px',
385
+ height: sectionproperties.loggedinuserbtn_height + 'px',
386
+ border: sectionproperties.userlogginbtnborderwidth + 'px solid ' + sectionproperties.userlogginbtnbordercolor,
387
+ borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
388
+ background: sectionproperties.userBtnbgColor_loggedin,
389
+ color: sectionproperties.userBtniconcolor_loggedin,
390
+ transition: '.3s',
391
+ ':hover': {
392
+ backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
393
+ },
394
+ }),
395
+ userBtnLoggedinContainer: css({
396
+ transition: '.3s',
397
+ ':hover .loggedinuserbtn': {
398
+ transition: '.3s',
399
+ color: sectionproperties.userBtnTextcoloronhover_loggedin,
400
+ borderColor: sectionproperties.userbtn_loggedin_iconcoloronhover,
401
+ },
402
+ ':hover .loggedinuserbtnbg': {
403
+ backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
404
+ color: sectionproperties.userbtn_loggedin_iconcoloronhover,
405
+ },
406
+ }),
407
+ cart_btn: css({
408
+ width: sectionproperties.cartBtnWidth + 'px',
409
+ height: sectionproperties.cartBtnHeight + 'px',
410
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
411
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
412
+ color: sectionproperties.cart_iconcolor,
413
+ textTransform: sectionproperties.cartBtnTexttransform,
414
+ fontWeight: sectionproperties.cartBtnTextfontweight,
415
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
416
+ transition: '.3s',
417
+ position: 'relative',
418
+ cursor: 'pointer',
419
+ ':hover': {
420
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
421
+ borderColor: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.cartBtnTextcoloronhover : sectionproperties.cartBtnbgColoronhover,
422
+ color: sectionproperties.cartBtnTextcoloronhover,
423
+ },
424
+ }),
425
+ cartbadge: css({
426
+ top: sectionproperties.cartbadgetop + 'px',
427
+ right: sectionproperties.cartbadgeright + 'px',
428
+ }),
429
+ badge_counter_header_notifications: css({
430
+ display: 'flex',
431
+ justifyContent: 'center',
432
+ alignItems: 'center',
433
+ position: 'absolute',
434
+ top: sectionproperties.badge_top + 'px',
435
+ right: sectionproperties.badge_right + 'px',
436
+ background: sectionproperties.badge_bgcolor,
437
+ width: sectionproperties.badge_width + 'px',
438
+ height: sectionproperties.badge_height + 'px',
439
+ color: sectionproperties.badge_color,
440
+ borderRadius: sectionproperties.badge_borderradius + 'px',
441
+ fontSize: sectionproperties.badge_fontsize + 'px',
442
+ }),
443
+ categorybtn: css({
444
+ background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'Transparent' : sectionproperties.generalbtn_bgColor,
445
+ width: sectionproperties.generalbtn_width + 'px',
446
+ height: sectionproperties.generalbtn_height + 'px',
447
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
448
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
449
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
450
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
451
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
452
+ fontWeight: sectionproperties.generalbtn_fontweight,
453
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
454
+ width: '100%',
455
+ transition: '.3s',
456
+ ':hover': {
457
+ background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'Transparent' : sectionproperties.generalbtn_bgColoronhover,
458
+ color: sectionproperties.generalbtn_textColoronhover,
459
+ },
460
+ }),
461
+ categorydropdownbtn: css({
462
+ color: sectionproperties.generalbtn_textColor,
463
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
464
+ fontWeight: sectionproperties.generalbtn_fontweight,
465
+ transition: '.3s',
466
+ ':hover': {
467
+ color: sectionproperties.generalbtn_textColoronhover,
468
+ },
469
+ }),
470
+ languagecontainer: css({
471
+ cursor: 'pointer',
472
+ transition: '.3s',
473
+ color: sectionproperties.language_container_color,
474
+ fontSize: sectionproperties.language_container_fontsize + 'px',
475
+ ':hover': {
476
+ color: sectionproperties.language_container_coloronhover,
477
+ },
478
+ }),
479
+ header_outercontainer: css({
480
+ position: sectionproperties.headerstyles_position,
481
+ justifyContent: 'center',
482
+ marginTop: sectionproperties.header_marginTop + 'px',
483
+ marginBottom: sectionproperties.header_marginBottom + 'px',
484
+ width: sectionproperties.header_width + 'vw',
485
+ maxWidth: '100vw',
486
+ }),
487
+ fbbtn: css({
488
+ width: sectionproperties.facebkbtnnWidth + 'px',
489
+ height: sectionproperties.facebkbtnnHeight + 'px',
490
+ backgroundColor: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
491
+ color: sectionproperties.facebkbtnnTextcolor,
492
+ borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.upperheaderseparatorcolor,
493
+ borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.upperheaderseparatorcolor : 0,
494
+ transition: '.3s',
495
+ ':hover': {
496
+ color: sectionproperties.facebkbtnnTextcoloronhover,
497
+ backgroundColor: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColoronhover,
498
+ },
499
+ }),
500
+ instagrambtn: css({
501
+ width: sectionproperties.instgrambtnWidth + 'px',
502
+ height: sectionproperties.instgrambtnHeight + 'px',
503
+ backgroundColor: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
504
+ color: sectionproperties.instgrambtnTextcolor,
505
+ transition: '.3s',
506
+ ':hover': {
507
+ color: sectionproperties.instgrambtnTextcoloronhover,
508
+ backgroundColor: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover,
509
+ },
510
+ }),
511
+ whatsappbtn: css({
512
+ width: sectionproperties.youtubebtnWidth + 'px',
513
+ height: sectionproperties.youtubebtnHeight + 'px',
514
+ backgroundColor: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
515
+ color: sectionproperties.youtubebtnTextcolor,
516
+ transition: '.3s',
517
+ borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.upperheaderseparatorcolor,
518
+ borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.upperheaderseparatorcolor : 0,
519
+ ':hover': {
520
+ color: sectionproperties.youtubebtnTextcoloronhover,
521
+ backgroundColor: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover,
522
+ },
523
+ }),
524
+ categoryname: css({
525
+ color: sectionproperties.subheader_categorytitle_fontColor,
526
+ fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
527
+ textTransform: sectionproperties.subheader_categorytitle_textTransform,
528
+ fontWeight: sectionproperties.subheader_categorytitle_textfontweight,
529
+ transition: '.3s',
530
+ ':hover': {
531
+ color: sectionproperties.subheader_categorytitle_coloronhover,
532
+ },
533
+ }),
534
+ parentcollection: css({
535
+ color: sectionproperties.subheader_collectiontitle_fontColor,
536
+ fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
537
+ textTransform: sectionproperties.subheader_collectiontitle_textTransform,
538
+ fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
539
+ transition: '.3s',
540
+ ':hover': {
541
+ color: sectionproperties.subheader_collectiontitle_coloronhover,
542
+ },
543
+ }),
544
+ collectionName: css({
545
+ color: sectionproperties.collectionsectiontextcolor,
546
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
547
+ textTransform: sectionproperties.collectionsectiontexttransform,
548
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
549
+ transition: '.3s',
550
+ ':hover': {
551
+ color: sectionproperties.collectionsectiontextcoloronhover,
552
+ },
553
+ }),
554
+ };
555
+
556
+ return (
557
+ <div
558
+ class="row w-100 ml-0 mr-0 d-flex justify-content-center"
559
+ style={{
560
+ marginTop: sectionproperties.header_marginTop + 'px',
561
+ marginBottom: sectionproperties.header_marginBottom + 'px',
562
+ }}
563
+ >
564
+ <div class={`${header_cssstyles.header_outercontainer}` + ' d-flex d-md-none row ml-0 mr-0 '}>
565
+ {sectionproperties.showupperheadersection == 'Show' && (
566
+ <div class={header_cssstyles.upperheadersection + ' col-lg-12 d-flex align-items-center plr-1025-0 '}>
567
+ <div class="row m-0 w-100">
568
+ <div class="col-lg-9 d-flex align-items-center justify-content-start p-0">
569
+ <div class="row m-0 w-100 d-flex align-items-center justify-content-start h-100">
570
+ {sectionproperties.showfooteremail == 'Show' && (
571
+ <div
572
+ class="d-flex align-items-center justify-content-center pl-3 pr-3 h-100 cursor-pointer"
573
+ style={{
574
+ borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.upperheaderseparatorcolor : 0,
575
+ borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.upperheaderseparatorcolor,
576
+ }}
577
+ onClick={() => {
578
+ window.open('mailto:' + authdetailsContext?.instinfo?.contactinfo?.email, '_self');
579
+ }}
580
+ >
581
+ <AiOutlineMail class={header_cssstyles.upperheadertext + ' ml-1 mr-1 '} size={sectionproperties.footerinfotext_fontsize} />
582
+ <span class={header_cssstyles.upperheadertext}>{authdetailsContext?.instinfo?.contactinfo?.email}</span>
583
+ </div>
584
+ )}
585
+ {sectionproperties.showfooterphonenumber == 'Show' && (
586
+ <div
587
+ class="d-flex align-items-center justify-content-center pl-3 pr-3 h-100"
588
+ style={{
589
+ borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.upperheaderseparatorcolor : 0,
590
+ borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.upperheaderseparatorcolor,
591
+ }}
592
+ >
593
+ <a href={'tel:' + authdetailsContext?.CuContactphonenumber} target={'_self'} class="d-flex align-items-center">
594
+ <AiFillPhone class={header_cssstyles.upperheadertext + ' ml-1 mr-1 '} size={sectionproperties.footerinfotext_fontsize} />
595
+ <span class={header_cssstyles.upperheadertext}>{authdetailsContext?.CuContactphonenumber}</span>
596
+ </a>
597
+ </div>
598
+ )}
599
+ <div class={'d-flex align-items-center justify-content-center pl-3 pr-3'}>
600
+ <Dropdown>
601
+ <Dropdown.Toggle>
602
+ <li class={' d-flex align-items-center justify-content-center '}>
603
+ {langdetect == 'en' && (
604
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
605
+ <p class="m-0 p-0 mr-2">English</p>
606
+ <MdKeyboardArrowDown />
607
+ </div>
608
+ )}
609
+ {langdetect == 'ar' && (
610
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
611
+ <p class="m-0 p-0 ml-2">لغة عربية</p>
612
+ <MdKeyboardArrowDown />
613
+ </div>
614
+ )}
615
+ </li>
616
+ </Dropdown.Toggle>
617
+ <Dropdown.Menu>
618
+ <Dropdown.Item
619
+ onClick={() => {
620
+ setlang('ar');
621
+ }}
622
+ >
623
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
624
+ <p
625
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
626
+ style={{
627
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
628
+ fontWeight: sectionproperties.dropdown_fontweight,
629
+ textTransform: sectionproperties.dropdown_texttransform,
630
+ }}
631
+ >
632
+ <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
633
+ <span class={'ml-2 mr-2'}>{lang.arabic}</span>
634
+ </p>
635
+ </div>
636
+ </Dropdown.Item>
637
+ <Dropdown.Divider></Dropdown.Divider>
638
+ <Dropdown.Item
639
+ onClick={() => {
640
+ setlang('en');
641
+ }}
642
+ >
643
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
644
+ <p
645
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
646
+ style={{
647
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
648
+ fontWeight: sectionproperties.dropdown_fontweight,
649
+ textTransform: sectionproperties.dropdown_texttransform,
650
+ }}
651
+ >
652
+ <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
653
+ <span class={'ml-2 mr-2'}>{lang.english}</span>
654
+ </p>
655
+ </div>
656
+ </Dropdown.Item>
657
+ </Dropdown.Menu>
658
+ </Dropdown>
659
+ </div>
660
+ </div>
661
+ </div>
662
+ <div class="col-lg-3 d-flex align-items-center p-0">
663
+ <div class="row m-0 d-flex justify-content-end w-100">
664
+ {sectionproperties.fbbtn_show == 'Show' && authdetailsContext?.instinfo?.facebooklink != null && (
665
+ <div
666
+ class={header_cssstyles.fbbtn + ' p-0 allcentered cursor-pointer '}
667
+ onClick={() => {
668
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
669
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
670
+ }
671
+ }}
672
+ >
673
+ <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
674
+ </div>
675
+ )}
676
+ {sectionproperties.youtbtn_show == 'Show' && authdetailsContext?.instinfo?.whatsappnumber != null && (
677
+ <div
678
+ class={header_cssstyles.whatsappbtn + ' p-0 allcentered cursor-pointer '}
679
+ onClick={() => {
680
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
681
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
682
+ }
683
+ }}
684
+ >
685
+ <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
686
+ </div>
687
+ )}
688
+ {sectionproperties.instbtn_show == 'Show' && authdetailsContext?.instinfo?.instagramlink && (
689
+ <div
690
+ class={header_cssstyles.instagrambtn + ' p-0 allcentered cursor-pointer '}
691
+ onClick={() => {
692
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
693
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
694
+ }
695
+ }}
696
+ >
697
+ <AiOutlineInstagram size={sectionproperties.instgrambtniconfontsize} />
698
+ </div>
699
+ )}
700
+ </div>
701
+ </div>
702
+ </div>
703
+ </div>
704
+ )}
705
+ <div class={`${headerstyles.headerMiddleContainer} ${header_cssstyles.headerMiddleContainer}` + ' row m-0 w-100 d-flex align-items-center plr-1025-1 '} style={{ zIndex: 2 }}>
706
+ <div class="col-lg-3 p-0 d-flex align-items-center justify-content-start">
707
+ <div
708
+ class={`${header_cssstyles.header_logo}` + ' d-flex align-items-center justify-content-center '}
709
+ style={{ cursor: 'pointer' }}
710
+ onClick={() => {
711
+ routingcountext('home');
712
+ }}
713
+ >
714
+ <Imagekitimagecomp
715
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
716
+ publicKey={ikimagecredcontext?.ikimagepublickey}
717
+ path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
718
+ style={{
719
+ maxWidth: '100%',
720
+ maxHeight: '100%',
721
+ }}
722
+ />
723
+ </div>
724
+ </div>
725
+ <div class="col-lg-6 p-0 d-flex align-items-center justify-content-start">
726
+ <nav class={headerstyles.navbar}>
727
+ <ul>
728
+ {templatepropcontext.pagesnprop.map((item, index) => {
729
+ var activeclass = '';
730
+ var pagedisabled = '';
731
+ if (item.isnavigation == 1 && item.isactive == 1) {
732
+ return (
733
+ <li
734
+ style={{
735
+ marginLeft: langdetect == 'en' ? 0 : '35px',
736
+ marginRight: langdetect == 'en' ? '35px' : 0,
737
+ }}
738
+ >
739
+ <div
740
+ onClick={() => {
741
+ routingcountext(item.navigationroute, false, '');
742
+ }}
743
+ >
744
+ <div class={`${headerstyles.navbar_item} ${header_cssstyles.navbar_item}`}>{langdetect == 'en' ? item.pagename : item.pagename_ar}</div>
745
+ </div>
746
+ </li>
747
+ );
748
+ }
749
+ })}
750
+ </ul>
751
+ </nav>
752
+ </div>
753
+
754
+ <div class="col-lg-3 d-flex align-items-center justify-content-end">
755
+ <div class="headerdropdownml ml-3 mr-3">
756
+ <Dropdown>
757
+ <Dropdown.Toggle>
758
+ {!authdetailsContext.loggedin && (
759
+ <div class={' d-flex justify-content-center align-items-center '}>
760
+ <span class={` ${header_cssstyles.user_btn}` + ' d-flex justify-content-center align-items-center '}>
761
+ <FiUser size={sectionproperties.userBtniconfontsize} />
762
+ </span>
763
+ </div>
764
+ )}
765
+ {authdetailsContext.loggedin && (
766
+ <div class={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
767
+ <div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
768
+ <i class={' h-100 allcentered '}>
769
+ <FiUser size={sectionproperties.loggedinusericonfontsize} />
770
+ </i>
771
+ </div>
772
+ <div
773
+ class="m-0 p-0 loggedinuserbtn flex-column"
774
+ style={{
775
+ textAlign: langdetect == 'en' ? 'left' : 'right',
776
+ }}
777
+ >
778
+ <p
779
+ class="m-0 p-0"
780
+ style={{
781
+ color: sectionproperties.greetingtextcolor,
782
+ fontSize: sectionproperties.greetingtextfontsize + 'px',
783
+ lineHeight: sectionproperties.greetingtextfontsize + 'px',
784
+ fontWeight: 400,
785
+ }}
786
+ >
787
+ {lang.hello}
788
+ {langdetect == 'en' ? ',' : '،'}
789
+ </p>
790
+ <p class={header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow '} style={{ maxWidth: '60px' }}>
791
+ {authdetailsContext?.customerinfo?.name}
792
+ </p>
793
+ </div>
794
+ </div>
795
+ )}
796
+ </Dropdown.Toggle>
797
+ {!authdetailsContext.loggedin && (
798
+ <Dropdown.Menu>
799
+ <Dropdown.Item
800
+ onClick={() => {
801
+ routingcountext(StaticPagesLinksContext.Login);
802
+ }}
803
+ >
804
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
805
+ <p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
806
+ <AiOutlineLogin />
807
+ <span class="ml-2 mr-2">{lang.login}</span>
808
+ </p>
809
+ </div>
810
+ </Dropdown.Item>
811
+ <Dropdown.Divider></Dropdown.Divider>
812
+ <Dropdown.Item
813
+ onClick={() => {
814
+ routingcountext(StaticPagesLinksContext.Signup);
815
+ }}
816
+ >
817
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
818
+ <p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
819
+ <AiOutlineUserAdd />
820
+ <span class="ml-2 mr-2 text-transform-none">{lang.signup}</span>
821
+ </p>
822
+ </div>
823
+ </Dropdown.Item>
824
+ </Dropdown.Menu>
825
+ )}
826
+ {authdetailsContext.loggedin && (
827
+ <Dropdown.Menu style={{ minWidth: '200px' }}>
828
+ <Dropdown.Item>
829
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
830
+ <span
831
+ style={{
832
+ color: '#8fa0bd',
833
+ }}
834
+ >
835
+ {lang.hello},
836
+ </span>
837
+ <span
838
+ class={`${header_cssstyles.dropdownitem}` + ' dropdownitem font-weight-600 text-overflow text-capitalize p-0 ml-1 mr-1 '}
839
+ onClick={() => {
840
+ routingcountext(StaticPagesLinksContext.accountinfo);
841
+ }}
842
+ >
843
+ {authdetailsContext?.instinfo?.customerinfo?.name}
844
+ </span>
845
+ </div>
846
+ </Dropdown.Item>
847
+ <Dropdown.Divider></Dropdown.Divider>
848
+ <Dropdown.Item
849
+ onClick={() => {
850
+ routingcountext(StaticPagesLinksContext.Ordershistory);
851
+ }}
852
+ >
853
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
854
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
855
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
856
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
857
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
858
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag />}
859
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
860
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
861
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar />}
862
+ <span class="ml-2 mr-2">{lang.orderhistory}</span>
863
+ </p>
864
+ </div>
865
+ </Dropdown.Item>
866
+ <Dropdown.Divider></Dropdown.Divider>
867
+ <Dropdown.Item
868
+ onClick={() => {
869
+ routingcountext(StaticPagesLinksContext.Wishlist);
870
+ }}
871
+ >
872
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
873
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
874
+ {sectionproperties.faviconshape == 'Heart Shape' && <AiOutlineHeart />}
875
+ {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
876
+ <span class="ml-2 mr-2">{lang.wishlist}</span>
877
+ </p>
878
+ </div>
879
+ </Dropdown.Item>
880
+ <Dropdown.Divider></Dropdown.Divider>
881
+ <Dropdown.Item
882
+ onClick={() => {
883
+ routingcountext(StaticPagesLinksContext.Policies);
884
+ }}
885
+ >
886
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
887
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
888
+ <AiOutlineSecurityScan />
889
+ <span class="ml-2 mr-2">{lang.policies}</span>
890
+ </p>
891
+ </div>
892
+ </Dropdown.Item>
893
+ <Dropdown.Divider></Dropdown.Divider>
894
+ <Dropdown.Item
895
+ onClick={() => {
896
+ LogoutMutationContext.mutate();
897
+ }}
898
+ >
899
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
900
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
901
+ <BiLogOutCircle />
902
+ <span class="ml-2 mr-2">{lang.logout}</span>
903
+ </p>
904
+ </div>
905
+ </Dropdown.Item>
906
+ </Dropdown.Menu>
907
+ )}
908
+ </Dropdown>
909
+ </div>
910
+ <div
911
+ class={`${header_cssstyles.wishlist_btn}` + ' d-flex justify-content-center align-items-center cursor-pointer '}
912
+ onClick={() => {
913
+ routingcountext(StaticPagesLinksContext.Wishlist);
914
+ }}
915
+ style={{
916
+ marginRight: langdetect == 'en' ? '1rem' : 0,
917
+ marginLeft: langdetect == 'ar' ? '1rem' : 0,
918
+ }}
919
+ >
920
+ {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
921
+ {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
922
+ </div>
923
+ {sectionproperties.cartBtnShow == 'Show' && (
924
+ <div
925
+ class={'d-flex align-items-center justify-content-end'}
926
+ style={{
927
+ marginRight: sectionproperties.showupperheadersection == 'Hide' ? (langdetect == 'en' ? '1.5rem' : 0) : 0,
928
+ marginLeft: sectionproperties.showupperheadersection == 'Hide' ? (langdetect == 'ar' ? '1.5rem' : 0) : 0,
929
+ }}
930
+ >
931
+ <div
932
+ class={`${header_cssstyles.cart_btn}` + ' allcentered '}
933
+ onClick={() => {
934
+ setsidecartnavshowcontext(true);
935
+ }}
936
+ >
937
+ <div
938
+ className={
939
+ `${headerstyles.badge_counter_header_notifications} ${header_cssstyles.badge_counter_header_notifications}` +
940
+ ' d-flex justify-content-center align-items-center '
941
+ }
942
+ style={{
943
+ top: sectionproperties.cartbadgetop + 'px',
944
+ right: sectionproperties.cartbadgeright + 'px',
945
+ }}
946
+ >
947
+ {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
948
+ </div>
949
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
950
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
951
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
952
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
953
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
954
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
955
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtn_iconFontSize} />}
956
+ </div>
957
+ </div>
958
+ )}
959
+ {sectionproperties.showupperheadersection == 'Hide' && (
960
+ <div class={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
961
+ <Dropdown>
962
+ <Dropdown.Toggle>
963
+ <li class={' d-flex align-items-center justify-content-center '}>
964
+ {langdetect == 'en' && (
965
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
966
+ <p class="m-0 p-0 mr-2">En</p>
967
+ <MdKeyboardArrowDown />
968
+ </div>
969
+ )}
970
+ {langdetect == 'ar' && (
971
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
972
+ <p class="m-0 p-0 ml-2">ع</p>
973
+ <MdKeyboardArrowDown />
974
+ </div>
975
+ )}
976
+ </li>
977
+ </Dropdown.Toggle>
978
+ <Dropdown.Menu>
979
+ <Dropdown.Item
980
+ onClick={() => {
981
+ setlang('ar');
982
+ }}
983
+ >
984
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
985
+ <p
986
+ class={'dropdownitem d-flex align-items-center m-0 p-0'}
987
+ style={{
988
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
989
+ fontWeight: sectionproperties.dropdown_fontweight,
990
+ textTransform: sectionproperties.dropdown_texttransform,
991
+ }}
992
+ >
993
+ <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
994
+ <span class={'ml-2 mr-2'}>{lang.arabic}</span>
995
+ </p>
996
+ </div>
997
+ </Dropdown.Item>
998
+ <Dropdown.Divider></Dropdown.Divider>
999
+ <Dropdown.Item
1000
+ onClick={() => {
1001
+ setlang('en');
1002
+ }}
1003
+ >
1004
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
1005
+ <p
1006
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
1007
+ style={{
1008
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
1009
+ fontWeight: sectionproperties.dropdown_fontweight,
1010
+ textTransform: sectionproperties.dropdown_texttransform,
1011
+ }}
1012
+ >
1013
+ <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
1014
+ <span class={'ml-2 mr-2'}>{lang.english}</span>
1015
+ </p>
1016
+ </div>
1017
+ </Dropdown.Item>
1018
+ </Dropdown.Menu>
1019
+ </Dropdown>
1020
+ </div>
1021
+ )}
1022
+ </div>
1023
+ </div>
1024
+ <div class={' col-lg-12 p-0 allcentered '}>
1025
+ <div class={header_cssstyles.divider} />
1026
+ </div>
1027
+ {sectionproperties.searchbar_show == 'Show' && (
1028
+ <div class={header_cssstyles.lowerheaderSection + ' row w-100 d-flex justify-content-center m-0 '}>
1029
+ {sectionproperties.generalbtn_show == 'Show' && (
1030
+ <div
1031
+ class={'col-lg-3 p-0 d-flex align-items-center justify-content-start '}
1032
+ onClick={() => {
1033
+ setdropdownselect(!dropdownselect);
1034
+ }}
1035
+ >
1036
+ <li
1037
+ class={
1038
+ langdetect == 'en'
1039
+ ? `${header_cssstyles.categorybtn}` + ' dropdown dropdownen w-100 allcentered '
1040
+ : `${header_cssstyles.categorybtn}` + ' dropdown dropdownar w-100 allcentered '
1041
+ }
1042
+ >
1043
+ <div class={' m-0 allcentered cursor-pointer w-100 pl-3 pr-3 p-lg-0 '}>
1044
+ <div class={'col-lg-10 d-flex justify-content-start m-0 p-0'}>
1045
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1046
+ </div>
1047
+ <div class="col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end d-xl-flex d-lg-none">
1048
+ <i class="h-100 d-flex align-items-center justify-content-end">{dropdownselect ? <MdKeyboardArrowUp size={25} /> : <MdKeyboardArrowDown size={25} />}</i>
1049
+ </div>
1050
+ </div>
1051
+ <ul
1052
+ class="mt-2"
1053
+ sytle={{
1054
+ width: '200px',
1055
+ }}
1056
+ >
1057
+ {sectionproperties.fetchparenttype == 'Categories' &&
1058
+ authdetailsContext?.instinfo?.instcategories?.map((item, index) => {
1059
+ var fetchedarray = authdetailsContext?.instinfo?.instcategories;
1060
+ if (item.isshowntocustomers == 1) {
1061
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1062
+ }
1063
+ })}
1064
+ {sectionproperties.fetchparenttype == 'Parent Collections' &&
1065
+ pcollarray?.map((item, index) => {
1066
+ var fetchedarray = pcollarray;
1067
+ if (item.isshowntocustomers == 1) {
1068
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1069
+ }
1070
+ })}
1071
+ {sectionproperties.fetchparenttype == 'Collections' &&
1072
+ authdetailsContext?.instinfo?.instcollections?.map((item, index) => {
1073
+ var fetchedarray = authdetailsContext?.instinfo?.instcollections;
1074
+ if (item.isshowntocustomers == 1) {
1075
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1076
+ }
1077
+ })}
1078
+ </ul>
1079
+ </li>
1080
+ {/* <div class={`${header_cssstyles.categorybtn}` + ' categoriesdropdown dropdown-toggle_w100 d-flex w-100 align-items-center pl-2 pr-2 '}>
1081
+ <Dropdown class="d-flex w-100 align-items-center" style={{ width: '100%' }}>
1082
+ <Dropdown.Toggle class=" d-flex w-100 align-items-center dropdown-toggle_w100 ">
1083
+ <div class={`${header_cssstyles.categorydropdownbtn}` + ' row w-100 m-0 align-items-center pl-2 pr-2 '} style={{ display: 'flex' }}>
1084
+ <div class={langdetect == 'en' ? ' m-0 p-0 col-lg-10 d-flex justify-content-start' : ' m-0 p-0 col-lg-10 '}>
1085
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1086
+ </div>
1087
+ <div class="col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end">
1088
+ <i class="h-100 d-flex align-items-center justify-content-end">
1089
+ {dropdownselect ? <MdKeyboardArrowUp size={25} /> : <MdKeyboardArrowDown size={25} />}
1090
+ </i>
1091
+ </div>
1092
+ </div>
1093
+ </Dropdown.Toggle>
1094
+ <Dropdown.Menu style={{ minWidth: '250px', marginLeft: '0px' }}>
1095
+ {authdetailsContext?.instinfo?.instcollections?.map((item, index) => (
1096
+ <div>
1097
+ <Dropdown.Item
1098
+ onClick={() => {
1099
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
1100
+ }}
1101
+ >
1102
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' row m-0 w-100 '}>
1103
+ <div class={' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center '}>
1104
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem text-overflow m-0 p-0 '}>
1105
+ {langdetect == 'en' ? item.title_en : item.title_ar}
1106
+ </p>
1107
+ </div>
1108
+ </div>
1109
+ </Dropdown.Item>
1110
+ {index != authdetailsContext.instinfo.instcollections.length - 1 && <Dropdown.Divider></Dropdown.Divider>}
1111
+ </div>
1112
+ ))}
1113
+ </Dropdown.Menu>
1114
+ </Dropdown>
1115
+ </div> */}
1116
+ </div>
1117
+ )}
1118
+ <div
1119
+ class={
1120
+ sectionproperties.generalbtn_show == 'Show' ? 'col-lg-9 p-0 d-flex justify-content-end align-items-center' : 'col-lg-11 d-flex justify-content-end align-items-center'
1121
+ }
1122
+ >
1123
+ <div class={header_cssstyles.searchbarcont + ' p-0 m-0 '} style={{ position: 'relative' }}>
1124
+ <input
1125
+ type="text"
1126
+ placeholder={lang.searchproducts}
1127
+ class={`${header_cssstyles.searchbarcont_input}` + ' p-1 '}
1128
+ onChange={(event) => {
1129
+ setSearchHeaderInputContext(event.target.value);
1130
+ }}
1131
+ style={{
1132
+ paddingLeft: sectionproperties.searchbarcont_paddingLeft + 'px',
1133
+ paddingRight: sectionproperties.searchbarcont_paddingLeft + 'px',
1134
+ paddingTop: '0.25rem',
1135
+ paddingBottom: '0.25rem',
1136
+ }}
1137
+ />
1138
+ <div class={`${header_cssstyles.searchbar_icon_cont}` + ' d-flex align-items-center justify-content-center m-0 p-0 '}>
1139
+ <BsSearch
1140
+ color={sectionproperties.searchbaricon_color}
1141
+ size={sectionproperties.searchbaricon_fontsize}
1142
+ style={{
1143
+ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
1144
+ }}
1145
+ />
1146
+ </div>
1147
+ <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'headerfullwidth'} actions={actions} />
1148
+ </div>
1149
+ </div>
1150
+ </div>
1151
+ )}
1152
+ </div>
1153
+ <div class="col-lg-12 p-0">
1154
+ <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />
1155
+ </div>
1156
+ </div>
1157
+ );
1158
+ };
1159
+ export default SearchFocusedHeader;