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,682 +0,0 @@
1
- // All take sectionidprops & sectionindexprops
2
- import React, { useEffect, useState, useContext } from 'react';
3
- import { css } from 'glamor';
4
- import { useInView } from 'react-intersection-observer';
5
- import { CircularProgress } from 'react-cssfx-loading';
6
- import { ScrollMenu, VisibilityContext } from 'react-horizontal-scrolling-menu';
7
- import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
8
- const ModernCardsSection = (props) => {
9
- const { ref, inView } = useInView();
10
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
11
- const lang = props.actions.lang;
12
- const langdetect = props.actions.langdetect;
13
- const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
14
- const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
15
- const routingcountext = props.actions.routingcountext;
16
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
17
- const ProductFilterObjContext = props.actions.ProductFilterObjContext;
18
- const setProductFilterObjContext = props.actions.setProductFilterObjContext;
19
- const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
20
- const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
21
- const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
22
- const fetchProductsQuery = props.actions.fetchProductsQuery;
23
- const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
24
- const setParentCollectionsForCollectionQueryArr = props.actions.setParentCollectionsForCollectionQueryArr;
25
- const ParentCollectionsForCollectionQueryArr = props.actions.ParentCollectionsForCollectionQueryArr;
26
- const setfetchingtype = props.actions.setfetchingtype;
27
- const fetchingtype = props.actions.fetchingtype;
28
- const addtofavoritescontext = props.actions.addtofavoritescontext;
29
- const fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
30
- const actions = props.actions;
31
- const [sectionproperties, setsectionproperties] = useState('');
32
- const [cardsarray, setcardsarray] = useState([]);
33
- const [sectionitem, setsectionitem] = useState('');
34
- React.useEffect(() => {
35
- if (inView) {
36
- fetchProductsQuery.fetchNextPage();
37
- }
38
- }, [inView]);
39
- const [ProductsFetchingTypeSectionObj, setProductsFetchingTypeSectionObj] = useState({ productfetchingtype: 'Random', collectionid: '', grouptype: '' });
40
-
41
- useEffect(() => {
42
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
43
- if (sectionitem.sectionid == props.sectionidprops) {
44
- var secpropobj = {};
45
- setsectionitem(sectionitem);
46
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
47
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
48
- });
49
- setsectionproperties({ ...secpropobj });
50
-
51
- if (props.srcfromprops == 'GeneralProductsComponent') {
52
- setfetchingtype('products');
53
- setProductsFetchingTypeSectionObj({
54
- productfetchingtype: 'Random',
55
- collectionid: props.collectionidprops,
56
- grouptype: props.grouptypeprops,
57
- grouptyperefid: props.grouptyperefidprops,
58
- });
59
- } else if (props.srcfromprops == 'InnerGroups' || props.srcfromprops == 'InnerCategory' || props.srcfromprops == 'InnerParentCollection') {
60
- setfetchingtype(props.grouptypeprops);
61
- } else {
62
- setfetchingtype(sectionitem.fetchingtype);
63
- setProductsFetchingTypeSectionObj({
64
- productfetchingtype: sectionitem.productsfetchingtype,
65
- collectionid: sectionitem.productsfetchingtypeCollectioncollectionid,
66
- grouptype: props.grouptypeprops,
67
- grouptyperefid: props.grouptyperefidprops,
68
- });
69
- }
70
- }
71
- });
72
- }, [StatePagePropertiesContext]);
73
- useEffect(() => {
74
- if (sectionproperties.length != 0) {
75
- if (cardsarray.length == 0) {
76
- if (fetchingtype == 'collections') {
77
- if (fetchcollectionsQueryContext.isSuccess) {
78
- cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
79
- }
80
- } else if (fetchingtype == 'products') {
81
- if (fetchProductsQuery.isSuccess) {
82
- var allpagesarr = [];
83
- fetchProductsQuery?.data?.data?.products?.forEach((item) => {
84
- allpagesarr.push(item);
85
- });
86
- cardobjassigner(allpagesarr);
87
- }
88
- }
89
- }
90
- }
91
- }, [sectionproperties]);
92
- useEffect(() => {
93
- if (fetchingtype?.length != 0) {
94
- var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
95
- if (fetchingtype == 'collections') {
96
- // tempFetchQueriesEngineContext.collections = true;
97
- if (ProductsFetchingTypeSectionObj.collectionid == 'all' || ProductsFetchingTypeSectionObj.collectionid == null || ProductsFetchingTypeSectionObj.collectionid == undefined) {
98
- setParentCollectionsForCollectionQueryArr('all');
99
- } else {
100
- setParentCollectionsForCollectionQueryArr([ProductsFetchingTypeSectionObj.collectionid]);
101
- }
102
- }
103
- if (fetchingtype == 'products') {
104
- var tempfetchproductsfilerobjcontext = ProductFilterObjContext;
105
- tempfetchproductsfilerobjcontext.ProductFetchingType = ProductsFetchingTypeSectionObj.productfetchingtype;
106
- if (
107
- ProductsFetchingTypeSectionObj.grouptype == 'collections' ||
108
- ProductsFetchingTypeSectionObj.grouptype == 'categories' ||
109
- ProductsFetchingTypeSectionObj.grouptype == 'parentcollections'
110
- ) {
111
- } else {
112
- tempfetchproductsfilerobjcontext.collections.push(ProductsFetchingTypeSectionObj.collectionid);
113
- }
114
- tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
115
- tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
116
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
117
- }
118
- if (fetchingtype == 'categories') {
119
- if (fetchAuthorizationQueryContext?.isSuccess) {
120
- var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
121
- cardobjassigner(categories);
122
- }
123
- }
124
-
125
- if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
126
- if (fetchAuthorizationQueryContext?.isSuccess) {
127
- var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
128
- var parentcollections = [];
129
- categories?.forEach(function (catitem, catindex) {
130
- catitem?.parentcolletions.forEach(function (parentcolitem) {
131
- parentcolitem.categoryid = catitem.categoryid;
132
- parentcollections.push(parentcolitem);
133
- });
134
- });
135
- if (fetchingtype == 'parentcollections') {
136
- if (
137
- sectionitem?.productsfetchingtypeparentcollectioncategoryid != null &&
138
- sectionitem?.productsfetchingtypeparentcollectioncategoryid != undefined &&
139
- sectionitem?.productsfetchingtypeparentcollectioncategoryid != 'all'
140
- ) {
141
- var arrafterfilter = [];
142
- parentcollections.forEach(function (parentcolitem, parcolindex) {
143
- if (parentcolitem.categoryid == sectionitem?.productsfetchingtypeparentcollectioncategoryid) {
144
- arrafterfilter.push(parentcolitem);
145
- }
146
- });
147
- parentcollections = arrafterfilter;
148
- }
149
- }
150
- if (fetchingtype == 'innercategories') {
151
- var arrafterfilter = [];
152
- parentcollections.forEach(function (parentcolitem, parcolindex) {
153
- if (parentcolitem.categoryid == props.collectionidprops) {
154
- arrafterfilter.push(parentcolitem);
155
- }
156
- });
157
- parentcollections = arrafterfilter;
158
- }
159
-
160
- cardobjassigner(parentcollections);
161
- }
162
- } else if (fetchingtype == 'innerparentcollections') {
163
- if (fetchAuthorizationQueryContext?.isSuccess) {
164
- var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
165
- var collections = [];
166
- categories?.forEach(function (catitem, catindex) {
167
- catitem?.parentcolletions.forEach(function (parentcolitem) {
168
- parentcolitem.categoryid = catitem.categoryid;
169
- parentcolitem?.collections?.forEach(function (collitem, colindex) {
170
- collitem.parentcollectionid = parentcolitem.parentcollectionid;
171
- collections.push(collitem);
172
- });
173
- });
174
- });
175
- if (fetchingtype == 'innerparentcollections') {
176
- var collectionsafterfilter = [];
177
- collections.forEach(function (colitem, colindex) {
178
- if (colitem.parentcollectionid == props.collectionidprops) {
179
- var iscollexists = false;
180
- collectionsafterfilter.forEach(function (existcolitem) {
181
- if (colitem.collectionid == existcolitem.collectionid) {
182
- iscollexists = true;
183
- }
184
- });
185
- if (iscollexists == false) {
186
- collectionsafterfilter.push(colitem);
187
- }
188
- }
189
- });
190
- collections = collectionsafterfilter;
191
- }
192
- cardobjassigner(collections);
193
- }
194
- }
195
-
196
- setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
197
- }
198
- }, [fetchingtype, ProductsFetchingTypeSectionObj]);
199
- useEffect(() => {
200
- if (fetchingtype == 'products') {
201
- if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
202
- var allpagesarr = [];
203
- fetchProductsQuery?.data?.data?.products?.forEach((item) => {
204
- allpagesarr.push(item);
205
- });
206
- cardobjassigner(allpagesarr);
207
- }
208
- }
209
- }, [fetchProductsQuery?.isSuccess, fetchProductsQuery?.dataUpdatedAt, fetchProductsQuery?.data, fetchcustomercartQueryContext?.dataUpdatedAt]);
210
- useEffect(() => {
211
- if (fetchingtype == 'collections') {
212
- if (fetchcollectionsQueryContext.isSuccess) {
213
- cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
214
- }
215
- }
216
- }, [fetchcollectionsQueryContext?.isSuccess]);
217
- useEffect(() => {
218
- favassigner();
219
- }, [favoriteprojectscountContext]);
220
- const favassigner = () => {
221
- if (fetchingtype == 'products') {
222
- if (cardsarray.length != 0) {
223
- if (favoriteprojectscountContext != undefined && Array.isArray(favoriteprojectscountContext)) {
224
- var tempcardsarray = [...cardsarray];
225
- tempcardsarray.forEach(function (arrayItem, arrayindex) {
226
- arrayItem.IsFavExists = false;
227
- });
228
- tempcardsarray.forEach(function (arrayItem, arrayindex) {
229
- favoriteprojectscountContext.forEach(function (favitem, favindex) {
230
- if (arrayItem.productid == favitem) {
231
- arrayItem.IsFavExists = true;
232
- }
233
- });
234
- });
235
- setcardsarray([...tempcardsarray]);
236
- }
237
- }
238
- }
239
- };
240
- const cardobjassigner = (fetchedarray) => {
241
- var temparray = [];
242
-
243
- fetchedarray.forEach(function (arrayItem, arrayindex) {
244
- var cardobj = {
245
- name: '',
246
- image: '',
247
- };
248
- if (fetchingtype == 'products') {
249
- var itemquantity = 0;
250
- if (langdetect == 'en') {
251
- cardobj.name = arrayItem.productinfo.name_en;
252
- } else {
253
- cardobj.name = arrayItem.productinfo.name_ar;
254
- }
255
- if (langdetect == 'en') {
256
- cardobj.description = arrayItem.productinfo.description_en;
257
- } else {
258
- cardobj.description = arrayItem.productinfo.description_ar;
259
- }
260
- if (arrayItem.productinfo.hasvariants == 0) {
261
- fetchcustomercartQueryContext.data.data.customercart.cartitems.forEach(function (cartitem, cartindex) {
262
- if (cartitem.productid == arrayItem.productinfo.productid) {
263
- itemquantity = cartitem.quantity;
264
- }
265
- });
266
- }
267
- cardobj.image = arrayItem.productinfo.productmainimage;
268
- cardobj.hassale = arrayItem.productinfo.hassale;
269
- cardobj.productid = arrayItem.productinfo.productid;
270
- cardobj.hasvariants = arrayItem.productinfo.hasvariants;
271
- cardobj.description_en = arrayItem.productinfo.description_en;
272
- cardobj.description_ar = arrayItem.productinfo.description_ar;
273
- cardobj.defaultprice = arrayItem.productinfo.defaultprice;
274
- cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
275
- cardobj.productimages = arrayItem.productinfo.productimages;
276
- cardobj.quantity = itemquantity;
277
- cardobj.timestamp = arrayItem.productinfo.timestamp;
278
- if (langdetect == 'en') {
279
- cardobj.currencyname = fetchAuthorizationQueryContext?.data.data.currencyname_en;
280
- } else {
281
- cardobj.currencyname = fetchAuthorizationQueryContext?.data.data.currencyname_ar;
282
- }
283
- if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
284
- favoriteprojectscountContext.forEach(function (favitem, favindex) {
285
- if (arrayItem.productinfo.productid == favitem) {
286
- cardobj.IsFavExists = true;
287
- }
288
- });
289
- }
290
- if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
291
- favoriteprojectscountContext.forEach(function (favitem, favindex) {
292
- if (arrayItem.productinfo.productid == favitem) {
293
- cardobj.IsFavExists = true;
294
- }
295
- });
296
- }
297
- } else if (fetchingtype == 'collections' || fetchingtype == 'innerparentcollections') {
298
- cardobj.collectionid = arrayItem.collectionid;
299
- if (langdetect == 'en') {
300
- cardobj.name = arrayItem.title_en;
301
- cardobj.description = arrayItem.description_en;
302
- } else if (langdetect == 'ar') {
303
- cardobj.name = arrayItem.title_ar;
304
- cardobj.description = arrayItem.description_ar;
305
- }
306
- cardobj.image = arrayItem.collectionlogo;
307
- } else if (fetchingtype == 'categories') {
308
- cardobj.collectionid = arrayItem.categoryid;
309
- if (langdetect == 'en') {
310
- cardobj.name = arrayItem.title_en;
311
- cardobj.description = arrayItem.description_en;
312
- } else if (langdetect == 'ar') {
313
- cardobj.name = arrayItem.title_ar;
314
- cardobj.description = arrayItem.description_ar;
315
- }
316
- cardobj.image = arrayItem.categorylogo;
317
- } else if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
318
- cardobj.collectionid = arrayItem.parentcollectionid;
319
- if (langdetect == 'en') {
320
- cardobj.name = arrayItem.title_en;
321
- cardobj.description = arrayItem.description_en;
322
- } else if (langdetect == 'ar') {
323
- cardobj.name = arrayItem.title_ar;
324
- cardobj.description = arrayItem.description_ar;
325
- }
326
- cardobj.image = arrayItem.parentcollectionlogo;
327
- } else if (fetchingtype == 'custom') {
328
- }
329
- temparray.push(cardobj);
330
- });
331
-
332
- setcardsarray([...temparray]);
333
- };
334
- const section_cssstyles = {
335
- viewmorebtn: css({
336
- width: sectionproperties.viewmorebtn_Width + 'px',
337
- height: sectionproperties.viewmorebtn_Height + 'px',
338
- background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
339
- borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
340
- color: sectionproperties.viewmorebtn_Textcolor,
341
- fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
342
- fontWeight: sectionproperties.viewmorebtn_fontWeight,
343
- textDecoration: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'underline' : 'none',
344
- transition: '.3s',
345
- ':hover': {
346
- background: sectionproperties.viewmorebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColoronhover,
347
- color: sectionproperties.viewmorebtn_Textcoloronhover,
348
- },
349
- }),
350
- loadbtn: css({
351
- fontSize: sectionproperties.generaltext_fontSize + 'px',
352
- color: sectionproperties.generaltext_fontColor,
353
- fontWeight: sectionproperties.generaltext_fontWeight,
354
- textDecoration: 'underline',
355
- transition: '.3s',
356
- ':hover': {
357
- color: sectionproperties.text_secondarycolor,
358
- },
359
- }),
360
- line_left: css({
361
- height: '1px',
362
- position: 'relative',
363
- flex: '1 1 auto',
364
- minWidth: '10%',
365
- background: sectionproperties.linebgcolor,
366
- }),
367
- line_right: css({
368
- height: '1px',
369
- position: 'relative',
370
- flex: '1 1 auto',
371
- minWidth: '10%',
372
- background: sectionproperties.linebgcolor,
373
- }),
374
- };
375
- const SectionTitle = () => {
376
- return (
377
- <div
378
- class={
379
- sectionproperties.sectiontitleposition == 'Centered'
380
- ? 'col-lg-12 d-flex justify-content-center align-items-center mb-md-0 w-100 px-1025-1 pl-md-2 pr-md-2 pl-sm-2 pr-sm-2'
381
- : 'col-lg-12 d-flex justify-content-md-center mb-md-0 align-items-center w-100 px-1025-1 pl-md-2 pr-md-2 pl-sm-2 pr-sm-2'
382
- }
383
- style={{
384
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
385
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
386
- }}
387
- >
388
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_left}></span>}
389
-
390
- <p
391
- class={
392
- sectionproperties.sectiontitlefontfamily == 'Pacifico'
393
- ? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center '
394
- : sectionproperties.sectiontitlefontfamily == 'Playfair'
395
- ? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center '
396
- : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
397
- ? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center'
398
- : sectionproperties.sectiontitlefontfamily == 'Quicksand'
399
- ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center '
400
- : sectionproperties.sectiontitlefontfamily == 'Satisfy'
401
- ? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center '
402
- : ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center '
403
- }
404
- style={{
405
- color: sectionproperties.sectionTitleColor,
406
- fontWeight: sectionproperties.sectionTitleFontWeight,
407
- paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
408
- paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
409
- }}
410
- >
411
- {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
412
- </p>
413
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_right}></span>}
414
- </div>
415
- );
416
- };
417
- const cardsrender = () => {
418
- return (
419
- <div
420
- class="row m-0 w-100"
421
- style={{
422
- height: '100%',
423
- }}
424
- >
425
- <div class="col-lg-12 p-0">
426
- {sectionproperties.length != 0 && (
427
- <div class="row m-0 w-100 " style={{ position: 'relative' }}>
428
- <div class="col-lg-3 allcentered p-0">
429
- <div class="row m-0 allcentered w-100">
430
- <div
431
- class={' col-lg-12 p-0 d-flex d-md-none align-items-center '}
432
- style={{
433
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
434
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
435
- }}
436
- >
437
- {SectionTitle()}
438
- </div>
439
-
440
- <div
441
- class={' col-lg-12 p-0 d-none d-md-flex align-items-center '}
442
- style={{
443
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
444
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
445
- }}
446
- >
447
- {SectionTitle()}
448
- </div>
449
- {sectionproperties.prodCatShow == 'Show' && (
450
- <div
451
- class={
452
- sectionproperties.sectiontitleposition == 'Centered'
453
- ? 'col-lg-12 d-flex align-items-center justify-content-center mb-md-0'
454
- : 'col-lg-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-0 p-0'
455
- }
456
- style={{ marginBottom: sectionproperties.descriptionMarginBottom + 'px' }}
457
- >
458
- <p
459
- class={
460
- sectionproperties.descFontFamily == 'Pacifico'
461
- ? ' PacificoFont m-0 p-0 wordbreak text-md-center '
462
- : sectionproperties.descFontFamily == 'Playfair'
463
- ? ' PlayfairFont m-0 p-0 wordbreak text-md-center '
464
- : sectionproperties.descFontFamily == 'Great Vibes'
465
- ? ' GreatvibesFont m-0 p-0 wordbreak text-md-center '
466
- : sectionproperties.descFontFamily == 'Quicksand'
467
- ? ' QuicksandFont m-0 p-0 wordbreak text-md-center '
468
- : ' m-0 p-0 wordbreak'
469
- }
470
- style={{
471
- fontSize: sectionproperties.prodCatFontSize + 'px',
472
- color: sectionproperties.prodCatColor,
473
- fontWeight: sectionproperties.prodCatFontWeight,
474
- textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
475
- }}
476
- >
477
- {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
478
- </p>
479
- </div>
480
- )}
481
- {sectionproperties.viewmorebtnshow == 'Show' && (
482
- <div
483
- class={
484
- sectionproperties.sectiontitleposition == 'Centered'
485
- ? 'col-lg-12 mb-md-3 mt-md-3 d-flex align-items-center justify-content-center'
486
- : 'col-lg-12 mb-md-3 mt-md-3 d-flex align-items-center justify-content-start justify-content-md-center'
487
- }
488
- >
489
- <button
490
- class={`${section_cssstyles.viewmorebtn}` + ' allcentered '}
491
- onClick={() => {
492
- if (fetchingtype == 'products') {
493
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
494
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
495
- } else {
496
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
497
- }
498
- } else {
499
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
500
- }
501
- }}
502
- >
503
- <span
504
- class={
505
- sectionproperties.sectiontitleposition == 'Centered'
506
- ? 'd-flex justify-content-center align-items-center'
507
- : 'd-flex justify-content-center align-items-center '
508
- }
509
- >
510
- {langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar}
511
- </span>
512
- </button>
513
- </div>
514
- )}
515
- </div>
516
- </div>
517
-
518
- <div class={langdetect == 'en' ? 'col-lg-9 col-md-12 d-flex justify-content-center ml-auto p-0' : 'col-lg-9 col-md-12 d-flex justify-content-center mr-auto p-0'}>
519
- <div class="row m-0 w-100">
520
- {!fetchProductsQuery.isFetching && cardsarray.length == 0 && (
521
- <div class="row m-0 w-100 d-flex align-items-center" style={{ height: '50vh' }}>
522
- <div className="col-lg-12 text-light d-flex align-items-center justify-content-center flex-column">
523
- <FiLayers
524
- style={{
525
- fontSize: sectionproperties.noprod_iconfontSize + 'px',
526
- color: sectionproperties.noprod_iconcolor,
527
- }}
528
- />
529
- <p
530
- class="m-0 p-0 mt-2"
531
- style={{
532
- fontWeight: sectionproperties.noprod_fontWeight,
533
- color: sectionproperties.noprod_color,
534
- fontSize: sectionproperties.noprod_fontSize + 'px',
535
- }}
536
- >
537
- {langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar}
538
- </p>
539
- </div>
540
- </div>
541
- )}
542
- {cardsarray.length != 0 &&
543
- StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map((item, index) => {
544
- if (item.tabexsectioninfo != null) {
545
- if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
546
- var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
547
- return (
548
- <div class="row m-0 w-100 d-flex justify-content-center">
549
- <div class={langdetect == 'en' ? 'col-lg-12 p-0 pl-md-2 pr-md-0' : 'col-lg-12 p-0 pl-md-0 pr-md-2 '}>
550
- <ScrollMenu
551
- transitionBehavior={'auto'}
552
- wrapperClassName={''}
553
- itemClassName={
554
- item.tabexsectioninfo.sectioncompname == 'Productcard6'
555
- ? 'scrollmenuclassnameitemProductcard6'
556
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
557
- ? 'scrollmenuclassnameitemProductcardcircularhover'
558
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
559
- ? 'scrollmenuclassnameitemProductcard_with_circularbg'
560
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
561
- ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition'
562
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation'
563
- ? 'scrollmenuclassnameitemProductcard_with_slideanimation'
564
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext'
565
- ? 'scrollmenuclassnameitemCategorycard_withtext'
566
- : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons'
567
- ? 'scrollmenuclassnameitemProductcard_animatedbuttons'
568
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants'
569
- ? 'scrollmenuclassnameitemProductcard_with_variants'
570
- : item.tabexsectioninfo.sectioncompname == 'Productcarddefault'
571
- ? 'scrollmenuclassnameitemProductcarddefault'
572
- : // : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
573
- // ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard '
574
- item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg'
575
- ? 'scrollmenuclassnameitemCategorycard_with_trianglebg'
576
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover'
577
- ? 'scrollmenuclassnameitemProductcard_with_textonhover'
578
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled'
579
- ? 'scrollmenuclassnameitemCategorycard_slidebgscaled'
580
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
581
- ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage'
582
- : item.tabexsectioninfo.sectioncompname == 'Card20'
583
- ? 'scrollmenuclassnameitemCard20'
584
- : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard'
585
- ? 'scrollmenuclassnameitemUpSlideEffectCard'
586
- : ''
587
- }
588
- scrollContainerClassName={'scrollmenuclasssubscrollbar'}
589
- >
590
- {cardsarray.map((cardinfoitem, cardinfoindex) => {
591
- return (
592
- <div
593
- class={' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 '}
594
- style={{
595
- paddingRight: sectionproperties.card_marginRight + 'px',
596
- paddingLeft: sectionproperties.card_marginLeft + 'px',
597
- }}
598
- >
599
- <Sectioncomp
600
- sectiontypeprops={'horizontal'}
601
- fetchingtypeprops={fetchingtype}
602
- cardinfoindexprops={cardinfoindex}
603
- cardinfoitemprops={cardinfoitem}
604
- sectionindexprops={index}
605
- sectionidprops={item.sectionid}
606
- actions={actions}
607
- sectiontypeprops2={'horizontal'}
608
- />
609
- </div>
610
- );
611
- })}
612
- {fetchingtype == 'products' && fetchProductsQuery.isFetchingNextPage && (
613
- <button
614
- className={section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center '}
615
- ref={ref}
616
- onClick={() => fetchProductsQuery.fetchNextPage()}
617
- disabled={!fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage}
618
- >
619
- <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
620
- </button>
621
- )}
622
- </ScrollMenu>
623
- </div>
624
- </div>
625
- );
626
- }
627
- }
628
- })}
629
- </div>
630
- </div>
631
- </div>
632
- )}
633
- </div>
634
- </div>
635
- );
636
- };
637
- return (
638
- <div
639
- class={' row ml-0 mr-0 d-flex w-100 justify-content-center '}
640
- style={{
641
- zIndex: 2,
642
- }}
643
- >
644
- {sectionproperties.length != 0 && (
645
- <div
646
- class={
647
- sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
648
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pl-0 pr-0 '
649
- : sectionproperties.paddingRight != 0 && langdetect == 'en'
650
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pr-md-2 pr-sm-2 '
651
- : sectionproperties.paddingRight != 0 && langdetect == 'ar'
652
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pl-md-2 pl-sm-2 '
653
- : sectionproperties.paddingLeft != 0 && langdetect == 'en'
654
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pl-md-2 pl-sm-2 '
655
- : sectionproperties.paddingLeft != 0 && langdetect == 'ar'
656
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pr-md-2 pr-sm-2 '
657
- : ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 justify-content-center '
658
- }
659
- style={{
660
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
661
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
662
- paddingTop: sectionproperties.paddingTop + 'px',
663
- paddingBottom: sectionproperties.paddingBottom + 'px',
664
- marginTop: sectionproperties.marginTop + 'px',
665
- marginBottom: sectionproperties.marginBottom + 'px',
666
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
667
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
668
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
669
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
670
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
671
- borderColor: sectionproperties.sectioncardbordercolor,
672
- border: sectionproperties.sectioncardborderwidth + 'px solid',
673
- background: sectionproperties.backgroundColor,
674
- }}
675
- >
676
- {cardsrender()}
677
- </div>
678
- )}
679
- </div>
680
- );
681
- };
682
- export default ModernCardsSection;