tabexseriescomponents 0.0.655 → 0.0.657

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 (314) hide show
  1. package/dist/index.cjs.js +145 -566
  2. package/dist/index.esm.js +145 -566
  3. package/dist/index.umd.js +145 -566
  4. package/package.json +1 -1
  5. package/src 2.zip +0 -0
  6. package/src1-5.zip +0 -0
  7. package/src22-1/Contexts/LanguageContext.jsx +0 -405
  8. package/src22-1/Contexts/ProductsCardsSectionContext.jsx +0 -36
  9. package/src22-1/Imagekitconfig.jsx +0 -46
  10. package/src22-1/StylesJS/Customstyles.js +0 -344
  11. package/src22-1/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -376
  12. package/src22-1/TabexComponents/Cards/Card20/Card20.jsx +0 -282
  13. package/src22-1/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  14. package/src22-1/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  15. package/src22-1/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  16. package/src22-1/TabexComponents/Cards/Card23/Card23.jsx +0 -627
  17. package/src22-1/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  18. package/src22-1/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  19. package/src22-1/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  20. package/src22-1/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  21. package/src22-1/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -246
  22. package/src22-1/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  23. package/src22-1/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  24. package/src22-1/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  25. package/src22-1/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -181
  26. package/src22-1/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  27. package/src22-1/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -180
  28. package/src22-1/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -546
  29. package/src22-1/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -142
  30. package/src22-1/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  31. package/src22-1/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -379
  32. package/src22-1/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -543
  33. package/src22-1/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  34. package/src22-1/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  35. package/src22-1/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  36. package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  37. package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -519
  38. package/src22-1/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  39. package/src22-1/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  40. package/src22-1/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  41. package/src22-1/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  42. package/src22-1/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  43. package/src22-1/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  44. package/src22-1/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  45. package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  46. package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  47. package/src22-1/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -558
  48. package/src22-1/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  49. package/src22-1/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  50. package/src22-1/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -137
  51. package/src22-1/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -598
  52. package/src22-1/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -390
  53. package/src22-1/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  54. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  55. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -455
  56. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -493
  57. package/src22-1/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  58. package/src22-1/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  59. package/src22-1/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -596
  60. package/src22-1/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  61. package/src22-1/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -528
  62. package/src22-1/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  63. package/src22-1/TabexComponents/Footer/Footer2/Footer2.jsx +0 -415
  64. package/src22-1/TabexComponents/Footer/Footer3/Footer3.jsx +0 -400
  65. package/src22-1/TabexComponents/Footer/Footer4/Footer4.jsx +0 -457
  66. package/src22-1/TabexComponents/Footer/Footer5/Footer5.jsx +0 -563
  67. package/src22-1/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  68. package/src22-1/TabexComponents/Footer/Footer7/Footer7.jsx +0 -428
  69. package/src22-1/TabexComponents/Footer/Footer8/Footer8.jsx +0 -473
  70. package/src22-1/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  71. package/src22-1/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -562
  72. package/src22-1/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -584
  73. package/src22-1/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  74. package/src22-1/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -316
  75. package/src22-1/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  76. package/src22-1/TabexComponents/Generalfiles/images/noimage.png +0 -0
  77. package/src22-1/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  78. package/src22-1/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  79. package/src22-1/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  80. package/src22-1/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  81. package/src22-1/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  82. package/src22-1/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  83. package/src22-1/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  84. package/src22-1/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  85. package/src22-1/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  86. package/src22-1/TabexComponents/Generalfiles/images/usflag.png +0 -0
  87. package/src22-1/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  88. package/src22-1/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1244
  89. package/src22-1/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1049
  90. package/src22-1/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -895
  91. package/src22-1/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1213
  92. package/src22-1/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  93. package/src22-1/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -780
  94. package/src22-1/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -771
  95. package/src22-1/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  96. package/src22-1/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  97. package/src22-1/TabexComponents/Headers/Header8/Header8.jsx +0 -1923
  98. package/src22-1/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -728
  99. package/src22-1/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -918
  100. package/src22-1/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -707
  101. package/src22-1/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  102. package/src22-1/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -847
  103. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1371
  104. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  105. package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  106. package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -779
  107. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  108. package/src22-1/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -934
  109. package/src22-1/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -64
  110. package/src22-1/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -732
  111. package/src22-1/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -778
  112. package/src22-1/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1162
  113. package/src22-1/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -835
  114. package/src22-1/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -128
  115. package/src22-1/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -854
  116. package/src22-1/TabexComponents/Headers/Subheader/Subheader.jsx +0 -662
  117. package/src22-1/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  118. package/src22-1/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  119. package/src22-1/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1045
  120. package/src22-1/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1089
  121. package/src22-1/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -936
  122. package/src22-1/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  123. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  124. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -802
  125. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  126. package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  127. package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -274
  128. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  129. package/src22-1/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  130. package/src22-1/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -392
  131. package/src22-1/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -291
  132. package/src22-1/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  133. package/src22-1/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -266
  134. package/src22-1/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  135. package/src22-1/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -414
  136. package/src22-1/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  137. package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  138. package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -421
  139. package/src22-1/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -364
  140. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  141. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  142. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  143. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1532
  144. package/src22-1/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -480
  145. package/src22-1/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  146. package/src22-1/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  147. package/src22-1/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -682
  148. package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -635
  149. package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -920
  150. package/src22-1/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -517
  151. package/src22-1/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  152. package/src22-1/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -325
  153. package/src22-1/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  154. package/src22-1/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -257
  155. package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  156. package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -757
  157. package/src22-1/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  158. package/src22-1/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -633
  159. package/src22-1/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  160. package/src22-1/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  161. package/src22-1/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -380
  162. package/src22-1/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -400
  163. package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  164. package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  165. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  166. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  167. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -331
  168. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  169. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -603
  170. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  171. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  172. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  173. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  174. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -547
  175. package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  176. package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -612
  177. package/src22-1/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -396
  178. package/src22-1/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -199
  179. package/src22-1/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -304
  180. package/src22-1/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -321
  181. package/src22-1/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -780
  182. package/src22-1/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  183. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  184. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1673
  185. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  186. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  187. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  188. package/src22-1/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -439
  189. package/src22-1/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  190. package/src22-1/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  191. package/src22-1/TabexComponents/StaticPages/Filter/Filter.jsx +0 -1845
  192. package/src22-1/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  193. package/src22-1/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  194. package/src22-1/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  195. package/src22-1/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  196. package/src22-1/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  197. package/src22-1/TabexComponents/StaticPages/Login/Login.jsx +0 -610
  198. package/src22-1/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -146
  199. package/src22-1/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1568
  200. package/src22-1/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  201. package/src22-1/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -113
  202. package/src22-1/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  203. package/src22-1/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  204. package/src22-1/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -130
  205. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  206. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -310
  207. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -235
  208. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -1270
  209. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  210. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  211. package/src22-1/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -1729
  212. package/src22-1/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -552
  213. package/src22-1/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -754
  214. package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -491
  215. package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  216. package/src22-1/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  217. package/src22-1/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -113
  218. package/src22-1/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -338
  219. package/src22-1/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -358
  220. package/src22-1/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -113
  221. package/src22-1/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  222. package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  223. package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1344
  224. package/src22-1/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  225. package/src22-1/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -290
  226. package/src22-1/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -113
  227. package/src22-1/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  228. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  229. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  230. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  231. package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  232. package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  233. package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -555
  234. package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  235. package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  236. package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  237. package/src22-1/button.jsx +0 -40
  238. package/src22-1/index.jsx +0 -327
  239. package/src22-1/styles/Home.module.css +0 -129
  240. package/src22-1/styles/cards/Categorcycard_fullimage.module.css +0 -14
  241. package/src22-1/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  242. package/src22-1/styles/cards/Categorycard_withshapes.module.css +0 -189
  243. package/src22-1/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  244. package/src22-1/styles/cards/Productcard6.module.css +0 -9
  245. package/src22-1/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
  246. package/src22-1/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  247. package/src22-1/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  248. package/src22-1/styles/cards/card23.module.css +0 -60
  249. package/src22-1/styles/cards/categorycard.module.css +0 -84
  250. package/src22-1/styles/cards/categorycard3.module.css +0 -50
  251. package/src22-1/styles/cards/categorycardwithtext.module.css +0 -40
  252. package/src22-1/styles/cards/generalCardsStyles.module.css +0 -79
  253. package/src22-1/styles/cards/productcard_animatedbuttons.module.css +0 -139
  254. package/src22-1/styles/cards/productcard_with_textonhover.module.css +0 -18
  255. package/src22-1/styles/cards/productcard_withtextonimage.module.css +0 -0
  256. package/src22-1/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  257. package/src22-1/styles/general/bootstrap.css +0 -4763
  258. package/src22-1/styles/general/dropdown.css +0 -206
  259. package/src22-1/styles/general/editorbardropdown.module.css +0 -94
  260. package/src22-1/styles/general/filter.module.css +0 -108
  261. package/src22-1/styles/general/form.module.css +0 -255
  262. package/src22-1/styles/general/general.module.css +0 -872
  263. package/src22-1/styles/general/image-gallery.css +0 -531
  264. package/src22-1/styles/general/react-accessible-accordion.module.css +0 -52
  265. package/src22-1/styles/general/react-phone-input-2.module.css +0 -927
  266. package/src22-1/styles/general/scrollbtn.module.css +0 -22
  267. package/src22-1/styles/general/slick.module.css +0 -166
  268. package/src22-1/styles/general/tabs.module.css +0 -119
  269. package/src22-1/styles/general/workplaceeditor.module.css +0 -328
  270. package/src22-1/styles/globals.css +0 -26
  271. package/src22-1/styles/headers/CTAHeader.module.css +0 -40
  272. package/src22-1/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  273. package/src22-1/styles/headers/Gotoheader.module.css +0 -81
  274. package/src22-1/styles/headers/Header7.module.css +0 -50
  275. package/src22-1/styles/headers/HeaderWithAdSlider.module.css +0 -86
  276. package/src22-1/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  277. package/src22-1/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  278. package/src22-1/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  279. package/src22-1/styles/headers/NewHeader.module.css +0 -101
  280. package/src22-1/styles/headers/SearchFocusedHeader.module.css +0 -62
  281. package/src22-1/styles/headers/Sideheader.module.css +0 -108
  282. package/src22-1/styles/headers/Simpleheader.module.css +0 -102
  283. package/src22-1/styles/headers/classicheader.module.css +0 -16
  284. package/src22-1/styles/headers/classicheaderstyles.module.css +0 -9
  285. package/src22-1/styles/headers/dropdown.css +0 -0
  286. package/src22-1/styles/headers/header4.module.css +0 -175
  287. package/src22-1/styles/headers/header5.module.css +0 -30
  288. package/src22-1/styles/headers/header_contactinfo.module.css +0 -53
  289. package/src22-1/styles/headers/headerresturant.module.css +0 -89
  290. package/src22-1/styles/headers/modernheader.module.css +0 -45
  291. package/src22-1/styles/headers/stylishheader.module.css +0 -24
  292. package/src22-1/styles/headers/subheader.module.css +0 -114
  293. package/src22-1/styles/headers/threetieredheader.module.css +0 -91
  294. package/src22-1/styles/sections/BackgroundImageWithTopContent.css +0 -4
  295. package/src22-1/styles/sections/Backgroundimage1.module.css +0 -17
  296. package/src22-1/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  297. package/src22-1/styles/sections/Freetext.module.css +0 -18
  298. package/src22-1/styles/sections/Section_with_rightbgcont.module.css +0 -49
  299. package/src22-1/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  300. package/src22-1/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  301. package/src22-1/styles/staticpages/accordion.module.css +0 -9
  302. package/src22-1/styles/staticpages/cart.module.css +0 -108
  303. package/src22-1/styles/staticpages/dropdown.css +0 -196
  304. package/src22-1/styles/staticpages/filter.module.css +0 -139
  305. package/src22-1/styles/staticpages/image-gallery.css +0 -481
  306. package/src22-1/styles/staticpages/login.module.css +0 -155
  307. package/src22-1/styles/staticpages/productinfo.module.css +0 -54
  308. package/src22-1/styles/staticpages/shop.module.css +0 -191
  309. package/src22-1/styles/staticpages/signup.module.css +0 -250
  310. package/src22-1/styles/staticpages/staticroutersidenav.module.css +0 -129
  311. package/src22-1/styles/staticpages/viewcart.module.css +0 -129
  312. package/src22-1/styles/staticpages/wishlist.module.css +0 -29
  313. package/srcbeforeedits.zip +0 -0
  314. package/srclib1-5.2.zip +0 -0
@@ -1,1217 +0,0 @@
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;