tabexseriescomponents 0.0.706 → 0.0.708

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/package.json +1 -1
  2. package/srcoman/Contexts/LanguageContext.jsx +408 -0
  3. package/srcoman/Contexts/ProductsCardsSectionContext.jsx +36 -0
  4. package/srcoman/Imagekitconfig.jsx +46 -0
  5. package/srcoman/StylesJS/Customstyles.js +345 -0
  6. package/srcoman/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
  7. package/srcoman/TabexComponents/Cards/Card20/Card20.jsx +298 -0
  8. package/srcoman/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  9. package/srcoman/TabexComponents/Cards/Card22/Card22.jsx +288 -0
  10. package/srcoman/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
  11. package/srcoman/TabexComponents/Cards/Card23/Card23.jsx +742 -0
  12. package/srcoman/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
  13. package/srcoman/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
  14. package/srcoman/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  15. package/srcoman/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  16. package/srcoman/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +255 -0
  17. package/srcoman/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
  18. package/srcoman/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
  19. package/srcoman/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
  20. package/srcoman/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
  21. package/srcoman/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  22. package/srcoman/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
  23. package/srcoman/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
  24. package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
  25. package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +146 -0
  26. package/srcoman/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
  27. package/srcoman/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
  28. package/srcoman/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +409 -0
  29. package/srcoman/TabexComponents/Cards/MenuCard/MenuCard.jsx +732 -0
  30. package/srcoman/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
  31. package/srcoman/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
  32. package/srcoman/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
  33. package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
  34. package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
  35. package/srcoman/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  36. package/srcoman/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
  37. package/srcoman/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
  38. package/srcoman/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
  39. package/srcoman/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
  40. package/srcoman/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  41. package/srcoman/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
  42. package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
  43. package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
  44. package/srcoman/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +558 -0
  45. package/srcoman/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  46. package/srcoman/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  47. package/srcoman/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
  48. package/srcoman/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +613 -0
  49. package/srcoman/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +413 -0
  50. package/srcoman/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
  51. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
  52. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
  53. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +905 -0
  54. package/srcoman/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
  55. package/srcoman/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
  56. package/srcoman/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
  57. package/srcoman/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
  58. package/srcoman/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
  59. package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +780 -0
  60. package/srcoman/TabexComponents/Footer/Footer2/Footer2.jsx +527 -0
  61. package/srcoman/TabexComponents/Footer/Footer3/Footer3.jsx +411 -0
  62. package/srcoman/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
  63. package/srcoman/TabexComponents/Footer/Footer5/Footer5.jsx +714 -0
  64. package/srcoman/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
  65. package/srcoman/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
  66. package/srcoman/TabexComponents/Footer/Footer8/Footer8.jsx +533 -0
  67. package/srcoman/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
  68. package/srcoman/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +562 -0
  69. package/srcoman/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +865 -0
  70. package/srcoman/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +647 -0
  71. package/srcoman/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
  72. package/srcoman/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
  73. package/srcoman/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  74. package/srcoman/TabexComponents/Generalfiles/images/noimage.png +0 -0
  75. package/srcoman/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  76. package/srcoman/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  77. package/srcoman/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  78. package/srcoman/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  79. package/srcoman/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  80. package/srcoman/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  81. package/srcoman/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  82. package/srcoman/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  83. package/srcoman/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  84. package/srcoman/TabexComponents/Generalfiles/images/usflag.png +0 -0
  85. package/srcoman/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  86. package/srcoman/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1259 -0
  87. package/srcoman/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1049 -0
  88. package/srcoman/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1040 -0
  89. package/srcoman/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1263 -0
  90. package/srcoman/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
  91. package/srcoman/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +894 -0
  92. package/srcoman/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +831 -0
  93. package/srcoman/TabexComponents/Headers/Header4/Header4.jsx +622 -0
  94. package/srcoman/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
  95. package/srcoman/TabexComponents/Headers/Header8/Header8.jsx +1976 -0
  96. package/srcoman/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +776 -0
  97. package/srcoman/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +927 -0
  98. package/srcoman/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +704 -0
  99. package/srcoman/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
  100. package/srcoman/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +953 -0
  101. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1562 -0
  102. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
  103. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
  104. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
  105. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +1610 -0
  106. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
  107. package/srcoman/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +934 -0
  108. package/srcoman/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +78 -0
  109. package/srcoman/TabexComponents/Headers/Modernheader/Modernheader.jsx +972 -0
  110. package/srcoman/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
  111. package/srcoman/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1159 -0
  112. package/srcoman/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +1073 -0
  113. package/srcoman/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +133 -0
  114. package/srcoman/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
  115. package/srcoman/TabexComponents/Headers/Subheader/Subheader.jsx +863 -0
  116. package/srcoman/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
  117. package/srcoman/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
  118. package/srcoman/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
  119. package/srcoman/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1042 -0
  120. package/srcoman/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1089 -0
  121. package/srcoman/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +936 -0
  122. package/srcoman/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
  123. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
  124. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +870 -0
  125. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
  126. package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
  127. package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
  128. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
  129. package/srcoman/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
  130. package/srcoman/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +393 -0
  131. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
  132. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
  133. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +627 -0
  134. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
  135. package/srcoman/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
  136. package/srcoman/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
  137. package/srcoman/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +288 -0
  138. package/srcoman/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +117 -0
  139. package/srcoman/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
  140. package/srcoman/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
  141. package/srcoman/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +462 -0
  142. package/srcoman/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
  143. package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
  144. package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +617 -0
  145. package/srcoman/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +408 -0
  146. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
  147. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
  148. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
  149. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1898 -0
  150. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
  151. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
  152. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
  153. package/srcoman/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
  154. package/srcoman/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
  155. package/srcoman/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  156. package/srcoman/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +929 -0
  157. package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
  158. package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +962 -0
  159. package/srcoman/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +582 -0
  160. package/srcoman/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  161. package/srcoman/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
  162. package/srcoman/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
  163. package/srcoman/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
  164. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
  165. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +437 -0
  166. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
  167. package/srcoman/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
  168. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1769 -0
  169. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
  170. package/srcoman/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
  171. package/srcoman/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +380 -0
  172. package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +867 -0
  173. package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
  174. package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
  175. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
  176. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  177. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +520 -0
  178. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
  179. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +643 -0
  180. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
  181. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
  182. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
  183. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
  184. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
  185. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +619 -0
  186. package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
  187. package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +614 -0
  188. package/srcoman/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
  189. package/srcoman/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
  190. package/srcoman/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
  191. package/srcoman/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
  192. package/srcoman/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +797 -0
  193. package/srcoman/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
  194. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
  195. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout.jsx +1892 -0
  196. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
  197. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
  198. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
  199. package/srcoman/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
  200. package/srcoman/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
  201. package/srcoman/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
  202. package/srcoman/TabexComponents/StaticPages/Filter/Filter.jsx +2771 -0
  203. package/srcoman/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
  204. package/srcoman/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
  205. package/srcoman/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
  206. package/srcoman/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
  207. package/srcoman/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
  208. package/srcoman/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
  209. package/srcoman/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  210. package/srcoman/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  211. package/srcoman/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
  212. package/srcoman/TabexComponents/StaticPages/Login/Login.jsx +610 -0
  213. package/srcoman/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +172 -0
  214. package/srcoman/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1584 -0
  215. package/srcoman/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
  216. package/srcoman/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
  217. package/srcoman/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
  218. package/srcoman/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
  219. package/srcoman/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +255 -0
  220. package/srcoman/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +176 -0
  221. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
  222. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +92 -0
  223. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +312 -0
  224. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
  225. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1983 -0
  226. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
  227. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
  228. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
  229. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
  230. package/srcoman/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1946 -0
  231. package/srcoman/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +1037 -0
  232. package/srcoman/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +966 -0
  233. package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +632 -0
  234. package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
  235. package/srcoman/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  236. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
  237. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
  238. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
  239. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
  240. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
  241. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
  242. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
  243. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
  244. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
  245. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
  246. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
  247. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
  248. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +919 -0
  249. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
  250. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
  251. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
  252. package/srcoman/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
  253. package/srcoman/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
  254. package/srcoman/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +359 -0
  255. package/srcoman/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
  256. package/srcoman/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
  257. package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
  258. package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1364 -0
  259. package/srcoman/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
  260. package/srcoman/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
  261. package/srcoman/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
  262. package/srcoman/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
  263. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
  264. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
  265. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
  266. package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
  267. package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
  268. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
  269. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
  270. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
  271. package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
  272. package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
  273. package/srcoman/button.jsx +40 -0
  274. package/srcoman/index.jsx +334 -0
  275. package/srcoman/styles/Home.module.css +129 -0
  276. package/srcoman/styles/cards/Categorcycard_fullimage.module.css +14 -0
  277. package/srcoman/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  278. package/srcoman/styles/cards/Categorycard_withshapes.module.css +189 -0
  279. package/srcoman/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  280. package/srcoman/styles/cards/Productcard6.module.css +9 -0
  281. package/srcoman/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  282. package/srcoman/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  283. package/srcoman/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  284. package/srcoman/styles/cards/card23.module.css +60 -0
  285. package/srcoman/styles/cards/categorycard.module.css +84 -0
  286. package/srcoman/styles/cards/categorycard3.module.css +50 -0
  287. package/srcoman/styles/cards/categorycardwithtext.module.css +40 -0
  288. package/srcoman/styles/cards/generalCardsStyles.module.css +79 -0
  289. package/srcoman/styles/cards/productcard_animatedbuttons.module.css +139 -0
  290. package/srcoman/styles/cards/productcard_with_textonhover.module.css +18 -0
  291. package/srcoman/styles/cards/productcard_withtextonimage.module.css +0 -0
  292. package/srcoman/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  293. package/srcoman/styles/general/bootstrap.css +4763 -0
  294. package/srcoman/styles/general/dropdown.css +206 -0
  295. package/srcoman/styles/general/editorbardropdown.module.css +94 -0
  296. package/srcoman/styles/general/filter.module.css +108 -0
  297. package/srcoman/styles/general/form.module.css +255 -0
  298. package/srcoman/styles/general/general.module.css +872 -0
  299. package/srcoman/styles/general/image-gallery.css +531 -0
  300. package/srcoman/styles/general/react-accessible-accordion.module.css +52 -0
  301. package/srcoman/styles/general/react-phone-input-2.module.css +927 -0
  302. package/srcoman/styles/general/scrollbtn.module.css +22 -0
  303. package/srcoman/styles/general/slick.module.css +166 -0
  304. package/srcoman/styles/general/tabs.module.css +119 -0
  305. package/srcoman/styles/general/workplaceeditor.module.css +328 -0
  306. package/srcoman/styles/globals.css +26 -0
  307. package/srcoman/styles/headers/CTAHeader.module.css +40 -0
  308. package/srcoman/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  309. package/srcoman/styles/headers/Gotoheader.module.css +87 -0
  310. package/srcoman/styles/headers/Header7.module.css +50 -0
  311. package/srcoman/styles/headers/HeaderWithAdSlider.module.css +86 -0
  312. package/srcoman/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  313. package/srcoman/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  314. package/srcoman/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  315. package/srcoman/styles/headers/NewHeader.module.css +101 -0
  316. package/srcoman/styles/headers/SearchFocusedHeader.module.css +62 -0
  317. package/srcoman/styles/headers/Sideheader.module.css +108 -0
  318. package/srcoman/styles/headers/Simpleheader.module.css +102 -0
  319. package/srcoman/styles/headers/classicheader.module.css +16 -0
  320. package/srcoman/styles/headers/classicheaderstyles.module.css +9 -0
  321. package/srcoman/styles/headers/dropdown.css +0 -0
  322. package/srcoman/styles/headers/header4.module.css +175 -0
  323. package/srcoman/styles/headers/header5.module.css +30 -0
  324. package/srcoman/styles/headers/header_contactinfo.module.css +53 -0
  325. package/srcoman/styles/headers/headerresturant.module.css +89 -0
  326. package/srcoman/styles/headers/modernheader.module.css +45 -0
  327. package/srcoman/styles/headers/stylishheader.module.css +24 -0
  328. package/srcoman/styles/headers/subheader.module.css +114 -0
  329. package/srcoman/styles/headers/threetieredheader.module.css +91 -0
  330. package/srcoman/styles/sections/BackgroundImageWithTopContent.css +4 -0
  331. package/srcoman/styles/sections/Backgroundimage1.module.css +17 -0
  332. package/srcoman/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  333. package/srcoman/styles/sections/Freetext.module.css +18 -0
  334. package/srcoman/styles/sections/Section_with_rightbgcont.module.css +49 -0
  335. package/srcoman/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  336. package/srcoman/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  337. package/srcoman/styles/staticpages/accordion.module.css +9 -0
  338. package/srcoman/styles/staticpages/cart.module.css +108 -0
  339. package/srcoman/styles/staticpages/dropdown.css +196 -0
  340. package/srcoman/styles/staticpages/filter.module.css +139 -0
  341. package/srcoman/styles/staticpages/image-gallery.css +481 -0
  342. package/srcoman/styles/staticpages/login.module.css +155 -0
  343. package/srcoman/styles/staticpages/productinfo.module.css +54 -0
  344. package/srcoman/styles/staticpages/shop.module.css +191 -0
  345. package/srcoman/styles/staticpages/signup.module.css +250 -0
  346. package/srcoman/styles/staticpages/staticroutersidenav.module.css +129 -0
  347. package/srcoman/styles/staticpages/viewcart.module.css +129 -0
  348. package/srcoman/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,1217 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { Slide } from 'react-slideshow-image';
