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,2016 @@
1
+ import MarqueeHeader from '../MarqueeHeader/MarqueeHeader.jsx';
2
+ import React, { useEffect, useState, useContext } from 'react';
3
+ import { css } from 'glamor';
4
+ import Dropdown from 'react-bootstrap/Dropdown';
5
+ import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
6
+ import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
7
+ import HeaderresponsiveStyle2 from '../Headerresponsive/HeaderresponsiveStyle2.jsx';
8
+ import Subheader from '../Subheader/Subheader.jsx';
9
+ import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
10
+ import { FaMoneyBillWave } from '@react-icons/all-files/fa/FaMoneyBillWave';
11
+ import { BsSearch } from '@react-icons/all-files/bs/BsSearch';
12
+ import { HiOutlineShoppingBag } from '@react-icons/all-files/hi/HiOutlineShoppingBag';
13
+ import { BsBag } from '@react-icons/all-files/bs/BsBag';
14
+ import { FiPhone } from '@react-icons/all-files/fi/FiPhone';
15
+ import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
16
+ import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
17
+ import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
18
+ import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
19
+ import { BiUser } from '@react-icons/all-files/bi/BiUser';
20
+ import { HiMenuAlt4 } from '@react-icons/all-files/hi/HiMenuAlt4';
21
+ import { AiOutlineUserAdd } from '@react-icons/all-files/ai/AiOutlineUserAdd';
22
+ import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
23
+ import { MdKeyboardArrowUp } from '@react-icons/all-files/md/MdKeyboardArrowUp';
24
+ import { AiOutlineLogin } from '@react-icons/all-files/ai/AiOutlineLogin';
25
+ import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
26
+ import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
27
+ import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
28
+ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
29
+ import { BsChevronLeft } from '@react-icons/all-files/bs/BsChevronLeft';
30
+ import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
31
+ import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
32
+
33
+ const Header8 = (props) => {
34
+ const actions = props.actions;
35
+ const history = props.actions.history;
36
+ const lang = props.actions.lang;
37
+ const langdetect = props.actions.langdetect;
38
+ const setlang = props.actions.setlang;
39
+ const LogoutMutationContext = props.actions.LogoutMutationContext;
40
+ const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
41
+ const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
42
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
43
+ const templatepropcontext = props.actions.templatepropcontext;
44
+ const authdetailsContext = props.actions.authdetailsContext;
45
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
46
+ const templateproperties_context = props.actions.templateproperties_context;
47
+ const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
48
+ const routingcountext = props.actions.routingcountext;
49
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
50
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
51
+ const [sectionproperties, setsectionproperties] = useState('');
52
+ const [dropdownselect, setdropdownselect] = useState(false);
53
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
54
+ const [Choosenindex, setChoosenindex] = useState('');
55
+ const [pcollarray, setpcollarray] = useState([]);
56
+ const setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
57
+
58
+ useEffect(() => {
59
+ var secpropobj = {};
60
+ StatePagePropertiesContext?.pageobj?.sections?.forEach(function (sectionitem, sectionindex) {
61
+ if (sectionitem.sectionid == props.sectionidprops) {
62
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
63
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
64
+ });
65
+ }
66
+ });
67
+ if (Object.keys(secpropobj).length === 0) {
68
+ props?.defaultproperties?.forEach(function (defaultpropobj, defaultpropindex) {
69
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
70
+ });
71
+ }
72
+ setsectionproperties({ ...secpropobj });
73
+ }, [StatePagePropertiesContext]);
74
+ const subtotalcart = () => {
75
+ var totalprice = parseFloat(fetchcustomercartQueryContext?.data?.data?.customercart?.totalprice).toFixed(2);
76
+ // var totalpricee = 0;
77
+ // fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.forEach(function (cartitem, cartindex) {
78
+ // var finalprice = 0;
79
+ // if (cartitem.productinfo.hassale == 0) {
80
+ // finalprice = cartitem.productinfo.defaultprice;
81
+ // } else if (cartitem.productinfo.hassale == 1) {
82
+ // finalprice = cartitem.productinfo.defaultsaleprice;
83
+ // }
84
+ // var totalsingleitem = parseFloat(finalprice) * parseFloat(cartitem.quantity);
85
+ // totalpricee = totalprice + totalsingleitem;
86
+ // totalprice = parseFloat(totalpricee).toFixed(2);
87
+ // // totalprice = parseFloat(finalprice * cartitem.quantity + totalprice).toFixed(2);
88
+ // });
89
+ return totalprice;
90
+ };
91
+ useEffect(() => {
92
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
93
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
94
+ if (Array.isArray(logoarrayofobjectsparsed)) {
95
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
96
+ }
97
+ }
98
+ }, [templateproperties_context]);
99
+ useEffect(() => {
100
+ var temppcollarray = [...pcollarray];
101
+ authdetailsContext?.instinfo?.instcategories?.forEach(function (arrayItem) {
102
+ arrayItem?.parentcolletions?.forEach(function (item) {
103
+ temppcollarray.push(item);
104
+ });
105
+ });
106
+ setpcollarray([...temppcollarray]);
107
+ }, [authdetailsContext]);
108
+ const ButtonDropdown = (item, index, fetchedarray) => {
109
+ var parentclassname = '';
110
+ if (sectionproperties.fetchparenttype == 'Categories') {
111
+ parentclassname = header_cssstyles.categoryname;
112
+ } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
113
+ parentclassname = header_cssstyles.parentcollection;
114
+ } else {
115
+ parentclassname = header_cssstyles.collectionName;
116
+ }
117
+ return (
118
+ <li class="dropdown d-flex align-items-center w-100">
119
+ <div
120
+ class={parentclassname + ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '}
121
+ onMouseEnter={() => {
122
+ setChoosenindex(index);
123
+ }}
124
+ >
125
+ <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
126
+ <p
127
+ class={' m-0 p-0 wordbreak wordbreak1 '}
128
+ onClick={() => {
129
+ if (sectionproperties.fetchparenttype == 'Categories') {
130
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
131
+ } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
132
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
133
+ } else {
134
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
135
+ }
136
+ }}
137
+ >
138
+ {langdetect == 'en' ? item.title_en : item.title_ar}
139
+ </p>
140
+ </div>
141
+ {/* {sectionproperties.fetchparenttype == 'Categories' && fetchedarray[Choosenindex]?.parentcolletions.length != 0 && ( */}
142
+ {sectionproperties.fetchparenttype != 'Collections' && (
143
+ <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
144
+ <i className={' p-0 h-100 allcentered '}>
145
+ {langdetect == 'en' ? (
146
+ <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
147
+ ) : (
148
+ <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
149
+ )}
150
+ </i>
151
+ </div>
152
+ )}
153
+ {/* )} */}
154
+ </div>
155
+ {sectionproperties.fetchparenttype == 'Categories' && fetchedarray[Choosenindex]?.parentcolletions?.length != 0 && (
156
+ <ul>
157
+ {fetchedarray[Choosenindex]?.parentcolletions?.map((item, index) => (
158
+ <li class="dropdown d-flex align-items-center w-100">
159
+ <div
160
+ class={header_cssstyles.parentcollection + ' w-100 dropdownInnerContainer cursor-pointer '}
161
+ onClick={() => {
162
+ if (sectionproperties.fetchparenttype == 'Categories') {
163
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
164
+ } else {
165
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
166
+ }
167
+ }}
168
+ >
169
+ <div class="row m-0 w-100">
170
+ <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
171
+ <p class={' m-0 p-0 wordbreak wordbreak1 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
172
+ </div>
173
+ {item?.collections.length != 0 && (
174
+ <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
175
+ <i className={' p-0 h-100 allcentered '}>
176
+ {langdetect == 'en' ? (
177
+ <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
178
+ ) : (
179
+ <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
180
+ )}
181
+ </i>
182
+ </div>
183
+ )}
184
+ </div>
185
+ </div>
186
+ {item?.collections.length != 0 && (
187
+ <ul>
188
+ {item?.collections?.map((item, index) => {
189
+ return (
190
+ <li
191
+ class={header_cssstyles.collectionName + ' w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '}
192
+ onClick={() => {
193
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
194
+ }}
195
+ >
196
+ {langdetect == 'en' ? item.title_en : item.title_ar}
197
+ </li>
198
+ );
199
+ })}
200
+ </ul>
201
+ )}
202
+ </li>
203
+ ))}
204
+ </ul>
205
+ )}
206
+ {sectionproperties.fetchparenttype == 'Parent Collections' && pcollarray[Choosenindex]?.collections.length != 0 && (
207
+ <ul>
208
+ {pcollarray[Choosenindex]?.collections?.map((item, index) => (
209
+ <li class="dropdown d-flex align-items-center w-100">
210
+ <div
211
+ class={header_cssstyles.collectionName + ' w-100 dropdownInnerContainer cursor-pointer '}
212
+ onClick={() => {
213
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
214
+ }}
215
+ >
216
+ <div className={' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '}>
217
+ <p class={' m-0 p-0 wordbreak wordbreak1 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
218
+ </div>
219
+ </div>
220
+ </li>
221
+ ))}
222
+ </ul>
223
+ )}
224
+ </li>
225
+ );
226
+ };
227
+ const header_cssstyles = {
228
+ headercontainer: css({
229
+ position: sectionproperties.headerstyles_position,
230
+ width: sectionproperties.header_width + 'vw',
231
+ background: sectionproperties.uppersection_bgcolor,
232
+ zIndex: 1000,
233
+ transition: 'all 0.2s',
234
+ }),
235
+ upperheadersection: css({
236
+ background: sectionproperties.uppersection_bgcolor,
237
+ paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
238
+ paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
239
+ paddingTop: sectionproperties.uppersection_paddingtop + 'px',
240
+ paddingBottom: sectionproperties.uppersection_paddingbottom + 'px',
241
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.uppersection_btlradius + 'px' : sectionproperties.uppersection_btrradius + 'px',
242
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.uppersection_btrradius + 'px' : sectionproperties.uppersection_btlradius + 'px',
243
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.uppersection_bblradius + 'px' : sectionproperties.uppersection_bbrradius + 'px',
244
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.uppersection_bbrradius + 'px' : sectionproperties.uppersection_bblradius + 'px',
245
+ }),
246
+ lowerheadercontainer: css({
247
+ backgroundColor: sectionproperties.lowersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
248
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.lowersection_borderBottomLeftRadius + 'px' : sectionproperties.lowersection_BorderBottomRightRadius + 'px',
249
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.lowersection_BorderBottomRightRadius + 'px' : sectionproperties.lowersection_borderBottomLeftRadius + 'px',
250
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.lowersection_borderTopLeftRadius + 'px' : sectionproperties.lowersection_borderTopRightRadius + 'px',
251
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.lowersection_borderTopRightRadius + 'px' : sectionproperties.lowersection_borderTopLeftRadius + 'px',
252
+ paddingLeft: langdetect == 'en' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
253
+ paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
254
+ paddingTop: sectionproperties.lowersection_paddingtop + 'px',
255
+ paddingBottom: sectionproperties.lowersection_paddingbottom + 'px',
256
+ }),
257
+ header_logo: css({
258
+ width: templateproperties_context.logo_width + 'px',
259
+ height: templateproperties_context.logo_height + 'px',
260
+ }),
261
+ navbar_item_text: css({
262
+ color: sectionproperties.lowersection_fontColor,
263
+ fontSize: sectionproperties.lowersection_fontsize + 'px',
264
+ textTransform: sectionproperties.lowersection_textTransform,
265
+ fontWeight: sectionproperties.lowersection_textfontweight,
266
+ transition: '0.3s',
267
+ padding: 0,
268
+ ':hover': {
269
+ color: sectionproperties.lowersection_fontColoronhover,
270
+ },
271
+ }),
272
+ navbar_item_active: css({
273
+ color: sectionproperties.lowersection_fontColoronhover,
274
+ }),
275
+ dropdownitem: css({
276
+ padding: '0 0.1rem',
277
+ transition: '.3s',
278
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
279
+ color: sectionproperties.dropdown_color,
280
+ fontWeight: sectionproperties.dropdown_fontweight,
281
+ textTransform: sectionproperties.dropdown_texttransform,
282
+ }),
283
+ dropdownitemcontainer: css({
284
+ ':hover .dropdownitem': { color: sectionproperties.dropdown_hovercolor },
285
+ }),
286
+ divider: css({
287
+ height: sectionproperties.vl_height + 'px',
288
+ width: sectionproperties.vl_width + '%',
289
+ backgroundColor: sectionproperties.vl_bg,
290
+ zIndex: 1,
291
+ }),
292
+ searchbarcont: css({
293
+ position: 'relative',
294
+ width: sectionproperties.searchbarcont_width + 'px',
295
+ maxWidth: '100%',
296
+ height: sectionproperties.searchbarcont_height + 'px',
297
+ background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
298
+ borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
299
+ border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
300
+ transition: '.3s',
301
+ }),
302
+ searchbar_icon_cont: css({
303
+ width: sectionproperties.searchbaricon_width + 'px',
304
+ height: sectionproperties.searchbaricon_height + 'px',
305
+ borderRadius: sectionproperties.searchbaricon_borderRadius + 'px',
306
+ color: sectionproperties.searchbaricon_color,
307
+ backgroundColor: sectionproperties.searchbaricon_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbaricon_bgcolor,
308
+ transition: '0.3s ease',
309
+ position: 'absolute',
310
+ right: langdetect == 'en' ? 0 : '',
311
+ left: langdetect == 'en' ? '' : 0,
312
+ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
313
+ bottom: 0,
314
+ top: 0,
315
+ margin: 'auto',
316
+ }),
317
+ searchbarcont_input: css({
318
+ height: '100%',
319
+ width: '100%',
320
+ outline: 'none',
321
+ background: 'transparent',
322
+ color: sectionproperties.searchbarcontinput_color,
323
+ fontWeight: sectionproperties.searchbarcont_inputfontweight,
324
+ fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
325
+ paddingLeft: langdetect == 'en' ? sectionproperties.searchbarcont_paddingLeft + 'px' : sectionproperties.searchbarcont_paddingRight + 'px',
326
+ paddingRight: langdetect == 'en' ? sectionproperties.searchbarcont_paddingRight + 'px' : sectionproperties.searchbarcont_paddingLeft,
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
+ fontSize: sectionproperties.favBtnIconfontsize + 'px',
340
+ transition: '.3s',
341
+ ':hover': {
342
+ background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
343
+ color: sectionproperties.favBtnTextcoloronhover,
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
+ border: sectionproperties.userbtnborderwidth + 'px solid ' + sectionproperties.userbtnbordercolor,
357
+ transition: '.3s',
358
+ ':hover': {
359
+ color: sectionproperties.userBtnTextcoloronhover,
360
+ background: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColoronhover,
361
+ borderColor: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.userBtnTextcoloronhover : sectionproperties.userBtnbgColoronhover,
362
+ },
363
+ }),
364
+ loggedinusername: css({
365
+ fontWeight: sectionproperties.userBtnTextfontweight,
366
+ textTransform: sectionproperties.userBtnTexttransform,
367
+ color: sectionproperties.userBtnTextcolor,
368
+ fontSize: sectionproperties.userBtntextfontsize + 'px',
369
+ lineHeight: sectionproperties.userBtntextfontsize + 'px',
370
+ transition: '.3s',
371
+ }),
372
+ user_btnContainer: css({
373
+ ':hover .user_btnbg': {
374
+ background: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColoronhover,
375
+ color: sectionproperties.userBtnTextcoloronhover,
376
+ },
377
+ ':hover .user_btn': {
378
+ color: sectionproperties.userBtnTextcoloronhover,
379
+ },
380
+ }),
381
+ loggedinuserbtn: css({
382
+ width: sectionproperties.loggedinuserbtn_width + 'px',
383
+ height: sectionproperties.loggedinuserbtn_height + 'px',
384
+ border: sectionproperties.userlogginbtnborderwidth + 'px solid ' + sectionproperties.userlogginbtnbordercolor,
385
+ borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
386
+ background: sectionproperties.userBtnbgColor_loggedin,
387
+ color: sectionproperties.userBtniconcolor_loggedin,
388
+ transition: '.3s',
389
+ }),
390
+ loggedinuserbtnContainer: css({
391
+ ':hover .loggedinuserbtn': {
392
+ borderColor: sectionproperties.userbtn_loggedin_iconcoloronhover,
393
+ color: sectionproperties.userBtnTextcoloronhover_loggedin,
394
+ },
395
+ ':hover .loggedinuserbtnbg': {
396
+ backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
397
+ color: sectionproperties.userbtn_loggedin_iconcoloronhover,
398
+ },
399
+ }),
400
+ cart_btn: css({
401
+ width: sectionproperties.cartBtnWidth + 'px',
402
+ height: sectionproperties.cartBtnHeight + 'px',
403
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
404
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
405
+ color: sectionproperties.cartBtnTextcolor,
406
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
407
+ color: sectionproperties.cart_iconcolor,
408
+ transition: '.3s',
409
+ ':hover': {
410
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
411
+ color: sectionproperties.cartBtnTextcoloronhover,
412
+ },
413
+ }),
414
+ cartbadge: css({
415
+ top: sectionproperties.cartbadgetop + 'px',
416
+ right: sectionproperties.cartbadgeright + 'px',
417
+ }),
418
+ badge_counter_header_notifications: css({
419
+ display: 'flex',
420
+ justifyContent: 'center',
421
+ alignItems: 'center',
422
+ position: 'absolute',
423
+ top: sectionproperties.badge_top + 'px',
424
+ right: sectionproperties.badge_right + 'px',
425
+ background: sectionproperties.badge_bgcolor,
426
+ width: sectionproperties.badge_width + 'px',
427
+ height: sectionproperties.badge_height + 'px',
428
+ color: sectionproperties.badge_color,
429
+ borderRadius: sectionproperties.badge_borderradius + 'px',
430
+ fontSize: sectionproperties.badge_fontsize + 'px',
431
+ }),
432
+ btntextcontainer: css({
433
+ color: sectionproperties.generalbtn_textColor,
434
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
435
+ textTransform: sectionproperties.generalbtn_texttransform,
436
+ transition: '.3s',
437
+ ':hover': {
438
+ color: sectionproperties.generalbtn_textColoronhover,
439
+ },
440
+ }),
441
+ languagecontainer: css({
442
+ cursor: 'pointer',
443
+ transition: '.3s',
444
+ color: sectionproperties.language_container_color,
445
+ fontSize: sectionproperties.language_container_fontsize + 'px',
446
+ ':hover': {
447
+ color: sectionproperties.language_container_coloronhover,
448
+ },
449
+ }),
450
+ storeinfotext: css({
451
+ color: sectionproperties.footerinfotext_color,
452
+ fontSize: sectionproperties.footerinfotext_fontsize + 'px',
453
+ fontWeight: sectionproperties.footerinfotext_fontweight,
454
+ letterSpacing: '2px',
455
+ }),
456
+ storeinfocontainer: css({
457
+ ':hover .storeinfotext': {
458
+ transition: '.3s',
459
+ color: sectionproperties.footerinfotext_coloronhover,
460
+ },
461
+ }),
462
+ categorybtn: css({
463
+ background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
464
+ width: sectionproperties.generalbtn_width + 'px',
465
+ maxWidth: '100%',
466
+ height: sectionproperties.generalbtn_height + 'px',
467
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
468
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
469
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
470
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
471
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
472
+ color: sectionproperties.generalbtn_textColor,
473
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
474
+ fontWeight: sectionproperties.generalbtn_fontweight,
475
+ transition: '.3s',
476
+ ':hover': {
477
+ color: sectionproperties.generalbtn_textColoronhover,
478
+ backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
479
+ },
480
+ ':hover .categorybtnicon': {
481
+ background: sectionproperties.iconcontainerbgonhover,
482
+ color: sectionproperties.iconcontainercoloronhover,
483
+ },
484
+ }),
485
+ categoryname: css({
486
+ color: sectionproperties.subheader_categorytitle_fontColor,
487
+ fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
488
+ textTransform: sectionproperties.subheader_categorytitle_textTransform,
489
+ fontWeight: sectionproperties.subheader_categorytitle_textfontweight,
490
+ transition: '.3s',
491
+ ':hover': {
492
+ color: sectionproperties.subheader_categorytitle_coloronhover,
493
+ },
494
+ }),
495
+ parentcollection: css({
496
+ color: sectionproperties.subheader_collectiontitle_fontColor,
497
+ fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
498
+ textTransform: sectionproperties.subheader_collectiontitle_textTransform,
499
+ fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
500
+ transition: '.3s',
501
+ ':hover': {
502
+ color: sectionproperties.subheader_collectiontitle_coloronhover,
503
+ },
504
+ }),
505
+ collectionName: css({
506
+ color: sectionproperties.collectionsectiontextcolor,
507
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
508
+ textTransform: sectionproperties.collectionsectiontexttransform,
509
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
510
+ transition: '.3s',
511
+ ':hover': {
512
+ color: sectionproperties.collectionsectiontextcoloronhover,
513
+ },
514
+ }),
515
+ floatingbtn: css({
516
+ width: sectionproperties.floatingbtnwidth + '%',
517
+ height: sectionproperties.floatingbtnheight + 'px',
518
+ background: sectionproperties.floatingbtnbg,
519
+ fontSize: sectionproperties.floatingbtnfontsize + 'px',
520
+ color: sectionproperties.floatingbtncolor,
521
+ borderRadius: 10,
522
+ ':hover': {
523
+ color: sectionproperties.floatingbtncolorhover,
524
+ backgroundColor: sectionproperties.floatingbtnbghover,
525
+ transitions: '.3s',
526
+ cursor: 'pointer',
527
+ },
528
+ '@media (max-width: 800px)': {
529
+ width: '50%',
530
+ },
531
+ }),
532
+ };
533
+ return (
534
+ <div
535
+ class="row w-100 ml-0 mr-0 d-flex justify-content-center"
536
+ style={{
537
+ marginTop: sectionproperties.header_marginTop + 'px',
538
+ marginBottom: sectionproperties.header_marginBottom + 'px',
539
+ }}
540
+ >
541
+ {templateproperties_context.showtextslider == 'Show' && (
542
+ <div class="col-lg-12 p-0 d-md-none d-sm-none">
543
+ <MarqueeHeader sectionpropertiesprops={sectionproperties} templateproperties_contextprops={templateproperties_context} actions={actions} />
544
+ </div>
545
+ )}
546
+ {sectionproperties.showfloatingbtn == 'Show' && (
547
+ <div
548
+ style={{
549
+ position: 'fixed',
550
+ bottom: 15,
551
+ right: 15,
552
+ zIndex: 2000,
553
+ transition: 'all 0.3s ease-out',
554
+ width: '100%',
555
+ display: sectionproperties.showfloatingbtn == 'Show when logged in' ? 'none' : 'flex',
556
+ }}
557
+ class="text-end"
558
+ >
559
+ <div
560
+ class={header_cssstyles.floatingbtn + ' allcentered '}
561
+ style={{}}
562
+ onClick={() => {
563
+ routingcountext(sectionproperties.floatingbtnlink, false, '');
564
+ }}
565
+ >
566
+ <p class="m-0 p-0">{langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar}</p>
567
+ </div>
568
+ </div>
569
+ )}
570
+ {sectionproperties.showfloatingcallbtn == 'Show' && (
571
+ <a href={'tel:' + authdetailsContext?.CuContactphonenumber} target={'_self'} style={{ position: 'fixed', bottom: 60, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}>
572
+ <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'}>
573
+ <FiPhone size={30} color={sectionproperties.uppersection_iconcolor} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
574
+ </i>
575
+ </a>
576
+ )}
577
+ {sectionproperties.youtbtn_show == 'Show' && (
578
+ <a
579
+ href={'https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber}
580
+ target={'_blank'}
581
+ style={{ position: 'fixed', bottom: 10, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}
582
+ >
583
+ <img src={'https://tabex-co.com/storage/StaticImages/whatsapp.png'} style={{ width: '40px', height: '40px', cursor: 'pointer' }} />
584
+ </a>
585
+ )}
586
+
587
+ <div
588
+ class={`${header_cssstyles.headercontainer}` + ' row ml-0 mr-0 d-flex d-md-none align-items-center '}
589
+ style={{
590
+ position: sectionproperties.headerstyles_position,
591
+ top: 0,
592
+ }}
593
+ >
594
+ {/* Upper Header */}
595
+ <div class={' col-lg-12 p-0 '}>
596
+ <div class={header_cssstyles.upperheadersection + ' row w-100 m-0 align-items-center px-1025-1 '}>
597
+ <div class="col-lg-2 p-0">
598
+ <div
599
+ class={`${header_cssstyles.header_logo}` + ' d-flex align-items-center justify-content-center '}
600
+ style={{ cursor: 'pointer' }}
601
+ onClick={() => {
602
+ routingcountext('home');
603
+ }}
604
+ >
605
+ <Imagekitimagecomp
606
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
607
+ publicKey={ikimagecredcontext?.ikimagepublickey}
608
+ path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
609
+ style={{
610
+ maxWidth: '100%',
611
+ maxHeight: '100%',
612
+ }}
613
+ />
614
+ </div>
615
+ </div>
616
+
617
+ <div
618
+ class={
619
+ sectionproperties.showfooterphonenumber == 'Show' ? (sectionproperties.btninsearch == 'Show' ? 'col-xl-5 col-lg-4 p-lg-0' : 'col-xl-4 col-lg-3 p-0') : 'col-lg-6 p-0'
620
+ }
621
+ style={{
622
+ position: 'relative',
623
+ }}
624
+ >
625
+ <div class="row m-0 w-100">
626
+ {sectionproperties.btninsearch == 'Show' && sectionproperties.generalbtn_show == 'Show' && (
627
+ <div
628
+ class={'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start '}
629
+ onClick={() => {
630
+ setdropdownselect(!dropdownselect);
631
+ }}
632
+ >
633
+ <div
634
+ class={`${header_cssstyles.categorybtn}` + ' categoriesdropdown d-flex w-100 align-items-center pl-2 pr-2 '}
635
+ style={{
636
+ borderTopRightRadius: langdetect == 'en' ? 0 : '',
637
+ borderBottomRightRadius: langdetect == 'en' ? 0 : '',
638
+ borderBottomLeftRadius: langdetect == 'ar' ? 0 : '',
639
+ borderTopLeftRadius: langdetect == 'ar' ? 0 : '',
640
+ zIndex: 100000,
641
+ }}
642
+ >
643
+ <li class={langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'}>
644
+ <div class={' m-0 allcentered cursor-pointer px-2 p-lg-0 '}>
645
+ <div class={'col-lg-10 d-flex justify-content-start m-0 p-0'}>
646
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
647
+ </div>
648
+ <div class="col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end d-xl-flex d-lg-none">
649
+ <i class="h-100 d-flex align-items-center justify-content-end">
650
+ {dropdownselect ? <MdKeyboardArrowUp size={25} /> : <MdKeyboardArrowDown size={25} />}
651
+ </i>
652
+ </div>
653
+ </div>
654
+ <ul
655
+ class="mt-2"
656
+ sytle={{
657
+ width: '200px',
658
+ }}
659
+ >
660
+ {sectionproperties.fetchparenttype == 'Categories' &&
661
+ authdetailsContext?.instinfo?.instcategories?.map((item, index) => {
662
+ var fetchedarray = authdetailsContext?.instinfo?.instcategories;
663
+ if (item.isshowntocustomers == 1) {
664
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
665
+ }
666
+ })}
667
+ {sectionproperties.fetchparenttype == 'Parent Collections' &&
668
+ pcollarray?.map((item, index) => {
669
+ var fetchedarray = pcollarray;
670
+ if (item.isshowntocustomers == 1) {
671
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
672
+ }
673
+ })}
674
+ {sectionproperties.fetchparenttype == 'Collections' &&
675
+ authdetailsContext?.instinfo?.instcollections?.map((item, index) => {
676
+ var fetchedarray = authdetailsContext?.instinfo?.instcollections;
677
+ if (item.isshowntocustomers == 1) {
678
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
679
+ }
680
+ })}
681
+ </ul>
682
+ </li>
683
+ </div>
684
+ </div>
685
+ )}
686
+ <div class={sectionproperties.btninsearch == 'Show' ? 'col-xl-9 col-lg-8 p-0 d-flex justify-content-start align-items-center' : 'col-xl-12 p-0 '}>
687
+ <div
688
+ class={header_cssstyles.searchbarcont}
689
+ style={{
690
+ position: 'relative',
691
+ borderTopRightRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'ar' ? 0 : '') : '',
692
+ borderBottomRightRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'ar' ? 0 : '') : '',
693
+ borderBottomLeftRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'en' ? 0 : '') : '',
694
+ borderTopLeftRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'en' ? 0 : '') : '',
695
+ }}
696
+ >
697
+ <input
698
+ type="text"
699
+ placeholder={langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar}
700
+ class={`${header_cssstyles.searchbarcont_input}`}
701
+ onChange={(event) => {
702
+ setSearchHeaderInputContext(event.target.value);
703
+ }}
704
+ />
705
+ <button class={` ${header_cssstyles.searchbar_icon_cont}` + ' d-flex align-items-center justify-content-center '}>
706
+ <BsSearch color={sectionproperties.searchbaricon_color} size={sectionproperties.searchbaricon_fontsize} />
707
+ </button>
708
+ <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'headerfullwidth'} actions={actions} />
709
+ </div>
710
+ </div>
711
+ </div>
712
+ </div>
713
+ {sectionproperties.showfooterphonenumber == 'Show' && (
714
+ <div
715
+ class={
716
+ sectionproperties.btninsearch == 'Show'
717
+ ? 'col-xl-2 col-lg-3 d-flex flex-column align-items-center justfiy-content-center'
718
+ : 'col-lg-3 d-flex flex-column align-items-center justfiy-content-center'
719
+ }
720
+ >
721
+ <div
722
+ class={header_cssstyles.storeinfocontainer + ' row m-0 w-100 d-flex align-items-center justify-content-center cursor-pointer '}
723
+ onClick={() => {
724
+ window.open('tel:' + authdetailsContext?.CuContactphonenumber, '_blank');
725
+ }}
726
+ >
727
+ <i
728
+ class={
729
+ langdetect == 'en'
730
+ ? header_cssstyles.storeinfotext + ' storeinfotext h-100 d-flex align-items-center justify-content-center mr-2 '
731
+ : header_cssstyles.storeinfotext + ' storeinfotext h-100 d-flex align-items-center justify-content-center ml-2 '
732
+ }
733
+ >
734
+ <FiPhone size={30} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
735
+ </i>
736
+ <div class="d-flex align-items-center flex-column">
737
+ <p class={header_cssstyles.storeinfotext + ' m-0 storeinfotext '}>{authdetailsContext?.instinfo?.contactinfo?.mobile}</p>
738
+ <p
739
+ class="mb-0 w-100"
740
+ style={{
741
+ textAlign: langdetect == 'en' ? 'right' : 'left',
742
+ color: sectionproperties.footerinfotext_secondarycolor,
743
+ fontSize: sectionproperties.footerinfotext_secondaryfontsize + 'px',
744
+ fontWeight: sectionproperties.footerinfotext_secondaryfontweight,
745
+ }}
746
+ >
747
+ {langdetect == 'en' ? sectionproperties.footerinfotext_en : sectionproperties.footerinfotext_ar}
748
+ </p>
749
+ </div>
750
+ </div>
751
+ </div>
752
+ )}
753
+ <div
754
+ class={
755
+ sectionproperties.showfooterphonenumber == 'Show'
756
+ ? sectionproperties.btninsearch == 'Show'
757
+ ? 'col-xl-3 col-lg-3 d-flex align-items-center p-0 pr-0'
758
+ : langdetect == 'en'
759
+ ? 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pl-0'
760
+ : 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pr-0'
761
+ : 'col-lg-4 d-flex align-items-center'
762
+ }
763
+ >
764
+ <div
765
+ class={
766
+ sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide'
767
+ ? 'row w-100 m-0 align-items-center justify-content-end plr-1025-0'
768
+ : 'row w-100 m-0 align-items-center justify-content-between plr-1025-0'
769
+ }
770
+ style={{
771
+ paddingLeft:
772
+ langdetect == 'en'
773
+ ? sectionproperties.showfooterphonenumber == 'Show'
774
+ ? authdetailsContext.loggedin == true
775
+ ? '.3rem'
776
+ : '3rem'
777
+ : authdetailsContext.loggedin == true
778
+ ? '4rem'
779
+ : '6rem'
780
+ : 0,
781
+ paddingRight:
782
+ langdetect == 'en'
783
+ ? 0
784
+ : sectionproperties.showfooterphonenumber == 'Show'
785
+ ? authdetailsContext.loggedin == true
786
+ ? '1rem'
787
+ : '3rem'
788
+ : authdetailsContext.loggedin == true
789
+ ? '4rem'
790
+ : '6rem',
791
+ }}
792
+ >
793
+ <Dropdown>
794
+ <Dropdown.Toggle>
795
+ {!authdetailsContext.loggedin && (
796
+ <div
797
+ class={header_cssstyles.user_btnContainer + ' d-flex align-items-center justify-content-end p-0 cursor-pointer pt-1 '}
798
+ onClick={() => {
799
+ routingcountext(StaticPagesLinksContext.Login);
800
+ }}
801
+ >
802
+ <div class={header_cssstyles.user_btn + ' user_btnbg allcentered p-0 '}>
803
+ <BiUser size={sectionproperties.userBtniconfontsize} />
804
+ </div>
805
+ <p
806
+ class={header_cssstyles.loggedinusername + ' user_btn mb-0 p-0 '}
807
+ style={{ marginLeft: langdetect == 'en' ? '3px' : 0, marginRight: langdetect == 'en' ? 0 : '3px' }}
808
+ >
809
+ {lang.login}
810
+ </p>
811
+ </div>
812
+ )}
813
+ {authdetailsContext.loggedin && (
814
+ <div class={header_cssstyles.loggedinuserbtnContainer + ' allcentered '} sytle={{ position: 'relative' }}>
815
+ <div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
816
+ <i class={' h-100 allcentered '}>
817
+ <BiUser size={sectionproperties.loggedinusericonfontsize} />
818
+ </i>
819
+ </div>
820
+ <div
821
+ class="m-0 p-0"
822
+ style={{
823
+ textAlign: langdetect == 'en' ? 'left' : 'right',
824
+ }}
825
+ >
826
+ <p
827
+ class="m-0 p-0"
828
+ style={{
829
+ color: sectionproperties.greetingtextcolor,
830
+ fontSize: sectionproperties.greetingtextfontsize + 'px',
831
+ lineHeight: sectionproperties.greetingtextfontsize + 'px',
832
+ fontWeight: 400,
833
+ }}
834
+ >
835
+ {lang.hello}
836
+ {langdetect == 'en' ? ',' : '،'}
837
+ </p>
838
+ <p class={header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 '} style={{ maxWidth: '100px' }}>
839
+ {authdetailsContext?.customerinfo?.name}
840
+ </p>
841
+ {authdetailsContext?.customerinfo?.cancustomerviewwallet == 1 && templateproperties_context.showwallet == 'Show' && (
842
+ <div class={' m-0 p-0 d-flex justify-content-start flex-row '} style={{}}>
843
+ <p
844
+ class="m-0 p-0"
845
+ style={{
846
+ color: templateproperties_context.walletcolor,
847
+ fontSize: templateproperties_context.walletfontize + 'px',
848
+ fontWeight: 500,
849
+ }}
850
+ >
851
+ {langdetect == 'en' ? templateproperties_context.walletcontent_en : templateproperties_context.walletcontent_ar}
852
+ </p>
853
+ <p
854
+ class="m-0 p-0 mx-1"
855
+ style={{
856
+ color: templateproperties_context.walletsecondarycolor,
857
+ fontSize: '15px',
858
+ fontWeight: 600,
859
+ }}
860
+ >
861
+ {authdetailsContext?.customerinfo?.walletpoints}{' '}
862
+ </p>
863
+ </div>
864
+ )}
865
+ </div>
866
+ </div>
867
+ )}
868
+ </Dropdown.Toggle>
869
+
870
+ {authdetailsContext.loggedin && (
871
+ <Dropdown.Menu style={{ minWidth: '200px' }}>
872
+ <Dropdown.Item>
873
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
874
+ <span
875
+ style={{
876
+ color: sectionproperties.greetingtextcolor,
877
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
878
+
879
+ fontWeight: 400,
880
+ }}
881
+ >
882
+ {lang.hello},
883
+ </span>
884
+ <p
885
+ class={`${header_cssstyles.dropdownitem}` + ' font-weight-600 ml-1 mr-1 text-overflow text-capitalize dropdownitem m-0 p-0 '}
886
+ style={{ maxWidth: '120px' }}
887
+ onClick={() => {
888
+ routingcountext(StaticPagesLinksContext.accountinfo);
889
+ }}
890
+ >
891
+ {authdetailsContext?.customerinfo?.name}
892
+ </p>
893
+ </div>
894
+ </Dropdown.Item>
895
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
896
+ <Dropdown.Item
897
+ onClick={() => {
898
+ routingcountext(StaticPagesLinksContext.Ordershistory);
899
+ }}
900
+ >
901
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
902
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
903
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
904
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
905
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
906
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag />}
907
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
908
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
909
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar />}
910
+
911
+ <span class="ml-2 mr-2">{lang.orderhistory}</span>
912
+ </p>
913
+ </div>
914
+ </Dropdown.Item>
915
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
916
+ <Dropdown.Item
917
+ onClick={() => {
918
+ routingcountext(StaticPagesLinksContext.Wishlist);
919
+ }}
920
+ >
921
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
922
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
923
+ {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
924
+ {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
925
+ <span class="ml-2 mr-2">{lang.wishlist}</span>
926
+ </p>
927
+ </div>
928
+ </Dropdown.Item>
929
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
930
+ <Dropdown.Item
931
+ onClick={() => {
932
+ routingcountext(StaticPagesLinksContext.Policies);
933
+ }}
934
+ >
935
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
936
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
937
+ <AiOutlineSecurityScan />
938
+ <span class="ml-2 mr-2">{lang.policies}</span>
939
+ </p>
940
+ </div>
941
+ </Dropdown.Item>
942
+ <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
943
+ <Dropdown.Item
944
+ onClick={() => {
945
+ LogoutMutationContext.mutate();
946
+ }}
947
+ >
948
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
949
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
950
+ <BiLogOutCircle />
951
+ <span class="ml-2 mr-2">{lang.logout}</span>
952
+ </p>
953
+ </div>
954
+ </Dropdown.Item>
955
+ </Dropdown.Menu>
956
+ )}
957
+ </Dropdown>
958
+ {sectionproperties.favBtnShow == 'Show' && (
959
+ <div class="d-flex flex-row p-0 align-items-center">
960
+ <div
961
+ style={{ position: 'relative' }}
962
+ class="cursor-pointer d-flex d-flex align-items-center"
963
+ onClick={() => {
964
+ routingcountext(StaticPagesLinksContext.Wishlist);
965
+ }}
966
+ >
967
+ <span class={`${header_cssstyles.wishlist_btn}`}>
968
+ <i class="h-100 allcentered">
969
+ {sectionproperties.faviconshape == 'Heart Shape' && (
970
+ <FaRegHeart
971
+ style={{
972
+ position: 'relative',
973
+ }}
974
+ />
975
+ )}
976
+ {sectionproperties.faviconshape == 'Star Shape' && (
977
+ <AiFillStar
978
+ style={{
979
+ position: 'relative',
980
+ }}
981
+ />
982
+ )}
983
+ </i>
984
+ </span>
985
+ <div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.wishlistbadge}`}>
986
+ <span> {favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}</span>
987
+ </div>
988
+ </div>
989
+ </div>
990
+ )}
991
+ {sectionproperties.cartBtnShow == 'Show' && (
992
+ <div
993
+ class={
994
+ sectionproperties.btninsearch == 'Show'
995
+ ? sectionproperties.showfooterphonenumber == 'Show'
996
+ ? 'd-flex d-lg-none flex-row justify-content-end align-items-center'
997
+ : 'd-flex flex-row justify-content-end align-items-center'
998
+ : 'd-flex flex-row justify-content-end align-items-center'
999
+ }
1000
+ >
1001
+ <div
1002
+ class="row w-100 m-0 align-items-center d-flex flex-row justify-content-end"
1003
+ style={{
1004
+ position: 'relative',
1005
+ }}
1006
+ onClick={() => {
1007
+ setsidecartnavshowcontext(true);
1008
+ }}
1009
+ >
1010
+ <div style={{ position: 'relative' }} class={`${header_cssstyles.cart_btn}` + ' cursor-pointer d-flex align-items-center justify-content-center '}>
1011
+ <div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.cartbadge}`}>
1012
+ {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
1013
+ </div>
1014
+ <i class="h-100 allcentered">
1015
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1016
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1017
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
1018
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1019
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1020
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1021
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtn_iconFontSize} />}
1022
+ </i>
1023
+ </div>
1024
+ <div class={langdetect == 'en' ? 'ml-2 d-flex d-lg-none' : 'mr-2 d-flex d-lg-none'}>
1025
+ <div class="row m-0 w-100 d-flex align-items-center flex-column justify-content-start">
1026
+ <p
1027
+ class="m-0 p-0 w-100"
1028
+ style={{
1029
+ textAlign: langdetect == 'en' ? 'left' : 'right',
1030
+ color: sectionproperties.cartBtnTextcolor,
1031
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
1032
+ lineHeight: sectionproperties.cartBtnTextfontsize + 'px',
1033
+ fontWeight: sectionproperties.cartBtnTextfontweight,
1034
+ textTransform: sectionproperties.cartBtnTexttransform,
1035
+ cursor: 'pointer',
1036
+ }}
1037
+ >
1038
+ {lang.cart}
1039
+ </p>
1040
+ <p
1041
+ class="m-0 text-left"
1042
+ style={{
1043
+ color: sectionproperties.card_secondarycolor,
1044
+ fontSize: sectionproperties.secondaryfontsize + 'px',
1045
+ fontWeight: sectionproperties.secondaryfontweight,
1046
+ cursor: 'pointer',
1047
+ }}
1048
+ >
1049
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {subtotalcart()} {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1050
+ </p>
1051
+ </div>
1052
+ </div>
1053
+ </div>
1054
+ </div>
1055
+ )}
1056
+ <div
1057
+ class="d-flex flex-row justify-content-end align-items-center"
1058
+ onClick={() => {
1059
+ if (langdetect == 'en') {
1060
+ setlang('ar');
1061
+ } else {
1062
+ setlang('en');
1063
+ }
1064
+ }}
1065
+ style={{
1066
+ paddingLeft: sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? (langdetect == 'en' ? '2rem' : 0) : 0,
1067
+ paddingRight: sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? (langdetect == 'ar' ? '2rem' : 0) : 0,
1068
+ }}
1069
+ >
1070
+ {langdetect == 'en' && (
1071
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1072
+ <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
1073
+ <span
1074
+ class="mx-2"
1075
+ style={{
1076
+ color: '#000',
1077
+ }}
1078
+ >
1079
+ ع
1080
+ </span>
1081
+ </div>
1082
+ )}
1083
+ {langdetect == 'ar' && (
1084
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1085
+ <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
1086
+ <span
1087
+ class="mx-2"
1088
+ style={{
1089
+ color: '#000',
1090
+ }}
1091
+ >
1092
+ En
1093
+ </span>
1094
+ </div>
1095
+ )}
1096
+ </div>
1097
+ </div>
1098
+ </div>
1099
+ </div>
1100
+ </div>
1101
+ {/* Lower Header */}
1102
+ {sectionproperties.showlowerheadersection == 'Show' && (
1103
+ <div class="col-lg-12 p-0 d-flex justify-content-center" style={{ background: sectionproperties.uppersection_bgcolor }}>
1104
+ <div class={`${header_cssstyles.divider}` + ' '}></div>
1105
+ </div>
1106
+ )}
1107
+ {sectionproperties.showlowerheadersection == 'Show' && (
1108
+ <div class={`${header_cssstyles.lowerheadercontainer}` + ' row w-100 m-0 align-items-center px-1025-1 '}>
1109
+ {sectionproperties.btninsearch != 'Show' && sectionproperties.generalbtn_show == 'Show' && (
1110
+ <div
1111
+ class={' col-xl-2 col-lg-3 d-flex align-items-center '}
1112
+ onClick={() => {
1113
+ setdropdownselect(!dropdownselect);
1114
+ }}
1115
+ >
1116
+ <li class={langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'}>
1117
+ <div class={`${header_cssstyles.categorybtn}` + ' m-0 allcentered cursor-pointer '}>
1118
+ <i class={`${header_cssstyles.categorybtnicon}` + ' categorybtnicon d-flex align-items-center justify-content-center '}>
1119
+ <HiMenuAlt4 size={sectionproperties.icontextfontsize} />
1120
+ </i>
1121
+ <p class={langdetect == 'en' ? ' m-0 p-0 ml-2' : ' m-0 p-0 mr-2 '}>
1122
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1123
+ </p>
1124
+ </div>
1125
+ <ul class="w-100 mt-2">
1126
+ {sectionproperties.fetchparenttype == 'Categories' &&
1127
+ authdetailsContext?.instinfo?.instcategories?.map((item, index) => {
1128
+ var fetchedarray = authdetailsContext?.instinfo?.instcategories;
1129
+ if (item.isshowntocustomers == 1) {
1130
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1131
+ }
1132
+ })}
1133
+ {sectionproperties.fetchparenttype == 'Parent Collections' &&
1134
+ pcollarray?.map((item, index) => {
1135
+ var fetchedarray = pcollarray;
1136
+ if (item.isshowntocustomers == 1) {
1137
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1138
+ }
1139
+ })}
1140
+ {sectionproperties.fetchparenttype == 'Collections' &&
1141
+ authdetailsContext?.instinfo?.instcollections?.map((item, index) => {
1142
+ var fetchedarray = authdetailsContext?.instinfo?.instcollections;
1143
+ if (item.isshowntocustomers == 1) {
1144
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1145
+ }
1146
+ })}
1147
+ </ul>
1148
+ </li>
1149
+ </div>
1150
+ )}
1151
+ <div
1152
+ class={
1153
+ authdetailsContext?.instinfo?.instcurrencies?.length > 1
1154
+ ? 'col-lg-8'
1155
+ : sectionproperties.btninsearch != 'Show' && sectionproperties.generalbtn_show == 'Show'
1156
+ ? 'col-xl-10 col-lg-9 flex-row d-flex align-items-center justify-content-start'
1157
+ : 'col-xl-12 col-lg-9 flex-row d-flex align-items-center justify-content-start'
1158
+ }
1159
+ >
1160
+ <div
1161
+ class={' scrollhorizontal w-100 align-items-center justify-content-start '}
1162
+ style={{
1163
+ display: sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
1164
+ }}
1165
+ >
1166
+ {templatepropcontext.pagesnprop.map((item, index) => {
1167
+ var activeclass = '';
1168
+ var pagedisabled = '';
1169
+ if (item.isselected) {
1170
+ activeclass = header_cssstyles.navbar_item_active;
1171
+ }
1172
+ if (item.isnavigation == 1 && item.isactive == 1) {
1173
+ return (
1174
+ <div
1175
+ class={`${activeclass}` + ' cursor-pointer scrollhorizontalcard '}
1176
+ onClick={() => {
1177
+ routingcountext(item.navigationroute);
1178
+ }}
1179
+ style={{
1180
+ marginRight: langdetect == 'en' ? '25px' : 0,
1181
+ marginLeft: langdetect == 'en' ? 0 : '25px',
1182
+ }}
1183
+ >
1184
+ <div class={`${header_cssstyles.navbar_item_text}`}> {langdetect == 'en' ? item.pagename : item.pagename_ar}</div>
1185
+ </div>
1186
+ );
1187
+ }
1188
+ })}
1189
+ </div>
1190
+ {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
1191
+ <Subheader
1192
+ sectionpropertiesprops={sectionproperties}
1193
+ actions={actions}
1194
+ subheaderpropertiesprops={{
1195
+ subheaderpositionprops: 'in nav',
1196
+ paddingLeftprops: '25px',
1197
+ paddingRightprops: '25px',
1198
+ }}
1199
+ />
1200
+ )}
1201
+ </div>
1202
+ {authdetailsContext != undefined && authdetailsContext?.instinfo?.instcurrencies?.length > 1 && (
1203
+ <div class={'col-lg-2 d-flex align-items-center justify-content-end '}>
1204
+ <Dropdown>
1205
+ <Dropdown.Toggle>
1206
+ <li class={' d-flex align-items-center justify-content-center '}>
1207
+ {langdetect == 'en' && (
1208
+ <div class={' row m-0 w-100 d-flex align-items-center '}>
1209
+ <FaMoneyBillWave />
1210
+ <p class="m-0 p-0 mr-2 ml-2">{authdetailsContext?.currencyname_en}</p>
1211
+ <MdKeyboardArrowDown />
1212
+ </div>
1213
+ )}
1214
+ {langdetect == 'ar' && (
1215
+ <div class={' row m-0 w-100 d-flex align-items-center '}>
1216
+ <FaMoneyBillWave />
1217
+ <p class="m-0 p-0 ml-2 mr-2">{authdetailsContext?.currencyname_ar}</p>
1218
+ <MdKeyboardArrowDown />
1219
+ </div>
1220
+ )}
1221
+ </li>
1222
+ </Dropdown.Toggle>
1223
+ <Dropdown.Menu>
1224
+ {authdetailsContext?.instinfo?.instcurrencies?.map(function (item, index) {
1225
+ return (
1226
+ <Dropdown.Item
1227
+ onClick={() => {
1228
+ setcurrencyfunccontext(item);
1229
+ }}
1230
+ >
1231
+ <div class="row m-0 w-100">
1232
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
1233
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
1234
+ <p
1235
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
1236
+ style={{
1237
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
1238
+ fontWeight: sectionproperties.dropdown_fontweight,
1239
+ textTransform: sectionproperties.dropdown_texttransform,
1240
+ }}
1241
+ >
1242
+ <FaMoneyBillWave />
1243
+ <span class={'ml-2 mr-2'}>{langdetect == 'en' ? item.currencyname_en : item.currencyname_ar}</span>
1244
+ </p>
1245
+ </div>
1246
+ </div>
1247
+ {index != authdetailsContext?.instinfo?.instcurrencies?.length - 1 && (
1248
+ <div class="col-lg-12 p-0">
1249
+ <hr class="m-0" />
1250
+ </div>
1251
+ )}
1252
+ </div>
1253
+ </Dropdown.Item>
1254
+ );
1255
+ })}
1256
+ </Dropdown.Menu>
1257
+ </Dropdown>
1258
+ </div>
1259
+ )}
1260
+ {sectionproperties.btninsearch == 'Show' && (
1261
+ <div
1262
+ class={'col-lg-3 d-none d-lg-flex flex-row justify-content-end align-items-center'}
1263
+ style={{
1264
+ position: 'relative',
1265
+ }}
1266
+ onClick={() => {
1267
+ setsidecartnavshowcontext(true);
1268
+ }}
1269
+ >
1270
+ <div style={{ position: 'relative' }} class={`${header_cssstyles.cart_btn}` + ' cursor-pointer d-flex align-items-center justify-content-end '}>
1271
+ <div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.cartbadge}`}>
1272
+ {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
1273
+ </div>
1274
+ <i class="h-100 allcentered">
1275
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1276
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1277
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
1278
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1279
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1280
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1281
+ </i>
1282
+ </div>
1283
+ <div class={langdetect == 'en' ? 'ml-2' : 'mr-2'}>
1284
+ <div class="row m-0 w-100 d-flex align-items-center flex-column justify-content-start">
1285
+ <p
1286
+ class="m-0 p-0 w-100"
1287
+ style={{
1288
+ textAlign: langdetect == 'en' ? 'left' : 'right',
1289
+ color: sectionproperties.cartBtnTextcolor,
1290
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
1291
+ lineHeight: sectionproperties.cartBtnTextfontsize + 'px',
1292
+ fontWeight: sectionproperties.cartBtnTextfontweight,
1293
+ textTransform: sectionproperties.cartBtnTexttransform,
1294
+ cursor: 'pointer',
1295
+ }}
1296
+ >
1297
+ {lang.cart}
1298
+ </p>
1299
+ <p
1300
+ class="m-0 text-left"
1301
+ style={{
1302
+ color: sectionproperties.card_secondarycolor,
1303
+ fontSize: sectionproperties.secondaryfontsize + 'px',
1304
+ fontWeight: sectionproperties.secondaryfontweight,
1305
+ cursor: 'pointer',
1306
+ }}
1307
+ >
1308
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {subtotalcart()} {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1309
+ </p>
1310
+ </div>
1311
+ </div>
1312
+ </div>
1313
+ )}
1314
+ </div>
1315
+ )}
1316
+
1317
+ {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
1318
+ <div class="col-lg-12 p-0">
1319
+ <Subheader
1320
+ actions={actions}
1321
+ sectionpropertiesprops={sectionproperties}
1322
+ subheaderpropertiesprops={{
1323
+ subheaderpositionprops: 'Full Width',
1324
+ paddingLeftprops: '25px',
1325
+ paddingRightprops: '25px',
1326
+ }}
1327
+ />
1328
+ </div>
1329
+ )}
1330
+ </div>
1331
+ {sectionproperties.responsiveheaderstyle == 'Style 1' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
1332
+ {sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
1333
+ {sectionproperties.responsiveheaderstyle == 'Style 2' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1334
+ {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1335
+ {/* <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} /> */}
1336
+ </div>
1337
+ // <div
1338
+ // class="row w-100 ml-0 mr-0 d-flex justify-content-center"
1339
+ // style={{
1340
+ // marginTop: sectionproperties.header_marginTop + 'px',
1341
+ // marginBottom: sectionproperties.header_marginBottom + 'px',
1342
+ // }}
1343
+ // >
1344
+ // {sectionproperties.youtbtn_show == 'Show' && (
1345
+ // <>
1346
+ // <a href={'tel:' + authdetailsContext?.CuContactphonenumber} target={'_self'} style={{ position: 'fixed', bottom: 60, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}>
1347
+ // <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'}>
1348
+ // <FiPhone size={30} color={sectionproperties.uppersection_iconcolor} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
1349
+ // </i>
1350
+ // </a>
1351
+ // <a
1352
+ // href={'https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber}
1353
+ // target={'_blank'}
1354
+ // style={{ position: 'fixed', bottom: 10, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}
1355
+ // >
1356
+ // <img src={whatsappicon} style={{ width: '40px', height: '40px', cursor: 'pointer' }} />
1357
+ // </a>
1358
+ // </>
1359
+ // )}
1360
+ // <div
1361
+ // class={`${header_cssstyles.headercontainer}` + ' row ml-0 mr-0 d-flex d-md-none align-items-center '}
1362
+ // style={{
1363
+ // position: sectionproperties.headerstyles_position,
1364
+ // top: 0,
1365
+ // }}
1366
+ // >
1367
+ // {/* Upper Header */}
1368
+ // <div class={' col-lg-12 p-0 '}>
1369
+ // <div class={header_cssstyles.upperheadersection + ' row w-100 m-0 align-items-center px-1025-1 '}>
1370
+ // <div class="col-lg-2 p-0">
1371
+ // <div
1372
+ // class={`${header_cssstyles.header_logo}` + ' d-flex align-items-center justify-content-center '}
1373
+ // style={{ cursor: 'pointer' }}
1374
+ // onClick={() => {
1375
+ // routingcountext('home');
1376
+ // }}
1377
+ // >
1378
+ // <Imagekitimagecomp
1379
+ // urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1380
+ // publicKey={ikimagecredcontext?.ikimagepublickey}
1381
+ // path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
1382
+ // style={{
1383
+ // maxWidth: '100%',
1384
+ // maxHeight: '100%',
1385
+ // }}
1386
+ // />
1387
+ // </div>
1388
+ // </div>
1389
+
1390
+ // <div
1391
+ // class={
1392
+ // sectionproperties.showfooterphonenumber == 'Show' ? (sectionproperties.btninsearch == 'Show' ? 'col-xl-5 col-lg-4 p-lg-0' : 'col-xl-4 col-lg-3 p-0') : 'col-lg-6 p-0'
1393
+ // }
1394
+ // style={{
1395
+ // position: 'relative',
1396
+ // }}
1397
+ // >
1398
+ // <div class="row m-0 w-100">
1399
+ // {sectionproperties.btninsearch == 'Show' && (
1400
+ // <div
1401
+ // class={'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start '}
1402
+ // onClick={() => {
1403
+ // setdropdownselect(!dropdownselect);
1404
+ // }}
1405
+ // >
1406
+ // <div
1407
+ // class={`${header_cssstyles.categorybtn}` + ' categoriesdropdown d-flex w-100 align-items-center pl-2 pr-2 '}
1408
+ // style={{
1409
+ // borderTopRightRadius: langdetect == 'en' ? 0 : '',
1410
+ // borderBottomRightRadius: langdetect == 'en' ? 0 : '',
1411
+ // borderBottomLeftRadius: langdetect == 'ar' ? 0 : '',
1412
+ // borderTopLeftRadius: langdetect == 'ar' ? 0 : '',
1413
+ // zIndex: 100,
1414
+ // }}
1415
+ // >
1416
+ // <li class={langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'}>
1417
+ // <div class={' m-0 allcentered cursor-pointer px-2 p-lg-0 '}>
1418
+ // <div class={'col-lg-10 d-flex justify-content-start m-0 p-0'}>
1419
+ // {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1420
+ // </div>
1421
+ // <div class="col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end d-xl-flex d-lg-none">
1422
+ // <i class="h-100 d-flex align-items-center justify-content-end">
1423
+ // {dropdownselect ? <MdKeyboardArrowUp size={25} /> : <MdKeyboardArrowDown size={25} />}
1424
+ // </i>
1425
+ // </div>
1426
+ // </div>
1427
+ // <ul
1428
+ // class="mt-2"
1429
+ // sytle={{
1430
+ // width: '200px',
1431
+ // }}
1432
+ // >
1433
+ // {sectionproperties.fetchparenttype == 'Categories' &&
1434
+ // authdetailsContext?.instinfo?.instcategories?.map((item, index) => {
1435
+ // var fetchedarray = authdetailsContext?.instinfo?.instcategories;
1436
+ // if (item.isshowntocustomers == 1) {
1437
+ // return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1438
+ // }
1439
+ // })}
1440
+ // {sectionproperties.fetchparenttype == 'Parent Collections' &&
1441
+ // pcollarray?.map((item, index) => {
1442
+ // var fetchedarray = pcollarray;
1443
+ // if (item.isshowntocustomers == 1) {
1444
+ // return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1445
+ // }
1446
+ // })}
1447
+ // {sectionproperties.fetchparenttype == 'Collections' &&
1448
+ // authdetailsContext?.instinfo?.instcollections?.map((item, index) => {
1449
+ // var fetchedarray = authdetailsContext?.instinfo?.instcollections;
1450
+ // if (item.isshowntocustomers == 1) {
1451
+ // return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1452
+ // }
1453
+ // })}
1454
+ // </ul>
1455
+ // </li>
1456
+ // </div>
1457
+ // </div>
1458
+ // )}
1459
+ // <div class={sectionproperties.btninsearch == 'Show' ? 'col-xl-9 col-lg-8 p-0 d-flex justify-content-start align-items-center' : 'col-xl-12 p-0 '}>
1460
+ // <div
1461
+ // class={header_cssstyles.searchbarcont}
1462
+ // style={{
1463
+ // position: 'relative',
1464
+ // borderTopRightRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'ar' ? 0 : '') : '',
1465
+ // borderBottomRightRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'ar' ? 0 : '') : '',
1466
+ // borderBottomLeftRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'en' ? 0 : '') : '',
1467
+ // borderTopLeftRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'en' ? 0 : '') : '',
1468
+ // }}
1469
+ // >
1470
+ // <input
1471
+ // type="text"
1472
+ // placeholder={lang.searchproducts}
1473
+ // class={`${header_cssstyles.searchbarcont_input}`}
1474
+ // onChange={(event) => {
1475
+ // setSearchHeaderInputContext(event.target.value);
1476
+ // }}
1477
+ // />
1478
+ // <button class={` ${header_cssstyles.searchbar_icon_cont}` + ' d-flex align-items-center justify-content-center '}>
1479
+ // <BsSearch color={sectionproperties.searchbaricon_color} size={sectionproperties.searchbaricon_fontsize} />
1480
+ // </button>
1481
+ // <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'headerfullwidth'} actions={actions} />
1482
+ // </div>
1483
+ // </div>
1484
+ // </div>
1485
+ // </div>
1486
+ // {sectionproperties.showfooterphonenumber == 'Show' && (
1487
+ // <div
1488
+ // class={
1489
+ // sectionproperties.btninsearch == 'Show'
1490
+ // ? 'col-xl-2 col-lg-3 d-flex flex-column align-items-center justfiy-content-center'
1491
+ // : 'col-lg-3 d-flex flex-column align-items-center justfiy-content-center'
1492
+ // }
1493
+ // >
1494
+ // <div
1495
+ // class={header_cssstyles.storeinfocontainer + ' row m-0 w-100 d-flex align-items-center justify-content-center cursor-pointer '}
1496
+ // onClick={() => {
1497
+ // window.open('tel:' + authdetailsContext?.CuContactphonenumber, '_blank');
1498
+ // }}
1499
+ // >
1500
+ // <i
1501
+ // class={
1502
+ // langdetect == 'en'
1503
+ // ? header_cssstyles.storeinfotext + ' storeinfotext h-100 d-flex align-items-center justify-content-center mr-2 '
1504
+ // : header_cssstyles.storeinfotext + ' storeinfotext h-100 d-flex align-items-center justify-content-center ml-2 '
1505
+ // }
1506
+ // >
1507
+ // <FiPhone size={30} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
1508
+ // </i>
1509
+ // <div class="d-flex align-items-center flex-column">
1510
+ // <p class={header_cssstyles.storeinfotext + ' m-0 storeinfotext '}>{authdetailsContext?.instinfo?.contactinfo?.mobile}</p>
1511
+ // <p
1512
+ // class="mb-0 w-100"
1513
+ // style={{
1514
+ // textAlign: langdetect == 'en' ? 'right' : 'left',
1515
+ // color: sectionproperties.footerinfotext_secondarycolor,
1516
+ // fontSize: sectionproperties.footerinfotext_secondaryfontsize + 'px',
1517
+ // fontWeight: sectionproperties.footerinfotext_secondaryfontweight,
1518
+ // }}
1519
+ // >
1520
+ // {langdetect == 'en' ? sectionproperties.footerinfotext_en : sectionproperties.footerinfotext_ar}
1521
+ // </p>
1522
+ // </div>
1523
+ // </div>
1524
+ // </div>
1525
+ // )}
1526
+ // <div
1527
+ // class={
1528
+ // sectionproperties.showfooterphonenumber == 'Show'
1529
+ // ? sectionproperties.btninsearch == 'Show'
1530
+ // ? 'col-xl-3 col-lg-3 d-flex align-items-center p-0 pr-0'
1531
+ // : langdetect == 'en'
1532
+ // ? 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pl-0'
1533
+ // : 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pr-0'
1534
+ // : 'col-lg-4 d-flex align-items-center'
1535
+ // }
1536
+ // >
1537
+ // <div
1538
+ // class={'row w-100 m-0 align-items-center justify-content-between plr-1025-0'}
1539
+ // style={{
1540
+ // paddingLeft:
1541
+ // langdetect == 'en'
1542
+ // ? sectionproperties.showfooterphonenumber == 'Show'
1543
+ // ? authdetailsContext.loggedin == true
1544
+ // ? '.3rem'
1545
+ // : '3rem'
1546
+ // : authdetailsContext.loggedin == true
1547
+ // ? '4rem'
1548
+ // : '6rem'
1549
+ // : 0,
1550
+ // paddingRight:
1551
+ // langdetect == 'en'
1552
+ // ? 0
1553
+ // : sectionproperties.showfooterphonenumber == 'Show'
1554
+ // ? authdetailsContext.loggedin == true
1555
+ // ? '1rem'
1556
+ // : '3rem'
1557
+ // : authdetailsContext.loggedin == true
1558
+ // ? '4rem'
1559
+ // : '6rem',
1560
+ // }}
1561
+ // >
1562
+ // <Dropdown>
1563
+ // <Dropdown.Toggle>
1564
+ // {!authdetailsContext.loggedin && (
1565
+ // <div class={header_cssstyles.user_btnContainer + ' d-flex align-items-center justify-content-end p-0 cursor-pointer pt-1 '}>
1566
+ // <div class={header_cssstyles.user_btn + ' user_btnbg allcentered p-0 '}>
1567
+ // <BiUser size={sectionproperties.userBtniconfontsize} />
1568
+ // </div>
1569
+ // <p
1570
+ // class={header_cssstyles.loggedinusername + ' user_btn mb-0 p-0 '}
1571
+ // style={{ marginLeft: langdetect == 'en' ? '3px' : 0, marginRight: langdetect == 'en' ? 0 : '3px' }}
1572
+ // >
1573
+ // {lang.login}
1574
+ // </p>
1575
+ // </div>
1576
+ // )}
1577
+ // {authdetailsContext.loggedin && (
1578
+ // <div class={header_cssstyles.loggedinuserbtnContainer + ' allcentered '} sytle={{ position: 'relative' }}>
1579
+ // <div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
1580
+ // <i class={' h-100 allcentered '}>
1581
+ // <BiUser size={sectionproperties.loggedinusericonfontsize} />
1582
+ // </i>
1583
+ // </div>
1584
+ // <div
1585
+ // class="m-0 p-0"
1586
+ // style={{
1587
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
1588
+ // }}
1589
+ // >
1590
+ // <p
1591
+ // class="m-0 p-0"
1592
+ // style={{
1593
+ // color: sectionproperties.greetingtextcolor,
1594
+ // fontSize: sectionproperties.greetingtextfontsize + 'px',
1595
+ // lineHeight: sectionproperties.greetingtextfontsize + 'px',
1596
+ // fontWeight: 400,
1597
+ // }}
1598
+ // >
1599
+ // {lang.hello}
1600
+ // {langdetect == 'en' ? ',' : '،'}
1601
+ // </p>
1602
+ // <p class={header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 '} style={{ maxWidth: '100px' }}>
1603
+ // {authdetailsContext?.customerinfo?.name}
1604
+ // </p>
1605
+ // </div>
1606
+ // </div>
1607
+ // )}
1608
+ // </Dropdown.Toggle>
1609
+ // {!authdetailsContext.loggedin && (
1610
+ // <Dropdown.Menu>
1611
+ // <Dropdown.Item
1612
+ // onClick={() => {
1613
+ // routingcountext(StaticPagesLinksContext.Login);
1614
+ // }}
1615
+ // >
1616
+ // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
1617
+ // <p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
1618
+ // <AiOutlineLogin />
1619
+ // <span class="ml-2 mr-2">{lang.login}</span>
1620
+ // </p>
1621
+ // </div>
1622
+ // </Dropdown.Item>
1623
+ // <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
1624
+ // <Dropdown.Item
1625
+ // onClick={() => {
1626
+ // routingcountext(StaticPagesLinksContext.Signup);
1627
+ // }}
1628
+ // >
1629
+ // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
1630
+ // <p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
1631
+ // <AiOutlineUserAdd />
1632
+ // <span class="ml-2 mr-2">{lang.signup}</span>
1633
+ // </p>
1634
+ // </div>
1635
+ // </Dropdown.Item>
1636
+ // </Dropdown.Menu>
1637
+ // )}
1638
+ // {authdetailsContext.loggedin && (
1639
+ // <Dropdown.Menu style={{ minWidth: '200px' }}>
1640
+ // <Dropdown.Item>
1641
+ // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
1642
+ // <span
1643
+ // style={{
1644
+ // color: sectionproperties.greetingtextcolor,
1645
+ // fontSize: sectionproperties.dropdown_fontsize + 'px',
1646
+
1647
+ // fontWeight: 400,
1648
+ // }}
1649
+ // >
1650
+ // {lang.hello},
1651
+ // </span>
1652
+ // <p
1653
+ // class={`${header_cssstyles.dropdownitem}` + ' font-weight-600 ml-1 mr-1 text-overflow text-capitalize dropdownitem m-0 p-0 '}
1654
+ // style={{ maxWidth: '120px' }}
1655
+ // onClick={() => {
1656
+ // routingcountext(StaticPagesLinksContext.accountinfo);
1657
+ // }}
1658
+ // >
1659
+ // {authdetailsContext?.customerinfo?.name}
1660
+ // </p>
1661
+ // </div>
1662
+ // </Dropdown.Item>
1663
+ // <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
1664
+ // <Dropdown.Item
1665
+ // onClick={() => {
1666
+ // routingcountext(StaticPagesLinksContext.Ordershistory);
1667
+ // }}
1668
+ // >
1669
+ // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1670
+ // <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1671
+ // {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
1672
+ // {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
1673
+ // {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
1674
+ // {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag />}
1675
+ // {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
1676
+ // {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
1677
+ // <span class="ml-2 mr-2">{lang.orderhistory}</span>
1678
+ // </p>
1679
+ // </div>
1680
+ // </Dropdown.Item>
1681
+ // <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
1682
+ // <Dropdown.Item
1683
+ // onClick={() => {
1684
+ // routingcountext(StaticPagesLinksContext.Wishlist);
1685
+ // }}
1686
+ // >
1687
+ // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1688
+ // <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1689
+ // {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
1690
+ // {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
1691
+ // <span class="ml-2 mr-2">{lang.wishlist}</span>
1692
+ // </p>
1693
+ // </div>
1694
+ // </Dropdown.Item>
1695
+ // <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
1696
+ // <Dropdown.Item
1697
+ // onClick={() => {
1698
+ // routingcountext(StaticPagesLinksContext.Policies);
1699
+ // }}
1700
+ // >
1701
+ // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1702
+ // <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1703
+ // <AiOutlineSecurityScan />
1704
+ // <span class="ml-2 mr-2">{lang.policies}</span>
1705
+ // </p>
1706
+ // </div>
1707
+ // </Dropdown.Item>
1708
+ // <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
1709
+ // <Dropdown.Item
1710
+ // onClick={() => {
1711
+ // LogoutMutationContext.mutate();
1712
+ // }}
1713
+ // >
1714
+ // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1715
+ // <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1716
+ // <BiLogOutCircle />
1717
+ // <span class="ml-2 mr-2">{lang.logout}</span>
1718
+ // </p>
1719
+ // </div>
1720
+ // </Dropdown.Item>
1721
+ // </Dropdown.Menu>
1722
+ // )}
1723
+ // </Dropdown>
1724
+ // <div class="d-flex flex-row p-0 align-items-center">
1725
+ // <div
1726
+ // style={{ position: 'relative' }}
1727
+ // class="cursor-pointer d-flex d-flex align-items-center"
1728
+ // onClick={() => {
1729
+ // routingcountext(StaticPagesLinksContext.Wishlist);
1730
+ // }}
1731
+ // >
1732
+ // <span class={`${header_cssstyles.wishlist_btn}`}>
1733
+ // <i class="h-100 allcentered">
1734
+ // {sectionproperties.faviconshape == 'Heart Shape' && (
1735
+ // <FaRegHeart
1736
+ // style={{
1737
+ // position: 'relative',
1738
+ // }}
1739
+ // />
1740
+ // )}
1741
+ // {sectionproperties.faviconshape == 'Star Shape' && (
1742
+ // <AiFillStar
1743
+ // style={{
1744
+ // position: 'relative',
1745
+ // }}
1746
+ // />
1747
+ // )}
1748
+ // </i>
1749
+ // </span>
1750
+ // <div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.wishlistbadge}`}>
1751
+ // <span> {favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}</span>
1752
+ // </div>
1753
+ // </div>
1754
+ // </div>
1755
+ // <div
1756
+ // class={
1757
+ // sectionproperties.btninsearch == 'Show'
1758
+ // ? sectionproperties.showfooterphonenumber == 'Show'
1759
+ // ? 'd-flex d-lg-none flex-row justify-content-end align-items-center'
1760
+ // : 'd-flex flex-row justify-content-end align-items-center'
1761
+ // : 'd-flex flex-row justify-content-end align-items-center'
1762
+ // }
1763
+ // >
1764
+ // <div
1765
+ // class="row w-100 m-0 align-items-center d-flex flex-row justify-content-end"
1766
+ // style={{
1767
+ // position: 'relative',
1768
+ // }}
1769
+ // onClick={() => {
1770
+ // setsidecartnavshowcontext(true);
1771
+ // }}
1772
+ // >
1773
+ // <div style={{ position: 'relative' }} class={`${header_cssstyles.cart_btn}` + ' cursor-pointer d-flex align-items-center justify-content-center '}>
1774
+ // <div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.cartbadge}`}>
1775
+ // {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
1776
+ // </div>
1777
+ // <i class="h-100 allcentered">
1778
+ // {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1779
+ // {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1780
+ // {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
1781
+ // {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1782
+ // {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1783
+ // {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1784
+ // </i>
1785
+ // </div>
1786
+ // <div class={langdetect == 'en' ? 'ml-2 d-flex d-lg-none' : 'mr-2 d-flex d-lg-none'}>
1787
+ // <div class="row m-0 w-100 d-flex align-items-center flex-column justify-content-start">
1788
+ // <p
1789
+ // class="m-0 p-0 w-100"
1790
+ // style={{
1791
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
1792
+ // color: sectionproperties.cartBtnTextcolor,
1793
+ // fontSize: sectionproperties.cartBtnTextfontsize + 'px',
1794
+ // lineHeight: sectionproperties.cartBtnTextfontsize + 'px',
1795
+ // fontWeight: sectionproperties.cartBtnTextfontweight,
1796
+ // textTransform: sectionproperties.cartBtnTexttransform,
1797
+ // cursor: 'pointer',
1798
+ // }}
1799
+ // >
1800
+ // {lang.cart}
1801
+ // </p>
1802
+ // <p
1803
+ // class="m-0 text-left"
1804
+ // style={{
1805
+ // color: sectionproperties.card_secondarycolor,
1806
+ // fontSize: sectionproperties.secondaryfontsize + 'px',
1807
+ // fontWeight: sectionproperties.secondaryfontweight,
1808
+ // cursor: 'pointer',
1809
+ // }}
1810
+ // >
1811
+ // {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {subtotalcart()} {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1812
+ // </p>
1813
+ // </div>
1814
+ // </div>
1815
+ // </div>
1816
+ // </div>
1817
+ // <div
1818
+ // class="d-flex flex-row justify-content-end align-items-center"
1819
+ // onClick={() => {
1820
+ // if (langdetect == 'en') {
1821
+ // setlang('ar');
1822
+ // } else {
1823
+ // setlang('en');
1824
+ // }
1825
+ // }}
1826
+ // >
1827
+ // {langdetect == 'en' && (
1828
+ // <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1829
+ // <img src={egyptflag} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
1830
+ // </div>
1831
+ // )}
1832
+ // {langdetect == 'ar' && (
1833
+ // <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1834
+ // <img src={usflag} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
1835
+ // </div>
1836
+ // )}
1837
+ // </div>
1838
+ // </div>
1839
+ // </div>
1840
+ // </div>
1841
+ // </div>
1842
+ // {/* Lower Header */}
1843
+ // {sectionproperties.showlowerheadersection == 'Show' && (
1844
+ // <div class="col-lg-12 p-0 d-flex justify-content-center" style={{ background: sectionproperties.uppersection_bgcolor }}>
1845
+ // <div class={`${header_cssstyles.divider}` + ' '}></div>
1846
+ // </div>
1847
+ // )}
1848
+ // {sectionproperties.showlowerheadersection == 'Show' && (
1849
+ // <div class={`${header_cssstyles.lowerheadercontainer}` + ' row w-100 m-0 align-items-center px-1025-1 '}>
1850
+ // {sectionproperties.btninsearch != 'Show' && (
1851
+ // <div
1852
+ // class={' col-xl-2 col-lg-3 d-flex align-items-center '}
1853
+ // onClick={() => {
1854
+ // setdropdownselect(!dropdownselect);
1855
+ // }}
1856
+ // >
1857
+ // <li class={langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'}>
1858
+ // <div class={`${header_cssstyles.categorybtn}` + ' m-0 allcentered cursor-pointer '}>
1859
+ // <i class={`${header_cssstyles.categorybtnicon}` + ' categorybtnicon d-flex align-items-center justify-content-center '}>
1860
+ // <HiMenuAlt4 size={sectionproperties.icontextfontsize} />
1861
+ // </i>
1862
+ // <p class={langdetect == 'en' ? ' m-0 p-0 ml-2' : ' m-0 p-0 mr-2 '}>
1863
+ // {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1864
+ // </p>
1865
+ // </div>
1866
+ // <ul class="w-100 mt-2">
1867
+ // {sectionproperties.fetchparenttype == 'Categories' &&
1868
+ // authdetailsContext?.instinfo?.instcategories?.map((item, index) => {
1869
+ // var fetchedarray = authdetailsContext?.instinfo?.instcategories;
1870
+ // if (item.isshowntocustomers == 1) {
1871
+ // return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1872
+ // }
1873
+ // })}
1874
+ // {sectionproperties.fetchparenttype == 'Parent Collections' &&
1875
+ // pcollarray?.map((item, index) => {
1876
+ // var fetchedarray = pcollarray;
1877
+ // if (item.isshowntocustomers == 1) {
1878
+ // return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1879
+ // }
1880
+ // })}
1881
+ // {sectionproperties.fetchparenttype == 'Collections' &&
1882
+ // authdetailsContext?.instinfo?.instcollections?.map((item, index) => {
1883
+ // var fetchedarray = authdetailsContext?.instinfo?.instcollections;
1884
+ // if (item.isshowntocustomers == 1) {
1885
+ // return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1886
+ // }
1887
+ // })}
1888
+ // </ul>
1889
+ // </li>
1890
+ // </div>
1891
+ // )}
1892
+ // <div
1893
+ // class={
1894
+ // sectionproperties.btninsearch != 'Show'
1895
+ // ? 'col-xl-10 col-lg-9 flex-row d-flex align-items-center justify-content-start'
1896
+ // : 'col-xl-12 col-lg-9 flex-row d-flex align-items-center justify-content-start'
1897
+ // }
1898
+ // >
1899
+ // <div
1900
+ // class={' scrollhorizontal w-100 align-items-center justify-content-start '}
1901
+ // style={{
1902
+ // display: sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
1903
+ // }}
1904
+ // >
1905
+ // {templatepropcontext.pagesnprop.map((item, index) => {
1906
+ // var activeclass = '';
1907
+ // var pagedisabled = '';
1908
+ // if (item.isselected) {
1909
+ // activeclass = header_cssstyles.navbar_item_active;
1910
+ // }
1911
+ // if (item.isnavigation == 1 && item.isactive == 1) {
1912
+ // return (
1913
+ // <div
1914
+ // class={`${activeclass}` + ' cursor-pointer scrollhorizontalcard '}
1915
+ // onClick={() => {
1916
+ // routingcountext(item.navigationroute);
1917
+ // }}
1918
+ // style={{
1919
+ // marginRight: langdetect == 'en' ? '25px' : 0,
1920
+ // marginLeft: langdetect == 'en' ? 0 : '25px',
1921
+ // }}
1922
+ // >
1923
+ // <div class={`${header_cssstyles.navbar_item_text}`}> {langdetect == 'en' ? item.pagename : item.pagename_ar}</div>
1924
+ // </div>
1925
+ // );
1926
+ // }
1927
+ // })}
1928
+ // </div>
1929
+ // {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
1930
+ // <Subheader
1931
+ // sectionpropertiesprops={sectionproperties}
1932
+ // actions={actions}
1933
+ // subheaderpropertiesprops={{
1934
+ // subheaderpositionprops: 'in nav',
1935
+ // paddingLeftprops: '25px',
1936
+ // paddingRightprops: '25px',
1937
+ // }}
1938
+ // />
1939
+ // )}
1940
+ // </div>
1941
+ // {sectionproperties.btninsearch == 'Show' && (
1942
+ // <div
1943
+ // class={'col-lg-3 d-none d-lg-flex flex-row justify-content-end align-items-center'}
1944
+ // style={{
1945
+ // position: 'relative',
1946
+ // }}
1947
+ // onClick={() => {
1948
+ // setsidecartnavshowcontext(true);
1949
+ // }}
1950
+ // >
1951
+ // <div style={{ position: 'relative' }} class={`${header_cssstyles.cart_btn}` + ' cursor-pointer d-flex align-items-center justify-content-end '}>
1952
+ // <div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.cartbadge}`}>
1953
+ // {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
1954
+ // </div>
1955
+ // <i class="h-100 allcentered">
1956
+ // {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1957
+ // {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1958
+ // {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
1959
+ // {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1960
+ // {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1961
+ // {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1962
+ // </i>
1963
+ // </div>
1964
+ // <div class={langdetect == 'en' ? 'ml-2' : 'mr-2'}>
1965
+ // <div class="row m-0 w-100 d-flex align-items-center flex-column justify-content-start">
1966
+ // <p
1967
+ // class="m-0 p-0 w-100"
1968
+ // style={{
1969
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
1970
+ // color: sectionproperties.cartBtnTextcolor,
1971
+ // fontSize: sectionproperties.cartBtnTextfontsize + 'px',
1972
+ // lineHeight: sectionproperties.cartBtnTextfontsize + 'px',
1973
+ // fontWeight: sectionproperties.cartBtnTextfontweight,
1974
+ // textTransform: sectionproperties.cartBtnTexttransform,
1975
+ // cursor: 'pointer',
1976
+ // }}
1977
+ // >
1978
+ // {lang.cart}
1979
+ // </p>
1980
+ // <p
1981
+ // class="m-0 text-left"
1982
+ // style={{
1983
+ // color: sectionproperties.card_secondarycolor,
1984
+ // fontSize: sectionproperties.secondaryfontsize + 'px',
1985
+ // fontWeight: sectionproperties.secondaryfontweight,
1986
+ // cursor: 'pointer',
1987
+ // }}
1988
+ // >
1989
+ // {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {subtotalcart()} {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1990
+ // </p>
1991
+ // </div>
1992
+ // </div>
1993
+ // </div>
1994
+ // )}
1995
+ // </div>
1996
+ // )}
1997
+
1998
+ // {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
1999
+ // <div class="col-lg-12 p-0">
2000
+ // <Subheader
2001
+ // actions={actions}
2002
+ // sectionpropertiesprops={sectionproperties}
2003
+ // subheaderpropertiesprops={{
2004
+ // subheaderpositionprops: 'Full Width',
2005
+ // paddingLeftprops: '25px',
2006
+ // paddingRightprops: '25px',
2007
+ // }}
2008
+ // />
2009
+ // </div>
2010
+ // )}
2011
+ // </div>
2012
+ // <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />
2013
+ // </div>
2014
+ );
2015
+ };
2016
+ export default Header8;