3
+ import { css } from 'glamor';
4
+ import { Imagekitimagecomp } from '../../../../Imagekitconfig.jsx';
5
+
6
+ import { IoIosArrowRoundForward } from '@react-icons/all-files/io/IoIosArrowRoundForward';
7
+ import { IoIosArrowRoundBack } from '@react-icons/all-files/io/IoIosArrowRoundBack';
8
+ import { BsChevronLeft } from '@react-icons/all-files/bs/BsChevronLeft';
9
+ import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
10
+
11
+ const Slideshowslide = (props) => {
12
+ const [sectionproperties, setsectionproperties] = useState('');
13
+ const [bgimagearrayofobjs, setbgimagearrayofobjs] = useState([]);
14
+ const [collectionbg, setcollectionbg] = useState([]);
15
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
16
+ const lang = props.actions.lang;
17
+ const langdetect = props.actions.langdetect;
18
+ const routingcountext = props.actions.routingcountext;
19
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
20
+ const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
21
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
22
+
23
+ const [showdownheadermenu, setshowdownheadermenu] = useState(false);
24
+ const [Choosenindex, setChoosenindex] = useState('');
25
+ const authdetailsContext = props.actions.authdetailsContext;
26
+ const [pcollarray, setpcollarray] = useState([]);
27
+ useEffect(() => {
28
+ var temppcollarray = [...pcollarray];
29
+ authdetailsContext?.instinfo?.instcategories?.forEach(function (arrayItem) {
30
+ arrayItem?.parentcolletions?.forEach(function (item) {
31
+ temppcollarray.push(item);
32
+ });
33
+ });
34
+ setpcollarray([...temppcollarray]);
35
+ }, []);
36
+ useEffect(() => {
37
+ var secpropobj = {};
38
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
39
+ if (sectionitem.sectionid == props.sectionidprops) {
40
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
41
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
42
+ });
43
+ }
44
+ });
45
+ setsectionproperties({ ...secpropobj });
46
+ }, [StatePagePropertiesContext]);
47
+ useEffect(() => {
48
+ if (sectionproperties.length != 0 && sectionproperties.slideshowarrayofobj != undefined) {
49
+ var bg_arrayofobjsparsed = JSON.parse(sectionproperties.slideshowarrayofobj);
50
+ if (Array.isArray(bg_arrayofobjsparsed)) {
51
+ setbgimagearrayofobjs([...bg_arrayofobjsparsed]);
52
+ }
53
+ }
54
+ if (sectionproperties.length != 0 && sectionproperties.collectionDropdownBg != undefined) {
55
+ var collectionbgparsed = JSON.parse(sectionproperties.collectionDropdownBg);
56
+ if (Array.isArray(collectionbgparsed)) {
57
+ setcollectionbg([...collectionbgparsed]);
58
+ }
59
+ }
60
+ }, [sectionproperties]);
61
+ const Slideshowsettings = {
62
+ indicators: false,
63
+ arrows: false,
64
+ pauseOnHover: false,
65
+ scale: 1.4,
66
+ };
67
+ const slideshow_styles = {
68
+ imgcontainer: css({
69
+ ':before': {
70
+ width: '100%',
71
+ height: '100%',
72
+ background: 'rgba(0,0,0,0.8)',
73
+ zIndex: 1,
74
+ position: 'absolute',
75
+ content: 's',
76
+ fontSize: 0,
77
+ left: 0,
78
+ right: 0,
79
+ top: 0,
80
+ bottom: 0,
81
+ },
82
+ }),
83
+ slideshow_btn: css({
84
+ zIndex: 1000,
85
+ height: sectionproperties.generalbtn_height + 'px',
86
+ width: sectionproperties.generalbtn_width + 'px',
87
+ background: sectionproperties.generalbtn_bgColor,
88
+ color: sectionproperties.generalbtn_textColor,
89
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
90
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
91
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
92
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
93
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
94
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
95
+ textTransform: sectionproperties.generalbtn_texttransform,
96
+ fontWeight: sectionproperties.generalbtn_fontweight,
97
+ transition: '.3s',
98
+ ':hover': {
99
+ background: sectionproperties.generalbtn_bgColoronhover,
100
+ color: sectionproperties.generalbtn_textColoronhover,
101
+ },
102
+ }),
103
+ categoryname: css({
104
+ color: sectionproperties.subheader_categorytitle_fontColor,
105
+ fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
106
+ textTransform: sectionproperties.subheader_categorytitle_textTransform,
107
+ fontWeight: sectionproperties.subheader_categorytitle_textfontweight,
108
+ transition: '.3s',
109
+ ':hover': {
110
+ color: sectionproperties.subheader_categorytitle_coloronhover,
111
+ },
112
+ }),
113
+ parentcollection: css({
114
+ color: sectionproperties.subheader_collectiontitle_fontColor,
115
+ fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
116
+ textTransform: sectionproperties.subheader_collectiontitle_textTransform,
117
+ fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
118
+ transition: '.3s',
119
+ ':hover': {
120
+ color: sectionproperties.subheader_collectiontitle_coloronhover,
121
+ },
122
+ }),
123
+ collectionName: css({
124
+ color: sectionproperties.collectionsectiontextcolor,
125
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
126
+ textTransform: sectionproperties.collectionsectiontexttransform,
127
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
128
+ transition: '.3s',
129
+ ':hover': {
130
+ color: sectionproperties.collectionsectiontextcoloronhover,
131
+ },
132
+ }),
133
+ dropdowntitle: css({
134
+ color: sectionproperties.collectionssectiontitlecolor,
135
+ fontSize: sectionproperties.collectionssectiontitlefontsize + 'px',
136
+ fontWeight: sectionproperties.collectionssectiontitlefonteweight,
137
+ textTransform: sectionproperties.collectionssectiontitletexttransfrom,
138
+ backgroundColor: sectionproperties.collectionssectiontitlebgcolor,
139
+ }),
140
+ };
141
+ const SlideShowTextContainer = (item) => {
142
+ return (
143
+ <div
144
+ class={'row m-0 w-100 pl-md-2 pr-md-2'}
145
+ style={{
146
+ position: 'absolute',
147
+ top: '40%',
148
+ zIndex: 1000,
149
+ paddingTop: sectionproperties.paddingTop + 'px',
150
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
151
+ paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px',
152
+ }}
153
+ >
154
+ <div
155
+ class={'col-lg-12 d-flex justify-content-start'}
156
+ style={{
157
+ textAlign: 'center',
158
+ }}
159
+ >
160
+ <p
161
+ className="m-0 p-0 wordbreak PacificoFont"
162
+ style={{
163
+ fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
164
+ color: sectionproperties.slideshowText1ContentColor,
165
+ fontWeight: sectionproperties.slideshowText1ContentFontWeight,
166
+ }}
167
+ >
168
+ {langdetect == 'en' ? item.titleen : item.titlear}
169
+ </p>
170
+ </div>
171
+ <div class={'col-lg-12 d-flex justify-content-start'}>
172
+ <p
173
+ className="m-0 p-0 wordbreak"
174
+ style={{
175
+ fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
176
+ color: sectionproperties.slideshowText2ContentColor,
177
+ fontWeight: sectionproperties.slideshowText2ContentFontWeight,
178
+ }}
179
+ >
180
+ {langdetect == 'en' ? item.descriptionen : item.descriptionar}
181
+ </p>
182
+ </div>
183
+ {sectionproperties.generalbtn_show == 'Show' && (
184
+ <div class={'col-lg-12 d-flex justify-content-start mt-3'}>
185
+ <button
186
+ class={`${slideshow_styles.slideshow_btn}` + ' allcentered '}
187
+ style={{
188
+ letterSpacing: langdetect == 'en' ? '1px' : 0,
189
+ }}
190
+ onClick={() => {
191
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
192
+ }}
193
+ >
194
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}{' '}
195
+ {langdetect == 'en' ? <IoIosArrowRoundForward size={20} /> : <IoIosArrowRoundBack size={20} />}
196
+ </button>
197
+ </div>
198
+ )}
199
+ </div>
200
+ );
201
+ };
202
+ const SlideshowContent = () => {
203
+ return (
204
+ <div class="col-lg-12 p-0">
205
+ <div class="row m-0 w-100">
206
+ {sectionproperties.collectionssectionshow == 'Show' && (
207
+ <div class="col-lg-2 d-md-none">
208
+ <div
209
+ class="row m-0 w-100"
210
+ style={{
211
+ background: sectionproperties.collectionssectionbgcolor,
212
+ boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor,
213
+ }}
214
+ >
215
+ <div class="col-lg-12 p-0">
216
+ <div class="row m-0 w-100">
217
+ <div
218
+ className={slideshow_styles.dropdowntitle + ' col-lg-12 p-0 d-flex '}
219
+ style={{
220
+ justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start',
221
+ }}
222
+ >
223
+ <p
224
+ className="m-0 p-3 w-100 d-flex"
225
+ style={{
226
+ justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start',
227
+ }}
228
+ >
229
+ {langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear}
230
+ </p>
231
+ </div>
232
+ <div class="col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2" style={{ height: sectionproperties.height + 'vh', overflowY: 'scroll' }}>
233
+ {sectionproperties.fetchparenttype == 'Categories' &&
234
+ authdetailsContext?.instinfo?.instcategories?.map((item, index) => (
235
+ <div
236
+ class={slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer '}
237
+ onMouseEnter={() => {
238
+ setshowdownheadermenu(true);
239
+ setChoosenindex(index);
240
+ }}
241
+ >
242
+ <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
243
+ <p
244
+ class={' m-0 p-0 wordbreak wordbreak1 '}
245
+ onClick={() => {
246
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
247
+ }}
248
+ >
249
+ {langdetect == 'en' ? item.title_en : item.title_ar}
250
+ </p>
251
+ </div>
252
+ <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
253
+ <i className={' p-0 h-100 allcentered '}>
254
+ {langdetect == 'en' ? (
255
+ <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
256
+ ) : (
257
+ <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
258
+ )}
259
+ </i>
260
+ </div>
261
+ {index != authdetailsContext?.instinfo?.instcategories - 1 && (
262
+ <div className="col-lg-12 p-0 mt-3 mb-3">
263
+ <hr class="m-0" />
264
+ </div>
265
+ )}
266
+ </div>
267
+ ))}
268
+ {sectionproperties.fetchparenttype == 'Parent Collections' &&
269
+ pcollarray?.map((item, index) => {
270
+ if (item.isshowntocustomers == 1) {
271
+ return (
272
+ <div
273
+ class={slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer '}
274
+ onMouseEnter={() => {
275
+ setshowdownheadermenu(true);
276
+ setChoosenindex(index);
277
+ }}
278
+ >
279
+ <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
280
+ <p
281
+ class={' m-0 p-0 wordbreak wordbreak1 '}
282
+ onClick={() => {
283
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
284
+ }}
285
+ >
286
+ {langdetect == 'en' ? item.title_en : item.title_ar}
287
+ </p>
288
+ </div>
289
+ <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
290
+ <i className={' p-0 h-100 allcentered '}>
291
+ {langdetect == 'en' ? (
292
+ <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
293
+ ) : (
294
+ <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
295
+ )}
296
+ </i>
297
+ </div>
298
+ {index != pcollarray - 1 && (
299
+ <div className="col-lg-12 p-0 mt-3 mb-3">
300
+ <hr class="m-0" />
301
+ </div>
302
+ )}
303
+ </div>
304
+ );
305
+ }
306
+ })}
307
+ {sectionproperties.fetchparenttype == 'Collections' &&
308
+ authdetailsContext?.instinfo?.instcollections.map((item, index) => {
309
+ if (item.isshowntocustomers == 1) {
310
+ return (
311
+ <div
312
+ class={slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer '}
313
+ onMouseEnter={() => {
314
+ setshowdownheadermenu(true);
315
+ setChoosenindex(index);
316
+ }}
317
+ >
318
+ <div className={' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '}>
319
+ {sectionproperties.showcatimage == 'Show' && (
320
+ <div
321
+ style={{
322
+ width: '4.5vh',
323
+ height: '4.5vh',
324
+ marginRight: langdetect == 'en' ? '5px' : 0,
325
+ marginLeft: langdetect == 'ar' ? '5px' : 0,
326
+ }}
327
+ >
328
+ <Imagekitimagecomp
329
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
330
+ publicKey={ikimagecredcontext?.ikimagepublickey}
331
+ path={item.collectionlogo}
332
+ loading="lazy"
333
+ style={{
334
+ width: '100%',
335
+ height: '100%',
336
+ objectFit: 'contain',
337
+ }}
338
+ />
339
+ </div>
340
+ )}
341
+ <p
342
+ class={' m-0 p-0 wordbreak wordbreak1 '}
343
+ onClick={() => {
344
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
345
+ }}
346
+ >
347
+ {langdetect == 'en' ? item.title_en : item.title_ar}
348
+ </p>
349
+ </div>
350
+ {index != pcollarray - 1 && (
351
+ <div className="col-lg-12 p-0 mt-3 mb-3">
352
+ <hr class="m-0" />
353
+ </div>
354
+ )}
355
+ </div>
356
+ );
357
+ }
358
+ })}
359
+ </div>
360
+ {sectionproperties.fetchparenttype == 'Categories' &&
361
+ Choosenindex.length != 0 &&
362
+ authdetailsContext?.instinfo?.instcategories[Choosenindex]?.parentcolletions?.length != 0 && (
363
+ <div
364
+ class={langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar'}
365
+ style={{
366
+ minHeight: sectionproperties.height + 'vh',
367
+ }}
368
+ onMouseLeave={() => {
369
+ setChoosenindex('');
370
+ }}
371
+ >
372
+ <div class="row m-0 w-100">
373
+ {authdetailsContext?.instinfo?.instcategories[Choosenindex]?.parentcolletions?.map((item, index) => (
374
+ <div class="col-lg-4 p-0">
375
+ <p
376
+ class={slideshow_styles.parentcollection + ' m-0 p-0 mb-3 cursor-pointer wordbreak wordbreak2 '}
377
+ onClick={() => {
378
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
379
+ }}
380
+ style={{
381
+ textAlign: langdetect == 'en' ? 'left' : 'right',
382
+ }}
383
+ >
384
+ {langdetect == 'en' ? item.title_en : item.title_ar}
385
+ </p>
386
+ {item?.collections?.map((item, index) => (
387
+ <div class="col-lg-12 pl-1 pr-1">
388
+ <p
389
+ class={slideshow_styles.collectionName + ' cursor-pointer wordbreak wordbreak2 mb-1 '}
390
+ onClick={() => {
391
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
392
+ }}
393
+ style={{
394
+ textAlign: langdetect == 'en' ? 'left' : 'right',
395
+ }}
396
+ >
397
+ {langdetect == 'en' ? item.title_en : item.title_ar}
398
+ </p>
399
+ </div>
400
+ ))}
401
+ </div>
402
+ ))}
403
+ </div>
404
+ </div>
405
+ )}
406
+ {sectionproperties.fetchparenttype == 'Parent Collections' && Choosenindex.length != 0 && (
407
+ <div
408
+ class={langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar'}
409
+ style={{
410
+ minHeight: sectionproperties.height + 'vh',
411
+ }}
412
+ onMouseLeave={() => {
413
+ setChoosenindex('');
414
+ }}
415
+ >
416
+ <div class="row m-0 w-100">
417
+ {authdetailsContext?.instinfo?.instcategories[0]?.parentcolletions[Choosenindex]?.collections?.map((item, index) => (
418
+ <div
419
+ class="col-lg-4 p-0"
420
+ onClick={() => {
421
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
422
+ }}
423
+ >
424
+ <div class="col-lg-12 pl-1 pr-1">
425
+ <p
426
+ class={slideshow_styles.collectionName + ' cursor-pointer wordbreak wordbreak2 mb-1 '}
427
+ style={{
428
+ textAlign: langdetect == 'en' ? 'left' : 'right',
429
+ }}
430
+ >
431
+ {langdetect == 'en' ? item.title_en : item.title_ar}
432
+ </p>
433
+ </div>
434
+ </div>
435
+ ))}
436
+ </div>
437
+ </div>
438
+ )}
439
+ </div>
440
+ </div>
441
+ </div>
442
+ </div>
443
+ )}
444
+ <div
445
+ class={
446
+ sectionproperties.collectionssectionshow == 'Show'
447
+ ? 'col-lg-10 col-md-12 col-sm-12 p-0 d-flex justify-content-center h-sm-auto'
448
+ : 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'
449
+ }
450
+ style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
451
+ >
452
+ <div
453
+ class={sectionproperties.width == '100' ? 'h-sm-auto' : 'h-sm-auto w-sm-100'}
454
+ style={{
455
+ position: 'relative',
456
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
457
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
458
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
459
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
460
+ width: sectionproperties.width + 'vw',
461
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
462
+ overflow: 'hidden',
463
+ }}
464
+ >
465
+ <Slide {...Slideshowsettings} transitionDuration={1500} duration={1500} arrow={true} easing="ease">
466
+ {Object.keys(bgimagearrayofobjs).length != 0 &&
467
+ bgimagearrayofobjs.map((item, index) => {
468
+ return (
469
+ <div
470
+ class="row m-0 w-100 h-sm-auto"
471
+ style={{
472
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
473
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
474
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
475
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
476
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
477
+ }}
478
+ >
479
+ <div
480
+ class={'p-0 align-items-center d-flex d-sm-none'}
481
+ key={index}
482
+ onClick={() => {
483
+ if (item.IsClickableimg == 'Yes') {
484
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
485
+ routingcountext(item.clickableimg_page_route, false, '');
486
+ } else {
487
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
488
+ }
489
+ }
490
+ }}
491
+ style={{
492
+ direction: langdetect == 'en' ? 'ltr' : 'rtl',
493
+ width: '100%',
494
+ height: '100%',
495
+ paddingTop: sectionproperties.paddingTop + 'px',
496
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
497
+ }}
498
+ >
499
+ <Imagekitimagecomp
500
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
501
+ publicKey={ikimagecredcontext?.ikimagepublickey}
502
+ path={
503
+ langdetect == 'en'
504
+ ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imageen
505
+ : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imagear
506
+ }
507
+ style={{
508
+ cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
509
+ objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
510
+ margin: 0,
511
+ padding: 0,
512
+ width: '100%',
513
+ height: '100%',
514
+ }}
515
+ />
516
+ {SlideShowTextContainer(item)}
517
+ </div>
518
+ <div
519
+ class={'p-0 align-items-center d-none d-sm-flex '}
520
+ key={index}
521
+ style={{
522
+ width: '100%',
523
+ height: '100%',
524
+ direction: langdetect == 'en' ? 'ltr' : 'rtl',
525
+ paddingTop: sectionproperties.paddingTop + 'px',
526
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
527
+ paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px',
528
+ }}
529
+ >
530
+ <Imagekitimagecomp
531
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
532
+ publicKey={ikimagecredcontext?.ikimagepublickey}
533
+ path={
534
+ langdetect == 'en'
535
+ ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_en
536
+ : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_ar
537
+ }
538
+ style={{
539
+ objectFit: 'contain',
540
+ margin: 0,
541
+ padding: 0,
542
+ width: '100%',
543
+ height: '100%',
544
+ }}
545
+ />
546
+ {SlideShowTextContainer(item)}
547
+ </div>
548
+ </div>
549
+ );
550
+ })}
551
+ </Slide>
552
+ </div>
553
+ </div>
554
+ </div>
555
+ </div>
556
+ );
557
+ };
558
+ return (
559
+ <div
560
+ class={
561
+ sectionproperties.collectionssectionshow == 'Show'
562
+ ? 'row ml-0 mr-0 w-100 d-flex justify-content-center px-1025-1 pl-md-2 pr-md-2'
563
+ : sectionproperties.width == '100'
564
+ ? 'row ml-0 mr-0 w-100 d-flex justify-content-center'
565
+ : 'row ml-0 mr-0 w-100 d-flex justify-content-center px-1025-1 pl-md-2 pr-md-2'
566
+ }
567
+ style={{
568
+ paddingBottom: sectionproperties.marginBottom + 'px',
569
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
570
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
571
+ background: sectionproperties.backgroundColor,
572
+ }}
573
+ onMouseEnter={() => {
574
+ setChoosenindex('');
575
+ }}
576
+ >
577
+ <div class="col-lg-12 p-0">
578
+ <div
579
+ class="row m-0 w-100 d-flex d-md-none"
580
+ style={{
581
+ paddingTop: sectionproperties.marginTop + 'px',
582
+ }}
583
+ onMouseLeave={() => {
584
+ setChoosenindex('');
585
+ }}
586
+ >
587
+ {SlideshowContent()}
588
+ </div>
589
+ <div
590
+ class="row m-0 w-100 d-none d-md-flex"
591
+ style={{
592
+ paddingTop: sectionproperties.marginTopResp + 'px',
593
+ }}
594
+ onMouseLeave={() => {
595
+ setChoosenindex('');
596
+ }}
597
+ >
598
+ {SlideshowContent()}
599
+ </div>
600
+ </div>
601
+ </div>
602
+ );
603
+ };
604
+ export default Slideshowslide;
605
+
606
+ // import React, { useEffect, useState, useContext } from 'react';
607
+ // import { Slide } from 'react-slideshow-image';
608
+ // import { css } from 'glamor';
609
+ // import { Imagekitimagecomp } from '../../../../Imagekitconfig.jsx';
610
+
611
+ // import { IoIosArrowRoundForward } from '@react-icons/all-files/io/IoIosArrowRoundForward';
612
+ // import { IoIosArrowRoundBack } from '@react-icons/all-files/io/IoIosArrowRoundBack';
613
+ // import { BsChevronLeft } from '@react-icons/all-files/bs/BsChevronLeft';
614
+ // import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
615
+
616
+ // const Slideshowslide = (props) => {
617
+ // const [sectionproperties, setsectionproperties] = useState('');
618
+ // const [bgimagearrayofobjs, setbgimagearrayofobjs] = useState([]);
619
+ // const [collectionbg, setcollectionbg] = useState([]);
620
+ // const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
621
+ // const lang = props.actions.lang;
622
+ // const langdetect = props.actions.langdetect;
623
+ // const routingcountext = props.actions.routingcountext;
624
+ // const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
625
+ // const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
626
+ // const ikimagecredcontext = props.actions.ikimagecredcontext;
627
+
628
+ // const [showdownheadermenu, setshowdownheadermenu] = useState(false);
629
+ // const [Choosenindex, setChoosenindex] = useState('');
630
+ // const authdetailsContext = props.actions.authdetailsContext;
631
+ // const [pcollarray, setpcollarray] = useState([]);
632
+ // useEffect(() => {
633
+ // var temppcollarray = [...pcollarray];
634
+ // authdetailsContext?.instinfo?.instcategories?.forEach(function (arrayItem) {
635
+ // arrayItem?.parentcolletions?.forEach(function (item) {
636
+ // temppcollarray.push(item);
637
+ // });
638
+ // });
639
+ // setpcollarray([...temppcollarray]);
640
+ // }, []);
641
+ // useEffect(() => {
642
+ // var secpropobj = {};
643
+ // StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
644
+ // if (sectionitem.sectionid == props.sectionidprops) {
645
+ // sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
646
+ // secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
647
+ // });
648
+ // }
649
+ // });
650
+ // setsectionproperties({ ...secpropobj });
651
+ // }, [StatePagePropertiesContext]);
652
+ // useEffect(() => {
653
+ // if (sectionproperties.length != 0 && sectionproperties.slideshowarrayofobj != undefined) {
654
+ // var bg_arrayofobjsparsed = JSON.parse(sectionproperties.slideshowarrayofobj);
655
+ // if (Array.isArray(bg_arrayofobjsparsed)) {
656
+ // setbgimagearrayofobjs([...bg_arrayofobjsparsed]);
657
+ // }
658
+ // }
659
+ // if (sectionproperties.length != 0 && sectionproperties.collectionDropdownBg != undefined) {
660
+ // var collectionbgparsed = JSON.parse(sectionproperties.collectionDropdownBg);
661
+ // if (Array.isArray(collectionbgparsed)) {
662
+ // setcollectionbg([...collectionbgparsed]);
663
+ // }
664
+ // }
665
+ // }, [sectionproperties]);
666
+ // const Slideshowsettings = {
667
+ // indicators: false,
668
+ // arrows: false,
669
+ // pauseOnHover: false,
670
+ // scale: 1.4,
671
+ // };
672
+ // const slideshow_styles = {
673
+ // imgcontainer: css({
674
+ // ':before': {
675
+ // width: '100%',
676
+ // height: '100%',
677
+ // background: 'rgba(0,0,0,0.8)',
678
+ // zIndex: 1,
679
+ // position: 'absolute',
680
+ // content: 's',
681
+ // fontSize: 0,
682
+ // left: 0,
683
+ // right: 0,
684
+ // top: 0,
685
+ // bottom: 0,
686
+ // },
687
+ // }),
688
+ // slideshow_btn: css({
689
+ // zIndex: 1000,
690
+ // height: sectionproperties.generalbtn_height + 'px',
691
+ // width: sectionproperties.generalbtn_width + 'px',
692
+ // background: sectionproperties.generalbtn_bgColor,
693
+ // color: sectionproperties.generalbtn_textColor,
694
+ // borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
695
+ // borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
696
+ // borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
697
+ // borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
698
+ // fontSize: sectionproperties.generalbtn_fontsize + 'px',
699
+ // lineHeight: sectionproperties.generalbtn_fontsize + 'px',
700
+ // textTransform: sectionproperties.generalbtn_texttransform,
701
+ // fontWeight: sectionproperties.generalbtn_fontweight,
702
+ // transition: '.3s',
703
+ // ':hover': {
704
+ // background: sectionproperties.generalbtn_bgColoronhover,
705
+ // color: sectionproperties.generalbtn_textColoronhover,
706
+ // },
707
+ // }),
708
+ // categoryname: css({
709
+ // color: sectionproperties.subheader_categorytitle_fontColor,
710
+ // fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
711
+ // textTransform: sectionproperties.subheader_categorytitle_textTransform,
712
+ // fontWeight: sectionproperties.subheader_categorytitle_textfontweight,
713
+ // transition: '.3s',
714
+ // ':hover': {
715
+ // color: sectionproperties.subheader_categorytitle_coloronhover,
716
+ // },
717
+ // }),
718
+ // parentcollection: css({
719
+ // color: sectionproperties.subheader_collectiontitle_fontColor,
720
+ // fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
721
+ // textTransform: sectionproperties.subheader_collectiontitle_textTransform,
722
+ // fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
723
+ // transition: '.3s',
724
+ // ':hover': {
725
+ // color: sectionproperties.subheader_collectiontitle_coloronhover,
726
+ // },
727
+ // }),
728
+ // collectionName: css({
729
+ // color: sectionproperties.collectionsectiontextcolor,
730
+ // fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
731
+ // textTransform: sectionproperties.collectionsectiontexttransform,
732
+ // fontWeight: sectionproperties.collectionsectiontextfontweight,
733
+ // transition: '.3s',
734
+ // ':hover': {
735
+ // color: sectionproperties.collectionsectiontextcoloronhover,
736
+ // },
737
+ // }),
738
+ // dropdowntitle: css({
739
+ // color: sectionproperties.collectionssectiontitlecolor,
740
+ // fontSize: sectionproperties.collectionssectiontitlefontsize + 'px',
741
+ // fontWeight: sectionproperties.collectionssectiontitlefonteweight,
742
+ // textTransform: sectionproperties.collectionssectiontitletexttransfrom,
743
+ // backgroundColor: sectionproperties.collectionssectiontitlebgcolor,
744
+ // }),
745
+ // };
746
+ // const SlideShowTextContainer = (item) => {
747
+ // return (
748
+ // <div
749
+ // class={'row m-0 w-100 pl-md-2 pr-md-2'}
750
+ // style={{
751
+ // position: 'absolute',
752
+ // top: '40%',
753
+ // zIndex: 1000,
754
+ // paddingTop: sectionproperties.paddingTop + 'px',
755
+ // paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
756
+ // paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px',
757
+ // }}
758
+ // >
759
+ // <div
760
+ // class={'col-lg-12 d-flex justify-content-start'}
761
+ // style={{
762
+ // textAlign: 'center',
763
+ // }}
764
+ // >
765
+ // <p
766
+ // className="m-0 p-0 wordbreak PacificoFont"
767
+ // style={{
768
+ // fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
769
+ // color: sectionproperties.slideshowText1ContentColor,
770
+ // fontWeight: sectionproperties.slideshowText1ContentFontWeight,
771
+ // }}
772
+ // >
773
+ // {langdetect == 'en' ? item.titleen : item.titlear}
774
+ // </p>
775
+ // </div>
776
+ // <div class={'col-lg-12 d-flex justify-content-start'}>
777
+ // <p
778
+ // className="m-0 p-0 wordbreak"
779
+ // style={{
780
+ // fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
781
+ // color: sectionproperties.slideshowText2ContentColor,
782
+ // fontWeight: sectionproperties.slideshowText2ContentFontWeight,
783
+ // }}
784
+ // >
785
+ // {langdetect == 'en' ? item.descriptionen : item.descriptionar}
786
+ // </p>
787
+ // </div>
788
+ // {sectionproperties.generalbtn_show == 'Show' && (
789
+ // <div class={'col-lg-12 d-flex justify-content-start mt-3'}>
790
+ // <button
791
+ // class={`${slideshow_styles.slideshow_btn}` + ' allcentered '}
792
+ // style={{
793
+ // letterSpacing: langdetect == 'en' ? '1px' : 0,
794
+ // }}
795
+ // onClick={() => {
796
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
797
+ // }}
798
+ // >
799
+ // {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}{' '}
800
+ // {langdetect == 'en' ? <IoIosArrowRoundForward size={20} /> : <IoIosArrowRoundBack size={20} />}
801
+ // </button>
802
+ // </div>
803
+ // )}
804
+ // </div>
805
+ // );
806
+ // };
807
+ // const SlideshowContent = () => {
808
+ // return (
809
+ // <div class="col-lg-12 p-0">
810
+ // <div class="row m-0 w-100">
811
+ // {sectionproperties.collectionssectionshow == 'Show' && (
812
+ // <div class="col-lg-2 d-md-none">
813
+ // <div
814
+ // class="row m-0 w-100"
815
+ // style={{
816
+ // background: sectionproperties.collectionssectionbgcolor,
817
+ // boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor,
818
+ // }}
819
+ // >
820
+ // <div class="col-lg-12 p-0">
821
+ // <div class="row m-0 w-100">
822
+ // <div
823
+ // className={slideshow_styles.dropdowntitle + ' col-lg-12 p-0 d-flex '}
824
+ // style={{
825
+ // justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start',
826
+ // }}
827
+ // >
828
+ // <p
829
+ // className="m-0 p-3 w-100 d-flex"
830
+ // style={{
831
+ // justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start',
832
+ // }}
833
+ // >
834
+ // {langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear}
835
+ // </p>
836
+ // </div>
837
+ // <div class="col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2" style={{ height: sectionproperties.height + 'vh', overflowY: 'scroll' }}>
838
+ // {sectionproperties.fetchparenttype == 'Categories' &&
839
+ // authdetailsContext?.instinfo?.instcategories?.map((item, index) => (
840
+ // <div
841
+ // class={slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer '}
842
+ // onMouseEnter={() => {
843
+ // setshowdownheadermenu(true);
844
+ // setChoosenindex(index);
845
+ // }}
846
+ // >
847
+ // <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
848
+ // <p
849
+ // class={' m-0 p-0 wordbreak wordbreak1 '}
850
+ // onClick={() => {
851
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
852
+ // }}
853
+ // >
854
+ // {langdetect == 'en' ? item.title_en : item.title_ar}
855
+ // </p>
856
+ // </div>
857
+ // <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
858
+ // <i className={' p-0 h-100 allcentered '}>
859
+ // {langdetect == 'en' ? (
860
+ // <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
861
+ // ) : (
862
+ // <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
863
+ // )}
864
+ // </i>
865
+ // </div>
866
+ // {index != authdetailsContext?.instinfo?.instcategories - 1 && (
867
+ // <div className="col-lg-12 p-0 mt-3 mb-3">
868
+ // <hr class="m-0" />
869
+ // </div>
870
+ // )}
871
+ // </div>
872
+ // ))}
873
+ // {sectionproperties.fetchparenttype == 'Parent Collections' &&
874
+ // pcollarray?.map((item, index) => {
875
+ // if (item.isshowntocustomers == 1) {
876
+ // return (
877
+ // <div
878
+ // class={slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer '}
879
+ // onMouseEnter={() => {
880
+ // setshowdownheadermenu(true);
881
+ // setChoosenindex(index);
882
+ // }}
883
+ // >
884
+ // <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
885
+ // <p
886
+ // class={' m-0 p-0 wordbreak wordbreak1 '}
887
+ // onClick={() => {
888
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
889
+ // }}
890
+ // >
891
+ // {langdetect == 'en' ? item.title_en : item.title_ar}
892
+ // </p>
893
+ // </div>
894
+ // <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
895
+ // <i className={' p-0 h-100 allcentered '}>
896
+ // {langdetect == 'en' ? (
897
+ // <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
898
+ // ) : (
899
+ // <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
900
+ // )}
901
+ // </i>
902
+ // </div>
903
+ // {index != pcollarray - 1 && (
904
+ // <div className="col-lg-12 p-0 mt-3 mb-3">
905
+ // <hr class="m-0" />
906
+ // </div>
907
+ // )}
908
+ // </div>
909
+ // );
910
+ // }
911
+ // })}
912
+ // {sectionproperties.fetchparenttype == 'Collections' &&
913
+ // authdetailsContext?.instinfo?.instcollections.map((item, index) => {
914
+ // if (item.isshowntocustomers == 1) {
915
+ // return (
916
+ // <div
917
+ // class={slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer '}
918
+ // onMouseEnter={() => {
919
+ // setshowdownheadermenu(true);
920
+ // setChoosenindex(index);
921
+ // }}
922
+ // >
923
+ // <div className={' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '}>
924
+ // {sectionproperties.showcatimage == 'Show' && (
925
+ // <div
926
+ // style={{
927
+ // width: '4.5vh',
928
+ // height: '4.5vh',
929
+ // marginRight: langdetect == 'en' ? '5px' : 0,
930
+ // marginLeft: langdetect == 'ar' ? '5px' : 0,
931
+ // }}
932
+ // >
933
+ // <Imagekitimagecomp
934
+ // urlEndpoint={ikimagecredcontext?.ikimageendpoint}
935
+ // publicKey={ikimagecredcontext?.ikimagepublickey}
936
+ // path={item.collectionlogo}
937
+ // loading="lazy"
938
+ // style={{
939
+ // width: '100%',
940
+ // height: '100%',
941
+ // objectFit: 'contain',
942
+ // }}
943
+ // />
944
+ // </div>
945
+ // )}
946
+ // <p
947
+ // class={' m-0 p-0 wordbreak wordbreak1 '}
948
+ // onClick={() => {
949
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
950
+ // }}
951
+ // >
952
+ // {langdetect == 'en' ? item.title_en : item.title_ar}
953
+ // </p>
954
+ // </div>
955
+ // {index != pcollarray - 1 && (
956
+ // <div className="col-lg-12 p-0 mt-3 mb-3">
957
+ // <hr class="m-0" />
958
+ // </div>
959
+ // )}
960
+ // </div>
961
+ // );
962
+ // }
963
+ // })}
964
+ // </div>
965
+ // {sectionproperties.fetchparenttype == 'Categories' &&
966
+ // Choosenindex.length != 0 &&
967
+ // authdetailsContext?.instinfo?.instcategories[Choosenindex]?.parentcolletions?.length != 0 && (
968
+ // <div
969
+ // class={langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar'}
970
+ // style={{
971
+ // minHeight: sectionproperties.height + 'vh',
972
+ // }}
973
+ // onMouseLeave={() => {
974
+ // setChoosenindex('');
975
+ // }}
976
+ // >
977
+ // <div class="row m-0 w-100">
978
+ // {authdetailsContext?.instinfo?.instcategories[Choosenindex]?.parentcolletions?.map((item, index) => (
979
+ // <div class="col-lg-4 p-0">
980
+ // <p
981
+ // class={slideshow_styles.parentcollection + ' m-0 p-0 mb-3 cursor-pointer wordbreak wordbreak2 '}
982
+ // onClick={() => {
983
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
984
+ // }}
985
+ // style={{
986
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
987
+ // }}
988
+ // >
989
+ // {langdetect == 'en' ? item.title_en : item.title_ar}
990
+ // </p>
991
+ // {item?.collections?.map((item, index) => (
992
+ // <div class="col-lg-12 pl-1 pr-1">
993
+ // <p
994
+ // class={slideshow_styles.collectionName + ' cursor-pointer wordbreak wordbreak2 mb-1 '}
995
+ // onClick={() => {
996
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
997
+ // }}
998
+ // style={{
999
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
1000
+ // }}
1001
+ // >
1002
+ // {langdetect == 'en' ? item.title_en : item.title_ar}
1003
+ // </p>
1004
+ // </div>
1005
+ // ))}
1006
+ // </div>
1007
+ // ))}
1008
+ // </div>
1009
+ // </div>
1010
+ // )}
1011
+ // {sectionproperties.fetchparenttype == 'Parent Collections' && Choosenindex.length != 0 && (
1012
+ // <div
1013
+ // class={langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar'}
1014
+ // style={{
1015
+ // minHeight: sectionproperties.height + 'vh',
1016
+ // }}
1017
+ // onMouseLeave={() => {
1018
+ // setChoosenindex('');
1019
+ // }}
1020
+ // >
1021
+ // <div class="row m-0 w-100">
1022
+ // {authdetailsContext?.instinfo?.instcategories[0]?.parentcolletions[Choosenindex]?.collections?.map((item, index) => (
1023
+ // <div
1024
+ // class="col-lg-4 p-0"
1025
+ // onClick={() => {
1026
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
1027
+ // }}
1028
+ // >
1029
+ // <div class="col-lg-12 pl-1 pr-1">
1030
+ // <p
1031
+ // class={slideshow_styles.collectionName + ' cursor-pointer wordbreak wordbreak2 mb-1 '}
1032
+ // style={{
1033
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
1034
+ // }}
1035
+ // >
1036
+ // {langdetect == 'en' ? item.title_en : item.title_ar}
1037
+ // </p>
1038
+ // </div>
1039
+ // </div>
1040
+ // ))}
1041
+ // </div>
1042
+ // </div>
1043
+ // )}
1044
+ // </div>
1045
+ // </div>
1046
+ // </div>
1047
+ // </div>
1048
+ // )}
1049
+ // <div
1050
+ // class={
1051
+ // sectionproperties.collectionssectionshow == 'Show'
1052
+ // ? 'col-lg-10 col-md-12 col-sm-12 p-0 d-flex justify-content-center h-sm-auto'
1053
+ // : 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'
1054
+ // }
1055
+ // style={{
1056
+ // // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
1057
+ // height: '20vh',
1058
+ // }}
1059
+ // >
1060
+ // <div
1061
+ // class={sectionproperties.width == '100' ? 'h-sm-auto' : 'h-sm-auto w-sm-100'}
1062
+ // style={{
1063
+ // position: 'relative',
1064
+ // borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
1065
+ // borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
1066
+ // borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
1067
+ // borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
1068
+ // width: sectionproperties.width + 'vw',
1069
+ // height: '20vh',
1070
+ // // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
1071
+ // overflow: 'hidden',
1072
+ // }}
1073
+ // >
1074
+ // <Slide {...Slideshowsettings} transitionDuration={1500} duration={1500} arrow={true} easing="ease">
1075
+ // {Object.keys(bgimagearrayofobjs).length != 0 &&
1076
+ // bgimagearrayofobjs.map((item, index) => {
1077
+ // return (
1078
+ // <div
1079
+ // class="row m-0 w-100 h-sm-auto"
1080
+ // style={{
1081
+ // borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
1082
+ // borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
1083
+ // borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
1084
+ // borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
1085
+ // // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
1086
+ // height: '20vh',
1087
+ // }}
1088
+ // >
1089
+ // <div
1090
+ // // d-sm-none
1091
+ // class={'p-0 align-items-center d-flex '}
1092
+ // key={index}
1093
+ // onClick={() => {
1094
+ // if (item.IsClickableimg == 'Yes') {
1095
+ // if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
1096
+ // routingcountext(item.clickableimg_page_route, false, '');
1097
+ // } else {
1098
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
1099
+ // }
1100
+ // }
1101
+ // }}
1102
+ // style={{
1103
+ // direction: langdetect == 'en' ? 'ltr' : 'rtl',
1104
+ // width: '100%',
1105
+ // height: '100%',
1106
+ // paddingTop: sectionproperties.paddingTop + 'px',
1107
+ // height: '20vh',
1108
+ // // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
1109
+ // }}
1110
+ // >
1111
+ // <Imagekitimagecomp
1112
+ // urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1113
+ // publicKey={ikimagecredcontext?.ikimagepublickey}
1114
+ // path={
1115
+ // langdetect == 'en'
1116
+ // ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imageen
1117
+ // : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imagear
1118
+ // }
1119
+ // style={{
1120
+ // cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
1121
+ // // objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
1122
+ // objectFit: 'cover',
1123
+ // margin: 0,
1124
+ // padding: 0,
1125
+ // width: '100%',
1126
+ // height: '100%',
1127
+ // }}
1128
+ // />
1129
+ // {SlideShowTextContainer(item)}
1130
+ // </div>
1131
+ // {/* <div
1132
+ // class={'p-0 align-items-center d-none d-sm-block '}
1133
+ // key={index}
1134
+ // style={{
1135
+ // width: '100%',
1136
+ // height: '100%',
1137
+ // direction: langdetect == 'en' ? 'ltr' : 'rtl',
1138
+ // paddingTop: sectionproperties.paddingTop + 'px',
1139
+ // paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
1140
+ // paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px',
1141
+ // }}
1142
+ // >
1143
+ // <Imagekitimagecomp
1144
+ // urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1145
+ // publicKey={ikimagecredcontext?.ikimagepublickey}
1146
+ // path={
1147
+ // langdetect == 'en'
1148
+ // ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_en
1149
+ // : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_ar
1150
+ // }
1151
+ // style={{
1152
+ // objectFit: 'cover',
1153
+ // margin: 0,
1154
+ // padding: 0,
1155
+ // width: '100%',
1156
+ // height: '100%',
1157
+ // }}
1158
+ // />
1159
+ // {SlideShowTextContainer(item)}
1160
+ // </div> */}
1161
+ // </div>
1162
+ // );
1163
+ // })}
1164
+ // </Slide>
1165
+ // </div>
1166
+ // </div>
1167
+ // </div>
1168
+ // </div>
1169
+ // );
1170
+ // };
1171
+ // return (
1172
+ // <div
1173
+ // class={
1174
+ // sectionproperties.collectionssectionshow == 'Show'
1175
+ // ? 'row ml-0 mr-0 w-100 d-flex justify-content-center px-1025-1 pl-md-2 pr-md-2'
1176
+ // : sectionproperties.width == '100'
1177
+ // ? 'row ml-0 mr-0 w-100 d-flex justify-content-center'
1178
+ // : 'row ml-0 mr-0 w-100 d-flex justify-content-center px-1025-1 pl-md-2 pr-md-2'
1179
+ // }
1180
+ // style={{
1181
+ // paddingBottom: sectionproperties.marginBottom + 'px',
1182
+ // paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
1183
+ // paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
1184
+ // background: sectionproperties.backgroundColor,
1185
+ // }}
1186
+ // onMouseEnter={() => {
1187
+ // setChoosenindex('');
1188
+ // }}
1189
+ // >
1190
+ // <div class="col-lg-12 p-0">
1191
+ // <div
1192
+ // class="row m-0 w-100 d-flex d-md-none"
1193
+ // style={{
1194
+ // paddingTop: sectionproperties.marginTop + 'px',
1195
+ // }}
1196
+ // onMouseLeave={() => {
1197
+ // setChoosenindex('');
1198
+ // }}
1199
+ // >
1200
+ // {SlideshowContent()}
1201
+ // </div>
1202
+ // <div
1203
+ // class="row m-0 w-100 d-none d-md-flex"
1204
+ // style={{
1205
+ // paddingTop: sectionproperties.marginTopResp + 'px',
1206
+ // }}
1207
+ // onMouseLeave={() => {
1208
+ // setChoosenindex('');
1209
+ // }}
1210
+ // >
1211
+ // {SlideshowContent()}
1212
+ // </div>
1213
+ // </div>
1214
+ // </div>
1215
+ // );
1216
+ // };
1217
+ // export default Slideshowslide;